@3dwayfinder/wayfinder-vue-components 1.2.13 → 1.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +102 -9
- package/dist/wayfinder-vue-components.esm.js +12 -12
- package/dist/wayfinder-vue-components.min.js +1 -1
- package/dist/wayfinder-vue-components.ssr.js +23 -23
- package/package.json +1 -1
- package/src/lib-components/Banner.vue +2 -2
- package/src/lib-components/GroupsMenu.vue +1 -1
- package/src/lib-components/ScrollableArea.vue +1 -1
- package/src/lib-components/Search.vue +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,103 @@
|
|
|
1
1
|
# wayfinder-vue-components
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
VueJS UI components for 3dwayfinder floor plan SDK.
|
|
3
|
+
Uses Vuex to make the SDK data bindable.
|
|
4
|
+
[Read more](https://3dwayfinder.com).
|
|
5
|
+
|
|
6
|
+
# Installation
|
|
7
|
+
Include 3dwayfinder SDK into your HTML head.
|
|
8
|
+
### Install with npm
|
|
9
|
+
|
|
10
|
+
npm install @3dwayfinder/wayfinder-vue-components
|
|
11
|
+
|
|
12
|
+
### Add into main.js
|
|
13
|
+
|
|
14
|
+
import Vuex from 'vuex'
|
|
15
|
+
import WayfinderVueComponents from '@3dwayfinder/wayfinder-vue-components';
|
|
16
|
+
|
|
17
|
+
### Create a store or use a existing one. 3DWayfinder creates namespaced ('wf') store itself.
|
|
18
|
+
|
|
19
|
+
const store = new Vuex.Store({
|
|
20
|
+
state: {
|
|
21
|
+
appName: "Wayfinder Vue Components",
|
|
22
|
+
currentPOI: null,
|
|
23
|
+
},
|
|
24
|
+
mutations: {
|
|
25
|
+
setPOI (state, poi) {
|
|
26
|
+
state.currentPOI = poi;
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
actions: {
|
|
30
|
+
setPOI : (context, poi) => {
|
|
31
|
+
context.commit('setPOI', Object.freeze(poi));
|
|
32
|
+
},
|
|
33
|
+
}
|
|
34
|
+
})
|
|
35
|
+
### Set which map type is used
|
|
36
|
+
|
|
37
|
+
const WF_MAP_TYPE = "2d"; // "3d"
|
|
38
|
+
|
|
39
|
+
### Load wayfinder and the vuex store. Notice that wayfinder is passed a little differently than usual. This is because of wayfinder needs Vuex as a dependcy.
|
|
40
|
+
|
|
41
|
+
Vue.prototype.$WF_MAP_TYPE = WF_MAP_TYPE;
|
|
42
|
+
new Vue({
|
|
43
|
+
store,
|
|
44
|
+
render: h => h(App),
|
|
45
|
+
created () {
|
|
46
|
+
Vue.use(WayfinderVueComponents, this.$store) // Create it by passing in the store you want to use
|
|
47
|
+
}
|
|
48
|
+
}).$mount('#app')
|
|
49
|
+
|
|
50
|
+
# Usage
|
|
51
|
+
You need to change the project argument from **demo** to your **project ID** (a long hash found in the admin area in Projects page)
|
|
52
|
+
|
|
53
|
+
<script>
|
|
54
|
+
import { WFMap } from '@3dwayfinder/wayfinder-vue-components'
|
|
55
|
+
|
|
56
|
+
export default {
|
|
57
|
+
name: 'app',
|
|
58
|
+
components: {
|
|
59
|
+
WFMap,
|
|
60
|
+
},
|
|
61
|
+
methods: {
|
|
62
|
+
mapLoaded () {
|
|
63
|
+
console.log('mapLoaded')
|
|
64
|
+
},
|
|
65
|
+
onMapPOIClick (poi) {
|
|
66
|
+
console.log('onMapPOIClick', poi)
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
</script>
|
|
71
|
+
|
|
72
|
+
<template>
|
|
73
|
+
<div id="app">
|
|
74
|
+
<div class="map-area-container">
|
|
75
|
+
<WFMap project="demo" @poiClicked="onMapPOIClick" @loaded="mapLoaded" ref="map"/>
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
</template>
|
|
79
|
+
|
|
80
|
+
# Components
|
|
81
|
+
|
|
82
|
+
- WFMap - The map itself
|
|
83
|
+
- WFFloorsMenu - list of floors
|
|
84
|
+
- WFTabs - a tab component
|
|
85
|
+
- WFTab - a tab
|
|
86
|
+
- WFGroupsMenu - list of groups
|
|
87
|
+
- WFAZMenu - alphabetically ordered list of locations
|
|
88
|
+
- WFScrollableArea - touch and mouse friendly scrollable area
|
|
89
|
+
- WFPOI - info about a single location
|
|
90
|
+
- WFBanner - advertisement banner
|
|
91
|
+
- WFBuildingLogo - project logo
|
|
92
|
+
- WFYAH - You are here button
|
|
93
|
+
- WFGroupPOIsMenu - List of locations under given group
|
|
94
|
+
- WFFlagsMenu - language selection menu with flag icons
|
|
95
|
+
- WFLanguagesMenu - language selection menu
|
|
96
|
+
- WFShortcutsMenu - list of shortcuts (wc, atm etc)
|
|
97
|
+
- WFZoomMenu - Zoom in and out
|
|
98
|
+
- WFFilteredMenu - show a given array of locations
|
|
99
|
+
- WFSearch - search component with builtin keyboard
|
|
100
|
+
- WFAlphabet - list of used first letters
|
|
101
|
+
- WFPageMenu - list of content pages
|
|
102
|
+
- WFPage - show content of a page
|
|
103
|
+
- WFBrowser - show a iframe with given URL
|
|
@@ -2236,7 +2236,7 @@ var script$i = {
|
|
|
2236
2236
|
if (topic && topic.getShowInMenu() && topic.getName(this.language)) {
|
|
2237
2237
|
if (this.parent > -1 && parseInt(topic.parent_id) == this.parent) {
|
|
2238
2238
|
arr.push(topic);
|
|
2239
|
-
} else if (this.parent === -1 && topic.parent_id === null) {
|
|
2239
|
+
} else if (this.parent === -1 && (topic.parent_id === null || topic.parent_id == 0)) {
|
|
2240
2240
|
arr.push(topic);
|
|
2241
2241
|
}
|
|
2242
2242
|
}
|
|
@@ -2443,8 +2443,8 @@ var __vue_staticRenderFns__$i = [];
|
|
|
2443
2443
|
|
|
2444
2444
|
const __vue_inject_styles__$i = function (inject) {
|
|
2445
2445
|
if (!inject) return;
|
|
2446
|
-
inject("data-v-
|
|
2447
|
-
source: ".wf-groups-menu .wf-list-item[data-v-
|
|
2446
|
+
inject("data-v-2309385c_0", {
|
|
2447
|
+
source: ".wf-groups-menu .wf-list-item[data-v-2309385c]{list-style:none}.wf-groups-menu .wf-list[data-v-2309385c]{margin:0;padding:0}",
|
|
2448
2448
|
map: undefined,
|
|
2449
2449
|
media: undefined
|
|
2450
2450
|
});
|
|
@@ -2452,7 +2452,7 @@ const __vue_inject_styles__$i = function (inject) {
|
|
|
2452
2452
|
/* scoped */
|
|
2453
2453
|
|
|
2454
2454
|
|
|
2455
|
-
const __vue_scope_id__$i = "data-v-
|
|
2455
|
+
const __vue_scope_id__$i = "data-v-2309385c";
|
|
2456
2456
|
/* module identifier */
|
|
2457
2457
|
|
|
2458
2458
|
const __vue_module_identifier__$i = undefined;
|
|
@@ -3524,7 +3524,7 @@ var __vue_staticRenderFns__$a = [];
|
|
|
3524
3524
|
|
|
3525
3525
|
const __vue_inject_styles__$a = function (inject) {
|
|
3526
3526
|
if (!inject) return;
|
|
3527
|
-
inject("data-v-
|
|
3527
|
+
inject("data-v-902fb4c4_0", {
|
|
3528
3528
|
source: ".wf-search .wf-close{position:absolute;top:0;right:.5rem;width:10rem;background-color:rgba(255,255,255,.7);background-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8' standalone='no'%3F%3E%3Csvg xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23' xmlns:svg='http://www.w3.org/2000/svg' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' enable-background='new 0 0 20 20' viewBox='0 0 20 20' y='0px' x='0px' id='Cross' version='1.1'%3E%3Cmetadata id='metadata9'%3E%3Crdf:RDF%3E%3Ccc:Work rdf:about=''%3E%3Cdc:format%3Eimage/svg+xml%3C/dc:format%3E%3Cdc:type rdf:resource='http://purl.org/dc/dcmitype/StillImage' /%3E%3Cdc:title%3E%3C/dc:title%3E%3C/cc:Work%3E%3C/rdf:RDF%3E%3C/metadata%3E%3Cdefs id='defs7'%3E%3ClinearGradient spreadMethod='pad' gradientUnits='userSpaceOnUse' y2='29.3118' x2='11.0536' y1='16.0077' x1='24.5509' id='paint1_linear' gradientTransform='translate(-6.9097825,12.894087)'%3E%3Cstop id='stop16' stop-color='%23FF4C54' /%3E%3Cstop id='stop18' stop-color='%23BE3F45' offset='1' /%3E%3C/linearGradient%3E%3ClinearGradient gradientUnits='userSpaceOnUse' y2='34.9828' x2='34.294201' y1='14.605' x1='13.6189' id='paint0_linear'%3E%3Cstop id='stop11' stop-color='%23FF4C54' /%3E%3Cstop id='stop13' stop-color='%23BE3F45' offset='1' /%3E%3C/linearGradient%3E%3ClinearGradient gradientTransform='matrix(1.9229845,0,0,1.9229845,-9.2288833,-9.2308069)' gradientUnits='userSpaceOnUse' y2='14.322534' x2='6.3946652' y1='7.6276183' x1='12.290775' id='linearGradient4161' xlink:href='%23paint0_linear' /%3E%3C/defs%3E%3Cpath style='fill:url(%23linearGradient4161);fill-opacity:1' id='path3' d='m 18.362098,19.32359 c -0.90188,0.90188 -2.363348,0.90188 -3.263305,0 l -5.097832,-5.826643 -5.0978311,5.82472 c -0.9018797,0.90188 -2.3633479,0.90188 -3.2633047,0 -0.90187984,-0.90188 -0.90187984,-2.363347 0,-3.263304 L 6.9434164,10.000961 1.6379022,3.9397144 c -0.90187974,-0.9018798 -0.90187974,-2.361425 0,-3.26330476 0.9018798,-0.9018797 2.3614249,-0.9018797 3.2633048,0 l 5.099754,5.82856596 5.097832,-5.82856596 c 0.90188,-0.9018797 2.361425,-0.9018797 3.263305,0 0.901879,0.90187976 0.901879,2.36334796 0,3.26330476 l -5.30359,6.0612466 5.30359,6.057402 c 0.901879,0.90188 0.901879,2.363347 0,3.265227 z' /%3E%3C/svg%3E\")}.wf-search .results{overflow:hidden}.wf-search .wf-search-container{margin:auto;display:flex;flex-direction:column;justify-content:flex-end;height:100%;padding:1rem}.wf-search .wf-search-input-container input{margin:auto;display:block;padding:1rem;font-size:2rem;font-weight:600;width:100%;border:1px solid #000;outline:0;background-repeat:no-repeat}.wf-search .wf-keyboard{user-select:none;display:flex;flex-direction:column;flex-shrink:0}.wf-search .wf-keyboard .keyboard-row{margin:auto;display:flex}.wf-search .wf-keyboard .keyboard-key{text-align:center;width:4ch;height:4ch;line-height:1.5;overflow:hidden;user-select:none}.wf-search .wf-keyboard .keyboard-key:last-child{margin-right:0}.wf-search .wf-keyboard .keyboard-key:active{background-color:#00f}.wf-search .wf-keyboard .keyboard-key2x{width:8ch}.wf-search .wf-keyboard .keyboard-key3x{width:12ch}.wf-search .wf-keyboard .keyboard-key_spacebar{width:24ch}",
|
|
3529
3529
|
map: undefined,
|
|
3530
3530
|
media: undefined
|
|
@@ -3898,7 +3898,7 @@ var script$6 = {
|
|
|
3898
3898
|
reset() {
|
|
3899
3899
|
this.$nextTick(() => {
|
|
3900
3900
|
if (this.scroll) {
|
|
3901
|
-
this.scroll.
|
|
3901
|
+
this.scroll.reset();
|
|
3902
3902
|
}
|
|
3903
3903
|
});
|
|
3904
3904
|
},
|
|
@@ -3933,7 +3933,7 @@ var __vue_staticRenderFns__$6 = [];
|
|
|
3933
3933
|
const __vue_inject_styles__$6 = undefined;
|
|
3934
3934
|
/* scoped */
|
|
3935
3935
|
|
|
3936
|
-
const __vue_scope_id__$6 = "data-v-
|
|
3936
|
+
const __vue_scope_id__$6 = "data-v-78a62f63";
|
|
3937
3937
|
/* module identifier */
|
|
3938
3938
|
|
|
3939
3939
|
const __vue_module_identifier__$6 = undefined;
|
|
@@ -3990,8 +3990,8 @@ var script$5 = {
|
|
|
3990
3990
|
banners() {
|
|
3991
3991
|
let now = Date.now();
|
|
3992
3992
|
|
|
3993
|
-
if (this.template && this.container && this.banners['template-' + this.template] && this.banners['template-' + this.template][this.container]) {
|
|
3994
|
-
this.frames = this.banners['template-' + this.template][this.container].filter(frame => {
|
|
3993
|
+
if (this.template && this.container && this.banners['template-' + this.template.toLowerCase()] && this.banners['template-' + this.template.toLowerCase()][this.container]) {
|
|
3994
|
+
this.frames = this.banners['template-' + this.template.toLowerCase()][this.container].filter(frame => {
|
|
3995
3995
|
let enabled = frame.enabled;
|
|
3996
3996
|
|
|
3997
3997
|
if (enabled && frame.from_date) {
|
|
@@ -4223,8 +4223,8 @@ var __vue_staticRenderFns__$5 = [];
|
|
|
4223
4223
|
|
|
4224
4224
|
const __vue_inject_styles__$5 = function (inject) {
|
|
4225
4225
|
if (!inject) return;
|
|
4226
|
-
inject("data-v-
|
|
4227
|
-
source: ".wf-banner[data-v-
|
|
4226
|
+
inject("data-v-35393bbc_0", {
|
|
4227
|
+
source: ".wf-banner[data-v-35393bbc]{position:relative;width:100%;height:100%}.wf-banner .wf-frame[data-v-35393bbc]{width:100%;height:100%;position:absolute;background-size:cover;background-position:50% 50%;background-repeat:no-repeat;left:0;top:0;opacity:0;transition:opacity .5s ease-in-out}.wf-banner .wf-frame .wf-frame-container[data-v-35393bbc]{background-size:cover;background-position:50% 50%;background-repeat:no-repeat}.wf-banner .wf-frame.wf-active[data-v-35393bbc]{opacity:1;transition:opacity .5s ease-in-out}.wf-banner .wf-frame video[data-v-35393bbc]{position:relative;top:50%;transform:translateY(-50%)}",
|
|
4228
4228
|
map: undefined,
|
|
4229
4229
|
media: undefined
|
|
4230
4230
|
});
|
|
@@ -4232,7 +4232,7 @@ const __vue_inject_styles__$5 = function (inject) {
|
|
|
4232
4232
|
/* scoped */
|
|
4233
4233
|
|
|
4234
4234
|
|
|
4235
|
-
const __vue_scope_id__$5 = "data-v-
|
|
4235
|
+
const __vue_scope_id__$5 = "data-v-35393bbc";
|
|
4236
4236
|
/* module identifier */
|
|
4237
4237
|
|
|
4238
4238
|
const __vue_module_identifier__$5 = undefined;
|
|
@@ -4,4 +4,4 @@ var WayfinderVueComponents=function(t){"use strict";function e(t){return t&&"obj
|
|
|
4
4
|
* (c) 2021 Evan You
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
7
|
-
function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(C=t)}(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new I(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new C,this._makeLocalGettersCache=Object.create(null);var o=this,a=this.dispatch,s=this.commit;this.dispatch=function(t,e){return a.call(o,t,e)},this.commit=function(t,e,n){return s.call(o,t,e,n)},this.strict=i;var r=this._modules.root.state;E(this,r,[],this._modules.root),M(this,r),n.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:C.config.devtools)&&function(t){v&&(t._devtoolHook=v,v.emit("vuex:init",t),v.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){v.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){v.emit("vuex:action",t,e)}),{prepend:!0}))}(this)},P={state:{configurable:!0}};function S(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function T(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;E(t,n,[],t._modules.root,!0),M(t,n,e)}function M(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,a={};w(o,(function(e,n){a[n]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var s=C.config.silent;C.config.silent=!0,t._vm=new C({data:{$$state:e},computed:a}),C.config.silent=s,t.strict&&function(t){t._vm.$watch((function(){return this._data.$$state}),(function(){}),{deep:!0,sync:!0})}(t),i&&(n&&t._withCommit((function(){i._data.$$state=null})),C.nextTick((function(){return i.$destroy()})))}function E(t,e,n,i,o){var a=!n.length,s=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=i),!a&&!o){var r=x(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){C.set(r,c,i.state)}))}var u=i.context=function(t,e,n){var i=""===e,o={dispatch:i?t.dispatch:function(n,i,o){var a=N(n,i,o),s=a.payload,r=a.options,c=a.type;return r&&r.root||(c=e+c),t.dispatch(c,s)},commit:i?t.commit:function(n,i,o){var a=N(n,i,o),s=a.payload,r=a.options,c=a.type;r&&r.root||(c=e+c),t.commit(c,s,r)}};return Object.defineProperties(o,{getters:{get:i?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach((function(o){if(o.slice(0,i)===e){var a=o.slice(i);Object.defineProperty(n,a,{get:function(){return t.getters[o]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return x(t.state,n)}}}),o}(t,s,n);i.forEachMutation((function(e,n){!function(t,e,n,i){(t._mutations[e]||(t._mutations[e]=[])).push((function(e){n.call(t,i.state,e)}))}(t,s+n,e,u)})),i.forEachAction((function(e,n){var i=e.root?n:s+n,o=e.handler||e;!function(t,e,n,i){(t._actions[e]||(t._actions[e]=[])).push((function(e){var o,a=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return(o=a)&&"function"==typeof o.then||(a=Promise.resolve(a)),t._devtoolHook?a.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):a}))}(t,i,o,u)})),i.forEachGetter((function(e,n){!function(t,e,n,i){if(t._wrappedGetters[e])return;t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)}}(t,s+n,e,u)})),i.forEachChild((function(i,a){E(t,e,n.concat(a),i,o)}))}function x(t,e){return e.reduce((function(t,e){return t[e]}),t)}function N(t,e,n){return y(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}P.state.get=function(){return this._vm._data.$$state},P.state.set=function(t){},O.prototype.commit=function(t,e,n){var i=this,o=N(t,e,n),a=o.type,s=o.payload,r={type:a,payload:s},c=this._mutations[a];c&&(this._withCommit((function(){c.forEach((function(t){t(s)}))})),this._subscribers.slice().forEach((function(t){return t(r,i.state)})))},O.prototype.dispatch=function(t,e){var n=this,i=N(t,e),o=i.type,a=i.payload,s={type:o,payload:a},r=this._actions[o];if(r){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(t){}var c=r.length>1?Promise.all(r.map((function(t){return t(a)}))):r[0](a);return new Promise((function(t,e){c.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(s,n.state)}))}catch(t){}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(s,n.state,t)}))}catch(t){}e(t)}))}))}},O.prototype.subscribe=function(t,e){return S(t,this._subscribers,e)},O.prototype.subscribeAction=function(t,e){return S("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},O.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch((function(){return t(i.state,i.getters)}),e,n)},O.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},O.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),E(this,this.state,t,this._modules.get(t),n.preserveState),M(this,this.state)},O.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=x(e.state,t.slice(0,-1));C.delete(n,t[t.length-1])})),T(this)},O.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},O.prototype.hotUpdate=function(t){this._modules.update(t),T(this,!0)},O.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(O.prototype,P);var L,j=(L=function(t,e){var n,i={};return(n=e,function(t){return Array.isArray(t)||y(t)}(n)?Array.isArray(n)?n.map((function(t){return{key:t,val:t}})):Object.keys(n).map((function(t){return{key:t,val:n[t]}})):[]).forEach((function(e){var n=e.key,o=e.val;i[n]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=function(t,e,n){return t._modulesNamespaceMap[n]}(this.$store,0,t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"==typeof o?o.call(this,e,n):e[o]},i[n].vuex=!0})),i},function(t,e){return"string"!=typeof t?(e=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),L(t,e)});var F=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.poi?n("div",{staticClass:"wf-poi"},[t.showLogo?n("div",{staticClass:"wf-poi-image",class:[t.isImage()],style:{"background-image":t.getImage()}}):t._e(),t._v(" "),t.showName?n("div",{staticClass:"wf-poi-name",domProps:{innerHTML:t._s(t.poi.getName(t.language)||"POI")}}):t._e(),t._v(" "),t.showPathButton?n("div",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.showPath,expression:"showPath",arg:"tap"}],staticClass:"wf-show-path"},[n("button",[n("label",{attrs:{"data-translation-element":"show_path"}},[t._v(t._s(t.show_path))]),t._v(" "),n("i")])]):t._e(),t._v(" "),t.showDescription?n("div",{staticClass:"wf-poi-description",domProps:{innerHTML:t._s(t.poi.getDescription(t.language)||"")}}):t._e(),t._v(" "),t.showRoomID?n("div",{staticClass:"wf-poi-room_id",domProps:{innerHTML:t._s(t.poi.room_id||"")}}):t._e(),t._v(" "),t.showFloor&&t.poi.getFloor()?n("div",{staticClass:"wf-poi-floor",domProps:{innerHTML:t._s(t.poi.getFloor().getName(t.language)||"")}}):t._e()]):t._e()},staticRenderFns:[]},(function(t){t&&t("data-v-658b6c14_0",{source:".layout-view[data-v-658b6c14]{display:flex;flex-direction:column;justify-content:space-between;height:100%}.poi-info[data-v-658b6c14]{padding:1rem}.poi-info h2[data-v-658b6c14]{text-align:center;margin-top:1.5rem;margin-bottom:1.5rem}.poi-body[data-v-658b6c14]{box-shadow:0 -2px 1px 0 rgba(0,0,0,.05);padding:1rem;flex-grow:1}.poi-image[data-v-658b6c14]{height:14rem;width:100%;background-position:50% 50%;background-size:contain;background-repeat:no-repeat}.poi-image.image-background[data-v-658b6c14]{background-size:cover}.show-path[data-v-658b6c14]{bottom:1rem;right:1rem;text-transform:uppercase;z-index:10;line-height:2.8rem;margin-bottom:1.5rem}.show-path button[data-v-658b6c14]{height:3rem;font-size:1.2rem;line-height:2.8rem;padding-left:2.5rem;padding-right:2.5rem;margin:auto;border:0;display:block}.poi-description[data-v-658b6c14]{line-height:1.2}.poi-contact .address[data-v-658b6c14]{font-weight:600;margin-bottom:.5rem}.poi-contact .address span[data-v-658b6c14]{padding-top:4px;vertical-align:top;display:inline-block}.poi-contact .address a[data-v-658b6c14]{text-decoration:none;display:block;line-height:1.5}.poi-contact .address .icon[data-v-658b6c14]:before{mix-blend-mode:initial;color:#fff}",map:void 0,media:void 0})}),{name:"POI",computed:a(a({},j("wf",["language"])),{},{hasShowPathListener:function(){return!(!this.$listeners||!this.$listeners.showPath)}}),props:{poi:{type:Object,default:null},showLogo:{type:Boolean,default:!1},showName:{type:Boolean,default:!0},showPathButton:{type:Boolean,default:!1},showDescription:{type:Boolean,default:!1},showRoomID:{type:Boolean,default:!1},showFloor:{type:Boolean,default:!1}},watch:{language:function(){this.$wayfinder&&(this.show_path=this.$wayfinder.translator.get("show_path"))}},methods:{showPath:function(){this.poi&&(this.hasShowPathListener?this.$emit("showPath",this.poi):this.$wayfinder.showPath(this.poi.getNode(),this.poi))},open:function(t){t&&this.poi[t]&&("shop_email"===t?window.open("mailto:"+this.poi[t],"_system"):"shop_phone"===t?window.open("tel:"+this.poi[t],"_system"):window.open(this.poi[t],"_system"))},getImage:function(){return this.poi.getBackgroundUrl()?'url("'+this.poi.getBackgroundUrl()+'")':!!this.poi.getIconUrl()&&'url("'+this.poi.getIconUrl()+'")'},isImage:function(){return this.poi.getBackgroundUrl()?"image-background":this.poi.getIconUrl()?"image-logo":"image-none"},truncate:function(t,e){return t&&t.length>e?t.substring(0,e)+"...":t}},data:function(){return{show_path:"Show Path"}}},"data-v-658b6c14",false,undefined,!1,f,void 0,void 0),z=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-az-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedPOIs,(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(poiitem)",arg:"tap"}],key:e.id,staticClass:"wf-list-item",class:{"wf-active":t.currentPOI&&e.id==t.currentPOI.id},on:{click:function(n){return t.onClick(e)}}},[t._t("default",(function(){return[n("POI",{attrs:{poi:e,showLogo:t.showLogo,showName:t.showName,showPathButton:t.showPathButton,showDescription:t.showDescription,showRoomID:t.showRoomID,showFloor:t.showFloor}})]}),{poi:e})],2)})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-17afa634_0",{source:".wf-list-item[data-v-17afa634]{list-style:none}",map:void 0,media:void 0})}),{name:"AZMenu",components:{POI:F},props:{showLogo:{type:Boolean,default:!1},showName:{type:Boolean,default:!0},showPathButton:{type:Boolean,default:!1},showDescription:{type:Boolean,default:!1},showRoomID:{type:Boolean,default:!1},showFloor:{type:Boolean,default:!1},currentPOI:{type:Object,default:null}},data:function(){return{count:0}},computed:a(a({},j("wf",["pois","language"])),{},{sortedPOIs:function(){var t=this,e=this.pois.slice().filter((function(t){return t&&t.getShowInMenu()}));return e=e.sort((function(e,n){return e.getName(t.language)&&n.getName(t.language)?e.getName(t.language).localeCompare(n.getName(t.language)):0})),this.count=e.length,e}}),methods:{onClick:function(t){var e=this;return function(){e.$emit("clicked",t),e.$wayfinder.statistics.onClick(t.id,"menu")}}}},"data-v-17afa634",false,undefined,!1,f,void 0,void 0),D=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-languages-container",class:[t.active?"wf-active":""]},[t.showTitle?n("div",{staticClass:"wf-languages-container-select"},[t._v("Select language")]):t._e(),t._v(" "),n("div",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.languages,(function(e){return n("div",{key:e.getName(),class:["item","language","lang-"+e.getName(),{active:e.getName()==t.language,display:t.active}],on:{click:function(n){return t.changeLanguage(e)}}},[t.showFlag?n("div",{staticClass:"wf-flag",style:{backgroundImage:"url("+t.getFlagImage(e.flagImage)+")"}}):t._e(),t._v(" "),"code"==t.labelType?n("label",[t._v(t._s(e.getName()))]):t._e(),t._v(" "),"native"==t.labelType?n("label",[t._v(t._s(e.getNativeName()))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-64144cc4_0",{source:".languages-container.active[data-v-64144cc4]{height:fit-content;z-index:10}.languages-container.active .languages-container-select[data-v-64144cc4]{visibility:initial;opacity:1}.languages-container .languages-container-select[data-v-64144cc4]{opacity:0;padding-bottom:.5rem;margin:auto;text-align:center;transition:opacity .2s ease-in;overflow:hidden;height:1.5rem;font-size:1rem}.languages-container .language .flag[data-v-64144cc4]{width:70%;height:100%;background-size:cover;background-position:50%;background-repeat:no-repeat}.languages-container .language .active[data-v-64144cc4]{height:3.5rem;margin-bottom:1rem}.languages-container .language .display[data-v-64144cc4]{height:3.5rem;margin-bottom:1.5rem}",map:void 0,media:void 0})}),{name:"FlagsMenu",computed:a(a({},j("wf",["languages","language","reset"])),{},{count:function(){return this.languages.length}}),props:{showTitle:{type:Boolean,default:!0},showFlag:{type:Boolean,default:!0},labelType:{type:String,default:"none"}},data:function(){return{active:!1}},methods:{changeLanguage:function(t){this.$wayfinder.setLanguage(t.name),this.$emit("changeLanguage",t)},getFlagImage:function(t){return WayfinderAPI.getURL("images","thumbnail",[t])}},watch:{reset:function(){this.active=!1}}},"data-v-64144cc4",false,undefined,!1,f,void 0,void 0),$=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-languages-menu",class:{"wf-active":t.active}},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count,t.active?"wf-active":""]},t._l(t.languages,(function(e){return n("li",{directives:[{name:"show",rawName:"v-show",value:!(t.hideActive&&e.getName()==t.language),expression:"!(hideActive && lang.getName() == language)"}],key:e.getName(),staticClass:"wf-list-item wf-language",class:["wf-lang-"+e.getName(),{"wf-active":e.getName()==t.language,"wf-display":t.active}],on:{click:function(n){return t.changeLanguage(e)}}},[t.showFlag?n("div",{staticClass:"wf-lang-flag",style:{backgroundImage:"url("+t.getFlagImage(e.flagImage)+")"}}):t._e(),t._v(" "),"code"==t.labelType?n("label",[t._v(t._s(e.getName()))]):t._e(),t._v(" "),"native"==t.labelType?n("label",[t._v(t._s(e.getNativeName()))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-2b86d0a6_0",{source:".wf-languages-menu.active[data-v-2b86d0a6]{height:fit-content;z-index:10}.wf-languages-menu.active .wf-languages-title[data-v-2b86d0a6]{visibility:initial;opacity:1}.wf-languages-menu .wf-languages-title[data-v-2b86d0a6]{opacity:0;padding-bottom:.5rem;margin:auto;text-align:center;transition:opacity .2s ease-in;overflow:hidden}.wf-languages-menu .wf-language .wf-lang-flag[data-v-2b86d0a6]{width:70%;height:100%;background-size:cover;background-position:50%;background-repeat:no-repeat}.wf-languages-menu .wf-language .wf-active[data-v-2b86d0a6]{height:3.5rem;margin-bottom:1rem}.wf-languages-menu .wf-language .wf-display[data-v-2b86d0a6]{height:3.5rem;margin-bottom:1.5rem}",map:void 0,media:void 0})}),{name:"LanguagesMenu",computed:a(a({},j("wf",["languages","language","reset"])),{},{count:function(){return this.languages.length}}),props:{showTitle:{type:Boolean,default:!1},showFlag:{type:Boolean,default:!0},labelType:{type:String,default:"none"},hideActive:{type:Boolean,default:!1},title:{type:String,default:"Select language"}},data:function(){return{active:!1}},methods:{changeLanguage:function(t){this.$listeners&&this.$listeners.changeLanguage?this.$emit("change",t):this.$wayfinder.setLanguage(t.name)},getFlagImage:function(t){return WayfinderAPI.getURL("images","thumbnail",[t])}},watch:{reset:function(){this.active=!1}}},"data-v-2b86d0a6",false,undefined,!1,f,void 0,void 0),A=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.group?n("div",{staticClass:"wf-group",class:[t.hasImage()]},[n("label",{staticClass:"wf-name",domProps:{innerHTML:t._s(t.group.getName(t.language))}}),t._v(" "),t.showPOICount?n("label",{staticClass:"wf-poi-count"},[t._v(t._s(t.group.pois.length))]):t._e(),t._v(" "),t.showIcon?n("img",{staticClass:"wf-group-icon",attrs:{src:t.group.getIconUrl()}}):t._e()]):t._e()},staticRenderFns:[]},undefined,{name:"Group",computed:a({},j("wf",["language"])),props:{group:{type:Object,default:null},showIcon:{type:Boolean,default:!1},showPOICount:{type:Boolean,default:!1}},watch:{language:function(){wayfinder&&(this.show_path=this.$wayfinder.translator.get("show_path"))}},methods:{hasImage:function(){return this.group.getIconUrl()?"wf-has-icon":"wf-icon-none"}}},"data-v-077cd362",false,undefined,!1,void 0,void 0,void 0),R=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-groups-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},[t._t("prepend"),t._v(" "),t._l(t.sortedGroups,(function(e){return n("li",{key:e.id,staticClass:"wf-list-item",class:{active:t.current&&e.id==t.current.id}},[n("div",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(topic)",arg:"tap"}],staticClass:"wf-item-content"},[t._t("default",(function(){return[n("Group",{attrs:{group:e,showIcon:t.showIcon,showPOICount:t.showPOICount}})]}),{group:e})],2),t._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.current&&e.id==t.current.id&&t.subGroups(e.childGroups).length>0,expression:"current && topic.id == current.id && subGroups(topic.childGroups).length > 0"}]},[n("SubGroupMenu",{attrs:{parent:parseInt(e.id),showPOICount:t.showPOICount,az:t.az,order:t.order,showIcon:t.showIcon,showPOIs:t.showPOIs,sortPOIs:t.sortPOIs},on:{poiClicked:t.onSubPOICLick}})],1),t._v(" "),e.pois.length>0&&t.showPOIs?n("ul",{directives:[{name:"show",rawName:"v-show",value:t.current&&e.id==t.current.id,expression:"current && topic.id == current.id"}],staticClass:"wf-list wf-sublist"},t._l(t.sortedPOIs(e.pois),(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onPOICLick(e),expression:"onPOICLick(poi)",arg:"tap"}],key:e.id,staticClass:"wf-list-item"},[t._t("poi",(function(){return[n("POI",{attrs:{poi:e,showLogo:t.showPOILogo,showName:t.showPOIName,showPathButton:t.showPOIPathButton,showDescription:t.showPOIDescription,showRoomID:t.showPOIRoomID,showFloor:t.showPOIFloor}})]}),{poi:e})],2)})),0):t._e()])})),t._v(" "),t._t("append")],2)])},staticRenderFns:[]},(function(t){t&&t("data-v-0b585be8_0",{source:".wf-groups-menu .wf-list-item[data-v-0b585be8]{list-style:none}.wf-groups-menu .wf-list[data-v-0b585be8]{margin:0;padding:0}",map:void 0,media:void 0})}),{name:"GroupsMenu",components:{Group:A,POI:F,SubGroupMenu:h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-groups-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedGroups,(function(e){return n("li",{key:e.id,staticClass:"wf-list-item",class:{active:t.current&&e.id==t.current.id}},[n("div",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(topic)",arg:"tap"}],staticClass:"wf-item-content"},[t._t("default",(function(){return[n("Group",{attrs:{group:e,showIcon:t.showIcon,showPOICount:t.showPOICount}})]}),{group:e})],2),t._v(" "),e.pois.length>0&&t.showPOIs?n("ul",{directives:[{name:"show",rawName:"v-show",value:t.current&&e.id==t.current.id,expression:"current && topic.id == current.id"}],staticClass:"wf-list wf-sublist"},t._l(t.sortedPOIs(e.pois),(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onPOICLick(e),expression:"onPOICLick(poi)",arg:"tap"}],key:e.id,staticClass:"wf-list-item"},[t._t("poi",(function(){return[n("POI",{attrs:{poi:e,showLogo:t.showPOILogo,showName:t.showPOIName,showPathButton:t.showPOIPathButton,showDescription:t.showPOIDescription,showRoomID:t.showPOIRoomID,showFloor:t.showPOIFloor}})]}),{poi:e})],2)})),0):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-0287fc8b_0",{source:".wf-groups-menu .wf-list-item[data-v-0287fc8b]{list-style:none}.wf-groups-menu .wf-list[data-v-0287fc8b]{margin:0;padding:0}",map:void 0,media:void 0})}),{name:"GroupsMenu",components:{Group:A,POI:F},props:{parent:{type:Number,default:-1},showPOICount:{type:Boolean,default:!1},az:{type:Boolean,default:!1},order:{type:Boolean,default:!1},showIcon:{type:Boolean,default:!1},showSubGroups:{type:Boolean,default:!0},showPOIs:{type:Boolean,default:!1},showPOILogo:{type:Boolean,default:!1},showPOIName:{type:Boolean,default:!0},showPOIPathButton:{type:Boolean,default:!1},showPOIDescription:{type:Boolean,default:!1},showPOIRoomID:{type:Boolean,default:!1},showPOIFloor:{type:Boolean,default:!1},openGroup:{type:Boolean,default:!0},sortPOIs:{type:Boolean,default:!0}},data:function(){return{current:null,count:0}},computed:a(a({},j("wf",["poiGroups","currentGroup","language"])),{},{sortedGroups:function(){var t,e=this,n=[],i=this.poiGroups;for(var o in i)(t=i[o])&&t.getShowInMenu()&&t.getName(this.language)&&(this.parent>-1&&parseInt(t.parent_id)==this.parent||-1===this.parent&&null===t.parent_id)&&n.push(t);return this.az?n=n.sort((function(t,n){return t&&t.getName(e.language)&&n&&n.getName(e.language)?t.getName(e.language).localeCompare(n.getName(e.language),e.language,{sensitivity:"accent"}):0})):this.order&&(n=n.sort((function(t,e){return t&&e?t.order-e.order:0}))),this.count=n.length,n}}),watch:{currentGroup:function(){this.current=this.currentGroup}},methods:{onClick:function(t){var e=this;return function(){e.current==t?e.current=null:e.current=t,e.$emit("clicked",t)}},onPOICLick:function(t){var e=this;return function(){console.log("onPOICLick01",t),e.$emit("poiClicked",t)}},reset:function(){this.$store.dispatch("wf/SET_CURRENT_GROUP",null)},subGroups:function(t){if(t){var e,n=[];for(var i in t)e=parseInt(t[i]),this.poiGroups[e]&&this.poiGroups[e].getShowInMenu()&&n.push(this.poiGroups[e]);return n}return[]},sortedPOIs:function(t){var e=this,n=t.slice().filter((function(t){return t&&t.getShowInMenu()}));return this.sortPOIs?n=n.sort((function(t,n){return t.getName(e.language)&&n.getName(e.language)?t.getName(e.language).localeCompare(n.getName(e.language)):0})):n}}},"data-v-0287fc8b",false,undefined,!1,f,void 0,void 0)},props:{parent:{type:Number,default:-1},showPOICount:{type:Boolean,default:!1},az:{type:Boolean,default:!1},order:{type:Boolean,default:!1},showIcon:{type:Boolean,default:!1},showSubGroups:{type:Boolean,default:!0},showPOIs:{type:Boolean,default:!1},showPOILogo:{type:Boolean,default:!1},showPOIName:{type:Boolean,default:!0},showPOIPathButton:{type:Boolean,default:!1},showPOIDescription:{type:Boolean,default:!1},showPOIRoomID:{type:Boolean,default:!1},showPOIFloor:{type:Boolean,default:!1},openGroup:{type:Boolean,default:!0},sortPOIs:{type:Boolean,default:!0}},data:function(){return{current:null,count:0}},computed:a(a({},j("wf",["poiGroups","currentGroup","language"])),{},{sortedGroups:function(){var t,e=this,n=[],i=this.poiGroups;for(var o in i)(t=i[o])&&t.getShowInMenu()&&t.getName(this.language)&&(this.parent>-1&&parseInt(t.parent_id)==this.parent||-1===this.parent&&null===t.parent_id)&&n.push(t);return this.az?n=n.sort((function(t,n){return t&&t.getName(e.language)&&n&&n.getName(e.language)?t.getName(e.language).localeCompare(n.getName(e.language),e.language,{sensitivity:"accent"}):0})):this.order&&(n=n.sort((function(t,e){return t&&e?t.order-e.order:0}))),this.count=n.length,n}}),watch:{currentGroup:function(){this.current=this.currentGroup}},methods:{onClick:function(t){var e=this;return function(){e.current==t?e.current=null:e.current=t,e.$emit("clicked",t)}},onPOICLick:function(t){var e=this;return function(){e.$emit("poiClicked",t)}},onSubPOICLick:function(t){this.$emit("poiClicked",t)},reset:function(){this.$store.dispatch("wf/SET_CURRENT_GROUP",null)},subGroups:function(t){if(t){var e,n=[];for(var i in t)e=parseInt(t[i]),this.poiGroups[e]&&this.poiGroups[e].getShowInMenu()&&n.push(this.poiGroups[e]);return n}return[]},sortedPOIs:function(t){var e=this,n=t.slice().filter((function(t){return t&&t.getShowInMenu()}));return this.sortPOIs?n=n.sort((function(t,n){return t.getName(e.language)&&n.getName(e.language)?t.getName(e.language).localeCompare(n.getName(e.language)):0})):n}}},"data-v-0b585be8",false,undefined,!1,f,void 0,void 0),B=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-group-pois-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},[n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.back(),expression:"back()",arg:"tap"}],staticClass:"wf-list-item wf-list-header"},[t._v(t._s(t.currentGroupName))]),t._v(" "),t._l(t.getPOIs,(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(poi)",arg:"tap"}],key:e.id,staticClass:"wf-list-item",class:{"wf-active":t.currentPOI&&e.id==t.currentPOI.id},domProps:{innerHTML:t._s(e.getName(t.language))}})}))],2)])},staticRenderFns:[]},(function(t){t&&t("data-v-14d8d75e_0",{source:".wf-group-pois-menu[data-v-14d8d75e]{overflow:hidden;user-select:none}.wf-group-pois-menu .wf-list[data-v-14d8d75e]{margin:0;padding:0}.wf-group-pois-menu .list-item[data-v-14d8d75e]{list-style:none;padding:1em}",map:void 0,media:void 0})}),{name:"GroupPOIsMenu",props:{group:{type:Object,default:null},currentPOI:{type:Object,default:null}},data:function(){return{count:0}},computed:a(a({},j("wf",["language"])),{},{getPOIs:function(){var t=this;if(this.group&&this.group.pois){var e=this.group.pois.slice(0);return e=e.filter((function(t){return t.getShowInMenu()})),this.count=e.length,e.sort((function(e,n){return e.getName(t.language).localeCompare(n.getName(t.language))}))}return this.count=0,[]},currentGroupName:function(){return this.group?this.group.getName(this.language):""}}),methods:{onClick:function(t){var e=this;return function(){e.$emit("clicked",t)}},back:function(){var t=this;return function(){t.$emit("back")}}}},"data-v-14d8d75e",false,undefined,!1,f,void 0,void 0),G=h({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"wf-component wf-building-logo",style:{"background-image":t.getLogo()}})},staticRenderFns:[]},(function(t){t&&t("data-v-38faefb4_0",{source:".wf-building-logo[data-v-38faefb4]{background-size:contain;background-repeat:no-repeat;background-position:50%}",map:void 0,media:void 0})}),{name:"BuildingLogo",computed:a({},j("wf",["building"])),methods:{getLogo:function(){if(this.building&&this.building.logoID)return"url("+WayfinderAPI.getURL("images","get",this.building.logoID)+")"}}},"data-v-38faefb4",false,undefined,!1,f,void 0,void 0),W=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{staticClass:"wf-component wf-yah",on:{click:function(e){return t.onClicked()}}},[n("i",{staticClass:"wf-icon",style:{"background-image":t.yahLogo}}),t._v(" "),n("label",{attrs:{"data-translation-element":"yah"}},[t._v("YAH")])])},staticRenderFns:[]},(function(t){t&&t("data-v-0e28d1b6_0",{source:".wf-yah[data-v-0e28d1b6]{text-align:center;border:none;outline:0}.wf-icon[data-v-0e28d1b6]{width:100%;height:100%;display:block;background-repeat:no-repeat;background-position:50%;background-size:contain;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iOTQiIGhlaWdodD0iMTI4IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6Y2M9Imh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL25zIyIgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogPG1ldGFkYXRhPgogIDxyZGY6UkRGPgogICA8Y2M6V29yayByZGY6YWJvdXQ9IiI+CiAgICA8ZGM6Zm9ybWF0PmltYWdlL3N2Zyt4bWw8L2RjOmZvcm1hdD4KICAgIDxkYzp0eXBlIHJkZjpyZXNvdXJjZT0iaHR0cDovL3B1cmwub3JnL2RjL2RjbWl0eXBlL1N0aWxsSW1hZ2UiLz4KICAgIDxkYzp0aXRsZS8+CiAgIDwvY2M6V29yaz4KICA8L3JkZjpSREY+CiA8L21ldGFkYXRhPgogPHBhdGggZD0ibTQ2Ljk3NyAxMjYuNjRjLTAuMjgzMDMtMC42ODc1LTYuMTYzMS02LjQzNzctMTAuMzc0LTExLjY2My0yNC45NDctMzMuMTIyLTUyLjc2MS02My44OTgtMjAuMjgzLTEwMS4zIDE0LjM4MS0xMy44OTQgMzIuMTEzLTE0LjY4NiA1MC4zNDMtOC4yMTAxIDUxLjMzIDI5LjcwMiAxNC4xNjYgNzguMTU1LTEwLjIzNSAxMTAuMDFsLTkuNDUwMSAxMS4xNjN6bTE1LjQ0LTUwLjc3MWMzNC4yMzctMjQuNDg1IDcuNzY4LTcxLjYzMy0yOS44NDgtNTUuOTU5LTEwLjk4NCA1Ljg1NjktMTYuNDM0IDE2LjA0OC0xNi42MjUgMjguMDY4LTAuNTI0NSAxMS42OTMgNS42ODU0IDIxLjQ3MSAxNS41MjYgMjcuNDYxIDcuMDU1NSAzLjg0MDEgMTAuMTU3IDQuNTMzNyAxOC4xNDYgNC4wNTc3IDUuMTc3Ni0wLjMwODUyIDguMTYxMS0xLjE1MzggMTIuODAxLTMuNjI3MXoiIGZpbGw9IiNjNjQyNDIiIGZpbGwtb3BhY2l0eT0iLjk4ODI0Ii8+CiA8cGF0aCB0cmFuc2Zvcm09Im1hdHJpeCguODc4MjkgMCAwIDEuMDUxOSAuNTU0NzQgLTYuOTk1MykiIGQ9Im00MS42ODIgODkuODkxYTUxLjIyMyA0MS43NTQgMCAxIDEgMS4yNzY2IDAuMjA4MDkiIGZpbGw9IiNjNjQyNDIiIGZpbGwtb3BhY2l0eT0iLjk4ODI0Ii8+CiA8cGF0aCB0cmFuc2Zvcm09InRyYW5zbGF0ZSguNjQ1MzUpIiBkPSJtNDMuNjMxIDY5LjEyOWEyNi4wMTEgMjAuOTkxIDAgMSAxIDAuNjQ4MjYgMC4xMDQ2MSIgZmlsbC1vcGFjaXR5PSIwIiBvcGFjaXR5PSIuMzQwMTYiLz4KIDxwYXRoIHRyYW5zZm9ybT0idHJhbnNsYXRlKC42NDUzNSkiIGQ9Im0zMS44OTIgMTE0LjI4YTE2LjY1NiAxMS43NSAwIDEgMSAwLjQxNTExIDAuMDU4NiIgZmlsbC1vcGFjaXR5PSIwIi8+CiA8cGF0aCB0cmFuc2Zvcm09Im1hdHJpeCguOTcwMiAwIDAgMS4wMjcyIC00LjA1ODggLTUuNzUwNCkiIGQ9Im00NS41MjEgODQuODI0YTM0LjQ1MyAzMy41NCAwIDEgMSAwLjg1ODY2IDAuMTY3MTYiIGZpbGw9IiNiNzJjMmMiLz4KIDxwYXRoIHRyYW5zZm9ybT0ibWF0cml4KC42NDYzIDAgMCAuNjE2ODEgNS4xMjYxIDQuOTAxNCkiIGQ9Im01Ny4wNzkgMTA0LjYxYTM0LjIwMyAzNi42MjMgMCAxIDEgMC44NTI0NCAwLjE4MjUyIiBmaWxsPSIjZmZmIi8+Cjwvc3ZnPgo=)}",map:void 0,media:void 0})}),{name:"YAH",computed:a({},j("wf",["yahLogo","language"])),methods:{onClicked:function(){this.$wayfinder.showKiosk()}}},"data-v-0e28d1b6",false,undefined,!1,f,void 0,void 0),V=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-shortcuts-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedShortcuts,(function(e){return n("li",{key:e.getID(),staticClass:"wf-list-item wf-shortcut",class:["wf-shortcut-"+e.getID()],on:{click:function(n){return t.showShortcut(e)}}},[t.showIcon?n("img",{staticClass:"wf-icon",attrs:{src:t.getImage(e.imageID)}}):t._e(),t._v(" "),t.showLabel?n("label",[t._v(t._s(e.getName(t.language)))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-519f278a_0",{source:".shortcuts-container[data-v-519f278a]{display:flex;flex-wrap:wrap-reverse;align-content:stretch;justify-content:space-between;margin-bottom:.1rem;flex-direction:row}.shortcuts-container.map-shortcuts[data-v-519f278a]{position:absolute;left:.5rem;bottom:15%;top:15%;flex-direction:column;justify-content:center}",map:void 0,media:void 0})}),{name:"ShortcutsMenu",components:{YAH:W},props:{showLabel:{type:Boolean,default:!0},showPath:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},highlight:{type:Boolean,default:!0},dehighlightOverlay:{type:Boolean,default:!1}},computed:a(a({},j("wf",["shortcuts","language","landscape","mobile"])),{},{sortedShortcuts:function(){var t=this.shortcuts.sort((function(t,e){return 1}));return t},count:function(){return this.shortcuts.length},hasClickedListener:function(){return!(!this.$listeners||!this.$listeners.clicked)}}),methods:{showShortcut:function(t){var e=this.$wayfinder.getNearestPOI(this.$wayfinder.getKiosk(),t.pois);this.hasClickedListener?this.$emit("clicked",e,t):(this.showPath&&"object"===s(e)&&null!=e&&this.$wayfinder.showPath(e.node,e),this.highlight&&(this.$wayfinder.clearDisplaying(),this.$wayfinder.setDisplaying(t.pois)),this.dehighlightOverlay&&this.$wayfinder.setDehighlightOverlay&&this.$wayfinder.setDehighlightOverlay(!0),this.$wayfinder.update())},clear:function(){this.dehighlightOverlay&&this.$wayfinder.setDehighlightOverlay&&this.$wayfinder.setDehighlightOverlay(!1),this.highlight&&this.$wayfinder.clearHighlights(),this.$wayfinder.update()},getImage:function(t){return WayfinderAPI.getURL("images","thumbnail",[t])}}},"data-v-519f278a",false,undefined,!1,f,void 0,void 0),Y=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-zoommenu"},[n("div",{staticClass:"wf-item wf-zoom-in",on:{click:function(e){return t.zoomIn()}}},[t._v("+")]),t._v(" "),n("div",{staticClass:"wf-item wf-zoom-out",on:{click:function(e){return t.zoomOut()}}},[t._v("-")])])},staticRenderFns:[]},undefined,{methods:{zoomIn:function(){this.$wayfinder.zoomIn()},zoomOut:function(){this.$wayfinder.zoomOut()}}},undefined,false,undefined,!1,void 0,void 0,void 0),U=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-floors-menu"},[n("ul",{directives:[{name:"show",rawName:"v-show",value:!(t.hideWhenSingleFloor&&t.floors.length<=1),expression:"!(hideWhenSingleFloor && floors.length <= 1)"}],staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.filteredFloors,(function(e){return n("li",{key:e.id,staticClass:"wf-list-item",class:["wf-lang-"+t.language,"wf-floor-"+e.index,{active:e==t.currentFloor}],on:{click:function(n){return t.changeFloor(e)}}},[n("label",{staticClass:"wf-title"},[t._v(t._s(e.getName(t.language)))]),t._v(" "),t.showPOICount?n("label",{staticClass:"wf-count"},[t._v(t._s(e.pois.length))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-acb9257a_0",{source:".wf-floors-menu .wf-list-item[data-v-acb9257a]{text-overflow:ellipsis;list-style:none}",map:void 0,media:void 0})}),{name:"MapFloors",props:{showPOICount:{type:Boolean,default:!1},currentFloor:{type:Object,default:null},hideWhenSingleFloor:{type:Boolean,default:!0}},data:function(){return{count:0}},computed:a(a({},j("wf",["floors","language"])),{},{filteredFloors:function(){var t,e=[],n=this.floors;for(var i in n)(t=n[i])&&t.getShowInMenu()&&t.getName(this.language)&&e.push(t);return this.count=e.length,e},hasClickedListener:function(){return!(!this.$listeners||!this.$listeners.clicked)}}),methods:{changeFloor:function(t){this.hasClickedListener?this.$emit("clicked",t):this.$wayfinder.showFloor(t)}}},"data-v-acb9257a",false,undefined,!1,f,void 0,void 0),H=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-filteredmenu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedPOIs,(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(poiitem)",arg:"tap"}],key:e.id,staticClass:"wf-list-item",class:{active:t.currentPOI&&e.id==t.currentPOI.id},on:{click:function(n){return t.onClick(e)}}},[t._t("default",(function(){return[n("POI",{attrs:{poi:e,showLogo:t.showLogo,showName:t.showName,showPathButton:t.showPathButton,showDescription:t.showDescription,showRoomID:t.showRoomID,showFloor:t.showFloor}})]}),{poi:e})],2)})),0)])},staticRenderFns:[]},undefined,{name:"FilteredMenu",components:{POI:F},data:function(){return{sortedPOIs:[],count:0}},props:{showLogo:{type:Boolean,default:!1},showName:{type:Boolean,default:!0},showPathButton:{type:Boolean,default:!1},showDescription:{type:Boolean,default:!1},showRoomID:{type:Boolean,default:!1},showFloor:{type:Boolean,default:!1},currentPOI:{type:Object,default:null}},computed:a({},j("wf",["filteredPOIs","language"])),watch:{filteredPOIs:function(t){var e=this,n=t.slice().filter((function(t){return t&&t.getShowInMenu()}));n=n.sort((function(t,n){return t.getName(e.language)&&n.getName(e.language)?t.getName(e.language).localeCompare(n.getName(e.language)):0})),this.count=n.length,this.sortedPOIs=n}},methods:{onClick:function(t){var e=this;return function(){e.$emit("clicked",t),e.$wayfinder.statistics.onClick(t.id,"menu")}}}},"data-v-e2dd64b6",false,undefined,!1,void 0,void 0,void 0);function Z(t,e,n){return t(n={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&n.path)}},n.exports),n.exports}var q,X=Z((function(t){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){n.r(e);class i{constructor(t){this.keyboard=t,this.actions={backspace:function(t,e){e.selectionStart>0&&e.selectionStart==e.selectionEnd?(e.selectionStart--,e.changeValue("")):e.changeValue("")},change_keyset:function(t,e){void 0!==t.action[1]&&(e.keyset=t.action[1],e.clear(),e.construct())},change_layout:function(t,e){void 0!==t.action[1]&&(e.layoutName=t.action[1],e.clear(),e.construct())},submit:function(t,e){void 0!==t.action[1]&&(e.pushtoOutput(),e.clear())}}}activate(t){"function"==typeof this.actions[t.action[0]]&&this.actions[t.action[0]](t,this.keyboard)}addAction(t,e){this.actions[t]=e}}class o{constructor(t,e,n){this.layouts={},this.layoutName=void 0===n?"en":n,this.keyset="default",this.container=!1,this.containerListenerAdded=!1,this.setContainer(e),this.selectionStart=0,this.selectionEnd=0,this.output=!1,this.outputIsInputField=!0,this.value="",this.events={change:[],layout:[],ready:[]},this.actions=new i(this),this.cbOnChange=!1,this.setOutput(t),this.setDefaultLayout(),this.construct()}on(t,e){"object"!=typeof this.events[t]&&(this.events[t]=[]),this.events[t].push(e)}trigger(){let t=Array.prototype.slice.call(arguments);if(t.length>0){let e=t[0];if(t.shift(),this.events[e]){let n;for(let i=0,o=this.events[e].length;i<o;i++)"function"==typeof(n=this.events[e][i])&&n.apply(this,t)}}}addLayout(t,e){this.layouts[t]=e}changeLayout(t,e){this.layoutName=t,this.keyset=e||"default",this.clear(),this.construct(),this.trigger("layout",this.layoutName,this.keyset)}setContainer(t){switch(typeof t){case"undefined":this.container=document.createElement("div"),this.container.classList.add("keyboard"),document.body.appendChild(this.container);break;case"string":this.container=document.getElementById(t);break;default:this.container=t}}setOutput(t){if("string"==typeof t){if(this.output=document.getElementById(t),!this.output)return void console.warn("Input field not found",t);"input"!==this.output.tagName.toLowerCase()&&(this.outputIsInputField=!1)}else this.output=t;this.output&&(this.output.addEventListener("focus",(()=>{this.updateFromOutput()})),this.output.addEventListener("keyup",(()=>{this.updateFromOutput(),this.trigger("change",this.value)})),this.output.addEventListener("mouseup",(()=>{this.updateFromOutput()})),this.output.addEventListener("input",(()=>{this.updateFromOutput()})))}updateFromOutput(){this.outputIsInputField?this.value=this.output.value:this.value=this.output.innerText,this.getCaretPosition()}clear(){if(this.container)for(;this.container.firstChild;)this.container.removeChild(this.container.firstChild)}clearValue(){this.value="",this.selectionStart=0,this.selectionEnd=0}getCurrentKeyset(){try{return this.layouts[this.layoutName].keys[this.keyset]}catch(t){return console.warn("Error! Probably no keyboard layout added!"),this.layouts.en.keys.default}}construct(){this.clear();let t="",e=this.getCurrentKeyset();for(let n in e){t+="<div class='keyboard-row keyboard-row-"+n+"'>";for(let i in e[n]){let o=e[n][i];switch(typeof o){case"string":t+="<div class='keyboard-key "+o+"' row='"+n+"' index='"+i+"'>"+o+"</div>";break;case"object":let e="";o.cls&&(e=o.cls),t+="<div class='keyboard-key keyboard-"+e+" "+o.key+"' object='' row='"+n+"' index='"+i+"'>"+o.key+"</div>"}}t+="</div>"}this.container.insertAdjacentHTML("beforeend",t),this.containerListenerAdded||(this.container.addEventListener("mousedown",(t=>{this.getCaretPosition(),this.keyPressed(t.target),t.stopPropagation(),t.preventDefault()})),this.container.addEventListener("mouseup",(t=>{this.keyReleased(t.target),t.stopPropagation()})),this.containerListenerAdded=!0,this.container.onselectstart=function(){return!1},this.container.onmousedown=function(){return!1}),this.rescale()}rescale(){if(!this.container)return;let t,e,n=0;for(let i=0;i<this.container.children.length;i++){let o=(t=this.container.children[i]).offsetHeight-t.clientHeight,a=t.offsetWidth-t.clientWidth;for(let n=0;n<t.children.length;n++)a+=((e=t.children[n]).offsetWidth<this.container.offsetWidth?e.offsetWidth:this.container.offsetWidth)+1,o=Math.max(o,this.container.offsetHeight);t.width=a,t.height=o,n+=o}this.container.height=n,this.trigger("ready")}keyPressed(t){t.classList.add("keyboard-key-pressed");let e=this.getCurrentKeyset()[t.getAttribute("row")];if(!e)return;let n=e[t.getAttribute("index")];switch(typeof n){case"string":this.changeValue(n);break;case"object":void 0===n.action?this.changeValue(n.key):this.actions.activate(n)}this.pushtoOutput()}changeValue(t){let e=this.value.substring(0,this.selectionStart),n=this.value.substring(this.selectionEnd,this.value.length);this.value=""+e+t+n,this.selectionStart+=t.length,this.selectionEnd=this.selectionStart}pushtoOutput(){if(this.output){this.outputIsInputField?(this.output.value=this.value,this.output.selectionStart=this.selectionStart,this.output.selectionEnd=this.selectionEnd):this.output.innerHTML=this.value;let t=new Event("change"),e=new Event("keyup");this.output.dispatchEvent(t),this.output.dispatchEvent(e),this.trigger("change",this.value)}}getCaretPosition(){this.output&&this.outputIsInputField&&(this.selectionStart=this.output.selectionStart,this.selectionEnd=this.output.selectionEnd)}keyReleased(t){t.classList.remove("keyboard-key-pressed")}width(){return-1}height(){return-1}setDefaultLayout(){this.layouts.en={name:"English",keyboard:"US International",local_name:"English",lang:"en",keys:{default:[["1","2","3","4","5","6","7","8","9","0",{key:"« Bksp",action:["backspace"],cls:"key2x"}],["q","w","e","r","t","y","u","i","o","p","\\"],["a","s","d","f","g","h","j","k","l",{key:"Enter",action:["submit"],cls:"key3x"}],[{key:"Shift",action:["change_keyset","shift"],cls:"key2x"},"z","x","c","v","b","n","m"],[{key:" ",cls:"key_spacebar"}]],shift:[["~","!","@","#","$","%","^","&","*","(",")",{key:"« Bksp",action:"backspace",cls:"key2x"}],["Q","W","E","R","T","Y","U","I","O","P","{","}"],["A","S","D","F","G","H","J","K","L",{key:"Enter",action:["submit"],cls:"key3x"}],[{key:"Shift",action:["change_keyset","default"],cls:"key2x active"},"Z","X","C","V","B","N","M","<",">","?"],[{key:" ",cls:"key_spacebar"}]]}}}}n.d(e,"OSK",(function(){return o})),n.d(e,"OSKActions",(function(){return i}))}]).OSK})),Q=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-search"},[t.showCloseButton?n("div",{staticClass:"wf-close",attrs:{"data-translation-element":"close"},on:{click:function(e){return t.close(e)}}},[t._v("Close")]):t._e(),t._v(" "),n("div",{staticClass:"wf-search-container"},[n("div",{staticClass:"wf-search-results",class:{"wf-no-results":0==t.results.length}},[n("transition-group",{staticClass:"wf-list",attrs:{name:"list",tag:"ul"}},t._l(t.results,(function(e){return e&&e.getShowInMenu()?n("li",{key:e.id,staticClass:"wf-list-item",class:{"wf-active":t.currentPOI&&e.id==t.currentPOI.id},on:{click:function(n){return t.onClick(e)}}},[t._t("default",(function(){return[n("POI",{attrs:{poi:e,showLogo:t.showLogo,showName:t.showName,showPathButton:t.showPathButton,showDescription:t.showDescription,showRoomID:t.showRoomID,showFloor:t.showFloor}})]}),{poi:e})],2):t._e()})),0),t._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:t.showNoResultsText&&0==t.results.length,expression:"showNoResultsText && results.length == 0"}],staticClass:"wf-search-no-results-text"},[t._v(t._s(t.noResultsText))])],1),t._v(" "),t.showOutputField?n("div",{staticClass:"wf-search-input-container"},[n("input",{ref:"searchInput",attrs:{id:"wf-search-input"}})]):t._e(),t._v(" "),t.showKeyboard?n("div",{staticClass:"wf-keyboard",attrs:{id:"wf-keyboard-container"}}):t._e()])])},staticRenderFns:[]},(function(t){t&&t("data-v-106d1dfe_0",{source:".wf-search .wf-close{position:absolute;top:0;right:.5rem;width:10rem;background-color:rgba(255,255,255,.7);background-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8' standalone='no'%3F%3E%3Csvg xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23' xmlns:svg='http://www.w3.org/2000/svg' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' enable-background='new 0 0 20 20' viewBox='0 0 20 20' y='0px' x='0px' id='Cross' version='1.1'%3E%3Cmetadata id='metadata9'%3E%3Crdf:RDF%3E%3Ccc:Work rdf:about=''%3E%3Cdc:format%3Eimage/svg+xml%3C/dc:format%3E%3Cdc:type rdf:resource='http://purl.org/dc/dcmitype/StillImage' /%3E%3Cdc:title%3E%3C/dc:title%3E%3C/cc:Work%3E%3C/rdf:RDF%3E%3C/metadata%3E%3Cdefs id='defs7'%3E%3ClinearGradient spreadMethod='pad' gradientUnits='userSpaceOnUse' y2='29.3118' x2='11.0536' y1='16.0077' x1='24.5509' id='paint1_linear' gradientTransform='translate(-6.9097825,12.894087)'%3E%3Cstop id='stop16' stop-color='%23FF4C54' /%3E%3Cstop id='stop18' stop-color='%23BE3F45' offset='1' /%3E%3C/linearGradient%3E%3ClinearGradient gradientUnits='userSpaceOnUse' y2='34.9828' x2='34.294201' y1='14.605' x1='13.6189' id='paint0_linear'%3E%3Cstop id='stop11' stop-color='%23FF4C54' /%3E%3Cstop id='stop13' stop-color='%23BE3F45' offset='1' /%3E%3C/linearGradient%3E%3ClinearGradient gradientTransform='matrix(1.9229845,0,0,1.9229845,-9.2288833,-9.2308069)' gradientUnits='userSpaceOnUse' y2='14.322534' x2='6.3946652' y1='7.6276183' x1='12.290775' id='linearGradient4161' xlink:href='%23paint0_linear' /%3E%3C/defs%3E%3Cpath style='fill:url(%23linearGradient4161);fill-opacity:1' id='path3' d='m 18.362098,19.32359 c -0.90188,0.90188 -2.363348,0.90188 -3.263305,0 l -5.097832,-5.826643 -5.0978311,5.82472 c -0.9018797,0.90188 -2.3633479,0.90188 -3.2633047,0 -0.90187984,-0.90188 -0.90187984,-2.363347 0,-3.263304 L 6.9434164,10.000961 1.6379022,3.9397144 c -0.90187974,-0.9018798 -0.90187974,-2.361425 0,-3.26330476 0.9018798,-0.9018797 2.3614249,-0.9018797 3.2633048,0 l 5.099754,5.82856596 5.097832,-5.82856596 c 0.90188,-0.9018797 2.361425,-0.9018797 3.263305,0 0.901879,0.90187976 0.901879,2.36334796 0,3.26330476 l -5.30359,6.0612466 5.30359,6.057402 c 0.901879,0.90188 0.901879,2.363347 0,3.265227 z' /%3E%3C/svg%3E\")}.wf-search .results{overflow:hidden}.wf-search .wf-search-container{margin:auto;display:flex;flex-direction:column;justify-content:flex-end;height:100%;padding:1rem}.wf-search .wf-search-input-container input{margin:auto;display:block;padding:1rem;font-size:2rem;font-weight:600;width:100%;border:1px solid #000;outline:0;background-repeat:no-repeat}.wf-search .wf-keyboard{user-select:none;display:flex;flex-direction:column;flex-shrink:0}.wf-search .wf-keyboard .keyboard-row{margin:auto;display:flex}.wf-search .wf-keyboard .keyboard-key{text-align:center;width:4ch;height:4ch;line-height:1.5;overflow:hidden;user-select:none}.wf-search .wf-keyboard .keyboard-key:last-child{margin-right:0}.wf-search .wf-keyboard .keyboard-key:active{background-color:#00f}.wf-search .wf-keyboard .keyboard-key2x{width:8ch}.wf-search .wf-keyboard .keyboard-key3x{width:12ch}.wf-search .wf-keyboard .keyboard-key_spacebar{width:24ch}",map:void 0,media:void 0})}),{name:"Search",components:{OSK:X,POI:F},computed:a({},j("wf",["language","reset"])),props:{limit:{type:Number,default:-1},showCloseButton:{type:Boolean,default:!1},showOutputField:{type:Boolean,default:!0},showKeyboard:{type:Boolean,default:!0},showNoResultsText:{type:Boolean,default:!0},noResultsText:{type:String,default:"No results"},showLogo:{type:Boolean,default:!1},showName:{type:Boolean,default:!0},showPathButton:{type:Boolean,default:!1},showDescription:{type:Boolean,default:!1},showRoomID:{type:Boolean,default:!1},showFloor:{type:Boolean,default:!1},currentPOI:{type:Object,default:null}},data:function(){return{results:[],poi:{},keyboard:!1}},mounted:function(){var t=this;this.keyboard=new X("wf-search-input","wf-keyboard-container"),this.keyboard.on("change",(function(e){var n=t.$wayfinder.search.search(e);t.limit>0&&(n=n.slice(0,t.limit)),t.results=Object.freeze(Object.values(n)),e.length>1&&(Object.values(t.results).length>0?t.$wayfinder.statistics.onSearch(e,"successful"):t.$wayfinder.statistics.onSearch(e,"unsuccessful"))})),this.keyboard.addLayout("en",{name:"English",keyboard:"US International",local_name:"English",lang:"en",keys:{default:[["1","2","3","4","5","6","7","8","9","0",{key:"Delete",action:["backspace"],cls:"key2x"}],["q","w","e","r","t","y","u","i","o","p"],["a","s","d","f","g","h","j","k","l"],["z","x","c","v","b","n","m"],[{key:" ",cls:"key_spacebar"}]]}}),this.keyboard.changeLayout(this.language)},watch:{searchVisible:function(t){t&&this.$refs.searchInput&&this.$refs.searchInput.focus()},reset:function(){this.resetValues()},language:function(t){this.keyboard&&this.keyboard.changeLayout(t)}},methods:{onClick:function(t){this.$emit("clicked",t),this.$wayfinder.statistics.onClick(t.id,"menu")},close:function(){this.$emit("close"),this.resetValues()},resetValues:function(){this.results=[],this.keyboard&&(this.keyboard.changeLayout(this.language),this.keyboard.clearValue()),this.$refs.searchInput&&(this.$refs.searchInput.value="")},setOutput:function(t){this.keyboard.setOutput(t)},addLayout:function(t,e){this.keyboard.addLayout(t,e)},changeLayout:function(t){this.keyboard.changeLayout(t)}}},undefined,false,undefined,!1,f,void 0,void 0),K=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"tabs",staticClass:"wf-component wf-tabs",class:["wf-tabs-"+t.activeTab,"wf-tabs-index-"+t.activeTabIndex,"wf-tabs-animate-"+t.animate]},[n("div",{ref:"slide",staticClass:"wf-tabs-content"},[t._t("default")],2)])},staticRenderFns:[]},(function(t){t&&t("data-v-7eaad22c_0",{source:".wf-tabs[data-v-7eaad22c]{overflow:hidden;position:relative;width:100%;height:100%}.wf-tabs-content[data-v-7eaad22c]{height:100%;width:auto;display:flex;flex-direction:row;margin-left:0;transform:translateX(0) translateY(0)}.wf-tabs.wf-tabs-animate-vertical .wf-tabs-content[data-v-7eaad22c]{flex-direction:column}.wf-tab[data-v-7eaad22c]{opacity:0;transition:opacity .3s ease-out .5s}.wf-tab.wf-active[data-v-7eaad22c]{opacity:1;transition:opacity .3s ease-in}.wf-tabs.wf-tabs-animate-horizontal .wf-tabs-content[data-v-7eaad22c],.wf-tabs.wf-tabs-animate-vertical .wf-tabs-content[data-v-7eaad22c]{transition:transform .5s ease-in-out .2s}",map:void 0,media:void 0})}),{name:"Tabs",props:{activeTab:"",animate:{type:String,default:"none"}},data:function(){return{tabs:[],activeTabIndex:0,currentTab:null}},created:function(){this.tabs=this.$children},mounted:function(){this.$props.activeTab?this.activate(this.$props.activeTab):console.log("no active tab")},watch:{activeTab:function(t){t&&this.activate(t)}},methods:{activate:function(){for(var t in this.currentTab=null,this.tabs)this.tabs[t].name==this.$props.activeTab?(this.tabs[t].isActive=!0,this.$emit("tabChanged",this.tabs[t]),this.currentTab=this.tabs[t],this.activeTabIndex=t,"vertical"===this.animate?this.$refs.slide.style.transform="translateX(0) translateY(-"+100*t+"%)":this.$refs.slide.style.transform="translateY(0) translateX(-"+100*t+"%)"):this.tabs[t].isActive=!1}}},"data-v-7eaad22c",false,undefined,!1,f,void 0,void 0),J=h({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("section",{staticClass:"wf-component wf-tab",class:{"wf-active":t.isActive}},[t._t("default")],2)},staticRenderFns:[]},(function(t){t&&t("data-v-b8114d98_0",{source:".wf-tab[data-v-b8114d98]{overflow:hidden;flex-grow:1;flex-shrink:0;width:100%}",map:void 0,media:void 0})}),{name:"Tab",props:{name:""},data:function(){return{isActive:!1,isVisible:!0}},created:function(){},methods:{}},"data-v-b8114d98",false,undefined,!1,f,void 0,void 0),tt=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-tab-buttons"},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.mobile&&!t.landscape,expression:"mobile && !landscape"}],staticClass:"wf-item tab-map",class:{active:"map"==t.currentTab},attrs:{"data-translation-element":"map"},on:{click:function(e){return t.switchTab("map")}}}),t._v(" "),n("div",{staticClass:"wf-item tab-topics",class:{active:"groups"==t.currentTab||"group-pois"==t.currentTab},attrs:{"data-translation-element":"topics"},on:{click:function(e){return t.switchTab("groups")}}}),t._v(" "),n("div",{staticClass:"wf-item tab-az",class:{active:"az"==t.currentTab},attrs:{"data-translation-element":"az"},on:{click:function(e){return t.switchTab("az")}}}),t._v(" "),n("div",{staticClass:"wf-item tab-search",class:{active:"search"==t.currentTab},attrs:{"data-translation-element":"search"},on:{click:function(e){return t.switchTab("search")}}})])},staticRenderFns:[]},(function(t){t&&t("data-v-5229b2f8_0",{source:".wf-tab-buttons[data-v-5229b2f8]{display:flex;align-content:stretch;justify-content:space-between}.wf-tab-buttons .wf-item[data-v-5229b2f8]{background-size:auto 30%;background-repeat:no-repeat}",map:void 0,media:void 0})}),{name:"Tabs",computed:a({},j("wf",["currentTab","searchVisible","mobile","landscape","shortcuts","language"])),data:function(){return{toilet:!1,toiletsIcon:!1}},methods:{switchTab:function(t){this.$emit("switchTab",t)}}},"data-v-5229b2f8",false,undefined,!1,f,void 0,void 0),et=Z((function(t){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(t,e){t.exports={create:function(){return[0,0]},clone:function(t){var e=new Array(2);return e[0]=t[0],e[1]=t[1],e},fromValues:function(t,e){var n=new Array(2);return n[0]=t,n[1]=e,n},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t},set:function(t,e,n){return t[0]=e,t[1]=n,t},add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t},sub:function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t},mul:function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t},div:function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t},min:function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t},max:function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t},scale:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t},dist:function(t,e){var n=e[0]-t[0],i=e[1]-t[1];return Math.sqrt(n*n+i*i)},sqrDist:function(t,e){var n=e[0]-t[0],i=e[1]-t[1];return n*n+i*i},len:function(t){var e=t[0],n=t[1];return Math.sqrt(e*e+n*n)},length:function(t){var e=t[0],n=t[1];return Math.sqrt(e*e+n*n)},sqrLen:function(t){var e=t[0],n=t[1];return e*e+n*n},negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},normalize:function(t,e){var n=e[0],i=e[1],o=n*n+i*i;return o>0&&(o=1/Math.sqrt(o),t[0]=e[0]*o,t[1]=e[1]*o),t},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},cross:function(t,e,n){var i=e[0]*n[1]-e[1]*n[0];return t[0]=t[1]=0,t[2]=i,t},lerp:function(t,e,n,i){var o=e[0],a=e[1];return t[0]=o+i*(n[0]-o),t[1]=a+i*(n[1]-a),t},transformMat2:function(t,e,n){var i=e[0],o=e[1];return t[0]=i*n[0]+o*n[1],t[1]=i*n[2]+o*n[3],t},str:function(t){return"this("+t[0]+", "+t[1]+")"}}},function(t,e,n){n.r(e),n.d(e,"ScrollArea",(function(){return r}));var i=n(0),o=n.n(i);class a{constructor(t,e){this.position=o.a.create(),this.contentSize=t,this.viewSize=e,this.contentViewRatio=o.a.div(o.a.create(),this.getViewSize(),this.getContentSize()),this._maxPosition=o.a.create(),this._minPosition=o.a.create(),this._vec2cache=o.a.create()}getViewPosition(){return this.position}getContentPosition(){return this.position}clampPosition(){o.a.max(this._maxPosition,this.getViewSize(),this.getContentSize()),o.a.min(this._minPosition,this.getViewSize(),this.getContentSize()),o.a.sub(this._maxPosition,this._maxPosition,this._minPosition),this.getContentSize()[0]<=this.getViewSize()[0]&&(this._maxPosition[0]=0),this.getContentSize()[1]<=this.getViewSize()[1]&&(this._maxPosition[1]=0),this.position=this.clamp(this.position,o.a.create(),this._maxPosition)}setViewPosition(t){!isNaN(parseFloat(t[0]))&&isFinite(t[0])&&!isNaN(parseFloat(t[1]))&&isFinite(t[1])&&(this.position=t,this.clampPosition())}move(t){t&&this.setViewPosition(o.a.sub(t,this.getViewPosition(),t))}setViewSize(t,e){o.a.set(this.viewSize,t,e),o.a.div(this.contentViewRatio,this.getViewSize(),this.getContentSize()),this.clampPosition()}setContentSize(t,e){o.a.set(this.contentSize,t,e),o.a.div(this.contentViewRatio,this.getViewSize(),this.getContentSize()),this.clampPosition()}isContentLonger(){return this.viewSize[1]<this.contentSize[1]}isContentWider(){return this.viewSize[0]<this.contentSize[0]}getContentSize(){return this.contentSize}getViewSize(){return this.viewSize}clamp(t,e,n){var i=o.a.clone(t);return o.a.max(i,i,e),o.a.min(i,i,n),i}getPercentagePosition(){return o.a.div(o.a.create(),this.position,this.viewSize)}getRelativePosition(){return o.a.sub(this._vec2cache,this.getViewSize(),this.getContentSize()),0!==o.a.len(this._vec2cache)&&o.a.div(this._vec2cache,this.getViewPosition(),o.a.sub(this._vec2cache,this.getViewSize(),this.getContentSize())),this._vec2cache}getContentViewRatio(){return this.contentViewRatio}}class s{constructor(t,e){this.options=e||{},this.vertical="vertical"==this.getOption("direction"),this.position=0,this.mouseDelta=o.a.create(),this.onScroll=!1,this.parentElement=t,this.element=document.createElement("div"),this.element.classList.add("sa-scrollbar"),this.element.classList.add("sa-scrollbar-position-"+this.getOption("scollbarPosition")),this.element.style.position="absolute",this.element.style.right="0",this.element.style.bottom="0",this.vertical?this.element.style.top="0":this.element.style.left="0",this.bar=document.createElement("div"),this.bar.style.minWidth="1px",this.bar.classList.add("sa-bar"),this.element.appendChild(this.bar),t.appendChild(this.element),this.view=new a(o.a.fromValues(this.element.clientWidth,this.element.clientHeight),o.a.fromValues(this.bar.clientWidth,this.bar.clientHeight))}getOption(t){return this.options[t]}attachEvents(t){t.addEventListener("mousedown",(t=>{this.mousedown=!0,t.stopPropagation(),t.preventDefault()})),window.addEventListener("mousemove",(t=>{if(this.mousedown){var e=o.a.fromValues(t.movementX,t.movementY);this.deltaMove=e,this.lastTime=Date.now(),this.getOption("reverse"),this.scroll(e)}})),window.addEventListener("mouseup",(t=>{this.mousedown=!1})),t.addEventListener("touchstart",(t=>{t.touches&&t.touches.length>0&&(this.lastTouch=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY))}),!1),window.addEventListener("touchend",(t=>{this.lastTouch=null}),!1),window.addEventListener("touchcancel",(t=>{this.lastTouch=null}),!1),window.addEventListener("touchmove",(t=>{if(t.touches&&t.touches.length>0){if(this.lastTouch){var e=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY);this.getOption("reverse")?this.scroll(o.a.sub(e,this.lastTouch,e)):this.scroll(o.a.sub(e,e,this.lastTouch))}this.lastTouch=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY)}}),!1)}scroll(t){var e=this;window.requestAnimationFrame((function(){e.view.move(t),t=o.a.clone(e.view.getContentPosition()),e.setPosition(t),e.updateCallback&&"function"==typeof e.updateCallback&&e.updateCallback(me)}))}setPosition(t){var e=1;this.getOption("swapContainers")&&(e=-1),this.bar.style.transform="translate("+t[0]*e+"px,"+t[1]*e+"px)",this.scrolling=!1}clear(){this.position=0,this.setPosition(0)}getBarLength(){return this.vertical?parseInt(Math.ceil(this.bar.clientHeight)):parseInt(Math.ceil(this.bar.clientWidth))}getViewLength(){return this.vertical?this.view.getViewSize()[1]:this.view.getViewSize()[0]}getContentLength(){return this.vertical?this.view.getContentSize()[1]:this.view.getContentSize()[0]}setContentPosition(t){var e=o.a.create(),n=t.getContentViewRatio()[this.vertical?1:0];o.a.scale(e,t.getContentPosition(),n),this.view.setViewPosition(e),this.setPosition(this.view.getContentPosition())}getPercentage(){return o.a.len(this.view.getViewPosition())/this.getViewLength()}resizeContent(t){t?(this.vertical?(this.bar.style.height=Math.floor(t.getViewSize()[1]*t.getContentViewRatio()[1])+"px",this.element.style.height=t.getViewSize()[1]+"px",this.element.style.visibility=t.isContentLonger()?"visible":"hidden"):(this.bar.style.width=Math.floor(t.getViewSize()[0]*t.getContentViewRatio()[0])+"px",this.element.style.width=t.getViewSize()[0]+"px",this.element.style.visibility=t.isContentWider()?"visible":"hidden"),this.resize()):console.warn("View undefined")}resize(){this.getOption("swapContainers")?(this.view.setViewSize(parseInt(this.element.clientWidth),parseInt(this.element.clientHeight)),this.view.setContentSize(parseInt(this.bar.clientWidth),parseInt(this.bar.clientHeight))):(this.view.setViewSize(parseInt(this.bar.clientWidth),parseInt(this.bar.clientHeight)),this.view.setContentSize(parseInt(this.element.clientWidth),parseInt(this.element.clientHeight)))}}class r{constructor(t,e,n){if(this.container=null,this.content=null,this.options={smooth:!0,reverse:!1,swapContainers:!1,updateInterval:10,wheelSpeed:50,scollbarPosition:"right",direction:"vertical"},void 0!==n&&n&&(this.options=this.chooseOptions(this.options,n)),this.setContainer(t),this.events={change:[],layout:[],ready:[]},this.lastTouch=null,this.deltaMove=o.a.create(),this.lastTime=0,this.smoothDistance=null,this.timeout=null,this.smoothCoeficent=o.a.fromValues(11,11),this.positionClassNames=["sa-on-left","sa-on-right","sa-on-top","sa-on-bottom"],this.mousedown=!1,this.touchstart=!1,this._vec2cache=o.a.create(),this.container,this.getOption("swapContainers")?this.view=new a(o.a.fromValues(this.container.clientWidth,this.container.clientHeight),o.a.fromValues(this.content.clientWidth,this.content.clientHeight)):(this.content,this.view=new a(o.a.fromValues(this.content.clientWidth,this.content.clientHeight),o.a.fromValues(this.container.clientWidth,this.container.clientHeight))),this.container.style.position="relative",this.container.style.overflow="hidden",this.container.style.userSelect="none",this.attachEvents(this.container),this.scrollbarV=new s(this.container,{direction:"vertical",scollbarPosition:"right",reverse:this.options.reverse,swapContainers:this.options.swapContainers}),this.scrollbarH=new s(this.container,{direction:"horizontal",scollbarPosition:"bottom",reverse:this.options.reverse}),"undefined"!=typeof ResizeObserver&&this.content){var i=this;this.resizeObserver=new ResizeObserver((function(){i.resize()})),this.resizeObserver.observe(this.content)}this.checkContentPosition()}attachEvents(t){t.addEventListener("mousewheel",(t=>{var e;t.originalEvent&&(t=t.originalEvent),e="wheelDelta"in t?t.wheelDelta<0||t.wheelDelta>0?1:-1:t.deltaY>0||t.deltaY<0?1:-1,this.scroll(o.a.fromValues(0,this.getOption("wheelSpeed")*e))})),t.addEventListener("mousedown",(t=>{this.mousedown=!0,this.lastTime=Date.now(),t.stopPropagation(),t.preventDefault()})),window.addEventListener("mousemove",(t=>{if(this.mousedown){var e=o.a.fromValues(t.movementX,t.movementY);this.deltaMove=e,this.lastTime=Date.now(),this.getOption("reverse"),this.scroll(e)}})),window.addEventListener("mouseup",(t=>{this.onEndDrag(this.deltaMove,Date.now()-this.lastTime),this.mousedown=!1})),t.addEventListener("touchstart",(t=>{t.touches&&t.touches.length>0&&(this.mousedown=!0,this.lastTouch=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY),this.lastTime=Date.now())}),!1),window.addEventListener("touchend",(t=>{this.onEndDrag(o.a.negate(this.deltaMove,this.deltaMove),Date.now()-this.lastTime),this.lastTouch=null,this.mousedown=!1}),!1),window.addEventListener("touchcancel",(t=>{this.onEndDrag(o.a.negate(this.deltaMove,this.deltaMove),Date.now()-this.lastTime),this.lastTouch=null,this.mousedown=!1}),!1),window.addEventListener("touchmove",(t=>{if(t.touches&&t.touches.length>0&&this.mousedown){if(this.lastTouch){var e=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY);this.getOption("reverse")?this.scroll(o.a.sub(e,this.lastTouch,e)):this.scroll(o.a.sub(e,e,this.lastTouch))}this.lastTouch=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY),this.lastTime=Date.now()}}),!1)}onEndDrag(t,e){if(!(e<=0)){var n=o.a.len(t)/e;if(this.getOption("smooth")&&n>.3){var i=o.a.create();o.a.scale(i,t,n),this.getOption("reverse");var a=this;this.stop();var s=o.a.create(),r=function(){o.a.div(s,i,a.smoothCoeficent),o.a.sqrLen(s)>3?(o.a.sub(i,i,s),window.requestAnimationFrame(r),a.scroll(s)):a.scrolling=!1};this.timeout=window.requestAnimationFrame(r)}else this.scrolling=!1}}stop(){this.scrolling=!1}resize(){this.getOption("swapContainers")?(this.view.setViewSize(parseInt(Math.ceil(this.content.clientWidth)),parseInt(Math.ceil(this.content.clientHeight))),this.view.setContentSize(parseInt(this.container.clientWidth),parseInt(Math.ceilthis.container.clientHeight))):(this.view.setViewSize(parseInt(this.container.clientWidth),parseInt(this.container.clientHeight)),this.view.setContentSize(parseInt(Math.ceil(this.content.clientWidth)),parseInt(Math.ceil(this.content.clientHeight)))),this.checkIfScrollIsNeeded(),this.scrollbarV&&this.scrollbarV.resizeContent(this.view),this.scrollbarH&&this.scrollbarH.resizeContent(this.view)}reset(){this.setContentOffset([0,0])}checkIfScrollIsNeeded(){this.view.isContentLonger()?this.container.classList.add("sa-content-longer"):this.container.classList.remove("sa-content-longer"),this.view.isContentWider()?this.container.classList.add("sa-content-wider"):this.container.classList.remove("sa-content-wider")}chooseOptions(t,e){for(var n in e)t[n]&&(t[n]=e[n]);return t}setContainer(t){switch(typeof t){case"undefined":this.container=document.createElement("div"),document.body.appendChild(this.container);break;case"string":this.container=document.getElementById(t);break;default:this.container=t}this.container&&(this.content=this.container.firstElementChild)}getOption(t){return this.options[t]}on(t,e){"object"!=typeof this.events[t]&&(this.events[t]=[]),this.events[t].push(e)}trigger(){let t=Array.prototype.slice.call(arguments);if(t.length>0){let e=t[0];if(t.shift(),this.events[e]){let n;for(let i=0,o=this.events[e].length;i<o;i++)n=this.events[e][i],"function"==typeof n&&n.apply(this,t)}}}scroll(t){var e=this;window.requestAnimationFrame((function(){e.view.move(t),t=o.a.clone(e.view.getContentPosition()),e.setContentOffset(t),e.scrollbarV.setContentPosition(e.view),e.scrollbarH.setContentPosition(e.view),e.updateCallback&&"function"==typeof e.updateCallback&&e.updateCallback(me)}))}smoothScroll(t,e){if(!(e<=0)){var n=o.a.create(),i=o.a.clone(t),a=e,s=Date.now(),r=0,c=this,u=function(){a=Date.now()-s,r=1-Math.pow(1-Math.min(1,a/e),3),o.a.scale(n,i,r),o.a.sub(i,i,n),a<e?(window.requestAnimationFrame(u),o.a.len(i)>0?c.scroll(n):c.scroll(o.a.sub(n,n,i))):(o.a.len(i)>0&&c.scroll(i),c.scrolling=!1)};this.timeout=window.requestAnimationFrame(u)}}setContentOffset(t){var e=-1;this.getOption("swapContainers")&&(e=1),this.content.style.transform="translate("+t[0]*e+"px,"+t[1]*e+"px)",this.scrolling=!1,this.checkContentPosition()}checkContentPosition(){var t=this.view.getRelativePosition(),e=[];0===t[0]&&e.push("sa-on-left"),0===t[1]&&e.push("sa-on-top"),1===Math.abs(t[0])&&e.push("sa-on-right"),1===Math.abs(t[1])&&e.push("sa-on-bottom"),e!==this.positionClassNames&&(this.container.classList.remove(...this.positionClassNames),e&&e.length>0&&this.container.classList.add(...e),this.positionClassNames=e)}scrollToSection(t,e,n,i){let a=o.a.mul(o.a.create(),this.view.getContentSize(),this.view.getContentViewRatio()),s=o.a.scale(o.a.create(),a,t);const r=i||1;0==e?s[1]=0:s[0]=0;let c=o.a.sub(o.a.create(),this.view.getContentPosition(),s);if(n){let t=o.a.len(c)*r;this.smoothScroll(c,t)}else this.scroll(c)}}}]).ScrollArea})),nt=h({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{ref:"area",staticClass:"wf-component wf-scrollable"},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"ScrollableArea",data:function(){return{scroll:null}},updated:function(){var t=this;this.$nextTick((function(){t.scroll&&t.scroll.resize()}))},mounted:function(){var t=this;this.$nextTick((function(){t.scroll||(t.scroll=new et(t.$refs.area))}))},methods:{activate:function(){this.makeScroll()},reset:function(){var t=this;this.$nextTick((function(){t.scroll&&t.scroll.refresh()}))},scrollToSection:function(t,e,n,i){this.scroll.scrollToSection(t,e,n,i)}}},"data-v-2867b1d2",false,undefined,!1,void 0,void 0,void 0),it=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:t.visibilityChanged,expression:"visibilityChanged"}],ref:"frames",staticClass:"wf-component wf-banner"},t._l(t.frames,(function(e,i){return n("div",{key:e.id,staticClass:"wf-frame",class:[{"wf-active":i==t.current},t.frameKeywords]},[t._l(e.containers,(function(i){return n("div",{key:i.id,staticClass:"wf-frame-container",class:[i.containerType],style:{left:i.left+"%",top:i.top+"%",width:i.width+"%",height:i.height+"%",backgroundImage:"url('"+i.url+"')"},on:{click:function(n){return t.onClick(e,i)}}},[t.isVideo(i)?n("video",{attrs:{width:"100%",height:"auto",src:i.url,muted:""},domProps:{muted:!0}}):t._e(),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:i.containerType.indexOf("qr")>-1&&null!=t.qr,expression:"container.containerType.indexOf('qr') > -1 && qr != null"}],staticClass:"wf-qr",class:[i.containerType],domProps:{innerHTML:t._s(t.qr)}})])})),t._v(" "),t._t("default",null,{frame:e})],2)})),0)},staticRenderFns:[]},(function(t){t&&t("data-v-1fcb87ce_0",{source:".wf-banner[data-v-1fcb87ce]{position:relative;width:100%;height:100%}.wf-banner .wf-frame[data-v-1fcb87ce]{width:100%;height:100%;position:absolute;background-size:cover;background-position:50% 50%;background-repeat:no-repeat;left:0;top:0;opacity:0;transition:opacity .5s ease-in-out}.wf-banner .wf-frame .wf-frame-container[data-v-1fcb87ce]{background-size:cover;background-position:50% 50%;background-repeat:no-repeat}.wf-banner .wf-frame.wf-active[data-v-1fcb87ce]{opacity:1;transition:opacity .5s ease-in-out}.wf-banner .wf-frame video[data-v-1fcb87ce]{position:relative;top:50%;transform:translateY(-50%)}",map:void 0,media:void 0})}),{name:"Banner",props:{template:String,container:String,playOnBoot:{type:Boolean,default:!1},qrURL:{type:String,default:"https://3dwayfinder.com"}},computed:a({},j("wf",["banners"])),data:function(){return{frames:[],current:-1,timer:null,fadeDuration:500,backgroundColor:"#fff",visible:!1,qr:null,qrPos:"",displayQR:!1,frameKeywords:[],last:0}},watch:{banners:function(){var t=this,e=Date.now();this.template&&this.container&&this.banners["template-"+this.template]&&this.banners["template-"+this.template][this.container]&&(this.frames=this.banners["template-"+this.template][this.container].filter((function(n){var i=n.enabled;if(i&&n.from_date&&(i=i&&new Date(n.from_date).getTime()<=e),i&&n.to_date&&(i=i&&new Date(n.to_date).getTime()>=e),i)for(var o in n.containers)n.containers[o].url=t.getUrl(n.containers[o]);return i})),this.$emit("hasbanners",this.frames.length>0),this.playOnBoot&&this.$nextTick((function(){this.play()})))},qrURL:function(t){t&&""!==t&&this.renderQR()}},mounted:function(){this.renderQR()},methods:{visibilityChanged:function(t){this.visible=t,t?this.play():this.stop()},play:function(){var t=this;if(!(this.current>=this.frames.length)){this.frames.length>0&&this.next();var e=this.frames[this.current];if(null!=this.timer&&clearTimeout(this.timer),e&&(this.displayQR=!(!e||!e.keywords)&&e.keywords.join(",").indexOf("qr-")>-1,this.frameKeywords=e.keywords.map((function(t){return"keyword-"+t})),this.$refs.frames)){var n=this.$refs.frames.children[this.current];if(n){var i=n.querySelector("video");i&&i.readyState?setTimeout((function(){t.playVideo(i,e.duration)}),0):this.timer=setTimeout(this.play,e.duration)}else this.timer=setTimeout(this.play,e.duration)}}},playVideo:function(t,e){var n=this;t.pause(),t.currentTime=0,t.play().catch((function(i){clearTimeout(n.timer),setTimeout((function(){n.playVideo(t,e)}),300)})),this.timer=setTimeout(this.play,e)},stop:function(){this.timer&&clearTimeout(this.timer)},next:function(){this.current<this.frames.length-1?this.current++:this.current=0},onClick:function(t,e){this.$emit("clicked",t,e)},isImage:function(t){return!(t.type&&"video"===t.type.substr(0,5))},isVideo:function(t){return t.type&&"video"===t.type.substr(0,5)},getUrl:function(t){return WayfinderAPI.advertisements.data.url(t.advertisement_id)},renderQR:function(){var t=this.qrURL,e=require("qrcode-svg");e&&t&&(this.qr=new e({content:t,container:"svg-viewbox",padding:0}).svg())}}},"data-v-1fcb87ce",false,undefined,!1,f,void 0,void 0),ot=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-page-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedPages,(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(page)",arg:"tap"}],key:e.id,staticClass:"wf-list-item",class:{"wf-active":t.currentPage&&e.id==t.currentPage.id},on:{click:function(n){return t.onClick(e)}}},[n("i",{directives:[{name:"show",rawName:"v-show",value:t.showIcon,expression:"showIcon"}],staticClass:"wf-icon",domProps:{innerHTML:t._s(e.icon)}}),t._v(" "),n("label",{directives:[{name:"show",rawName:"v-show",value:t.showName,expression:"showName"}]},[t._v(t._s(t.getName(e)))])])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-1a61779c_0",{source:".wf-list-item[data-v-1a61779c]{list-style:none}",map:void 0,media:void 0})}),{name:"PageMenu",props:{container:{type:String,default:"default"},showIcon:{type:Boolean,default:!1},showName:{type:Boolean,default:!0},currentPage:{type:Object,default:null},sortAZ:{type:Boolean,default:!1}},data:function(){return{count:0}},computed:a(a({},j("wf",["pages","language"])),{},{sortedPages:function(){var t=this,e=[];return this.pages&&"object"==s(this.pages)&&this.pages[this.container]&&(e=Object.values(this.pages[this.container]).filter((function(t){return t&&t.visible})),e=this.sortAZ?e.sort((function(e,n){return t.getName(e)&&t.getName(n)?t.getName(e).localeCompare(t.getName(n)):0})):e.sort((function(t,e){return parseInt(t.order)-parseInt(e.order)}))),this.count=e.length,e}}),methods:{onClick:function(t){var e=this;return function(){e.$emit("clicked",t)}},getName:function(t){return t?t.name[this.language]:""}}},"data-v-1a61779c",false,undefined,!1,f,void 0,void 0),at=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ul",{staticClass:"wf-component wf-alphabet-menu"},t._l(t.alphabet,(function(e){return n("li",{key:e,class:[t.currentChar==e?"wf-active":""],on:{click:function(n){return t.onAZ(e)}}},[t._v(t._s(e))])})),0)},staticRenderFns:[]},(function(t){t&&t("data-v-54232f30_0",{source:".wf-alphabet-menu{list-style:none;padding:0;margin:0}",map:void 0,media:void 0})}),{name:"AlphabetMenu",props:{pois:{type:Array,default:[]},overrideChar:{type:String,default:""},showInMenu:{type:Boolean,default:!0}},data:function(){return{currentChar:"",alphabet:[],poisWithChar:{}}},computed:a({},j("wf",["language"])),watch:{pois:function(){var t,e,n=[];for(var i in this.pois)t=this.pois[i],(!this.showInMenu||t.getShowInMenu())&&t.getName(this.language)&&t.getName(this.language).length>0&&(e=t.getName(this.language)[0].toLowerCase(),-1==n.indexOf(e)&&n.push(e),this.poisWithChar[e]||(this.poisWithChar[e]=[]),this.poisWithChar[e].push(t));n.sort(),this.alphabet=n},overrideChar:function(){this.overrideChar&&""!==this.overrideChar&&(this.currentChar=this.overrideChar)}},methods:{onAZ:function(t){this.currentChar=t,this.$emit("clicked",t,this.poisWithChar[t])}}},undefined,false,undefined,!1,f,void 0,void 0),st=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.page?n("div",{staticClass:"wf-page"},[n("div",{staticClass:"wf-page-icon",class:[t.page.icon?"wf-has-icon":""],domProps:{innerHTML:t._s(t.page.icon)}}),t._v(" "),t.showName?n("label",{staticClass:"wf-page-name",domProps:{innerHTML:t._s(t.pageName||"")}}):t._e(),t._v(" "),n("div",{staticClass:"wf-page-content"},t._l(t.page.items,(function(e,i){return n("div",{key:e.id,class:["wf-page-item-"+i]},[n(t.itemType(e),{tag:"component",attrs:{item:e}})],1)})),0)]):t._e()},staticRenderFns:[]},undefined,{name:"Page",components:{PageHTML:h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.item?n("div",{staticClass:"wf-page-item"},[n("div",{domProps:{innerHTML:t._s(t.item.value[t.language])}})]):t._e()},staticRenderFns:[]},undefined,{name:"html",computed:a({},j("wf",["language"])),props:{item:{type:Object,default:null}}},"data-v-04c2d772",false,undefined,!1,void 0,void 0,void 0)},computed:a(a({},j("wf",["language","pages"])),{},{pageName:function(){return this.page&&this.page.name?this.page.name[this.language]:""}}),props:{container:{type:String,default:"default"},index:{type:Number,default:-1},slug:{type:String,default:null},showName:{type:Boolean,default:!0},playAll:{type:Boolean,default:!1},duration:{type:Number,default:30}},mounted:function(){this.updatePage()},watch:{pages:function(){this.updatePage()},index:function(){this.index>=1&&(this.currentIndex=this.index,this.updatePage())},slug:function(){this.updatePage()}},methods:{updatePage:function(){var t;if(this.pages&&this.pages[this.container])if(console.log("updatePage1",this.page,this.container,this.currentIndex,this.slug),null!=this.slug){for(var e in this.pages[this.container])if((t=this.pages[this.container][e]).slug.toLowerCase()==this.slug.toLowerCase()){console.log("updatePage2",this.page,this.container,this.currentIndex,this.slug),this.page=t;break}}else this.currentIndex>-1&&this.pages[this.container][this.currentIndex]&&(this.page=this.pages[this.container][this.currentIndex])},itemType:function(t){return this.page?"Page"+t.type.toUpperCase():""}},data:function(){return{currentIndex:1,page:null}}},"data-v-168fdeaf",false,undefined,!1,void 0,void 0,void 0),rt=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-browser"},[n("iframe",{attrs:{src:t.currentSRC}})])},staticRenderFns:[]},(function(t){t&&t("data-v-6f07be40_0",{source:".wf-browser,.wf-browser iframe{width:100%;height:100%;border:none}",map:void 0,media:void 0})}),{name:"MapFloors",props:{src:{type:String,default:""}},computed:a({},j("wf",["reset"])),data:function(){return{currentSRC:""}},mounted:function(){this.currentSRC=this.src},watch:{reset:function(t){this.currentSRC=this.src+"?t="+Date.now()}}},undefined,false,undefined,!1,f,void 0,void 0),ct=Object.freeze({__proto__:null,WFMap:m,WFAZMenu:z,WFFlagsMenu:D,WFLanguagesMenu:$,WFGroupsMenu:R,WFGroupPOIsMenu:B,WFBuildingLogo:G,WFShortcutsMenu:V,WFZoomMenu:Y,WFFloorsMenu:U,WFFilteredMenu:H,WFSearch:Q,WFTabs:K,WFTab:J,WFTabButtons:tt,WFScrollableArea:nt,WFBanner:it,WFPageMenu:ot,WFAlphabet:at,WFPOI:F,WFPage:st,WFYAH:W,WFBrowser:rt}),ut={namespaced:!0,state:{floors:[],pois:[],poiGroups:[],loaded:!1,language:"en",languages:[],shortcuts:[],filteredPOIs:[],currentFloor:null,building:null,yahLogo:"",banners:null,landscape:!1,mobile:!1,maxInActivity:30,reset:0,pages:{}},getters:{xLanguage:function(t,e){return void 0!==i.default.prototype.$wayfinder&&(t.language=i.default.prototype.$wayfinder.getLanguage()),t.language},xFloors:function(t){return void 0!==i.default.prototype.$wayfinder&&i.default.prototype.$wayfinder.building&&(t.floors=Object.freeze(Object.assign({},i.default.prototype.$wayfinder.building.getSortedFloors()))),t.floors},xLanguages:function(t){return void 0!==i.default.prototype.$wayfinder&&(t.languages=Object.freeze(Object.values(i.default.prototype.$wayfinder.getLanguages()).reverse())),t.languages},xShortcuts:function(t){if(void 0!==i.default.prototype.$wayfinder){var e=i.default.prototype.$wayfinder.getPOIGroups(),n=[];Object.keys(e).forEach((function(t){parseInt(e[t].showInTopMenu)&&n.push(Object.freeze(e[t]))})),n=(n=n.slice(0,6)).sort((function(t,e){return-(t.order-e.order)})),t.shortcuts=n}return t.shortcuts},xBuilding:function(t){if("undefined"!==i.default.prototype.$wayfinder){var e=Object.assign({},i.default.prototype.$wayfinder.building);t.building=Object.freeze(e)}return t.building},xYahLogo:function(t){void 0!==i.default.prototype.$wayfinder&&(t.yahLogo="url("+WayfinderAPI.getURL("images","get",i.default.prototype.$wayfinder.settings.getInt("kiosk.you-are-here-image",0))+")")},xPOIs:function(t){void 0!==i.default.prototype.$wayfinder&&(t.pois=Object.freeze(i.default.prototype.$wayfinder.poisArray.slice()))},xTopics:function(t){void 0!==i.default.prototype.$wayfinder&&(t.poiGroups=Object.freeze(Object.assign({},i.default.prototype.$wayfinder.poiGroups)))},xBanners:function(t){void 0!==i.default.prototype.$wayfinder&&(t.banners=Object.assign({},i.default.prototype.$wayfinder.getFilteredAdvertisements()))}},mutations:{SET_POI:function(t,e){t.currentPOI=e},SET_TAB:function(t,e){t.currentTab=e},SET_GROUP:function(t,e){t.currentGroup=e},SET_SHOW_SEARCH:function(t,e){t.searchVisible=e},SET_NEW_RESET:function(t){t.reset=t.reset+1,t.currentPOI=!1,t.currentGroup=!1},SET_LANDSCAPE:function(t,e){t.landscape=e},SET_MOBILE:function(t,e){t.mobile=e},SET_INACTIVITY_TIME:function(t,e){t.maxInActivity=e},SET_CURRENT_FLOOR:function(t,e){t.currentFloor=e},SET_FILTERED_POIS:function(t,e){t.filteredPOIs=e},SET_PAGES:function(t,e){t.pages=e},RESET:function(t,e){t.reset=Date.now()}},actions:{SET_CURRENT_POI:function(t,e){t.commit("SET_POI",Object.freeze(e))},SET_CURRENT_TAB:function(t,e){t.commit("SET_TAB",e)},SET_CURRENT_GROUP:function(t,e){t.commit("SET_GROUP",Object.freeze(e))},SHOW_SEARCH:function(t,e){t.commit("SET_SHOW_SEARCH",e)},SET_RESET:function(t){t.commit("SET_NEW_RESET")},SET_LANDSCAPE:function(t,e){t.commit("SET_LANDSCAPE",e)},SET_INACTIVITY_TIME:function(t,e){t.commit("SET_INACTIVITY_TIME",e)},SET_MOBILE:function(t,e){t.commit("SET_MOBILE",e)},SET_CURRENT_FLOOR:function(t,e){t.commit("SET_CURRENT_FLOOR",Object.freeze(e))},SET_FILTERED_POIS:function(t,e){t.commit("SET_FILTERED_POIS",Object.freeze(e))},LOAD_PAGES:function(t){Logistics.getJSON(WayfinderAPI.getURL("pages","getAll",[]),null,(function(e){e&&e.data&&t.commit("SET_PAGES",Object.freeze(e.data))}))},RESET:function(t){t.commit("RESET")}}},lt={init:function(t){t.registerModule("wf",ut),q=t},loadPages:function(){q.dispatch("wf/LOAD_PAGES")}},ht=function(t,e){lt.init(e),t.prototype.$wayfinderApp=lt,Object.entries(ct).forEach((function(e){var n=c(e,2),i=n[0],o=n[1];t.component(i,o)}))},dt=Object.freeze({__proto__:null,default:ht,WFMap:m,WFAZMenu:z,WFFlagsMenu:D,WFLanguagesMenu:$,WFGroupsMenu:R,WFGroupPOIsMenu:B,WFBuildingLogo:G,WFShortcutsMenu:V,WFZoomMenu:Y,WFFloorsMenu:U,WFFilteredMenu:H,WFSearch:Q,WFTabs:K,WFTab:J,WFTabButtons:tt,WFScrollableArea:nt,WFBanner:it,WFPageMenu:ot,WFAlphabet:at,WFPOI:F,WFPage:st,WFYAH:W,WFBrowser:rt});return Object.entries(dt).forEach((function(t){var e=c(t,2),n=e[0],i=e[1];"default"!==n&&(ht[n]=i)})),ht}(Vue);
|
|
7
|
+
function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(C=t)}(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new I(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new C,this._makeLocalGettersCache=Object.create(null);var o=this,a=this.dispatch,s=this.commit;this.dispatch=function(t,e){return a.call(o,t,e)},this.commit=function(t,e,n){return s.call(o,t,e,n)},this.strict=i;var r=this._modules.root.state;E(this,r,[],this._modules.root),M(this,r),n.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:C.config.devtools)&&function(t){v&&(t._devtoolHook=v,v.emit("vuex:init",t),v.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){v.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){v.emit("vuex:action",t,e)}),{prepend:!0}))}(this)},P={state:{configurable:!0}};function S(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function T(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;E(t,n,[],t._modules.root,!0),M(t,n,e)}function M(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,a={};w(o,(function(e,n){a[n]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var s=C.config.silent;C.config.silent=!0,t._vm=new C({data:{$$state:e},computed:a}),C.config.silent=s,t.strict&&function(t){t._vm.$watch((function(){return this._data.$$state}),(function(){}),{deep:!0,sync:!0})}(t),i&&(n&&t._withCommit((function(){i._data.$$state=null})),C.nextTick((function(){return i.$destroy()})))}function E(t,e,n,i,o){var a=!n.length,s=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=i),!a&&!o){var r=x(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){C.set(r,c,i.state)}))}var u=i.context=function(t,e,n){var i=""===e,o={dispatch:i?t.dispatch:function(n,i,o){var a=N(n,i,o),s=a.payload,r=a.options,c=a.type;return r&&r.root||(c=e+c),t.dispatch(c,s)},commit:i?t.commit:function(n,i,o){var a=N(n,i,o),s=a.payload,r=a.options,c=a.type;r&&r.root||(c=e+c),t.commit(c,s,r)}};return Object.defineProperties(o,{getters:{get:i?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach((function(o){if(o.slice(0,i)===e){var a=o.slice(i);Object.defineProperty(n,a,{get:function(){return t.getters[o]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return x(t.state,n)}}}),o}(t,s,n);i.forEachMutation((function(e,n){!function(t,e,n,i){(t._mutations[e]||(t._mutations[e]=[])).push((function(e){n.call(t,i.state,e)}))}(t,s+n,e,u)})),i.forEachAction((function(e,n){var i=e.root?n:s+n,o=e.handler||e;!function(t,e,n,i){(t._actions[e]||(t._actions[e]=[])).push((function(e){var o,a=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return(o=a)&&"function"==typeof o.then||(a=Promise.resolve(a)),t._devtoolHook?a.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):a}))}(t,i,o,u)})),i.forEachGetter((function(e,n){!function(t,e,n,i){if(t._wrappedGetters[e])return;t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)}}(t,s+n,e,u)})),i.forEachChild((function(i,a){E(t,e,n.concat(a),i,o)}))}function x(t,e){return e.reduce((function(t,e){return t[e]}),t)}function N(t,e,n){return y(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}P.state.get=function(){return this._vm._data.$$state},P.state.set=function(t){},O.prototype.commit=function(t,e,n){var i=this,o=N(t,e,n),a=o.type,s=o.payload,r={type:a,payload:s},c=this._mutations[a];c&&(this._withCommit((function(){c.forEach((function(t){t(s)}))})),this._subscribers.slice().forEach((function(t){return t(r,i.state)})))},O.prototype.dispatch=function(t,e){var n=this,i=N(t,e),o=i.type,a=i.payload,s={type:o,payload:a},r=this._actions[o];if(r){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(t){}var c=r.length>1?Promise.all(r.map((function(t){return t(a)}))):r[0](a);return new Promise((function(t,e){c.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(s,n.state)}))}catch(t){}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(s,n.state,t)}))}catch(t){}e(t)}))}))}},O.prototype.subscribe=function(t,e){return S(t,this._subscribers,e)},O.prototype.subscribeAction=function(t,e){return S("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},O.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch((function(){return t(i.state,i.getters)}),e,n)},O.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},O.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),E(this,this.state,t,this._modules.get(t),n.preserveState),M(this,this.state)},O.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=x(e.state,t.slice(0,-1));C.delete(n,t[t.length-1])})),T(this)},O.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},O.prototype.hotUpdate=function(t){this._modules.update(t),T(this,!0)},O.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(O.prototype,P);var L,j=(L=function(t,e){var n,i={};return(n=e,function(t){return Array.isArray(t)||y(t)}(n)?Array.isArray(n)?n.map((function(t){return{key:t,val:t}})):Object.keys(n).map((function(t){return{key:t,val:n[t]}})):[]).forEach((function(e){var n=e.key,o=e.val;i[n]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=function(t,e,n){return t._modulesNamespaceMap[n]}(this.$store,0,t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"==typeof o?o.call(this,e,n):e[o]},i[n].vuex=!0})),i},function(t,e){return"string"!=typeof t?(e=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),L(t,e)});var F=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.poi?n("div",{staticClass:"wf-poi"},[t.showLogo?n("div",{staticClass:"wf-poi-image",class:[t.isImage()],style:{"background-image":t.getImage()}}):t._e(),t._v(" "),t.showName?n("div",{staticClass:"wf-poi-name",domProps:{innerHTML:t._s(t.poi.getName(t.language)||"POI")}}):t._e(),t._v(" "),t.showPathButton?n("div",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.showPath,expression:"showPath",arg:"tap"}],staticClass:"wf-show-path"},[n("button",[n("label",{attrs:{"data-translation-element":"show_path"}},[t._v(t._s(t.show_path))]),t._v(" "),n("i")])]):t._e(),t._v(" "),t.showDescription?n("div",{staticClass:"wf-poi-description",domProps:{innerHTML:t._s(t.poi.getDescription(t.language)||"")}}):t._e(),t._v(" "),t.showRoomID?n("div",{staticClass:"wf-poi-room_id",domProps:{innerHTML:t._s(t.poi.room_id||"")}}):t._e(),t._v(" "),t.showFloor&&t.poi.getFloor()?n("div",{staticClass:"wf-poi-floor",domProps:{innerHTML:t._s(t.poi.getFloor().getName(t.language)||"")}}):t._e()]):t._e()},staticRenderFns:[]},(function(t){t&&t("data-v-658b6c14_0",{source:".layout-view[data-v-658b6c14]{display:flex;flex-direction:column;justify-content:space-between;height:100%}.poi-info[data-v-658b6c14]{padding:1rem}.poi-info h2[data-v-658b6c14]{text-align:center;margin-top:1.5rem;margin-bottom:1.5rem}.poi-body[data-v-658b6c14]{box-shadow:0 -2px 1px 0 rgba(0,0,0,.05);padding:1rem;flex-grow:1}.poi-image[data-v-658b6c14]{height:14rem;width:100%;background-position:50% 50%;background-size:contain;background-repeat:no-repeat}.poi-image.image-background[data-v-658b6c14]{background-size:cover}.show-path[data-v-658b6c14]{bottom:1rem;right:1rem;text-transform:uppercase;z-index:10;line-height:2.8rem;margin-bottom:1.5rem}.show-path button[data-v-658b6c14]{height:3rem;font-size:1.2rem;line-height:2.8rem;padding-left:2.5rem;padding-right:2.5rem;margin:auto;border:0;display:block}.poi-description[data-v-658b6c14]{line-height:1.2}.poi-contact .address[data-v-658b6c14]{font-weight:600;margin-bottom:.5rem}.poi-contact .address span[data-v-658b6c14]{padding-top:4px;vertical-align:top;display:inline-block}.poi-contact .address a[data-v-658b6c14]{text-decoration:none;display:block;line-height:1.5}.poi-contact .address .icon[data-v-658b6c14]:before{mix-blend-mode:initial;color:#fff}",map:void 0,media:void 0})}),{name:"POI",computed:a(a({},j("wf",["language"])),{},{hasShowPathListener:function(){return!(!this.$listeners||!this.$listeners.showPath)}}),props:{poi:{type:Object,default:null},showLogo:{type:Boolean,default:!1},showName:{type:Boolean,default:!0},showPathButton:{type:Boolean,default:!1},showDescription:{type:Boolean,default:!1},showRoomID:{type:Boolean,default:!1},showFloor:{type:Boolean,default:!1}},watch:{language:function(){this.$wayfinder&&(this.show_path=this.$wayfinder.translator.get("show_path"))}},methods:{showPath:function(){this.poi&&(this.hasShowPathListener?this.$emit("showPath",this.poi):this.$wayfinder.showPath(this.poi.getNode(),this.poi))},open:function(t){t&&this.poi[t]&&("shop_email"===t?window.open("mailto:"+this.poi[t],"_system"):"shop_phone"===t?window.open("tel:"+this.poi[t],"_system"):window.open(this.poi[t],"_system"))},getImage:function(){return this.poi.getBackgroundUrl()?'url("'+this.poi.getBackgroundUrl()+'")':!!this.poi.getIconUrl()&&'url("'+this.poi.getIconUrl()+'")'},isImage:function(){return this.poi.getBackgroundUrl()?"image-background":this.poi.getIconUrl()?"image-logo":"image-none"},truncate:function(t,e){return t&&t.length>e?t.substring(0,e)+"...":t}},data:function(){return{show_path:"Show Path"}}},"data-v-658b6c14",false,undefined,!1,f,void 0,void 0),z=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-az-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedPOIs,(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(poiitem)",arg:"tap"}],key:e.id,staticClass:"wf-list-item",class:{"wf-active":t.currentPOI&&e.id==t.currentPOI.id},on:{click:function(n){return t.onClick(e)}}},[t._t("default",(function(){return[n("POI",{attrs:{poi:e,showLogo:t.showLogo,showName:t.showName,showPathButton:t.showPathButton,showDescription:t.showDescription,showRoomID:t.showRoomID,showFloor:t.showFloor}})]}),{poi:e})],2)})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-17afa634_0",{source:".wf-list-item[data-v-17afa634]{list-style:none}",map:void 0,media:void 0})}),{name:"AZMenu",components:{POI:F},props:{showLogo:{type:Boolean,default:!1},showName:{type:Boolean,default:!0},showPathButton:{type:Boolean,default:!1},showDescription:{type:Boolean,default:!1},showRoomID:{type:Boolean,default:!1},showFloor:{type:Boolean,default:!1},currentPOI:{type:Object,default:null}},data:function(){return{count:0}},computed:a(a({},j("wf",["pois","language"])),{},{sortedPOIs:function(){var t=this,e=this.pois.slice().filter((function(t){return t&&t.getShowInMenu()}));return e=e.sort((function(e,n){return e.getName(t.language)&&n.getName(t.language)?e.getName(t.language).localeCompare(n.getName(t.language)):0})),this.count=e.length,e}}),methods:{onClick:function(t){var e=this;return function(){e.$emit("clicked",t),e.$wayfinder.statistics.onClick(t.id,"menu")}}}},"data-v-17afa634",false,undefined,!1,f,void 0,void 0),D=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-languages-container",class:[t.active?"wf-active":""]},[t.showTitle?n("div",{staticClass:"wf-languages-container-select"},[t._v("Select language")]):t._e(),t._v(" "),n("div",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.languages,(function(e){return n("div",{key:e.getName(),class:["item","language","lang-"+e.getName(),{active:e.getName()==t.language,display:t.active}],on:{click:function(n){return t.changeLanguage(e)}}},[t.showFlag?n("div",{staticClass:"wf-flag",style:{backgroundImage:"url("+t.getFlagImage(e.flagImage)+")"}}):t._e(),t._v(" "),"code"==t.labelType?n("label",[t._v(t._s(e.getName()))]):t._e(),t._v(" "),"native"==t.labelType?n("label",[t._v(t._s(e.getNativeName()))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-64144cc4_0",{source:".languages-container.active[data-v-64144cc4]{height:fit-content;z-index:10}.languages-container.active .languages-container-select[data-v-64144cc4]{visibility:initial;opacity:1}.languages-container .languages-container-select[data-v-64144cc4]{opacity:0;padding-bottom:.5rem;margin:auto;text-align:center;transition:opacity .2s ease-in;overflow:hidden;height:1.5rem;font-size:1rem}.languages-container .language .flag[data-v-64144cc4]{width:70%;height:100%;background-size:cover;background-position:50%;background-repeat:no-repeat}.languages-container .language .active[data-v-64144cc4]{height:3.5rem;margin-bottom:1rem}.languages-container .language .display[data-v-64144cc4]{height:3.5rem;margin-bottom:1.5rem}",map:void 0,media:void 0})}),{name:"FlagsMenu",computed:a(a({},j("wf",["languages","language","reset"])),{},{count:function(){return this.languages.length}}),props:{showTitle:{type:Boolean,default:!0},showFlag:{type:Boolean,default:!0},labelType:{type:String,default:"none"}},data:function(){return{active:!1}},methods:{changeLanguage:function(t){this.$wayfinder.setLanguage(t.name),this.$emit("changeLanguage",t)},getFlagImage:function(t){return WayfinderAPI.getURL("images","thumbnail",[t])}},watch:{reset:function(){this.active=!1}}},"data-v-64144cc4",false,undefined,!1,f,void 0,void 0),$=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-languages-menu",class:{"wf-active":t.active}},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count,t.active?"wf-active":""]},t._l(t.languages,(function(e){return n("li",{directives:[{name:"show",rawName:"v-show",value:!(t.hideActive&&e.getName()==t.language),expression:"!(hideActive && lang.getName() == language)"}],key:e.getName(),staticClass:"wf-list-item wf-language",class:["wf-lang-"+e.getName(),{"wf-active":e.getName()==t.language,"wf-display":t.active}],on:{click:function(n){return t.changeLanguage(e)}}},[t.showFlag?n("div",{staticClass:"wf-lang-flag",style:{backgroundImage:"url("+t.getFlagImage(e.flagImage)+")"}}):t._e(),t._v(" "),"code"==t.labelType?n("label",[t._v(t._s(e.getName()))]):t._e(),t._v(" "),"native"==t.labelType?n("label",[t._v(t._s(e.getNativeName()))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-2b86d0a6_0",{source:".wf-languages-menu.active[data-v-2b86d0a6]{height:fit-content;z-index:10}.wf-languages-menu.active .wf-languages-title[data-v-2b86d0a6]{visibility:initial;opacity:1}.wf-languages-menu .wf-languages-title[data-v-2b86d0a6]{opacity:0;padding-bottom:.5rem;margin:auto;text-align:center;transition:opacity .2s ease-in;overflow:hidden}.wf-languages-menu .wf-language .wf-lang-flag[data-v-2b86d0a6]{width:70%;height:100%;background-size:cover;background-position:50%;background-repeat:no-repeat}.wf-languages-menu .wf-language .wf-active[data-v-2b86d0a6]{height:3.5rem;margin-bottom:1rem}.wf-languages-menu .wf-language .wf-display[data-v-2b86d0a6]{height:3.5rem;margin-bottom:1.5rem}",map:void 0,media:void 0})}),{name:"LanguagesMenu",computed:a(a({},j("wf",["languages","language","reset"])),{},{count:function(){return this.languages.length}}),props:{showTitle:{type:Boolean,default:!1},showFlag:{type:Boolean,default:!0},labelType:{type:String,default:"none"},hideActive:{type:Boolean,default:!1},title:{type:String,default:"Select language"}},data:function(){return{active:!1}},methods:{changeLanguage:function(t){this.$listeners&&this.$listeners.changeLanguage?this.$emit("change",t):this.$wayfinder.setLanguage(t.name)},getFlagImage:function(t){return WayfinderAPI.getURL("images","thumbnail",[t])}},watch:{reset:function(){this.active=!1}}},"data-v-2b86d0a6",false,undefined,!1,f,void 0,void 0),A=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.group?n("div",{staticClass:"wf-group",class:[t.hasImage()]},[n("label",{staticClass:"wf-name",domProps:{innerHTML:t._s(t.group.getName(t.language))}}),t._v(" "),t.showPOICount?n("label",{staticClass:"wf-poi-count"},[t._v(t._s(t.group.pois.length))]):t._e(),t._v(" "),t.showIcon?n("img",{staticClass:"wf-group-icon",attrs:{src:t.group.getIconUrl()}}):t._e()]):t._e()},staticRenderFns:[]},undefined,{name:"Group",computed:a({},j("wf",["language"])),props:{group:{type:Object,default:null},showIcon:{type:Boolean,default:!1},showPOICount:{type:Boolean,default:!1}},watch:{language:function(){wayfinder&&(this.show_path=this.$wayfinder.translator.get("show_path"))}},methods:{hasImage:function(){return this.group.getIconUrl()?"wf-has-icon":"wf-icon-none"}}},"data-v-077cd362",false,undefined,!1,void 0,void 0,void 0),R=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-groups-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},[t._t("prepend"),t._v(" "),t._l(t.sortedGroups,(function(e){return n("li",{key:e.id,staticClass:"wf-list-item",class:{active:t.current&&e.id==t.current.id}},[n("div",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(topic)",arg:"tap"}],staticClass:"wf-item-content"},[t._t("default",(function(){return[n("Group",{attrs:{group:e,showIcon:t.showIcon,showPOICount:t.showPOICount}})]}),{group:e})],2),t._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.current&&e.id==t.current.id&&t.subGroups(e.childGroups).length>0,expression:"current && topic.id == current.id && subGroups(topic.childGroups).length > 0"}]},[n("SubGroupMenu",{attrs:{parent:parseInt(e.id),showPOICount:t.showPOICount,az:t.az,order:t.order,showIcon:t.showIcon,showPOIs:t.showPOIs,sortPOIs:t.sortPOIs},on:{poiClicked:t.onSubPOICLick}})],1),t._v(" "),e.pois.length>0&&t.showPOIs?n("ul",{directives:[{name:"show",rawName:"v-show",value:t.current&&e.id==t.current.id,expression:"current && topic.id == current.id"}],staticClass:"wf-list wf-sublist"},t._l(t.sortedPOIs(e.pois),(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onPOICLick(e),expression:"onPOICLick(poi)",arg:"tap"}],key:e.id,staticClass:"wf-list-item"},[t._t("poi",(function(){return[n("POI",{attrs:{poi:e,showLogo:t.showPOILogo,showName:t.showPOIName,showPathButton:t.showPOIPathButton,showDescription:t.showPOIDescription,showRoomID:t.showPOIRoomID,showFloor:t.showPOIFloor}})]}),{poi:e})],2)})),0):t._e()])})),t._v(" "),t._t("append")],2)])},staticRenderFns:[]},(function(t){t&&t("data-v-2309385c_0",{source:".wf-groups-menu .wf-list-item[data-v-2309385c]{list-style:none}.wf-groups-menu .wf-list[data-v-2309385c]{margin:0;padding:0}",map:void 0,media:void 0})}),{name:"GroupsMenu",components:{Group:A,POI:F,SubGroupMenu:h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-groups-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedGroups,(function(e){return n("li",{key:e.id,staticClass:"wf-list-item",class:{active:t.current&&e.id==t.current.id}},[n("div",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(topic)",arg:"tap"}],staticClass:"wf-item-content"},[t._t("default",(function(){return[n("Group",{attrs:{group:e,showIcon:t.showIcon,showPOICount:t.showPOICount}})]}),{group:e})],2),t._v(" "),e.pois.length>0&&t.showPOIs?n("ul",{directives:[{name:"show",rawName:"v-show",value:t.current&&e.id==t.current.id,expression:"current && topic.id == current.id"}],staticClass:"wf-list wf-sublist"},t._l(t.sortedPOIs(e.pois),(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onPOICLick(e),expression:"onPOICLick(poi)",arg:"tap"}],key:e.id,staticClass:"wf-list-item"},[t._t("poi",(function(){return[n("POI",{attrs:{poi:e,showLogo:t.showPOILogo,showName:t.showPOIName,showPathButton:t.showPOIPathButton,showDescription:t.showPOIDescription,showRoomID:t.showPOIRoomID,showFloor:t.showPOIFloor}})]}),{poi:e})],2)})),0):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-0287fc8b_0",{source:".wf-groups-menu .wf-list-item[data-v-0287fc8b]{list-style:none}.wf-groups-menu .wf-list[data-v-0287fc8b]{margin:0;padding:0}",map:void 0,media:void 0})}),{name:"GroupsMenu",components:{Group:A,POI:F},props:{parent:{type:Number,default:-1},showPOICount:{type:Boolean,default:!1},az:{type:Boolean,default:!1},order:{type:Boolean,default:!1},showIcon:{type:Boolean,default:!1},showSubGroups:{type:Boolean,default:!0},showPOIs:{type:Boolean,default:!1},showPOILogo:{type:Boolean,default:!1},showPOIName:{type:Boolean,default:!0},showPOIPathButton:{type:Boolean,default:!1},showPOIDescription:{type:Boolean,default:!1},showPOIRoomID:{type:Boolean,default:!1},showPOIFloor:{type:Boolean,default:!1},openGroup:{type:Boolean,default:!0},sortPOIs:{type:Boolean,default:!0}},data:function(){return{current:null,count:0}},computed:a(a({},j("wf",["poiGroups","currentGroup","language"])),{},{sortedGroups:function(){var t,e=this,n=[],i=this.poiGroups;for(var o in i)(t=i[o])&&t.getShowInMenu()&&t.getName(this.language)&&(this.parent>-1&&parseInt(t.parent_id)==this.parent||-1===this.parent&&null===t.parent_id)&&n.push(t);return this.az?n=n.sort((function(t,n){return t&&t.getName(e.language)&&n&&n.getName(e.language)?t.getName(e.language).localeCompare(n.getName(e.language),e.language,{sensitivity:"accent"}):0})):this.order&&(n=n.sort((function(t,e){return t&&e?t.order-e.order:0}))),this.count=n.length,n}}),watch:{currentGroup:function(){this.current=this.currentGroup}},methods:{onClick:function(t){var e=this;return function(){e.current==t?e.current=null:e.current=t,e.$emit("clicked",t)}},onPOICLick:function(t){var e=this;return function(){console.log("onPOICLick01",t),e.$emit("poiClicked",t)}},reset:function(){this.$store.dispatch("wf/SET_CURRENT_GROUP",null)},subGroups:function(t){if(t){var e,n=[];for(var i in t)e=parseInt(t[i]),this.poiGroups[e]&&this.poiGroups[e].getShowInMenu()&&n.push(this.poiGroups[e]);return n}return[]},sortedPOIs:function(t){var e=this,n=t.slice().filter((function(t){return t&&t.getShowInMenu()}));return this.sortPOIs?n=n.sort((function(t,n){return t.getName(e.language)&&n.getName(e.language)?t.getName(e.language).localeCompare(n.getName(e.language)):0})):n}}},"data-v-0287fc8b",false,undefined,!1,f,void 0,void 0)},props:{parent:{type:Number,default:-1},showPOICount:{type:Boolean,default:!1},az:{type:Boolean,default:!1},order:{type:Boolean,default:!1},showIcon:{type:Boolean,default:!1},showSubGroups:{type:Boolean,default:!0},showPOIs:{type:Boolean,default:!1},showPOILogo:{type:Boolean,default:!1},showPOIName:{type:Boolean,default:!0},showPOIPathButton:{type:Boolean,default:!1},showPOIDescription:{type:Boolean,default:!1},showPOIRoomID:{type:Boolean,default:!1},showPOIFloor:{type:Boolean,default:!1},openGroup:{type:Boolean,default:!0},sortPOIs:{type:Boolean,default:!0}},data:function(){return{current:null,count:0}},computed:a(a({},j("wf",["poiGroups","currentGroup","language"])),{},{sortedGroups:function(){var t,e=this,n=[],i=this.poiGroups;for(var o in i)(t=i[o])&&t.getShowInMenu()&&t.getName(this.language)&&(this.parent>-1&&parseInt(t.parent_id)==this.parent?n.push(t):-1!==this.parent||null!==t.parent_id&&0!=t.parent_id||n.push(t));return this.az?n=n.sort((function(t,n){return t&&t.getName(e.language)&&n&&n.getName(e.language)?t.getName(e.language).localeCompare(n.getName(e.language),e.language,{sensitivity:"accent"}):0})):this.order&&(n=n.sort((function(t,e){return t&&e?t.order-e.order:0}))),this.count=n.length,n}}),watch:{currentGroup:function(){this.current=this.currentGroup}},methods:{onClick:function(t){var e=this;return function(){e.current==t?e.current=null:e.current=t,e.$emit("clicked",t)}},onPOICLick:function(t){var e=this;return function(){e.$emit("poiClicked",t)}},onSubPOICLick:function(t){this.$emit("poiClicked",t)},reset:function(){this.$store.dispatch("wf/SET_CURRENT_GROUP",null)},subGroups:function(t){if(t){var e,n=[];for(var i in t)e=parseInt(t[i]),this.poiGroups[e]&&this.poiGroups[e].getShowInMenu()&&n.push(this.poiGroups[e]);return n}return[]},sortedPOIs:function(t){var e=this,n=t.slice().filter((function(t){return t&&t.getShowInMenu()}));return this.sortPOIs?n=n.sort((function(t,n){return t.getName(e.language)&&n.getName(e.language)?t.getName(e.language).localeCompare(n.getName(e.language)):0})):n}}},"data-v-2309385c",false,undefined,!1,f,void 0,void 0),B=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-group-pois-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},[n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.back(),expression:"back()",arg:"tap"}],staticClass:"wf-list-item wf-list-header"},[t._v(t._s(t.currentGroupName))]),t._v(" "),t._l(t.getPOIs,(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(poi)",arg:"tap"}],key:e.id,staticClass:"wf-list-item",class:{"wf-active":t.currentPOI&&e.id==t.currentPOI.id},domProps:{innerHTML:t._s(e.getName(t.language))}})}))],2)])},staticRenderFns:[]},(function(t){t&&t("data-v-14d8d75e_0",{source:".wf-group-pois-menu[data-v-14d8d75e]{overflow:hidden;user-select:none}.wf-group-pois-menu .wf-list[data-v-14d8d75e]{margin:0;padding:0}.wf-group-pois-menu .list-item[data-v-14d8d75e]{list-style:none;padding:1em}",map:void 0,media:void 0})}),{name:"GroupPOIsMenu",props:{group:{type:Object,default:null},currentPOI:{type:Object,default:null}},data:function(){return{count:0}},computed:a(a({},j("wf",["language"])),{},{getPOIs:function(){var t=this;if(this.group&&this.group.pois){var e=this.group.pois.slice(0);return e=e.filter((function(t){return t.getShowInMenu()})),this.count=e.length,e.sort((function(e,n){return e.getName(t.language).localeCompare(n.getName(t.language))}))}return this.count=0,[]},currentGroupName:function(){return this.group?this.group.getName(this.language):""}}),methods:{onClick:function(t){var e=this;return function(){e.$emit("clicked",t)}},back:function(){var t=this;return function(){t.$emit("back")}}}},"data-v-14d8d75e",false,undefined,!1,f,void 0,void 0),G=h({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"wf-component wf-building-logo",style:{"background-image":t.getLogo()}})},staticRenderFns:[]},(function(t){t&&t("data-v-38faefb4_0",{source:".wf-building-logo[data-v-38faefb4]{background-size:contain;background-repeat:no-repeat;background-position:50%}",map:void 0,media:void 0})}),{name:"BuildingLogo",computed:a({},j("wf",["building"])),methods:{getLogo:function(){if(this.building&&this.building.logoID)return"url("+WayfinderAPI.getURL("images","get",this.building.logoID)+")"}}},"data-v-38faefb4",false,undefined,!1,f,void 0,void 0),W=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{staticClass:"wf-component wf-yah",on:{click:function(e){return t.onClicked()}}},[n("i",{staticClass:"wf-icon",style:{"background-image":t.yahLogo}}),t._v(" "),n("label",{attrs:{"data-translation-element":"yah"}},[t._v("YAH")])])},staticRenderFns:[]},(function(t){t&&t("data-v-0e28d1b6_0",{source:".wf-yah[data-v-0e28d1b6]{text-align:center;border:none;outline:0}.wf-icon[data-v-0e28d1b6]{width:100%;height:100%;display:block;background-repeat:no-repeat;background-position:50%;background-size:contain;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iOTQiIGhlaWdodD0iMTI4IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6Y2M9Imh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL25zIyIgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogPG1ldGFkYXRhPgogIDxyZGY6UkRGPgogICA8Y2M6V29yayByZGY6YWJvdXQ9IiI+CiAgICA8ZGM6Zm9ybWF0PmltYWdlL3N2Zyt4bWw8L2RjOmZvcm1hdD4KICAgIDxkYzp0eXBlIHJkZjpyZXNvdXJjZT0iaHR0cDovL3B1cmwub3JnL2RjL2RjbWl0eXBlL1N0aWxsSW1hZ2UiLz4KICAgIDxkYzp0aXRsZS8+CiAgIDwvY2M6V29yaz4KICA8L3JkZjpSREY+CiA8L21ldGFkYXRhPgogPHBhdGggZD0ibTQ2Ljk3NyAxMjYuNjRjLTAuMjgzMDMtMC42ODc1LTYuMTYzMS02LjQzNzctMTAuMzc0LTExLjY2My0yNC45NDctMzMuMTIyLTUyLjc2MS02My44OTgtMjAuMjgzLTEwMS4zIDE0LjM4MS0xMy44OTQgMzIuMTEzLTE0LjY4NiA1MC4zNDMtOC4yMTAxIDUxLjMzIDI5LjcwMiAxNC4xNjYgNzguMTU1LTEwLjIzNSAxMTAuMDFsLTkuNDUwMSAxMS4xNjN6bTE1LjQ0LTUwLjc3MWMzNC4yMzctMjQuNDg1IDcuNzY4LTcxLjYzMy0yOS44NDgtNTUuOTU5LTEwLjk4NCA1Ljg1NjktMTYuNDM0IDE2LjA0OC0xNi42MjUgMjguMDY4LTAuNTI0NSAxMS42OTMgNS42ODU0IDIxLjQ3MSAxNS41MjYgMjcuNDYxIDcuMDU1NSAzLjg0MDEgMTAuMTU3IDQuNTMzNyAxOC4xNDYgNC4wNTc3IDUuMTc3Ni0wLjMwODUyIDguMTYxMS0xLjE1MzggMTIuODAxLTMuNjI3MXoiIGZpbGw9IiNjNjQyNDIiIGZpbGwtb3BhY2l0eT0iLjk4ODI0Ii8+CiA8cGF0aCB0cmFuc2Zvcm09Im1hdHJpeCguODc4MjkgMCAwIDEuMDUxOSAuNTU0NzQgLTYuOTk1MykiIGQ9Im00MS42ODIgODkuODkxYTUxLjIyMyA0MS43NTQgMCAxIDEgMS4yNzY2IDAuMjA4MDkiIGZpbGw9IiNjNjQyNDIiIGZpbGwtb3BhY2l0eT0iLjk4ODI0Ii8+CiA8cGF0aCB0cmFuc2Zvcm09InRyYW5zbGF0ZSguNjQ1MzUpIiBkPSJtNDMuNjMxIDY5LjEyOWEyNi4wMTEgMjAuOTkxIDAgMSAxIDAuNjQ4MjYgMC4xMDQ2MSIgZmlsbC1vcGFjaXR5PSIwIiBvcGFjaXR5PSIuMzQwMTYiLz4KIDxwYXRoIHRyYW5zZm9ybT0idHJhbnNsYXRlKC42NDUzNSkiIGQ9Im0zMS44OTIgMTE0LjI4YTE2LjY1NiAxMS43NSAwIDEgMSAwLjQxNTExIDAuMDU4NiIgZmlsbC1vcGFjaXR5PSIwIi8+CiA8cGF0aCB0cmFuc2Zvcm09Im1hdHJpeCguOTcwMiAwIDAgMS4wMjcyIC00LjA1ODggLTUuNzUwNCkiIGQ9Im00NS41MjEgODQuODI0YTM0LjQ1MyAzMy41NCAwIDEgMSAwLjg1ODY2IDAuMTY3MTYiIGZpbGw9IiNiNzJjMmMiLz4KIDxwYXRoIHRyYW5zZm9ybT0ibWF0cml4KC42NDYzIDAgMCAuNjE2ODEgNS4xMjYxIDQuOTAxNCkiIGQ9Im01Ny4wNzkgMTA0LjYxYTM0LjIwMyAzNi42MjMgMCAxIDEgMC44NTI0NCAwLjE4MjUyIiBmaWxsPSIjZmZmIi8+Cjwvc3ZnPgo=)}",map:void 0,media:void 0})}),{name:"YAH",computed:a({},j("wf",["yahLogo","language"])),methods:{onClicked:function(){this.$wayfinder.showKiosk()}}},"data-v-0e28d1b6",false,undefined,!1,f,void 0,void 0),V=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-shortcuts-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedShortcuts,(function(e){return n("li",{key:e.getID(),staticClass:"wf-list-item wf-shortcut",class:["wf-shortcut-"+e.getID()],on:{click:function(n){return t.showShortcut(e)}}},[t.showIcon?n("img",{staticClass:"wf-icon",attrs:{src:t.getImage(e.imageID)}}):t._e(),t._v(" "),t.showLabel?n("label",[t._v(t._s(e.getName(t.language)))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-519f278a_0",{source:".shortcuts-container[data-v-519f278a]{display:flex;flex-wrap:wrap-reverse;align-content:stretch;justify-content:space-between;margin-bottom:.1rem;flex-direction:row}.shortcuts-container.map-shortcuts[data-v-519f278a]{position:absolute;left:.5rem;bottom:15%;top:15%;flex-direction:column;justify-content:center}",map:void 0,media:void 0})}),{name:"ShortcutsMenu",components:{YAH:W},props:{showLabel:{type:Boolean,default:!0},showPath:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},highlight:{type:Boolean,default:!0},dehighlightOverlay:{type:Boolean,default:!1}},computed:a(a({},j("wf",["shortcuts","language","landscape","mobile"])),{},{sortedShortcuts:function(){var t=this.shortcuts.sort((function(t,e){return 1}));return t},count:function(){return this.shortcuts.length},hasClickedListener:function(){return!(!this.$listeners||!this.$listeners.clicked)}}),methods:{showShortcut:function(t){var e=this.$wayfinder.getNearestPOI(this.$wayfinder.getKiosk(),t.pois);this.hasClickedListener?this.$emit("clicked",e,t):(this.showPath&&"object"===s(e)&&null!=e&&this.$wayfinder.showPath(e.node,e),this.highlight&&(this.$wayfinder.clearDisplaying(),this.$wayfinder.setDisplaying(t.pois)),this.dehighlightOverlay&&this.$wayfinder.setDehighlightOverlay&&this.$wayfinder.setDehighlightOverlay(!0),this.$wayfinder.update())},clear:function(){this.dehighlightOverlay&&this.$wayfinder.setDehighlightOverlay&&this.$wayfinder.setDehighlightOverlay(!1),this.highlight&&this.$wayfinder.clearHighlights(),this.$wayfinder.update()},getImage:function(t){return WayfinderAPI.getURL("images","thumbnail",[t])}}},"data-v-519f278a",false,undefined,!1,f,void 0,void 0),Y=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-zoommenu"},[n("div",{staticClass:"wf-item wf-zoom-in",on:{click:function(e){return t.zoomIn()}}},[t._v("+")]),t._v(" "),n("div",{staticClass:"wf-item wf-zoom-out",on:{click:function(e){return t.zoomOut()}}},[t._v("-")])])},staticRenderFns:[]},undefined,{methods:{zoomIn:function(){this.$wayfinder.zoomIn()},zoomOut:function(){this.$wayfinder.zoomOut()}}},undefined,false,undefined,!1,void 0,void 0,void 0),U=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-floors-menu"},[n("ul",{directives:[{name:"show",rawName:"v-show",value:!(t.hideWhenSingleFloor&&t.floors.length<=1),expression:"!(hideWhenSingleFloor && floors.length <= 1)"}],staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.filteredFloors,(function(e){return n("li",{key:e.id,staticClass:"wf-list-item",class:["wf-lang-"+t.language,"wf-floor-"+e.index,{active:e==t.currentFloor}],on:{click:function(n){return t.changeFloor(e)}}},[n("label",{staticClass:"wf-title"},[t._v(t._s(e.getName(t.language)))]),t._v(" "),t.showPOICount?n("label",{staticClass:"wf-count"},[t._v(t._s(e.pois.length))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-acb9257a_0",{source:".wf-floors-menu .wf-list-item[data-v-acb9257a]{text-overflow:ellipsis;list-style:none}",map:void 0,media:void 0})}),{name:"MapFloors",props:{showPOICount:{type:Boolean,default:!1},currentFloor:{type:Object,default:null},hideWhenSingleFloor:{type:Boolean,default:!0}},data:function(){return{count:0}},computed:a(a({},j("wf",["floors","language"])),{},{filteredFloors:function(){var t,e=[],n=this.floors;for(var i in n)(t=n[i])&&t.getShowInMenu()&&t.getName(this.language)&&e.push(t);return this.count=e.length,e},hasClickedListener:function(){return!(!this.$listeners||!this.$listeners.clicked)}}),methods:{changeFloor:function(t){this.hasClickedListener?this.$emit("clicked",t):this.$wayfinder.showFloor(t)}}},"data-v-acb9257a",false,undefined,!1,f,void 0,void 0),H=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-filteredmenu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedPOIs,(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(poiitem)",arg:"tap"}],key:e.id,staticClass:"wf-list-item",class:{active:t.currentPOI&&e.id==t.currentPOI.id},on:{click:function(n){return t.onClick(e)}}},[t._t("default",(function(){return[n("POI",{attrs:{poi:e,showLogo:t.showLogo,showName:t.showName,showPathButton:t.showPathButton,showDescription:t.showDescription,showRoomID:t.showRoomID,showFloor:t.showFloor}})]}),{poi:e})],2)})),0)])},staticRenderFns:[]},undefined,{name:"FilteredMenu",components:{POI:F},data:function(){return{sortedPOIs:[],count:0}},props:{showLogo:{type:Boolean,default:!1},showName:{type:Boolean,default:!0},showPathButton:{type:Boolean,default:!1},showDescription:{type:Boolean,default:!1},showRoomID:{type:Boolean,default:!1},showFloor:{type:Boolean,default:!1},currentPOI:{type:Object,default:null}},computed:a({},j("wf",["filteredPOIs","language"])),watch:{filteredPOIs:function(t){var e=this,n=t.slice().filter((function(t){return t&&t.getShowInMenu()}));n=n.sort((function(t,n){return t.getName(e.language)&&n.getName(e.language)?t.getName(e.language).localeCompare(n.getName(e.language)):0})),this.count=n.length,this.sortedPOIs=n}},methods:{onClick:function(t){var e=this;return function(){e.$emit("clicked",t),e.$wayfinder.statistics.onClick(t.id,"menu")}}}},"data-v-e2dd64b6",false,undefined,!1,void 0,void 0,void 0);function Z(t,e,n){return t(n={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&n.path)}},n.exports),n.exports}var q,X=Z((function(t){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){n.r(e);class i{constructor(t){this.keyboard=t,this.actions={backspace:function(t,e){e.selectionStart>0&&e.selectionStart==e.selectionEnd?(e.selectionStart--,e.changeValue("")):e.changeValue("")},change_keyset:function(t,e){void 0!==t.action[1]&&(e.keyset=t.action[1],e.clear(),e.construct())},change_layout:function(t,e){void 0!==t.action[1]&&(e.layoutName=t.action[1],e.clear(),e.construct())},submit:function(t,e){void 0!==t.action[1]&&(e.pushtoOutput(),e.clear())}}}activate(t){"function"==typeof this.actions[t.action[0]]&&this.actions[t.action[0]](t,this.keyboard)}addAction(t,e){this.actions[t]=e}}class o{constructor(t,e,n){this.layouts={},this.layoutName=void 0===n?"en":n,this.keyset="default",this.container=!1,this.containerListenerAdded=!1,this.setContainer(e),this.selectionStart=0,this.selectionEnd=0,this.output=!1,this.outputIsInputField=!0,this.value="",this.events={change:[],layout:[],ready:[]},this.actions=new i(this),this.cbOnChange=!1,this.setOutput(t),this.setDefaultLayout(),this.construct()}on(t,e){"object"!=typeof this.events[t]&&(this.events[t]=[]),this.events[t].push(e)}trigger(){let t=Array.prototype.slice.call(arguments);if(t.length>0){let e=t[0];if(t.shift(),this.events[e]){let n;for(let i=0,o=this.events[e].length;i<o;i++)"function"==typeof(n=this.events[e][i])&&n.apply(this,t)}}}addLayout(t,e){this.layouts[t]=e}changeLayout(t,e){this.layoutName=t,this.keyset=e||"default",this.clear(),this.construct(),this.trigger("layout",this.layoutName,this.keyset)}setContainer(t){switch(typeof t){case"undefined":this.container=document.createElement("div"),this.container.classList.add("keyboard"),document.body.appendChild(this.container);break;case"string":this.container=document.getElementById(t);break;default:this.container=t}}setOutput(t){if("string"==typeof t){if(this.output=document.getElementById(t),!this.output)return void console.warn("Input field not found",t);"input"!==this.output.tagName.toLowerCase()&&(this.outputIsInputField=!1)}else this.output=t;this.output&&(this.output.addEventListener("focus",(()=>{this.updateFromOutput()})),this.output.addEventListener("keyup",(()=>{this.updateFromOutput(),this.trigger("change",this.value)})),this.output.addEventListener("mouseup",(()=>{this.updateFromOutput()})),this.output.addEventListener("input",(()=>{this.updateFromOutput()})))}updateFromOutput(){this.outputIsInputField?this.value=this.output.value:this.value=this.output.innerText,this.getCaretPosition()}clear(){if(this.container)for(;this.container.firstChild;)this.container.removeChild(this.container.firstChild)}clearValue(){this.value="",this.selectionStart=0,this.selectionEnd=0}getCurrentKeyset(){try{return this.layouts[this.layoutName].keys[this.keyset]}catch(t){return console.warn("Error! Probably no keyboard layout added!"),this.layouts.en.keys.default}}construct(){this.clear();let t="",e=this.getCurrentKeyset();for(let n in e){t+="<div class='keyboard-row keyboard-row-"+n+"'>";for(let i in e[n]){let o=e[n][i];switch(typeof o){case"string":t+="<div class='keyboard-key "+o+"' row='"+n+"' index='"+i+"'>"+o+"</div>";break;case"object":let e="";o.cls&&(e=o.cls),t+="<div class='keyboard-key keyboard-"+e+" "+o.key+"' object='' row='"+n+"' index='"+i+"'>"+o.key+"</div>"}}t+="</div>"}this.container.insertAdjacentHTML("beforeend",t),this.containerListenerAdded||(this.container.addEventListener("mousedown",(t=>{this.getCaretPosition(),this.keyPressed(t.target),t.stopPropagation(),t.preventDefault()})),this.container.addEventListener("mouseup",(t=>{this.keyReleased(t.target),t.stopPropagation()})),this.containerListenerAdded=!0,this.container.onselectstart=function(){return!1},this.container.onmousedown=function(){return!1}),this.rescale()}rescale(){if(!this.container)return;let t,e,n=0;for(let i=0;i<this.container.children.length;i++){let o=(t=this.container.children[i]).offsetHeight-t.clientHeight,a=t.offsetWidth-t.clientWidth;for(let n=0;n<t.children.length;n++)a+=((e=t.children[n]).offsetWidth<this.container.offsetWidth?e.offsetWidth:this.container.offsetWidth)+1,o=Math.max(o,this.container.offsetHeight);t.width=a,t.height=o,n+=o}this.container.height=n,this.trigger("ready")}keyPressed(t){t.classList.add("keyboard-key-pressed");let e=this.getCurrentKeyset()[t.getAttribute("row")];if(!e)return;let n=e[t.getAttribute("index")];switch(typeof n){case"string":this.changeValue(n);break;case"object":void 0===n.action?this.changeValue(n.key):this.actions.activate(n)}this.pushtoOutput()}changeValue(t){let e=this.value.substring(0,this.selectionStart),n=this.value.substring(this.selectionEnd,this.value.length);this.value=""+e+t+n,this.selectionStart+=t.length,this.selectionEnd=this.selectionStart}pushtoOutput(){if(this.output){this.outputIsInputField?(this.output.value=this.value,this.output.selectionStart=this.selectionStart,this.output.selectionEnd=this.selectionEnd):this.output.innerHTML=this.value;let t=new Event("change"),e=new Event("keyup");this.output.dispatchEvent(t),this.output.dispatchEvent(e),this.trigger("change",this.value)}}getCaretPosition(){this.output&&this.outputIsInputField&&(this.selectionStart=this.output.selectionStart,this.selectionEnd=this.output.selectionEnd)}keyReleased(t){t.classList.remove("keyboard-key-pressed")}width(){return-1}height(){return-1}setDefaultLayout(){this.layouts.en={name:"English",keyboard:"US International",local_name:"English",lang:"en",keys:{default:[["1","2","3","4","5","6","7","8","9","0",{key:"« Bksp",action:["backspace"],cls:"key2x"}],["q","w","e","r","t","y","u","i","o","p","\\"],["a","s","d","f","g","h","j","k","l",{key:"Enter",action:["submit"],cls:"key3x"}],[{key:"Shift",action:["change_keyset","shift"],cls:"key2x"},"z","x","c","v","b","n","m"],[{key:" ",cls:"key_spacebar"}]],shift:[["~","!","@","#","$","%","^","&","*","(",")",{key:"« Bksp",action:"backspace",cls:"key2x"}],["Q","W","E","R","T","Y","U","I","O","P","{","}"],["A","S","D","F","G","H","J","K","L",{key:"Enter",action:["submit"],cls:"key3x"}],[{key:"Shift",action:["change_keyset","default"],cls:"key2x active"},"Z","X","C","V","B","N","M","<",">","?"],[{key:" ",cls:"key_spacebar"}]]}}}}n.d(e,"OSK",(function(){return o})),n.d(e,"OSKActions",(function(){return i}))}]).OSK})),Q=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-search"},[t.showCloseButton?n("div",{staticClass:"wf-close",attrs:{"data-translation-element":"close"},on:{click:function(e){return t.close(e)}}},[t._v("Close")]):t._e(),t._v(" "),n("div",{staticClass:"wf-search-container"},[n("div",{staticClass:"wf-search-results",class:{"wf-no-results":0==t.results.length}},[n("transition-group",{staticClass:"wf-list",attrs:{name:"list",tag:"ul"}},t._l(t.results,(function(e){return e&&e.getShowInMenu()?n("li",{key:e.id,staticClass:"wf-list-item",class:{"wf-active":t.currentPOI&&e.id==t.currentPOI.id},on:{click:function(n){return t.onClick(e)}}},[t._t("default",(function(){return[n("POI",{attrs:{poi:e,showLogo:t.showLogo,showName:t.showName,showPathButton:t.showPathButton,showDescription:t.showDescription,showRoomID:t.showRoomID,showFloor:t.showFloor}})]}),{poi:e})],2):t._e()})),0),t._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:t.showNoResultsText&&0==t.results.length,expression:"showNoResultsText && results.length == 0"}],staticClass:"wf-search-no-results-text"},[t._v(t._s(t.noResultsText))])],1),t._v(" "),t.showOutputField?n("div",{staticClass:"wf-search-input-container"},[n("input",{ref:"searchInput",attrs:{id:"wf-search-input"}})]):t._e(),t._v(" "),t.showKeyboard?n("div",{staticClass:"wf-keyboard",attrs:{id:"wf-keyboard-container"}}):t._e()])])},staticRenderFns:[]},(function(t){t&&t("data-v-902fb4c4_0",{source:".wf-search .wf-close{position:absolute;top:0;right:.5rem;width:10rem;background-color:rgba(255,255,255,.7);background-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8' standalone='no'%3F%3E%3Csvg xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23' xmlns:svg='http://www.w3.org/2000/svg' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' enable-background='new 0 0 20 20' viewBox='0 0 20 20' y='0px' x='0px' id='Cross' version='1.1'%3E%3Cmetadata id='metadata9'%3E%3Crdf:RDF%3E%3Ccc:Work rdf:about=''%3E%3Cdc:format%3Eimage/svg+xml%3C/dc:format%3E%3Cdc:type rdf:resource='http://purl.org/dc/dcmitype/StillImage' /%3E%3Cdc:title%3E%3C/dc:title%3E%3C/cc:Work%3E%3C/rdf:RDF%3E%3C/metadata%3E%3Cdefs id='defs7'%3E%3ClinearGradient spreadMethod='pad' gradientUnits='userSpaceOnUse' y2='29.3118' x2='11.0536' y1='16.0077' x1='24.5509' id='paint1_linear' gradientTransform='translate(-6.9097825,12.894087)'%3E%3Cstop id='stop16' stop-color='%23FF4C54' /%3E%3Cstop id='stop18' stop-color='%23BE3F45' offset='1' /%3E%3C/linearGradient%3E%3ClinearGradient gradientUnits='userSpaceOnUse' y2='34.9828' x2='34.294201' y1='14.605' x1='13.6189' id='paint0_linear'%3E%3Cstop id='stop11' stop-color='%23FF4C54' /%3E%3Cstop id='stop13' stop-color='%23BE3F45' offset='1' /%3E%3C/linearGradient%3E%3ClinearGradient gradientTransform='matrix(1.9229845,0,0,1.9229845,-9.2288833,-9.2308069)' gradientUnits='userSpaceOnUse' y2='14.322534' x2='6.3946652' y1='7.6276183' x1='12.290775' id='linearGradient4161' xlink:href='%23paint0_linear' /%3E%3C/defs%3E%3Cpath style='fill:url(%23linearGradient4161);fill-opacity:1' id='path3' d='m 18.362098,19.32359 c -0.90188,0.90188 -2.363348,0.90188 -3.263305,0 l -5.097832,-5.826643 -5.0978311,5.82472 c -0.9018797,0.90188 -2.3633479,0.90188 -3.2633047,0 -0.90187984,-0.90188 -0.90187984,-2.363347 0,-3.263304 L 6.9434164,10.000961 1.6379022,3.9397144 c -0.90187974,-0.9018798 -0.90187974,-2.361425 0,-3.26330476 0.9018798,-0.9018797 2.3614249,-0.9018797 3.2633048,0 l 5.099754,5.82856596 5.097832,-5.82856596 c 0.90188,-0.9018797 2.361425,-0.9018797 3.263305,0 0.901879,0.90187976 0.901879,2.36334796 0,3.26330476 l -5.30359,6.0612466 5.30359,6.057402 c 0.901879,0.90188 0.901879,2.363347 0,3.265227 z' /%3E%3C/svg%3E\")}.wf-search .results{overflow:hidden}.wf-search .wf-search-container{margin:auto;display:flex;flex-direction:column;justify-content:flex-end;height:100%;padding:1rem}.wf-search .wf-search-input-container input{margin:auto;display:block;padding:1rem;font-size:2rem;font-weight:600;width:100%;border:1px solid #000;outline:0;background-repeat:no-repeat}.wf-search .wf-keyboard{user-select:none;display:flex;flex-direction:column;flex-shrink:0}.wf-search .wf-keyboard .keyboard-row{margin:auto;display:flex}.wf-search .wf-keyboard .keyboard-key{text-align:center;width:4ch;height:4ch;line-height:1.5;overflow:hidden;user-select:none}.wf-search .wf-keyboard .keyboard-key:last-child{margin-right:0}.wf-search .wf-keyboard .keyboard-key:active{background-color:#00f}.wf-search .wf-keyboard .keyboard-key2x{width:8ch}.wf-search .wf-keyboard .keyboard-key3x{width:12ch}.wf-search .wf-keyboard .keyboard-key_spacebar{width:24ch}",map:void 0,media:void 0})}),{name:"Search",components:{OSK:X,POI:F},computed:a({},j("wf",["language","reset"])),props:{limit:{type:Number,default:-1},showCloseButton:{type:Boolean,default:!1},showOutputField:{type:Boolean,default:!0},showKeyboard:{type:Boolean,default:!0},showNoResultsText:{type:Boolean,default:!0},noResultsText:{type:String,default:"No results"},showLogo:{type:Boolean,default:!1},showName:{type:Boolean,default:!0},showPathButton:{type:Boolean,default:!1},showDescription:{type:Boolean,default:!1},showRoomID:{type:Boolean,default:!1},showFloor:{type:Boolean,default:!1},currentPOI:{type:Object,default:null}},data:function(){return{results:[],poi:{},keyboard:!1}},mounted:function(){var t=this;this.keyboard=new X("wf-search-input","wf-keyboard-container"),this.keyboard.on("change",(function(e){var n=t.$wayfinder.search.search(e);t.limit>0&&(n=n.slice(0,t.limit)),t.results=Object.freeze(Object.values(n)),e.length>1&&(Object.values(t.results).length>0?t.$wayfinder.statistics.onSearch(e,"successful"):t.$wayfinder.statistics.onSearch(e,"unsuccessful"))})),this.keyboard.addLayout("en",{name:"English",keyboard:"US International",local_name:"English",lang:"en",keys:{default:[["1","2","3","4","5","6","7","8","9","0",{key:"Delete",action:["backspace"],cls:"key2x"}],["q","w","e","r","t","y","u","i","o","p"],["a","s","d","f","g","h","j","k","l"],["z","x","c","v","b","n","m"],[{key:" ",cls:"key_spacebar"}]]}}),this.keyboard.changeLayout(this.language)},watch:{searchVisible:function(t){t&&this.$refs.searchInput&&this.$refs.searchInput.focus()},reset:function(){this.resetValues()},language:function(t){this.keyboard&&this.keyboard.changeLayout(t)}},methods:{onClick:function(t){this.$emit("clicked",t),this.$wayfinder.statistics.onClick(t.id,"menu")},close:function(){this.$emit("close"),this.resetValues()},resetValues:function(){this.results=[],this.keyboard&&(this.keyboard.changeLayout(this.language),this.keyboard.clearValue()),this.$refs.searchInput&&(this.$refs.searchInput.value="")},setOutput:function(t){this.keyboard.setOutput(t)},addLayout:function(t,e){this.keyboard.addLayout(t,e)},changeLayout:function(t){this.keyboard.changeLayout(t)}}},undefined,false,undefined,!1,f,void 0,void 0),K=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"tabs",staticClass:"wf-component wf-tabs",class:["wf-tabs-"+t.activeTab,"wf-tabs-index-"+t.activeTabIndex,"wf-tabs-animate-"+t.animate]},[n("div",{ref:"slide",staticClass:"wf-tabs-content"},[t._t("default")],2)])},staticRenderFns:[]},(function(t){t&&t("data-v-7eaad22c_0",{source:".wf-tabs[data-v-7eaad22c]{overflow:hidden;position:relative;width:100%;height:100%}.wf-tabs-content[data-v-7eaad22c]{height:100%;width:auto;display:flex;flex-direction:row;margin-left:0;transform:translateX(0) translateY(0)}.wf-tabs.wf-tabs-animate-vertical .wf-tabs-content[data-v-7eaad22c]{flex-direction:column}.wf-tab[data-v-7eaad22c]{opacity:0;transition:opacity .3s ease-out .5s}.wf-tab.wf-active[data-v-7eaad22c]{opacity:1;transition:opacity .3s ease-in}.wf-tabs.wf-tabs-animate-horizontal .wf-tabs-content[data-v-7eaad22c],.wf-tabs.wf-tabs-animate-vertical .wf-tabs-content[data-v-7eaad22c]{transition:transform .5s ease-in-out .2s}",map:void 0,media:void 0})}),{name:"Tabs",props:{activeTab:"",animate:{type:String,default:"none"}},data:function(){return{tabs:[],activeTabIndex:0,currentTab:null}},created:function(){this.tabs=this.$children},mounted:function(){this.$props.activeTab?this.activate(this.$props.activeTab):console.log("no active tab")},watch:{activeTab:function(t){t&&this.activate(t)}},methods:{activate:function(){for(var t in this.currentTab=null,this.tabs)this.tabs[t].name==this.$props.activeTab?(this.tabs[t].isActive=!0,this.$emit("tabChanged",this.tabs[t]),this.currentTab=this.tabs[t],this.activeTabIndex=t,"vertical"===this.animate?this.$refs.slide.style.transform="translateX(0) translateY(-"+100*t+"%)":this.$refs.slide.style.transform="translateY(0) translateX(-"+100*t+"%)"):this.tabs[t].isActive=!1}}},"data-v-7eaad22c",false,undefined,!1,f,void 0,void 0),J=h({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("section",{staticClass:"wf-component wf-tab",class:{"wf-active":t.isActive}},[t._t("default")],2)},staticRenderFns:[]},(function(t){t&&t("data-v-b8114d98_0",{source:".wf-tab[data-v-b8114d98]{overflow:hidden;flex-grow:1;flex-shrink:0;width:100%}",map:void 0,media:void 0})}),{name:"Tab",props:{name:""},data:function(){return{isActive:!1,isVisible:!0}},created:function(){},methods:{}},"data-v-b8114d98",false,undefined,!1,f,void 0,void 0),tt=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-tab-buttons"},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.mobile&&!t.landscape,expression:"mobile && !landscape"}],staticClass:"wf-item tab-map",class:{active:"map"==t.currentTab},attrs:{"data-translation-element":"map"},on:{click:function(e){return t.switchTab("map")}}}),t._v(" "),n("div",{staticClass:"wf-item tab-topics",class:{active:"groups"==t.currentTab||"group-pois"==t.currentTab},attrs:{"data-translation-element":"topics"},on:{click:function(e){return t.switchTab("groups")}}}),t._v(" "),n("div",{staticClass:"wf-item tab-az",class:{active:"az"==t.currentTab},attrs:{"data-translation-element":"az"},on:{click:function(e){return t.switchTab("az")}}}),t._v(" "),n("div",{staticClass:"wf-item tab-search",class:{active:"search"==t.currentTab},attrs:{"data-translation-element":"search"},on:{click:function(e){return t.switchTab("search")}}})])},staticRenderFns:[]},(function(t){t&&t("data-v-5229b2f8_0",{source:".wf-tab-buttons[data-v-5229b2f8]{display:flex;align-content:stretch;justify-content:space-between}.wf-tab-buttons .wf-item[data-v-5229b2f8]{background-size:auto 30%;background-repeat:no-repeat}",map:void 0,media:void 0})}),{name:"Tabs",computed:a({},j("wf",["currentTab","searchVisible","mobile","landscape","shortcuts","language"])),data:function(){return{toilet:!1,toiletsIcon:!1}},methods:{switchTab:function(t){this.$emit("switchTab",t)}}},"data-v-5229b2f8",false,undefined,!1,f,void 0,void 0),et=Z((function(t){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(t,e){t.exports={create:function(){return[0,0]},clone:function(t){var e=new Array(2);return e[0]=t[0],e[1]=t[1],e},fromValues:function(t,e){var n=new Array(2);return n[0]=t,n[1]=e,n},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t},set:function(t,e,n){return t[0]=e,t[1]=n,t},add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t},sub:function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t},mul:function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t},div:function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t},min:function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t},max:function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t},scale:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t},dist:function(t,e){var n=e[0]-t[0],i=e[1]-t[1];return Math.sqrt(n*n+i*i)},sqrDist:function(t,e){var n=e[0]-t[0],i=e[1]-t[1];return n*n+i*i},len:function(t){var e=t[0],n=t[1];return Math.sqrt(e*e+n*n)},length:function(t){var e=t[0],n=t[1];return Math.sqrt(e*e+n*n)},sqrLen:function(t){var e=t[0],n=t[1];return e*e+n*n},negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},normalize:function(t,e){var n=e[0],i=e[1],o=n*n+i*i;return o>0&&(o=1/Math.sqrt(o),t[0]=e[0]*o,t[1]=e[1]*o),t},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},cross:function(t,e,n){var i=e[0]*n[1]-e[1]*n[0];return t[0]=t[1]=0,t[2]=i,t},lerp:function(t,e,n,i){var o=e[0],a=e[1];return t[0]=o+i*(n[0]-o),t[1]=a+i*(n[1]-a),t},transformMat2:function(t,e,n){var i=e[0],o=e[1];return t[0]=i*n[0]+o*n[1],t[1]=i*n[2]+o*n[3],t},str:function(t){return"this("+t[0]+", "+t[1]+")"}}},function(t,e,n){n.r(e),n.d(e,"ScrollArea",(function(){return r}));var i=n(0),o=n.n(i);class a{constructor(t,e){this.position=o.a.create(),this.contentSize=t,this.viewSize=e,this.contentViewRatio=o.a.div(o.a.create(),this.getViewSize(),this.getContentSize()),this._maxPosition=o.a.create(),this._minPosition=o.a.create(),this._vec2cache=o.a.create()}getViewPosition(){return this.position}getContentPosition(){return this.position}clampPosition(){o.a.max(this._maxPosition,this.getViewSize(),this.getContentSize()),o.a.min(this._minPosition,this.getViewSize(),this.getContentSize()),o.a.sub(this._maxPosition,this._maxPosition,this._minPosition),this.getContentSize()[0]<=this.getViewSize()[0]&&(this._maxPosition[0]=0),this.getContentSize()[1]<=this.getViewSize()[1]&&(this._maxPosition[1]=0),this.position=this.clamp(this.position,o.a.create(),this._maxPosition)}setViewPosition(t){!isNaN(parseFloat(t[0]))&&isFinite(t[0])&&!isNaN(parseFloat(t[1]))&&isFinite(t[1])&&(this.position=t,this.clampPosition())}move(t){t&&this.setViewPosition(o.a.sub(t,this.getViewPosition(),t))}setViewSize(t,e){o.a.set(this.viewSize,t,e),o.a.div(this.contentViewRatio,this.getViewSize(),this.getContentSize()),this.clampPosition()}setContentSize(t,e){o.a.set(this.contentSize,t,e),o.a.div(this.contentViewRatio,this.getViewSize(),this.getContentSize()),this.clampPosition()}isContentLonger(){return this.viewSize[1]<this.contentSize[1]}isContentWider(){return this.viewSize[0]<this.contentSize[0]}getContentSize(){return this.contentSize}getViewSize(){return this.viewSize}clamp(t,e,n){var i=o.a.clone(t);return o.a.max(i,i,e),o.a.min(i,i,n),i}getPercentagePosition(){return o.a.div(o.a.create(),this.position,this.viewSize)}getRelativePosition(){return o.a.sub(this._vec2cache,this.getViewSize(),this.getContentSize()),0!==o.a.len(this._vec2cache)&&o.a.div(this._vec2cache,this.getViewPosition(),o.a.sub(this._vec2cache,this.getViewSize(),this.getContentSize())),this._vec2cache}getContentViewRatio(){return this.contentViewRatio}}class s{constructor(t,e){this.options=e||{},this.vertical="vertical"==this.getOption("direction"),this.position=0,this.mouseDelta=o.a.create(),this.onScroll=!1,this.parentElement=t,this.element=document.createElement("div"),this.element.classList.add("sa-scrollbar"),this.element.classList.add("sa-scrollbar-position-"+this.getOption("scollbarPosition")),this.element.style.position="absolute",this.element.style.right="0",this.element.style.bottom="0",this.vertical?this.element.style.top="0":this.element.style.left="0",this.bar=document.createElement("div"),this.bar.style.minWidth="1px",this.bar.classList.add("sa-bar"),this.element.appendChild(this.bar),t.appendChild(this.element),this.view=new a(o.a.fromValues(this.element.clientWidth,this.element.clientHeight),o.a.fromValues(this.bar.clientWidth,this.bar.clientHeight))}getOption(t){return this.options[t]}attachEvents(t){t.addEventListener("mousedown",(t=>{this.mousedown=!0,t.stopPropagation(),t.preventDefault()})),window.addEventListener("mousemove",(t=>{if(this.mousedown){var e=o.a.fromValues(t.movementX,t.movementY);this.deltaMove=e,this.lastTime=Date.now(),this.getOption("reverse"),this.scroll(e)}})),window.addEventListener("mouseup",(t=>{this.mousedown=!1})),t.addEventListener("touchstart",(t=>{t.touches&&t.touches.length>0&&(this.lastTouch=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY))}),!1),window.addEventListener("touchend",(t=>{this.lastTouch=null}),!1),window.addEventListener("touchcancel",(t=>{this.lastTouch=null}),!1),window.addEventListener("touchmove",(t=>{if(t.touches&&t.touches.length>0){if(this.lastTouch){var e=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY);this.getOption("reverse")?this.scroll(o.a.sub(e,this.lastTouch,e)):this.scroll(o.a.sub(e,e,this.lastTouch))}this.lastTouch=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY)}}),!1)}scroll(t){var e=this;window.requestAnimationFrame((function(){e.view.move(t),t=o.a.clone(e.view.getContentPosition()),e.setPosition(t),e.updateCallback&&"function"==typeof e.updateCallback&&e.updateCallback(me)}))}setPosition(t){var e=1;this.getOption("swapContainers")&&(e=-1),this.bar.style.transform="translate("+t[0]*e+"px,"+t[1]*e+"px)",this.scrolling=!1}clear(){this.position=0,this.setPosition(0)}getBarLength(){return this.vertical?parseInt(Math.ceil(this.bar.clientHeight)):parseInt(Math.ceil(this.bar.clientWidth))}getViewLength(){return this.vertical?this.view.getViewSize()[1]:this.view.getViewSize()[0]}getContentLength(){return this.vertical?this.view.getContentSize()[1]:this.view.getContentSize()[0]}setContentPosition(t){var e=o.a.create(),n=t.getContentViewRatio()[this.vertical?1:0];o.a.scale(e,t.getContentPosition(),n),this.view.setViewPosition(e),this.setPosition(this.view.getContentPosition())}getPercentage(){return o.a.len(this.view.getViewPosition())/this.getViewLength()}resizeContent(t){t?(this.vertical?(this.bar.style.height=Math.floor(t.getViewSize()[1]*t.getContentViewRatio()[1])+"px",this.element.style.height=t.getViewSize()[1]+"px",this.element.style.visibility=t.isContentLonger()?"visible":"hidden"):(this.bar.style.width=Math.floor(t.getViewSize()[0]*t.getContentViewRatio()[0])+"px",this.element.style.width=t.getViewSize()[0]+"px",this.element.style.visibility=t.isContentWider()?"visible":"hidden"),this.resize()):console.warn("View undefined")}resize(){this.getOption("swapContainers")?(this.view.setViewSize(parseInt(this.element.clientWidth),parseInt(this.element.clientHeight)),this.view.setContentSize(parseInt(this.bar.clientWidth),parseInt(this.bar.clientHeight))):(this.view.setViewSize(parseInt(this.bar.clientWidth),parseInt(this.bar.clientHeight)),this.view.setContentSize(parseInt(this.element.clientWidth),parseInt(this.element.clientHeight)))}}class r{constructor(t,e,n){if(this.container=null,this.content=null,this.options={smooth:!0,reverse:!1,swapContainers:!1,updateInterval:10,wheelSpeed:50,scollbarPosition:"right",direction:"vertical"},void 0!==n&&n&&(this.options=this.chooseOptions(this.options,n)),this.setContainer(t),this.events={change:[],layout:[],ready:[]},this.lastTouch=null,this.deltaMove=o.a.create(),this.lastTime=0,this.smoothDistance=null,this.timeout=null,this.smoothCoeficent=o.a.fromValues(11,11),this.positionClassNames=["sa-on-left","sa-on-right","sa-on-top","sa-on-bottom"],this.mousedown=!1,this.touchstart=!1,this._vec2cache=o.a.create(),this.container,this.getOption("swapContainers")?this.view=new a(o.a.fromValues(this.container.clientWidth,this.container.clientHeight),o.a.fromValues(this.content.clientWidth,this.content.clientHeight)):(this.content,this.view=new a(o.a.fromValues(this.content.clientWidth,this.content.clientHeight),o.a.fromValues(this.container.clientWidth,this.container.clientHeight))),this.container.style.position="relative",this.container.style.overflow="hidden",this.container.style.userSelect="none",this.attachEvents(this.container),this.scrollbarV=new s(this.container,{direction:"vertical",scollbarPosition:"right",reverse:this.options.reverse,swapContainers:this.options.swapContainers}),this.scrollbarH=new s(this.container,{direction:"horizontal",scollbarPosition:"bottom",reverse:this.options.reverse}),"undefined"!=typeof ResizeObserver&&this.content){var i=this;this.resizeObserver=new ResizeObserver((function(){i.resize()})),this.resizeObserver.observe(this.content)}this.checkContentPosition()}attachEvents(t){t.addEventListener("mousewheel",(t=>{var e;t.originalEvent&&(t=t.originalEvent),e="wheelDelta"in t?t.wheelDelta<0||t.wheelDelta>0?1:-1:t.deltaY>0||t.deltaY<0?1:-1,this.scroll(o.a.fromValues(0,this.getOption("wheelSpeed")*e))})),t.addEventListener("mousedown",(t=>{this.mousedown=!0,this.lastTime=Date.now(),t.stopPropagation(),t.preventDefault()})),window.addEventListener("mousemove",(t=>{if(this.mousedown){var e=o.a.fromValues(t.movementX,t.movementY);this.deltaMove=e,this.lastTime=Date.now(),this.getOption("reverse"),this.scroll(e)}})),window.addEventListener("mouseup",(t=>{this.onEndDrag(this.deltaMove,Date.now()-this.lastTime),this.mousedown=!1})),t.addEventListener("touchstart",(t=>{t.touches&&t.touches.length>0&&(this.mousedown=!0,this.lastTouch=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY),this.lastTime=Date.now())}),!1),window.addEventListener("touchend",(t=>{this.onEndDrag(o.a.negate(this.deltaMove,this.deltaMove),Date.now()-this.lastTime),this.lastTouch=null,this.mousedown=!1}),!1),window.addEventListener("touchcancel",(t=>{this.onEndDrag(o.a.negate(this.deltaMove,this.deltaMove),Date.now()-this.lastTime),this.lastTouch=null,this.mousedown=!1}),!1),window.addEventListener("touchmove",(t=>{if(t.touches&&t.touches.length>0&&this.mousedown){if(this.lastTouch){var e=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY);this.getOption("reverse")?this.scroll(o.a.sub(e,this.lastTouch,e)):this.scroll(o.a.sub(e,e,this.lastTouch))}this.lastTouch=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY),this.lastTime=Date.now()}}),!1)}onEndDrag(t,e){if(!(e<=0)){var n=o.a.len(t)/e;if(this.getOption("smooth")&&n>.3){var i=o.a.create();o.a.scale(i,t,n),this.getOption("reverse");var a=this;this.stop();var s=o.a.create(),r=function(){o.a.div(s,i,a.smoothCoeficent),o.a.sqrLen(s)>3?(o.a.sub(i,i,s),window.requestAnimationFrame(r),a.scroll(s)):a.scrolling=!1};this.timeout=window.requestAnimationFrame(r)}else this.scrolling=!1}}stop(){this.scrolling=!1}resize(){this.getOption("swapContainers")?(this.view.setViewSize(parseInt(Math.ceil(this.content.clientWidth)),parseInt(Math.ceil(this.content.clientHeight))),this.view.setContentSize(parseInt(this.container.clientWidth),parseInt(Math.ceilthis.container.clientHeight))):(this.view.setViewSize(parseInt(this.container.clientWidth),parseInt(this.container.clientHeight)),this.view.setContentSize(parseInt(Math.ceil(this.content.clientWidth)),parseInt(Math.ceil(this.content.clientHeight)))),this.checkIfScrollIsNeeded(),this.scrollbarV&&this.scrollbarV.resizeContent(this.view),this.scrollbarH&&this.scrollbarH.resizeContent(this.view)}reset(){this.setContentOffset([0,0])}checkIfScrollIsNeeded(){this.view.isContentLonger()?this.container.classList.add("sa-content-longer"):this.container.classList.remove("sa-content-longer"),this.view.isContentWider()?this.container.classList.add("sa-content-wider"):this.container.classList.remove("sa-content-wider")}chooseOptions(t,e){for(var n in e)t[n]&&(t[n]=e[n]);return t}setContainer(t){switch(typeof t){case"undefined":this.container=document.createElement("div"),document.body.appendChild(this.container);break;case"string":this.container=document.getElementById(t);break;default:this.container=t}this.container&&(this.content=this.container.firstElementChild)}getOption(t){return this.options[t]}on(t,e){"object"!=typeof this.events[t]&&(this.events[t]=[]),this.events[t].push(e)}trigger(){let t=Array.prototype.slice.call(arguments);if(t.length>0){let e=t[0];if(t.shift(),this.events[e]){let n;for(let i=0,o=this.events[e].length;i<o;i++)n=this.events[e][i],"function"==typeof n&&n.apply(this,t)}}}scroll(t){var e=this;window.requestAnimationFrame((function(){e.view.move(t),t=o.a.clone(e.view.getContentPosition()),e.setContentOffset(t),e.scrollbarV.setContentPosition(e.view),e.scrollbarH.setContentPosition(e.view),e.updateCallback&&"function"==typeof e.updateCallback&&e.updateCallback(me)}))}smoothScroll(t,e){if(!(e<=0)){var n=o.a.create(),i=o.a.clone(t),a=e,s=Date.now(),r=0,c=this,u=function(){a=Date.now()-s,r=1-Math.pow(1-Math.min(1,a/e),3),o.a.scale(n,i,r),o.a.sub(i,i,n),a<e?(window.requestAnimationFrame(u),o.a.len(i)>0?c.scroll(n):c.scroll(o.a.sub(n,n,i))):(o.a.len(i)>0&&c.scroll(i),c.scrolling=!1)};this.timeout=window.requestAnimationFrame(u)}}setContentOffset(t){var e=-1;this.getOption("swapContainers")&&(e=1),this.content.style.transform="translate("+t[0]*e+"px,"+t[1]*e+"px)",this.scrolling=!1,this.checkContentPosition()}checkContentPosition(){var t=this.view.getRelativePosition(),e=[];0===t[0]&&e.push("sa-on-left"),0===t[1]&&e.push("sa-on-top"),1===Math.abs(t[0])&&e.push("sa-on-right"),1===Math.abs(t[1])&&e.push("sa-on-bottom"),e!==this.positionClassNames&&(this.container.classList.remove(...this.positionClassNames),e&&e.length>0&&this.container.classList.add(...e),this.positionClassNames=e)}scrollToSection(t,e,n,i){let a=o.a.mul(o.a.create(),this.view.getContentSize(),this.view.getContentViewRatio()),s=o.a.scale(o.a.create(),a,t);const r=i||1;0==e?s[1]=0:s[0]=0;let c=o.a.sub(o.a.create(),this.view.getContentPosition(),s);if(n){let t=o.a.len(c)*r;this.smoothScroll(c,t)}else this.scroll(c)}}}]).ScrollArea})),nt=h({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{ref:"area",staticClass:"wf-component wf-scrollable"},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"ScrollableArea",data:function(){return{scroll:null}},updated:function(){var t=this;this.$nextTick((function(){t.scroll&&t.scroll.resize()}))},mounted:function(){var t=this;this.$nextTick((function(){t.scroll||(t.scroll=new et(t.$refs.area))}))},methods:{activate:function(){this.makeScroll()},reset:function(){var t=this;this.$nextTick((function(){t.scroll&&t.scroll.reset()}))},scrollToSection:function(t,e,n,i){this.scroll.scrollToSection(t,e,n,i)}}},"data-v-78a62f63",false,undefined,!1,void 0,void 0,void 0),it=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:t.visibilityChanged,expression:"visibilityChanged"}],ref:"frames",staticClass:"wf-component wf-banner"},t._l(t.frames,(function(e,i){return n("div",{key:e.id,staticClass:"wf-frame",class:[{"wf-active":i==t.current},t.frameKeywords]},[t._l(e.containers,(function(i){return n("div",{key:i.id,staticClass:"wf-frame-container",class:[i.containerType],style:{left:i.left+"%",top:i.top+"%",width:i.width+"%",height:i.height+"%",backgroundImage:"url('"+i.url+"')"},on:{click:function(n){return t.onClick(e,i)}}},[t.isVideo(i)?n("video",{attrs:{width:"100%",height:"auto",src:i.url,muted:""},domProps:{muted:!0}}):t._e(),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:i.containerType.indexOf("qr")>-1&&null!=t.qr,expression:"container.containerType.indexOf('qr') > -1 && qr != null"}],staticClass:"wf-qr",class:[i.containerType],domProps:{innerHTML:t._s(t.qr)}})])})),t._v(" "),t._t("default",null,{frame:e})],2)})),0)},staticRenderFns:[]},(function(t){t&&t("data-v-35393bbc_0",{source:".wf-banner[data-v-35393bbc]{position:relative;width:100%;height:100%}.wf-banner .wf-frame[data-v-35393bbc]{width:100%;height:100%;position:absolute;background-size:cover;background-position:50% 50%;background-repeat:no-repeat;left:0;top:0;opacity:0;transition:opacity .5s ease-in-out}.wf-banner .wf-frame .wf-frame-container[data-v-35393bbc]{background-size:cover;background-position:50% 50%;background-repeat:no-repeat}.wf-banner .wf-frame.wf-active[data-v-35393bbc]{opacity:1;transition:opacity .5s ease-in-out}.wf-banner .wf-frame video[data-v-35393bbc]{position:relative;top:50%;transform:translateY(-50%)}",map:void 0,media:void 0})}),{name:"Banner",props:{template:String,container:String,playOnBoot:{type:Boolean,default:!1},qrURL:{type:String,default:"https://3dwayfinder.com"}},computed:a({},j("wf",["banners"])),data:function(){return{frames:[],current:-1,timer:null,fadeDuration:500,backgroundColor:"#fff",visible:!1,qr:null,qrPos:"",displayQR:!1,frameKeywords:[],last:0}},watch:{banners:function(){var t=this,e=Date.now();this.template&&this.container&&this.banners["template-"+this.template.toLowerCase()]&&this.banners["template-"+this.template.toLowerCase()][this.container]&&(this.frames=this.banners["template-"+this.template.toLowerCase()][this.container].filter((function(n){var i=n.enabled;if(i&&n.from_date&&(i=i&&new Date(n.from_date).getTime()<=e),i&&n.to_date&&(i=i&&new Date(n.to_date).getTime()>=e),i)for(var o in n.containers)n.containers[o].url=t.getUrl(n.containers[o]);return i})),this.$emit("hasbanners",this.frames.length>0),this.playOnBoot&&this.$nextTick((function(){this.play()})))},qrURL:function(t){t&&""!==t&&this.renderQR()}},mounted:function(){this.renderQR()},methods:{visibilityChanged:function(t){this.visible=t,t?this.play():this.stop()},play:function(){var t=this;if(!(this.current>=this.frames.length)){this.frames.length>0&&this.next();var e=this.frames[this.current];if(null!=this.timer&&clearTimeout(this.timer),e&&(this.displayQR=!(!e||!e.keywords)&&e.keywords.join(",").indexOf("qr-")>-1,this.frameKeywords=e.keywords.map((function(t){return"keyword-"+t})),this.$refs.frames)){var n=this.$refs.frames.children[this.current];if(n){var i=n.querySelector("video");i&&i.readyState?setTimeout((function(){t.playVideo(i,e.duration)}),0):this.timer=setTimeout(this.play,e.duration)}else this.timer=setTimeout(this.play,e.duration)}}},playVideo:function(t,e){var n=this;t.pause(),t.currentTime=0,t.play().catch((function(i){clearTimeout(n.timer),setTimeout((function(){n.playVideo(t,e)}),300)})),this.timer=setTimeout(this.play,e)},stop:function(){this.timer&&clearTimeout(this.timer)},next:function(){this.current<this.frames.length-1?this.current++:this.current=0},onClick:function(t,e){this.$emit("clicked",t,e)},isImage:function(t){return!(t.type&&"video"===t.type.substr(0,5))},isVideo:function(t){return t.type&&"video"===t.type.substr(0,5)},getUrl:function(t){return WayfinderAPI.advertisements.data.url(t.advertisement_id)},renderQR:function(){var t=this.qrURL,e=require("qrcode-svg");e&&t&&(this.qr=new e({content:t,container:"svg-viewbox",padding:0}).svg())}}},"data-v-35393bbc",false,undefined,!1,f,void 0,void 0),ot=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-page-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedPages,(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(page)",arg:"tap"}],key:e.id,staticClass:"wf-list-item",class:{"wf-active":t.currentPage&&e.id==t.currentPage.id},on:{click:function(n){return t.onClick(e)}}},[n("i",{directives:[{name:"show",rawName:"v-show",value:t.showIcon,expression:"showIcon"}],staticClass:"wf-icon",domProps:{innerHTML:t._s(e.icon)}}),t._v(" "),n("label",{directives:[{name:"show",rawName:"v-show",value:t.showName,expression:"showName"}]},[t._v(t._s(t.getName(e)))])])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-1a61779c_0",{source:".wf-list-item[data-v-1a61779c]{list-style:none}",map:void 0,media:void 0})}),{name:"PageMenu",props:{container:{type:String,default:"default"},showIcon:{type:Boolean,default:!1},showName:{type:Boolean,default:!0},currentPage:{type:Object,default:null},sortAZ:{type:Boolean,default:!1}},data:function(){return{count:0}},computed:a(a({},j("wf",["pages","language"])),{},{sortedPages:function(){var t=this,e=[];return this.pages&&"object"==s(this.pages)&&this.pages[this.container]&&(e=Object.values(this.pages[this.container]).filter((function(t){return t&&t.visible})),e=this.sortAZ?e.sort((function(e,n){return t.getName(e)&&t.getName(n)?t.getName(e).localeCompare(t.getName(n)):0})):e.sort((function(t,e){return parseInt(t.order)-parseInt(e.order)}))),this.count=e.length,e}}),methods:{onClick:function(t){var e=this;return function(){e.$emit("clicked",t)}},getName:function(t){return t?t.name[this.language]:""}}},"data-v-1a61779c",false,undefined,!1,f,void 0,void 0),at=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ul",{staticClass:"wf-component wf-alphabet-menu"},t._l(t.alphabet,(function(e){return n("li",{key:e,class:[t.currentChar==e?"wf-active":""],on:{click:function(n){return t.onAZ(e)}}},[t._v(t._s(e))])})),0)},staticRenderFns:[]},(function(t){t&&t("data-v-54232f30_0",{source:".wf-alphabet-menu{list-style:none;padding:0;margin:0}",map:void 0,media:void 0})}),{name:"AlphabetMenu",props:{pois:{type:Array,default:[]},overrideChar:{type:String,default:""},showInMenu:{type:Boolean,default:!0}},data:function(){return{currentChar:"",alphabet:[],poisWithChar:{}}},computed:a({},j("wf",["language"])),watch:{pois:function(){var t,e,n=[];for(var i in this.pois)t=this.pois[i],(!this.showInMenu||t.getShowInMenu())&&t.getName(this.language)&&t.getName(this.language).length>0&&(e=t.getName(this.language)[0].toLowerCase(),-1==n.indexOf(e)&&n.push(e),this.poisWithChar[e]||(this.poisWithChar[e]=[]),this.poisWithChar[e].push(t));n.sort(),this.alphabet=n},overrideChar:function(){this.overrideChar&&""!==this.overrideChar&&(this.currentChar=this.overrideChar)}},methods:{onAZ:function(t){this.currentChar=t,this.$emit("clicked",t,this.poisWithChar[t])}}},undefined,false,undefined,!1,f,void 0,void 0),st=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.page?n("div",{staticClass:"wf-page"},[n("div",{staticClass:"wf-page-icon",class:[t.page.icon?"wf-has-icon":""],domProps:{innerHTML:t._s(t.page.icon)}}),t._v(" "),t.showName?n("label",{staticClass:"wf-page-name",domProps:{innerHTML:t._s(t.pageName||"")}}):t._e(),t._v(" "),n("div",{staticClass:"wf-page-content"},t._l(t.page.items,(function(e,i){return n("div",{key:e.id,class:["wf-page-item-"+i]},[n(t.itemType(e),{tag:"component",attrs:{item:e}})],1)})),0)]):t._e()},staticRenderFns:[]},undefined,{name:"Page",components:{PageHTML:h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.item?n("div",{staticClass:"wf-page-item"},[n("div",{domProps:{innerHTML:t._s(t.item.value[t.language])}})]):t._e()},staticRenderFns:[]},undefined,{name:"html",computed:a({},j("wf",["language"])),props:{item:{type:Object,default:null}}},"data-v-04c2d772",false,undefined,!1,void 0,void 0,void 0)},computed:a(a({},j("wf",["language","pages"])),{},{pageName:function(){return this.page&&this.page.name?this.page.name[this.language]:""}}),props:{container:{type:String,default:"default"},index:{type:Number,default:-1},slug:{type:String,default:null},showName:{type:Boolean,default:!0},playAll:{type:Boolean,default:!1},duration:{type:Number,default:30}},mounted:function(){this.updatePage()},watch:{pages:function(){this.updatePage()},index:function(){this.index>=1&&(this.currentIndex=this.index,this.updatePage())},slug:function(){this.updatePage()}},methods:{updatePage:function(){var t;if(this.pages&&this.pages[this.container])if(console.log("updatePage1",this.page,this.container,this.currentIndex,this.slug),null!=this.slug){for(var e in this.pages[this.container])if((t=this.pages[this.container][e]).slug.toLowerCase()==this.slug.toLowerCase()){console.log("updatePage2",this.page,this.container,this.currentIndex,this.slug),this.page=t;break}}else this.currentIndex>-1&&this.pages[this.container][this.currentIndex]&&(this.page=this.pages[this.container][this.currentIndex])},itemType:function(t){return this.page?"Page"+t.type.toUpperCase():""}},data:function(){return{currentIndex:1,page:null}}},"data-v-168fdeaf",false,undefined,!1,void 0,void 0,void 0),rt=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-browser"},[n("iframe",{attrs:{src:t.currentSRC}})])},staticRenderFns:[]},(function(t){t&&t("data-v-6f07be40_0",{source:".wf-browser,.wf-browser iframe{width:100%;height:100%;border:none}",map:void 0,media:void 0})}),{name:"MapFloors",props:{src:{type:String,default:""}},computed:a({},j("wf",["reset"])),data:function(){return{currentSRC:""}},mounted:function(){this.currentSRC=this.src},watch:{reset:function(t){this.currentSRC=this.src+"?t="+Date.now()}}},undefined,false,undefined,!1,f,void 0,void 0),ct=Object.freeze({__proto__:null,WFMap:m,WFAZMenu:z,WFFlagsMenu:D,WFLanguagesMenu:$,WFGroupsMenu:R,WFGroupPOIsMenu:B,WFBuildingLogo:G,WFShortcutsMenu:V,WFZoomMenu:Y,WFFloorsMenu:U,WFFilteredMenu:H,WFSearch:Q,WFTabs:K,WFTab:J,WFTabButtons:tt,WFScrollableArea:nt,WFBanner:it,WFPageMenu:ot,WFAlphabet:at,WFPOI:F,WFPage:st,WFYAH:W,WFBrowser:rt}),ut={namespaced:!0,state:{floors:[],pois:[],poiGroups:[],loaded:!1,language:"en",languages:[],shortcuts:[],filteredPOIs:[],currentFloor:null,building:null,yahLogo:"",banners:null,landscape:!1,mobile:!1,maxInActivity:30,reset:0,pages:{}},getters:{xLanguage:function(t,e){return void 0!==i.default.prototype.$wayfinder&&(t.language=i.default.prototype.$wayfinder.getLanguage()),t.language},xFloors:function(t){return void 0!==i.default.prototype.$wayfinder&&i.default.prototype.$wayfinder.building&&(t.floors=Object.freeze(Object.assign({},i.default.prototype.$wayfinder.building.getSortedFloors()))),t.floors},xLanguages:function(t){return void 0!==i.default.prototype.$wayfinder&&(t.languages=Object.freeze(Object.values(i.default.prototype.$wayfinder.getLanguages()).reverse())),t.languages},xShortcuts:function(t){if(void 0!==i.default.prototype.$wayfinder){var e=i.default.prototype.$wayfinder.getPOIGroups(),n=[];Object.keys(e).forEach((function(t){parseInt(e[t].showInTopMenu)&&n.push(Object.freeze(e[t]))})),n=(n=n.slice(0,6)).sort((function(t,e){return-(t.order-e.order)})),t.shortcuts=n}return t.shortcuts},xBuilding:function(t){if("undefined"!==i.default.prototype.$wayfinder){var e=Object.assign({},i.default.prototype.$wayfinder.building);t.building=Object.freeze(e)}return t.building},xYahLogo:function(t){void 0!==i.default.prototype.$wayfinder&&(t.yahLogo="url("+WayfinderAPI.getURL("images","get",i.default.prototype.$wayfinder.settings.getInt("kiosk.you-are-here-image",0))+")")},xPOIs:function(t){void 0!==i.default.prototype.$wayfinder&&(t.pois=Object.freeze(i.default.prototype.$wayfinder.poisArray.slice()))},xTopics:function(t){void 0!==i.default.prototype.$wayfinder&&(t.poiGroups=Object.freeze(Object.assign({},i.default.prototype.$wayfinder.poiGroups)))},xBanners:function(t){void 0!==i.default.prototype.$wayfinder&&(t.banners=Object.assign({},i.default.prototype.$wayfinder.getFilteredAdvertisements()))}},mutations:{SET_POI:function(t,e){t.currentPOI=e},SET_TAB:function(t,e){t.currentTab=e},SET_GROUP:function(t,e){t.currentGroup=e},SET_SHOW_SEARCH:function(t,e){t.searchVisible=e},SET_NEW_RESET:function(t){t.reset=t.reset+1,t.currentPOI=!1,t.currentGroup=!1},SET_LANDSCAPE:function(t,e){t.landscape=e},SET_MOBILE:function(t,e){t.mobile=e},SET_INACTIVITY_TIME:function(t,e){t.maxInActivity=e},SET_CURRENT_FLOOR:function(t,e){t.currentFloor=e},SET_FILTERED_POIS:function(t,e){t.filteredPOIs=e},SET_PAGES:function(t,e){t.pages=e},RESET:function(t,e){t.reset=Date.now()}},actions:{SET_CURRENT_POI:function(t,e){t.commit("SET_POI",Object.freeze(e))},SET_CURRENT_TAB:function(t,e){t.commit("SET_TAB",e)},SET_CURRENT_GROUP:function(t,e){t.commit("SET_GROUP",Object.freeze(e))},SHOW_SEARCH:function(t,e){t.commit("SET_SHOW_SEARCH",e)},SET_RESET:function(t){t.commit("SET_NEW_RESET")},SET_LANDSCAPE:function(t,e){t.commit("SET_LANDSCAPE",e)},SET_INACTIVITY_TIME:function(t,e){t.commit("SET_INACTIVITY_TIME",e)},SET_MOBILE:function(t,e){t.commit("SET_MOBILE",e)},SET_CURRENT_FLOOR:function(t,e){t.commit("SET_CURRENT_FLOOR",Object.freeze(e))},SET_FILTERED_POIS:function(t,e){t.commit("SET_FILTERED_POIS",Object.freeze(e))},LOAD_PAGES:function(t){Logistics.getJSON(WayfinderAPI.getURL("pages","getAll",[]),null,(function(e){e&&e.data&&t.commit("SET_PAGES",Object.freeze(e.data))}))},RESET:function(t){t.commit("RESET")}}},lt={init:function(t){t.registerModule("wf",ut),q=t},loadPages:function(){q.dispatch("wf/LOAD_PAGES")}},ht=function(t,e){lt.init(e),t.prototype.$wayfinderApp=lt,Object.entries(ct).forEach((function(e){var n=c(e,2),i=n[0],o=n[1];t.component(i,o)}))},dt=Object.freeze({__proto__:null,default:ht,WFMap:m,WFAZMenu:z,WFFlagsMenu:D,WFLanguagesMenu:$,WFGroupsMenu:R,WFGroupPOIsMenu:B,WFBuildingLogo:G,WFShortcutsMenu:V,WFZoomMenu:Y,WFFloorsMenu:U,WFFilteredMenu:H,WFSearch:Q,WFTabs:K,WFTab:J,WFTabButtons:tt,WFScrollableArea:nt,WFBanner:it,WFPageMenu:ot,WFAlphabet:at,WFPOI:F,WFPage:st,WFYAH:W,WFBrowser:rt});return Object.entries(dt).forEach((function(t){var e=c(t,2),n=e[0],i=e[1];"default"!==n&&(ht[n]=i)})),ht}(Vue);
|
|
@@ -2164,7 +2164,7 @@ var __vue_component__$j = /*#__PURE__*/normalizeComponent({
|
|
|
2164
2164
|
if (topic && topic.getShowInMenu() && topic.getName(this.language)) {
|
|
2165
2165
|
if (this.parent > -1 && parseInt(topic.parent_id) == this.parent) {
|
|
2166
2166
|
arr.push(topic);
|
|
2167
|
-
} else if (this.parent === -1 && topic.parent_id === null) {
|
|
2167
|
+
} else if (this.parent === -1 && (topic.parent_id === null || topic.parent_id == 0)) {
|
|
2168
2168
|
arr.push(topic);
|
|
2169
2169
|
}
|
|
2170
2170
|
}
|
|
@@ -2276,10 +2276,10 @@ var __vue_render__$i = function __vue_render__() {
|
|
|
2276
2276
|
|
|
2277
2277
|
return _c('div', {
|
|
2278
2278
|
staticClass: "wf-component wf-groups-menu"
|
|
2279
|
-
}, [_vm._ssrNode("<ul" + _vm._ssrClass("wf-list", ['wf-list-count-' + _vm.count]) + " data-v-
|
|
2279
|
+
}, [_vm._ssrNode("<ul" + _vm._ssrClass("wf-list", ['wf-list-count-' + _vm.count]) + " data-v-2309385c>", "</ul>", [_vm._t("prepend"), _vm._ssrNode(" "), _vm._l(_vm.sortedGroups, function (topic) {
|
|
2280
2280
|
return _vm._ssrNode("<li" + _vm._ssrClass("wf-list-item", {
|
|
2281
2281
|
"active": _vm.current && topic.id == _vm.current.id
|
|
2282
|
-
}) + " data-v-
|
|
2282
|
+
}) + " data-v-2309385c>", "</li>", [_c('div', {
|
|
2283
2283
|
directives: [{
|
|
2284
2284
|
name: "touch",
|
|
2285
2285
|
rawName: "v-touch:tap",
|
|
@@ -2300,7 +2300,7 @@ var __vue_render__$i = function __vue_render__() {
|
|
|
2300
2300
|
"group": topic
|
|
2301
2301
|
})], 2), _vm._ssrNode(" "), _vm._ssrNode("<ul" + _vm._ssrStyle(null, null, {
|
|
2302
2302
|
display: _vm.current && topic.id == _vm.current.id && _vm.subGroups(topic.childGroups).length > 0 ? '' : 'none'
|
|
2303
|
-
}) + " data-v-
|
|
2303
|
+
}) + " data-v-2309385c>", "</ul>", [_c('SubGroupMenu', {
|
|
2304
2304
|
attrs: {
|
|
2305
2305
|
"parent": parseInt(topic.id),
|
|
2306
2306
|
"showPOICount": _vm.showPOICount,
|
|
@@ -2315,7 +2315,7 @@ var __vue_render__$i = function __vue_render__() {
|
|
|
2315
2315
|
}
|
|
2316
2316
|
})], 1), _vm._ssrNode(" "), topic.pois.length > 0 && _vm.showPOIs ? _vm._ssrNode("<ul class=\"wf-list wf-sublist\"" + _vm._ssrStyle(null, null, {
|
|
2317
2317
|
display: _vm.current && topic.id == _vm.current.id ? '' : 'none'
|
|
2318
|
-
}) + " data-v-
|
|
2318
|
+
}) + " data-v-2309385c>", "</ul>", _vm._l(_vm.sortedPOIs(topic.pois), function (poi) {
|
|
2319
2319
|
return _c('li', {
|
|
2320
2320
|
directives: [{
|
|
2321
2321
|
name: "touch",
|
|
@@ -2350,8 +2350,8 @@ var __vue_staticRenderFns__$i = [];
|
|
|
2350
2350
|
|
|
2351
2351
|
var __vue_inject_styles__$i = function __vue_inject_styles__(inject) {
|
|
2352
2352
|
if (!inject) return;
|
|
2353
|
-
inject("data-v-
|
|
2354
|
-
source: ".wf-groups-menu .wf-list-item[data-v-
|
|
2353
|
+
inject("data-v-2309385c_0", {
|
|
2354
|
+
source: ".wf-groups-menu .wf-list-item[data-v-2309385c]{list-style:none}.wf-groups-menu .wf-list[data-v-2309385c]{margin:0;padding:0}",
|
|
2355
2355
|
map: undefined,
|
|
2356
2356
|
media: undefined
|
|
2357
2357
|
});
|
|
@@ -2359,10 +2359,10 @@ var __vue_inject_styles__$i = function __vue_inject_styles__(inject) {
|
|
|
2359
2359
|
/* scoped */
|
|
2360
2360
|
|
|
2361
2361
|
|
|
2362
|
-
var __vue_scope_id__$i = "data-v-
|
|
2362
|
+
var __vue_scope_id__$i = "data-v-2309385c";
|
|
2363
2363
|
/* module identifier */
|
|
2364
2364
|
|
|
2365
|
-
var __vue_module_identifier__$i = "data-v-
|
|
2365
|
+
var __vue_module_identifier__$i = "data-v-2309385c";
|
|
2366
2366
|
/* functional template */
|
|
2367
2367
|
|
|
2368
2368
|
var __vue_is_functional_template__$i = false;
|
|
@@ -3236,7 +3236,7 @@ var __vue_staticRenderFns__$a = [];
|
|
|
3236
3236
|
|
|
3237
3237
|
var __vue_inject_styles__$a = function __vue_inject_styles__(inject) {
|
|
3238
3238
|
if (!inject) return;
|
|
3239
|
-
inject("data-v-
|
|
3239
|
+
inject("data-v-902fb4c4_0", {
|
|
3240
3240
|
source: ".wf-search .wf-close{position:absolute;top:0;right:.5rem;width:10rem;background-color:rgba(255,255,255,.7);background-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8' standalone='no'%3F%3E%3Csvg xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23' xmlns:svg='http://www.w3.org/2000/svg' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' enable-background='new 0 0 20 20' viewBox='0 0 20 20' y='0px' x='0px' id='Cross' version='1.1'%3E%3Cmetadata id='metadata9'%3E%3Crdf:RDF%3E%3Ccc:Work rdf:about=''%3E%3Cdc:format%3Eimage/svg+xml%3C/dc:format%3E%3Cdc:type rdf:resource='http://purl.org/dc/dcmitype/StillImage' /%3E%3Cdc:title%3E%3C/dc:title%3E%3C/cc:Work%3E%3C/rdf:RDF%3E%3C/metadata%3E%3Cdefs id='defs7'%3E%3ClinearGradient spreadMethod='pad' gradientUnits='userSpaceOnUse' y2='29.3118' x2='11.0536' y1='16.0077' x1='24.5509' id='paint1_linear' gradientTransform='translate(-6.9097825,12.894087)'%3E%3Cstop id='stop16' stop-color='%23FF4C54' /%3E%3Cstop id='stop18' stop-color='%23BE3F45' offset='1' /%3E%3C/linearGradient%3E%3ClinearGradient gradientUnits='userSpaceOnUse' y2='34.9828' x2='34.294201' y1='14.605' x1='13.6189' id='paint0_linear'%3E%3Cstop id='stop11' stop-color='%23FF4C54' /%3E%3Cstop id='stop13' stop-color='%23BE3F45' offset='1' /%3E%3C/linearGradient%3E%3ClinearGradient gradientTransform='matrix(1.9229845,0,0,1.9229845,-9.2288833,-9.2308069)' gradientUnits='userSpaceOnUse' y2='14.322534' x2='6.3946652' y1='7.6276183' x1='12.290775' id='linearGradient4161' xlink:href='%23paint0_linear' /%3E%3C/defs%3E%3Cpath style='fill:url(%23linearGradient4161);fill-opacity:1' id='path3' d='m 18.362098,19.32359 c -0.90188,0.90188 -2.363348,0.90188 -3.263305,0 l -5.097832,-5.826643 -5.0978311,5.82472 c -0.9018797,0.90188 -2.3633479,0.90188 -3.2633047,0 -0.90187984,-0.90188 -0.90187984,-2.363347 0,-3.263304 L 6.9434164,10.000961 1.6379022,3.9397144 c -0.90187974,-0.9018798 -0.90187974,-2.361425 0,-3.26330476 0.9018798,-0.9018797 2.3614249,-0.9018797 3.2633048,0 l 5.099754,5.82856596 5.097832,-5.82856596 c 0.90188,-0.9018797 2.361425,-0.9018797 3.263305,0 0.901879,0.90187976 0.901879,2.36334796 0,3.26330476 l -5.30359,6.0612466 5.30359,6.057402 c 0.901879,0.90188 0.901879,2.363347 0,3.265227 z' /%3E%3C/svg%3E\")}.wf-search .results{overflow:hidden}.wf-search .wf-search-container{margin:auto;display:flex;flex-direction:column;justify-content:flex-end;height:100%;padding:1rem}.wf-search .wf-search-input-container input{margin:auto;display:block;padding:1rem;font-size:2rem;font-weight:600;width:100%;border:1px solid #000;outline:0;background-repeat:no-repeat}.wf-search .wf-keyboard{user-select:none;display:flex;flex-direction:column;flex-shrink:0}.wf-search .wf-keyboard .keyboard-row{margin:auto;display:flex}.wf-search .wf-keyboard .keyboard-key{text-align:center;width:4ch;height:4ch;line-height:1.5;overflow:hidden;user-select:none}.wf-search .wf-keyboard .keyboard-key:last-child{margin-right:0}.wf-search .wf-keyboard .keyboard-key:active{background-color:#00f}.wf-search .wf-keyboard .keyboard-key2x{width:8ch}.wf-search .wf-keyboard .keyboard-key3x{width:12ch}.wf-search .wf-keyboard .keyboard-key_spacebar{width:24ch}",
|
|
3241
3241
|
map: undefined,
|
|
3242
3242
|
media: undefined
|
|
@@ -3248,7 +3248,7 @@ var __vue_inject_styles__$a = function __vue_inject_styles__(inject) {
|
|
|
3248
3248
|
var __vue_scope_id__$a = undefined;
|
|
3249
3249
|
/* module identifier */
|
|
3250
3250
|
|
|
3251
|
-
var __vue_module_identifier__$a = "data-v-
|
|
3251
|
+
var __vue_module_identifier__$a = "data-v-902fb4c4";
|
|
3252
3252
|
/* functional template */
|
|
3253
3253
|
|
|
3254
3254
|
var __vue_is_functional_template__$a = false;
|
|
@@ -3532,7 +3532,7 @@ var script$6 = {
|
|
|
3532
3532
|
|
|
3533
3533
|
this.$nextTick(function () {
|
|
3534
3534
|
if (_this3.scroll) {
|
|
3535
|
-
_this3.scroll.
|
|
3535
|
+
_this3.scroll.reset();
|
|
3536
3536
|
}
|
|
3537
3537
|
});
|
|
3538
3538
|
},
|
|
@@ -3563,10 +3563,10 @@ var __vue_staticRenderFns__$6 = [];
|
|
|
3563
3563
|
var __vue_inject_styles__$6 = undefined;
|
|
3564
3564
|
/* scoped */
|
|
3565
3565
|
|
|
3566
|
-
var __vue_scope_id__$6 = "data-v-
|
|
3566
|
+
var __vue_scope_id__$6 = "data-v-78a62f63";
|
|
3567
3567
|
/* module identifier */
|
|
3568
3568
|
|
|
3569
|
-
var __vue_module_identifier__$6 = "data-v-
|
|
3569
|
+
var __vue_module_identifier__$6 = "data-v-78a62f63";
|
|
3570
3570
|
/* functional template */
|
|
3571
3571
|
|
|
3572
3572
|
var __vue_is_functional_template__$6 = false;
|
|
@@ -3615,8 +3615,8 @@ var __vue_component__$6 = /*#__PURE__*/normalizeComponent({
|
|
|
3615
3615
|
|
|
3616
3616
|
var now = Date.now();
|
|
3617
3617
|
|
|
3618
|
-
if (this.template && this.container && this.banners['template-' + this.template] && this.banners['template-' + this.template][this.container]) {
|
|
3619
|
-
this.frames = this.banners['template-' + this.template][this.container].filter(function (frame) {
|
|
3618
|
+
if (this.template && this.container && this.banners['template-' + this.template.toLowerCase()] && this.banners['template-' + this.template.toLowerCase()][this.container]) {
|
|
3619
|
+
this.frames = this.banners['template-' + this.template.toLowerCase()][this.container].filter(function (frame) {
|
|
3620
3620
|
var enabled = frame.enabled;
|
|
3621
3621
|
|
|
3622
3622
|
if (enabled && frame.from_date) {
|
|
@@ -3783,16 +3783,16 @@ var __vue_render__$5 = function __vue_render__() {
|
|
|
3783
3783
|
}, _vm._l(_vm.frames, function (frame, index) {
|
|
3784
3784
|
return _vm._ssrNode("<div" + _vm._ssrClass("wf-frame", [{
|
|
3785
3785
|
'wf-active': index == _vm.current
|
|
3786
|
-
}, _vm.frameKeywords]) + " data-v-
|
|
3786
|
+
}, _vm.frameKeywords]) + " data-v-35393bbc>", "</div>", [_vm._ssrNode(_vm._ssrList(frame.containers, function (container) {
|
|
3787
3787
|
return "<div" + _vm._ssrClass("wf-frame-container", [container.containerType]) + _vm._ssrStyle(null, {
|
|
3788
3788
|
left: container.left + '%',
|
|
3789
3789
|
top: container.top + '%',
|
|
3790
3790
|
width: container.width + '%',
|
|
3791
3791
|
height: container.height + '%',
|
|
3792
3792
|
backgroundImage: 'url(\'' + container.url + '\')'
|
|
3793
|
-
}, null) + " data-v-
|
|
3793
|
+
}, null) + " data-v-35393bbc>" + (_vm.isVideo(container) ? "<video width=\"100%\" height=\"auto\"" + _vm._ssrAttr("src", container.url) + " muted=\"muted\" data-v-35393bbc></video>" : "<!---->") + " <div" + _vm._ssrClass("wf-qr", [container.containerType]) + _vm._ssrStyle(null, null, {
|
|
3794
3794
|
display: container.containerType.indexOf('qr') > -1 && _vm.qr != null ? '' : 'none'
|
|
3795
|
-
}) + " data-v-
|
|
3795
|
+
}) + " data-v-35393bbc>" + _vm._s(_vm.qr) + "</div></div>";
|
|
3796
3796
|
}) + " "), _vm._t("default", null, {
|
|
3797
3797
|
"frame": frame
|
|
3798
3798
|
})], 2);
|
|
@@ -3804,8 +3804,8 @@ var __vue_staticRenderFns__$5 = [];
|
|
|
3804
3804
|
|
|
3805
3805
|
var __vue_inject_styles__$5 = function __vue_inject_styles__(inject) {
|
|
3806
3806
|
if (!inject) return;
|
|
3807
|
-
inject("data-v-
|
|
3808
|
-
source: ".wf-banner[data-v-
|
|
3807
|
+
inject("data-v-35393bbc_0", {
|
|
3808
|
+
source: ".wf-banner[data-v-35393bbc]{position:relative;width:100%;height:100%}.wf-banner .wf-frame[data-v-35393bbc]{width:100%;height:100%;position:absolute;background-size:cover;background-position:50% 50%;background-repeat:no-repeat;left:0;top:0;opacity:0;transition:opacity .5s ease-in-out}.wf-banner .wf-frame .wf-frame-container[data-v-35393bbc]{background-size:cover;background-position:50% 50%;background-repeat:no-repeat}.wf-banner .wf-frame.wf-active[data-v-35393bbc]{opacity:1;transition:opacity .5s ease-in-out}.wf-banner .wf-frame video[data-v-35393bbc]{position:relative;top:50%;transform:translateY(-50%)}",
|
|
3809
3809
|
map: undefined,
|
|
3810
3810
|
media: undefined
|
|
3811
3811
|
});
|
|
@@ -3813,10 +3813,10 @@ var __vue_inject_styles__$5 = function __vue_inject_styles__(inject) {
|
|
|
3813
3813
|
/* scoped */
|
|
3814
3814
|
|
|
3815
3815
|
|
|
3816
|
-
var __vue_scope_id__$5 = "data-v-
|
|
3816
|
+
var __vue_scope_id__$5 = "data-v-35393bbc";
|
|
3817
3817
|
/* module identifier */
|
|
3818
3818
|
|
|
3819
|
-
var __vue_module_identifier__$5 = "data-v-
|
|
3819
|
+
var __vue_module_identifier__$5 = "data-v-35393bbc";
|
|
3820
3820
|
/* functional template */
|
|
3821
3821
|
|
|
3822
3822
|
var __vue_is_functional_template__$5 = false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@3dwayfinder/wayfinder-vue-components",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.16",
|
|
4
4
|
"description": "VueJS UI components for 3D Wayfinder floor plans",
|
|
5
5
|
"main": "dist/wayfinder-vue-components.ssr.js",
|
|
6
6
|
"browser": "dist/wayfinder-vue-components.esm.js",
|
|
@@ -50,8 +50,8 @@ export default {
|
|
|
50
50
|
banners () {
|
|
51
51
|
let now = Date.now();
|
|
52
52
|
|
|
53
|
-
if (this.template && this.container && this.banners['template-' + this.template] && this.banners['template-' + this.template][this.container]) {
|
|
54
|
-
this.frames = this.banners['template-' + this.template][this.container].filter((frame) => {
|
|
53
|
+
if (this.template && this.container && this.banners['template-' + this.template.toLowerCase()] && this.banners['template-' + this.template.toLowerCase()][this.container]) {
|
|
54
|
+
this.frames = this.banners['template-' + this.template.toLowerCase()][this.container].filter((frame) => {
|
|
55
55
|
let enabled = frame.enabled;
|
|
56
56
|
|
|
57
57
|
if (enabled && frame.from_date) {
|
|
@@ -119,7 +119,7 @@ export default {
|
|
|
119
119
|
if (this.parent > -1 && parseInt(topic.parent_id) == this.parent) {
|
|
120
120
|
arr.push(topic);
|
|
121
121
|
}
|
|
122
|
-
else if (this.parent === -1 && topic.parent_id === null) {
|
|
122
|
+
else if (this.parent === -1 && (topic.parent_id === null || topic.parent_id == 0)) {
|
|
123
123
|
arr.push(topic);
|
|
124
124
|
}
|
|
125
125
|
}
|