@expofp/floorplan 3.0.0-alpha.10 → 3.0.0-alpha.12

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.
Files changed (144) hide show
  1. package/dist/browser/{Debug-BGF41rXu.js → Debug-DfbBpzaA.js} +2 -2
  2. package/dist/browser/{Demo-BrPx_J5D.js → Demo-9nX3Ze8t.js} +3 -3
  3. package/dist/browser/{Free-CKUe-HME.js → Free-CcNlU68J.js} +3 -3
  4. package/dist/browser/{Gallery-DObanysV.js → Gallery-BZojDfZ5.js} +3 -3
  5. package/dist/browser/{GpsLoader-DG4eTFey.js → GpsLoader-DtvpmRK_.js} +3 -3
  6. package/dist/browser/KioskStore-9CgKZ7_Y.js +216 -0
  7. package/dist/browser/{Mapbox-DYPXhDbE.js → Mapbox-DNt1naKj.js} +4 -4
  8. package/dist/browser/{SetKioskMode-CVHaNTJA.js → SetKioskMode-D-4L7JoE.js} +4 -4
  9. package/dist/browser/{ShowKiosk-DWrKae-X.js → ShowKiosk-ULNAsz__.js} +3 -3
  10. package/dist/browser/{ThreeComponent-BHyMRhbK.js → ThreeComponent-BStWIWLA.js} +4 -4
  11. package/dist/browser/{boolean-editor-CAqnfiK8.js → boolean-editor-CSqyOu_X.js} +3 -3
  12. package/dist/browser/bundle.json +26 -29
  13. package/dist/browser/{client-BD3CUDfs.js → client-Ca3SQ9bO.js} +2 -2
  14. package/dist/browser/{data-BybaFPM_.js → data-BiWncDmi.js} +2 -2
  15. package/dist/browser/{debug-overlay-B7Y95oUy.js → debug-overlay-CzQ4hWUN.js} +4 -4
  16. package/dist/browser/{debug-ui-LqMFZltk.js → debug-ui-DMGPYlVK.js} +3 -3
  17. package/dist/browser/{fetch-retry.umd-B-1h1K-1.js → fetch-retry.umd-CYEtSlH7.js} +1 -1
  18. package/dist/browser/{flex-D6Z-8vET.js → flex-BFGvV1iS.js} +2 -2
  19. package/dist/browser/{floorplan.ready-BKm4W0PM.js → floorplan.ready-BrEhyuTm.js} +19050 -18909
  20. package/dist/browser/{index-Ft1QAc66.js → index-BC6Y3-P3.js} +1 -1
  21. package/dist/browser/{index-B3N1nXdW.js → index-BeFIoJ6b.js} +2 -2
  22. package/dist/browser/{index-BejLpHKw.js → index-BqB89tei.js} +3 -3
  23. package/dist/browser/{index-DZpYGOZi.js → index-BuqxEypR.js} +4 -4
  24. package/dist/browser/{index-D0rE2o5K.js → index-DGktAn6-.js} +1 -1
  25. package/dist/browser/{index-BlQ8_wWj.js → index-Du62yX73.js} +2 -2
  26. package/dist/browser/index-k8Qo-0Dy.js +10220 -0
  27. package/dist/browser/index.js +1 -1
  28. package/dist/browser/{particles.min-BJIwccE3.js → particles.min-Bo4ztMtY.js} +1 -1
  29. package/dist/esm/_misc_to_move/manifest.d.ts +13 -0
  30. package/dist/esm/_misc_to_move/ref.d.ts +6 -0
  31. package/dist/esm/_misc_to_move/ref.js +1 -0
  32. package/dist/esm/components/Bookmarks.d.ts +0 -1
  33. package/dist/esm/components/Bookmarks.js +1 -1
  34. package/dist/esm/components/Kiosk/KioskStore.d.ts +3 -3
  35. package/dist/esm/components/Kiosk/KioskStore.js +1 -1
  36. package/dist/esm/components/Map/Map.d.ts +0 -23
  37. package/dist/esm/components/Map/Map.js +1 -1
  38. package/dist/esm/components/Map/drawing/config/TextFitter.d.ts +1 -1
  39. package/dist/esm/components/Map/drawing/config/config-all.d.ts +2 -3
  40. package/dist/esm/components/Map/drawing/config/config-all.js +1 -1
  41. package/dist/esm/components/Map/drawing/config/config-bg.d.ts +1 -1
  42. package/dist/esm/components/Map/drawing/config/config-bg.js +1 -1
  43. package/dist/esm/components/Map/drawing/config/config-booth-bg.d.ts +5 -5
  44. package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
  45. package/dist/esm/components/Map/drawing/config/config-booth-bookmark.d.ts +5 -5
  46. package/dist/esm/components/Map/drawing/config/config-booth-bookmark.js +1 -1
  47. package/dist/esm/components/Map/drawing/config/config-booth-border.d.ts +3 -3
  48. package/dist/esm/components/Map/drawing/config/config-booth-border.js +1 -1
  49. package/dist/esm/components/Map/drawing/config/config-booth-labels-special.d.ts +6 -6
  50. package/dist/esm/components/Map/drawing/config/config-booth-labels-special.js +2 -2
  51. package/dist/esm/components/Map/drawing/config/config-booth-labels.d.ts +5 -5
  52. package/dist/esm/components/Map/drawing/config/config-booth-labels.js +1 -1
  53. package/dist/esm/components/Map/drawing/config/config-booth-scaled.d.ts +3 -3
  54. package/dist/esm/components/Map/drawing/config/config-booth-scaled.js +1 -1
  55. package/dist/esm/components/Map/drawing/config/config-booths.d.ts +2 -2
  56. package/dist/esm/components/Map/drawing/config/config-booths.js +1 -1
  57. package/dist/esm/components/Map/drawing/config/config-load-layer.d.ts +2 -2
  58. package/dist/esm/components/Map/drawing/config/config-load-layer.js +1 -1
  59. package/dist/esm/components/Map/drawing/config/config-markers.d.ts +2 -3
  60. package/dist/esm/components/Map/drawing/config/config-markers.js +1 -1
  61. package/dist/esm/components/Map/drawing/config/config-wf.d.ts +2 -3
  62. package/dist/esm/components/Map/drawing/config/config-wf.js +1 -1
  63. package/dist/esm/components/Map/drawing/config/loadBoothsImages.d.ts +2 -3
  64. package/dist/esm/components/Map/drawing/config/loadBoothsImages.js +1 -1
  65. package/dist/esm/components/Map/traffic/useBuildRoute.d.ts +3 -5
  66. package/dist/esm/components/Map/traffic/useBuildRoute.js +6 -6
  67. package/dist/esm/components/Map/traffic/useManageTraffic.d.ts +3 -5
  68. package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
  69. package/dist/esm/components/Menu.js +1 -2
  70. package/dist/esm/components/SearchBox.js +1 -1
  71. package/dist/esm/components/SidebarActions.d.ts +3 -0
  72. package/dist/esm/components/SidebarActions.js +1 -1
  73. package/dist/esm/components/Wayfinding.js +1 -1
  74. package/dist/esm/data/tours.json +74 -0
  75. package/dist/esm/floorplan.loader.d.ts +3 -0
  76. package/dist/esm/floorplan.loader.js +1 -1
  77. package/dist/esm/floorplan.ready.d.ts +5 -2
  78. package/dist/esm/floorplan.ready.js +1 -1
  79. package/dist/esm/index.d.ts +0 -2
  80. package/dist/esm/index.js +1 -1
  81. package/dist/esm/load.d.ts +2 -1
  82. package/dist/esm/offline/offlineManager.js +1 -1
  83. package/dist/esm/renderer/HandlerRegistry.d.ts +18 -0
  84. package/dist/esm/renderer/HandlerRegistry.js +1 -0
  85. package/dist/esm/renderer/RendererService.d.ts +26 -0
  86. package/dist/esm/renderer/RendererService.js +1 -0
  87. package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/canvases.d.ts +1 -1
  88. package/dist/esm/renderer/engine-core/canvases.js +1 -0
  89. package/dist/esm/renderer/engine-core/fonts.js +1 -0
  90. package/dist/esm/renderer/engine-core/types.js +1 -0
  91. package/dist/esm/{components/Map/drawing/config/engine-core → renderer}/index.d.ts +10 -10
  92. package/dist/esm/renderer/index.js +1 -0
  93. package/dist/esm/store/BookmarksStore.d.ts +12 -0
  94. package/dist/esm/store/BookmarksStore.js +2 -0
  95. package/dist/esm/store/LayerStore.js +1 -1
  96. package/dist/esm/store/RootStore.d.ts +8 -8
  97. package/dist/esm/store/RootStore.js +1 -1
  98. package/dist/esm/store/RouteStore.js +1 -1
  99. package/dist/esm/store/SearchStore.d.ts +2 -0
  100. package/dist/esm/store/SearchStore.js +1 -1
  101. package/dist/esm/store/UIState.d.ts +6 -4
  102. package/dist/esm/store/UIState.js +1 -1
  103. package/dist/esm/store/init/index.js +1 -1
  104. package/dist/esm/store/init/init-bookmarks.d.ts +7 -0
  105. package/dist/esm/store/init/init-bookmarks.js +1 -0
  106. package/dist/esm/store/init/init-events.d.ts +1 -1
  107. package/dist/esm/store/init/init-events.js +1 -1
  108. package/dist/esm/store/init/init-exhibitors.d.ts +1 -1
  109. package/dist/esm/store/init/init-exhibitors.js +1 -1
  110. package/dist/esm/store/init/init-speakers.d.ts +1 -1
  111. package/dist/esm/store/init/init-speakers.js +1 -1
  112. package/dist/esm/store/types.d.ts +6 -0
  113. package/dist/esm/utils/mapEntity.js +1 -1
  114. package/dist/esm/utils/shortenName.js +1 -1
  115. package/dist/esm/utils/useRenderTarget.js +1 -1
  116. package/dist/esm/utils/wayfinding.d.ts +1 -1
  117. package/dist/esm/utils/wayfinding.js +1 -1
  118. package/package.json +3 -8
  119. package/dist/browser/KioskStore-BG54vG5v.js +0 -216
  120. package/dist/browser/index-DBxr4rdm.js +0 -12530
  121. package/dist/browser/sw.js +0 -2
  122. package/dist/esm/components/Map/drawing/config/engine-core/canvases.js +0 -1
  123. package/dist/esm/components/Map/drawing/config/engine-core/fonts.js +0 -1
  124. package/dist/esm/components/Map/drawing/config/engine-core/index.js +0 -1
  125. package/dist/esm/components/Map/drawing/config/engine-core/renderer.d.ts +0 -4
  126. package/dist/esm/components/Map/drawing/config/engine-core/renderer.js +0 -1
  127. package/dist/esm/expofp-debug.d.ts +0 -5
  128. package/dist/esm/expofp-debug.js +0 -1
  129. package/dist/esm/offline/sw.d.ts +0 -2
  130. package/dist/esm/offline/sw.js +0 -1
  131. package/dist/stats.html +0 -4950
  132. /package/dist/esm/{components/Map/drawing/config/engine-core/types.js → _misc_to_move/manifest.js} +0 -0
  133. /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/animation.d.ts +0 -0
  134. /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/animation.js +0 -0
  135. /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/defs.d.ts +0 -0
  136. /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/defs.js +0 -0
  137. /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/fonts.d.ts +0 -0
  138. /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/settings.d.ts +0 -0
  139. /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/settings.js +0 -0
  140. /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/types.d.ts +0 -0
  141. /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/update-def.d.ts +0 -0
  142. /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/update-def.js +0 -0
  143. /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/utils/rotation.d.ts +0 -0
  144. /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/utils/rotation.js +0 -0
@@ -1 +1 @@
1
- import{__esDecorate as s,__runInitializers as u}from"tslib";import{action as c,computed as l,observable as d}from"mobx";import{t as h}from"../utils/i18n";import p from"../data";import{exhibitorStore as oe}from"./index";import re from"../tools/settings";import{sanitizeSearch as le}from"../utils/sanitizeText";import{Route as S}from"./RouteStore";import{goBack as g}from"../services/routing";import{MOBILE_BREAKPOINT as ce}from"../constants";class r{static closeDetails(o){return o.details?(o.details=null,!0):!1}static closeMultiPointTour(o){return o.rootStore.fp.hidePathways(),!0}static clearSearchAndFocus(o){return o.searchText?(o.setSearchText(""),o.setFocused(!0),!0):!1}static returnToSearch(o,n=!1){o.list={type:"search",text:"",focused:n}}static returnToSessions(o,n=!1){o.list={type:"sessions",text:"",focused:n}}static returnToTours(o,n=!1){o.list={type:"tours",text:"",focused:n}}static openMenu(o){o.menu=!0}static closeMenu(o){o.menu=!1}static clearListScroll(o,n){o.clearListScroll(n)}static resetActiveListIndex(o){o.activeListIndex=-1}}let he=(()=>{let a=[],o,n=[],m=[],x,_=[],B=[],y,F=[],b=[],k,v=[],T=[],I,M,C,w,A,z,O,L,E,P,W,D,U,j,G,K,R,X,H,N,V,Y,$,q,J,Q,Z,ee,te,se,ae,ie;return class{static{const t=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;o=[d],x=[d],y=[d],k=[d],I=[l],M=[l],C=[l],w=[l],A=[l],z=[l],O=[l],L=[l],E=[l],P=[l],W=[l],D=[l],U=[l],j=[c],G=[c],K=[c],R=[c],X=[c],H=[c],N=[c],V=[c],Y=[c],$=[c],q=[c],J=[c],Q=[c],Z=[l],ee=[c],te=[l],se=[l],ae=[l],ie=[l],s(this,null,I,{kind:"getter",name:"searchBoxConfig",static:!1,private:!1,access:{has:e=>"searchBoxConfig"in e,get:e=>e.searchBoxConfig},metadata:t},null,a),s(this,null,M,{kind:"getter",name:"searchBoxMode",static:!1,private:!1,access:{has:e=>"searchBoxMode"in e,get:e=>e.searchBoxMode},metadata:t},null,a),s(this,null,C,{kind:"getter",name:"searchBoxTitle",static:!1,private:!1,access:{has:e=>"searchBoxTitle"in e,get:e=>e.searchBoxTitle},metadata:t},null,a),s(this,null,w,{kind:"getter",name:"searchBoxSubtitle",static:!1,private:!1,access:{has:e=>"searchBoxSubtitle"in e,get:e=>e.searchBoxSubtitle},metadata:t},null,a),s(this,null,A,{kind:"getter",name:"searchBoxBadge",static:!1,private:!1,access:{has:e=>"searchBoxBadge"in e,get:e=>e.searchBoxBadge},metadata:t},null,a),s(this,null,z,{kind:"getter",name:"searchBoxIcon",static:!1,private:!1,access:{has:e=>"searchBoxIcon"in e,get:e=>e.searchBoxIcon},metadata:t},null,a),s(this,null,O,{kind:"getter",name:"shouldShowSearchInput",static:!1,private:!1,access:{has:e=>"shouldShowSearchInput"in e,get:e=>e.shouldShowSearchInput},metadata:t},null,a),s(this,null,L,{kind:"getter",name:"shouldShowCloseButton",static:!1,private:!1,access:{has:e=>"shouldShowCloseButton"in e,get:e=>e.shouldShowCloseButton},metadata:t},null,a),s(this,null,E,{kind:"getter",name:"closeButtonAction",static:!1,private:!1,access:{has:e=>"closeButtonAction"in e,get:e=>e.closeButtonAction},metadata:t},null,a),s(this,null,P,{kind:"getter",name:"shouldShowShadow",static:!1,private:!1,access:{has:e=>"shouldShowShadow"in e,get:e=>e.shouldShowShadow},metadata:t},null,a),s(this,null,W,{kind:"getter",name:"placeholder",static:!1,private:!1,access:{has:e=>"placeholder"in e,get:e=>e.placeholder},metadata:t},null,a),s(this,null,D,{kind:"getter",name:"searchBoxClass",static:!1,private:!1,access:{has:e=>"searchBoxClass"in e,get:e=>e.searchBoxClass},metadata:t},null,a),s(this,null,U,{kind:"getter",name:"ariaLabel",static:!1,private:!1,access:{has:e=>"ariaLabel"in e,get:e=>e.ariaLabel},metadata:t},null,a),s(this,null,j,{kind:"method",name:"selectSearch",static:!1,private:!1,access:{has:e=>"selectSearch"in e,get:e=>e.selectSearch},metadata:t},null,a),s(this,null,G,{kind:"method",name:"selectSearchAndFocus",static:!1,private:!1,access:{has:e=>"selectSearchAndFocus"in e,get:e=>e.selectSearchAndFocus},metadata:t},null,a),s(this,null,K,{kind:"method",name:"setSearchText",static:!1,private:!1,access:{has:e=>"setSearchText"in e,get:e=>e.setSearchText},metadata:t},null,a),s(this,null,R,{kind:"method",name:"setFocused",static:!1,private:!1,access:{has:e=>"setFocused"in e,get:e=>e.setFocused},metadata:t},null,a),s(this,null,X,{kind:"method",name:"handleBackAction",static:!1,private:!1,access:{has:e=>"handleBackAction"in e,get:e=>e.handleBackAction},metadata:t},null,a),s(this,null,H,{kind:"method",name:"closeSearch",static:!1,private:!1,access:{has:e=>"closeSearch"in e,get:e=>e.closeSearch},metadata:t},null,a),s(this,null,N,{kind:"method",name:"clearActiveFilters",static:!1,private:!1,access:{has:e=>"clearActiveFilters"in e,get:e=>e.clearActiveFilters},metadata:t},null,a),s(this,null,V,{kind:"method",name:"handleSearchAction",static:!1,private:!1,access:{has:e=>"handleSearchAction"in e,get:e=>e.handleSearchAction},metadata:t},null,a),s(this,null,Y,{kind:"method",name:"openOverlayWithoutInputFocus",static:!1,private:!1,access:{has:e=>"openOverlayWithoutInputFocus"in e,get:e=>e.openOverlayWithoutInputFocus},metadata:t},null,a),s(this,null,$,{kind:"method",name:"closeSessions",static:!1,private:!1,access:{has:e=>"closeSessions"in e,get:e=>e.closeSessions},metadata:t},null,a),s(this,null,q,{kind:"method",name:"closeExhibitors",static:!1,private:!1,access:{has:e=>"closeExhibitors"in e,get:e=>e.closeExhibitors},metadata:t},null,a),s(this,null,J,{kind:"method",name:"resetSearchBox",static:!1,private:!1,access:{has:e=>"resetSearchBox"in e,get:e=>e.resetSearchBox},metadata:t},null,a),s(this,null,Q,{kind:"method",name:"syncWithUIState",static:!1,private:!1,access:{has:e=>"syncWithUIState"in e,get:e=>e.syncWithUIState},metadata:t},null,a),s(this,null,Z,{kind:"getter",name:"actionButtonIcon",static:!1,private:!1,access:{has:e=>"actionButtonIcon"in e,get:e=>e.actionButtonIcon},metadata:t},null,a),s(this,null,ee,{kind:"method",name:"clearAndSelectSearch",static:!1,private:!1,access:{has:e=>"clearAndSelectSearch"in e,get:e=>e.clearAndSelectSearch},metadata:t},null,a),s(this,null,te,{kind:"getter",name:"backMode",static:!1,private:!1,access:{has:e=>"backMode"in e,get:e=>e.backMode},metadata:t},null,a),s(this,null,se,{kind:"getter",name:"isMobileDetailsMode",static:!1,private:!1,access:{has:e=>"isMobileDetailsMode"in e,get:e=>e.isMobileDetailsMode},metadata:t},null,a),s(this,null,ae,{kind:"getter",name:"shouldShowTitle",static:!1,private:!1,access:{has:e=>"shouldShowTitle"in e,get:e=>e.shouldShowTitle},metadata:t},null,a),s(this,null,ie,{kind:"getter",name:"searchState",static:!1,private:!1,access:{has:e=>"searchState"in e,get:e=>e.searchState},metadata:t},null,a),s(null,null,o,{kind:"field",name:"searchText",static:!1,private:!1,access:{has:e=>"searchText"in e,get:e=>e.searchText,set:(e,i)=>{e.searchText=i}},metadata:t},n,m),s(null,null,x,{kind:"field",name:"isFocused",static:!1,private:!1,access:{has:e=>"isFocused"in e,get:e=>e.isFocused,set:(e,i)=>{e.isFocused=i}},metadata:t},_,B),s(null,null,y,{kind:"field",name:"isClearMode",static:!1,private:!1,access:{has:e=>"isClearMode"in e,get:e=>e.isClearMode,set:(e,i)=>{e.isClearMode=i}},metadata:t},F,b),s(null,null,k,{kind:"field",name:"skipInputFocus",static:!1,private:!1,access:{has:e=>"skipInputFocus"in e,get:e=>e.skipInputFocus,set:(e,i)=>{e.skipInputFocus=i}},metadata:t},v,T),t&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}rootStore=u(this,a);searchText=u(this,n,"");isFocused=(u(this,m),u(this,_,!1));isClearMode=(u(this,B),u(this,F,!1));skipInputFocus=(u(this,b),u(this,v,!1));constructor(t){u(this,T),this.rootStore=t}get uiState(){return this.rootStore.uiState}get searchBoxConfig(){return this.uiState.searchBoxConfig}get searchBoxMode(){return this.searchBoxConfig.mode}get searchBoxTitle(){return this.searchBoxConfig.title}get searchBoxSubtitle(){return this.searchBoxConfig.subtitle}get searchBoxBadge(){return this.searchBoxConfig.badge}get searchBoxIcon(){return this.searchBoxConfig.icon}get shouldShowSearchInput(){return this.searchBoxMode==="search"}get shouldShowCloseButton(){const{menu:t,details:e,list:i}=this.uiState;return!this.shouldShowSearchInput||i.type==="sessions"||i.type==="tours"||i.type==="speakers"||i.type==="exhibitors"?!0:t||e!==null||!!this.searchText||this.isClearMode||this.isFocused}get closeButtonAction(){return!this.shouldShowSearchInput||this.searchBoxMode==="details"||this.uiState.list.type==="sessions"||this.uiState.list.type==="speakers"||this.uiState.list.type==="exhibitors"?"close":this.searchText?"clear":"close"}get shouldShowShadow(){const{menu:t,details:e,list:i}=this.uiState,f=i.type==="search"&&!!i.text;return!(this.rootStore.fp.alwaysShowSidebar||t||e!==null||i.type!=="search"||f||this.isFocused||this.uiState.heatmap)}get placeholder(){const{list:t,heatmapYah:e}=this.uiState,i=this.rootStore.languageStore.language;if(t.type==="sessions")return h("Search sessions",{lng:i.id});if(t.type==="tours")return h("Search Guided Tours",{lng:i.id});if(t.type==="exhibitors")return h("Search exhibitors",{lng:i.id});if(t.type==="speakers")return h("Search speakers",{lng:i.id});if(re.EXPO.startsWith("lenzerheidemotorclassics"))return"SUCHE";if(re.EXPO.startsWith("jetlag"))return"Search location or artist";if(e)return h("Find scans above",{lng:i.id});if(this.uiState.hasAppliedFilters)return h("Search",{lng:i.id});const f=p.boothTerm.toLowerCase();return!p.searchText&&oe.exhibitors.length===0?h("Search {{boothTerm}}",{boothTerm:f,lng:i.id}):p.searchText||h("Search",{lng:i.id})}get searchBoxClass(){return{"is-details":this.searchBoxMode==="details"&&!(this.uiState.details instanceof S),"is-interface":this.searchBoxMode==="interface","has-shadow":this.shouldShowShadow,"has-subtitle":!!this.searchBoxConfig.subtitle,"has-badge":!!this.searchBoxConfig.badge,"has-icon":!!this.searchBoxConfig.icon,"is-overlay-full":this.uiState.isOverlayOpen&&this.uiState.overlaySize==="full","is-featured-exhibitor":this.uiState.isFeaturedExhibitorActive,"is-route":this.uiState.details instanceof S,"is-guided-tours":this.uiState.isGuidedToursActive,"is-overlay-scrolled":this.uiState.isOverlayScrolled,"overlay-pulse":this.uiState.kiosk&&this.uiState.inIdle&&!this.uiState.setKioskModeEnabled}}get ariaLabel(){return!this.shouldShowSearchInput||this.searchBoxMode==="details"?h("Close"):this.searchText?h("Clear search"):h("Close")}selectSearch(t){window.__resett&&window.__resett(),this.uiState.details=null;const e=le(t||"",Object.keys(this.uiState.mapSettings).map(i=>`${i}=`));this.setSearchText(e),this.uiState.activeListIndex=-1}selectSearchAndFocus(t){this.selectSearch(t),this.setFocused(!0)}setSearchText(t){this.searchText=t,this.uiState.hasAppliedFilters?this.rootStore.moveToList():this.uiState.centerMap=!0,this.uiState.activeListIndex=t?0:-1,this.uiState.list.type!=="sessions"&&this.uiState.list.type!=="tours"&&this.uiState.list.type!=="speakers"&&this.uiState.list.type!=="exhibitors"?this.uiState.list={type:"search",text:t,focused:this.isFocused}:this.uiState.list.type==="exhibitors"&&(this.uiState.list={type:"exhibitors",text:t,focused:this.isFocused}),this.uiState.searchClearMode=this.isClearMode}setFocused(t){this.isFocused=t,this.isClearMode=!1,this.skipInputFocus=!1,this.uiState.searchFocused=t,this.uiState.searchClearMode=!1,this.uiState.desiredOverlaySize="full"}handleBackAction(){const{uiState:t}=this,{list:e}=t;if(t.desiredOverlaySize="full",e.type==="route-planner"){this.rootStore.routePlannerStore.close(),this.rootStore.selectBookmarks(),g();return}if(e.type==="multi-point-tour"&&!t.details){r.returnToTours(t,!1),this.rootStore.fp.hidePathways();return}if(t.details){t.details=null,g();return}if(t.menu){e.type==="sessions"?t.list={type:"sessions",text:"",focused:!0}:e.type==="exhibitors"?t.list={type:"exhibitors",text:"",focused:!0}:t.list={type:"search",text:"",focused:!0},this.setFocused(!0),this.isClearMode=!0,r.closeMenu(t);return}if(e.type==="tours"&&t.details instanceof S){t.details=null;return}if(e.type==="sessions"||e.type==="tours"||e.type==="exhibitors"||this.uiState.hasAppliedFilters){if(r.closeDetails(t))return;this.clearActiveFilters(),r.returnToSearch(t,!1),this.selectSearchAndFocus();return}switch(e.type){case"filter":t.details=null;return;case"multi-point-tour":this.rootStore.fp.hidePathways(),r.closeDetails(t)?r.returnToTours(t,!1):g();return;case"category":this.rootStore.selectCategory(e.category);return;case"speakers":if(r.closeDetails(t))return;r.returnToSessions(t,!1);return;case"bookmarks":case"visited":if(r.closeDetails(t))return;this.selectSearchAndFocus();return;case"language":r.returnToSearch(t,!1),r.openMenu(t);return}r.closeDetails(t)||r.clearSearchAndFocus(this)||r.openMenu(t)}closeSearch(){const{uiState:t}=this,{list:e}=t;if(e.type==="route-planner"){this.rootStore.routePlannerStore.close(),r.returnToSearch(t,!1),this.resetSearchBox();return}if(r.closeDetails(t),r.clearListScroll(t,e.type),r.closeMultiPointTour(t),e.type==="bookmarks"){r.returnToSearch(t,!1),this.resetSearchBox();return}if(t.selectedCategory){r.returnToSearch(t,!1),this.resetSearchBox();return}if(e.type==="sessions"){this.closeSessions();return}if(e.type==="exhibitors"){this.closeExhibitors();return}if(t.menu){r.closeMenu(t),this.resetSearchBox();return}if(this.searchBoxMode==="search"&&!t.details&&this.searchText){this.setSearchText(""),this.isClearMode=!0,this.clearActiveFilters();return}r.returnToSearch(t,!1),this.searchText="",this.resetSearchBox(),t.details=null,this.clearActiveFilters()}clearActiveFilters(){this.rootStore.searchButtonsStore.setPoiFilterId(null),this.rootStore.uiState.selectedPoiTypeFilters=[],this.rootStore.uiState.selectedCategoryFilters=[],this.rootStore.categoryFilterStore.state.selectedItems=[],this.rootStore.categoryFilterStore.state.pendingItems=[],this.rootStore.searchButtonsStore.searchShortcutState.activeParentId=null,this.rootStore.searchButtonsStore.searchShortcutState.activeChildren.clear(),this.rootStore.searchButtonsStore.searchShortcutState.isShortcutsVisible=!1,this.rootStore.urlFilterManager&&this.rootStore.urlFilterManager.isInitialized&&this.rootStore.urlFilterManager.clearAllFilters()}handleSearchAction(){this.isFocused||this.setFocused(!0)}openOverlayWithoutInputFocus(){this.skipInputFocus=!0,this.isFocused=!0,this.isClearMode=!1,this.uiState.searchFocused=!0,this.uiState.searchClearMode=!1,this.uiState.desiredOverlaySize="full"}closeSessions(){this.searchText="",r.returnToSearch(this.uiState,!1),this.uiState.details=null,r.resetActiveListIndex(this.uiState),this.uiState.selectedTrack=null,this.rootStore.searchButtonsStore.setSubButtonId(null),this.rootStore.searchButtonsStore.hideSubButtons()}closeExhibitors(){this.searchText="",r.returnToSearch(this.uiState,!1),this.uiState.details=null,r.resetActiveListIndex(this.uiState)}resetSearchBox(){this.setFocused(!1),this.isClearMode=!1,this.syncWithUIState()}syncWithUIState(){this.searchText=(this.uiState.list.type==="search"||this.uiState.list.type==="exhibitors")&&this.uiState.list.text||"",this.isFocused=this.uiState.searchFocused,this.isClearMode=this.uiState.searchClearMode}get actionButtonIcon(){return this.shouldShowSearchInput?this.shouldShowCloseButton?"icon-close":"icon-search":"icon-close"}clearAndSelectSearch(){this.selectSearch(""),this.setFocused(!1)}get backMode(){return this.uiState.list.type==="speakers"||this.uiState.list.type==="sessions"||this.uiState.list.type==="tours"||this.uiState.list.type==="exhibitors"||this.uiState.hasAppliedFilters?"back":this.shouldShowSearchInput&&!this.searchText?"menu":"back"}get isMobileDetailsMode(){return window.innerWidth<ce&&this.uiState.details!==null&&this.uiState.overlaySize==="full"&&!(this.uiState.details instanceof S)}get shouldShowTitle(){return!this.shouldShowSearchInput}get searchState(){return{text:this.searchText,isFocused:this.isFocused,isClearMode:this.isClearMode,mode:this.searchBoxMode,title:this.searchBoxConfig.title,subtitle:this.searchBoxConfig.subtitle,badge:this.searchBoxConfig.badge,icon:this.searchBoxConfig.icon}}}})();export default he;
1
+ import{__esDecorate as s,__runInitializers as u}from"tslib";import{action as c,computed as l,observable as d}from"mobx";import{t as h}from"../utils/i18n";import p from"../data";import{exhibitorStore as le}from"./index";import oe from"../tools/settings";import{sanitizeSearch as ce}from"../utils/sanitizeText";import{Route as S}from"./RouteStore";import{goBack as g}from"../services/routing";import{MOBILE_BREAKPOINT as he}from"../constants";class r{static closeDetails(o){return o.details?(o.details=null,!0):!1}static closeMultiPointTour(o){return o.rootStore.fp.hidePathways(),!0}static clearSearchAndFocus(o){return o.searchText?(o.setSearchText(""),o.setFocused(!0),!0):!1}static returnToSearch(o,n=!1){o.list={type:"search",text:"",focused:n}}static returnToSessions(o,n=!1){o.list={type:"sessions",text:"",focused:n}}static returnToTours(o,n=!1){o.list={type:"tours",text:"",focused:n}}static openMenu(o){o.menu=!0}static closeMenu(o){o.menu=!1}static clearListScroll(o,n){o.clearListScroll(n)}static resetActiveListIndex(o){o.activeListIndex=-1}}let ne=(()=>{let a=[],o,n=[],m=[],x,_=[],B=[],y,F=[],k=[],b,v=[],T=[],I,M,C,A,w,z,O,L,E,P,W,D,U,j,G,K,R,X,H,N,V,Y,$,q,J,Q,Z,ee,te,se,ae,ie,re;return class{static{const t=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;o=[d],x=[d],y=[d],b=[d],I=[l],M=[l],C=[l],A=[l],w=[l],z=[l],O=[l],L=[l],E=[l],P=[l],W=[l],D=[l],U=[l],j=[l],G=[c],K=[c],R=[c],X=[c],H=[c],N=[c],V=[c],Y=[c],$=[c],q=[c],J=[c],Q=[c],Z=[c],ee=[l],te=[c],se=[l],ae=[l],ie=[l],re=[l],s(this,null,I,{kind:"getter",name:"searchBoxConfig",static:!1,private:!1,access:{has:e=>"searchBoxConfig"in e,get:e=>e.searchBoxConfig},metadata:t},null,a),s(this,null,M,{kind:"getter",name:"searchBoxMode",static:!1,private:!1,access:{has:e=>"searchBoxMode"in e,get:e=>e.searchBoxMode},metadata:t},null,a),s(this,null,C,{kind:"getter",name:"searchBoxTitle",static:!1,private:!1,access:{has:e=>"searchBoxTitle"in e,get:e=>e.searchBoxTitle},metadata:t},null,a),s(this,null,A,{kind:"getter",name:"searchBoxSubtitle",static:!1,private:!1,access:{has:e=>"searchBoxSubtitle"in e,get:e=>e.searchBoxSubtitle},metadata:t},null,a),s(this,null,w,{kind:"getter",name:"searchBoxBadge",static:!1,private:!1,access:{has:e=>"searchBoxBadge"in e,get:e=>e.searchBoxBadge},metadata:t},null,a),s(this,null,z,{kind:"getter",name:"searchBoxIcon",static:!1,private:!1,access:{has:e=>"searchBoxIcon"in e,get:e=>e.searchBoxIcon},metadata:t},null,a),s(this,null,O,{kind:"getter",name:"searchBoxActions",static:!1,private:!1,access:{has:e=>"searchBoxActions"in e,get:e=>e.searchBoxActions},metadata:t},null,a),s(this,null,L,{kind:"getter",name:"shouldShowSearchInput",static:!1,private:!1,access:{has:e=>"shouldShowSearchInput"in e,get:e=>e.shouldShowSearchInput},metadata:t},null,a),s(this,null,E,{kind:"getter",name:"shouldShowCloseButton",static:!1,private:!1,access:{has:e=>"shouldShowCloseButton"in e,get:e=>e.shouldShowCloseButton},metadata:t},null,a),s(this,null,P,{kind:"getter",name:"closeButtonAction",static:!1,private:!1,access:{has:e=>"closeButtonAction"in e,get:e=>e.closeButtonAction},metadata:t},null,a),s(this,null,W,{kind:"getter",name:"shouldShowShadow",static:!1,private:!1,access:{has:e=>"shouldShowShadow"in e,get:e=>e.shouldShowShadow},metadata:t},null,a),s(this,null,D,{kind:"getter",name:"placeholder",static:!1,private:!1,access:{has:e=>"placeholder"in e,get:e=>e.placeholder},metadata:t},null,a),s(this,null,U,{kind:"getter",name:"searchBoxClass",static:!1,private:!1,access:{has:e=>"searchBoxClass"in e,get:e=>e.searchBoxClass},metadata:t},null,a),s(this,null,j,{kind:"getter",name:"ariaLabel",static:!1,private:!1,access:{has:e=>"ariaLabel"in e,get:e=>e.ariaLabel},metadata:t},null,a),s(this,null,G,{kind:"method",name:"selectSearch",static:!1,private:!1,access:{has:e=>"selectSearch"in e,get:e=>e.selectSearch},metadata:t},null,a),s(this,null,K,{kind:"method",name:"selectSearchAndFocus",static:!1,private:!1,access:{has:e=>"selectSearchAndFocus"in e,get:e=>e.selectSearchAndFocus},metadata:t},null,a),s(this,null,R,{kind:"method",name:"setSearchText",static:!1,private:!1,access:{has:e=>"setSearchText"in e,get:e=>e.setSearchText},metadata:t},null,a),s(this,null,X,{kind:"method",name:"setFocused",static:!1,private:!1,access:{has:e=>"setFocused"in e,get:e=>e.setFocused},metadata:t},null,a),s(this,null,H,{kind:"method",name:"handleBackAction",static:!1,private:!1,access:{has:e=>"handleBackAction"in e,get:e=>e.handleBackAction},metadata:t},null,a),s(this,null,N,{kind:"method",name:"closeSearch",static:!1,private:!1,access:{has:e=>"closeSearch"in e,get:e=>e.closeSearch},metadata:t},null,a),s(this,null,V,{kind:"method",name:"clearActiveFilters",static:!1,private:!1,access:{has:e=>"clearActiveFilters"in e,get:e=>e.clearActiveFilters},metadata:t},null,a),s(this,null,Y,{kind:"method",name:"handleSearchAction",static:!1,private:!1,access:{has:e=>"handleSearchAction"in e,get:e=>e.handleSearchAction},metadata:t},null,a),s(this,null,$,{kind:"method",name:"openOverlayWithoutInputFocus",static:!1,private:!1,access:{has:e=>"openOverlayWithoutInputFocus"in e,get:e=>e.openOverlayWithoutInputFocus},metadata:t},null,a),s(this,null,q,{kind:"method",name:"closeSessions",static:!1,private:!1,access:{has:e=>"closeSessions"in e,get:e=>e.closeSessions},metadata:t},null,a),s(this,null,J,{kind:"method",name:"closeExhibitors",static:!1,private:!1,access:{has:e=>"closeExhibitors"in e,get:e=>e.closeExhibitors},metadata:t},null,a),s(this,null,Q,{kind:"method",name:"resetSearchBox",static:!1,private:!1,access:{has:e=>"resetSearchBox"in e,get:e=>e.resetSearchBox},metadata:t},null,a),s(this,null,Z,{kind:"method",name:"syncWithUIState",static:!1,private:!1,access:{has:e=>"syncWithUIState"in e,get:e=>e.syncWithUIState},metadata:t},null,a),s(this,null,ee,{kind:"getter",name:"actionButtonIcon",static:!1,private:!1,access:{has:e=>"actionButtonIcon"in e,get:e=>e.actionButtonIcon},metadata:t},null,a),s(this,null,te,{kind:"method",name:"clearAndSelectSearch",static:!1,private:!1,access:{has:e=>"clearAndSelectSearch"in e,get:e=>e.clearAndSelectSearch},metadata:t},null,a),s(this,null,se,{kind:"getter",name:"backMode",static:!1,private:!1,access:{has:e=>"backMode"in e,get:e=>e.backMode},metadata:t},null,a),s(this,null,ae,{kind:"getter",name:"isMobileDetailsMode",static:!1,private:!1,access:{has:e=>"isMobileDetailsMode"in e,get:e=>e.isMobileDetailsMode},metadata:t},null,a),s(this,null,ie,{kind:"getter",name:"shouldShowTitle",static:!1,private:!1,access:{has:e=>"shouldShowTitle"in e,get:e=>e.shouldShowTitle},metadata:t},null,a),s(this,null,re,{kind:"getter",name:"searchState",static:!1,private:!1,access:{has:e=>"searchState"in e,get:e=>e.searchState},metadata:t},null,a),s(null,null,o,{kind:"field",name:"searchText",static:!1,private:!1,access:{has:e=>"searchText"in e,get:e=>e.searchText,set:(e,i)=>{e.searchText=i}},metadata:t},n,m),s(null,null,x,{kind:"field",name:"isFocused",static:!1,private:!1,access:{has:e=>"isFocused"in e,get:e=>e.isFocused,set:(e,i)=>{e.isFocused=i}},metadata:t},_,B),s(null,null,y,{kind:"field",name:"isClearMode",static:!1,private:!1,access:{has:e=>"isClearMode"in e,get:e=>e.isClearMode,set:(e,i)=>{e.isClearMode=i}},metadata:t},F,k),s(null,null,b,{kind:"field",name:"skipInputFocus",static:!1,private:!1,access:{has:e=>"skipInputFocus"in e,get:e=>e.skipInputFocus,set:(e,i)=>{e.skipInputFocus=i}},metadata:t},v,T),t&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}rootStore=u(this,a);searchText=u(this,n,"");isFocused=(u(this,m),u(this,_,!1));isClearMode=(u(this,B),u(this,F,!1));skipInputFocus=(u(this,k),u(this,v,!1));constructor(t){u(this,T),this.rootStore=t}get uiState(){return this.rootStore.uiState}get searchBoxConfig(){return this.uiState.searchBoxConfig}get searchBoxMode(){return this.searchBoxConfig.mode}get searchBoxTitle(){return this.searchBoxConfig.title}get searchBoxSubtitle(){return this.searchBoxConfig.subtitle}get searchBoxBadge(){return this.searchBoxConfig.badge}get searchBoxIcon(){return this.searchBoxConfig.icon}get searchBoxActions(){return this.uiState.searchBoxActions}get shouldShowSearchInput(){return this.searchBoxMode==="search"}get shouldShowCloseButton(){const{menu:t,details:e,list:i}=this.uiState;return!this.shouldShowSearchInput||i.type==="sessions"||i.type==="tours"||i.type==="speakers"||i.type==="exhibitors"?!0:t||e!==null||!!this.searchText||this.isClearMode||this.isFocused}get closeButtonAction(){return!this.shouldShowSearchInput||this.searchBoxMode==="details"||this.uiState.list.type==="sessions"||this.uiState.list.type==="speakers"||this.uiState.list.type==="exhibitors"?"close":this.searchText?"clear":"close"}get shouldShowShadow(){const{menu:t,details:e,list:i}=this.uiState,f=i.type==="search"&&!!i.text;return!(this.rootStore.fp.alwaysShowSidebar||t||e!==null||i.type!=="search"||f||this.isFocused||this.uiState.heatmap)}get placeholder(){const{list:t,heatmapYah:e}=this.uiState,i=this.rootStore.languageStore.language;if(t.type==="sessions")return h("Search sessions",{lng:i.id});if(t.type==="tours")return h("Search Guided Tours",{lng:i.id});if(t.type==="exhibitors")return h("Search exhibitors",{lng:i.id});if(t.type==="speakers")return h("Search speakers",{lng:i.id});if(oe.EXPO.startsWith("lenzerheidemotorclassics"))return"SUCHE";if(oe.EXPO.startsWith("jetlag"))return"Search location or artist";if(e)return h("Find scans above",{lng:i.id});if(this.uiState.hasAppliedFilters)return h("Search",{lng:i.id});const f=p.boothTerm.toLowerCase();return!p.searchText&&le.exhibitors.length===0?h("Search {{boothTerm}}",{boothTerm:f,lng:i.id}):p.searchText||h("Search",{lng:i.id})}get searchBoxClass(){return{"is-details":this.searchBoxMode==="details"&&!(this.uiState.details instanceof S),"is-interface":this.searchBoxMode==="interface","has-shadow":this.shouldShowShadow,"has-subtitle":!!this.searchBoxConfig.subtitle,"has-badge":!!this.searchBoxConfig.badge,"has-icon":!!this.searchBoxConfig.icon,"is-overlay-full":this.uiState.isOverlayOpen&&this.uiState.overlaySize==="full","is-featured-exhibitor":this.uiState.isFeaturedExhibitorActive,"is-route":this.uiState.details instanceof S,"is-guided-tours":this.uiState.isGuidedToursActive,"is-overlay-scrolled":this.uiState.isOverlayScrolled,"overlay-pulse":this.uiState.kiosk&&this.uiState.inIdle&&!this.uiState.setKioskModeEnabled}}get ariaLabel(){return!this.shouldShowSearchInput||this.searchBoxMode==="details"?h("Close"):this.searchText?h("Clear search"):h("Close")}selectSearch(t){window.__resett&&window.__resett(),this.uiState.details=null;const e=ce(t||"",Object.keys(this.uiState.mapSettings).map(i=>`${i}=`));this.setSearchText(e),this.uiState.activeListIndex=-1}selectSearchAndFocus(t){this.selectSearch(t),this.setFocused(!0)}setSearchText(t){this.searchText=t,this.uiState.hasAppliedFilters?this.rootStore.moveToList():this.uiState.centerMap=!0,this.uiState.activeListIndex=t?0:-1,this.uiState.list.type!=="sessions"&&this.uiState.list.type!=="tours"&&this.uiState.list.type!=="speakers"&&this.uiState.list.type!=="exhibitors"?this.uiState.list={type:"search",text:t,focused:this.isFocused}:this.uiState.list.type==="exhibitors"&&(this.uiState.list={type:"exhibitors",text:t,focused:this.isFocused}),this.uiState.searchClearMode=this.isClearMode}setFocused(t){this.isFocused=t,this.isClearMode=!1,this.skipInputFocus=!1,this.uiState.searchFocused=t,this.uiState.searchClearMode=!1,this.uiState.desiredOverlaySize="full"}handleBackAction(){const{uiState:t}=this,{list:e}=t;if(t.desiredOverlaySize="full",e.type==="route-planner"){this.rootStore.routePlannerStore.close(),this.rootStore.selectBookmarks(),g();return}if(e.type==="multi-point-tour"&&!t.details){r.returnToTours(t,!1),this.rootStore.fp.hidePathways();return}if(t.details){t.details=null,g();return}if(t.menu){e.type==="sessions"?t.list={type:"sessions",text:"",focused:!0}:e.type==="exhibitors"?t.list={type:"exhibitors",text:"",focused:!0}:t.list={type:"search",text:"",focused:!0},this.setFocused(!0),this.isClearMode=!0,r.closeMenu(t);return}if(e.type==="tours"&&t.details instanceof S){t.details=null;return}if(e.type==="sessions"||e.type==="tours"||e.type==="exhibitors"||this.uiState.hasAppliedFilters){if(r.closeDetails(t))return;this.clearActiveFilters(),r.returnToSearch(t,!1),this.selectSearchAndFocus();return}switch(e.type){case"filter":t.details=null;return;case"multi-point-tour":this.rootStore.fp.hidePathways(),r.closeDetails(t)?r.returnToTours(t,!1):g();return;case"category":this.rootStore.selectCategory(e.category);return;case"speakers":if(r.closeDetails(t))return;r.returnToSessions(t,!1);return;case"bookmarks":case"visited":if(r.closeDetails(t))return;this.selectSearchAndFocus();return;case"language":r.returnToSearch(t,!1),r.openMenu(t);return}r.closeDetails(t)||r.clearSearchAndFocus(this)||r.openMenu(t)}closeSearch(){const{uiState:t}=this,{list:e}=t;if(e.type==="route-planner"){this.rootStore.routePlannerStore.close(),r.returnToSearch(t,!1),this.resetSearchBox();return}if(r.closeDetails(t),r.clearListScroll(t,e.type),r.closeMultiPointTour(t),e.type==="bookmarks"){r.returnToSearch(t,!1),this.resetSearchBox();return}if(t.selectedCategory){r.returnToSearch(t,!1),this.resetSearchBox();return}if(e.type==="sessions"){this.closeSessions();return}if(e.type==="exhibitors"){this.closeExhibitors();return}if(t.menu){r.closeMenu(t),this.resetSearchBox();return}if(this.searchBoxMode==="search"&&!t.details&&this.searchText){this.setSearchText(""),this.isClearMode=!0,this.clearActiveFilters();return}r.returnToSearch(t,!1),this.searchText="",this.resetSearchBox(),t.details=null,this.clearActiveFilters()}clearActiveFilters(){this.rootStore.searchButtonsStore.setPoiFilterId(null),this.rootStore.uiState.selectedPoiTypeFilters=[],this.rootStore.uiState.selectedCategoryFilters=[],this.rootStore.categoryFilterStore.state.selectedItems=[],this.rootStore.categoryFilterStore.state.pendingItems=[],this.rootStore.searchButtonsStore.searchShortcutState.activeParentId=null,this.rootStore.searchButtonsStore.searchShortcutState.activeChildren.clear(),this.rootStore.searchButtonsStore.searchShortcutState.isShortcutsVisible=!1,this.rootStore.urlFilterManager&&this.rootStore.urlFilterManager.isInitialized&&this.rootStore.urlFilterManager.clearAllFilters()}handleSearchAction(){this.isFocused||this.setFocused(!0)}openOverlayWithoutInputFocus(){this.skipInputFocus=!0,this.isFocused=!0,this.isClearMode=!1,this.uiState.searchFocused=!0,this.uiState.searchClearMode=!1,this.uiState.desiredOverlaySize="full"}closeSessions(){this.searchText="",r.returnToSearch(this.uiState,!1),this.uiState.details=null,r.resetActiveListIndex(this.uiState),this.uiState.selectedTrack=null,this.rootStore.searchButtonsStore.setSubButtonId(null),this.rootStore.searchButtonsStore.hideSubButtons()}closeExhibitors(){this.searchText="",r.returnToSearch(this.uiState,!1),this.uiState.details=null,r.resetActiveListIndex(this.uiState)}resetSearchBox(){this.setFocused(!1),this.isClearMode=!1,this.syncWithUIState()}syncWithUIState(){this.searchText=(this.uiState.list.type==="search"||this.uiState.list.type==="exhibitors")&&this.uiState.list.text||"",this.isFocused=this.uiState.searchFocused,this.isClearMode=this.uiState.searchClearMode}get actionButtonIcon(){return this.shouldShowSearchInput?this.shouldShowCloseButton?"icon-close":"icon-search":"icon-close"}clearAndSelectSearch(){this.selectSearch(""),this.setFocused(!1)}get backMode(){return this.uiState.list.type==="speakers"||this.uiState.list.type==="sessions"||this.uiState.list.type==="tours"||this.uiState.list.type==="exhibitors"||this.uiState.hasAppliedFilters?"back":this.shouldShowSearchInput&&!this.searchText?"menu":"back"}get isMobileDetailsMode(){return window.innerWidth<he&&this.uiState.details!==null&&this.uiState.overlaySize==="full"&&!(this.uiState.details instanceof S)}get shouldShowTitle(){return!this.shouldShowSearchInput}get searchState(){return{text:this.searchText,isFocused:this.isFocused,isClearMode:this.isClearMode,mode:this.searchBoxMode,title:this.searchBoxConfig.title,subtitle:this.searchBoxConfig.subtitle,badge:this.searchBoxConfig.badge,icon:this.searchBoxConfig.icon}}}})();export default ne;
@@ -1,14 +1,14 @@
1
1
  import Rect from "../core/Rect";
2
- import type Size from "../core/Size";
3
- import type { Booth } from "./BoothStore";
4
- import type { Category } from "./CategoryStore";
2
+ import Size from "../core/Size";
3
+ import { Booth } from "./BoothStore";
4
+ import { Category } from "./CategoryStore";
5
5
  import { Exhibitor } from "./ExhibitorStore";
6
6
  import { RawPoiType } from "../data/Data";
7
7
  import RootStore from "./RootStore";
8
8
  import { Route } from "./RouteStore";
9
9
  import { EventItem, Track } from "./EventStore";
10
10
  import { SpeakerItem } from "./SpeakerStore";
11
- import type { ListItem, ListType, MapSettings, OverlaySize, Visibility, BannerType } from "./types";
11
+ import type { ListItem, ListType, MapSettings, OverlaySize, Visibility, BannerType, InterfaceAction } from "./types";
12
12
  import { FuzzySearchResult } from "./FuzzySearchEngineStore";
13
13
  import { ReactNode } from "react";
14
14
  import { Kiosk } from "../components/Kiosk/SetKiosk";
@@ -25,6 +25,7 @@ interface InterfaceMetadata {
25
25
  badge?: string | number;
26
26
  icon?: string;
27
27
  } | null;
28
+ actions?: () => InterfaceAction[];
28
29
  }
29
30
  export default class UIState {
30
31
  private readonly rootStore;
@@ -213,6 +214,7 @@ export default class UIState {
213
214
  badge?: string | number;
214
215
  icon?: string;
215
216
  };
217
+ get searchBoxActions(): InterfaceAction[];
216
218
  get overlayInterfaceClasses(): string[];
217
219
  get isOverlayOpen(): boolean;
218
220
  setOverlayScrolled(isScrolled: boolean): void;
@@ -1 +1 @@
1
- import{__esDecorate as i,__runInitializers as a}from"tslib";import{action as f,computed as c,observable as o}from"mobx";import{uiState as M}from".";import{MAP_SETTINGS_KEY as Zl,PREVIEW_MODE_STORAGE_KEY as Wl,UI_SCALE_STORAGE_KEY as K,VISIBILITY_STORAGE_KEY as Hl}from"../constants";import Xl from"../tools/logger";import Jl from"../core/Rect";import B from"../data";import{svgArea as ql}from"../data/svg";import{hasUserConsent as er}from"../tools/gtag";import U from"../tools/settings";import{remsToPixels as H}from"../utils";import Nl from"../utils/browser";import{getLanguage as N}from"../utils/i18n";import{isLocalStorageAvailable as w}from"../utils/localStorage";import{getResponsiveClass as tr}from"../utils/responsiveClass";import{BoothBase as R,RegularBooth as T,SpecialBooth as G}from"./BoothStore";import{Exhibitor as x}from"./ExhibitorStore";import{Route as D,findEntityByExternalId as sr}from"./RouteStore";import{EventItem as L}from"./EventStore";import{SpeakerItem as Vl}from"./SpeakerStore";import{sanitizeStr as Kl}from"../utils/sanitizeText";import{getRawYah as ir}from"../utils/yah";import{t as S}from"../utils/i18n";import{MOBILE_BREAKPOINT as ar}from"../constants";import{setKioskUrlParams as lr}from"../components/Kiosk/kioskUrlParam";const rr=["dimensions25"];let or=(()=>{var E,A,P,z,F;let l=[],Q,Y=[],$=[],j,Z=[],W=[],X,J=[],q=[],ee,te=[],se=[],ie,ae=[],le=[],re,oe=[],ne=[],ce,de=[],he=[],ue,fe=[],me=[],ge,pe=[],_e=[],ve,Se=[],ye=[],ke,Ie=[],be=[],xe,ze=[],Ce=[],Be,Pe=[],Me=[],we,Te=[],Re=[],Oe,De=[],Le=[],Ee,Ae=[],Fe=[],Ue,He=[],Ne=[],Ve,Ke=[],Ge=[],Qe,Ye=[],$e=[],je,Ze=[],We=[],Xe,Je=[],qe=[],et,tt=[],st=[],it,at=[],lt=[],rt,ot=[],nt=[],ct,dt=[],ht=[],ut,ft=[],mt=[],gt,pt=[],_t=[],vt,St=[],yt=[],kt,It=[],bt=[],xt,zt=[],Ct=[],Bt,Pt=[],Mt=[],wt,Tt=[],Rt=[],Ot,Dt=[],Lt=[],Et,At=[],Ft=[],Ut,Ht=[],Nt=[],Vt,Kt=[],Gt=[],Qt,Yt=[],$t=[],jt,Zt=[],Wt=[],Xt,Jt=[],qt=[],es,ts=[],ss=[],is,as=[],ls=[],rs,os=[],ns=[],cs,ds=[],hs=[],us,fs=[],ms=[],gs,ps=[],_s=[],vs,Ss=[],ys=[],ks,Is=[],bs=[],xs,zs=[],Cs=[],Bs,Ps=[],Ms=[],ws,Ts=[],Rs=[],Os,Ds=[],Ls=[],Es,As=[],Fs=[],Us,Hs=[],Ns=[],Vs,Ks=[],Gs=[],Qs,Ys=[],$s=[],js,Zs=[],Ws=[],Xs,Js=[],qs=[],ei,ti=[],si=[],ii,ai=[],li=[],ri,oi=[],ni=[],ci,di=[],hi=[],ui,fi=[],mi=[],gi,pi=[],_i=[],vi,Si=[],yi=[],ki,Ii=[],bi=[],xi,zi,Ci,Bi,Pi,Mi,wi,Ti,Ri,Oi,Di,Li,Ei,Ai,Fi,Ui,Hi,Ni,Vi,Ki,Gi,Qi,Yi,$i,ji,Zi,Wi,Xi,Ji,qi,ea,ta,sa,ia,aa,la,ra,oa,na,ca,da,ha,ua,fa,ma,ga,pa,_a,va,Sa,ya=[],ka=[],Ia,ba,xa,za,Ca,Ba,Pa,Ma,wa,Ta,Ra,Oa,Da,La,Ea,Aa,Fa,Ua,Ha,Na,Va,Ka,Ga=[],Qa=[],Ya,$a,ja,Za,Wa,Xa,Ja,qa,el,tl,sl,il,al,ll,rl,ol,nl,cl,dl,hl,ul=[],fl=[],ml,gl,pl,_l=[],vl=[],Sl,yl,kl=[],Il=[],bl,xl,zl,Cl,Bl,Pl,Ml=[],wl=[],Tl,Rl,Ol=[],Dl=[],Ll;return class{static{const t=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;Q=[(E=o).struct.bind(E)],j=[(A=o).ref.bind(A)],X=[(P=o).ref.bind(P)],ee=[(z=o).ref.bind(z)],ie=[o],re=[o],ce=[o],ue=[o],ge=[o],ve=[o],ke=[o],xe=[o],Be=[o],we=[o],Oe=[o],Ee=[(F=o).struct.bind(F)],Ue=[o],Ve=[o],Qe=[o],je=[o],Xe=[o],et=[o],it=[o],rt=[o],ct=[o],ut=[o],gt=[o],vt=[o],kt=[o],xt=[o],Bt=[o],wt=[o],Ot=[o],Et=[o],Ut=[o],Vt=[o],Qt=[o],jt=[o],Xt=[o],es=[o],is=[o],rs=[o],cs=[o],us=[o],gs=[o],vs=[o],ks=[o],xs=[o],Bs=[o],ws=[o],Os=[o],Es=[o],Us=[o],Vs=[o],Qs=[o],js=[o],Xs=[o],ei=[o],ii=[o],ri=[o],ci=[o],ui=[o],gi=[o],vi=[o],ki=[o],xi=[f],zi=[f],Ci=[f],Bi=[f],Pi=[f],Mi=[f],wi=[f],Ti=[f],Ri=[f],Oi=[f],Di=[f],Li=[c],Ei=[c],Ai=[c({keepAlive:!0})],Fi=[c({keepAlive:!0})],Ui=[c({keepAlive:!0})],Hi=[c({keepAlive:!0})],Ni=[c({keepAlive:!0})],Vi=[c({keepAlive:!0})],Ki=[c({keepAlive:!0})],Gi=[c({keepAlive:!0})],Qi=[c({keepAlive:!0})],Yi=[c],$i=[c],ji=[c],Zi=[c],Wi=[c],Xi=[c],Ji=[c],qi=[c],ea=[c({keepAlive:!0})],ta=[c],sa=[c],ia=[c({keepAlive:!0})],aa=[c],la=[c],ra=[c],oa=[c],na=[c],ca=[c],da=[c],ha=[c],ua=[c],fa=[c],ma=[c],ga=[c],pa=[c],_a=[c],va=[c({keepAlive:!0})],Sa=[o],Ia=[f],ba=[c],xa=[c],za=[c],Ca=[c],Ba=[c],Pa=[c],Ma=[c],wa=[c],Ta=[c({keepAlive:!0})],Ra=[c({keepAlive:!0})],Oa=[c({keepAlive:!0})],Da=[c],La=[f],Ea=[f],Aa=[f],Fa=[f],Ua=[f],Ha=[f],Na=[f],Va=[c({keepAlive:!0})],Ka=[o],Ya=[f],$a=[f],ja=[c],Za=[c],Wa=[c],Xa=[c],Ja=[c],qa=[c],el=[c],tl=[c],sl=[f],il=[f],al=[f],ll=[f],rl=[f],ol=[f],nl=[c],cl=[c],dl=[f],hl=[o],ml=[f],gl=[c],pl=[o],Sl=[f],yl=[o],bl=[f],xl=[f],zl=[f],Cl=[f],Bl=[f],Pl=[o],Tl=[f],Rl=[o],Ll=[f],i(this,null,xi,{kind:"method",name:"setSelectedCategoryFilters",static:!1,private:!1,access:{has:e=>"setSelectedCategoryFilters"in e,get:e=>e.setSelectedCategoryFilters},metadata:t},null,l),i(this,null,zi,{kind:"method",name:"resetCategoryFilter",static:!1,private:!1,access:{has:e=>"resetCategoryFilter"in e,get:e=>e.resetCategoryFilter},metadata:t},null,l),i(this,null,Ci,{kind:"method",name:"setSearchClearMode",static:!1,private:!1,access:{has:e=>"setSearchClearMode"in e,get:e=>e.setSearchClearMode},metadata:t},null,l),i(this,null,Bi,{kind:"method",name:"setRouteTitle",static:!1,private:!1,access:{has:e=>"setRouteTitle"in e,get:e=>e.setRouteTitle},metadata:t},null,l),i(this,null,Pi,{kind:"method",name:"setRouteDescription",static:!1,private:!1,access:{has:e=>"setRouteDescription"in e,get:e=>e.setRouteDescription},metadata:t},null,l),i(this,null,Mi,{kind:"method",name:"setIsMultiPointRoute",static:!1,private:!1,access:{has:e=>"setIsMultiPointRoute"in e,get:e=>e.setIsMultiPointRoute},metadata:t},null,l),i(this,null,wi,{kind:"method",name:"setTourTitle",static:!1,private:!1,access:{has:e=>"setTourTitle"in e,get:e=>e.setTourTitle},metadata:t},null,l),i(this,null,Ti,{kind:"method",name:"setTourDescription",static:!1,private:!1,access:{has:e=>"setTourDescription"in e,get:e=>e.setTourDescription},metadata:t},null,l),i(this,null,Ri,{kind:"method",name:"setIsMultiPointTour",static:!1,private:!1,access:{has:e=>"setIsMultiPointTour"in e,get:e=>e.setIsMultiPointTour},metadata:t},null,l),i(this,null,Oi,{kind:"method",name:"setPathwayOnlyMode",static:!1,private:!1,access:{has:e=>"setPathwayOnlyMode"in e,get:e=>e.setPathwayOnlyMode},metadata:t},null,l),i(this,null,Di,{kind:"method",name:"setMultiPointTourList",static:!1,private:!1,access:{has:e=>"setMultiPointTourList"in e,get:e=>e.setMultiPointTourList},metadata:t},null,l),i(this,null,Li,{kind:"getter",name:"activePathwayLayers",static:!1,private:!1,access:{has:e=>"activePathwayLayers"in e,get:e=>e.activePathwayLayers},metadata:t},null,l),i(this,null,Ei,{kind:"getter",name:"highlightedBooths",static:!1,private:!1,access:{has:e=>"highlightedBooths"in e,get:e=>e.highlightedBooths},metadata:t},null,l),i(this,null,Ai,{kind:"getter",name:"noOverlay",static:!1,private:!1,access:{has:e=>"noOverlay"in e,get:e=>e.noOverlay},metadata:t},null,l),i(this,null,Fi,{kind:"getter",name:"selectedExhibitor",static:!1,private:!1,access:{has:e=>"selectedExhibitor"in e,get:e=>e.selectedExhibitor},metadata:t},null,l),i(this,null,Ui,{kind:"getter",name:"selectedBooth",static:!1,private:!1,access:{has:e=>"selectedBooth"in e,get:e=>e.selectedBooth},metadata:t},null,l),i(this,null,Hi,{kind:"getter",name:"selectedCategory",static:!1,private:!1,access:{has:e=>"selectedCategory"in e,get:e=>e.selectedCategory},metadata:t},null,l),i(this,null,Ni,{kind:"getter",name:"selectedRoute",static:!1,private:!1,access:{has:e=>"selectedRoute"in e,get:e=>e.selectedRoute},metadata:t},null,l),i(this,null,Vi,{kind:"getter",name:"selectedSpeaker",static:!1,private:!1,access:{has:e=>"selectedSpeaker"in e,get:e=>e.selectedSpeaker},metadata:t},null,l),i(this,null,Ki,{kind:"getter",name:"uiScale",static:!1,private:!1,access:{has:e=>"uiScale"in e,get:e=>e.uiScale},metadata:t},null,l),i(this,null,Gi,{kind:"getter",name:"isGuidedToursActive",static:!1,private:!1,access:{has:e=>"isGuidedToursActive"in e,get:e=>e.isGuidedToursActive},metadata:t},null,l),i(this,null,Qi,{kind:"getter",name:"getRouteNextFloor",static:!1,private:!1,access:{has:e=>"getRouteNextFloor"in e,get:e=>e.getRouteNextFloor},metadata:t},null,l),i(this,null,Yi,{kind:"getter",name:"headerHeightRem",static:!1,private:!1,access:{has:e=>"headerHeightRem"in e,get:e=>e.headerHeightRem},metadata:t},null,l),i(this,null,$i,{kind:"getter",name:"headerHeightPx",static:!1,private:!1,access:{has:e=>"headerHeightPx"in e,get:e=>e.headerHeightPx},metadata:t},null,l),i(this,null,ji,{kind:"getter",name:"overlayPosition",static:!1,private:!1,access:{has:e=>"overlayPosition"in e,get:e=>e.overlayPosition},metadata:t},null,l),i(this,null,Zi,{kind:"getter",name:"overlayCollapsed",static:!1,private:!1,access:{has:e=>"overlayCollapsed"in e,get:e=>e.overlayCollapsed},metadata:t},null,l),i(this,null,Wi,{kind:"getter",name:"overlaySize",static:!1,private:!1,access:{has:e=>"overlaySize"in e,get:e=>e.overlaySize},metadata:t},null,l),i(this,null,Xi,{kind:"getter",name:"overlayBottom",static:!1,private:!1,access:{has:e=>"overlayBottom"in e,get:e=>e.overlayBottom},metadata:t},null,l),i(this,null,Ji,{kind:"getter",name:"overlayLeft",static:!1,private:!1,access:{has:e=>"overlayLeft"in e,get:e=>e.overlayLeft},metadata:t},null,l),i(this,null,qi,{kind:"getter",name:"overlayWidthPx",static:!1,private:!1,access:{has:e=>"overlayWidthPx"in e,get:e=>e.overlayWidthPx},metadata:t},null,l),i(this,null,ea,{kind:"getter",name:"wsImageHeightPx",static:!1,private:!1,access:{has:e=>"wsImageHeightPx"in e,get:e=>e.wsImageHeightPx},metadata:t},null,l),i(this,null,ta,{kind:"getter",name:"wsPaddingPx",static:!1,private:!1,access:{has:e=>"wsPaddingPx"in e,get:e=>e.wsPaddingPx},metadata:t},null,l),i(this,null,sa,{kind:"getter",name:"wsOccupiedHeightPx",static:!1,private:!1,access:{has:e=>"wsOccupiedHeightPx"in e,get:e=>e.wsOccupiedHeightPx},metadata:t},null,l),i(this,null,ia,{kind:"getter",name:"wsShown",static:!1,private:!1,access:{has:e=>"wsShown"in e,get:e=>e.wsShown},metadata:t},null,l),i(this,null,aa,{kind:"getter",name:"wsDesktopPosition",static:!1,private:!1,access:{has:e=>"wsDesktopPosition"in e,get:e=>e.wsDesktopPosition},metadata:t},null,l),i(this,null,la,{kind:"getter",name:"wsPosition",static:!1,private:!1,access:{has:e=>"wsPosition"in e,get:e=>e.wsPosition},metadata:t},null,l),i(this,null,ra,{kind:"getter",name:"responsiveClass",static:!1,private:!1,access:{has:e=>"responsiveClass"in e,get:e=>e.responsiveClass},metadata:t},null,l),i(this,null,oa,{kind:"getter",name:"mapVisibleTop",static:!1,private:!1,access:{has:e=>"mapVisibleTop"in e,get:e=>e.mapVisibleTop},metadata:t},null,l),i(this,null,na,{kind:"getter",name:"mapVisibleBottom",static:!1,private:!1,access:{has:e=>"mapVisibleBottom"in e,get:e=>e.mapVisibleBottom},metadata:t},null,l),i(this,null,ca,{kind:"getter",name:"mapVisibleStart",static:!1,private:!1,access:{has:e=>"mapVisibleStart"in e,get:e=>e.mapVisibleStart},metadata:t},null,l),i(this,null,da,{kind:"getter",name:"searchActionsHeightPx",static:!1,private:!1,access:{has:e=>"searchActionsHeightPx"in e,get:e=>e.searchActionsHeightPx},metadata:t},null,l),i(this,null,ha,{kind:"getter",name:"fullSizeOffset",static:!1,private:!1,access:{has:e=>"fullSizeOffset"in e,get:e=>e.fullSizeOffset},metadata:t},null,l),i(this,null,ua,{kind:"getter",name:"shouldShowSearchButtons",static:!1,private:!1,access:{has:e=>"shouldShowSearchButtons"in e,get:e=>e.shouldShowSearchButtons},metadata:t},null,l),i(this,null,fa,{kind:"getter",name:"canvasVisibleRectPx",static:!1,private:!1,access:{has:e=>"canvasVisibleRectPx"in e,get:e=>e.canvasVisibleRectPx},metadata:t},null,l),i(this,null,ma,{kind:"getter",name:"shouldShiftMapRect",static:!1,private:!1,access:{has:e=>"shouldShiftMapRect"in e,get:e=>e.shouldShiftMapRect},metadata:t},null,l),i(this,null,ga,{kind:"getter",name:"hasAppliedFilters",static:!1,private:!1,access:{has:e=>"hasAppliedFilters"in e,get:e=>e.hasAppliedFilters},metadata:t},null,l),i(this,null,pa,{kind:"getter",name:"canvasVisibleRectPt",static:!1,private:!1,access:{has:e=>"canvasVisibleRectPt"in e,get:e=>e.canvasVisibleRectPt},metadata:t},null,l),i(this,null,_a,{kind:"getter",name:"canvasSizePt",static:!1,private:!1,access:{has:e=>"canvasSizePt"in e,get:e=>e.canvasSizePt},metadata:t},null,l),i(this,null,va,{kind:"getter",name:"shouldUseBackdrop",static:!1,private:!1,access:{has:e=>"shouldUseBackdrop"in e,get:e=>e.shouldUseBackdrop},metadata:t},null,l),i(this,null,Ia,{kind:"method",name:"setForceDimm",static:!1,private:!1,access:{has:e=>"setForceDimm"in e,get:e=>e.setForceDimm},metadata:t},null,l),i(this,null,ba,{kind:"getter",name:"dimmed",static:!1,private:!1,access:{has:e=>"dimmed"in e,get:e=>e.dimmed},metadata:t},null,l),i(this,null,xa,{kind:"getter",name:"defaultSearchItems",static:!1,private:!1,access:{has:e=>"defaultSearchItems"in e,get:e=>e.defaultSearchItems},metadata:t},null,l),i(this,null,za,{kind:"getter",name:"searchItems",static:!1,private:!1,access:{has:e=>"searchItems"in e,get:e=>e.searchItems},metadata:t},null,l),i(this,null,Ca,{kind:"getter",name:"searchList",static:!1,private:!1,access:{has:e=>"searchList"in e,get:e=>e.searchList},metadata:t},null,l),i(this,null,Ba,{kind:"getter",name:"foundInDescription",static:!1,private:!1,access:{has:e=>"foundInDescription"in e,get:e=>e.foundInDescription},metadata:t},null,l),i(this,null,Pa,{kind:"getter",name:"foundInDescriptionStruct",static:!1,private:!1,access:{has:e=>"foundInDescriptionStruct"in e,get:e=>e.foundInDescriptionStruct},metadata:t},null,l),i(this,null,Ma,{kind:"getter",name:"fuzzySearchItems",static:!1,private:!1,access:{has:e=>"fuzzySearchItems"in e,get:e=>e.fuzzySearchItems},metadata:t},null,l),i(this,null,wa,{kind:"getter",name:"listItems",static:!1,private:!1,access:{has:e=>"listItems"in e,get:e=>e.listItems},metadata:t},null,l),i(this,null,Ta,{kind:"getter",name:"listBooths",static:!1,private:!1,access:{has:e=>"listBooths"in e,get:e=>e.listBooths},metadata:t},null,l),i(this,null,Ra,{kind:"getter",name:"selectedBooths",static:!1,private:!1,access:{has:e=>"selectedBooths"in e,get:e=>e.selectedBooths},metadata:t},null,l),i(this,null,Oa,{kind:"getter",name:"hoveredBooths",static:!1,private:!1,access:{has:e=>"hoveredBooths"in e,get:e=>e.hoveredBooths},metadata:t},null,l),i(this,null,Da,{kind:"getter",name:"visibility",static:!1,private:!1,access:{has:e=>"visibility"in e,get:e=>e.visibility},metadata:t},null,l),i(this,null,La,{kind:"method",name:"setVisibility",static:!1,private:!1,access:{has:e=>"setVisibility"in e,get:e=>e.setVisibility},metadata:t},null,l),i(this,null,Ea,{kind:"method",name:"toggleMapOverlay",static:!1,private:!1,access:{has:e=>"toggleMapOverlay"in e,get:e=>e.toggleMapOverlay},metadata:t},null,l),i(this,null,Aa,{kind:"method",name:"resetRtl",static:!1,private:!1,access:{has:e=>"resetRtl"in e,get:e=>e.resetRtl},metadata:t},null,l),i(this,null,Fa,{kind:"method",name:"changeZoom",static:!1,private:!1,access:{has:e=>"changeZoom"in e,get:e=>e.changeZoom},metadata:t},null,l),i(this,null,Ua,{kind:"method",name:"zoomIn",static:!1,private:!1,access:{has:e=>"zoomIn"in e,get:e=>e.zoomIn},metadata:t},null,l),i(this,null,Ha,{kind:"method",name:"zoomOut",static:!1,private:!1,access:{has:e=>"zoomOut"in e,get:e=>e.zoomOut},metadata:t},null,l),i(this,null,Na,{kind:"method",name:"fitBounds",static:!1,private:!1,access:{has:e=>"fitBounds"in e,get:e=>e.fitBounds},metadata:t},null,l),i(this,null,Va,{kind:"getter",name:"selectedEventItem",static:!1,private:!1,access:{has:e=>"selectedEventItem"in e,get:e=>e.selectedEventItem},metadata:t},null,l),i(this,null,Ya,{kind:"method",name:"setMapSettings",static:!1,private:!1,access:{has:e=>"setMapSettings"in e,get:e=>e.setMapSettings},metadata:t},null,l),i(this,null,$a,{kind:"method",name:"resetMapSettings",static:!1,private:!1,access:{has:e=>"resetMapSettings"in e,get:e=>e.resetMapSettings},metadata:t},null,l),i(this,null,ja,{kind:"getter",name:"baseQRCodeUrl",static:!1,private:!1,access:{has:e=>"baseQRCodeUrl"in e,get:e=>e.baseQRCodeUrl},metadata:t},null,l),i(this,null,Za,{kind:"getter",name:"viewMapOnPhoneQRCodeUrl",static:!1,private:!1,access:{has:e=>"viewMapOnPhoneQRCodeUrl"in e,get:e=>e.viewMapOnPhoneQRCodeUrl},metadata:t},null,l),i(this,null,Wa,{kind:"getter",name:"routeQRCodeUrl",static:!1,private:!1,access:{has:e=>"routeQRCodeUrl"in e,get:e=>e.routeQRCodeUrl},metadata:t},null,l),i(this,null,Xa,{kind:"getter",name:"isFeaturedExhibitorActive",static:!1,private:!1,access:{has:e=>"isFeaturedExhibitorActive"in e,get:e=>e.isFeaturedExhibitorActive},metadata:t},null,l),i(this,null,Ja,{kind:"getter",name:"activeInterfaceData",static:!1,private:!1,access:{has:e=>"activeInterfaceData"in e,get:e=>e.activeInterfaceData},metadata:t},null,l),i(this,null,qa,{kind:"getter",name:"searchBoxConfig",static:!1,private:!1,access:{has:e=>"searchBoxConfig"in e,get:e=>e.searchBoxConfig},metadata:t},null,l),i(this,null,el,{kind:"getter",name:"overlayInterfaceClasses",static:!1,private:!1,access:{has:e=>"overlayInterfaceClasses"in e,get:e=>e.overlayInterfaceClasses},metadata:t},null,l),i(this,null,tl,{kind:"getter",name:"isOverlayOpen",static:!1,private:!1,access:{has:e=>"isOverlayOpen"in e,get:e=>e.isOverlayOpen},metadata:t},null,l),i(this,null,sl,{kind:"method",name:"setOverlayScrolled",static:!1,private:!1,access:{has:e=>"setOverlayScrolled"in e,get:e=>e.setOverlayScrolled},metadata:t},null,l),i(this,null,il,{kind:"method",name:"setListScrollTop",static:!1,private:!1,access:{has:e=>"setListScrollTop"in e,get:e=>e.setListScrollTop},metadata:t},null,l),i(this,null,al,{kind:"method",name:"setListScrollItemId",static:!1,private:!1,access:{has:e=>"setListScrollItemId"in e,get:e=>e.setListScrollItemId},metadata:t},null,l),i(this,null,ll,{kind:"method",name:"getListScrollTop",static:!1,private:!1,access:{has:e=>"getListScrollTop"in e,get:e=>e.getListScrollTop},metadata:t},null,l),i(this,null,rl,{kind:"method",name:"getListScrollItemId",static:!1,private:!1,access:{has:e=>"getListScrollItemId"in e,get:e=>e.getListScrollItemId},metadata:t},null,l),i(this,null,ol,{kind:"method",name:"clearListScroll",static:!1,private:!1,access:{has:e=>"clearListScroll"in e,get:e=>e.clearListScroll},metadata:t},null,l),i(this,null,nl,{kind:"getter",name:"bannerType",static:!1,private:!1,access:{has:e=>"bannerType"in e,get:e=>e.bannerType},metadata:t},null,l),i(this,null,cl,{kind:"getter",name:"isBannerVisible",static:!1,private:!1,access:{has:e=>"isBannerVisible"in e,get:e=>e.isBannerVisible},metadata:t},null,l),i(this,null,dl,{kind:"method",name:"setCurrentBanner",static:!1,private:!1,access:{has:e=>"setCurrentBanner"in e,get:e=>e.setCurrentBanner},metadata:t},null,l),i(this,null,ml,{kind:"method",name:"setForceShowDetails",static:!1,private:!1,access:{has:e=>"setForceShowDetails"in e,get:e=>e.setForceShowDetails},metadata:t},null,l),i(this,null,gl,{kind:"getter",name:"showRouteInstantly",static:!1,private:!1,access:{has:e=>"showRouteInstantly"in e,get:e=>e.showRouteInstantly},metadata:t},null,l),i(this,null,Sl,{kind:"method",name:"startBuildRoute",static:!1,private:!1,access:{has:e=>"startBuildRoute"in e,get:e=>e.startBuildRoute},metadata:t},null,l),i(this,null,bl,{kind:"method",name:"setGlobalErrorMessage",static:!1,private:!1,access:{has:e=>"setGlobalErrorMessage"in e,get:e=>e.setGlobalErrorMessage},metadata:t},null,l),i(this,null,xl,{kind:"method",name:"popGlobalErrorMessage",static:!1,private:!1,access:{has:e=>"popGlobalErrorMessage"in e,get:e=>e.popGlobalErrorMessage},metadata:t},null,l),i(this,null,zl,{kind:"method",name:"initializeUIScale",static:!1,private:!1,access:{has:e=>"initializeUIScale"in e,get:e=>e.initializeUIScale},metadata:t},null,l),i(this,null,Cl,{kind:"method",name:"setUIScale",static:!1,private:!1,access:{has:e=>"setUIScale"in e,get:e=>e.setUIScale},metadata:t},null,l),i(this,null,Bl,{kind:"method",name:"resetUIScale",static:!1,private:!1,access:{has:e=>"resetUIScale"in e,get:e=>e.resetUIScale},metadata:t},null,l),i(this,null,Tl,{kind:"method",name:"enableSetKioskMode",static:!1,private:!1,access:{has:e=>"enableSetKioskMode"in e,get:e=>e.enableSetKioskMode},metadata:t},null,l),i(this,null,Ll,{kind:"method",name:"setKioskData",static:!1,private:!1,access:{has:e=>"setKioskData"in e,get:e=>e.setKioskData},metadata:t},null,l),i(null,null,Q,{kind:"field",name:"list",static:!1,private:!1,access:{has:e=>"list"in e,get:e=>e.list,set:(e,s)=>{e.list=s}},metadata:t},Y,$),i(null,null,j,{kind:"field",name:"details",static:!1,private:!1,access:{has:e=>"details"in e,get:e=>e.details,set:(e,s)=>{e.details=s}},metadata:t},Z,W),i(null,null,X,{kind:"field",name:"hoveredExhibitor",static:!1,private:!1,access:{has:e=>"hoveredExhibitor"in e,get:e=>e.hoveredExhibitor,set:(e,s)=>{e.hoveredExhibitor=s}},metadata:t},J,q),i(null,null,ee,{kind:"field",name:"hoveredBooth",static:!1,private:!1,access:{has:e=>"hoveredBooth"in e,get:e=>e.hoveredBooth,set:(e,s)=>{e.hoveredBooth=s}},metadata:t},te,se),i(null,null,ie,{kind:"field",name:"zoomBy",static:!1,private:!1,access:{has:e=>"zoomBy"in e,get:e=>e.zoomBy,set:(e,s)=>{e.zoomBy=s}},metadata:t},ae,le),i(null,null,re,{kind:"field",name:"rollReset",static:!1,private:!1,access:{has:e=>"rollReset"in e,get:e=>e.rollReset,set:(e,s)=>{e.rollReset=s}},metadata:t},oe,ne),i(null,null,ce,{kind:"field",name:"moveToBooths",static:!1,private:!1,access:{has:e=>"moveToBooths"in e,get:e=>e.moveToBooths,set:(e,s)=>{e.moveToBooths=s}},metadata:t},de,he),i(null,null,ue,{kind:"field",name:"moveToRect",static:!1,private:!1,access:{has:e=>"moveToRect"in e,get:e=>e.moveToRect,set:(e,s)=>{e.moveToRect=s}},metadata:t},fe,me),i(null,null,ge,{kind:"field",name:"moveToLocation",static:!1,private:!1,access:{has:e=>"moveToLocation"in e,get:e=>e.moveToLocation,set:(e,s)=>{e.moveToLocation=s}},metadata:t},pe,_e),i(null,null,ve,{kind:"field",name:"menu",static:!1,private:!1,access:{has:e=>"menu"in e,get:e=>e.menu,set:(e,s)=>{e.menu=s}},metadata:t},Se,ye),i(null,null,ke,{kind:"field",name:"searchFocused",static:!1,private:!1,access:{has:e=>"searchFocused"in e,get:e=>e.searchFocused,set:(e,s)=>{e.searchFocused=s}},metadata:t},Ie,be),i(null,null,xe,{kind:"field",name:"searchClearMode",static:!1,private:!1,access:{has:e=>"searchClearMode"in e,get:e=>e.searchClearMode,set:(e,s)=>{e.searchClearMode=s}},metadata:t},ze,Ce),i(null,null,Be,{kind:"field",name:"printingPdf",static:!1,private:!1,access:{has:e=>"printingPdf"in e,get:e=>e.printingPdf,set:(e,s)=>{e.printingPdf=s}},metadata:t},Pe,Me),i(null,null,we,{kind:"field",name:"largeMessage",static:!1,private:!1,access:{has:e=>"largeMessage"in e,get:e=>e.largeMessage,set:(e,s)=>{e.largeMessage=s}},metadata:t},Te,Re),i(null,null,Oe,{kind:"field",name:"largeMessageLastSet",static:!1,private:!1,access:{has:e=>"largeMessageLastSet"in e,get:e=>e.largeMessageLastSet,set:(e,s)=>{e.largeMessageLastSet=s}},metadata:t},De,Le),i(null,null,Ee,{kind:"field",name:"screenSize",static:!1,private:!1,access:{has:e=>"screenSize"in e,get:e=>e.screenSize,set:(e,s)=>{e.screenSize=s}},metadata:t},Ae,Fe),i(null,null,Ue,{kind:"field",name:"desiredOverlaySize",static:!1,private:!1,access:{has:e=>"desiredOverlaySize"in e,get:e=>e.desiredOverlaySize,set:(e,s)=>{e.desiredOverlaySize=s}},metadata:t},He,Ne),i(null,null,Ve,{kind:"field",name:"overlayShowsAll",static:!1,private:!1,access:{has:e=>"overlayShowsAll"in e,get:e=>e.overlayShowsAll,set:(e,s)=>{e.overlayShowsAll=s}},metadata:t},Ke,Ge),i(null,null,Qe,{kind:"field",name:"centerMap",static:!1,private:!1,access:{has:e=>"centerMap"in e,get:e=>e.centerMap,set:(e,s)=>{e.centerMap=s}},metadata:t},Ye,$e),i(null,null,je,{kind:"field",name:"zoomAfTransformK",static:!1,private:!1,access:{has:e=>"zoomAfTransformK"in e,get:e=>e.zoomAfTransformK,set:(e,s)=>{e.zoomAfTransformK=s}},metadata:t},Ze,We),i(null,null,Xe,{kind:"field",name:"activeListIndex",static:!1,private:!1,access:{has:e=>"activeListIndex"in e,get:e=>e.activeListIndex,set:(e,s)=>{e.activeListIndex=s}},metadata:t},Je,qe),i(null,null,et,{kind:"field",name:"devicePixelRatio",static:!1,private:!1,access:{has:e=>"devicePixelRatio"in e,get:e=>e.devicePixelRatio,set:(e,s)=>{e.devicePixelRatio=s}},metadata:t},tt,st),i(null,null,it,{kind:"field",name:"wsStarted",static:!1,private:!1,access:{has:e=>"wsStarted"in e,get:e=>e.wsStarted,set:(e,s)=>{e.wsStarted=s}},metadata:t},at,lt),i(null,null,rt,{kind:"field",name:"canvasStarted",static:!1,private:!1,access:{has:e=>"canvasStarted"in e,get:e=>e.canvasStarted,set:(e,s)=>{e.canvasStarted=s}},metadata:t},ot,nt),i(null,null,ct,{kind:"field",name:"kiosk",static:!1,private:!1,access:{has:e=>"kiosk"in e,get:e=>e.kiosk,set:(e,s)=>{e.kiosk=s}},metadata:t},dt,ht),i(null,null,ut,{kind:"field",name:"inIdle",static:!1,private:!1,access:{has:e=>"inIdle"in e,get:e=>e.inIdle,set:(e,s)=>{e.inIdle=s}},metadata:t},ft,mt),i(null,null,gt,{kind:"field",name:"modalActive",static:!1,private:!1,access:{has:e=>"modalActive"in e,get:e=>e.modalActive,set:(e,s)=>{e.modalActive=s}},metadata:t},pt,_t),i(null,null,vt,{kind:"field",name:"galleryActive",static:!1,private:!1,access:{has:e=>"galleryActive"in e,get:e=>e.galleryActive,set:(e,s)=>{e.galleryActive=s}},metadata:t},St,yt),i(null,null,kt,{kind:"field",name:"hideOverlay",static:!1,private:!1,access:{has:e=>"hideOverlay"in e,get:e=>e.hideOverlay,set:(e,s)=>{e.hideOverlay=s}},metadata:t},It,bt),i(null,null,xt,{kind:"field",name:"hideCookieConsent",static:!1,private:!1,access:{has:e=>"hideCookieConsent"in e,get:e=>e.hideCookieConsent,set:(e,s)=>{e.hideCookieConsent=s}},metadata:t},zt,Ct),i(null,null,Bt,{kind:"field",name:"hideHeaderLogo",static:!1,private:!1,access:{has:e=>"hideHeaderLogo"in e,get:e=>e.hideHeaderLogo,set:(e,s)=>{e.hideHeaderLogo=s}},metadata:t},Pt,Mt),i(null,null,wt,{kind:"field",name:"hideLogoInBooth",static:!1,private:!1,access:{has:e=>"hideLogoInBooth"in e,get:e=>e.hideLogoInBooth,set:(e,s)=>{e.hideLogoInBooth=s}},metadata:t},Tt,Rt),i(null,null,Ot,{kind:"field",name:"disableBookmarked",static:!1,private:!1,access:{has:e=>"disableBookmarked"in e,get:e=>e.disableBookmarked,set:(e,s)=>{e.disableBookmarked=s}},metadata:t},Dt,Lt),i(null,null,Et,{kind:"field",name:"hideLanguage",static:!1,private:!1,access:{has:e=>"hideLanguage"in e,get:e=>e.hideLanguage,set:(e,s)=>{e.hideLanguage=s}},metadata:t},At,Ft),i(null,null,Ut,{kind:"field",name:"monochrome",static:!1,private:!1,access:{has:e=>"monochrome"in e,get:e=>e.monochrome,set:(e,s)=>{e.monochrome=s}},metadata:t},Ht,Nt),i(null,null,Vt,{kind:"field",name:"heatmap",static:!1,private:!1,access:{has:e=>"heatmap"in e,get:e=>e.heatmap,set:(e,s)=>{e.heatmap=s}},metadata:t},Kt,Gt),i(null,null,Qt,{kind:"field",name:"heatmapYah",static:!1,private:!1,access:{has:e=>"heatmapYah"in e,get:e=>e.heatmapYah,set:(e,s)=>{e.heatmapYah=s}},metadata:t},Yt,$t),i(null,null,jt,{kind:"field",name:"rtl",static:!1,private:!1,access:{has:e=>"rtl"in e,get:e=>e.rtl,set:(e,s)=>{e.rtl=s}},metadata:t},Zt,Wt),i(null,null,Xt,{kind:"field",name:"debugCircles",static:!1,private:!1,access:{has:e=>"debugCircles"in e,get:e=>e.debugCircles,set:(e,s)=>{e.debugCircles=s}},metadata:t},Jt,qt),i(null,null,es,{kind:"field",name:"mapControlsHidden",static:!1,private:!1,access:{has:e=>"mapControlsHidden"in e,get:e=>e.mapControlsHidden,set:(e,s)=>{e.mapControlsHidden=s}},metadata:t},ts,ss),i(null,null,is,{kind:"field",name:"floorsControlHidden",static:!1,private:!1,access:{has:e=>"floorsControlHidden"in e,get:e=>e.floorsControlHidden,set:(e,s)=>{e.floorsControlHidden=s}},metadata:t},as,ls),i(null,null,rs,{kind:"field",name:"hideFreeOrDemo",static:!1,private:!1,access:{has:e=>"hideFreeOrDemo"in e,get:e=>e.hideFreeOrDemo,set:(e,s)=>{e.hideFreeOrDemo=s}},metadata:t},os,ns),i(null,null,cs,{kind:"field",name:"currentBanner",static:!1,private:!1,access:{has:e=>"currentBanner"in e,get:e=>e.currentBanner,set:(e,s)=>{e.currentBanner=s}},metadata:t},ds,hs),i(null,null,us,{kind:"field",name:"sceneDefReady",static:!1,private:!1,access:{has:e=>"sceneDefReady"in e,get:e=>e.sceneDefReady,set:(e,s)=>{e.sceneDefReady=s}},metadata:t},fs,ms),i(null,null,gs,{kind:"field",name:"categoryFilterOpen",static:!1,private:!1,access:{has:e=>"categoryFilterOpen"in e,get:e=>e.categoryFilterOpen,set:(e,s)=>{e.categoryFilterOpen=s}},metadata:t},ps,_s),i(null,null,vs,{kind:"field",name:"selectedCategoryFilters",static:!1,private:!1,access:{has:e=>"selectedCategoryFilters"in e,get:e=>e.selectedCategoryFilters,set:(e,s)=>{e.selectedCategoryFilters=s}},metadata:t},Ss,ys),i(null,null,ks,{kind:"field",name:"selectedPoiTypeFilters",static:!1,private:!1,access:{has:e=>"selectedPoiTypeFilters"in e,get:e=>e.selectedPoiTypeFilters,set:(e,s)=>{e.selectedPoiTypeFilters=s}},metadata:t},Is,bs),i(null,null,xs,{kind:"field",name:"selectedTrack",static:!1,private:!1,access:{has:e=>"selectedTrack"in e,get:e=>e.selectedTrack,set:(e,s)=>{e.selectedTrack=s}},metadata:t},zs,Cs),i(null,null,Bs,{kind:"field",name:"subButtonsVisible",static:!1,private:!1,access:{has:e=>"subButtonsVisible"in e,get:e=>e.subButtonsVisible,set:(e,s)=>{e.subButtonsVisible=s}},metadata:t},Ps,Ms),i(null,null,ws,{kind:"field",name:"mapControlsDOMRect",static:!1,private:!1,access:{has:e=>"mapControlsDOMRect"in e,get:e=>e.mapControlsDOMRect,set:(e,s)=>{e.mapControlsDOMRect=s}},metadata:t},Ts,Rs),i(null,null,Os,{kind:"field",name:"searchBoxMode",static:!1,private:!1,access:{has:e=>"searchBoxMode"in e,get:e=>e.searchBoxMode,set:(e,s)=>{e.searchBoxMode=s}},metadata:t},Ds,Ls),i(null,null,Es,{kind:"field",name:"searchBoxTitle",static:!1,private:!1,access:{has:e=>"searchBoxTitle"in e,get:e=>e.searchBoxTitle,set:(e,s)=>{e.searchBoxTitle=s}},metadata:t},As,Fs),i(null,null,Us,{kind:"field",name:"searchBoxSubtitle",static:!1,private:!1,access:{has:e=>"searchBoxSubtitle"in e,get:e=>e.searchBoxSubtitle,set:(e,s)=>{e.searchBoxSubtitle=s}},metadata:t},Hs,Ns),i(null,null,Vs,{kind:"field",name:"routeTitle",static:!1,private:!1,access:{has:e=>"routeTitle"in e,get:e=>e.routeTitle,set:(e,s)=>{e.routeTitle=s}},metadata:t},Ks,Gs),i(null,null,Qs,{kind:"field",name:"routeDescription",static:!1,private:!1,access:{has:e=>"routeDescription"in e,get:e=>e.routeDescription,set:(e,s)=>{e.routeDescription=s}},metadata:t},Ys,$s),i(null,null,js,{kind:"field",name:"isMultiPointRoute",static:!1,private:!1,access:{has:e=>"isMultiPointRoute"in e,get:e=>e.isMultiPointRoute,set:(e,s)=>{e.isMultiPointRoute=s}},metadata:t},Zs,Ws),i(null,null,Xs,{kind:"field",name:"tourTitle",static:!1,private:!1,access:{has:e=>"tourTitle"in e,get:e=>e.tourTitle,set:(e,s)=>{e.tourTitle=s}},metadata:t},Js,qs),i(null,null,ei,{kind:"field",name:"tourDescription",static:!1,private:!1,access:{has:e=>"tourDescription"in e,get:e=>e.tourDescription,set:(e,s)=>{e.tourDescription=s}},metadata:t},ti,si),i(null,null,ii,{kind:"field",name:"isMultiPointTour",static:!1,private:!1,access:{has:e=>"isMultiPointTour"in e,get:e=>e.isMultiPointTour,set:(e,s)=>{e.isMultiPointTour=s}},metadata:t},ai,li),i(null,null,ri,{kind:"field",name:"pathwayOnlyMode",static:!1,private:!1,access:{has:e=>"pathwayOnlyMode"in e,get:e=>e.pathwayOnlyMode,set:(e,s)=>{e.pathwayOnlyMode=s}},metadata:t},oi,ni),i(null,null,ci,{kind:"field",name:"isOverlayScrolled",static:!1,private:!1,access:{has:e=>"isOverlayScrolled"in e,get:e=>e.isOverlayScrolled,set:(e,s)=>{e.isOverlayScrolled=s}},metadata:t},di,hi),i(null,null,ui,{kind:"field",name:"listScrollTop",static:!1,private:!1,access:{has:e=>"listScrollTop"in e,get:e=>e.listScrollTop,set:(e,s)=>{e.listScrollTop=s}},metadata:t},fi,mi),i(null,null,gi,{kind:"field",name:"listScrollItemId",static:!1,private:!1,access:{has:e=>"listScrollItemId"in e,get:e=>e.listScrollItemId,set:(e,s)=>{e.listScrollItemId=s}},metadata:t},pi,_i),i(null,null,vi,{kind:"field",name:"listScrollIndex",static:!1,private:!1,access:{has:e=>"listScrollIndex"in e,get:e=>e.listScrollIndex,set:(e,s)=>{e.listScrollIndex=s}},metadata:t},Si,yi),i(null,null,ki,{kind:"field",name:"_customUIScale",static:!1,private:!1,access:{has:e=>"_customUIScale"in e,get:e=>e._customUIScale,set:(e,s)=>{e._customUIScale=s}},metadata:t},Ii,bi),i(null,null,Sa,{kind:"field",name:"forceDimm",static:!1,private:!1,access:{has:e=>"forceDimm"in e,get:e=>e.forceDimm,set:(e,s)=>{e.forceDimm=s}},metadata:t},ya,ka),i(null,null,Ka,{kind:"field",name:"mapSettings",static:!1,private:!1,access:{has:e=>"mapSettings"in e,get:e=>e.mapSettings,set:(e,s)=>{e.mapSettings=s}},metadata:t},Ga,Qa),i(null,null,hl,{kind:"field",name:"forceShowDetails",static:!1,private:!1,access:{has:e=>"forceShowDetails"in e,get:e=>e.forceShowDetails,set:(e,s)=>{e.forceShowDetails=s}},metadata:t},ul,fl),i(null,null,pl,{kind:"field",name:"buildRoute",static:!1,private:!1,access:{has:e=>"buildRoute"in e,get:e=>e.buildRoute,set:(e,s)=>{e.buildRoute=s}},metadata:t},_l,vl),i(null,null,yl,{kind:"field",name:"globalErrorMessages",static:!1,private:!1,access:{has:e=>"globalErrorMessages"in e,get:e=>e.globalErrorMessages,set:(e,s)=>{e.globalErrorMessages=s}},metadata:t},kl,Il),i(null,null,Pl,{kind:"field",name:"setKioskModeEnabled",static:!1,private:!1,access:{has:e=>"setKioskModeEnabled"in e,get:e=>e.setKioskModeEnabled,set:(e,s)=>{e.setKioskModeEnabled=s}},metadata:t},Ml,wl),i(null,null,Rl,{kind:"field",name:"kioskData",static:!1,private:!1,access:{has:e=>"kioskData"in e,get:e=>e.kioskData,set:(e,s)=>{e.kioskData=s}},metadata:t},Ol,Dl),t&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}rootStore=a(this,l);interfaceMetadata=Object.freeze([{id:"menu",className:"efp-overlay-menu",priority:80,isActive:()=>this.menu,searchBoxConfig:()=>({mode:"interface",title:S("Menu")})},{id:"exhibitor",className:"efp-overlay-exhibitor",priority:70,isActive:()=>this.details instanceof x,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"booth",className:"efp-overlay-booth",priority:70,isActive:()=>this.details instanceof R,searchBoxConfig:()=>{const t=this.details;return{mode:"details",title:t.title||t.name}}},{id:"event",className:"efp-overlay-event",priority:70,isActive:()=>this.details instanceof L,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"route",className:"efp-overlay-route",priority:70,isActive:()=>this.details instanceof D,searchBoxConfig:()=>{const t=this.details;return{mode:"details",title:S("Directions")}}},{id:"search",className:"efp-overlay-search",priority:60,isActive:()=>!this.details&&!this.menu&&this.list.type==="search"&&(this.rootStore.fp.alwaysShowSidebar||this.heatmap||this.searchFocused||this.list.text.length>0||this.searchClearMode),searchBoxConfig:()=>({mode:"search",title:S("Search")})},{id:"exhibitors",className:"efp-overlay-exhibitors",priority:50,isActive:()=>this.list.type==="exhibitors"&&!this.details,searchBoxConfig:()=>({mode:"search",title:S("Exhibitors")})},{id:"filter",className:"efp-overlay-filter",priority:50,isActive:()=>this.list.type==="filter"&&!this.details,searchBoxConfig:()=>({mode:"search",title:S("Filter")})},{id:"bookmarks",className:"efp-overlay-bookmarks",priority:50,isActive:()=>this.list.type==="bookmarks"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:S("Bookmarks"),badge:this.rootStore.exhibitorStore.bookmarked.length+this.rootStore.eventStore.bookmarked.length+this.rootStore.speakerStore.bookmarked.length})},{id:"visited",className:"efp-overlay-visited",priority:50,isActive:()=>this.list.type==="visited"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:S("Visited"),badge:this.rootStore.exhibitorStore.visited.length})},{id:"language",className:"efp-overlay-language",priority:50,isActive:()=>this.list.type==="language",searchBoxConfig:()=>({mode:"interface",title:S("Language")})},{id:"category",className:"efp-overlay-category",priority:50,isActive:()=>!M.menu&&!!M.selectedCategory,searchBoxConfig:()=>({mode:"interface",title:this.list.type==="category"&&this.list.category?.name||S("Categories")})},{id:"sessions",className:"efp-overlay-sessions",priority:50,isActive:()=>this.list.type==="sessions"&&!this.details,searchBoxConfig:()=>({mode:"search",title:S("Sessions"),subtitle:this.selectedTrack?this.selectedTrack.name:void 0})},{id:"speakers",className:"efp-overlay-speakers",priority:50,isActive:()=>this.list.type==="speakers"&&!this.details,searchBoxConfig:()=>({mode:"search",title:S("Speakers")})},{id:"speaker",className:"efp-overlay-speaker",priority:50,isActive:()=>this.details instanceof Vl,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"tours",className:"efp-overlay-tours",priority:50,isActive:()=>this.list.type==="tours"&&!this.details,searchBoxConfig:()=>({mode:"search",title:S("Guided Tours")})},{id:"multi-point-wayfinding",className:"efp-overlay-multi-point",priority:75,isActive:()=>!!(this.isMultiPointRoute&&this.selectedRoute&&this.list.type!=="route-planner"),searchBoxConfig:()=>({mode:"interface",title:this.routeTitle||S("Multi-point route")})},{id:"multi-point-tour",className:"efp-overlay-multi-point-tour",priority:75,isActive:()=>this.list.type==="multi-point-tour"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:this.tourTitle||S("Multi-point route")})},{id:"route-planner",className:"efp-overlay-route-planner",priority:76,isActive:()=>this.list.type==="route-planner",searchBoxConfig:()=>({mode:"interface",title:S("Route planner")})}].sort((t,e)=>e.priority-t.priority));list=a(this,Y,{type:"search",text:"",focused:!1});details=(a(this,$),a(this,Z,null));hoveredExhibitor=(a(this,W),a(this,J,null));hoveredBooth=(a(this,q),a(this,te,null));zoomBy=(a(this,se),a(this,ae,null));rollReset=(a(this,le),a(this,oe,!1));moveToBooths=(a(this,ne),a(this,de,null));moveToRect=(a(this,he),a(this,fe,null));moveToLocation=(a(this,me),a(this,pe,!1));menu=(a(this,_e),a(this,Se,!1));searchFocused=(a(this,ye),a(this,Ie,!1));searchClearMode=(a(this,be),a(this,ze,!1));printingPdf=(a(this,Ce),a(this,Pe,!1));largeMessage=(a(this,Me),a(this,Te,null));largeMessageLastSet=(a(this,Re),a(this,De,null));screenSize=(a(this,Le),a(this,Ae,void 0));desiredOverlaySize=(a(this,Fe),a(this,He,void 0));overlayShowsAll=(a(this,Ne),a(this,Ke,!1));centerMap=(a(this,Ge),a(this,Ye,!1));zoomAfTransformK=(a(this,$e),a(this,Ze,1));activeListIndex=(a(this,We),a(this,Je,-1));devicePixelRatio=(a(this,qe),a(this,tt,window.devicePixelRatio));previewExhibitor=(a(this,st),null);wsStarted=a(this,at,!1);canvasStarted=(a(this,lt),a(this,ot,!1));kiosk=(a(this,nt),a(this,dt,!1));inIdle=(a(this,ht),a(this,ft,!1));modalActive=(a(this,mt),a(this,pt,{share:!1}));galleryActive=(a(this,_t),a(this,St,!1));hideOverlay=(a(this,yt),a(this,It,!1));hideCookieConsent=(a(this,bt),a(this,zt,!!er()));hideHeaderLogo=(a(this,Ct),a(this,Pt,!1));hideLogoInBooth=(a(this,Mt),a(this,Tt,!1));disableBookmarked=(a(this,Rt),a(this,Dt,!1));hideLanguage=(a(this,Lt),a(this,At,!1));monochrome=(a(this,Ft),a(this,Ht,!1));heatmap=(a(this,Nt),a(this,Kt,!1));heatmapYah=(a(this,Gt),a(this,Yt,!1));rtl=(a(this,$t),a(this,Zt,N()==="ar"||N()==="he"));rootElement=a(this,Wt);debugCircles=a(this,Jt,[]);mapControlsHidden=(a(this,qt),a(this,ts,!1));floorsControlHidden=(a(this,ss),a(this,as,!1));hideFreeOrDemo=(a(this,ls),a(this,os,!1));currentBanner=(a(this,ns),a(this,ds,null));sceneDefReady=(a(this,hs),a(this,fs,!1));categoryFilterOpen=(a(this,ms),a(this,ps,!1));selectedCategoryFilters=(a(this,_s),a(this,Ss,[]));selectedPoiTypeFilters=(a(this,ys),a(this,Is,[]));selectedTrack=(a(this,bs),a(this,zs,null));subButtonsVisible=(a(this,Cs),a(this,Ps,!1));mapControlsDOMRect=(a(this,Ms),a(this,Ts,void 0));searchBoxMode=(a(this,Rs),a(this,Ds,"search"));searchBoxTitle=(a(this,Ls),a(this,As,""));searchBoxSubtitle=(a(this,Fs),a(this,Hs,void 0));routeTitle=(a(this,Ns),a(this,Ks,void 0));routeDescription=(a(this,Gs),a(this,Ys,void 0));isMultiPointRoute=(a(this,$s),a(this,Zs,!1));tourTitle=(a(this,Ws),a(this,Js,void 0));tourDescription=(a(this,qs),a(this,ti,void 0));isMultiPointTour=(a(this,si),a(this,ai,!1));pathwayOnlyMode=(a(this,li),a(this,oi,!1));isOverlayScrolled=(a(this,ni),a(this,di,!1));listScrollTop=(a(this,hi),a(this,fi,0));listScrollItemId=(a(this,mi),a(this,pi,null));listScrollIndex=(a(this,_i),a(this,Si,0));scrollPositions=(a(this,yi),new Map);scrollItemIds=new Map;_customUIScale=a(this,Ii,null);searchFilterHeightPx=(a(this,bi),54);searchInputHeightPx=54;overlayUISizePx=390;overlayKioskSizePx=450;overlayMediumHeightRems=10;setSelectedCategoryFilters(t){this.selectedCategoryFilters=t}resetCategoryFilter(){this.selectedCategoryFilters=[],this.categoryFilterOpen=!1}setSearchClearMode(t){this.searchClearMode=t}setRouteTitle(t){this.routeTitle=t}setRouteDescription(t){this.routeDescription=t}setIsMultiPointRoute(t){this.isMultiPointRoute=t}setTourTitle(t){this.tourTitle=t}setTourDescription(t){this.tourDescription=t}setIsMultiPointTour(t){this.isMultiPointTour=t}setPathwayOnlyMode(t){this.pathwayOnlyMode=t}setMultiPointTourList(t){this.list={type:"multi-point-tour",tourId:t}}get activePathwayLayers(){return this.list?.type==="multi-point-tour"?this.rootStore.toursStore.getTourById(this.list.tourId)?.layers?.map(e=>e.id)||[]:[]}get highlightedBooths(){const t=new Set(this.rootStore.exhibitorStore.highlightedByExternalIds),e=new Set(this.rootStore.boothStore.highlightedByExternalIds),s=new Set([this.rootStore.exhibitorStore.exhibitors.filter(r=>t.has(r.externalId)).flatMap(r=>r.booths.filter(n=>n instanceof T)).map(r=>r.id.toString()),this.rootStore.boothStore.booths.filter(r=>e.has(r.externalId)).map(r=>r.id.toString())].flat());if(this.list?.type==="search"&&this.list?.text?.trim().length){s.clear();const r=this.fuzzySearchItems.filter(n=>n.score===0).map(n=>n.item);r.length?Gl(r,this.rootStore.boothStore.booths).forEach(n=>s.add(n.id.toString())):this.listBooths.forEach(n=>s.add(n.id.toString()))}if(this.list?.type==="filter"&&(s.clear(),this.list.items.flatMap(r=>r.booths.filter(n=>n instanceof T)).forEach(r=>s.add(r.id.toString()))),this.categoryFilterOpen&&this.selectedCategoryFilters.length>0?(s.clear(),this.selectedCategoryFilters.forEach(r=>{r.exhibitors.flatMap(n=>n.booths).forEach(n=>s.add(n.id.toString()))})):this.list?.type==="category"&&(s.clear(),this.list.category.exhibitors.flatMap(r=>r.booths).forEach(r=>s.add(r.id.toString()))),this.list?.type==="bookmarks"&&(s.clear(),this.rootStore.exhibitorStore.exhibitors.filter(r=>r.bookmarked).flatMap(r=>r.booths.filter(n=>n instanceof T)).forEach(r=>s.add(r.id.toString())),this.rootStore.boothStore.booths.filter(r=>r.exhibitors.length===0&&r.bookmarkedDirectly).forEach(r=>s.add(r.id.toString()))),this.list?.type==="visited"&&(s.clear(),this.rootStore.exhibitorStore.visited.flatMap(r=>r.booths.filter(n=>n instanceof T)).forEach(r=>s.add(r.id.toString()))),this.list?.type==="exhibitors"){s.clear();const r=this.list.text?.toLowerCase().trim();let n=this.rootStore.exhibitorStore.exhibitors;r&&(n=n.filter(h=>h.name.toLowerCase().includes(r))),n.flatMap(h=>h.booths.filter(g=>g instanceof T)).forEach(h=>s.add(h.id.toString()))}if(this.selectedPoiTypeFilters.length>0&&(s.clear(),this.selectedPoiTypeFilters.forEach(r=>{this.rootStore.boothStore.booths.filter(n=>n.poiTypeId===r.id).forEach(n=>s.add(n.id.toString()))})),this.details instanceof D&&(s.clear(),s.add(this.details.from?.id.toString()),s.add(this.details.to?.id.toString()),this.details.waypoints?.forEach(r=>s.add(r.id.toString()))),this.details instanceof R&&(s.clear(),s.add(this.details.id.toString())),this.details instanceof x&&(s.clear(),this.details.booths.filter(r=>r instanceof T).forEach(r=>s.add(r.id.toString()))),this.details instanceof L){const r=this.details;if(r.boothId){s.clear();const n=this.rootStore.boothStore.booths.find(h=>h.id===r.boothId);n&&s.add(n.id.toString())}}return s.delete(void 0),s.delete(null),s}constructor(t){a(this,Dl),this.rootStore=t,this.initializeUIScale()}get noOverlay(){return this.rootStore.fp.noOverlay||this.hideOverlay}get onBoothClick(){return this.rootStore.fp.onBoothClick}get onMarkerClick(){return this.rootStore.fp.onMarkerClick}get onBookmarkClick(){return this.rootStore.fp.onBookmarkClick}get onVisitedClick(){return this.rootStore.fp.onVisitedClick}get onCategoryClick(){return this.rootStore.fp.onCategoryClick}get onDirection(){return this.rootStore.fp.onDirection}get onDetails(){return this.rootStore.fp.onDetails}get onExhibitorCustomButtonClick(){return this.rootStore.fp.onExhibitorCustomButtonClick}get onGetCoordsClick(){return this.rootStore.fp.onGetCoordsClick}get selectedExhibitor(){return this.details instanceof x?this.details:null}get selectedBooth(){return this.details instanceof R?this.details:null}get selectedCategory(){return this.list.type==="category"?this.list.category:null}get selectedRoute(){return this.details instanceof D?this.details:null}get selectedSpeaker(){return this.details instanceof Vl?this.details:null}get uiScale(){return this._customUIScale!==null?this._customUIScale:this.kiosk?1.2:1}get isGuidedToursActive(){return this.rootStore.toursStore.isActive}get getRouteNextFloor(){const t=this.rootStore.routeStore.pathLayers,e=this.rootStore.routeStore.currentRouteLayer?.name;if(!e)return null;const s=t.findIndex(m=>m.layer?.name===e);return s===-1?null:t[s+1]?.layer?.name}get headerHeightRem(){return 0}get headerHeightPx(){return H(this.headerHeightRem)}get overlayPosition(){return!this.screenSize||this.screenSize.width>ar||this.kiosk?"left":"bottom"}get overlayCollapsed(){return this.kiosk&&this.overlayPosition==="left"&&!this.searchFocused&&!this.menu&&!this.details&&!this.selectedCategory&&!this.selectedExhibitor&&this.list.type!=="bookmarks"&&this.list.type!=="language"&&!this.list.text?.length}get overlaySize(){return this.overlayLeft?"full":this.desiredOverlaySize}get overlayBottom(){return this.overlayPosition==="bottom"}get overlayLeft(){return this.overlayPosition==="left"}get overlayWidthPx(){return this.noOverlay?0:this.overlayLeft?this.kiosk?this.overlayKioskSizePx:this.overlayUISizePx:H(this.screenSize.width)}get wsImageHeightPx(){return 44}get wsPaddingPx(){return H(.25)}get wsOccupiedHeightPx(){return this.wsShown?this.wsImageHeightPx+this.wsPaddingPx*2:0}get wsShown(){return!this.hideHeaderLogo&&this.rootStore.exhibitorStore.advertised.length>0}get wsDesktopPosition(){return U.EXPO==="cbresupplypartner"?"bottom":"top"}get wsPosition(){return this.overlayBottom?"top":this.wsDesktopPosition}get responsiveClass(){return tr(this.screenSize.width)}get mapVisibleTop(){return(this.wsPosition==="top"?this.wsOccupiedHeightPx:0)+this.headerHeightPx}get mapVisibleBottom(){return this.overlayLeft||this.noOverlay?this.wsPosition==="bottom"?this.wsOccupiedHeightPx:0:H(this.overlayMediumHeightRems)}get mapVisibleStart(){return 0}get searchActionsHeightPx(){return this.overlayPosition==="bottom"?this.searchInputHeightPx+this.searchFilterHeightPx:this.searchInputHeightPx}get fullSizeOffset(){const t=this.wsShown?54:0,e=20;if(this.details&&!(this.details instanceof D))return t+e;const s=54,m=this.shouldShowSearchButtons?54:0;return t+s+e+m}get shouldShowSearchButtons(){return this.rootStore.searchButtonsStore.hasAnySearchButtons&&!this.details&&!this.menu&&!["language","filter"].includes(this.list.type)}get canvasVisibleRectPx(){const t=this.screenSize;return Jl.fromX1y1x2y2(M.rtl?0:this.mapVisibleStart,this.mapVisibleTop+this.searchActionsHeightPx,M.rtl?t.width-this.mapVisibleStart:t.width,t.height-this.mapVisibleBottom)}get shouldShiftMapRect(){return this.overlayPosition==="left"&&(this.details||this.hasAppliedFilters||this.selectedRoute)}get hasAppliedFilters(){return this.selectedCategoryFilters.length>0||this.selectedPoiTypeFilters.length>0}get canvasVisibleRectPt(){return this.canvasVisibleRectPx.scale(this.devicePixelRatio)}get canvasSizePt(){return this.screenSize.scale(this.devicePixelRatio)}get shouldUseBackdrop(){if(M.overlayCollapsed)return!1;if(w&&localStorage.getItem("forcebackdrop")==="1")return!0;if(this.overlayBottom||this.selectedExhibitor?.leadingImageUrl&&!this.selectedExhibitor?.leadingImageLinkUrl)return!1;const t=Nl.satisfies({safari:">=13"}),e=Nl.satisfies({chrome:">=77"});var s=/(android)/i.test(navigator.userAgent);return s?!1:t||e&&M.canvasSizePt.height*M.canvasSizePt.width<3e6}forceDimm=a(this,ya,!1);setForceDimm(t){this.forceDimm=t}get dimmed(){return this.forceDimm||this.pathwayOnlyMode?!0:this.highlightedBooths.size>0||this.list?.type==="search"&&this.list?.text?.trim().length>0||this.list?.type==="exhibitors"}get defaultSearchItems(){const{exhibitorStore:t,categoryStore:e,boothStore:s,heatmapStore:m}=this.rootStore;let r=t.exhibitors;const n=e.categories.filter(p=>p.exhibitors.length),h=s.booths;this.selectedPoiTypeFilters.length>0&&(r=r.filter(p=>p.booths.some(v=>this.selectedPoiTypeFilters.some(y=>v.poiTypeId===y.id))));let g=[];const I=!this.selectedCategoryFilters.length&&B.showCategories?n.filter(p=>rr.includes(U.EXPO)?!p.name.includes("/"):!0):[],C=h.filter(p=>p instanceof G);return this.selectedCategoryFilters.length>0?g=[...r]:(B.showCompaniesAndBooths&&(g=g.concat(r)),B.showOtherSpaces&&(g=g.concat(C))),this.heatmap?[...r,...h].sort((v,y)=>m.getClicksByType(y)-m.getClicksByType(v)):this.heatmapYah?m.heatmapData?.yah?.sort((p,v)=>m.getClicksByType(v)-m.getClicksByType(p))||[]:r.length===0?h:I.concat(g.sort((p,v)=>{const y=p instanceof x&&p.featured!==void 0,b=v instanceof x&&v.featured!==void 0;if(y!==b)return y?-1:1;const O=p instanceof G&&p.title?p.title:p.name,V=v instanceof G&&v.title?v.title:v.name;return O.localeCompare(V,void 0,{sensitivity:"base",numeric:!0})}))}get searchItems(){if(this.list.type!=="search")return[];let t=this.list.text?.trim().toLowerCase()||"";const{exhibitorStore:e,categoryStore:s,boothStore:m,eventStore:r,speakerStore:n,heatmapStore:h}=this.rootStore;let g=e.exhibitors;const I=s.categories.filter(d=>d.exhibitors.length),C=m.booths,p=r.eventItems,v=n.speakers;if(this.selectedCategoryFilters.length>0&&(g=g.filter(d=>this.selectedCategoryFilters.some(u=>d.categories.some(_=>_.id===u.id)))),this.selectedPoiTypeFilters.length>0&&(g=g.filter(d=>d.booths.some(u=>this.selectedPoiTypeFilters.some(_=>u.poiTypeId===_.id)))),!t)return this.defaultSearchItems;const y=[t.replace(/&[^&=]+=[^&]+/g,"")];if(this.heatmapYah)return h.heatmapData.yah.filter(u=>Number.isNaN(Number(t))?u:u.viewCount>=Number(t)).sort((u,_)=>h.getClicksByType(_)-h.getClicksByType(u));const b=[],O=new Set,V=new Set,El=new Set,Ql=new Set;function Al(d){return d?d.replace(/[!@#$%^*-\.,\(\)^#$%:?_+'"\/]/g," ").replace(/\s\s+/g," "):""}function k(d,u){return!d||!u?!1:Al(d).toLowerCase().includes(Al(u).toLowerCase())}function Fl(d,u){return d?k(d,u)||k(B.levelTerm+" "+d,u):!1}g.forEach(d=>{y.some(u=>k(d.name,u)||d.booths.some(_=>!u&&k(_.name,u)||Fl(_.layer?.name??null,u)))&&O.add(d)}),this.selectedCategoryFilters.length>0&&C.forEach(d=>{(this.heatmap||!(d instanceof T)||!Array.from(O).find(_=>_.booths.includes(d)))&&y.some(_=>k(d.title||"",_)||k(d.name,_)||k(d.fullName,_)||Fl(d.layer?.name??null,_))&&V.add(d)});const Yl=p,$l=v;if(Yl.forEach(d=>{y.some(u=>k(d.name||"",u)||k(d.description||"",u))&&El.add(d)}),$l.forEach(d=>{y.some(u=>k(d.name,u)||k(d.company,u)||k(d.jobTitle,u))&&Ql.add(d)}),b.push(...El),b.push(...O),this.heatmap)return b.sort((d,u)=>h.getClicksByType(u)-h.getClicksByType(d));const jl=new Map(b.map(d=>[d.id,d]));return b.map(d=>{if(!d.name)return null;const u=Kl(d instanceof R&&d.fullName.toLowerCase()||d.name.toLowerCase()),_=u.indexOf(Kl(t));if(_===-1)return null;const Ul={id:d.id,position:_,lowerCaseName:u,featured:!1};return d instanceof x&&(Ul.featured=d.featured),Ul}).filter(Boolean).sort((d,u)=>(d.featured||u.featured)&&d.featured!==u.featured?d.featured?-1:1:d.position!==u.position?d.position-u.position:d.lowerCaseName.localeCompare(u.lowerCaseName)||String(d.id).localeCompare(String(u.id))).map(({id:d})=>jl.get(d))}get searchList(){return[...this.rootStore.eventStore.eventItems,...this.rootStore.speakerStore.speakers,...this.rootStore.categoryStore.categories.filter(t=>t.exhibitors.length),...this.rootStore.exhibitorStore.exhibitors,...this.rootStore.boothStore.booths]}get foundInDescription(){if(this.list?.type!=="search")return[];const t=this.list?.text?.trim().toLowerCase();if(!t)return[];const e=this.fuzzySearchItems.map(({item:n})=>n),s=new Set(e.map(n=>n.name)),r=this.searchList.filter(n=>!s.has(n.name)).filter(n=>n.description&&n.description?.includes(t));return r.sort((n,h)=>{const g=n.description?.toLowerCase().indexOf(t),I=h.description?.toLowerCase().indexOf(t);return g-I}),r}get foundInDescriptionStruct(){const t={};if(this.list?.type!=="search")return t;const e=this.list?.text?.trim().toLowerCase();return this.foundInDescription.forEach(s=>{const m=s.description;if(!m)return;const r=m.indexOf(e);if(r===-1)return;const n=3,h=r>n?r-n:0,g=m.substring(h).trim();t[s.id]=r>0?`...${g}`:g}),t}get fuzzySearchItems(){if(this.list?.type!=="search")return[];const t=this.list?.text?.trim().toLowerCase();if(!t)return this.defaultSearchItems.map(h=>({item:h,score:0,matches:[]}));let e=this.searchList;this.selectedCategoryFilters.length>0&&(e=e.filter(h=>h instanceof x?this.selectedCategoryFilters.some(g=>h.categories.some(I=>I.id===g.id)):!1));const s=t.toLowerCase(),m=[],r=[];e.forEach(h=>{const g=h.name?.toLowerCase(),I=h.entity.type,C=I==="booth"?h:null,p=I==="exhibitor"?h:null;[g,C?.title?.toLowerCase()||"",C?.fullName?.toLowerCase()||"",...p?.booths?.map(b=>b.name?.toLowerCase()||"")??[]].some(b=>b.includes(s))?m.push(h):r.push(h)}),m.sort((h,g)=>{const I=h.name.toLowerCase().indexOf(s),C=g.name.toLowerCase().indexOf(s);return I-C});const n=this.rootStore.fuzzySearchEngineStore.search(r,t,["name","title","fullName","booths.name"]);return[...m.map(h=>({item:h,score:0})),...n]}get listItems(){if(this.details instanceof D&&this.list.type!=="multi-point-tour")return[this.details.from,this.details.to].filter(t=>t);switch(this.list.type){case"search":let t=this.rootStore.fuzzySearchEngineStore.engine?this.fuzzySearchItems.map(({item:r})=>r).concat(this.foundInDescription):this.searchItems;return t=t.filter(r=>r.entity.type==="booth"?!r.exhibitors.length:!0),this.hasAppliedFilters?t.filter(r=>{if(this.selectedCategoryFilters.length>0&&r instanceof x&&!this.selectedCategoryFilters.some(n=>r.categories.some(h=>h.id===n.id)))return!1;if(this.selectedPoiTypeFilters.length>0){if(r instanceof x&&!r.booths.some(n=>this.selectedPoiTypeFilters.some(h=>n.poiTypeId===h.id))||r instanceof R&&!this.selectedPoiTypeFilters.some(n=>r.poiTypeId===n.id))return!1;if(r instanceof L&&r.boothId){const n=this.rootStore.boothStore.booths.find(h=>h.id===r.boothId);if(!n||!this.selectedPoiTypeFilters.some(h=>n.poiTypeId===h.id))return!1}}return!0}):t;case"bookmarks":return[...this.rootStore.exhibitorStore.bookmarked,...this.rootStore.eventStore.bookmarked,...this.rootStore.speakerStore.bookmarked,...this.rootStore.boothStore.booths.filter(r=>r.exhibitors.length===0&&r.bookmarkedDirectly)];case"visited":return[...this.rootStore.exhibitorStore.visited,...this.rootStore.eventStore.visited];case"category":return this.list.category.exhibitors;case"language":return this.rootStore.languageStore.languages;case"filter":return this.list.items;case"sessions":return this.rootStore.eventStore.eventItems;case"exhibitors":const e=this.rootStore.exhibitorStore.exhibitors,s=this.list.text?.toLowerCase().trim();return s?e.filter(r=>r.name.toLowerCase().includes(s)):e;case"multi-point-tour":const m=this.rootStore.toursStore.getTourById(this.list.tourId);return m?!m.points||m.points.length===0?[]:m.points.map(r=>{const n=parseInt(r);if(!isNaN(n)){const g=this.rootStore.boothStore.boothById.get(n);if(g)return g}return sr(r)?.entity||null}).filter(Boolean):[];case"route-planner":return this.rootStore.routePlannerStore.resolvedBooths}throw new Error("Unknown list.type")}get listBooths(){return Gl(this.listItems,this.rootStore.boothStore.booths)}get selectedBooths(){let t=[];this.selectedExhibitor?t=this.selectedExhibitor.booths:this.selectedBooth&&(t=[this.selectedBooth]);const e=this.selectedRoute;return e?.from&&t.push(e.from),e?.to&&t.push(e.to),e?.waypoints&&e?.waypoints?.forEach(s=>t.push(s)),new Set(t)}get hoveredBooths(){let t;return this.hoveredBooth?t=[this.hoveredBooth]:this.hoveredExhibitor&&(t=this.hoveredExhibitor.booths),new Set(t)}get visibility(){return{controls:!this.mapControlsHidden,levels:!this.floorsControlHidden,header:this.wsShown,overlay:!this.hideOverlay}}setVisibility(t){const e={...Object.keys(this.visibility).reduce((s,m)=>({...s,[m]:!0}),{}),...Object.keys(t).filter(s=>this.visibility.hasOwnProperty(s)).reduce((s,m)=>({...s,[m]:t[m]}),{})};Object.values(e).every(Boolean)?w&&localStorage.removeItem(Hl):w&&localStorage.setItem(Hl,JSON.stringify(e)),this.mapControlsHidden=!e.controls,this.floorsControlHidden=!e.levels,this.hideHeaderLogo=!e.header,this.hideFreeOrDemo=!e.header,this.hideOverlay=!e.overlay}toggleMapOverlay(){this.overlayPosition==="bottom"&&this.overlaySize==="full"?this.desiredOverlaySize="medium":this.overlayPosition==="bottom"&&this.overlaySize!=="full"&&(this.desiredOverlaySize="full")}resetRtl(){this.rtl=N()==="ar"||N()==="he"}changeZoom(t){this.zoomBy=t}zoomIn(){this.changeZoom(1.5)}zoomOut(){this.changeZoom(.66)}fitBounds(){this.moveToRect=this.rootStore.layerStore.rectangle||ql,this.rollReset=!0}get previewMode(){return w&&localStorage.getItem(Wl)==="1"||this.rootStore.fp.previewMode}get selectedEventItem(){return this.details instanceof L?this.details:null}get defaultMapSettings(){return{zoomtime:500,center:void 0,centerxy:void 0,z:void 0,bearing:0,roll:1}}mapSettings=(a(this,ka),a(this,Ga,{...this.defaultMapSettings}));saveMapSettings(t){const e=JSON.stringify(this.mapSettings),s=JSON.stringify(t);e!==s&&sessionStorage.setItem(Zl,JSON.stringify(t))}setMapSettings(t){const e={};for(const s in t)t[s]!=null&&(s==="zoomtime"?e[s]=Math.min(Math.max(t[s]||this.mapSettings.zoomtime,500),5e3):e[s]=t[s]);this.mapSettings={...this.mapSettings,...e},this.saveMapSettings(this.mapSettings)}resetMapSettings(){this.mapSettings={...this.defaultMapSettings},this.saveMapSettings(this.mapSettings)}get baseQRCodeUrl(){return`https://${U.EXPO}.expofp.com`}get viewMapOnPhoneQRCodeUrl(){if(B?.customKioskQrCodeUrl)return B.customKioskQrCodeUrl;const t=new URL(this.baseQRCodeUrl);t.search=window.location.search;const e=ir();e&&t.searchParams.set("yah",e);const s=t.toString();return console.log("View Map On Phone QR Code Url",s),s}get routeQRCodeUrl(){const t=new URL(this.baseQRCodeUrl),e=this.selectedRoute?.to?.slug||"",s=this.selectedRoute?.from?.slug||"";t.search=`?route%3A${encodeURIComponent(e)}%3A${encodeURIComponent(s)}%3Afalse`,lr(t.searchParams,this.kioskData,["x","y","z"]);const m=t.toString();return console.log("Route QR Code Url",m),m}get isFeaturedExhibitorActive(){return this.details instanceof x&&!!this.details.featured}get activeInterfaceData(){for(const t of this.interfaceMetadata)if(t.isActive())return t;return null}get searchBoxConfig(){const t=this.activeInterfaceData;return!t||!t.searchBoxConfig?{mode:"search",title:"",subtitle:void 0,badge:void 0,icon:void 0}:t.searchBoxConfig()||{mode:"search",title:"",subtitle:void 0,badge:void 0,icon:void 0}}get overlayInterfaceClasses(){const t=[],e=this.activeInterfaceData;return e&&(t.push(e.className),e.additionalClasses&&t.push(...e.additionalClasses())),this.details&&t.push("overlay-has-details"),this.list.type&&t.push(`overlay-list-${this.list.type}`),this.isFeaturedExhibitorActive&&t.push("overlay-exhibitor-featured"),t}get isOverlayOpen(){return this.noOverlay||this.hideOverlay?!1:this.activeInterfaceData!==null}setOverlayScrolled(t){this.isOverlayScrolled=t}setListScrollTop(t,e){this.listScrollTop=e,this.scrollPositions.set(t,e)}setListScrollItemId(t,e){this.listScrollItemId=e,this.scrollItemIds.set(t,e)}getListScrollTop(t){return this.scrollPositions.get(t)||0}getListScrollItemId(t){return this.scrollItemIds.get(t)||null}clearListScroll(t){this.scrollPositions.delete(t),this.scrollItemIds.delete(t),this.list.type===t&&(this.listScrollTop=0,this.listScrollItemId=null)}get bannerType(){return this.hideFreeOrDemo||this.heatmap?null:U.EXPO==="expo"?"demo":B.expoFpAd||B.isTrial?"free":null}get isBannerVisible(){return this.bannerType!==null}setCurrentBanner(t){this.currentBanner=t}forceShowDetails=(a(this,Qa),a(this,ul,!1));setForceShowDetails(t){this.forceShowDetails=t}get showRouteInstantly(){return!!(this.kiosk&&!this.forceShowDetails)}buildRoute=(a(this,fl),a(this,_l,!1));startBuildRoute(){this.rootStore.selectSearch(""),this.mapControlsHidden=!0,this.floorsControlHidden=!0,this.hideHeaderLogo=!0,this.hideFreeOrDemo=!0,this.hideOverlay=!0,this.hideCookieConsent=!0,this.buildRoute=!0}globalErrorMessages=(a(this,vl),a(this,kl,[]));setGlobalErrorMessage(t){this.globalErrorMessages.push(t)}popGlobalErrorMessage(){this.globalErrorMessages.pop()}initializeUIScale(){if(new URLSearchParams(window.location.search).get("kiosk")!=="0"&&w){const e=localStorage.getItem(K);if(e){const s=parseFloat(e);!isNaN(s)&&s>=.8&&s<=1.4&&(this._customUIScale=s)}}}minUIScale=(a(this,Il),.8);maxUIScale=1.4;setUIScale(t,e=!0){if(isNaN(t)||t<this.minUIScale||t>this.maxUIScale){Xl.warn(`Invalid ui-scale value: ${t}. Must be between ${this.minUIScale} and ${this.maxUIScale}.`);return}this._customUIScale=t,e&&w&&localStorage.setItem(K,t.toString())}resetUIScale(){this._customUIScale=null,w&&localStorage.removeItem(K)}setKioskModeEnabled=a(this,Ml,!1);enableSetKioskMode(t){this.setKioskModeEnabled=t}kioskData=(a(this,wl),a(this,Ol,void 0));setKioskData(t){this.kioskData=t}}})();export default or;function Gl(E,A){const P=[];return E.forEach(z=>{z instanceof x?P.push(...z.booths):z instanceof R?P.push(z):z instanceof L&&z.boothId&&P.push(A.find(F=>F.id===z.boothId))}),new Set(P.filter(Boolean))}
1
+ import{__esDecorate as i,__runInitializers as a}from"tslib";import{action as f,computed as n,observable as o}from"mobx";import{uiState as M}from".";import{MAP_SETTINGS_KEY as Wl,PREVIEW_MODE_STORAGE_KEY as Xl,UI_SCALE_STORAGE_KEY as K,VISIBILITY_STORAGE_KEY as Nl}from"../constants";import Jl from"../tools/logger";import ql from"../core/Rect";import B from"../data";import{svgArea as er}from"../data/svg";import{hasUserConsent as tr}from"../tools/gtag";import U from"../tools/settings";import{remsToPixels as H}from"../utils";import Vl from"../utils/browser";import{getLanguage as N}from"../utils/i18n";import{isLocalStorageAvailable as w}from"../utils/localStorage";import{getResponsiveClass as sr}from"../utils/responsiveClass";import{BoothBase as R,RegularBooth as T,SpecialBooth as G}from"./BoothStore";import{Exhibitor as x}from"./ExhibitorStore";import{Route as D,findEntityByExternalId as ir}from"./RouteStore";import{EventItem as L}from"./EventStore";import{SpeakerItem as Kl}from"./SpeakerStore";import{sanitizeStr as Gl}from"../utils/sanitizeText";import{getRawYah as ar}from"../utils/yah";import{t as S}from"../utils/i18n";import{MOBILE_BREAKPOINT as lr}from"../constants";import{setKioskUrlParams as rr}from"../components/Kiosk/kioskUrlParam";const or=["dimensions25"];let nr=(()=>{var A,E,P,z,F;let l=[],Q,Y=[],$=[],j,Z=[],W=[],X,J=[],q=[],ee,te=[],se=[],ie,ae=[],le=[],re,oe=[],ne=[],ce,de=[],he=[],ue,fe=[],me=[],ge,pe=[],_e=[],ve,Se=[],ye=[],ke,Ie=[],be=[],xe,ze=[],Ce=[],Be,Pe=[],Me=[],we,Te=[],Re=[],Oe,De=[],Le=[],Ae,Ee=[],Fe=[],Ue,He=[],Ne=[],Ve,Ke=[],Ge=[],Qe,Ye=[],$e=[],je,Ze=[],We=[],Xe,Je=[],qe=[],et,tt=[],st=[],it,at=[],lt=[],rt,ot=[],nt=[],ct,dt=[],ht=[],ut,ft=[],mt=[],gt,pt=[],_t=[],vt,St=[],yt=[],kt,It=[],bt=[],xt,zt=[],Ct=[],Bt,Pt=[],Mt=[],wt,Tt=[],Rt=[],Ot,Dt=[],Lt=[],At,Et=[],Ft=[],Ut,Ht=[],Nt=[],Vt,Kt=[],Gt=[],Qt,Yt=[],$t=[],jt,Zt=[],Wt=[],Xt,Jt=[],qt=[],es,ts=[],ss=[],is,as=[],ls=[],rs,os=[],ns=[],cs,ds=[],hs=[],us,fs=[],ms=[],gs,ps=[],_s=[],vs,Ss=[],ys=[],ks,Is=[],bs=[],xs,zs=[],Cs=[],Bs,Ps=[],Ms=[],ws,Ts=[],Rs=[],Os,Ds=[],Ls=[],As,Es=[],Fs=[],Us,Hs=[],Ns=[],Vs,Ks=[],Gs=[],Qs,Ys=[],$s=[],js,Zs=[],Ws=[],Xs,Js=[],qs=[],ei,ti=[],si=[],ii,ai=[],li=[],ri,oi=[],ni=[],ci,di=[],hi=[],ui,fi=[],mi=[],gi,pi=[],_i=[],vi,Si=[],yi=[],ki,Ii=[],bi=[],xi,zi,Ci,Bi,Pi,Mi,wi,Ti,Ri,Oi,Di,Li,Ai,Ei,Fi,Ui,Hi,Ni,Vi,Ki,Gi,Qi,Yi,$i,ji,Zi,Wi,Xi,Ji,qi,ea,ta,sa,ia,aa,la,ra,oa,na,ca,da,ha,ua,fa,ma,ga,pa,_a,va,Sa,ya=[],ka=[],Ia,ba,xa,za,Ca,Ba,Pa,Ma,wa,Ta,Ra,Oa,Da,La,Aa,Ea,Fa,Ua,Ha,Na,Va,Ka,Ga=[],Qa=[],Ya,$a,ja,Za,Wa,Xa,Ja,qa,el,tl,sl,il,al,ll,rl,ol,nl,cl,dl,hl,ul,fl=[],ml=[],gl,pl,_l,vl=[],Sl=[],yl,kl,Il=[],bl=[],xl,zl,Cl,Bl,Pl,Ml,wl=[],Tl=[],Rl,Ol,Dl=[],Ll=[],Al;return class{static{const t=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;Q=[(A=o).struct.bind(A)],j=[(E=o).ref.bind(E)],X=[(P=o).ref.bind(P)],ee=[(z=o).ref.bind(z)],ie=[o],re=[o],ce=[o],ue=[o],ge=[o],ve=[o],ke=[o],xe=[o],Be=[o],we=[o],Oe=[o],Ae=[(F=o).struct.bind(F)],Ue=[o],Ve=[o],Qe=[o],je=[o],Xe=[o],et=[o],it=[o],rt=[o],ct=[o],ut=[o],gt=[o],vt=[o],kt=[o],xt=[o],Bt=[o],wt=[o],Ot=[o],At=[o],Ut=[o],Vt=[o],Qt=[o],jt=[o],Xt=[o],es=[o],is=[o],rs=[o],cs=[o],us=[o],gs=[o],vs=[o],ks=[o],xs=[o],Bs=[o],ws=[o],Os=[o],As=[o],Us=[o],Vs=[o],Qs=[o],js=[o],Xs=[o],ei=[o],ii=[o],ri=[o],ci=[o],ui=[o],gi=[o],vi=[o],ki=[o],xi=[f],zi=[f],Ci=[f],Bi=[f],Pi=[f],Mi=[f],wi=[f],Ti=[f],Ri=[f],Oi=[f],Di=[f],Li=[n],Ai=[n],Ei=[n({keepAlive:!0})],Fi=[n({keepAlive:!0})],Ui=[n({keepAlive:!0})],Hi=[n({keepAlive:!0})],Ni=[n({keepAlive:!0})],Vi=[n({keepAlive:!0})],Ki=[n({keepAlive:!0})],Gi=[n({keepAlive:!0})],Qi=[n({keepAlive:!0})],Yi=[n],$i=[n],ji=[n],Zi=[n],Wi=[n],Xi=[n],Ji=[n],qi=[n],ea=[n({keepAlive:!0})],ta=[n],sa=[n],ia=[n({keepAlive:!0})],aa=[n],la=[n],ra=[n],oa=[n],na=[n],ca=[n],da=[n],ha=[n],ua=[n],fa=[n],ma=[n],ga=[n],pa=[n],_a=[n],va=[n({keepAlive:!0})],Sa=[o],Ia=[f],ba=[n],xa=[n],za=[n],Ca=[n],Ba=[n],Pa=[n],Ma=[n],wa=[n],Ta=[n({keepAlive:!0})],Ra=[n({keepAlive:!0})],Oa=[n({keepAlive:!0})],Da=[n],La=[f],Aa=[f],Ea=[f],Fa=[f],Ua=[f],Ha=[f],Na=[f],Va=[n({keepAlive:!0})],Ka=[o],Ya=[f],$a=[f],ja=[n],Za=[n],Wa=[n],Xa=[n],Ja=[n],qa=[n],el=[n],tl=[n],sl=[n],il=[f],al=[f],ll=[f],rl=[f],ol=[f],nl=[f],cl=[n],dl=[n],hl=[f],ul=[o],gl=[f],pl=[n],_l=[o],yl=[f],kl=[o],xl=[f],zl=[f],Cl=[f],Bl=[f],Pl=[f],Ml=[o],Rl=[f],Ol=[o],Al=[f],i(this,null,xi,{kind:"method",name:"setSelectedCategoryFilters",static:!1,private:!1,access:{has:e=>"setSelectedCategoryFilters"in e,get:e=>e.setSelectedCategoryFilters},metadata:t},null,l),i(this,null,zi,{kind:"method",name:"resetCategoryFilter",static:!1,private:!1,access:{has:e=>"resetCategoryFilter"in e,get:e=>e.resetCategoryFilter},metadata:t},null,l),i(this,null,Ci,{kind:"method",name:"setSearchClearMode",static:!1,private:!1,access:{has:e=>"setSearchClearMode"in e,get:e=>e.setSearchClearMode},metadata:t},null,l),i(this,null,Bi,{kind:"method",name:"setRouteTitle",static:!1,private:!1,access:{has:e=>"setRouteTitle"in e,get:e=>e.setRouteTitle},metadata:t},null,l),i(this,null,Pi,{kind:"method",name:"setRouteDescription",static:!1,private:!1,access:{has:e=>"setRouteDescription"in e,get:e=>e.setRouteDescription},metadata:t},null,l),i(this,null,Mi,{kind:"method",name:"setIsMultiPointRoute",static:!1,private:!1,access:{has:e=>"setIsMultiPointRoute"in e,get:e=>e.setIsMultiPointRoute},metadata:t},null,l),i(this,null,wi,{kind:"method",name:"setTourTitle",static:!1,private:!1,access:{has:e=>"setTourTitle"in e,get:e=>e.setTourTitle},metadata:t},null,l),i(this,null,Ti,{kind:"method",name:"setTourDescription",static:!1,private:!1,access:{has:e=>"setTourDescription"in e,get:e=>e.setTourDescription},metadata:t},null,l),i(this,null,Ri,{kind:"method",name:"setIsMultiPointTour",static:!1,private:!1,access:{has:e=>"setIsMultiPointTour"in e,get:e=>e.setIsMultiPointTour},metadata:t},null,l),i(this,null,Oi,{kind:"method",name:"setPathwayOnlyMode",static:!1,private:!1,access:{has:e=>"setPathwayOnlyMode"in e,get:e=>e.setPathwayOnlyMode},metadata:t},null,l),i(this,null,Di,{kind:"method",name:"setMultiPointTourList",static:!1,private:!1,access:{has:e=>"setMultiPointTourList"in e,get:e=>e.setMultiPointTourList},metadata:t},null,l),i(this,null,Li,{kind:"getter",name:"activePathwayLayers",static:!1,private:!1,access:{has:e=>"activePathwayLayers"in e,get:e=>e.activePathwayLayers},metadata:t},null,l),i(this,null,Ai,{kind:"getter",name:"highlightedBooths",static:!1,private:!1,access:{has:e=>"highlightedBooths"in e,get:e=>e.highlightedBooths},metadata:t},null,l),i(this,null,Ei,{kind:"getter",name:"noOverlay",static:!1,private:!1,access:{has:e=>"noOverlay"in e,get:e=>e.noOverlay},metadata:t},null,l),i(this,null,Fi,{kind:"getter",name:"selectedExhibitor",static:!1,private:!1,access:{has:e=>"selectedExhibitor"in e,get:e=>e.selectedExhibitor},metadata:t},null,l),i(this,null,Ui,{kind:"getter",name:"selectedBooth",static:!1,private:!1,access:{has:e=>"selectedBooth"in e,get:e=>e.selectedBooth},metadata:t},null,l),i(this,null,Hi,{kind:"getter",name:"selectedCategory",static:!1,private:!1,access:{has:e=>"selectedCategory"in e,get:e=>e.selectedCategory},metadata:t},null,l),i(this,null,Ni,{kind:"getter",name:"selectedRoute",static:!1,private:!1,access:{has:e=>"selectedRoute"in e,get:e=>e.selectedRoute},metadata:t},null,l),i(this,null,Vi,{kind:"getter",name:"selectedSpeaker",static:!1,private:!1,access:{has:e=>"selectedSpeaker"in e,get:e=>e.selectedSpeaker},metadata:t},null,l),i(this,null,Ki,{kind:"getter",name:"uiScale",static:!1,private:!1,access:{has:e=>"uiScale"in e,get:e=>e.uiScale},metadata:t},null,l),i(this,null,Gi,{kind:"getter",name:"isGuidedToursActive",static:!1,private:!1,access:{has:e=>"isGuidedToursActive"in e,get:e=>e.isGuidedToursActive},metadata:t},null,l),i(this,null,Qi,{kind:"getter",name:"getRouteNextFloor",static:!1,private:!1,access:{has:e=>"getRouteNextFloor"in e,get:e=>e.getRouteNextFloor},metadata:t},null,l),i(this,null,Yi,{kind:"getter",name:"headerHeightRem",static:!1,private:!1,access:{has:e=>"headerHeightRem"in e,get:e=>e.headerHeightRem},metadata:t},null,l),i(this,null,$i,{kind:"getter",name:"headerHeightPx",static:!1,private:!1,access:{has:e=>"headerHeightPx"in e,get:e=>e.headerHeightPx},metadata:t},null,l),i(this,null,ji,{kind:"getter",name:"overlayPosition",static:!1,private:!1,access:{has:e=>"overlayPosition"in e,get:e=>e.overlayPosition},metadata:t},null,l),i(this,null,Zi,{kind:"getter",name:"overlayCollapsed",static:!1,private:!1,access:{has:e=>"overlayCollapsed"in e,get:e=>e.overlayCollapsed},metadata:t},null,l),i(this,null,Wi,{kind:"getter",name:"overlaySize",static:!1,private:!1,access:{has:e=>"overlaySize"in e,get:e=>e.overlaySize},metadata:t},null,l),i(this,null,Xi,{kind:"getter",name:"overlayBottom",static:!1,private:!1,access:{has:e=>"overlayBottom"in e,get:e=>e.overlayBottom},metadata:t},null,l),i(this,null,Ji,{kind:"getter",name:"overlayLeft",static:!1,private:!1,access:{has:e=>"overlayLeft"in e,get:e=>e.overlayLeft},metadata:t},null,l),i(this,null,qi,{kind:"getter",name:"overlayWidthPx",static:!1,private:!1,access:{has:e=>"overlayWidthPx"in e,get:e=>e.overlayWidthPx},metadata:t},null,l),i(this,null,ea,{kind:"getter",name:"wsImageHeightPx",static:!1,private:!1,access:{has:e=>"wsImageHeightPx"in e,get:e=>e.wsImageHeightPx},metadata:t},null,l),i(this,null,ta,{kind:"getter",name:"wsPaddingPx",static:!1,private:!1,access:{has:e=>"wsPaddingPx"in e,get:e=>e.wsPaddingPx},metadata:t},null,l),i(this,null,sa,{kind:"getter",name:"wsOccupiedHeightPx",static:!1,private:!1,access:{has:e=>"wsOccupiedHeightPx"in e,get:e=>e.wsOccupiedHeightPx},metadata:t},null,l),i(this,null,ia,{kind:"getter",name:"wsShown",static:!1,private:!1,access:{has:e=>"wsShown"in e,get:e=>e.wsShown},metadata:t},null,l),i(this,null,aa,{kind:"getter",name:"wsDesktopPosition",static:!1,private:!1,access:{has:e=>"wsDesktopPosition"in e,get:e=>e.wsDesktopPosition},metadata:t},null,l),i(this,null,la,{kind:"getter",name:"wsPosition",static:!1,private:!1,access:{has:e=>"wsPosition"in e,get:e=>e.wsPosition},metadata:t},null,l),i(this,null,ra,{kind:"getter",name:"responsiveClass",static:!1,private:!1,access:{has:e=>"responsiveClass"in e,get:e=>e.responsiveClass},metadata:t},null,l),i(this,null,oa,{kind:"getter",name:"mapVisibleTop",static:!1,private:!1,access:{has:e=>"mapVisibleTop"in e,get:e=>e.mapVisibleTop},metadata:t},null,l),i(this,null,na,{kind:"getter",name:"mapVisibleBottom",static:!1,private:!1,access:{has:e=>"mapVisibleBottom"in e,get:e=>e.mapVisibleBottom},metadata:t},null,l),i(this,null,ca,{kind:"getter",name:"mapVisibleStart",static:!1,private:!1,access:{has:e=>"mapVisibleStart"in e,get:e=>e.mapVisibleStart},metadata:t},null,l),i(this,null,da,{kind:"getter",name:"searchActionsHeightPx",static:!1,private:!1,access:{has:e=>"searchActionsHeightPx"in e,get:e=>e.searchActionsHeightPx},metadata:t},null,l),i(this,null,ha,{kind:"getter",name:"fullSizeOffset",static:!1,private:!1,access:{has:e=>"fullSizeOffset"in e,get:e=>e.fullSizeOffset},metadata:t},null,l),i(this,null,ua,{kind:"getter",name:"shouldShowSearchButtons",static:!1,private:!1,access:{has:e=>"shouldShowSearchButtons"in e,get:e=>e.shouldShowSearchButtons},metadata:t},null,l),i(this,null,fa,{kind:"getter",name:"canvasVisibleRectPx",static:!1,private:!1,access:{has:e=>"canvasVisibleRectPx"in e,get:e=>e.canvasVisibleRectPx},metadata:t},null,l),i(this,null,ma,{kind:"getter",name:"shouldShiftMapRect",static:!1,private:!1,access:{has:e=>"shouldShiftMapRect"in e,get:e=>e.shouldShiftMapRect},metadata:t},null,l),i(this,null,ga,{kind:"getter",name:"hasAppliedFilters",static:!1,private:!1,access:{has:e=>"hasAppliedFilters"in e,get:e=>e.hasAppliedFilters},metadata:t},null,l),i(this,null,pa,{kind:"getter",name:"canvasVisibleRectPt",static:!1,private:!1,access:{has:e=>"canvasVisibleRectPt"in e,get:e=>e.canvasVisibleRectPt},metadata:t},null,l),i(this,null,_a,{kind:"getter",name:"canvasSizePt",static:!1,private:!1,access:{has:e=>"canvasSizePt"in e,get:e=>e.canvasSizePt},metadata:t},null,l),i(this,null,va,{kind:"getter",name:"shouldUseBackdrop",static:!1,private:!1,access:{has:e=>"shouldUseBackdrop"in e,get:e=>e.shouldUseBackdrop},metadata:t},null,l),i(this,null,Ia,{kind:"method",name:"setForceDimm",static:!1,private:!1,access:{has:e=>"setForceDimm"in e,get:e=>e.setForceDimm},metadata:t},null,l),i(this,null,ba,{kind:"getter",name:"dimmed",static:!1,private:!1,access:{has:e=>"dimmed"in e,get:e=>e.dimmed},metadata:t},null,l),i(this,null,xa,{kind:"getter",name:"defaultSearchItems",static:!1,private:!1,access:{has:e=>"defaultSearchItems"in e,get:e=>e.defaultSearchItems},metadata:t},null,l),i(this,null,za,{kind:"getter",name:"searchItems",static:!1,private:!1,access:{has:e=>"searchItems"in e,get:e=>e.searchItems},metadata:t},null,l),i(this,null,Ca,{kind:"getter",name:"searchList",static:!1,private:!1,access:{has:e=>"searchList"in e,get:e=>e.searchList},metadata:t},null,l),i(this,null,Ba,{kind:"getter",name:"foundInDescription",static:!1,private:!1,access:{has:e=>"foundInDescription"in e,get:e=>e.foundInDescription},metadata:t},null,l),i(this,null,Pa,{kind:"getter",name:"foundInDescriptionStruct",static:!1,private:!1,access:{has:e=>"foundInDescriptionStruct"in e,get:e=>e.foundInDescriptionStruct},metadata:t},null,l),i(this,null,Ma,{kind:"getter",name:"fuzzySearchItems",static:!1,private:!1,access:{has:e=>"fuzzySearchItems"in e,get:e=>e.fuzzySearchItems},metadata:t},null,l),i(this,null,wa,{kind:"getter",name:"listItems",static:!1,private:!1,access:{has:e=>"listItems"in e,get:e=>e.listItems},metadata:t},null,l),i(this,null,Ta,{kind:"getter",name:"listBooths",static:!1,private:!1,access:{has:e=>"listBooths"in e,get:e=>e.listBooths},metadata:t},null,l),i(this,null,Ra,{kind:"getter",name:"selectedBooths",static:!1,private:!1,access:{has:e=>"selectedBooths"in e,get:e=>e.selectedBooths},metadata:t},null,l),i(this,null,Oa,{kind:"getter",name:"hoveredBooths",static:!1,private:!1,access:{has:e=>"hoveredBooths"in e,get:e=>e.hoveredBooths},metadata:t},null,l),i(this,null,Da,{kind:"getter",name:"visibility",static:!1,private:!1,access:{has:e=>"visibility"in e,get:e=>e.visibility},metadata:t},null,l),i(this,null,La,{kind:"method",name:"setVisibility",static:!1,private:!1,access:{has:e=>"setVisibility"in e,get:e=>e.setVisibility},metadata:t},null,l),i(this,null,Aa,{kind:"method",name:"toggleMapOverlay",static:!1,private:!1,access:{has:e=>"toggleMapOverlay"in e,get:e=>e.toggleMapOverlay},metadata:t},null,l),i(this,null,Ea,{kind:"method",name:"resetRtl",static:!1,private:!1,access:{has:e=>"resetRtl"in e,get:e=>e.resetRtl},metadata:t},null,l),i(this,null,Fa,{kind:"method",name:"changeZoom",static:!1,private:!1,access:{has:e=>"changeZoom"in e,get:e=>e.changeZoom},metadata:t},null,l),i(this,null,Ua,{kind:"method",name:"zoomIn",static:!1,private:!1,access:{has:e=>"zoomIn"in e,get:e=>e.zoomIn},metadata:t},null,l),i(this,null,Ha,{kind:"method",name:"zoomOut",static:!1,private:!1,access:{has:e=>"zoomOut"in e,get:e=>e.zoomOut},metadata:t},null,l),i(this,null,Na,{kind:"method",name:"fitBounds",static:!1,private:!1,access:{has:e=>"fitBounds"in e,get:e=>e.fitBounds},metadata:t},null,l),i(this,null,Va,{kind:"getter",name:"selectedEventItem",static:!1,private:!1,access:{has:e=>"selectedEventItem"in e,get:e=>e.selectedEventItem},metadata:t},null,l),i(this,null,Ya,{kind:"method",name:"setMapSettings",static:!1,private:!1,access:{has:e=>"setMapSettings"in e,get:e=>e.setMapSettings},metadata:t},null,l),i(this,null,$a,{kind:"method",name:"resetMapSettings",static:!1,private:!1,access:{has:e=>"resetMapSettings"in e,get:e=>e.resetMapSettings},metadata:t},null,l),i(this,null,ja,{kind:"getter",name:"baseQRCodeUrl",static:!1,private:!1,access:{has:e=>"baseQRCodeUrl"in e,get:e=>e.baseQRCodeUrl},metadata:t},null,l),i(this,null,Za,{kind:"getter",name:"viewMapOnPhoneQRCodeUrl",static:!1,private:!1,access:{has:e=>"viewMapOnPhoneQRCodeUrl"in e,get:e=>e.viewMapOnPhoneQRCodeUrl},metadata:t},null,l),i(this,null,Wa,{kind:"getter",name:"routeQRCodeUrl",static:!1,private:!1,access:{has:e=>"routeQRCodeUrl"in e,get:e=>e.routeQRCodeUrl},metadata:t},null,l),i(this,null,Xa,{kind:"getter",name:"isFeaturedExhibitorActive",static:!1,private:!1,access:{has:e=>"isFeaturedExhibitorActive"in e,get:e=>e.isFeaturedExhibitorActive},metadata:t},null,l),i(this,null,Ja,{kind:"getter",name:"activeInterfaceData",static:!1,private:!1,access:{has:e=>"activeInterfaceData"in e,get:e=>e.activeInterfaceData},metadata:t},null,l),i(this,null,qa,{kind:"getter",name:"searchBoxConfig",static:!1,private:!1,access:{has:e=>"searchBoxConfig"in e,get:e=>e.searchBoxConfig},metadata:t},null,l),i(this,null,el,{kind:"getter",name:"searchBoxActions",static:!1,private:!1,access:{has:e=>"searchBoxActions"in e,get:e=>e.searchBoxActions},metadata:t},null,l),i(this,null,tl,{kind:"getter",name:"overlayInterfaceClasses",static:!1,private:!1,access:{has:e=>"overlayInterfaceClasses"in e,get:e=>e.overlayInterfaceClasses},metadata:t},null,l),i(this,null,sl,{kind:"getter",name:"isOverlayOpen",static:!1,private:!1,access:{has:e=>"isOverlayOpen"in e,get:e=>e.isOverlayOpen},metadata:t},null,l),i(this,null,il,{kind:"method",name:"setOverlayScrolled",static:!1,private:!1,access:{has:e=>"setOverlayScrolled"in e,get:e=>e.setOverlayScrolled},metadata:t},null,l),i(this,null,al,{kind:"method",name:"setListScrollTop",static:!1,private:!1,access:{has:e=>"setListScrollTop"in e,get:e=>e.setListScrollTop},metadata:t},null,l),i(this,null,ll,{kind:"method",name:"setListScrollItemId",static:!1,private:!1,access:{has:e=>"setListScrollItemId"in e,get:e=>e.setListScrollItemId},metadata:t},null,l),i(this,null,rl,{kind:"method",name:"getListScrollTop",static:!1,private:!1,access:{has:e=>"getListScrollTop"in e,get:e=>e.getListScrollTop},metadata:t},null,l),i(this,null,ol,{kind:"method",name:"getListScrollItemId",static:!1,private:!1,access:{has:e=>"getListScrollItemId"in e,get:e=>e.getListScrollItemId},metadata:t},null,l),i(this,null,nl,{kind:"method",name:"clearListScroll",static:!1,private:!1,access:{has:e=>"clearListScroll"in e,get:e=>e.clearListScroll},metadata:t},null,l),i(this,null,cl,{kind:"getter",name:"bannerType",static:!1,private:!1,access:{has:e=>"bannerType"in e,get:e=>e.bannerType},metadata:t},null,l),i(this,null,dl,{kind:"getter",name:"isBannerVisible",static:!1,private:!1,access:{has:e=>"isBannerVisible"in e,get:e=>e.isBannerVisible},metadata:t},null,l),i(this,null,hl,{kind:"method",name:"setCurrentBanner",static:!1,private:!1,access:{has:e=>"setCurrentBanner"in e,get:e=>e.setCurrentBanner},metadata:t},null,l),i(this,null,gl,{kind:"method",name:"setForceShowDetails",static:!1,private:!1,access:{has:e=>"setForceShowDetails"in e,get:e=>e.setForceShowDetails},metadata:t},null,l),i(this,null,pl,{kind:"getter",name:"showRouteInstantly",static:!1,private:!1,access:{has:e=>"showRouteInstantly"in e,get:e=>e.showRouteInstantly},metadata:t},null,l),i(this,null,yl,{kind:"method",name:"startBuildRoute",static:!1,private:!1,access:{has:e=>"startBuildRoute"in e,get:e=>e.startBuildRoute},metadata:t},null,l),i(this,null,xl,{kind:"method",name:"setGlobalErrorMessage",static:!1,private:!1,access:{has:e=>"setGlobalErrorMessage"in e,get:e=>e.setGlobalErrorMessage},metadata:t},null,l),i(this,null,zl,{kind:"method",name:"popGlobalErrorMessage",static:!1,private:!1,access:{has:e=>"popGlobalErrorMessage"in e,get:e=>e.popGlobalErrorMessage},metadata:t},null,l),i(this,null,Cl,{kind:"method",name:"initializeUIScale",static:!1,private:!1,access:{has:e=>"initializeUIScale"in e,get:e=>e.initializeUIScale},metadata:t},null,l),i(this,null,Bl,{kind:"method",name:"setUIScale",static:!1,private:!1,access:{has:e=>"setUIScale"in e,get:e=>e.setUIScale},metadata:t},null,l),i(this,null,Pl,{kind:"method",name:"resetUIScale",static:!1,private:!1,access:{has:e=>"resetUIScale"in e,get:e=>e.resetUIScale},metadata:t},null,l),i(this,null,Rl,{kind:"method",name:"enableSetKioskMode",static:!1,private:!1,access:{has:e=>"enableSetKioskMode"in e,get:e=>e.enableSetKioskMode},metadata:t},null,l),i(this,null,Al,{kind:"method",name:"setKioskData",static:!1,private:!1,access:{has:e=>"setKioskData"in e,get:e=>e.setKioskData},metadata:t},null,l),i(null,null,Q,{kind:"field",name:"list",static:!1,private:!1,access:{has:e=>"list"in e,get:e=>e.list,set:(e,s)=>{e.list=s}},metadata:t},Y,$),i(null,null,j,{kind:"field",name:"details",static:!1,private:!1,access:{has:e=>"details"in e,get:e=>e.details,set:(e,s)=>{e.details=s}},metadata:t},Z,W),i(null,null,X,{kind:"field",name:"hoveredExhibitor",static:!1,private:!1,access:{has:e=>"hoveredExhibitor"in e,get:e=>e.hoveredExhibitor,set:(e,s)=>{e.hoveredExhibitor=s}},metadata:t},J,q),i(null,null,ee,{kind:"field",name:"hoveredBooth",static:!1,private:!1,access:{has:e=>"hoveredBooth"in e,get:e=>e.hoveredBooth,set:(e,s)=>{e.hoveredBooth=s}},metadata:t},te,se),i(null,null,ie,{kind:"field",name:"zoomBy",static:!1,private:!1,access:{has:e=>"zoomBy"in e,get:e=>e.zoomBy,set:(e,s)=>{e.zoomBy=s}},metadata:t},ae,le),i(null,null,re,{kind:"field",name:"rollReset",static:!1,private:!1,access:{has:e=>"rollReset"in e,get:e=>e.rollReset,set:(e,s)=>{e.rollReset=s}},metadata:t},oe,ne),i(null,null,ce,{kind:"field",name:"moveToBooths",static:!1,private:!1,access:{has:e=>"moveToBooths"in e,get:e=>e.moveToBooths,set:(e,s)=>{e.moveToBooths=s}},metadata:t},de,he),i(null,null,ue,{kind:"field",name:"moveToRect",static:!1,private:!1,access:{has:e=>"moveToRect"in e,get:e=>e.moveToRect,set:(e,s)=>{e.moveToRect=s}},metadata:t},fe,me),i(null,null,ge,{kind:"field",name:"moveToLocation",static:!1,private:!1,access:{has:e=>"moveToLocation"in e,get:e=>e.moveToLocation,set:(e,s)=>{e.moveToLocation=s}},metadata:t},pe,_e),i(null,null,ve,{kind:"field",name:"menu",static:!1,private:!1,access:{has:e=>"menu"in e,get:e=>e.menu,set:(e,s)=>{e.menu=s}},metadata:t},Se,ye),i(null,null,ke,{kind:"field",name:"searchFocused",static:!1,private:!1,access:{has:e=>"searchFocused"in e,get:e=>e.searchFocused,set:(e,s)=>{e.searchFocused=s}},metadata:t},Ie,be),i(null,null,xe,{kind:"field",name:"searchClearMode",static:!1,private:!1,access:{has:e=>"searchClearMode"in e,get:e=>e.searchClearMode,set:(e,s)=>{e.searchClearMode=s}},metadata:t},ze,Ce),i(null,null,Be,{kind:"field",name:"printingPdf",static:!1,private:!1,access:{has:e=>"printingPdf"in e,get:e=>e.printingPdf,set:(e,s)=>{e.printingPdf=s}},metadata:t},Pe,Me),i(null,null,we,{kind:"field",name:"largeMessage",static:!1,private:!1,access:{has:e=>"largeMessage"in e,get:e=>e.largeMessage,set:(e,s)=>{e.largeMessage=s}},metadata:t},Te,Re),i(null,null,Oe,{kind:"field",name:"largeMessageLastSet",static:!1,private:!1,access:{has:e=>"largeMessageLastSet"in e,get:e=>e.largeMessageLastSet,set:(e,s)=>{e.largeMessageLastSet=s}},metadata:t},De,Le),i(null,null,Ae,{kind:"field",name:"screenSize",static:!1,private:!1,access:{has:e=>"screenSize"in e,get:e=>e.screenSize,set:(e,s)=>{e.screenSize=s}},metadata:t},Ee,Fe),i(null,null,Ue,{kind:"field",name:"desiredOverlaySize",static:!1,private:!1,access:{has:e=>"desiredOverlaySize"in e,get:e=>e.desiredOverlaySize,set:(e,s)=>{e.desiredOverlaySize=s}},metadata:t},He,Ne),i(null,null,Ve,{kind:"field",name:"overlayShowsAll",static:!1,private:!1,access:{has:e=>"overlayShowsAll"in e,get:e=>e.overlayShowsAll,set:(e,s)=>{e.overlayShowsAll=s}},metadata:t},Ke,Ge),i(null,null,Qe,{kind:"field",name:"centerMap",static:!1,private:!1,access:{has:e=>"centerMap"in e,get:e=>e.centerMap,set:(e,s)=>{e.centerMap=s}},metadata:t},Ye,$e),i(null,null,je,{kind:"field",name:"zoomAfTransformK",static:!1,private:!1,access:{has:e=>"zoomAfTransformK"in e,get:e=>e.zoomAfTransformK,set:(e,s)=>{e.zoomAfTransformK=s}},metadata:t},Ze,We),i(null,null,Xe,{kind:"field",name:"activeListIndex",static:!1,private:!1,access:{has:e=>"activeListIndex"in e,get:e=>e.activeListIndex,set:(e,s)=>{e.activeListIndex=s}},metadata:t},Je,qe),i(null,null,et,{kind:"field",name:"devicePixelRatio",static:!1,private:!1,access:{has:e=>"devicePixelRatio"in e,get:e=>e.devicePixelRatio,set:(e,s)=>{e.devicePixelRatio=s}},metadata:t},tt,st),i(null,null,it,{kind:"field",name:"wsStarted",static:!1,private:!1,access:{has:e=>"wsStarted"in e,get:e=>e.wsStarted,set:(e,s)=>{e.wsStarted=s}},metadata:t},at,lt),i(null,null,rt,{kind:"field",name:"canvasStarted",static:!1,private:!1,access:{has:e=>"canvasStarted"in e,get:e=>e.canvasStarted,set:(e,s)=>{e.canvasStarted=s}},metadata:t},ot,nt),i(null,null,ct,{kind:"field",name:"kiosk",static:!1,private:!1,access:{has:e=>"kiosk"in e,get:e=>e.kiosk,set:(e,s)=>{e.kiosk=s}},metadata:t},dt,ht),i(null,null,ut,{kind:"field",name:"inIdle",static:!1,private:!1,access:{has:e=>"inIdle"in e,get:e=>e.inIdle,set:(e,s)=>{e.inIdle=s}},metadata:t},ft,mt),i(null,null,gt,{kind:"field",name:"modalActive",static:!1,private:!1,access:{has:e=>"modalActive"in e,get:e=>e.modalActive,set:(e,s)=>{e.modalActive=s}},metadata:t},pt,_t),i(null,null,vt,{kind:"field",name:"galleryActive",static:!1,private:!1,access:{has:e=>"galleryActive"in e,get:e=>e.galleryActive,set:(e,s)=>{e.galleryActive=s}},metadata:t},St,yt),i(null,null,kt,{kind:"field",name:"hideOverlay",static:!1,private:!1,access:{has:e=>"hideOverlay"in e,get:e=>e.hideOverlay,set:(e,s)=>{e.hideOverlay=s}},metadata:t},It,bt),i(null,null,xt,{kind:"field",name:"hideCookieConsent",static:!1,private:!1,access:{has:e=>"hideCookieConsent"in e,get:e=>e.hideCookieConsent,set:(e,s)=>{e.hideCookieConsent=s}},metadata:t},zt,Ct),i(null,null,Bt,{kind:"field",name:"hideHeaderLogo",static:!1,private:!1,access:{has:e=>"hideHeaderLogo"in e,get:e=>e.hideHeaderLogo,set:(e,s)=>{e.hideHeaderLogo=s}},metadata:t},Pt,Mt),i(null,null,wt,{kind:"field",name:"hideLogoInBooth",static:!1,private:!1,access:{has:e=>"hideLogoInBooth"in e,get:e=>e.hideLogoInBooth,set:(e,s)=>{e.hideLogoInBooth=s}},metadata:t},Tt,Rt),i(null,null,Ot,{kind:"field",name:"disableBookmarked",static:!1,private:!1,access:{has:e=>"disableBookmarked"in e,get:e=>e.disableBookmarked,set:(e,s)=>{e.disableBookmarked=s}},metadata:t},Dt,Lt),i(null,null,At,{kind:"field",name:"hideLanguage",static:!1,private:!1,access:{has:e=>"hideLanguage"in e,get:e=>e.hideLanguage,set:(e,s)=>{e.hideLanguage=s}},metadata:t},Et,Ft),i(null,null,Ut,{kind:"field",name:"monochrome",static:!1,private:!1,access:{has:e=>"monochrome"in e,get:e=>e.monochrome,set:(e,s)=>{e.monochrome=s}},metadata:t},Ht,Nt),i(null,null,Vt,{kind:"field",name:"heatmap",static:!1,private:!1,access:{has:e=>"heatmap"in e,get:e=>e.heatmap,set:(e,s)=>{e.heatmap=s}},metadata:t},Kt,Gt),i(null,null,Qt,{kind:"field",name:"heatmapYah",static:!1,private:!1,access:{has:e=>"heatmapYah"in e,get:e=>e.heatmapYah,set:(e,s)=>{e.heatmapYah=s}},metadata:t},Yt,$t),i(null,null,jt,{kind:"field",name:"rtl",static:!1,private:!1,access:{has:e=>"rtl"in e,get:e=>e.rtl,set:(e,s)=>{e.rtl=s}},metadata:t},Zt,Wt),i(null,null,Xt,{kind:"field",name:"debugCircles",static:!1,private:!1,access:{has:e=>"debugCircles"in e,get:e=>e.debugCircles,set:(e,s)=>{e.debugCircles=s}},metadata:t},Jt,qt),i(null,null,es,{kind:"field",name:"mapControlsHidden",static:!1,private:!1,access:{has:e=>"mapControlsHidden"in e,get:e=>e.mapControlsHidden,set:(e,s)=>{e.mapControlsHidden=s}},metadata:t},ts,ss),i(null,null,is,{kind:"field",name:"floorsControlHidden",static:!1,private:!1,access:{has:e=>"floorsControlHidden"in e,get:e=>e.floorsControlHidden,set:(e,s)=>{e.floorsControlHidden=s}},metadata:t},as,ls),i(null,null,rs,{kind:"field",name:"hideFreeOrDemo",static:!1,private:!1,access:{has:e=>"hideFreeOrDemo"in e,get:e=>e.hideFreeOrDemo,set:(e,s)=>{e.hideFreeOrDemo=s}},metadata:t},os,ns),i(null,null,cs,{kind:"field",name:"currentBanner",static:!1,private:!1,access:{has:e=>"currentBanner"in e,get:e=>e.currentBanner,set:(e,s)=>{e.currentBanner=s}},metadata:t},ds,hs),i(null,null,us,{kind:"field",name:"sceneDefReady",static:!1,private:!1,access:{has:e=>"sceneDefReady"in e,get:e=>e.sceneDefReady,set:(e,s)=>{e.sceneDefReady=s}},metadata:t},fs,ms),i(null,null,gs,{kind:"field",name:"categoryFilterOpen",static:!1,private:!1,access:{has:e=>"categoryFilterOpen"in e,get:e=>e.categoryFilterOpen,set:(e,s)=>{e.categoryFilterOpen=s}},metadata:t},ps,_s),i(null,null,vs,{kind:"field",name:"selectedCategoryFilters",static:!1,private:!1,access:{has:e=>"selectedCategoryFilters"in e,get:e=>e.selectedCategoryFilters,set:(e,s)=>{e.selectedCategoryFilters=s}},metadata:t},Ss,ys),i(null,null,ks,{kind:"field",name:"selectedPoiTypeFilters",static:!1,private:!1,access:{has:e=>"selectedPoiTypeFilters"in e,get:e=>e.selectedPoiTypeFilters,set:(e,s)=>{e.selectedPoiTypeFilters=s}},metadata:t},Is,bs),i(null,null,xs,{kind:"field",name:"selectedTrack",static:!1,private:!1,access:{has:e=>"selectedTrack"in e,get:e=>e.selectedTrack,set:(e,s)=>{e.selectedTrack=s}},metadata:t},zs,Cs),i(null,null,Bs,{kind:"field",name:"subButtonsVisible",static:!1,private:!1,access:{has:e=>"subButtonsVisible"in e,get:e=>e.subButtonsVisible,set:(e,s)=>{e.subButtonsVisible=s}},metadata:t},Ps,Ms),i(null,null,ws,{kind:"field",name:"mapControlsDOMRect",static:!1,private:!1,access:{has:e=>"mapControlsDOMRect"in e,get:e=>e.mapControlsDOMRect,set:(e,s)=>{e.mapControlsDOMRect=s}},metadata:t},Ts,Rs),i(null,null,Os,{kind:"field",name:"searchBoxMode",static:!1,private:!1,access:{has:e=>"searchBoxMode"in e,get:e=>e.searchBoxMode,set:(e,s)=>{e.searchBoxMode=s}},metadata:t},Ds,Ls),i(null,null,As,{kind:"field",name:"searchBoxTitle",static:!1,private:!1,access:{has:e=>"searchBoxTitle"in e,get:e=>e.searchBoxTitle,set:(e,s)=>{e.searchBoxTitle=s}},metadata:t},Es,Fs),i(null,null,Us,{kind:"field",name:"searchBoxSubtitle",static:!1,private:!1,access:{has:e=>"searchBoxSubtitle"in e,get:e=>e.searchBoxSubtitle,set:(e,s)=>{e.searchBoxSubtitle=s}},metadata:t},Hs,Ns),i(null,null,Vs,{kind:"field",name:"routeTitle",static:!1,private:!1,access:{has:e=>"routeTitle"in e,get:e=>e.routeTitle,set:(e,s)=>{e.routeTitle=s}},metadata:t},Ks,Gs),i(null,null,Qs,{kind:"field",name:"routeDescription",static:!1,private:!1,access:{has:e=>"routeDescription"in e,get:e=>e.routeDescription,set:(e,s)=>{e.routeDescription=s}},metadata:t},Ys,$s),i(null,null,js,{kind:"field",name:"isMultiPointRoute",static:!1,private:!1,access:{has:e=>"isMultiPointRoute"in e,get:e=>e.isMultiPointRoute,set:(e,s)=>{e.isMultiPointRoute=s}},metadata:t},Zs,Ws),i(null,null,Xs,{kind:"field",name:"tourTitle",static:!1,private:!1,access:{has:e=>"tourTitle"in e,get:e=>e.tourTitle,set:(e,s)=>{e.tourTitle=s}},metadata:t},Js,qs),i(null,null,ei,{kind:"field",name:"tourDescription",static:!1,private:!1,access:{has:e=>"tourDescription"in e,get:e=>e.tourDescription,set:(e,s)=>{e.tourDescription=s}},metadata:t},ti,si),i(null,null,ii,{kind:"field",name:"isMultiPointTour",static:!1,private:!1,access:{has:e=>"isMultiPointTour"in e,get:e=>e.isMultiPointTour,set:(e,s)=>{e.isMultiPointTour=s}},metadata:t},ai,li),i(null,null,ri,{kind:"field",name:"pathwayOnlyMode",static:!1,private:!1,access:{has:e=>"pathwayOnlyMode"in e,get:e=>e.pathwayOnlyMode,set:(e,s)=>{e.pathwayOnlyMode=s}},metadata:t},oi,ni),i(null,null,ci,{kind:"field",name:"isOverlayScrolled",static:!1,private:!1,access:{has:e=>"isOverlayScrolled"in e,get:e=>e.isOverlayScrolled,set:(e,s)=>{e.isOverlayScrolled=s}},metadata:t},di,hi),i(null,null,ui,{kind:"field",name:"listScrollTop",static:!1,private:!1,access:{has:e=>"listScrollTop"in e,get:e=>e.listScrollTop,set:(e,s)=>{e.listScrollTop=s}},metadata:t},fi,mi),i(null,null,gi,{kind:"field",name:"listScrollItemId",static:!1,private:!1,access:{has:e=>"listScrollItemId"in e,get:e=>e.listScrollItemId,set:(e,s)=>{e.listScrollItemId=s}},metadata:t},pi,_i),i(null,null,vi,{kind:"field",name:"listScrollIndex",static:!1,private:!1,access:{has:e=>"listScrollIndex"in e,get:e=>e.listScrollIndex,set:(e,s)=>{e.listScrollIndex=s}},metadata:t},Si,yi),i(null,null,ki,{kind:"field",name:"_customUIScale",static:!1,private:!1,access:{has:e=>"_customUIScale"in e,get:e=>e._customUIScale,set:(e,s)=>{e._customUIScale=s}},metadata:t},Ii,bi),i(null,null,Sa,{kind:"field",name:"forceDimm",static:!1,private:!1,access:{has:e=>"forceDimm"in e,get:e=>e.forceDimm,set:(e,s)=>{e.forceDimm=s}},metadata:t},ya,ka),i(null,null,Ka,{kind:"field",name:"mapSettings",static:!1,private:!1,access:{has:e=>"mapSettings"in e,get:e=>e.mapSettings,set:(e,s)=>{e.mapSettings=s}},metadata:t},Ga,Qa),i(null,null,ul,{kind:"field",name:"forceShowDetails",static:!1,private:!1,access:{has:e=>"forceShowDetails"in e,get:e=>e.forceShowDetails,set:(e,s)=>{e.forceShowDetails=s}},metadata:t},fl,ml),i(null,null,_l,{kind:"field",name:"buildRoute",static:!1,private:!1,access:{has:e=>"buildRoute"in e,get:e=>e.buildRoute,set:(e,s)=>{e.buildRoute=s}},metadata:t},vl,Sl),i(null,null,kl,{kind:"field",name:"globalErrorMessages",static:!1,private:!1,access:{has:e=>"globalErrorMessages"in e,get:e=>e.globalErrorMessages,set:(e,s)=>{e.globalErrorMessages=s}},metadata:t},Il,bl),i(null,null,Ml,{kind:"field",name:"setKioskModeEnabled",static:!1,private:!1,access:{has:e=>"setKioskModeEnabled"in e,get:e=>e.setKioskModeEnabled,set:(e,s)=>{e.setKioskModeEnabled=s}},metadata:t},wl,Tl),i(null,null,Ol,{kind:"field",name:"kioskData",static:!1,private:!1,access:{has:e=>"kioskData"in e,get:e=>e.kioskData,set:(e,s)=>{e.kioskData=s}},metadata:t},Dl,Ll),t&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}rootStore=a(this,l);interfaceMetadata=Object.freeze([{id:"menu",className:"efp-overlay-menu",priority:80,isActive:()=>this.menu,searchBoxConfig:()=>({mode:"interface",title:S("Menu")})},{id:"exhibitor",className:"efp-overlay-exhibitor",priority:70,isActive:()=>this.details instanceof x,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"booth",className:"efp-overlay-booth",priority:70,isActive:()=>this.details instanceof R,searchBoxConfig:()=>{const t=this.details;return{mode:"details",title:t.title||t.name}}},{id:"event",className:"efp-overlay-event",priority:70,isActive:()=>this.details instanceof L,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"route",className:"efp-overlay-route",priority:70,isActive:()=>this.details instanceof D,searchBoxConfig:()=>{const t=this.details;return{mode:"details",title:S("Directions")}}},{id:"search",className:"efp-overlay-search",priority:60,isActive:()=>!this.details&&!this.menu&&this.list.type==="search"&&(this.rootStore.fp.alwaysShowSidebar||this.heatmap||this.searchFocused||this.list.text.length>0||this.searchClearMode),searchBoxConfig:()=>({mode:"search",title:S("Search")})},{id:"exhibitors",className:"efp-overlay-exhibitors",priority:50,isActive:()=>this.list.type==="exhibitors"&&!this.details,searchBoxConfig:()=>({mode:"search",title:S("Exhibitors")})},{id:"filter",className:"efp-overlay-filter",priority:50,isActive:()=>this.list.type==="filter"&&!this.details,searchBoxConfig:()=>({mode:"search",title:S("Filter")})},{id:"bookmarks",className:"efp-overlay-bookmarks",priority:50,isActive:()=>this.list.type==="bookmarks"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:S("Bookmarks"),badge:this.rootStore.bookmarksStore.total})},{id:"visited",className:"efp-overlay-visited",priority:50,isActive:()=>this.list.type==="visited"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:S("Visited"),badge:this.rootStore.exhibitorStore.visited.length})},{id:"language",className:"efp-overlay-language",priority:50,isActive:()=>this.list.type==="language",searchBoxConfig:()=>({mode:"interface",title:S("Language")})},{id:"category",className:"efp-overlay-category",priority:50,isActive:()=>!M.menu&&!!M.selectedCategory,searchBoxConfig:()=>({mode:"interface",title:this.list.type==="category"&&this.list.category?.name||S("Categories")})},{id:"sessions",className:"efp-overlay-sessions",priority:50,isActive:()=>this.list.type==="sessions"&&!this.details,searchBoxConfig:()=>({mode:"search",title:S("Sessions"),subtitle:this.selectedTrack?this.selectedTrack.name:void 0})},{id:"speakers",className:"efp-overlay-speakers",priority:50,isActive:()=>this.list.type==="speakers"&&!this.details,searchBoxConfig:()=>({mode:"search",title:S("Speakers")})},{id:"speaker",className:"efp-overlay-speaker",priority:50,isActive:()=>this.details instanceof Kl,searchBoxConfig:()=>({mode:"details",title:this.details.name})},{id:"tours",className:"efp-overlay-tours",priority:50,isActive:()=>this.list.type==="tours"&&!this.details,searchBoxConfig:()=>({mode:"search",title:S("Guided Tours")})},{id:"multi-point-wayfinding",className:"efp-overlay-multi-point",priority:75,isActive:()=>!!(this.isMultiPointRoute&&this.selectedRoute&&this.list.type!=="route-planner"),searchBoxConfig:()=>({mode:"interface",title:this.routeTitle||S("Multi-point route")})},{id:"multi-point-tour",className:"efp-overlay-multi-point-tour",priority:75,isActive:()=>this.list.type==="multi-point-tour"&&!this.details,searchBoxConfig:()=>({mode:"interface",title:this.tourTitle||S("Multi-point route")})},{id:"route-planner",className:"efp-overlay-route-planner",priority:76,isActive:()=>this.list.type==="route-planner",searchBoxConfig:()=>({mode:"interface",title:S("Route planner")})}].sort((t,e)=>e.priority-t.priority));list=a(this,Y,{type:"search",text:"",focused:!1});details=(a(this,$),a(this,Z,null));hoveredExhibitor=(a(this,W),a(this,J,null));hoveredBooth=(a(this,q),a(this,te,null));zoomBy=(a(this,se),a(this,ae,null));rollReset=(a(this,le),a(this,oe,!1));moveToBooths=(a(this,ne),a(this,de,null));moveToRect=(a(this,he),a(this,fe,null));moveToLocation=(a(this,me),a(this,pe,!1));menu=(a(this,_e),a(this,Se,!1));searchFocused=(a(this,ye),a(this,Ie,!1));searchClearMode=(a(this,be),a(this,ze,!1));printingPdf=(a(this,Ce),a(this,Pe,!1));largeMessage=(a(this,Me),a(this,Te,null));largeMessageLastSet=(a(this,Re),a(this,De,null));screenSize=(a(this,Le),a(this,Ee,void 0));desiredOverlaySize=(a(this,Fe),a(this,He,void 0));overlayShowsAll=(a(this,Ne),a(this,Ke,!1));centerMap=(a(this,Ge),a(this,Ye,!1));zoomAfTransformK=(a(this,$e),a(this,Ze,1));activeListIndex=(a(this,We),a(this,Je,-1));devicePixelRatio=(a(this,qe),a(this,tt,window.devicePixelRatio));previewExhibitor=(a(this,st),null);wsStarted=a(this,at,!1);canvasStarted=(a(this,lt),a(this,ot,!1));kiosk=(a(this,nt),a(this,dt,!1));inIdle=(a(this,ht),a(this,ft,!1));modalActive=(a(this,mt),a(this,pt,{share:!1}));galleryActive=(a(this,_t),a(this,St,!1));hideOverlay=(a(this,yt),a(this,It,!1));hideCookieConsent=(a(this,bt),a(this,zt,!!tr()));hideHeaderLogo=(a(this,Ct),a(this,Pt,!1));hideLogoInBooth=(a(this,Mt),a(this,Tt,!1));disableBookmarked=(a(this,Rt),a(this,Dt,!1));hideLanguage=(a(this,Lt),a(this,Et,!1));monochrome=(a(this,Ft),a(this,Ht,!1));heatmap=(a(this,Nt),a(this,Kt,!1));heatmapYah=(a(this,Gt),a(this,Yt,!1));rtl=(a(this,$t),a(this,Zt,N()==="ar"||N()==="he"));rootElement=a(this,Wt);debugCircles=a(this,Jt,[]);mapControlsHidden=(a(this,qt),a(this,ts,!1));floorsControlHidden=(a(this,ss),a(this,as,!1));hideFreeOrDemo=(a(this,ls),a(this,os,!1));currentBanner=(a(this,ns),a(this,ds,null));sceneDefReady=(a(this,hs),a(this,fs,!1));categoryFilterOpen=(a(this,ms),a(this,ps,!1));selectedCategoryFilters=(a(this,_s),a(this,Ss,[]));selectedPoiTypeFilters=(a(this,ys),a(this,Is,[]));selectedTrack=(a(this,bs),a(this,zs,null));subButtonsVisible=(a(this,Cs),a(this,Ps,!1));mapControlsDOMRect=(a(this,Ms),a(this,Ts,void 0));searchBoxMode=(a(this,Rs),a(this,Ds,"search"));searchBoxTitle=(a(this,Ls),a(this,Es,""));searchBoxSubtitle=(a(this,Fs),a(this,Hs,void 0));routeTitle=(a(this,Ns),a(this,Ks,void 0));routeDescription=(a(this,Gs),a(this,Ys,void 0));isMultiPointRoute=(a(this,$s),a(this,Zs,!1));tourTitle=(a(this,Ws),a(this,Js,void 0));tourDescription=(a(this,qs),a(this,ti,void 0));isMultiPointTour=(a(this,si),a(this,ai,!1));pathwayOnlyMode=(a(this,li),a(this,oi,!1));isOverlayScrolled=(a(this,ni),a(this,di,!1));listScrollTop=(a(this,hi),a(this,fi,0));listScrollItemId=(a(this,mi),a(this,pi,null));listScrollIndex=(a(this,_i),a(this,Si,0));scrollPositions=(a(this,yi),new Map);scrollItemIds=new Map;_customUIScale=a(this,Ii,null);searchFilterHeightPx=(a(this,bi),54);searchInputHeightPx=54;overlayUISizePx=390;overlayKioskSizePx=450;overlayMediumHeightRems=10;setSelectedCategoryFilters(t){this.selectedCategoryFilters=t}resetCategoryFilter(){this.selectedCategoryFilters=[],this.categoryFilterOpen=!1}setSearchClearMode(t){this.searchClearMode=t}setRouteTitle(t){this.routeTitle=t}setRouteDescription(t){this.routeDescription=t}setIsMultiPointRoute(t){this.isMultiPointRoute=t}setTourTitle(t){this.tourTitle=t}setTourDescription(t){this.tourDescription=t}setIsMultiPointTour(t){this.isMultiPointTour=t}setPathwayOnlyMode(t){this.pathwayOnlyMode=t}setMultiPointTourList(t){this.list={type:"multi-point-tour",tourId:t}}get activePathwayLayers(){return this.list?.type==="multi-point-tour"?this.rootStore.toursStore.getTourById(this.list.tourId)?.layers?.map(e=>e.id)||[]:[]}get highlightedBooths(){const t=new Set(this.rootStore.exhibitorStore.highlightedByExternalIds),e=new Set(this.rootStore.boothStore.highlightedByExternalIds),s=new Set([this.rootStore.exhibitorStore.exhibitors.filter(r=>t.has(r.externalId)).flatMap(r=>r.booths.filter(c=>c instanceof T)).map(r=>r.id.toString()),this.rootStore.boothStore.booths.filter(r=>e.has(r.externalId)).map(r=>r.id.toString())].flat());if(this.list?.type==="search"&&this.list?.text?.trim().length){s.clear();const r=this.fuzzySearchItems.filter(c=>c.score===0).map(c=>c.item);r.length?Ql(r,this.rootStore.boothStore.booths).forEach(c=>s.add(c.id.toString())):this.listBooths.forEach(c=>s.add(c.id.toString()))}if(this.list?.type==="filter"&&(s.clear(),this.list.items.flatMap(r=>r.booths.filter(c=>c instanceof T)).forEach(r=>s.add(r.id.toString()))),this.categoryFilterOpen&&this.selectedCategoryFilters.length>0?(s.clear(),this.selectedCategoryFilters.forEach(r=>{r.exhibitors.flatMap(c=>c.booths).forEach(c=>s.add(c.id.toString()))})):this.list?.type==="category"&&(s.clear(),this.list.category.exhibitors.flatMap(r=>r.booths).forEach(r=>s.add(r.id.toString()))),this.list?.type==="bookmarks"&&(s.clear(),this.rootStore.exhibitorStore.exhibitors.filter(r=>r.bookmarked).flatMap(r=>r.booths.filter(c=>c instanceof T)).forEach(r=>s.add(r.id.toString())),this.rootStore.boothStore.booths.filter(r=>r.exhibitors.length===0&&r.bookmarkedDirectly).forEach(r=>s.add(r.id.toString()))),this.list?.type==="visited"&&(s.clear(),this.rootStore.exhibitorStore.visited.flatMap(r=>r.booths.filter(c=>c instanceof T)).forEach(r=>s.add(r.id.toString()))),this.list?.type==="exhibitors"){s.clear();const r=this.list.text?.toLowerCase().trim();let c=this.rootStore.exhibitorStore.exhibitors;r&&(c=c.filter(h=>h.name.toLowerCase().includes(r))),c.flatMap(h=>h.booths.filter(g=>g instanceof T)).forEach(h=>s.add(h.id.toString()))}if(this.selectedPoiTypeFilters.length>0&&(s.clear(),this.selectedPoiTypeFilters.forEach(r=>{this.rootStore.boothStore.booths.filter(c=>c.poiTypeId===r.id).forEach(c=>s.add(c.id.toString()))})),this.details instanceof D&&(s.clear(),s.add(this.details.from?.id.toString()),s.add(this.details.to?.id.toString()),this.details.waypoints?.forEach(r=>s.add(r.id.toString()))),this.details instanceof R&&(s.clear(),s.add(this.details.id.toString())),this.details instanceof x&&(s.clear(),this.details.booths.filter(r=>r instanceof T).forEach(r=>s.add(r.id.toString()))),this.details instanceof L){const r=this.details;if(r.boothId){s.clear();const c=this.rootStore.boothStore.booths.find(h=>h.id===r.boothId);c&&s.add(c.id.toString())}}return s.delete(void 0),s.delete(null),s}constructor(t){a(this,Ll),this.rootStore=t,this.initializeUIScale()}get noOverlay(){return this.rootStore.fp.noOverlay||this.hideOverlay}get onBoothClick(){return this.rootStore.fp.onBoothClick}get onMarkerClick(){return this.rootStore.fp.onMarkerClick}get onBookmarkClick(){return this.rootStore.fp.onBookmarkClick}get onVisitedClick(){return this.rootStore.fp.onVisitedClick}get onCategoryClick(){return this.rootStore.fp.onCategoryClick}get onDirection(){return this.rootStore.fp.onDirection}get onDetails(){return this.rootStore.fp.onDetails}get onExhibitorCustomButtonClick(){return this.rootStore.fp.onExhibitorCustomButtonClick}get onGetCoordsClick(){return this.rootStore.fp.onGetCoordsClick}get selectedExhibitor(){return this.details instanceof x?this.details:null}get selectedBooth(){return this.details instanceof R?this.details:null}get selectedCategory(){return this.list.type==="category"?this.list.category:null}get selectedRoute(){return this.details instanceof D?this.details:null}get selectedSpeaker(){return this.details instanceof Kl?this.details:null}get uiScale(){return this._customUIScale!==null?this._customUIScale:this.kiosk?1.2:1}get isGuidedToursActive(){return this.rootStore.toursStore.isActive}get getRouteNextFloor(){const t=this.rootStore.routeStore.pathLayers,e=this.rootStore.routeStore.currentRouteLayer?.name;if(!e)return null;const s=t.findIndex(m=>m.layer?.name===e);return s===-1?null:t[s+1]?.layer?.name}get headerHeightRem(){return 0}get headerHeightPx(){return H(this.headerHeightRem)}get overlayPosition(){return!this.screenSize||this.screenSize.width>lr||this.kiosk?"left":"bottom"}get overlayCollapsed(){return this.kiosk&&this.overlayPosition==="left"&&!this.searchFocused&&!this.menu&&!this.details&&!this.selectedCategory&&!this.selectedExhibitor&&this.list.type!=="bookmarks"&&this.list.type!=="language"&&!this.list.text?.length}get overlaySize(){return this.overlayLeft?"full":this.desiredOverlaySize}get overlayBottom(){return this.overlayPosition==="bottom"}get overlayLeft(){return this.overlayPosition==="left"}get overlayWidthPx(){return this.noOverlay?0:this.overlayLeft?this.kiosk?this.overlayKioskSizePx:this.overlayUISizePx:H(this.screenSize.width)}get wsImageHeightPx(){return 44}get wsPaddingPx(){return H(.25)}get wsOccupiedHeightPx(){return this.wsShown?this.wsImageHeightPx+this.wsPaddingPx*2:0}get wsShown(){return!this.hideHeaderLogo&&this.rootStore.exhibitorStore.advertised.length>0}get wsDesktopPosition(){return U.EXPO==="cbresupplypartner"?"bottom":"top"}get wsPosition(){return this.overlayBottom?"top":this.wsDesktopPosition}get responsiveClass(){return sr(this.screenSize.width)}get mapVisibleTop(){return(this.wsPosition==="top"?this.wsOccupiedHeightPx:0)+this.headerHeightPx}get mapVisibleBottom(){return this.overlayLeft||this.noOverlay?this.wsPosition==="bottom"?this.wsOccupiedHeightPx:0:H(this.overlayMediumHeightRems)}get mapVisibleStart(){return 0}get searchActionsHeightPx(){return this.overlayPosition==="bottom"?this.searchInputHeightPx+this.searchFilterHeightPx:this.searchInputHeightPx}get fullSizeOffset(){const t=this.wsShown?54:0,e=20;if(this.details&&!(this.details instanceof D))return t+e;const s=54,m=this.shouldShowSearchButtons?54:0;return t+s+e+m}get shouldShowSearchButtons(){return this.rootStore.searchButtonsStore.hasAnySearchButtons&&!this.details&&!this.menu&&!["language","filter"].includes(this.list.type)}get canvasVisibleRectPx(){const t=this.screenSize;return ql.fromX1y1x2y2(M.rtl?0:this.mapVisibleStart,this.mapVisibleTop+this.searchActionsHeightPx,M.rtl?t.width-this.mapVisibleStart:t.width,t.height-this.mapVisibleBottom)}get shouldShiftMapRect(){return this.overlayPosition==="left"&&(this.details||this.hasAppliedFilters||this.selectedRoute)}get hasAppliedFilters(){return this.selectedCategoryFilters.length>0||this.selectedPoiTypeFilters.length>0}get canvasVisibleRectPt(){return this.canvasVisibleRectPx.scale(this.devicePixelRatio)}get canvasSizePt(){return this.screenSize.scale(this.devicePixelRatio)}get shouldUseBackdrop(){if(M.overlayCollapsed)return!1;if(w&&localStorage.getItem("forcebackdrop")==="1")return!0;if(this.overlayBottom||this.selectedExhibitor?.leadingImageUrl&&!this.selectedExhibitor?.leadingImageLinkUrl)return!1;const t=Vl.satisfies({safari:">=13"}),e=Vl.satisfies({chrome:">=77"});var s=/(android)/i.test(navigator.userAgent);return s?!1:t||e&&M.canvasSizePt.height*M.canvasSizePt.width<3e6}forceDimm=a(this,ya,!1);setForceDimm(t){this.forceDimm=t}get dimmed(){return this.forceDimm||this.pathwayOnlyMode?!0:this.highlightedBooths.size>0||this.list?.type==="search"&&this.list?.text?.trim().length>0||this.list?.type==="exhibitors"}get defaultSearchItems(){const{exhibitorStore:t,categoryStore:e,boothStore:s,heatmapStore:m}=this.rootStore;let r=t.exhibitors;const c=e.categories.filter(p=>p.exhibitors.length),h=s.booths;this.selectedPoiTypeFilters.length>0&&(r=r.filter(p=>p.booths.some(v=>this.selectedPoiTypeFilters.some(y=>v.poiTypeId===y.id))));let g=[];const I=!this.selectedCategoryFilters.length&&B.showCategories?c.filter(p=>or.includes(U.EXPO)?!p.name.includes("/"):!0):[],C=h.filter(p=>p instanceof G);return this.selectedCategoryFilters.length>0?g=[...r]:(B.showCompaniesAndBooths&&(g=g.concat(r)),B.showOtherSpaces&&(g=g.concat(C))),this.heatmap?[...r,...h].sort((v,y)=>m.getClicksByType(y)-m.getClicksByType(v)):this.heatmapYah?m.heatmapData?.yah?.sort((p,v)=>m.getClicksByType(v)-m.getClicksByType(p))||[]:r.length===0?h:I.concat(g.sort((p,v)=>{const y=p instanceof x&&p.featured!==void 0,b=v instanceof x&&v.featured!==void 0;if(y!==b)return y?-1:1;const O=p instanceof G&&p.title?p.title:p.name,V=v instanceof G&&v.title?v.title:v.name;return O.localeCompare(V,void 0,{sensitivity:"base",numeric:!0})}))}get searchItems(){if(this.list.type!=="search")return[];let t=this.list.text?.trim().toLowerCase()||"";const{exhibitorStore:e,categoryStore:s,boothStore:m,eventStore:r,speakerStore:c,heatmapStore:h}=this.rootStore;let g=e.exhibitors;const I=s.categories.filter(d=>d.exhibitors.length),C=m.booths,p=r.eventItems,v=c.speakers;if(this.selectedCategoryFilters.length>0&&(g=g.filter(d=>this.selectedCategoryFilters.some(u=>d.categories.some(_=>_.id===u.id)))),this.selectedPoiTypeFilters.length>0&&(g=g.filter(d=>d.booths.some(u=>this.selectedPoiTypeFilters.some(_=>u.poiTypeId===_.id)))),!t)return this.defaultSearchItems;const y=[t.replace(/&[^&=]+=[^&]+/g,"")];if(this.heatmapYah)return h.heatmapData.yah.filter(u=>Number.isNaN(Number(t))?u:u.viewCount>=Number(t)).sort((u,_)=>h.getClicksByType(_)-h.getClicksByType(u));const b=[],O=new Set,V=new Set,El=new Set,Yl=new Set;function Fl(d){return d?d.replace(/[!@#$%^*-\.,\(\)^#$%:?_+'"\/]/g," ").replace(/\s\s+/g," "):""}function k(d,u){return!d||!u?!1:Fl(d).toLowerCase().includes(Fl(u).toLowerCase())}function Ul(d,u){return d?k(d,u)||k(B.levelTerm+" "+d,u):!1}g.forEach(d=>{y.some(u=>k(d.name,u)||d.booths.some(_=>!u&&k(_.name,u)||Ul(_.layer?.name??null,u)))&&O.add(d)}),this.selectedCategoryFilters.length>0&&C.forEach(d=>{(this.heatmap||!(d instanceof T)||!Array.from(O).find(_=>_.booths.includes(d)))&&y.some(_=>k(d.title||"",_)||k(d.name,_)||k(d.fullName,_)||Ul(d.layer?.name??null,_))&&V.add(d)});const $l=p,jl=v;if($l.forEach(d=>{y.some(u=>k(d.name||"",u)||k(d.description||"",u))&&El.add(d)}),jl.forEach(d=>{y.some(u=>k(d.name,u)||k(d.company,u)||k(d.jobTitle,u))&&Yl.add(d)}),b.push(...El),b.push(...O),this.heatmap)return b.sort((d,u)=>h.getClicksByType(u)-h.getClicksByType(d));const Zl=new Map(b.map(d=>[d.id,d]));return b.map(d=>{if(!d.name)return null;const u=Gl(d instanceof R&&d.fullName.toLowerCase()||d.name.toLowerCase()),_=u.indexOf(Gl(t));if(_===-1)return null;const Hl={id:d.id,position:_,lowerCaseName:u,featured:!1};return d instanceof x&&(Hl.featured=d.featured),Hl}).filter(Boolean).sort((d,u)=>(d.featured||u.featured)&&d.featured!==u.featured?d.featured?-1:1:d.position!==u.position?d.position-u.position:d.lowerCaseName.localeCompare(u.lowerCaseName)||String(d.id).localeCompare(String(u.id))).map(({id:d})=>Zl.get(d))}get searchList(){return[...this.rootStore.eventStore.eventItems,...this.rootStore.speakerStore.speakers,...this.rootStore.categoryStore.categories.filter(t=>t.exhibitors.length),...this.rootStore.exhibitorStore.exhibitors,...this.rootStore.boothStore.booths]}get foundInDescription(){if(this.list?.type!=="search")return[];const t=this.list?.text?.trim().toLowerCase();if(!t)return[];const e=this.fuzzySearchItems.map(({item:c})=>c),s=new Set(e.map(c=>c.name)),r=this.searchList.filter(c=>!s.has(c.name)).filter(c=>c.description&&c.description?.includes(t));return r.sort((c,h)=>{const g=c.description?.toLowerCase().indexOf(t),I=h.description?.toLowerCase().indexOf(t);return g-I}),r}get foundInDescriptionStruct(){const t={};if(this.list?.type!=="search")return t;const e=this.list?.text?.trim().toLowerCase();return this.foundInDescription.forEach(s=>{const m=s.description;if(!m)return;const r=m.indexOf(e);if(r===-1)return;const c=3,h=r>c?r-c:0,g=m.substring(h).trim();t[s.id]=r>0?`...${g}`:g}),t}get fuzzySearchItems(){if(this.list?.type!=="search")return[];const t=this.list?.text?.trim().toLowerCase();if(!t)return this.defaultSearchItems.map(h=>({item:h,score:0,matches:[]}));let e=this.searchList;this.selectedCategoryFilters.length>0&&(e=e.filter(h=>h instanceof x?this.selectedCategoryFilters.some(g=>h.categories.some(I=>I.id===g.id)):!1));const s=t.toLowerCase(),m=[],r=[];e.forEach(h=>{const g=h.name?.toLowerCase(),I=h.entity.type,C=I==="booth"?h:null,p=I==="exhibitor"?h:null;[g,C?.title?.toLowerCase()||"",C?.fullName?.toLowerCase()||"",...p?.booths?.map(b=>b.name?.toLowerCase()||"")??[]].some(b=>b.includes(s))?m.push(h):r.push(h)}),m.sort((h,g)=>{const I=h.name.toLowerCase().indexOf(s),C=g.name.toLowerCase().indexOf(s);return I-C});const c=this.rootStore.fuzzySearchEngineStore.search(r,t,["name","title","fullName","booths.name"]);return[...m.map(h=>({item:h,score:0})),...c]}get listItems(){if(this.details instanceof D&&this.list.type!=="multi-point-tour")return[this.details.from,this.details.to].filter(t=>t);switch(this.list.type){case"search":let t=this.rootStore.fuzzySearchEngineStore.engine?this.fuzzySearchItems.map(({item:r})=>r).concat(this.foundInDescription):this.searchItems;return t=t.filter(r=>r.entity.type==="booth"?!r.exhibitors.length:!0),this.hasAppliedFilters?t.filter(r=>{if(this.selectedCategoryFilters.length>0&&r instanceof x&&!this.selectedCategoryFilters.some(c=>r.categories.some(h=>h.id===c.id)))return!1;if(this.selectedPoiTypeFilters.length>0){if(r instanceof x&&!r.booths.some(c=>this.selectedPoiTypeFilters.some(h=>c.poiTypeId===h.id))||r instanceof R&&!this.selectedPoiTypeFilters.some(c=>r.poiTypeId===c.id))return!1;if(r instanceof L&&r.boothId){const c=this.rootStore.boothStore.booths.find(h=>h.id===r.boothId);if(!c||!this.selectedPoiTypeFilters.some(h=>c.poiTypeId===h.id))return!1}}return!0}):t;case"bookmarks":return[...this.rootStore.exhibitorStore.bookmarked,...this.rootStore.eventStore.bookmarked,...this.rootStore.speakerStore.bookmarked,...this.rootStore.boothStore.booths.filter(r=>r.exhibitors.length===0&&r.bookmarkedDirectly)];case"visited":return[...this.rootStore.exhibitorStore.visited,...this.rootStore.eventStore.visited];case"category":return this.list.category.exhibitors;case"language":return this.rootStore.languageStore.languages;case"filter":return this.list.items;case"sessions":return this.rootStore.eventStore.eventItems;case"exhibitors":const e=this.rootStore.exhibitorStore.exhibitors,s=this.list.text?.toLowerCase().trim();return s?e.filter(r=>r.name.toLowerCase().includes(s)):e;case"multi-point-tour":const m=this.rootStore.toursStore.getTourById(this.list.tourId);return m?!m.points||m.points.length===0?[]:m.points.map(r=>{const c=parseInt(r);if(!isNaN(c)){const g=this.rootStore.boothStore.boothById.get(c);if(g)return g}return ir(r)?.entity||null}).filter(Boolean):[];case"route-planner":return this.rootStore.routePlannerStore.resolvedBooths}throw new Error("Unknown list.type")}get listBooths(){return Ql(this.listItems,this.rootStore.boothStore.booths)}get selectedBooths(){let t=[];this.selectedExhibitor?t=this.selectedExhibitor.booths:this.selectedBooth&&(t=[this.selectedBooth]);const e=this.selectedRoute;return e?.from&&t.push(e.from),e?.to&&t.push(e.to),e?.waypoints&&e?.waypoints?.forEach(s=>t.push(s)),new Set(t)}get hoveredBooths(){let t;return this.hoveredBooth?t=[this.hoveredBooth]:this.hoveredExhibitor&&(t=this.hoveredExhibitor.booths),new Set(t)}get visibility(){return{controls:!this.mapControlsHidden,levels:!this.floorsControlHidden,header:this.wsShown,overlay:!this.hideOverlay}}setVisibility(t){const e={...Object.keys(this.visibility).reduce((s,m)=>({...s,[m]:!0}),{}),...Object.keys(t).filter(s=>this.visibility.hasOwnProperty(s)).reduce((s,m)=>({...s,[m]:t[m]}),{})};Object.values(e).every(Boolean)?w&&localStorage.removeItem(Nl):w&&localStorage.setItem(Nl,JSON.stringify(e)),this.mapControlsHidden=!e.controls,this.floorsControlHidden=!e.levels,this.hideHeaderLogo=!e.header,this.hideFreeOrDemo=!e.header,this.hideOverlay=!e.overlay}toggleMapOverlay(){this.overlayPosition==="bottom"&&this.overlaySize==="full"?this.desiredOverlaySize="medium":this.overlayPosition==="bottom"&&this.overlaySize!=="full"&&(this.desiredOverlaySize="full")}resetRtl(){this.rtl=N()==="ar"||N()==="he"}changeZoom(t){this.zoomBy=t}zoomIn(){this.changeZoom(1.5)}zoomOut(){this.changeZoom(.66)}fitBounds(){this.moveToRect=this.rootStore.layerStore.rectangle||er,this.rollReset=!0}get previewMode(){return w&&localStorage.getItem(Xl)==="1"||this.rootStore.fp.previewMode}get selectedEventItem(){return this.details instanceof L?this.details:null}get defaultMapSettings(){return{zoomtime:500,center:void 0,centerxy:void 0,z:void 0,bearing:0,roll:1}}mapSettings=(a(this,ka),a(this,Ga,{...this.defaultMapSettings}));saveMapSettings(t){const e=JSON.stringify(this.mapSettings),s=JSON.stringify(t);e!==s&&sessionStorage.setItem(Wl,JSON.stringify(t))}setMapSettings(t){const e={};for(const s in t)t[s]!=null&&(s==="zoomtime"?e[s]=Math.min(Math.max(t[s]||this.mapSettings.zoomtime,500),5e3):e[s]=t[s]);this.mapSettings={...this.mapSettings,...e},this.saveMapSettings(this.mapSettings)}resetMapSettings(){this.mapSettings={...this.defaultMapSettings},this.saveMapSettings(this.mapSettings)}get baseQRCodeUrl(){return`https://${U.EXPO}.expofp.com`}get viewMapOnPhoneQRCodeUrl(){if(B?.customKioskQrCodeUrl)return B.customKioskQrCodeUrl;const t=new URL(this.baseQRCodeUrl);t.search=window.location.search;const e=ar();e&&t.searchParams.set("yah",e);const s=t.toString();return console.log("View Map On Phone QR Code Url",s),s}get routeQRCodeUrl(){const t=new URL(this.baseQRCodeUrl),e=this.selectedRoute?.to?.slug||"",s=this.selectedRoute?.from?.slug||"";t.search=`?route%3A${encodeURIComponent(e)}%3A${encodeURIComponent(s)}%3Afalse`,rr(t.searchParams,this.kioskData,["x","y","z"]);const m=t.toString();return console.log("Route QR Code Url",m),m}get isFeaturedExhibitorActive(){return this.details instanceof x&&!!this.details.featured}get activeInterfaceData(){for(const t of this.interfaceMetadata)if(t.isActive())return t;return null}get searchBoxConfig(){const t=this.activeInterfaceData;return!t||!t.searchBoxConfig?{mode:"search",title:"",subtitle:void 0,badge:void 0,icon:void 0}:t.searchBoxConfig()||{mode:"search",title:"",subtitle:void 0,badge:void 0,icon:void 0}}get searchBoxActions(){return this.activeInterfaceData?.actions?.()??[]}get overlayInterfaceClasses(){const t=[],e=this.activeInterfaceData;return e&&(t.push(e.className),e.additionalClasses&&t.push(...e.additionalClasses())),this.details&&t.push("overlay-has-details"),this.list.type&&t.push(`overlay-list-${this.list.type}`),this.isFeaturedExhibitorActive&&t.push("overlay-exhibitor-featured"),t}get isOverlayOpen(){return this.noOverlay||this.hideOverlay?!1:this.activeInterfaceData!==null}setOverlayScrolled(t){this.isOverlayScrolled=t}setListScrollTop(t,e){this.listScrollTop=e,this.scrollPositions.set(t,e)}setListScrollItemId(t,e){this.listScrollItemId=e,this.scrollItemIds.set(t,e)}getListScrollTop(t){return this.scrollPositions.get(t)||0}getListScrollItemId(t){return this.scrollItemIds.get(t)||null}clearListScroll(t){this.scrollPositions.delete(t),this.scrollItemIds.delete(t),this.list.type===t&&(this.listScrollTop=0,this.listScrollItemId=null)}get bannerType(){return this.hideFreeOrDemo||this.heatmap?null:U.EXPO==="expo"?"demo":B.expoFpAd||B.isTrial?"free":null}get isBannerVisible(){return this.bannerType!==null}setCurrentBanner(t){this.currentBanner=t}forceShowDetails=(a(this,Qa),a(this,fl,!1));setForceShowDetails(t){this.forceShowDetails=t}get showRouteInstantly(){return!!(this.kiosk&&!this.forceShowDetails)}buildRoute=(a(this,ml),a(this,vl,!1));startBuildRoute(){this.rootStore.selectSearch(""),this.mapControlsHidden=!0,this.floorsControlHidden=!0,this.hideHeaderLogo=!0,this.hideFreeOrDemo=!0,this.hideOverlay=!0,this.hideCookieConsent=!0,this.buildRoute=!0}globalErrorMessages=(a(this,Sl),a(this,Il,[]));setGlobalErrorMessage(t){this.globalErrorMessages.push(t)}popGlobalErrorMessage(){this.globalErrorMessages.pop()}initializeUIScale(){if(new URLSearchParams(window.location.search).get("kiosk")!=="0"&&w){const e=localStorage.getItem(K);if(e){const s=parseFloat(e);!isNaN(s)&&s>=.8&&s<=1.4&&(this._customUIScale=s)}}}minUIScale=(a(this,bl),.8);maxUIScale=1.4;setUIScale(t,e=!0){if(isNaN(t)||t<this.minUIScale||t>this.maxUIScale){Jl.warn(`Invalid ui-scale value: ${t}. Must be between ${this.minUIScale} and ${this.maxUIScale}.`);return}this._customUIScale=t,e&&w&&localStorage.setItem(K,t.toString())}resetUIScale(){this._customUIScale=null,w&&localStorage.removeItem(K)}setKioskModeEnabled=a(this,wl,!1);enableSetKioskMode(t){this.setKioskModeEnabled=t}kioskData=(a(this,Tl),a(this,Dl,void 0));setKioskData(t){this.kioskData=t}}})();export default nr;function Ql(A,E){const P=[];return A.forEach(z=>{z instanceof x?P.push(...z.booths):z instanceof R?P.push(z):z instanceof L&&z.boothId&&P.push(E.find(F=>F.id===z.boothId))}),new Set(P.filter(Boolean))}
@@ -1 +1 @@
1
- import{iniAllBooths as m}from"./init-booths";import t from"./init-categories";import o from"./init-exhibitors";import{initHeatmap as r}from"./init-heatmap";import n from"./init-language";import p from"./init-layers";import{initPoiTypes as f}from"./init-poiTypes";import a from"./init-events";import e from"./init-speakers";import g from"./init-ui";export default function l(i){p(i),a(i),e(i),o(i),t(i),f(i),m(i),r(i),g(i),n(i)}
1
+ import{iniAllBooths as m}from"./init-booths";import{initBookmarkedFromUrl as o}from"./init-bookmarks";import r from"./init-categories";import t from"./init-exhibitors";import{initHeatmap as n}from"./init-heatmap";import p from"./init-language";import f from"./init-layers";import{initPoiTypes as a}from"./init-poiTypes";import l from"./init-events";import e from"./init-speakers";import g from"./init-ui";export default function k(i){f(i),l(i),e(i),t(i),r(i),a(i),m(i),o(i),n(i),g(i),p(i)}
@@ -0,0 +1,7 @@
1
+ import RootStore from "../RootStore";
2
+ /**
3
+ * Parses bookmarks from the ?b= / ?ba= URL parameter and applies them to all stores.
4
+ * Must be called AFTER all entities (exhibitors, events, speakers, booths) are loaded.
5
+ */
6
+ export declare function initBookmarkedFromUrl(rootStore: RootStore): void;
7
+ //# sourceMappingURL=init-bookmarks.d.ts.map
@@ -0,0 +1 @@
1
+ import{getStorage as m,saveStorage as d}from"../../utils/entity-storage";export function initBookmarkedFromUrl(t){const n=new URL(window.location.href),k=n.searchParams.get("b"),h=n.searchParams.get("ba"),p=k||h;if(!p)return;const s=p.split("|").map(e=>Number.parseInt(e,10)).filter(e=>Number.isFinite(e)&&e>0),c=new Set(t.eventStore.eventItems.map(e=>e.id)),o=s.filter(e=>t.exhibitorStore.exhibitorById.has(e)),r=s.filter(e=>c.has(e)),a=s.filter(e=>t.speakerStore.speakersMap.has(e)),i=s.filter(e=>{const b=t.boothStore.boothById.get(e);return b&&b.exhibitors.length===0});if(h){const e=m("bookmarked");o.push(...e.exhibitors),r.push(...e.events),a.push(...e.speakers),i.push(...e.booths)}d("bookmarked",{exhibitors:o,events:r,speakers:a,booths:i}),t.exhibitorStore.replaceBookmarked(o),t.eventStore.replaceBookmarked(r),t.speakerStore.replaceBookmarked(a),t.boothStore.replaceBookmarked(i)}
@@ -1,3 +1,3 @@
1
- import type RootStore from "../RootStore";
1
+ import RootStore from "../RootStore";
2
2
  export default function initEvents(store: RootStore): void;
3
3
  //# sourceMappingURL=init-events.d.ts.map
@@ -1 +1 @@
1
- import{autorun as f}from"mobx";import u from"../../data";import v from"../../tools/logger";import{EventItem as S}from"../EventStore";import k from"../index";import{getStorage as d,saveStorage as h}from"../../utils/entity-storage";export default function x(o){u.events?.forEach(e=>{const n=(e.speakers||[]).map(i=>{const p={...i,photoFile:i.photoFile?g(i.photoFile):i.photoFile};return o.speakerStore.addSpeaker(p)}),a=new S(e.id,e.externalId||e.id.toString(),e.boothId,e.name||`Event ${e.id}`,e.description||"",e.startDate,e.endDate,e.logoFile?g(e.logoFile):e.logoFile,n,e.tracks||[]);o.eventStore.eventItems.push(a)}),v.log("initEvents",o.eventStore.eventItems.length),v.log("initSpeakers",o.speakerStore.speakersMap.size),F(o.eventStore),I(o.eventStore)}function I(o){const e=d("visited");o.replaceVisited(e.events),f(()=>{const n=d("visited");h("visited",{exhibitors:n.exhibitors,events:o.visited.map(a=>a.id)})})}function F(o){let e;const n=new URL(window.location.href),a=n.searchParams.get("b"),i=n.searchParams.get("ba"),p=a||i;if(p){const s=p.split("|").map(t=>parseInt(t)).filter(t=>t),m=s.filter(t=>k.exhibitorStore.exhibitors.some(r=>r.id===t)),c=s.filter(t=>o.eventItems.some(r=>r.id===t)),l=s.filter(t=>k.speakerStore.speakers.some(r=>r.id===t)),b=s.filter(t=>k.boothStore.booths.some(r=>r.id===t));if(!!i){const t=d("bookmarked");m.push(...t.exhibitors),c.push(...t.events),l.push(...t.speakers),b.push(...t.booths)}h("bookmarked",{exhibitors:m,events:c,speakers:l,booths:b}),e=c}else e=d("bookmarked").events;o.replaceBookmarked(e),f(()=>{const s=d("bookmarked");h("bookmarked",{exhibitors:s.exhibitors,events:o.bookmarked?.map(m=>m.id),speakers:s.speakers,booths:s.booths})})}function g(o){return o&&o.indexOf("://")===-1?window.__dataUrlBase+o:o}
1
+ import{autorun as s}from"mobx";import k from"../../data";import a from"../../tools/logger";import{EventItem as c}from"../EventStore";import{getStorage as n,saveStorage as d}from"../../utils/entity-storage";export default function v(t){k.events?.forEach(e=>{const o=(e.speakers||[]).map(r=>{const m={...r,photoFile:r.photoFile?p(r.photoFile):r.photoFile};return t.speakerStore.addSpeaker(m)}),i=new c(e.id,e.externalId||e.id.toString(),e.boothId,e.name||`Event ${e.id}`,e.description||"",e.startDate,e.endDate,e.logoFile?p(e.logoFile):e.logoFile,o,e.tracks||[]);t.eventStore.eventItems.push(i)}),a.log("initEvents",t.eventStore.eventItems.length),a.log("initSpeakers",t.speakerStore.speakersMap.size),h(t.eventStore),l(t.eventStore)}function l(t){const e=n("visited");t.replaceVisited(e.events),s(()=>{const o=n("visited");d("visited",{exhibitors:o.exhibitors,events:t.visited.map(i=>i.id)})})}function h(t){const e=n("bookmarked");t.replaceBookmarked(e.events),s(()=>{const o=n("bookmarked");d("bookmarked",{exhibitors:o.exhibitors,events:t.bookmarked?.map(i=>i.id),speakers:o.speakers,booths:o.booths})})}function p(t){return t&&t.indexOf("://")===-1?window.__dataUrlBase+t:t}
@@ -1,3 +1,3 @@
1
- import type RootStore from "../RootStore";
1
+ import RootStore from "../RootStore";
2
2
  export default function initExhibitors(store: RootStore): void;
3
3
  //# sourceMappingURL=init-exhibitors.d.ts.map
@@ -1 +1 @@
1
- import{autorun as x}from"mobx";import l from"../../data";import v from"../../tools/logger";import{generateUniqueSlug as I}from"../../tools/slug";import p from"../../utils/preview-exhibitor";import{Exhibitor as w}from"../ExhibitorStore";import h from"../index";import{getStorage as b,saveStorage as k}from"../../utils/entity-storage";export default function S(t){if(p){const s=l.exhibitors.findIndex(e=>e.id===p.id);s!==-1?l.exhibitors.splice(s,1,p):l.exhibitors.push(p)}const{exhibitorStore:i}=t,a=l.exhibitors||[];a.sort((s,e)=>Number(e.featured)-Number(s.featured));for(const s of a){const e=new w;Object.assign(e,s),e.slug=I(e.name),e.rebookingState=e.rebookingState||0,e.logo=c(e.logo),e.gallery&&(e.gallery=e.gallery.map(n=>c(n))),e.marketMaterials&&(e.marketMaterials=e.marketMaterials.map(n=>({fileName:n.fileName,path:c(n.path)}))),e.leadingImageUrl=c(e.leadingImageUrl),e.categories=[],e.booths=[],e.store=i,i.exhibitors.push(e),e.schedule=null}v.log("initExhibitors",i.exhibitors.length),U(i),B(i)}function U(t){let i;const a=new URL(window.location.href),s=a.searchParams.get("b"),e=a.searchParams.get("ba"),n=s||e;if(n){const r=n.split("|").map(o=>parseInt(o)).filter(o=>o),d=r.filter(o=>t.exhibitors.some(m=>m.id===o)),f=r.filter(o=>h.eventStore.eventItems.some(m=>m.id===o)),g=r.filter(o=>h.speakerStore.speakers.some(m=>m.id===o)),u=r.filter(o=>h.boothStore.booths.some(m=>m.id===o));if(!!e){const o=b("bookmarked");d.push(...o.exhibitors),f.push(...o.events),g.push(...o.speakers),u.push(...o.booths)}k("bookmarked",{exhibitors:d,events:f,speakers:g,booths:u}),i=d}else i=b("bookmarked").exhibitors;t.replaceBookmarked(i),x(()=>{const r=b("bookmarked");k("bookmarked",{exhibitors:t.bookmarked?.map(d=>d.id),events:r.events,speakers:r.speakers,booths:r.booths})})}function B(t){const i=b("visited");t.replaceVisited(i.exhibitors),x(()=>{const a=b("visited");k("visited",{exhibitors:t.visited.map(s=>s.id),events:a.events})})}function c(t){return t&&t.indexOf("://")===-1?window.__dataUrlBase+t:t}
1
+ import{autorun as l}from"mobx";import s from"../../data";import f from"../../tools/logger";import{generateUniqueSlug as g}from"../../tools/slug";import n from"../../utils/preview-exhibitor";import{Exhibitor as h}from"../ExhibitorStore";import{getStorage as m,saveStorage as b}from"../../utils/entity-storage";export default function k(i){if(n){const t=s.exhibitors.findIndex(e=>e.id===n.id);t!==-1?s.exhibitors.splice(t,1,n):s.exhibitors.push(n)}const{exhibitorStore:o}=i,r=s.exhibitors||[];r.sort((t,e)=>Number(e.featured)-Number(t.featured));for(const t of r){const e=new h;Object.assign(e,t),e.slug=g(e.name),e.rebookingState=e.rebookingState||0,e.logo=d(e.logo),e.gallery&&(e.gallery=e.gallery.map(a=>d(a))),e.marketMaterials&&(e.marketMaterials=e.marketMaterials.map(a=>({fileName:a.fileName,path:d(a.path)}))),e.leadingImageUrl=d(e.leadingImageUrl),e.categories=[],e.booths=[],e.store=o,o.exhibitors.push(e),e.schedule=null}f.log("initExhibitors",o.exhibitors.length),p(o),c(o)}function p(i){const o=m("bookmarked");i.replaceBookmarked(o.exhibitors),l(()=>{const r=m("bookmarked");b("bookmarked",{exhibitors:i.bookmarked?.map(t=>t.id),events:r.events,speakers:r.speakers,booths:r.booths})})}function c(i){const o=m("visited");i.replaceVisited(o.exhibitors),l(()=>{const r=m("visited");b("visited",{exhibitors:i.visited.map(t=>t.id),events:r.events})})}function d(i){return i&&i.indexOf("://")===-1?window.__dataUrlBase+i:i}
@@ -1,3 +1,3 @@
1
- import type RootStore from "../RootStore";
1
+ import RootStore from "../RootStore";
2
2
  export default function initSpeakers(store: RootStore): void;
3
3
  //# sourceMappingURL=init-speakers.d.ts.map
@@ -1 +1 @@
1
- import{autorun as l}from"mobx";import n from"../index";import{getStorage as k,saveStorage as h}from"../../utils/entity-storage";export default function u(t){x(t.speakerStore)}function x(t){let i;const m=new URL(window.location.href),f=m.searchParams.get("b"),b=m.searchParams.get("ba"),d=f||b;if(d){const e=d.split("|").map(o=>parseInt(o)).filter(o=>o),r=e.filter(o=>n.exhibitorStore.exhibitors.some(s=>s.id===o)),c=e.filter(o=>n.eventStore.eventItems.some(s=>s.id===o)),a=e.filter(o=>t.speakers.some(s=>s.id===o)),p=e.filter(o=>n.boothStore.booths.some(s=>s.id===o));if(!!b){const o=k("bookmarked");r.push(...o.exhibitors),c.push(...o.events),a.push(...o.speakers),p.push(...o.booths)}h("bookmarked",{exhibitors:r,events:c,speakers:a,booths:p}),i=a}else i=k("bookmarked").speakers;t.replaceBookmarked(i),l(()=>{const e=k("bookmarked");h("bookmarked",{exhibitors:e.exhibitors,events:e.events,speakers:t.bookmarked?.map(r=>r.id),booths:e.booths})})}
1
+ import{autorun as a}from"mobx";import{getStorage as r,saveStorage as s}from"../../utils/entity-storage";export default function i(o){m(o.speakerStore)}function m(o){const t=r("bookmarked");o.replaceBookmarked(t.speakers),a(()=>{const e=r("bookmarked");s("bookmarked",{exhibitors:e.exhibitors,events:e.events,speakers:o.bookmarked?.map(k=>k.id),booths:e.booths})})}
@@ -178,4 +178,10 @@ export interface SearchButtonTypeConfig {
178
178
  linkUrl: string;
179
179
  })[];
180
180
  }
181
+ export interface InterfaceAction {
182
+ id: string;
183
+ icon: string;
184
+ label: string;
185
+ handler: () => void;
186
+ }
181
187
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- export function mapEntity(n){switch(n.entity.type){case"booth":return{id:n.id,name:e(n.name),externalId:e(n.externalId),isSpecial:n.entity.variant==="special",exhibitors:a(n.exhibitors),layer:{name:e(n.layer?.name),description:e(n.layer?.description)},meta:n.meta,description:e(n.description),entity:n.entity};case"category":return{id:n.id,name:e(n.name),exhibitors:a(n.exhibitors),entity:n.entity,slug:e(n.slug)};case"exhibitor":return{id:n.id,name:e(n.name),externalId:e(n.externalId),booths:a(n.booths),entity:n.entity,slug:e(n.slug)};case"schedule":return{id:n.id,externalId:e(n.externalId),boothId:n.boothId,exhibitorId:n.exhibitorId,name:e(n.name),description:e(n.description),startDate:e(n.startDate),endDate:e(n.endDate),link:e(n.link),entity:n.entity,isEnded:n.isEnded};case"language":return{id:n.id,name:e(n.name),entity:n.entity,selected:n.selected||!1};case"heatmap-yah":return{id:e(n.id),name:e(n.name),viewCount:n.viewCount||0,x:n.x||0,y:n.y||0,z:n.z,entity:n.entity};default:return n}}function a(n){return Array.isArray(n)?n.filter(Boolean).map(r=>r.id).filter(Boolean):[]}function e(n){return typeof n=="string"?n:""}
1
+ export function mapEntity(n){switch(n.entity.type){case"booth":return{id:n.id,name:e(n.name),externalId:e(n.externalId),isSpecial:n.entity.variant==="special",exhibitors:a(n.exhibitors),layer:{name:e(n.layer?.name),description:e(n.layer?.description)},meta:n.meta,description:e(n.description),entity:n.entity,title:e(n.title)};case"category":return{id:n.id,name:e(n.name),exhibitors:a(n.exhibitors),entity:n.entity,slug:e(n.slug)};case"exhibitor":return{id:n.id,name:e(n.name),externalId:e(n.externalId),booths:a(n.booths),entity:n.entity,slug:e(n.slug)};case"schedule":return{id:n.id,externalId:e(n.externalId),boothId:n.boothId,exhibitorId:n.exhibitorId,name:e(n.name),description:e(n.description),startDate:e(n.startDate),endDate:e(n.endDate),link:e(n.link),entity:n.entity,isEnded:n.isEnded};case"language":return{id:n.id,name:e(n.name),entity:n.entity,selected:n.selected||!1};case"heatmap-yah":return{id:e(n.id),name:e(n.name),viewCount:n.viewCount||0,x:n.x||0,y:n.y||0,z:n.z,entity:n.entity};default:return n}}function a(n){return Array.isArray(n)?n.filter(Boolean).map(r=>r.id).filter(Boolean):[]}function e(n){return typeof n=="string"?n:""}
@@ -1 +1 @@
1
- export function shortenName(t){return typeof t!="string"?t:t.split(" ").map(n=>{const r=n.replace(/[^A-Z0-9+-]/gi,""),e=r.match(/^[-+]?\d+$/);return e?e[0]:r.charAt(0).toUpperCase()}).join("")}
1
+ export function shortenName(r){return typeof r!="string"?r:r.split(" ").map(n=>{const t=n.replace(/[^A-Z0-9+-]/gi,""),e=t.match(/^[-+]?\d+$/);return e?e[0]:/^[A-Z]{2,4}$/.test(t)?t:t.charAt(0).toUpperCase()}).join("")}
@@ -1 +1 @@
1
- import{useEffect as a,useState as d}from"react";import{uiState as r}from"../store";const f=o=>{if(!o)return null;const e=o.firstElementChild;return e&&e.shadowRoot?e.shadowRoot.querySelector("#efp-layout"):null};export const useRenderTarget=()=>{const[o,e]=d(()=>f(r.rootElement));return a(()=>{if(typeof window>"u"||!r.rootElement)return;let u=!1,t=null;const l=()=>{const s=f(r.rootElement);return s&&!u?(e(i=>i!==s?s:i),!0):!1};if(l())return;const n=r.rootElement.firstElementChild;return n&&n.shadowRoot&&(t=new MutationObserver(()=>{l()&&t&&t.disconnect()}),t.observe(n.shadowRoot,{childList:!0,subtree:!0})),()=>{u=!0,t&&t.disconnect()}},[r.rootElement]),o};
1
+ import{useEffect as f,useState as m}from"react";import{uiState as t}from"../store";import{getRenderTargetFromRoot as u}from"./getRenderTargetFromRoot";export const useRenderTarget=()=>{const[l,i]=m(()=>u(t.rootElement));return f(()=>{if(typeof window>"u"||!t.rootElement)return;let o=!1,e=null;const n=()=>{const r=u(t.rootElement);return r&&!o?(i(s=>s!==r?r:s),!0):!1};if(n())return;const a=t.rootElement.firstElementChild?.shadowRoot??t.rootElement;return e=new MutationObserver(()=>{n()&&e&&e.disconnect()}),e.observe(a,{childList:!0,subtree:!0}),()=>{o=!0,e&&e.disconnect()}},[t.rootElement]),l};
@@ -1,4 +1,4 @@
1
- import type { Booth } from "../store/BoothStore";
1
+ import { Booth } from "../store/BoothStore";
2
2
  export declare class RouteLine {
3
3
  p0: RoutePoint;
4
4
  p1: RoutePoint;