@expofp/floorplan 3.12.1 → 3.12.3

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 (78) hide show
  1. package/dist/browser/{Button-CxYYwdV3.js → Button-zq3iijlm.js} +5 -5
  2. package/dist/browser/{CookieConsent-Cltod-AQ.js → CookieConsent-61gA3NcP.js} +7 -7
  3. package/dist/browser/{Debug-DnZLaoNY.js → Debug-CvxxGRSy.js} +7 -7
  4. package/dist/browser/{Demo-CbuT3wW6.js → Demo-r7XlbtbS.js} +9 -9
  5. package/dist/browser/{Free-CVEJPdaI.js → Free-Cb3Ribl4.js} +9 -9
  6. package/dist/browser/{Gallery-D2dTKIqn.js → Gallery-BnulBU-C.js} +9 -9
  7. package/dist/browser/{GpsLoader-Bpn0jys4.js → GpsLoader-DzoewLSm.js} +10 -10
  8. package/dist/browser/{KioskStore-Bf3tKr77.js → KioskStore-BeyRpXkw.js} +3 -3
  9. package/dist/browser/{MaplibreAdapter-D6Fqdelu.js → MaplibreAdapter-BaBldh68.js} +9 -9
  10. package/dist/browser/{ModalContainer-C7E4QKwY.js → ModalContainer-DMdNt6JT.js} +10 -10
  11. package/dist/browser/{PermissionNotice-CTckXfzd.js → PermissionNotice-aZ7Apmab.js} +6 -6
  12. package/dist/browser/{SetKioskMode-BPvChiTX.js → SetKioskMode-DtBrSTrp.js} +8 -8
  13. package/dist/browser/{ShowKiosk-97iuNiDq.js → ShowKiosk-BUzsXyMQ.js} +11 -11
  14. package/dist/browser/{TouchHand-BEPM0Ix6.js → TouchHand-D-em9G06.js} +4 -4
  15. package/dist/browser/{ViewerMenuPanel-CTDMmojE.js → ViewerMenuPanel-C0tTM6Ya.js} +9 -9
  16. package/dist/browser/{add-debug-secret-listener-rtzwkssg.js → add-debug-secret-listener-BvRmUFV2.js} +1 -1
  17. package/dist/browser/{boolean-editor-Buj1Gh2Q.js → boolean-editor-DcqEJ8co.js} +9 -9
  18. package/dist/browser/{bootIntercom-CLXK1aCU.js → bootIntercom-BQoDztuO.js} +2 -2
  19. package/dist/browser/{booth-by-xy-DYsVPBrO.js → booth-by-xy-JBkztXZR.js} +6 -6
  20. package/dist/browser/bundle.json +66 -66
  21. package/dist/browser/{classnames-C7JqIDkz.js → classnames-k2ThxA-q.js} +2 -2
  22. package/dist/browser/{client-DRCaFfyq.js → client-DKa6p0uc.js} +4 -4
  23. package/dist/browser/{components-CoSFc4pe.js → components-uVTRWyns.js} +38 -38
  24. package/dist/browser/{debug-overlay-l2O5ATYR.js → debug-overlay-CmaTXVo_.js} +10 -10
  25. package/dist/browser/{debug-ui-fkLeLMTN.js → debug-ui-CrzH3R9z.js} +6 -6
  26. package/dist/browser/{dist-Br0u22MB.js → dist-BD4zeH3S.js} +5 -5
  27. package/dist/browser/{dist-B8Jegpa2.js → dist-CMKVbNfn.js} +3 -3
  28. package/dist/browser/{dist-DQ04vk8X.js → dist-hAA1hJJn.js} +6 -6
  29. package/dist/browser/{efp-debug-init-DolwvXvu.js → efp-debug-init-C1vzXVRH.js} +3 -3
  30. package/dist/browser/{enum-editor-BRlr42ZG.js → enum-editor-C7MT9uNV.js} +4 -4
  31. package/dist/browser/{es5-hugWWUki.js → es5-BHQLywVb.js} +2 -2
  32. package/dist/browser/{event-not-found-DrCgFYgQ.js → event-not-found-JlOOy6g2.js} +1 -1
  33. package/dist/browser/{exports-DY1Pe4xZ.js → exports-XffaF1gB.js} +1 -1
  34. package/dist/browser/{favicon-v6HqMJRd.js → favicon-DtrHE4kd.js} +1 -1
  35. package/dist/browser/{fetch-retry.umd-CtpzesBT.js → fetch-retry.umd-Cg0U2KAy.js} +2 -2
  36. package/dist/browser/{flex-5lvsJlaO.js → flex-CXlfxm2E.js} +5 -5
  37. package/dist/browser/{floorplan.loader-D4AZdgsy.js → floorplan.loader-CxK5ziRT.js} +12 -12
  38. package/dist/browser/{floorplan.ready-BnsAv7j1.js → floorplan.ready-mXSNjhI9.js} +14 -14
  39. package/dist/browser/{fuse-BWnB1Pgo.js → fuse-By8pE6hN.js} +2 -2
  40. package/dist/browser/{i18n-wZml67KB.js → i18n-DLy_nvsn.js} +5 -5
  41. package/dist/browser/index.js +15 -15
  42. package/dist/browser/{index.module-GNnIO9vr.js → index.module-DVhH3XrB.js} +4 -4
  43. package/dist/browser/{integrateKiosk-uxqH2FgD.js → integrateKiosk-BnhKdnCb.js} +3 -3
  44. package/dist/browser/{is-webview-BlxQlyaS.js → is-webview-BVXu9jQP.js} +1 -1
  45. package/dist/browser/{jsx-runtime-xVcN9g8F.js → jsx-runtime-Y_VUlz4y.js} +2 -2
  46. package/dist/browser/{lib-CIYjsvFB.js → lib-T7Q6vtRv.js} +4 -4
  47. package/dist/browser/{loadImage-DZxHBSrL.js → loadImage-ulwASCLQ.js} +4 -4
  48. package/dist/browser/{logDeviceInfo-BQn3HG5l.js → logDeviceInfo-CX6gL_1N.js} +10 -10
  49. package/dist/browser/{main-DKRaY1QU.js → main-DQlzXtpO.js} +1 -1
  50. package/dist/browser/{mobx-rpWRRJB9.js → mobx-DZXoLfg-.js} +4 -4
  51. package/dist/browser/{optional-boolean-editor-fWgfIGvs.js → optional-boolean-editor-CbOP-pRw.js} +3 -3
  52. package/dist/browser/{optional-enum-editor-CQ8-ut60.js → optional-enum-editor-BjOgDZsp.js} +4 -4
  53. package/dist/browser/{optional-string-editor-BP4b7LsR.js → optional-string-editor-Ck0PPS1E.js} +4 -4
  54. package/dist/browser/{particles.min-D-VdW4Qr.js → particles.min-ntH_Jup2.js} +2 -2
  55. package/dist/browser/{prop-types-CE7JeEE-.js → prop-types-CHr8_AGw.js} +2 -2
  56. package/dist/browser/{react-DxSEhu-j.js → react-BOOk-FbS.js} +2 -2
  57. package/dist/browser/{react-dom-CqQZIZ5q.js → react-dom-D6kHIsPR.js} +3 -3
  58. package/dist/browser/{reset-all-settings--GzHxj4F.js → reset-all-settings-BhTY8Yy_.js} +9 -9
  59. package/dist/browser/{rolldown-runtime-Ik1ocWLm.js → rolldown-runtime-rz90HVle.js} +1 -1
  60. package/dist/browser/{select-DQmL3TsB.js → select-8KX0mpuq.js} +10 -10
  61. package/dist/browser/{settings-BndqjdZx.js → settings-CWujo8MY.js} +2 -2
  62. package/dist/browser/{settings-item-5zzAH3FT.js → settings-item-DHeFy2lb.js} +6 -6
  63. package/dist/browser/{store-CgXKlx2n.js → store-CPfIG9UN.js} +65 -36
  64. package/dist/browser/{string-editor-Bxbp0JHl.js → string-editor-Dvjcjkix.js} +4 -4
  65. package/dist/browser/{text-field-ySWl7XqC.js → text-field-F5TXexZy.js} +5 -5
  66. package/dist/browser/{theme-ByGstXaJ.js → theme-B9NgQQN9.js} +8 -8
  67. package/dist/browser/{ui-LJGsaayP.js → ui-AGkDaWif.js} +8 -8
  68. package/dist/browser/{useRenderTarget-DaUlOis9.js → useRenderTarget-9W120Vnp.js} +4 -4
  69. package/dist/esm/components/Map/drawing/config/config-booth-bg.d.ts +2 -1
  70. package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
  71. package/dist/esm/components/Map/drawing/config/config-booth-border.d.ts +1 -0
  72. package/dist/esm/components/Map/drawing/config/config-booth-border.js +1 -1
  73. package/dist/esm/store/HeatmapStore.d.ts +4 -4
  74. package/dist/esm/store/HeatmapStore.js +1 -1
  75. package/dist/esm/store/RootStore.js +1 -1
  76. package/dist/esm/store/UIState.d.ts +1 -1
  77. package/dist/esm/tools/sentry.js +1 -1
  78. package/package.json +8 -8
@@ -1 +1 @@
1
- import{__esDecorate as s,__runInitializers as n}from"tslib";import{action as o,computed as he,observable as se,runInAction as ae}from"mobx";import{LANGUAGE_TYPE as ne}from"../constants";import{RendererService as ce}from"../renderer";import{URLFilterManager as ue}from"../services/URLFilterManager";import{GaEventActions as de}from"../tools/gtag";import me from"../tools/logger";import{isWebGlSupported as Se}from"../utils";import{resetLocale as fe}from"../utils/i18n";import h from"../utils/is-mobile";import c from"../utils/is-webview";import{sanitizeSearch as pe}from"../utils/sanitizeText";import ge from"./BookmarksStore";import ke,{BoothBase as oe,RegularBooth as ve}from"./BoothStore";import ye from"./CategoryFilterStore";import _e,{Category as be}from"./CategoryStore";import we,{EventItem as xe}from"./EventStore";import Be,{Exhibitor as re}from"./ExhibitorStore";import Ee from"./FuzzySearchEngineStore";import Le from"./HeatmapStore";import Ce from"./IntercomStore";import Fe,{LayersMode as le}from"./LayerStore";import Ie from"./MaplibreStore";import Te from"./PoiTypeStore";import{SearchShortcutProvider as ze}from"./providers/SearchShortcutProvider";import{SessionsShortcutProvider as Me}from"./providers/SessionsShortcutProvider";import{SpeakerShortcutProvider as Oe}from"./providers/SpeakerShortcutProvider";import Ae from"./RoutePlannerStore";import Re from"./RouteStore";import Pe from"./SearchButtonsStore";import Ve from"./SearchStore";import Ge from"./SessionsFilterStore";import{ShortcutRegistry as Ne}from"./ShortcutRegistry";import qe from"./SpeakerFilterStore";import je from"./SpeakerStore";import{SpeakerItem as Ue}from"./SpeakerStore";import We from"./ToursStore";import De from"./UIState";let He=(()=>{let a=[],u,d=[],m=[],S,f=[],p=[],g,k,v,y,_,b,w,x,B,E,L,C,F,I,T,z,M,O,A,R,P,V,G,N,q,j,U,W,D,H,K,Y,$,J,Q,X,Z,ee,te,ie;return class{static{const t=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;u=[se],S=[se],g=[o],k=[o],v=[o],y=[o],_=[o],b=[o],w=[o],x=[o],B=[o],E=[o],L=[o],C=[o],F=[o],I=[o],T=[o],z=[o],M=[o],O=[o],A=[o],R=[o],P=[o],V=[o],G=[o],N=[o],q=[o],j=[o],U=[o],W=[o],D=[o],H=[o],K=[o],Y=[o],$=[o],J=[he],Q=[o],X=[o],Z=[o],ee=[o],te=[o],ie=[o],s(this,null,g,{kind:"method",name:"setResetCameraFn",static:!1,private:!1,access:{has:e=>"setResetCameraFn"in e,get:e=>e.setResetCameraFn},metadata:t},null,a),s(this,null,k,{kind:"method",name:"selectExhibitor",static:!1,private:!1,access:{has:e=>"selectExhibitor"in e,get:e=>e.selectExhibitor},metadata:t},null,a),s(this,null,v,{kind:"method",name:"selectBooth",static:!1,private:!1,access:{has:e=>"selectBooth"in e,get:e=>e.selectBooth},metadata:t},null,a),s(this,null,y,{kind:"method",name:"reset",static:!1,private:!1,access:{has:e=>"reset"in e,get:e=>e.reset},metadata:t},null,a),s(this,null,_,{kind:"method",name:"selectNone",static:!1,private:!1,access:{has:e=>"selectNone"in e,get:e=>e.selectNone},metadata:t},null,a),s(this,null,b,{kind:"method",name:"selectBookmarks",static:!1,private:!1,access:{has:e=>"selectBookmarks"in e,get:e=>e.selectBookmarks},metadata:t},null,a),s(this,null,w,{kind:"method",name:"selectVisited",static:!1,private:!1,access:{has:e=>"selectVisited"in e,get:e=>e.selectVisited},metadata:t},null,a),s(this,null,x,{kind:"method",name:"selectLanguage",static:!1,private:!1,access:{has:e=>"selectLanguage"in e,get:e=>e.selectLanguage},metadata:t},null,a),s(this,null,B,{kind:"method",name:"selectCategory",static:!1,private:!1,access:{has:e=>"selectCategory"in e,get:e=>e.selectCategory},metadata:t},null,a),s(this,null,E,{kind:"method",name:"selectEventItem",static:!1,private:!1,access:{has:e=>"selectEventItem"in e,get:e=>e.selectEventItem},metadata:t},null,a),s(this,null,L,{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,C,{kind:"method",name:"clickBookmarks",static:!1,private:!1,access:{has:e=>"clickBookmarks"in e,get:e=>e.clickBookmarks},metadata:t},null,a),s(this,null,F,{kind:"method",name:"clickVisited",static:!1,private:!1,access:{has:e=>"clickVisited"in e,get:e=>e.clickVisited},metadata:t},null,a),s(this,null,I,{kind:"method",name:"clickLanguage",static:!1,private:!1,access:{has:e=>"clickLanguage"in e,get:e=>e.clickLanguage},metadata:t},null,a),s(this,null,T,{kind:"method",name:"clickCategory",static:!1,private:!1,access:{has:e=>"clickCategory"in e,get:e=>e.clickCategory},metadata:t},null,a),s(this,null,z,{kind:"method",name:"clickSeminars",static:!1,private:!1,access:{has:e=>"clickSeminars"in e,get:e=>e.clickSeminars},metadata:t},null,a),s(this,null,M,{kind:"method",name:"clickBoothInList",static:!1,private:!1,access:{has:e=>"clickBoothInList"in e,get:e=>e.clickBoothInList},metadata:t},null,a),s(this,null,O,{kind:"method",name:"clickBoothInList2",static:!1,private:!1,access:{has:e=>"clickBoothInList2"in e,get:e=>e.clickBoothInList2},metadata:t},null,a),s(this,null,A,{kind:"method",name:"clickBooth",static:!1,private:!1,access:{has:e=>"clickBooth"in e,get:e=>e.clickBooth},metadata:t},null,a),s(this,null,R,{kind:"method",name:"clickExhibitor2",static:!1,private:!1,access:{has:e=>"clickExhibitor2"in e,get:e=>e.clickExhibitor2},metadata:t},null,a),s(this,null,P,{kind:"method",name:"clickExhibitor",static:!1,private:!1,access:{has:e=>"clickExhibitor"in e,get:e=>e.clickExhibitor},metadata:t},null,a),s(this,null,V,{kind:"method",name:"showMap",static:!1,private:!1,access:{has:e=>"showMap"in e,get:e=>e.showMap},metadata:t},null,a),s(this,null,G,{kind:"method",name:"showOverlay",static:!1,private:!1,access:{has:e=>"showOverlay"in e,get:e=>e.showOverlay},metadata:t},null,a),s(this,null,N,{kind:"method",name:"toggleMapOverlay",static:!1,private:!1,access:{has:e=>"toggleMapOverlay"in e,get:e=>e.toggleMapOverlay},metadata:t},null,a),s(this,null,q,{kind:"method",name:"moveToList",static:!1,private:!1,access:{has:e=>"moveToList"in e,get:e=>e.moveToList},metadata:t},null,a),s(this,null,j,{kind:"method",name:"moveToExhibitor",static:!1,private:!1,access:{has:e=>"moveToExhibitor"in e,get:e=>e.moveToExhibitor},metadata:t},null,a),s(this,null,U,{kind:"method",name:"changeActiveListIndex",static:!1,private:!1,access:{has:e=>"changeActiveListIndex"in e,get:e=>e.changeActiveListIndex},metadata:t},null,a),s(this,null,W,{kind:"method",name:"toggleModal",static:!1,private:!1,access:{has:e=>"toggleModal"in e,get:e=>e.toggleModal},metadata:t},null,a),s(this,null,D,{kind:"method",name:"openGallery",static:!1,private:!1,access:{has:e=>"openGallery"in e,get:e=>e.openGallery},metadata:t},null,a),s(this,null,H,{kind:"method",name:"closeGallery",static:!1,private:!1,access:{has:e=>"closeGallery"in e,get:e=>e.closeGallery},metadata:t},null,a),s(this,null,K,{kind:"method",name:"openActiveListItem",static:!1,private:!1,access:{has:e=>"openActiveListItem"in e,get:e=>e.openActiveListItem},metadata:t},null,a),s(this,null,Y,{kind:"method",name:"toggleCategoryFilter",static:!1,private:!1,access:{has:e=>"toggleCategoryFilter"in e,get:e=>e.toggleCategoryFilter},metadata:t},null,a),s(this,null,$,{kind:"method",name:"applyCategoryFilters",static:!1,private:!1,access:{has:e=>"applyCategoryFilters"in e,get:e=>e.applyCategoryFilters},metadata:t},null,a),s(this,null,J,{kind:"getter",name:"filteredExhibitors",static:!1,private:!1,access:{has:e=>"filteredExhibitors"in e,get:e=>e.filteredExhibitors},metadata:t},null,a),s(this,null,Q,{kind:"method",name:"selectSessions",static:!1,private:!1,access:{has:e=>"selectSessions"in e,get:e=>e.selectSessions},metadata:t},null,a),s(this,null,X,{kind:"method",name:"selectExhibitors",static:!1,private:!1,access:{has:e=>"selectExhibitors"in e,get:e=>e.selectExhibitors},metadata:t},null,a),s(this,null,Z,{kind:"method",name:"selectTours",static:!1,private:!1,access:{has:e=>"selectTours"in e,get:e=>e.selectTours},metadata:t},null,a),s(this,null,ee,{kind:"method",name:"selectSpeakers",static:!1,private:!1,access:{has:e=>"selectSpeakers"in e,get:e=>e.selectSpeakers},metadata:t},null,a),s(this,null,te,{kind:"method",name:"selectSpeaker",static:!1,private:!1,access:{has:e=>"selectSpeaker"in e,get:e=>e.selectSpeaker},metadata:t},null,a),s(this,null,ie,{kind:"method",name:"resetFilters",static:!1,private:!1,access:{has:e=>"resetFilters"in e,get:e=>e.resetFilters},metadata:t},null,a),s(null,null,u,{kind:"field",name:"initialized",static:!1,private:!1,access:{has:e=>"initialized"in e,get:e=>e.initialized,set:(e,i)=>{e.initialized=i}},metadata:t},d,m),s(null,null,S,{kind:"field",name:"resetCameraFn",static:!1,private:!1,access:{has:e=>"resetCameraFn"in e,get:e=>e.resetCameraFn,set:(e,i)=>{e.resetCameraFn=i}},metadata:t},f,p),t&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}categoryStore=n(this,a);exhibitorStore;boothStore;uiState;routeStore;routePlannerStore;toursStore;maplibreStore;layerStore;intercomStore;eventStore;poiTypeStore;heatmapStore;fuzzySearchEngineStore;categoryFilterStore;sessionsFilterStore;speakerStore;speakerFilterStore;searchStore;searchButtonsStore;bookmarksStore;urlFilterManager;shortcutRegistry;rendererService=new ce;fp;initialized=n(this,d,!1);resetCameraFn=(n(this,m),n(this,f,void 0));setResetCameraFn(t){this.resetCameraFn=t}constructor(){n(this,p),this.categoryStore=new _e(this),this.exhibitorStore=new Be(this),this.boothStore=new ke(this),this.routeStore=new Re(this),this.routePlannerStore=new Ae(this),this.toursStore=new We(this),this.uiState=new De(this),this.maplibreStore=new Ie(this),this.layerStore=new Fe,this.intercomStore=new Ce,this.eventStore=new we(this),this.heatmapStore=new Le(this),this.poiTypeStore=new Te(this),this.fuzzySearchEngineStore=new Ee(["name","title","fullName","booths.name"]),this.categoryFilterStore=new ye(this),this.sessionsFilterStore=new Ge(this),this.speakerStore=new je(this),this.speakerFilterStore=new qe(this),this.searchStore=new Ve(this),this.searchButtonsStore=new Pe(this),this.bookmarksStore=new ge(this),this.urlFilterManager=new ue(this),this.shortcutRegistry=new Ne,this.registerShortcutProviders()}selectExhibitor(t,e=!0){this.uiState.hoveredExhibitor=null,this.uiState.details=t;var i=t.booths.filter(l=>l.visible),r=t.booths.filter(l=>!l.visible);!i.length&&r.length&&this.layerStore.updateVisibility(r[0].layer,!0),e&&setTimeout(()=>this.moveToList(t.booths.filter(l=>l.visible)),c||h?500:50)}selectBooth(t,e=!0){let i=Array.isArray(t)?t:[t];this.uiState.details=i[0],i.length===1&&i[0].schedule?.length&&(this.uiState.desiredOverlaySize="medium"),i.length===1&&i[0].layer&&!i[0].visible&&this.layerStore.mode===le.Radio&&this.layerStore.updateVisibility(i[0].layer,!0),e&&setTimeout(()=>this.moveToList(i),c||h?500:50)}reset(){const t=window.__searchi;t&&t.querySelector&&t.querySelector("input[type=search]")&&t.querySelector("input[type=search]").blur&&t.querySelector("input[type=search]").blur(),window.setTimeout(()=>{this.uiState.setKioskModeEnabled||fe().then(()=>{ae(()=>{this.selectSearch(""),this.uiState.details=null,this.resetCameraFn?.(),this.uiState.menu=!1,this.searchStore.resetSearchBox(),this.searchButtonsStore.clearAllFilters()}),setTimeout(()=>{ae(()=>{this.uiState.inIdle=!0})},100)})},1e3)}selectNone(){window.__resett&&window.__resett(),this.uiState.details=this.uiState.selectedCategory}selectBookmarks(){this.uiState.details=null,this.uiState.list={type:"bookmarks"}}selectVisited(){this.uiState.details=null,this.uiState.list={type:"visited"}}selectLanguage(){this.uiState.details=null,this.uiState.list={type:ne}}selectCategory(t){window.__resett&&window.__resett(),this.uiState.details=t,this.uiState.list={type:"category",category:t},this.uiState.desiredOverlaySize="full",t.exhibitors.find(i=>i.booths.find(r=>r.visible))||this.layerStore.updateVisibility(t.exhibitors[0]?.booths[0]?.layer,!0),setTimeout(()=>{this.uiState.moveToBooths=t.exhibitors.filter(i=>i.booths.find(r=>r.visible)).flatMap(i=>i.booths)},200)}selectEventItem(t,e=!0){if(this.uiState.hoveredExhibitor=null,this.uiState.details=t,this.uiState.desiredOverlaySize="medium",t.boothId){const i=this.boothStore.booths.find(r=>r.id===t.boothId);i&&i.layer&&!i.visible&&this.layerStore.mode===le.Radio&&this.layerStore.updateVisibility(i.layer,!0)}e&&setTimeout(()=>{if(t.boothId){const i=this.boothStore.booths.find(r=>r.id===t.boothId);i&&this.moveToList([i])}},c||h?500:50)}selectSearch(t){window.__resett&&window.__resett(),this.uiState.details=null,this.speakerStore.clearSelectedSpeaker(),this.uiState.list={type:"search",text:pe(t,Object.keys(this.uiState.mapSettings).map(e=>`${e}=`)),focused:!1},this.uiState.activeListIndex=-1}clickBookmarks(){window.__resett&&window.__resett(),this.uiState.menu=!1,this.selectBookmarks(),this.moveToList(),this.showMap()}clickVisited(){window.__resett&&window.__resett(),this.uiState.menu=!1,this.selectVisited(),this.moveToList(),this.showMap()}clickLanguage(){window.__resett&&window.__resett(),this.uiState.menu=!1,this.selectLanguage()}clickCategory(t){window.__resett&&window.__resett(),this.uiState.menu=!1,this.selectCategory(t),this.uiState.onCategoryClick&&this.uiState.onCategoryClick({id:t.id,name:t.name,exhibitors:t.exhibitors.map(e=>e.id)}),setTimeout(()=>{this.moveToList(),this.showMap()},100)}clickSeminars(){this.clickCategory(this.categoryStore.seminarsCategory)}clickBoothInList(t){window.__resett&&window.__resett(),this.uiState.hoveredBooth=null,this.selectBooth(t),this.moveToList([t]),this.showMap()}clickBoothInList2(t){window.__resett&&window.__resett(),this.uiState.hoveredBooth=null,this.selectBooth(t,!1),window.setTimeout(()=>{this.moveToList([t]),this.showMap()},navigator.userAgent.toLowerCase().indexOf("android")>-1?400:50)}clickBooth(t){if(this.uiState.menu=!1,this.uiState.list.type==="sessions"&&this.searchStore.selectSearch(),this.uiState.list.type==="speakers"&&this.searchStore.selectSearch(),this.uiState.list.type==="tours"&&this.searchStore.selectSearch(),this.uiState.list.type==="multi-point-tour"&&this.searchStore.selectSearch(),!(this.uiState.selectedRoute?.from&&this.uiState.selectedRoute?.to)){if(this.uiState.selectedRoute?.to&&!this.uiState.selectedRoute?.from&&t){this.routeStore.setStartPoint(t);return}if(t)this.routeStore.tempToBooth=t;else{this.uiState.details=null,this.fp.hidePathways(),this.uiState.list={type:"search",text:"",focused:!1},this.uiState.onBoothClick&&this.uiState.onBoothClick({target:null});return}if(this.uiState.onBoothClick){const e={name:"",description:""},i={target:{...t,layer:t.layer||e}};this.uiState.onBoothClick(i)}t.exhibitors.length===1&&t instanceof ve?(this.heatmapStore.forceTrack={action:de.ViewBooth,label:t.name},this.selectExhibitor(t.exhibitors[0],!1)):this.selectBooth(t,!1),this.showMap()}}clickExhibitor2(t){this.selectExhibitor(t,!0),this.showMap()}clickExhibitor(t){window.setTimeout(()=>{this.clickExhibitor2(t)},navigator.userAgent.toLowerCase().indexOf("android")>-1?400:50)}showMap(){this.uiState.overlayPosition==="bottom"&&Se&&(this.uiState.desiredOverlaySize="medium")}showOverlay(){this.uiState.overlayPosition==="bottom"&&(this.uiState.desiredOverlaySize="full")}toggleMapOverlay(){this.uiState.overlayPosition==="bottom"&&this.uiState.overlaySize==="full"?this.uiState.desiredOverlaySize="medium":this.uiState.overlayPosition==="bottom"&&this.uiState.overlaySize!=="full"&&(this.uiState.desiredOverlaySize="full")}moveToList(t){t=t||this.uiState.listItems;const e=[];t.forEach(i=>{if(i instanceof re)e.push(...i.booths.filter(r=>r.visible));else if(i instanceof oe)i.visible&&e.push(i);else if(i instanceof xe&&i.boothId){const r=this.boothStore.boothById.get(i.boothId);r?.visible&&e.push(r)}else i instanceof Ue&&this.speakerStore.getEventsBySpeaker(i.id).forEach(r=>{if(!r.boothId)return;const l=this.boothStore.boothById.get(r.boothId);l?.visible&&e.push(l)})}),this.uiState.moveToBooths=e}moveToExhibitor(t){this.moveToList([t])}changeActiveListIndex(t){let e=this.uiState.activeListIndex+t;e=Math.max(0,Math.min(this.uiState.listItems.length-1,e)),this.uiState.activeListIndex=e}toggleModal(t){this.uiState.modalActive[t]=!this.uiState.modalActive[t]}openGallery(){this.uiState.galleryActive=!0}closeGallery(){this.uiState.galleryActive=!1}openActiveListItem(){const t=this.uiState.listItems[this.uiState.activeListIndex];t&&(me.log("Opening",t),t instanceof re?this.clickExhibitor(t):t instanceof be?this.clickCategory(t):t instanceof oe&&this.clickBoothInList2(t))}toggleCategoryFilter(){this.uiState.categoryFilterOpen=!this.uiState.categoryFilterOpen}applyCategoryFilters(t){this.uiState.selectedCategoryFilters=t,this.uiState.categoryFilterOpen=!1}get filteredExhibitors(){return this.uiState.selectedCategoryFilters.length===0?this.exhibitorStore.exhibitors:this.exhibitorStore.exhibitors.filter(t=>this.uiState.selectedCategoryFilters.some(e=>t.categories.some(i=>i.id===e.id)))}selectSessions(){this.uiState.list={type:"sessions",text:"",focused:!1},this.uiState.menu=!1,this.uiState.selectedTrack=null,this.searchButtonsStore.setSubButtonId(null),this.searchButtonsStore.subButtonsEnabled&&this.searchButtonsStore.showSubButtons("sessions"),h&&(this.uiState.desiredOverlaySize="full")}selectExhibitors(){this.uiState.list={type:"exhibitors",text:"",focused:!1},this.uiState.menu=!1,h&&(this.uiState.desiredOverlaySize="full")}selectTours(){this.uiState.list={type:"tours",text:"",focused:!1},this.uiState.menu=!1,h&&(this.uiState.desiredOverlaySize="full")}selectSpeakers(){this.uiState.list={type:"speakers",text:"",focused:!1},this.uiState.menu=!1,h&&(this.uiState.desiredOverlaySize="full")}selectSpeaker(t,e=!0){this.speakerStore.selectSpeaker(t,e)}resetFilters(){this.searchButtonsStore.clearAllFilters()}registerShortcutProviders(){this.shortcutRegistry.register(new Me(this)),this.shortcutRegistry.register(new Oe(this)),this.shortcutRegistry.register(new ze(this))}}})();export default He;
1
+ import{__esDecorate as s,__runInitializers as n}from"tslib";import{action as o,computed as he,observable as se,runInAction as ae}from"mobx";import{LANGUAGE_TYPE as ne}from"../constants";import{RendererService as ce}from"../renderer";import{URLFilterManager as ue}from"../services/URLFilterManager";import{GaEventActions as de}from"../tools/gtag";import me from"../tools/logger";import{isWebGlSupported as Se}from"../utils";import{resetLocale as fe}from"../utils/i18n";import h from"../utils/is-mobile";import c from"../utils/is-webview";import{sanitizeSearch as pe}from"../utils/sanitizeText";import ge from"./BookmarksStore";import ke,{BoothBase as oe,RegularBooth as ve}from"./BoothStore";import ye from"./CategoryFilterStore";import _e,{Category as be}from"./CategoryStore";import we,{EventItem as xe}from"./EventStore";import Be,{Exhibitor as re}from"./ExhibitorStore";import Ee from"./FuzzySearchEngineStore";import Le from"./HeatmapStore";import Ce from"./IntercomStore";import Fe,{LayersMode as le}from"./LayerStore";import Ie from"./MaplibreStore";import Te from"./PoiTypeStore";import{SearchShortcutProvider as ze}from"./providers/SearchShortcutProvider";import{SessionsShortcutProvider as Me}from"./providers/SessionsShortcutProvider";import{SpeakerShortcutProvider as Oe}from"./providers/SpeakerShortcutProvider";import Ae from"./RoutePlannerStore";import Re from"./RouteStore";import Pe from"./SearchButtonsStore";import Ve from"./SearchStore";import Ge from"./SessionsFilterStore";import{ShortcutRegistry as Ne}from"./ShortcutRegistry";import qe from"./SpeakerFilterStore";import je from"./SpeakerStore";import{SpeakerItem as Ue}from"./SpeakerStore";import We from"./ToursStore";import De from"./UIState";let He=(()=>{let a=[],u,d=[],m=[],S,f=[],p=[],g,k,v,y,_,b,w,x,B,E,L,C,F,I,T,z,M,O,A,R,P,V,G,N,q,j,U,W,D,H,K,Y,$,J,Q,X,Z,ee,te,ie;return class{static{const t=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;u=[se],S=[se],g=[o],k=[o],v=[o],y=[o],_=[o],b=[o],w=[o],x=[o],B=[o],E=[o],L=[o],C=[o],F=[o],I=[o],T=[o],z=[o],M=[o],O=[o],A=[o],R=[o],P=[o],V=[o],G=[o],N=[o],q=[o],j=[o],U=[o],W=[o],D=[o],H=[o],K=[o],Y=[o],$=[o],J=[he],Q=[o],X=[o],Z=[o],ee=[o],te=[o],ie=[o],s(this,null,g,{kind:"method",name:"setResetCameraFn",static:!1,private:!1,access:{has:e=>"setResetCameraFn"in e,get:e=>e.setResetCameraFn},metadata:t},null,a),s(this,null,k,{kind:"method",name:"selectExhibitor",static:!1,private:!1,access:{has:e=>"selectExhibitor"in e,get:e=>e.selectExhibitor},metadata:t},null,a),s(this,null,v,{kind:"method",name:"selectBooth",static:!1,private:!1,access:{has:e=>"selectBooth"in e,get:e=>e.selectBooth},metadata:t},null,a),s(this,null,y,{kind:"method",name:"reset",static:!1,private:!1,access:{has:e=>"reset"in e,get:e=>e.reset},metadata:t},null,a),s(this,null,_,{kind:"method",name:"selectNone",static:!1,private:!1,access:{has:e=>"selectNone"in e,get:e=>e.selectNone},metadata:t},null,a),s(this,null,b,{kind:"method",name:"selectBookmarks",static:!1,private:!1,access:{has:e=>"selectBookmarks"in e,get:e=>e.selectBookmarks},metadata:t},null,a),s(this,null,w,{kind:"method",name:"selectVisited",static:!1,private:!1,access:{has:e=>"selectVisited"in e,get:e=>e.selectVisited},metadata:t},null,a),s(this,null,x,{kind:"method",name:"selectLanguage",static:!1,private:!1,access:{has:e=>"selectLanguage"in e,get:e=>e.selectLanguage},metadata:t},null,a),s(this,null,B,{kind:"method",name:"selectCategory",static:!1,private:!1,access:{has:e=>"selectCategory"in e,get:e=>e.selectCategory},metadata:t},null,a),s(this,null,E,{kind:"method",name:"selectEventItem",static:!1,private:!1,access:{has:e=>"selectEventItem"in e,get:e=>e.selectEventItem},metadata:t},null,a),s(this,null,L,{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,C,{kind:"method",name:"clickBookmarks",static:!1,private:!1,access:{has:e=>"clickBookmarks"in e,get:e=>e.clickBookmarks},metadata:t},null,a),s(this,null,F,{kind:"method",name:"clickVisited",static:!1,private:!1,access:{has:e=>"clickVisited"in e,get:e=>e.clickVisited},metadata:t},null,a),s(this,null,I,{kind:"method",name:"clickLanguage",static:!1,private:!1,access:{has:e=>"clickLanguage"in e,get:e=>e.clickLanguage},metadata:t},null,a),s(this,null,T,{kind:"method",name:"clickCategory",static:!1,private:!1,access:{has:e=>"clickCategory"in e,get:e=>e.clickCategory},metadata:t},null,a),s(this,null,z,{kind:"method",name:"clickSeminars",static:!1,private:!1,access:{has:e=>"clickSeminars"in e,get:e=>e.clickSeminars},metadata:t},null,a),s(this,null,M,{kind:"method",name:"clickBoothInList",static:!1,private:!1,access:{has:e=>"clickBoothInList"in e,get:e=>e.clickBoothInList},metadata:t},null,a),s(this,null,O,{kind:"method",name:"clickBoothInList2",static:!1,private:!1,access:{has:e=>"clickBoothInList2"in e,get:e=>e.clickBoothInList2},metadata:t},null,a),s(this,null,A,{kind:"method",name:"clickBooth",static:!1,private:!1,access:{has:e=>"clickBooth"in e,get:e=>e.clickBooth},metadata:t},null,a),s(this,null,R,{kind:"method",name:"clickExhibitor2",static:!1,private:!1,access:{has:e=>"clickExhibitor2"in e,get:e=>e.clickExhibitor2},metadata:t},null,a),s(this,null,P,{kind:"method",name:"clickExhibitor",static:!1,private:!1,access:{has:e=>"clickExhibitor"in e,get:e=>e.clickExhibitor},metadata:t},null,a),s(this,null,V,{kind:"method",name:"showMap",static:!1,private:!1,access:{has:e=>"showMap"in e,get:e=>e.showMap},metadata:t},null,a),s(this,null,G,{kind:"method",name:"showOverlay",static:!1,private:!1,access:{has:e=>"showOverlay"in e,get:e=>e.showOverlay},metadata:t},null,a),s(this,null,N,{kind:"method",name:"toggleMapOverlay",static:!1,private:!1,access:{has:e=>"toggleMapOverlay"in e,get:e=>e.toggleMapOverlay},metadata:t},null,a),s(this,null,q,{kind:"method",name:"moveToList",static:!1,private:!1,access:{has:e=>"moveToList"in e,get:e=>e.moveToList},metadata:t},null,a),s(this,null,j,{kind:"method",name:"moveToExhibitor",static:!1,private:!1,access:{has:e=>"moveToExhibitor"in e,get:e=>e.moveToExhibitor},metadata:t},null,a),s(this,null,U,{kind:"method",name:"changeActiveListIndex",static:!1,private:!1,access:{has:e=>"changeActiveListIndex"in e,get:e=>e.changeActiveListIndex},metadata:t},null,a),s(this,null,W,{kind:"method",name:"toggleModal",static:!1,private:!1,access:{has:e=>"toggleModal"in e,get:e=>e.toggleModal},metadata:t},null,a),s(this,null,D,{kind:"method",name:"openGallery",static:!1,private:!1,access:{has:e=>"openGallery"in e,get:e=>e.openGallery},metadata:t},null,a),s(this,null,H,{kind:"method",name:"closeGallery",static:!1,private:!1,access:{has:e=>"closeGallery"in e,get:e=>e.closeGallery},metadata:t},null,a),s(this,null,K,{kind:"method",name:"openActiveListItem",static:!1,private:!1,access:{has:e=>"openActiveListItem"in e,get:e=>e.openActiveListItem},metadata:t},null,a),s(this,null,Y,{kind:"method",name:"toggleCategoryFilter",static:!1,private:!1,access:{has:e=>"toggleCategoryFilter"in e,get:e=>e.toggleCategoryFilter},metadata:t},null,a),s(this,null,$,{kind:"method",name:"applyCategoryFilters",static:!1,private:!1,access:{has:e=>"applyCategoryFilters"in e,get:e=>e.applyCategoryFilters},metadata:t},null,a),s(this,null,J,{kind:"getter",name:"filteredExhibitors",static:!1,private:!1,access:{has:e=>"filteredExhibitors"in e,get:e=>e.filteredExhibitors},metadata:t},null,a),s(this,null,Q,{kind:"method",name:"selectSessions",static:!1,private:!1,access:{has:e=>"selectSessions"in e,get:e=>e.selectSessions},metadata:t},null,a),s(this,null,X,{kind:"method",name:"selectExhibitors",static:!1,private:!1,access:{has:e=>"selectExhibitors"in e,get:e=>e.selectExhibitors},metadata:t},null,a),s(this,null,Z,{kind:"method",name:"selectTours",static:!1,private:!1,access:{has:e=>"selectTours"in e,get:e=>e.selectTours},metadata:t},null,a),s(this,null,ee,{kind:"method",name:"selectSpeakers",static:!1,private:!1,access:{has:e=>"selectSpeakers"in e,get:e=>e.selectSpeakers},metadata:t},null,a),s(this,null,te,{kind:"method",name:"selectSpeaker",static:!1,private:!1,access:{has:e=>"selectSpeaker"in e,get:e=>e.selectSpeaker},metadata:t},null,a),s(this,null,ie,{kind:"method",name:"resetFilters",static:!1,private:!1,access:{has:e=>"resetFilters"in e,get:e=>e.resetFilters},metadata:t},null,a),s(null,null,u,{kind:"field",name:"initialized",static:!1,private:!1,access:{has:e=>"initialized"in e,get:e=>e.initialized,set:(e,i)=>{e.initialized=i}},metadata:t},d,m),s(null,null,S,{kind:"field",name:"resetCameraFn",static:!1,private:!1,access:{has:e=>"resetCameraFn"in e,get:e=>e.resetCameraFn,set:(e,i)=>{e.resetCameraFn=i}},metadata:t},f,p),t&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}categoryStore=n(this,a);exhibitorStore;boothStore;uiState;routeStore;routePlannerStore;toursStore;maplibreStore;layerStore;intercomStore;eventStore;poiTypeStore;heatmapStore;fuzzySearchEngineStore;categoryFilterStore;sessionsFilterStore;speakerStore;speakerFilterStore;searchStore;searchButtonsStore;bookmarksStore;urlFilterManager;shortcutRegistry;rendererService=new ce;fp;initialized=n(this,d,!1);resetCameraFn=(n(this,m),n(this,f,void 0));setResetCameraFn(t){this.resetCameraFn=t}constructor(){n(this,p),this.categoryStore=new _e(this),this.exhibitorStore=new Be(this),this.boothStore=new ke(this),this.routeStore=new Re(this),this.routePlannerStore=new Ae(this),this.toursStore=new We(this),this.uiState=new De(this),this.maplibreStore=new Ie(this),this.layerStore=new Fe,this.intercomStore=new Ce,this.eventStore=new we(this),this.heatmapStore=new Le,this.poiTypeStore=new Te(this),this.fuzzySearchEngineStore=new Ee(["name","title","fullName","booths.name"]),this.categoryFilterStore=new ye(this),this.sessionsFilterStore=new Ge(this),this.speakerStore=new je(this),this.speakerFilterStore=new qe(this),this.searchStore=new Ve(this),this.searchButtonsStore=new Pe(this),this.bookmarksStore=new ge(this),this.urlFilterManager=new ue(this),this.shortcutRegistry=new Ne,this.registerShortcutProviders()}selectExhibitor(t,e=!0){this.uiState.hoveredExhibitor=null,this.uiState.details=t;var i=t.booths.filter(l=>l.visible),r=t.booths.filter(l=>!l.visible);!i.length&&r.length&&this.layerStore.updateVisibility(r[0].layer,!0),e&&setTimeout(()=>this.moveToList(t.booths.filter(l=>l.visible)),c||h?500:50)}selectBooth(t,e=!0){let i=Array.isArray(t)?t:[t];this.uiState.details=i[0],i.length===1&&i[0].schedule?.length&&(this.uiState.desiredOverlaySize="medium"),i.length===1&&i[0].layer&&!i[0].visible&&this.layerStore.mode===le.Radio&&this.layerStore.updateVisibility(i[0].layer,!0),e&&setTimeout(()=>this.moveToList(i),c||h?500:50)}reset(){const t=window.__searchi;t&&t.querySelector&&t.querySelector("input[type=search]")&&t.querySelector("input[type=search]").blur&&t.querySelector("input[type=search]").blur(),window.setTimeout(()=>{this.uiState.setKioskModeEnabled||fe().then(()=>{ae(()=>{this.selectSearch(""),this.uiState.details=null,this.resetCameraFn?.(),this.uiState.menu=!1,this.searchStore.resetSearchBox(),this.searchButtonsStore.clearAllFilters()}),setTimeout(()=>{ae(()=>{this.uiState.inIdle=!0})},100)})},1e3)}selectNone(){window.__resett&&window.__resett(),this.uiState.details=this.uiState.selectedCategory}selectBookmarks(){this.uiState.details=null,this.uiState.list={type:"bookmarks"}}selectVisited(){this.uiState.details=null,this.uiState.list={type:"visited"}}selectLanguage(){this.uiState.details=null,this.uiState.list={type:ne}}selectCategory(t){window.__resett&&window.__resett(),this.uiState.details=t,this.uiState.list={type:"category",category:t},this.uiState.desiredOverlaySize="full",t.exhibitors.find(i=>i.booths.find(r=>r.visible))||this.layerStore.updateVisibility(t.exhibitors[0]?.booths[0]?.layer,!0),setTimeout(()=>{this.uiState.moveToBooths=t.exhibitors.filter(i=>i.booths.find(r=>r.visible)).flatMap(i=>i.booths)},200)}selectEventItem(t,e=!0){if(this.uiState.hoveredExhibitor=null,this.uiState.details=t,this.uiState.desiredOverlaySize="medium",t.boothId){const i=this.boothStore.booths.find(r=>r.id===t.boothId);i&&i.layer&&!i.visible&&this.layerStore.mode===le.Radio&&this.layerStore.updateVisibility(i.layer,!0)}e&&setTimeout(()=>{if(t.boothId){const i=this.boothStore.booths.find(r=>r.id===t.boothId);i&&this.moveToList([i])}},c||h?500:50)}selectSearch(t){window.__resett&&window.__resett(),this.uiState.details=null,this.speakerStore.clearSelectedSpeaker(),this.uiState.list={type:"search",text:pe(t,Object.keys(this.uiState.mapSettings).map(e=>`${e}=`)),focused:!1},this.uiState.activeListIndex=-1}clickBookmarks(){window.__resett&&window.__resett(),this.uiState.menu=!1,this.selectBookmarks(),this.moveToList(),this.showMap()}clickVisited(){window.__resett&&window.__resett(),this.uiState.menu=!1,this.selectVisited(),this.moveToList(),this.showMap()}clickLanguage(){window.__resett&&window.__resett(),this.uiState.menu=!1,this.selectLanguage()}clickCategory(t){window.__resett&&window.__resett(),this.uiState.menu=!1,this.selectCategory(t),this.uiState.onCategoryClick&&this.uiState.onCategoryClick({id:t.id,name:t.name,exhibitors:t.exhibitors.map(e=>e.id)}),setTimeout(()=>{this.moveToList(),this.showMap()},100)}clickSeminars(){this.clickCategory(this.categoryStore.seminarsCategory)}clickBoothInList(t){window.__resett&&window.__resett(),this.uiState.hoveredBooth=null,this.selectBooth(t),this.moveToList([t]),this.showMap()}clickBoothInList2(t){window.__resett&&window.__resett(),this.uiState.hoveredBooth=null,this.selectBooth(t,!1),window.setTimeout(()=>{this.moveToList([t]),this.showMap()},navigator.userAgent.toLowerCase().indexOf("android")>-1?400:50)}clickBooth(t){if(this.uiState.menu=!1,this.uiState.list.type==="sessions"&&this.searchStore.selectSearch(),this.uiState.list.type==="speakers"&&this.searchStore.selectSearch(),this.uiState.list.type==="tours"&&this.searchStore.selectSearch(),this.uiState.list.type==="multi-point-tour"&&this.searchStore.selectSearch(),!(this.uiState.selectedRoute?.from&&this.uiState.selectedRoute?.to)){if(this.uiState.selectedRoute?.to&&!this.uiState.selectedRoute?.from&&t){this.routeStore.setStartPoint(t);return}if(t)this.routeStore.tempToBooth=t;else{this.uiState.details=null,this.fp.hidePathways(),this.uiState.list={type:"search",text:"",focused:!1},this.uiState.onBoothClick&&this.uiState.onBoothClick({target:null});return}if(this.uiState.onBoothClick){const e={name:"",description:""},i={target:{...t,layer:t.layer||e}};this.uiState.onBoothClick(i)}t.exhibitors.length===1&&t instanceof ve?(this.heatmapStore.forceTrack={action:de.ViewBooth,label:t.name},this.selectExhibitor(t.exhibitors[0],!1)):this.selectBooth(t,!1),this.showMap()}}clickExhibitor2(t){this.selectExhibitor(t,!0),this.showMap()}clickExhibitor(t){window.setTimeout(()=>{this.clickExhibitor2(t)},navigator.userAgent.toLowerCase().indexOf("android")>-1?400:50)}showMap(){this.uiState.overlayPosition==="bottom"&&Se&&(this.uiState.desiredOverlaySize="medium")}showOverlay(){this.uiState.overlayPosition==="bottom"&&(this.uiState.desiredOverlaySize="full")}toggleMapOverlay(){this.uiState.overlayPosition==="bottom"&&this.uiState.overlaySize==="full"?this.uiState.desiredOverlaySize="medium":this.uiState.overlayPosition==="bottom"&&this.uiState.overlaySize!=="full"&&(this.uiState.desiredOverlaySize="full")}moveToList(t){t=t||this.uiState.listItems;const e=[];t.forEach(i=>{if(i instanceof re)e.push(...i.booths.filter(r=>r.visible));else if(i instanceof oe)i.visible&&e.push(i);else if(i instanceof xe&&i.boothId){const r=this.boothStore.boothById.get(i.boothId);r?.visible&&e.push(r)}else i instanceof Ue&&this.speakerStore.getEventsBySpeaker(i.id).forEach(r=>{if(!r.boothId)return;const l=this.boothStore.boothById.get(r.boothId);l?.visible&&e.push(l)})}),this.uiState.moveToBooths=e}moveToExhibitor(t){this.moveToList([t])}changeActiveListIndex(t){let e=this.uiState.activeListIndex+t;e=Math.max(0,Math.min(this.uiState.listItems.length-1,e)),this.uiState.activeListIndex=e}toggleModal(t){this.uiState.modalActive[t]=!this.uiState.modalActive[t]}openGallery(){this.uiState.galleryActive=!0}closeGallery(){this.uiState.galleryActive=!1}openActiveListItem(){const t=this.uiState.listItems[this.uiState.activeListIndex];t&&(me.log("Opening",t),t instanceof re?this.clickExhibitor(t):t instanceof be?this.clickCategory(t):t instanceof oe&&this.clickBoothInList2(t))}toggleCategoryFilter(){this.uiState.categoryFilterOpen=!this.uiState.categoryFilterOpen}applyCategoryFilters(t){this.uiState.selectedCategoryFilters=t,this.uiState.categoryFilterOpen=!1}get filteredExhibitors(){return this.uiState.selectedCategoryFilters.length===0?this.exhibitorStore.exhibitors:this.exhibitorStore.exhibitors.filter(t=>this.uiState.selectedCategoryFilters.some(e=>t.categories.some(i=>i.id===e.id)))}selectSessions(){this.uiState.list={type:"sessions",text:"",focused:!1},this.uiState.menu=!1,this.uiState.selectedTrack=null,this.searchButtonsStore.setSubButtonId(null),this.searchButtonsStore.subButtonsEnabled&&this.searchButtonsStore.showSubButtons("sessions"),h&&(this.uiState.desiredOverlaySize="full")}selectExhibitors(){this.uiState.list={type:"exhibitors",text:"",focused:!1},this.uiState.menu=!1,h&&(this.uiState.desiredOverlaySize="full")}selectTours(){this.uiState.list={type:"tours",text:"",focused:!1},this.uiState.menu=!1,h&&(this.uiState.desiredOverlaySize="full")}selectSpeakers(){this.uiState.list={type:"speakers",text:"",focused:!1},this.uiState.menu=!1,h&&(this.uiState.desiredOverlaySize="full")}selectSpeaker(t,e=!0){this.speakerStore.selectSpeaker(t,e)}resetFilters(){this.searchButtonsStore.clearAllFilters()}registerShortcutProviders(){this.shortcutRegistry.register(new Me(this)),this.shortcutRegistry.register(new Oe(this)),this.shortcutRegistry.register(new ze(this))}}})();export default He;
@@ -165,7 +165,7 @@ export default class UIState {
165
165
  get shouldShowMobileToggle(): boolean;
166
166
  get mobileToggleIsListMode(): boolean;
167
167
  get canvasVisibleRectPx(): Box;
168
- get shouldShiftMapRect(): false | Booth | Exhibitor | Category | EventItem | SpeakerItem | Route;
168
+ get shouldShiftMapRect(): false | Booth | Exhibitor | Route | Category | EventItem | SpeakerItem;
169
169
  get hasAppliedFilters(): boolean;
170
170
  get canvasVisibleRectPt(): Box;
171
171
  get canvasSizePt(): Point;
@@ -1 +1 @@
1
- import{makeOfflineTransport as l}from"@sentry/core";import{captureException as s,init as u,makeFetchTransport as f,setTag as a,setUser as d}from"@sentry/react";const c=process.env.NODE_ENV||"development",E=process.env.SENTRY_RELEASE||void 0;function S(){const r="sentry_offline_queue";return{async push(t){try{const e=JSON.parse(localStorage?.getItem(r)||"[]");e.push({envelope:t,timestamp:Date.now()}),e.length>50&&e.shift(),localStorage?.setItem(r,JSON.stringify(e))}catch{}},async unshift(t){try{const e=JSON.parse(localStorage?.getItem(r)||"[]");e.unshift({envelope:t,timestamp:Date.now()}),e.length>50&&e.pop(),localStorage?.setItem(r,JSON.stringify(e))}catch{}},async shift(){try{const t=JSON.parse(localStorage?.getItem(r)||"[]");if(t.length===0){localStorage?.removeItem(r);return}const e=t.shift();return t.length===0?localStorage?.removeItem(r):localStorage?.setItem(r,JSON.stringify(t)),e?.envelope}catch{return}}}}export function initSentry(r){const n=l(f);u({dsn:"https://b2eafc5a038fa2c535099e431de219f2@o4510697102114816.ingest.us.sentry.io/4510697103097856",release:E,environment:c,sendDefaultPii:!0,transport:t=>n({...t,createStore:()=>S(),flushAtStartup:!0,shouldStore:async(e,o)=>!!(!navigator.onLine||o&&(o.message?.includes("Failed to fetch")||o.message?.includes("NetworkError")||o.message?.includes("Network request failed")))}),tracesSampleRate:.1,ignoreErrors:[/loading chunk \d{1,2}\b/i,/zaloJS/i,/e\.target\.name/i,/ResizeObserver loop/i,/ChunkLoadError/i,/FloorPlan not ready/i,/NetworkError/i,/network error occurred/i,/network request failed/i,/failed to fetch/i,/abort/i],beforeSend(t){return c!=="production"?null:t}}),r.eventId&&a("eventId",r.eventId),a("isWebview",r.isWebview),a("source","vite-main"),d({ip_address:"{{auto}}"}),m()}function m(){window.addEventListener("unhandledrejection",n=>{s(n.reason,{contexts:{unhandledRejection:{promise:n.promise}}})});const r=window.onerror;window.onerror=(n,t,e,o,i)=>(i&&s(i,{contexts:{windowError:{message:n,source:t,lineno:e,colno:o}}}),r&&r.call(window,n,t,e,o,i),!1),window.addEventListener("online",()=>{const n=window.__SENTRY__?.hub?.getClient();n&&n.flush().catch(()=>{})})}
1
+ import{makeOfflineTransport as l}from"@sentry/core";import{captureException as s,init as u,makeFetchTransport as f,setTag as a,setUser as d}from"@sentry/react";const c=process.env.NODE_ENV||"development",E=process.env.SENTRY_RELEASE||void 0;function S(){const e="sentry_offline_queue";return{async push(t){try{const r=JSON.parse(localStorage?.getItem(e)||"[]");r.push({envelope:t,timestamp:Date.now()}),r.length>50&&r.shift(),localStorage?.setItem(e,JSON.stringify(r))}catch{}},async unshift(t){try{const r=JSON.parse(localStorage?.getItem(e)||"[]");r.unshift({envelope:t,timestamp:Date.now()}),r.length>50&&r.pop(),localStorage?.setItem(e,JSON.stringify(r))}catch{}},async shift(){try{const t=JSON.parse(localStorage?.getItem(e)||"[]");if(t.length===0){localStorage?.removeItem(e);return}const r=t.shift();return t.length===0?localStorage?.removeItem(e):localStorage?.setItem(e,JSON.stringify(t)),r?.envelope}catch{return}}}}export function initSentry(e){const n=l(f);u({dsn:"https://b2eafc5a038fa2c535099e431de219f2@o4510697102114816.ingest.us.sentry.io/4510697103097856",release:E,environment:c,sendDefaultPii:!0,transport:t=>n({...t,createStore:()=>S(),flushAtStartup:!0,shouldStore:async(r,o)=>!!(!navigator.onLine||o&&(o.message?.includes("Failed to fetch")||o.message?.includes("NetworkError")||o.message?.includes("Network request failed")))}),tracesSampleRate:.1,ignoreErrors:[/loading chunk \d{1,2}\b/i,/zaloJS/i,/e\.target\.name/i,/ResizeObserver loop/i,/ChunkLoadError/i,/FloorPlan not ready/i,/NetworkError/i,/network error occurred/i,/network request failed/i,/failed to fetch/i,/abort/i],beforeSend(t){return c!=="production"?null:t}}),e.eventId&&a("eventId",e.eventId),a("isWebview",e.isWebview),a("source","main"),d({ip_address:"{{auto}}"}),m()}function m(){window.addEventListener("unhandledrejection",n=>{s(n.reason,{contexts:{unhandledRejection:{promise:n.promise}}})});const e=window.onerror;window.onerror=(n,t,r,o,i)=>(i&&s(i,{contexts:{windowError:{message:n,source:t,lineno:r,colno:o}}}),e&&e.call(window,n,t,r,o,i),!1),window.addEventListener("online",()=>{const n=window.__SENTRY__?.hub?.getClient();n&&n.flush().catch(()=>{})})}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expofp/floorplan",
3
- "version": "3.12.1",
3
+ "version": "3.12.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/expofp/efp-app.git",
@@ -72,13 +72,13 @@
72
72
  "tslib": "^2.3.0",
73
73
  "uuid": "^9.0.1",
74
74
  "zod": "4.3.5",
75
- "@expofp/config": "3.12.1",
76
- "@expofp/resolve": "3.12.1",
77
- "@expofp/schema": "3.12.1",
78
- "@expofp/wayfinding": "3.12.1",
79
- "@expofp/utils": "3.12.1",
80
- "@expofp/debug": "3.12.1",
81
- "@expofp/geometry": "3.12.1"
75
+ "@expofp/config": "3.12.3",
76
+ "@expofp/debug": "3.12.3",
77
+ "@expofp/geometry": "3.12.3",
78
+ "@expofp/resolve": "3.12.3",
79
+ "@expofp/schema": "3.12.3",
80
+ "@expofp/utils": "3.12.3",
81
+ "@expofp/wayfinding": "3.12.3"
82
82
  },
83
83
  "devDependencies": {
84
84
  "@babel/plugin-proposal-decorators": "^8.0.2",