1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0883fe10-1d54-47f9-962c-b342c16c9f53",e._sentryDebugIdIdentifier="sentry-dbid-0883fe10-1d54-47f9-962c-b342c16c9f53")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4757],{24757:function(e,t,n){n.d(t,{ZP:function(){return t$}});var i=n(67862),o=n(52322),r=n(2784),a=n(81548),l=n(37884),s=n(82778),c=n(12866),d=n(62234),u=n(3238),h=n(62764),p=n(23147),x=n(53663);let f=c.ZP.iframe.withConfig({displayName:"src__MapIFrame",componentId:"sc-ce1cfde5-0"})(["z-index:1;position:absolute;top:0;width:100%;height:100%;"]);var m=function(e){let{mapUrl:t,initialExhibitorExternalId:n,onExhibitorClick:i,onToggleExhibitorBookmark:a,initialBookmarkedExhibitorIds:l,shouldDisableBookmarks:s}=e,c=(0,r.useRef)(null),[d,u]=(0,r.useState)(!1),h=new URL(t);h.searchParams.set("isInApp",""),n&&(h.pathname="/places/by-vendor-id/".concat(n));let p=(0,r.useCallback)(e=>{var n,i;null===(i=c.current)||void 0===i||null===(n=i.contentWindow)||void 0===n||n.postMessage([e],t)},[t]);return(0,r.useEffect)(()=>{function e(e){var t;let n=null===(t=e.data)||void 0===t?void 0:t[0],{isMessageValid:o}=function(e){let{event:t,expectedHost:n}=e,i=new URL(t.origin).hostname;return{isMessageValid:i===n&&i.endsWith("invisual.app")}}({event:e,expectedHost:h.hostname});if(!o||!n)return;let r=function(e){let{payload:t}=e;return"initialized"===t.action&&"map"===t.subject?{type:"MAP_READY"}:"showAppScreen"===t.action&&"exhibitor"===t.subject?{type:"SEE_EXHIBITOR_CLICKED",exhibitorId:t.vendorId}:"bookmark"===t.action&&"exhibitor"===t.subject?{type:"BOOKMARK",exhibitorId:t.vendorId}:"unbookmark"===t.action&&"exhibitor"===t.subject?{type:"UNBOOKMARK",exhibitorId:t.vendorId}:{type:"UNKNOWN"}}({payload:n});switch(r.type){case"MAP_READY":u(!0);break;case"SEE_EXHIBITOR_CLICKED":i(r.exhibitorId);break;case"BOOKMARK":a({exhibitorId:r.exhibitorId,undoBookmark:()=>{p({action:"unbookmark",subject:"exhibitor",vendorId:r.exhibitorId})}});break;case"UNBOOKMARK":a({exhibitorId:r.exhibitorId,undoBookmark:()=>{p({action:"bookmark",subject:"exhibitor",vendorId:r.exhibitorId})}})}}return window.addEventListener("message",e,!1),()=>window.removeEventListener("message",e)},[h.hostname,a,i,p]),(0,r.useEffect)(()=>{d&&l&&p({action:"overrideBookmarks",subject:"exhibitor",vendorIds:s?[]:l}),d&&s&&p({action:"disableFeature",subject:"bookmarks"})},[l,s,d,p]),(0,o.jsx)(f,{title:"Invisual floor plan",ref:c,src:h.toString()})},b=n(15014),g=n(93381),v=n(14134);function I(){let e=(0,i._)(["\n fragment MapBookmarkedExhibitorFragment on Core_Exhibitor {\n id: _id\n }\n"]);return I=function(){return e},e}function C(){let e=(0,i._)(["\n query MapsBookmarkedExhibitorsQuery($eventId: ID!) {\n exhibitors: Core_exhibitors(\n _eventId: $eventId\n first: 100\n filters: { isBookmarked: true }\n ) {\n nodes {\n ...MapBookmarkedExhibitorFragment\n }\n }\n }\n ","\n"]);return C=function(){return e},e}let j=(0,a.Ps)(I()),y=(0,a.Ps)(C(),j);function _(e){var t,n;return(null!==(n=null==e?void 0:null===(t=e.exhibitors)||void 0===t?void 0:t.nodes)&&void 0!==n?n:[]).reduce((e,t)=>(t&&e.push(t),e),[])}function w(){let{onCompleted:e,skip:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(0,v.zX)(),{data:i,loading:o,error:a,refetch:s}=(0,l.aM)(y,{variables:{eventId:n.id},skip:t,onCompleted:t=>{null==e||e(_(t))},fetchPolicy:"cache-and-network"});return{error:a,bookmarkedExhibitors:(0,r.useMemo)(()=>_(i),[i]),data:i,loading:o,refetch:s}}var E=n(74951),k=n(33379),P=n(17065);function Z(){let e=(0,i._)(["\n mutation InvisualBookmarkExhibitorMutation($exhibitorId: ID!, $eventId: ID!) {\n exhibitor: Core_bookmarkExhibitor(id: $exhibitorId, eventId: $eventId) {\n id: _id\n withEvent(eventId: $eventId) {\n isBookmarked\n }\n }\n }\n"]);return Z=function(){return e},e}let M=(0,a.Ps)(Z());function S(){let e=(0,i._)(["\n fragment InvisualMapFragment on Core_EventMapsProviderInvisual {\n mapsUrl\n }\n"]);return S=function(){return e},e}let B=(0,a.Ps)(S());var O=function(e){let{provider:t,initialExternalId:n,onExhibitorClick:i}=e,a=(0,x.T_)(),{isLoggedIn:l}=(0,b.aC)(),{data:c,bookmarkedExhibitors:d,error:u,loading:h}=w({skip:!l}),p=(0,r.useMemo)(()=>!c||h||u?null:d.map(e=>{let{id:t}=e;return t}),[d,c,u,h]),{bookmark:f,handleJoinEvent:I,isAttendingEvent:C}=function(){var e;let t=(0,v.zX)(),n=(0,s.h)(),{canJoinEvent:i}=(0,E.e)(),{onJoinEventClick:o}=(0,P.Z$)(),{startEventRegistration:r}=(0,P.lF)(),[a]=(0,k.D)(M,{onError:n});return{bookmark:e=>a({variables:{exhibitorId:e,eventId:t.id}}),isAttendingEvent:!!(null===(e=t.userStatus)||void 0===e?void 0:e.isAttending),handleJoinEvent:()=>{if(i)return o();r()}}}(),j=(0,r.useCallback)(e=>i(e),[i]),y=(0,r.useCallback)(async e=>{let{exhibitorId:t,undoBookmark:n}=e;if(!C)return n(),I();let{errors:i}=await f(t);(null==i?void 0:i.length)&&n()},[f,I,C]);return t.mapsUrl?(0,o.jsx)(m,{initialExhibitorExternalId:n&&(0,g.c)(n)?n:void 0,shouldDisableBookmarks:!!u,initialBookmarkedExhibitorIds:p,onExhibitorClick:j,mapUrl:t.mapsUrl,onToggleExhibitorBookmark:y}):(0,o.jsx)("span",{children:a.invisualMapsUrlRequired})},N=n(31146),L=n(6859);function R(e){return{...e,type:"BOOTH"}}function A(e){return{...e,type:"EXHIBITOR"}}function T(e){return{...e,type:"CATEGORY"}}var F=n(40335),D=n(29120),z=n(46522),H=n.n(z);let W=c.ZP.button.withConfig({displayName:"input__Clear",componentId:"sc-fb9b656c-0"})(["background:none;border:none;cursor:pointer;color:",";padding:0;margin:0;position:relative;top:1px;"],e=>{let{theme:{colors:t}}=e;return t.tertiary.base}),$=c.ZP.div.withConfig({displayName:"input__OptionLabel",componentId:"sc-fb9b656c-1"})(["font-size:16px;line-height:1.5;font-weight:500;color:",";"],e=>{let{theme:t}=e;return t.colors.text.base}),K=c.ZP.div.withConfig({displayName:"input__OptionSubLabel",componentId:"sc-fb9b656c-2"})(["font-size:14px;line-height:1.5;font-weight:400;color:",";"],e=>{let{theme:t}=e;return t.colors.surface.on});function V(e){let{label:t,subLabel:n}=e;return(0,o.jsxs)(L.iK,{children:[(0,o.jsx)($,{children:t}),n&&(0,o.jsx)(K,{children:n})]})}function G(e){let{option:t,translations:n}=e;switch(t.item.type){case"BOOTH":return(0,o.jsx)(V,{label:t.item.name,subLabel:n.booth});case"EXHIBITOR":return(0,o.jsx)(V,{label:t.item.name,subLabel:n.exhibitor});case"CATEGORY":return(0,o.jsx)(V,{label:t.item.name,subLabel:n.category});default:return(0,o.jsx)(V,{label:t.label})}}function X(e){let{translations:t,onClear:n,inputProps:i,placeholder:r,options:a,showOptionsWhileEmpty:l=!0}=e,s=i.value?new(H())(a,{keys:["label"]}).search(i.value):a.filter(e=>"CATEGORY"===e.item.type);return(0,o.jsx)(L.ZP,{"aria-label":t.searchPlaceholder,left:(0,o.jsx)(D.Z,{}),right:i.value&&(0,o.jsx)(W,{type:"button",onClick:()=>{i.setState({value:""}),i.onBlur(),n()},"aria-label":t.clearButtonAriaLabel,children:(0,o.jsx)(F.Z,{})}),placeholder:null!=r?r:t.searchPlaceholder,emptyOptionsMessage:t.noResultsMessage,options:s,...i,showOptions:!!(l||i.value.trim())&&i.showOptions,success:!1,renderOption:e=>(0,o.jsx)(G,{option:e,translations:t})})}let U=(0,c.ZP)(N.Z).attrs({featured:!0,shadow:!0}
1).withConfig({displayName:"search__Wrapper",componentId:"sc-6156aaca-0"})(["padding:",";margin-bottom:",";overflow:inherit;"],e=>{let{theme:t}=e;return t.spacing[4]},e=>{let{theme:t}=e;return t.spacing[4]});function Y(e){let{translations:t,plan:n,onSelectLocation:i,onClear:r,onHighlightExhibitorsFromExternalIds:a,clearHighlights:l,renderHighlightBookmarkedExhibitors:s}=e,c=function(e){let{plan:t}=e;return[...t.boothsList().map(R),...t.exhibitorsList().map(A),...t.categoriesList().map(T)].map(e=>({value:"".concat(e.type,"_").concat(e.id),label:e.name,item:e}))}({plan:n}),d=(0,L.GN)({fillInputOnSelect:!0,saveOnSelect:e=>i(e.item)});return(0,o.jsxs)(U,{children:[(0,o.jsx)(X,{translations:t,options:c,onClear:r,inputProps:d}),null==s?void 0:s({onHighlightExhibitorsFromExternalIds:a,clearHighlights:l})]})}let Q=null,q=Promise.resolve();function J(e){var t,n;let{location:i,plan:o,setLocation:r,focusOnMap:a=!0}=e;switch(i.type){case"BOOTH":a&&o.selectBooth(null!==(t=i.externalId)&&void 0!==t?t:i.name),r(i);break;case"EXHIBITOR":a&&o.selectExhibitor(null!==(n=i.externalId)&&void 0!==n?n:i.name),r(i);break;case"CATEGORY":a&&o.selectCategory(i.name),r(i)}}function ee(e){let{plan:t,setLocation:n}=e;t.selectExhibitor(""),t.selectBooth(""),t.selectCategory(null),n(null)}function et(e){let{plan:t}=e;return t.getFloors()}var en=n(32613);let ei=c.ZP.div.withConfig({displayName:"loader__Wrapper",componentId:"sc-a64d18af-0"})(["background-color:",";position:absolute;width:100%;height:100%;display:flex;align-items:center;justify-content:center;z-index:1000;"],e=>{let{theme:t}=e;return t.colors.skeleton});function eo(){let e=(0,d.Fg)();return(0,o.jsx)(ei,{children:(0,o.jsx)(en.Z,{color:e.colors.secondary.base})})}let er=c.ZP.div.withConfig({displayName:"map__MapContainer",componentId:"sc-bd1609a0-0"})(["z-index:1;position:absolute;top:0;inset-inline-start:0;width:100%;height:100%;"]),ea=c.ZP.div.withConfig({displayName:"map__FloatingContainer",componentId:"sc-bd1609a0-1"})(["position:absolute;z-index:1000;width:100%;max-width:calc(100% - ","px);inset-inline-start:","px;top:","px;@media screen and (min-width:","px){max-width:380px;}"],136,68,e=>{let{$top:t}=e;return t},e=>{let{theme:t}=e;return t.breakPoints.sm});function el(e){var t;let{floorPlanOptionsEventId:n,initialBoothExternalId:i,initialExhibitorExternalId:a,initialLocationName:l,translations:s,renderLocation:c,renderDirections:d,renderHighlightBookmarkedExhibitors:u}=e,{expoFpFloorPlanElementRef:h,expoFpFloorPlanInstance:p,ready:x,error:f,selectLocation:m,location:b,selectRoute:g,clearRoute:v,clearLocation:I,selectBoothFromName:C,selectBoothFromExternalId:j,selectExhibitorFromExternalId:y,highlightExhibitorsFromExternalIds:_,clearHighlights:w,getFloorPlanVisibility:E,routeDetails:k}=function(e){let{floorPlanOptionsEventId:t}=e,n=(0,r.useRef)(null),i=(0,r.useRef)(null),[o,a]=(0,r.useState)(!1),[l,s]=(0,r.useState)(!1),[c,d]=(0,r.useState)(null),[u,h]=(0,r.useState)(null),p=(0,r.useCallback)(e=>{n.current&&J({location:e,setLocation:h,plan:n.current})},[]),x=(0,r.useCallback)(()=>{n.current&&ee({setLocation:h,plan:n.current})},[]),f=(0,r.useCallback)(e=>{n.current&&function(e){let{plan:t,externalId:n,setLocation:i}=e,o=t.boothsList().find(e=>e.externalId===n);o&&J({plan:t,location:R(o),setLocation:i})}({externalId:e,setLocation:h,plan:n.current})},[]),m=(0,r.useCallback)(e=>{n.current&&function(e){let{plan:t,name:n,setLocation:i}=e,o=t.boothsList().find(e=>e.name===n);o&&J({plan:t,location:R(o),setLocation:i})}({name:e,setLocation:h,plan:n.current})},[]),b=(0,r.useCallback)(e=>{n.current&&function(e){let{plan:t,externalId:n,setLocation:i}=e,o=t.exhibitorsList().find(e=>e.externalId===n);o&&J({plan:t,location:A(o),setLocation:i})}({externalId:e,setLocation:h,plan:n.current})},[]),g=(0,r.useCallback)(e=>{let{externalIds:t,fitBounds:i}=e;if(!n.current)return;let o=n.current,r=function(e){let{plan:t}=e;return et({plan:t}).find(e=>{let{active:t}=e;return t})}({plan:o}),a=function(e){let{plan:t,exhibitorExternalIds:n}=e,i=t.exhibitorsList();return t.boothsList().filter(e=>{let t=e.exhibitors.reduce((e,t)=>
1{var n;let o=null===(n=i.find(e=>{let{id:n}=e;return n===t}))||void 0===n?void 0:n.externalId;return o?[...e,o]:e},[]);return n.some(e=>null==t?void 0:t.includes(e))})}({plan:o,exhibitorExternalIds:t}),l=r&&a.length>0&&a.every(e=>{let{layer:t}=e;return t.name!==r.name}),s=0===et({plan:o}).length;l&&!s&&function(e){let{plan:t,name:n}=e;""===n?t.activateFloor({index:0}):t.activateFloor({name:n})}({plan:o,name:a[0].layer.name}),function(e){let{plan:t,externalIds:n,fitBounds:i=!1}=e;t.highlightExhibitors(n),i&&t.fitBounds()}({plan:o,externalIds:t,fitBounds:i})},[]),v=(0,r.useCallback)(()=>{n.current&&function(e){let{plan:t}=e;t.highlightExhibitors([])}({plan:n.current})},[]),I=(0,r.useCallback)(e=>{let{from:t,to:i}=e;n.current&&n.current.selectRoute(t,i)},[]),C=(0,r.useCallback)(()=>{n.current&&n.current.selectRoute()},[]),j=(0,r.useCallback)(()=>{if(n.current)return n.current.getVisibility()},[]);return(0,r.useEffect)(()=>{let e;let o=i.current;if(o)return q=q.then(async()=>{let{load:i}=await (Q||(Q=import("https://unpkg.com/@expofp/floorplan")),Q);e=await i({$ref:"https://".concat(t,".expofp.com/manifest.json")},{element:o,noOverlay:!0,allowConsent:!0,offHistory:!0,ignoreQuery:!0,onDetails:e=>{n.current&&function(e){let{event:t,plan:n,setLocation:i}=e;if(n){if(t)switch(t.type){case"booth":{let e=n.boothsList().find(e=>e.id===t.id);e&&J({plan:n,location:R(e),setLocation:i,focusOnMap:!1});break}case"exhibitor":{let e=n.exhibitorsList().find(e=>e.id===t.id);e&&J({plan:n,location:A(e),setLocation:i,focusOnMap:!1})}}else ee({plan:n,setLocation:i})}}({plan:n.current,setLocation:h,event:e})},onDirection:e=>{if(!(null==e?void 0:e.from)||!(null==e?void 0:e.to))return d(null);d({distance:e.distance,time:e.time})},onInit:e=>{e.setVisibility({controls:!0,levels:!0,header:!0})}}),n.current=e;let r=e;r.ready.then(()=>{n.current===r&&a(!0)}).catch(()=>void 0)}).catch(()=>s(!0)),()=>{q=q.then(()=>{if(e){try{var t;(t=e).selectExhibitor(""),t.selectBooth(""),t.selectCategory(null),t.highlightExhibitors([])}catch(e){}e.destroy(),n.current===e&&(n.current=null),e=void 0,a(!1)}}).catch(()=>void 0)}},[t]),{expoFpFloorPlanInstance:n,expoFpFloorPlanElementRef:i,location:u,selectLocation:p,clearLocation:x,selectBoothFromName:m,selectBoothFromExternalId:f,selectExhibitorFromExternalId:b,highlightExhibitorsFromExternalIds:g,clearHighlights:v,getFloorPlanVisibility:j,selectRoute:I,clearRoute:C,routeDetails:c,ready:o,error:l}}({floorPlanOptionsEventId:n}),[P,Z]=(0,r.useState)(null),M=!!P;(0,r.useEffect)(()=>{if(x){if(a)return y(a);if(i)return j(i);if(l)return C(l)}},[x,i,a,l,y,j,C]);let S=x&&(null===(t=E())||void 0===t?void 0:t.header)?78:16;return((0,r.useEffect)(()=>{(null==b?void 0:b.id)&&Z(null)},[null==b?void 0:b.id]),f)?(0,o.jsx)("span",{children:"An error occurred while loading the map"}):(0,o.jsxs)(o.Fragment,{children:[!x&&(0,o.jsx)(eo,{}),x&&p.current&&(0,o.jsxs)(ea,{$top:S,children:[!M&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(Y,{plan:p.current,translations:s,onSelectLocation:m,onClear:I,onHighlightExhibitorsFromExternalIds:_,renderHighlightBookmarkedExhibitors:u,clearHighlights:w}),null==c?void 0:c({location:b,onClose:I,onSelectBoothByExternalId:j,onSelectExhibitorByExternalId:y,plan:p.current,onSelectLocation:m,searchOffset:S+140,onSelectDestination:e=>Z(e)})]}),M&&(null==d?void 0:d({plan:p.current,selectRoute:e=>{let{from:t,to:n}=e;t&&n&&g({from:t.externalId?t.externalId:t.name,to:n.externalId?n.externalId:n.name})},initialDestination:P,routeDetails:k,clearRoute:v,onClose:()=>{Z(null),I(),v()}}))]}),(0,o.jsx)(er,{id:"floorplanId",ref:h})]})}var es=function(e){let{expoKey:t,translations:n,initialBoothExternalId:i,initialExhibitorExternalId:r,initialLocationName:a,renderLocation:l,renderDirections:s,renderHighlightBookmarkedExhibitors:c}=e;return(0,o.jsx)(el,{initialBoothExternalId:i,initialExhibitorExternalId:r,initialLocationName:a,floorPlanOptionsEventId:t,translations:n,renderLocation:l,renderDirections:s,renderHighlightBookmarkedExhibitors:c})},ec=n(27358),ed=n(46448),eu=n(31476);let eh=(0,c.ZP)(function(e){return(0,o.jsx)(eu.Z,{...e,url:"https://static.swapcard.com/public/images/17d24ccbd506469f9f1908fc7c385e96.svg"})}).withConfig({displayName:"route__StyledIcon",componentId:"sc-2fde0d4-0"})([""]);var ep=n(97525);let ex=(0,c.ZP)(N.Z).attrs({shadow:!0}
1).withConfig({displayName:"utils__LocationContainer",componentId:"sc-589875bd-0"})(["padding-bottom:",";"],e=>{let{theme:t}=e;return t.spacing[2]});function ef(e){let{onClose:t}=e,n=(0,x.T_)();return(0,o.jsx)(ed.ZP,{variant:"OVERLAY",size:"SMALL",onClick:t,"aria-label":n.close,icon:(0,o.jsx)(F.Z,{})})}let em=c.ZP.div.withConfig({displayName:"expo-item-header__Wrapper",componentId:"sc-7fead40b-0"})(["display:flex;flex-direction:column;justify-content:start;gap:",";padding:",";width:100%;box-sizing:border-box;"],e=>{let{theme:t}=e;return t.spacing[2]},e=>{let{theme:t}=e;return"".concat(t.spacing[4]," ").concat(t.spacing[4]," ").concat(t.spacing[2]," ").concat(t.spacing[4])}),eb=c.ZP.div.withConfig({displayName:"expo-item-header__Header",componentId:"sc-7fead40b-1"})(["display:flex;align-items:center;gap:",";","{font-size:24px;color:",";}"],e=>{let{theme:t}=e;return t.spacing[2]},ep.Z,e=>{let{theme:t}=e;return t.colors.surface.onVariant}),eg=c.ZP.div.withConfig({displayName:"expo-item-header__Content",componentId:"sc-7fead40b-2"})(["display:flex;flex-direction:column;width:100%;"]),ev=(0,c.ZP)(ec.Z).withConfig({displayName:"expo-item-header__Name",componentId:"sc-7fead40b-3"})(["width:100%;"]),eI=(0,c.ZP)(ec.Z).attrs({level:"h4",size:"small"}).withConfig({displayName:"expo-item-header__Type",componentId:"sc-7fead40b-4"})(["font-weight:400;"]);var eC=function(e){let{item:t,onClose:n,onSelectDestination:i}=e,a=(0,x.T_)(),l=(0,r.useMemo)(()=>{switch(t.type){case"CATEGORY":return a.category;case"BOOTH":return a.booth;case"EXHIBITOR":return a.exhibitor;default:return null}},[t.type,a]);return(0,o.jsxs)(em,{children:[(0,o.jsxs)(eb,{children:[(0,o.jsx)(ep.Z,{}),(0,o.jsxs)(eg,{children:[(0,o.jsx)(ev,{children:t.name}),(0,o.jsx)(eI,{children:null!=l?l:t.type})]}),(0,o.jsx)(ef,{onClose:n})]}),"CATEGORY"!==t.type&&(0,o.jsx)(ed.ZP,{onClick:()=>null==i?void 0:i(t.externalId?t.externalId:t.name),icon:(0,o.jsx)(eh,{}),children:a.directions})]})},ej=n(84439),ey=n(83100),e_=n(3134),ew=n(14756),eE=n(41317),ek=n(51907),eP=n(31171),eZ=n(88921),eM=n(57541),eS=n(81047),eB=n(8590),eO=n(75225),eN=n(72142),eL=n(13016),eR=n(96508),eA=n(43471),eT=n(44144);function eF(e){let{isExhibitorMember:t,members:n,membersAsAdmin:i,exhibitorId:r,seeMembers:a,renderMemberCard:l,renderMemberAsAdminCard:s,showActions:c}=e,d=(0,v.zX)(),u=(0,x.T_)();return t&&i&&i.totalCount>0?(0,o.jsx)(ek.uN,{membersAsAdmin:i,exhibitorId:r,eventId:d.id,renderMemberCard:s,action:c&&(0,o.jsx)(ed.ZP,{variant:"GHOST",onClick:a,children:u.manage}),memberCardProps:e=>{let{userInfo:t}=e;return{hoverEffect:!0,action:c&&(0,o.jsx)(eT.ZP,{userStatus:t})}}}):n&&n.totalCount>0?(0,o.jsx)(eA.ZP,{members:n,exhibitorId:r,renderMemberCard:l,memberCardProps:e=>{let{userInfo:t}=e;return{hoverEffect:!0,action:c&&(0,o.jsx)(eT.ZP,{userStatus:t})}}}):null}function eD(e){let{category:t,isExhibitorMember:n,onClick:i}=e,r=(0,x.T_)(),a=null!==t.totalLimit&&t.productCount>=t.totalLimit;return!n||a?null:(0,o.jsx)(ed.ZP,{variant:"GHOST",onClick:i,children:r.add})}let ez=c.ZP.div.withConfig({displayName:"swapcard-exhibitor__Wrapper",componentId:"sc-ae085334-0"})(["position:relative;overflow-y:auto;max-height:",";border-radius:",";"],e=>{let{$topOffset:t}=e;return"calc(100vh - ".concat(t,"px)")},e=>{let{theme:t}=e;return t.radius.md}),eH=c.ZP.div.withConfig({displayName:"swapcard-exhibitor__CloseWrapper",componentId:"sc-ae085334-1"})(["position:sticky;height:0;z-index:3;top:",";margin-inline-end:",";display:flex;justify-content:flex-end;"],e=>{let{theme:t}=e;return t.spacing[4]},e=>{let{theme:t}=e;return t.spacing[4]}),eW=(0,c.ZP)(ed.W4).withConfig({displayName:"swapcard-exhibitor__ButtonWrapper",componentId:"sc-ae085334-2"})(["display:flex;flex-wrap:wrap;"]),e$=(0,c.ZP)(ed.ZP).withConfig({displayName:"swapcard-exhibitor__DirectionButton",componentId:"sc-ae085334-3"})(["flex-grow:1;"]);var eK=function(e){var t,n,i,a,l;let{exhibitorId:s,customBookmarkCallback:c,renderPlanningCard:d,renderMyScheduleRedirection:u,productPageRedirect:h,renderExhibitorCard:p,renderProductCard:f,renderAdvertProductLink:m,renderSimilarExhibitorCard:b,renderMeetingLink:g,joinMeetingRedirect:I,renderMemberCard:C,renderMemberAsAdminCard:j,onTalkNow:y,onClose:_,onError:w,onSelectBoothByExternalId:E,topOffset:k,isWidget:P,showActions:Z,skipMeeting:M,onSelectDestination:S,selfUserId:B}=e,O=(0,v.zX)(),N=(0,x.T_)(),[L,R]=(0,r.useState)(!1),{seeMembers:A,addDocument:T,addProduct:F,edit:D}=(0,eB.U)({exhibitorId:s,isWidget:P}),{isEnabled:z}=(0,eL.N)({code:"EXHIBITOR_CHAT",eventId:O.id}),{exhibitor:H,plannings:W,canMeet:$,hasMeeting:K,meetingInvitationsCount:V,bookedMeetings:G,linkedExhibitors:X,onDemandPlannings:U,isExhibitorMember:Y,membersAsAdmin:Q,productCategories:q,similarExhibitorsDetails:J,showMeetingSection:ee,hasNoBookedMeetings:et,members:en,error:ei,refetch:eo,loading:er}=(0,eE.ow)({exhibitorId:s,onError:w,skipMeeting:M,selfUserId:B}
1),{trackExhibitor:ea,trackDocumentClick:el,trackSimilarExhibitorClick:es,advertClickTracking:ec,advertShowTracking:eu}=(0,eR.W)({exhibitor:H,exhibitorId:s,source:"map"}),ep=z&&(null==H?void 0:null===(t=H.withEvent)||void 0===t?void 0:t.canTalkTo),ex=!!H&&!P&&Z&&$&&V<eO.v,em=null==J?void 0:J.exhibitor;return er&&!H?(0,o.jsx)(ew.uv,{}):ei||!H?null:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(ez,{$topOffset:k,children:[(0,o.jsx)(eH,{children:(0,o.jsx)(ef,{onClose:_})}),(0,o.jsx)(ew.ZP,{eventId:O.id,hideShortcuts:!0,onEdit:D,similarExhibitorsDetails:em,exhibitor:H,buttons:(0,o.jsxs)(eW,{children:[(0,o.jsx)(e$,{onClick:function(){(null==H?void 0:H.withEvent)&&(H.withEvent.booths.length>1?R(!0):S(H.withEvent.booths[0].id))},size:"LARGE","aria-label":N.directions,icon:(0,o.jsx)(eh,{}),children:N.directions}),!P&&Z&&(0,o.jsxs)(o.Fragment,{children:[ex&&(0,o.jsx)(eO.Z,{exhibitor:H,eventId:O.id,hasMeeting:K,iconOnly:!0,renderMeetingLink:g,refetch:async()=>{await eo()}}),ep&&(0,o.jsx)(ed.ZP,{onClick:()=>y(s),icon:(0,o.jsx)(ey.Z,{}),"aria-label":N.talkNow,size:"LARGE"}),(0,o.jsx)(eS.bL,{iconOnly:!0,exhibitor:H,customCallback:c})]})]}),planningsSection:(null==W?void 0:null===(n=W.pageInfo)||void 0===n?void 0:n.totalEdges)&&(0,o.jsx)(ek.ZR,{plannings:W,exhibitorId:s,eventId:O.id,renderPlanningCard:d,planningCardProps:e=>({hoverEffect:!0,action:Z&&(0,o.jsx)(eM.e_,{planning:e,renderMyScheduleRedirection:u})})}),hideMeetingSectionDivider:Y&&et,productCategories:q,productCardProps:e=>({action:Z&&(0,o.jsx)(eN.tk,{fontSize:16,product:e})}),documentsAction:Y&&(0,o.jsx)(ed.ZP,{variant:"GHOST",onClick:T,children:N.add}),productCategoryAction:e=>(0,o.jsx)(eD,{category:e,isExhibitorMember:Y,onClick:()=>F(e)}),onSeeMoreProductCategory:e=>h(e,s),linkedExhibitorsSection:X&&X.totalCount>0&&(0,o.jsx)(eZ.Z,{linkedExhibitors:X,exhibitorId:s,eventId:O.id,renderExhibitorCard:p,exhibitorCardProps:e=>({hoverEffect:!0,action:Z&&(0,o.jsx)(eS._q,{exhibitor:e})})}),onDemandPlanningsSection:(null==U?void 0:null===(i=U.pageInfo)||void 0===i?void 0:i.totalEdges)&&(0,o.jsx)(ek.ZR,{plannings:U,exhibitorId:s,eventId:O.id,renderPlanningCard:d,planningCardProps:e=>({hoverEffect:!0,action:Z&&(0,o.jsx)(eM.e_,{planning:e,renderMyScheduleRedirection:u})}),layout:"VIDEO"}),membersSection:(0,o.jsx)(eF,{renderMemberAsAdminCard:j,renderMemberCard:C,seeMembers:A,exhibitorId:s,isExhibitorMember:Y,members:en,membersAsAdmin:Q,showActions:Z}),onBoothClick:e=>{let{booth:{externalUrl:t,id:n}}=e;if(t){window.open(t,"_blank");return}E(n)},action:H&&P&&Z&&(0,o.jsx)(eS._q,{exhibitor:H,floating:!0}),hasMapRedirection:!0,showAdvert:!P,onAdvertClick:ec,onAdvertSeen:eu,trackExhibitor:ea,onDocumentLinkClick:el,onSimilarExhibitorClick:es,renderAdvertProductLink:m,renderSimilarExhibitorCard:b,renderProductCard:f,meetingsSection:ee&&(0,o.jsx)(eP.ZP,{bookedMeetings:G,exhibitor:H,renderMyScheduleRedirection:u,renderMeetingLink:g,joinMeetingRedirect:I})})]}),L&&(0,o.jsx)(e_.ZP,{title:N.mapRouteSelectBooth,onClose:()=>R(!1),children:(0,o.jsx)(ej.Z,{booths:null!==(l=null===(a=H.withEvent)||void 0===a?void 0:a.booths)&&void 0!==l?l:[],exhibitorId:H.id,onBoothClick:e=>{let{booth:t}=e;S(t.id),R(!1)},hasMapRedirection:!0})})]})},eV=function(e){let{exhibitor:t,onClose:n,onSelectBoothByExternalId:i,topOffset:a,exhibitorProps:l,isWidget:s,showActions:c,onSelectDestination:d}=e,[u,h]=(0,r.useState)(!1);return!u&&t.externalId&&(0,g.c)(t.externalId)?l?(0,o.jsx)(eK,{topOffset:a,exhibitorId:t.externalId,onSelectDestination:d,onClose:n,onError:()=>h(!0),onSelectBoothByExternalId:i,isWidget:s,showActions:c,...l}):null:(0,o.jsx)(ex,{children:(0,o.jsx)(eC,{onSelectDestination:d,item:t,onClose:n})})},eG=n(56366),eX=n(91113),eU=n(11193),eY=n(8307),eQ=n(86283),eq=n(31383),eJ=n(63196);function e0(){let e=(0,i._)(["\n fragment ExpoFPBoothExhibitorFragment on Core_Exhibitor {\n id: _id\n ...ExhibitorCardFragment\n }\n ","\n"]);return e0=function(){return e},e}let e1=(0,a.Ps)(e0(),eJ.Qq),e4=(0,c.ZP)(eJ.MR).withConfig({displayName:"exhibitors__ExhibitorCardContainer",componentId:"sc-b7781871-0"})(["",""],e=>{let{theme:t,$withMargin:n}=e;return n&&(0,eq.iv)(["margin-inline:-",";"],t.spacing[10])});function e3(e){let{exhibitor:t,onClick:n}=e,{dir:i}=(0,d.Fg)();return(0,o.jsx)(eJ.ZP,{layout:"LIST",exhibitor:t,onClick:n,hoverEffect:!0,action:"ltr"===i?(0,o.jsx)(eQ.Z,{}):(0,o.jsx)(eY.Z,{})},t.id)}var e6=function(e){let{exhibitors:t,onSelectExhibitor:n,title:i}=e,a=(0,x.T_)(),[l,s]=(0,r.useState)(!1);return 0===t.length?null:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(e4,{$withMargin:!1,children:[...t].slice(0,3).map(e=>(0,o.jsx)(e3,{exhibitor:e,onClick:()=>n(e.id)},e.id))}),t.length>3&&(0,o.jsx)(ed.ZP,{margin:[1,4,4,4],variant:"LINK",onClick:()=>s(!0),children:a.seeAllWithCount(t.length)}),l&&(0,o.jsx)(e_.ZP,{title:i,onClose:()=>s(!1),children:(0,o.jsx)(e4,{$withMargin:!0,children:t.map(e=>(0,o.jsx)(e3,{exhibitor:e,onClick:()=>n(e.id)},e.id))})})]})};function e5(){return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(eJ._9,{}),(0,o.jsx)(eJ._9,{}),(0,o.jsx)(eJ._9,{})]})}function e7(){let e=(0,i._)(["\n fragment ExpoFPBoothQuery_LocationFragment on Core_Location {\n id\n name\n category\n boothOfExhibitors {\
1n id: _id\n ...ExpoFPBoothExhibitorFragment\n }\n }\n ","\n"]);return e7=function(){return e},e}function e2(){let e=(0,i._)(["\n query ExpoFPBoothQuery(\n $locationId: ID!\n $eventId: ID!\n $withEvent: Boolean = true\n ) {\n event: Core_event(_id: $eventId) {\n id: _id\n locations(filters: { ids: [$locationId] }) {\n nodes {\n id\n ...ExpoFPBoothQuery_LocationFragment\n }\n }\n }\n }\n ","\n"]);return e2=function(){return e},e}let e8=(0,c.ZP)(ed.ZP).withConfig({displayName:"swapcard-booth__DirectionsButton",componentId:"sc-77f533f6-0"})(["width:calc(100% - ",");margin:",";"],e=>{let{theme:t}=e;return t.spacing[8]},e=>{let{theme:t}=e;return"0 ".concat(t.spacing[4]," ").concat(t.spacing[4]," ").concat(t.spacing[4])}),e9=c.ZP.div.withConfig({displayName:"swapcard-booth__Wrapper",componentId:"sc-77f533f6-1"})(["display:flex;align-items:center;gap:",";padding:",";width:100%;box-sizing:border-box;"],e=>{let{theme:t}=e;return t.spacing[2]},e=>{let{theme:t}=e;return t.spacing[2]}),te=c.ZP.div.withConfig({displayName:"swapcard-booth__NameAndCategoryWrapper",componentId:"sc-77f533f6-2"})(["display:flex;flex-direction:column;width:100%;"]),tt=(0,c.ZP)(eX.Z).withConfig({displayName:"swapcard-booth__Name",componentId:"sc-77f533f6-3"})(["color:",";font-size:20px;width:100%;"],e=>{let{theme:{colors:t}}=e;return t.text.base}),tn=c.ZP.div.withConfig({displayName:"swapcard-booth__Category",componentId:"sc-77f533f6-4"})(["font-weight:400;font-size:14px;line-height:1.5;color:",";"],e=>{let{theme:{colors:t}}=e;return t.surface.on}),ti=(0,c.ZP)(eU.Z).withConfig({displayName:"swapcard-booth__BoothIcon",componentId:"sc-77f533f6-5"})(["font-size:24px;flex-shrink:0;color:",";"],e=>{let{theme:{colors:t}}=e;return t.text.base}),to=(0,a.Ps)(e7(),e1),tr=(0,a.Ps)(e2(),to),ta=c.ZP.div.withConfig({displayName:"swapcard-booth__NameWrapper",componentId:"sc-77f533f6-6"})(["padding:",";"],e=>{let{theme:t}=e;return t.spacing[2]}),tl=(0,c.ZP)(eG.Z).attrs({size:16}).withConfig({displayName:"swapcard-booth__NameLoader",componentId:"sc-77f533f6-7"})(["padding:"," 0;border-radius:",";"],e=>{let{theme:t}=e;return t.spacing[2]},e=>{let{theme:{radius:t}}=e;return t.xl});function ts(){return(0,o.jsxs)(N.Z,{shadow:!0,children:[(0,o.jsx)(ta,{children:(0,o.jsx)(tl,{})}),(0,o.jsx)(e5,{})]})}function tc(e,t){return e.find(e=>e.id===t)}var td=function(e){let{locationId:t,onClose:n,onSelectExhibitorByExternalId:i,onError:a,onSelectDestination:s}=e,c=(0,v.zX)(),d=(0,x.T_)(),u=(0,r.useCallback)(e=>{tc(e.event.locations.nodes,t)||a()},[a,t]),{data:h,loading:p}=(0,l.aM)(tr,{variables:{locationId:t,eventId:c.id},onError:a,fetchPolicy:"cache-and-network",onCompleted:u});if(!h&&p)return(0,o.jsx)(ts,{});let f=h&&tc(h.event.locations.nodes,t);return f?(0,o.jsxs)(N.Z,{shadow:!0,children:[(0,o.jsx)(ta,{children:(0,o.jsxs)(e9,{children:[(0,o.jsx)(ti,{}),(0,o.jsxs)(te,{children:[(0,o.jsx)(tt,{children:f.name}),f.category&&(0,o.jsx)(tn,{children:f.category})]}),(0,o.jsx)(ef,{onClose:n})]})}),(0,o.jsx)(e6,{title:[f.category,f.name].filter(Boolean).join(" \xb7 "),exhibitors:f.boothOfExhibitors,onSelectExhibitor:i}),(0,o.jsx)(e8,{onClick:()=>s(f.id),icon:(0,o.jsx)(eh,{}),children:d.directions})]}):null},tu=function(e){let{booth:t,onClose:n,onSelectExhibitorByExternalId:i,onSelectDestination:a}=e,[l,s]=(0,r.useState)(!1);return!l&&t.externalId&&(0,g.n)(t.externalId)?(0,o.jsx)(td,{locationId:t.externalId,onClose:n,onSelectDestination:a,onSelectExhibitorByExternalId:i,onError:()=>s(!0)}):(0,o.jsx)(ex,{children:(0,o.jsx)(eC,{item:t,onClose:n,onSelectDestination:a})})},th=n(69060);let tp=c.ZP.button.attrs({type:"button"}).withConfig({displayName:"exhibitor-cell__Wrapper",componentId:"sc-1414bd25-0"})(["all:unset;display:flex;width:100%;box-sizing:border-box;align-items:center;padding:",";color:",";font-weight:600;font-size:14px;line-height:1.5;gap:",";cursor:pointer;transition:150ms;&:hover{color:",";}"],e=>{let{theme:t,$horizontalPadding:n}=e;return"".concat(t.spacing[2]," ").concat(n?t.spacing[4]:0)},e=>{let{theme:t}=e;return t.colors.tertiary.base},e=>{let{theme:t}=e;return t.spacing[4]},e=>{let{theme:t}=e;return t.colors.secondary.base}),tx=c.ZP.div.withConfig({displayName:"exhibitor-cell__IconAndName",componentId:"sc-1414bd25-1"})(["display:flex;width:100%;align-items:center;gap:",";"],e=>{let{theme:t}=e;return t.spacing[2]}),tf=c.ZP.svg.withConfig({displayName:"exhibitor-cell__Icon",componentId:"sc-1414bd25-2"})(["font-size:16px;"]);var tm=function(e){let{exhibitor:t,horizontalPadding:n,onClick:i}=e;return(0,o.jsxs)(tp,{$horizontalPadding:n,onClick:i,children:[(0,o.jsxs)(tx,{children:[(0,o.jsx)(tf,{as:th.Z}),t.name]}),(0,o.jsx)(tf,{as:eQ.Z})]})},tb=function(e){let{category:t,plan:n,onClose:i,onSelectLocation:a}=e,l=(0,x.T_)(),[s,c]=(0,r.useState)(!1),d=(0,r.useMemo)(()=>(function(e,t){let n=[];for(let i of e){let e=t.exhibitorsList().find(e=>e.id===i);e&&n.push(e)}return n})(t.exhibitors,n),[t.exhibitors,n]);return(0,o.jsxs)(ex,{children:[(0,o.jsx)(eC,{item:t,onClose:i}),[...d].slice(0,3).map(e=>(0,o.jsx)(tm,{horizontalPadding:!0,exhibitor:e,onClick:()=>a({type:"EXHIBITOR",...e})},e.id)),d.length>3&&(0,o.jsx)(ed.ZP,{marginLeft:4,marginRight:4,marginTop:2,variant:"LINK",onClick:()=>c(!0),children:l.seeAllWithCount(d.length)}),s&&(0,o.jsx)(e_.ZP,{onClose:()=>c(!1),title:t.name,children:d.map(e=>(0,o.jsx)(tm,{horizontalPadding:!1,exhibitor:e,onClick:()=>a({type:"EXHIBITOR",...e})},e.id))})]})},tg=function(e){let{location:t,topOffset:n,onClose:i,onSelectBoothByExternalId:r,onSelectExhibitorByExternalId:a,plan:l,onSelectLocation:s,exhibitorProps:c,isWidget:d,showActions:u,onSelectDestination:h}=e;if(!t)return null;switch(t.type){case"CATEGORY":return(0,o.jsx)(tb,{plan:l,category:t,onClose:i,onSelectLocation:s});case"EXHIBITOR":return(0,o.jsx)(eV,{topOffset:n,exhibitor:t,onClose:i,onSelectBoothByExternalId:r,exhibitorProps:c,isWidget:d,showActions:u,onSelectDestination:h});case"BOOTH":return(0,o.jsx)(tu,{booth:t,onClose:i,onSelectExhibitorByExternalId:a,onSelectDestination:h});default:return null}},tv=n(76773);let tI=c.ZP.div.withConfig({displayName:"highlight-bookmarked-exhibitors__Wrapper",componentId:"sc-dcd5eead-0"})(["margin-top:",";"],e=>{let{theme:t}=e;return t.spacing[4]}),tC=(0,c.ZP)(tv.g).withConfig({displayName:"highlight-bookmarked-exhibitors__CheckboxWithLabelLoader",componentId:"sc-dcd5eead-1"})(["margin-top:",";"],e=>{let{theme:t}=e;return t.spacing[4]});function tj(e){let{clearHighlights:t,onHighlightExhibitorsFromExternalIds:n}=e,i=(0,x.T_)(),{isLoggedIn:a}=(0,b.aC)(),{data:l,bookmarkedExhibitors:s,error:c,loading:d}=w({skip:!a}),[u,h]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{u&&n({externalIds:s.map(e=>e.id)}),0===s.length&&h(!1)},[s]),!l&&d)?(0,o.jsx)(ty,{}):0===s.length||!l&&c?null:(0,o.jsx)(tI,{children:(0,o.jsx)(tv.Z,{checked:u,onChange:e=>{h(e.target.checked),e.target.checked?n({externalIds:s.map(e=>e.id),fitBounds:!0}):t()},children:i.highlightBookmarkedExhibitors})})}function ty(){return(0,o.jsx)(tC,{})}let t_=(0,c.ZP)(function(e){return(0,o.jsx)(eu.Z,{...e,url:"https://static.swapcard.com/public/images/ece7f1b1f6fe42569d813b99a9ba081b.svg"})}).withConfig({displayName:"swap__StyledIcon",componentId:"sc-fa2e28cb-0"})([""]);var tw=n(64827),tE=n(5045),tk=n(18581);let tP=c.ZP.div.withConfig({displayName:"directions__Header",componentId:"sc-3aab500f-0"})(["display:flex;justify-content:space-between;align-items:center;padding:",";"],e=>{let{theme:t}=e;return t.spacing[4]}),tZ=c.ZP.div.withConfig({displayName:"directions__Content",componentId:"sc-3aab500f-1"})(["display:flex;align-items:center;gap:",";padding:",";"],e=>{let{theme:t}=e;return t.spacing[1]},e=>{let{theme:t}=e;return t.spacing[4]}),tM=c.ZP.div.withConfig({displayName:"directions__InputWrapper",componentId:"sc-3aab500f-2"})(["display:flex;flex-direction:column;gap:",";flex:1;"],e=>{let{theme:t}=e;return t.spacing[2]}),tS=c.ZP.div.withConfig({displayName:"directions__Footer",componentId:"sc-3aab500f-3"})(["padding:",";"],e=>{let{theme:{spacing:t}}=e;return"0 ".concat(t[4]," ").concat(t[4]," ").concat(t[4])});function tB(e){var t,n,i,a;let{plan:l,selectRoute:s,initialDestination:c,initialStartingPoint:d,onClose:u,clearRoute:h,routeDetails:p}=e,f=(0,x.T_)(),m=function(e){let{plan:t}=e;return[...t.boothsList().map(R),...t.exhibitorsList().map(A)].map(e=>({value:e.name,label:e.name,item:e}))}({plan:l}),b=function(e){var t,n;let{options:i,initialStartingPoint:o,initialDestination:r}=e,a=null===(t=i.find(e=>{let{item:t}=e;
1return o&&(t.externalId===o||t.name===o)}))||void 0===t?void 0:t.item,l=null===(n=i.find(e=>{let{item:t}=e;return t.externalId===r||t.name===r}))||void 0===n?void 0:n.item;return{from:null!=a?a:null,to:null!=l?l:null}}({options:m,initialStartingPoint:d,initialDestination:c}),g=(0,r.useRef)(b),v=g.current.from&&g.current.to&&p,I={searchPlaceholder:f.search,noResultsMessage:f.noResults,clearButtonAriaLabel:f.clearSearch,exhibitor:f.exhibitor,booth:f.booth,category:f.category},C=(0,L.GN)({fillInputOnSelect:!0,initialState:{value:null!==(i=null===(t=b.from)||void 0===t?void 0:t.name)&&void 0!==i?i:""},saveOnSelect:e=>{g.current.from=e.item,s({from:g.current.from,to:g.current.to})}}),j=(0,L.GN)({fillInputOnSelect:!0,initialState:{value:null!==(a=null==b?void 0:null===(n=b.to)||void 0===n?void 0:n.name)&&void 0!==a?a:""},saveOnSelect:e=>{g.current.to=e.item,s({from:g.current.from,to:g.current.to})}});return(0,o.jsxs)(N.Z,{shadow:!0,children:[(0,o.jsxs)(tP,{children:[(0,o.jsx)(ec.Z,{children:f.directions}),(0,o.jsx)(ef,{onClose:u})]}),(0,o.jsx)(tw.Z,{margin:["0"]}),(0,o.jsxs)(tZ,{children:[(0,o.jsxs)(tM,{children:[(0,o.jsx)(X,{options:m,placeholder:f.mapRouteStartingPointPlaceholder,inputProps:C,showOptionsWhileEmpty:!1,onClear:()=>{g.current.from=null,h()},translations:I}),(0,o.jsx)(X,{options:m,placeholder:f.mapRouteDestinationPlaceholder,inputProps:j,showOptionsWhileEmpty:!1,onClear:()=>{g.current.to=null,h()},translations:I})]}),(0,o.jsx)(ed.ZP,{variant:"GHOST",size:"LARGE","aria-label":f.swap,onClick:function(){let e=g.current.from,t=g.current.to;g.current.from=t,g.current.to=e,e?j.setState({value:null==e?void 0:e.name}):j.reset(),t?C.setState({value:null==t?void 0:t.name}):C.reset(),s({from:g.current.from,to:g.current.to})},icon:(0,o.jsx)(t_,{})})]}),v&&(0,o.jsxs)(tS,{children:[(0,o.jsx)(tw.Z,{margin:["0","0","4","0"]}),(0,o.jsxs)(tE.Z,{size:"large",children:[(0,o.jsx)(tk.Z,{children:function(e){let t=Math.floor(e/60),n=e%60;return 0===t?"".concat(n).concat(f.secondsShort):"".concat(t).concat(f.mins," ").concat(n).concat(f.secondsShort)}(p.time)})," \xb7 ".concat(p.distance)]})]})]})}function tO(){let e=(0,i._)(["\n fragment ExpoFpMapFragment on Core_EventMapsProviderExpoFP {\n expoKey\n }\n"]);return tO=function(){return e},e}let tN=(0,a.Ps)(tO());var tL=function(e){let{provider:t,topBarOffset:n,initialLocationName:i,initialExternalId:r,exhibitorProps:a,isWidget:l,showActions:s}=e,c=(0,x.T_)();if(!t.expoKey)return(0,o.jsx)("span",{children:c.expofpMapsUrl});let d={};return r&&((0,g.c)(r)?d={initialExhibitorExternalId:r}:(0,g.n)(r)&&(d={initialBoothExternalId:r})),(0,o.jsx)(es,{...d,initialLocationName:i,expoKey:t.expoKey,translations:{searchPlaceholder:c.search,noResultsMessage:c.noResults,clearButtonAriaLabel:c.clearSearch,exhibitor:c.exhibitor,booth:c.booth,category:c.category},renderHighlightBookmarkedExhibitors:e=>{let{onHighlightExhibitorsFromExternalIds:t,clearHighlights:n}=e;return(0,o.jsx)(tj,{clearHighlights:n,onHighlightExhibitorsFromExternalIds:t})},renderDirections:e=>{let{plan:t,selectRoute:n,initialDestination:i,onClose:r,routeDetails:a,clearRoute:l}=e;return(0,o.jsx)(tB,{initialDestination:i,plan:t,clearRoute:l,selectRoute:n,onClose:r,routeDetails:a})},renderLocation:e=>{let{location:t,onClose:i,onSelectBoothByExternalId:r,onSelectExhibitorByExternalId:c,plan:d,onSelectLocation:u,searchOffset:h,onSelectDestination:p}=e;return(0,o.jsx)(tg,{topOffset:n+h,plan:d,location:t,onClose:i,onSelectDestination:p,exhibitorProps:a,onSelectExhibitorByExternalId:c,onSelectBoothByExternalId:r,onSelectLocation:u,isWidget:l,showActions:s})}})},tR=n(86409),tA=n(26094);function tT(){let e=(0,i._)(["\n fragment EventMapsViewQuery_ViewFragment on Core_EventViewInterface {\n id\n ... on Core_EventMapsView {\n name\n eventMapsProvider {\n ...ExpoFpMapFragment\n ...MapsIndoorsMapFragment\n ...InvisualMapFragment\n }\n }\n }\n ","\n ","\n ","\n"]);return tT=function(){return e},e}function tF(){let e=(0,i._)(["\n query EventMapsViewQuery($eventId: ID!) {\n event: Core_event(_id: $eventId) {\n id: _id\n title\n contents {\n views(visibility: ALL_VIEWS) {\n ...EventMapsViewQuery_ViewFragment\n }\n }\n }\n }\n ","\n"]);return tF=function(){return e},e}let tD=c.ZP.div.withConfig({displayName:"event-maps-view__MapContainer",componentId:"sc-c05e7999-0"})(["position:relative;width:100%;"]),tz=(0,a.Ps)(tT(),tN,tR.md,B),tH=(0,a.Ps)(tF(),tz);function tW(e){let{view:t,event:n,isMobileView:i,offset:a,onBack:l,renderHead:s,mapsIndoorsMapProps:c,expoFpProps:d,isWidget:u,showActions:h=!0,invisualProps:x,onMapProviderResolved:f}=e,m=(0,tA.uw)(t.eventMapsProvider.__typename);return(0,r.useEffect)(()=>{m&&(null==f||f(m))},[f,m]),(0,o.jsxs)(o.Fragment,{children:[s(t),i&&(0,o.jsx)(p.ZP,{onBack:l,centerComponent:t.name&&(0,o.jsx)(p.XJ,{title:t.name,subtitle:null==n?void 0:n.title,withEventIcon:!0})}),(0,o.jsxs)(tD,{style:{height:"calc(100vh - ".concat(i?61:a,"px)")},children:["Core_EventMapsProviderMapsIndoors"===t.eventMapsProvider.__typename&&c&&(0,o.jsx)(tR.ZP,{isMobileView:i,provider:t.eventMapsProvider,...c}),"Core_EventMapsProviderExpoFP"===t.eventMapsProvider.__typename&&d&&(0,o.jsx)(tL,{provider:t.eventMapsProvider,...d,isWidget:u,showActions:h,topBarOffset:a}),"Core_EventMapsProviderInvisual"===t.eventMapsProvider.__typename&&x&&(0,o.jsx)(O,{provider:t.eventMapsProvider,...x})]})]})}var t$=function(e){let{eventId:t,viewId:n,offset:i=0,onBack:r,renderHead:a=()=>null,mapsIndoorsMapProps:c,expoFpProps:f,isWidget:m,showActions:b=!0,invisualProps:g,onMapProviderResolved:v}=e,I=(0,d.Fg)(),C=(0,x.T_)(),j=!(0,u.ZP)({minWidth:I.breakPoints.sm});(0,h.J)({eventId:t,eventViewId:n});let{data:y,loading:_,error:w}=(0,l.aM)(tH,{variables:{eventId:t}});if(!y&&w)return(0,o.jsx)(s.Z,{imageNode:!0,error:w});if(!y&&_)return(0,o.jsxs)(o.Fragment,{children:[j&&(0,o.jsx)(p.yD,{}),(0,o.jsx)(tD,{style:{height:"calc(100vh - ".concat(j?61:i,"px)")},children:(0,o.jsx)(tR.eK,{})})]});
1let E=null==y?void 0:y.event,k=null==E?void 0:E.contents.views.find(e=>e.id===n);return k?"Core_EventMapsView"!==k.__typename?(0,o.jsx)("span",{children:C.viewNotAMap}):(0,o.jsx)(tW,{view:k,event:E,isMobileView:j,offset:i,onBack:r,renderHead:a,mapsIndoorsMapProps:c,expoFpProps:f,isWidget:m,showActions:b,invisualProps:g,onMapProviderResolved:v}):(0,o.jsx)("span",{children:"No view found"})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.