@mapvx/web-components-ssr 1.5.2 → 1.5.3-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/main.js +1 -1
- package/package.json +1 -1
package/dist/browser/main.js
CHANGED
|
@@ -913,7 +913,7 @@ ${Z>0?`<defs><filter id="${Pe}"><feGaussianBlur in="SourceGraphic" stdDeviation=
|
|
|
913
913
|
<path style="${_e}${he}" d="M16.4471 7.26386C16.2568 6.80696 15.808 6.51052 15.3131 6.51052C14.8181 6.51052 14.3693 6.80696 14.179 7.26386L8.52211 20.7533C8.29366 21.2972 8.48404 21.9227 8.97085 22.2518C9.45767 22.5809 10.1104 22.5156 10.5265 22.0995L15.3131 17.3129L20.0996 22.0995C20.5157 22.5156 21.1657 22.5782 21.6553 22.2518C22.1448 21.9254 22.3325 21.2972 22.104 20.7533L16.4471 7.26386Z"/>
|
|
914
914
|
</g>
|
|
915
915
|
</svg>`;return`data:image/svg+xml,${encodeURIComponent(Zt)}`}var u6=Hx();var h6=x(kv());function Gx(){let t=``,e=`0123456789ABCDEF`;for(let n=0;n<10;n++)t+=e.charAt(Math.floor(Math.random()*16));return t}function d6(t){if(t===0)return[];if(t===1)return[0];let e=1/(t-1);return Array.from({length:t},(n,o)=>o*e)}function p6(t,e){return t.flatMap((n,o)=>[n,e[o]])}function dA(t){let e={lat:-Infinity,lng:-Infinity},n={lat:Infinity,lng:Infinity};return t.forEach(o=>{o.lat>e.lat&&(e.lat=o.lat),o.lng>e.lng&&(e.lng=o.lng),o.lat<n.lat&&(n.lat=o.lat),o.lng<n.lng&&(n.lng=o.lng)}),[n,e]}var qs=(function(t){return t[t.left=0]=`left`,t[t.right=1]=`right`,t[t.top=2]=`top`,t[t.bottom=3]=`bottom`,t})(qs||{});var qx=class{static createMarkerElement(e){var n,o,c,s;let m=document.createElement(`div`),x=(o=(n=e.iconProperties)===null||n===void 0?void 0:n.width)!==null&&o!==void 0?o:40,I=(s=(c=e.iconProperties)===null||c===void 0?void 0:c.height)!==null&&s!==void 0?s:40;if(m.className=`mapvx-marker`,e.text)switch(e.textPosition){case qs.top:case qs.bottom:m.classList.add(`text-column`),m.style.width=`${Math.max(x,200)}px`,m.style.height=`auto`;break;case qs.left:case qs.right:default:m.classList.add(`text-row`),m.style.width=`auto`,m.style.height=`${I}px`;break}else m.classList.add(`no-text`),m.style.width=`${x}px`,m.style.height=`${I}px`;if(m.addEventListener(`click`,()=>{var B;(B=e.onClick)===null||B===void 0||B.call(e)}),e.element)return m.appendChild(e.element),this.setAndCreateText(e,m,`${I}px`,`${x}px`);let P=this.createIconElement(e,x,I),N=e.text?this.createTextContainer(typeof e.text==`string`?this.createTextElement(e.text,e.textProperties):e.text,e.textPosition):null;return e.textPosition===qs.top||e.textPosition===qs.left?(N&&m.appendChild(N),m.appendChild(P)):(m.appendChild(P),N&&m.appendChild(N)),m}static setAndCreateText(e,n,o,c){if(e.text){let s=typeof e.text==`string`?this.createTextElement(e.text,e.textProperties):e.text,m=this.createTextContainer(s,e.textPosition);n.appendChild(m)}return n}static createIconElement(e,n,o){if(typeof e.icon==`string`)return this.createIcon(e);if(e.icon instanceof HTMLImageElement)return e.icon.style.width=`${n}px`,e.icon.style.height=`${o}px`,e.icon;if(e.icon)return e.icon;{let c=document.createElement(`div`);return c.className=`icon-default`,c.style.width=`${n}px`,c.style.height=`${o}px`,c}}static createTextContainer(e,n){let o=document.createElement(`div`);switch(o.className=`text-container`,n){case qs.top:o.classList.add(`top`);break;case qs.bottom:o.classList.add(`bottom`);break;case qs.left:o.classList.add(`left`);break;default:o.classList.add(`right`);break}return e.style.display=`block`,e.style.margin=`0`,o.appendChild(e),o}static createIcon(e){var n,o,c,s;let m=document.createElement(`img`);return m.src=typeof e.icon==`string`?e.icon:``,m.width=(o=(n=e.iconProperties)===null||n===void 0?void 0:n.width)!==null&&o!==void 0?o:40,m.height=(s=(c=e.iconProperties)===null||c===void 0?void 0:c.height)!==null&&s!==void 0?s:40,m.style.objectFit=`contain`,m.style.filter=`drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25))`,m}static createTextElement(e,n){var o,c,s,m,x,I,P;let N=document.createElement(`p`);return N.textContent=e,N.style.fontSize=(o=n?.fontSize)!==null&&o!==void 0?o:`14px`,N.style.padding=(c=n?.padding)!==null&&c!==void 0?c:`0px`,N.style.margin=(s=n?.margin)!==null&&s!==void 0?s:`0px`,N.style.fontWeight=(m=n?.fontWeight)!==null&&m!==void 0?m:`600`,N.style.fontFamily=(x=n?.fontFamily)!==null&&x!==void 0?x:`'Open Sans', sans-serif`,N.style.color=(I=n?.color)!==null&&I!==void 0?I:`#000000`,N.style.textShadow=(P=n?.textShadow)!==null&&P!==void 0?P:`-1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff`,N}};var du=class extends h6.Marker{constructor(e){var n,o,c,s;super({element:qx.createMarkerElement(e),draggable:!1,anchor:(n=e.anchor)!==null&&n!==void 0?n:`center`,offset:[0,0]}),this.setLngLat([e.coordinate.lng,e.coordinate.lat]),this.setRotationAlignment((o=e.rotationAlignment)!==null&&o!==void 0?o:`viewport`),this.setPitchAlignment(`viewport`),typeof e.rotation==`number`&&this.setRotation(e.rotation),this.id=(c=e.id)!==null&&c!==void 0?c:Gx(),this.coordinate=e.coordinate,this.floorId=(s=e.floorId)!==null&&s!==void 0?s:``}addToMap(e){e&&this.addTo(e)}updateIcon(e){var n,o;if(e.element)this._element.innerHTML=``,this._element.appendChild(e.element);else{let c=qx.createMarkerElement(e),s=this._element.querySelector(`div`),m=c.querySelector(`div`);m&&((n=s?.parentElement)===null||n===void 0||n.replaceChild(m,s))}this.setRotationAlignment((o=e.rotationAlignment)!==null&&o!==void 0?o:`viewport`),this.setPitchAlignment(`viewport`),typeof e.rotation==`number`&&this.setRotation(e.rotation)}setFloor(e){this.floorId=e}hide(){this.remove()}show(e){e&&this.addTo(e)}changeFloor(e,n,o=!1){e==this.floorId||o&&!this.floorId?this.show(n):this.hide()}};function Wx(t){return{id:t.id,route:t,aheadId:`AHEAD_${t.id}`,behindId:`BEHIND_${t.id}`,currentId:`CURRENT_${t.id}`,aheadSourceData:{type:`FeatureCollection`,features:[]},behindSourceData:{type:`FeatureCollection`,features:[]},currentSourceData:{type:`Feature`,properties:{},geometry:{type:`LineString`,coordinates:[]}},animationStatus:`NO_ROUTE`,stepAnimationStatus:`NO_ROUTE`}}var{asin:oJ,atan2:pA,cos:pu,sin:za,pow:f6,sqrt:m6,PI:Ov}=Math;function g6(t){return za(t/2)*za(t/2)}function hu(t){return t*(Ov/180)}function hA(t){return t*(180/Ov)}function fA(t,e){return t.lat===e.lat&&t.lng===e.lng}var gp=(()=>{class t{static distance(n,o){let c=hu(n.lat),s=hu(o.lat),m=hu(n.lng),x=hu(o.lng),I=s-c,P=x-m,N=g6(I)+pu(c)*pu(s)*g6(P);return 2*t.EARTH_RADIUS*oJ(m6(N))}static intermediatePointBetween(n,o,c){let s=hu(n.lat),m=hu(o.lat),x=hu(n.lng),I=hu(o.lng),P=t.distance(n,o)/t.EARTH_RADIUS,N=za((1-c)*P)/za(P),B=za(c*P)/za(P),Z=N*pu(s)*pu(x)+B*pu(m)*pu(I),q=N*pu(s)*za(x)+B*pu(m)*za(I),_e=pA(N*za(s)+B*za(m),m6(f6(Z,2)+f6(q,2))),he=pA(q,Z);return{lat:hA(_e),lng:hA(he)}}static bearingInDegBetween(n,o){return hA(t.bearingInRadBetween(n,o))}static bearingInRadBetween(n,o){let c=o.lng-n.lng,s=o.lat-n.lat;return(Ov/2-pA(s,c)+2*Ov)%(2*Ov)}static intermediateAngleBetween(n,o,c){let s=(o-n+180)%360-180;return s<-180&&(s+=360),(n+360+s*c)%360}}return t.EARTH_RADIUS=6378e3,t})();var tm={top:150,right:150,bottom:150,left:150};var Zx=class{constructor(e){this.routes=new Map,this.mapvxMap=e}get map(){return this.mapvxMap.map}resolveInstance(e){let n=e??this.lastAddedRouteId;return n?this.routes.get(n):void 0}addSourcesAndLayersForRoute(e){this.map.addSource(e.aheadId,{type:`geojson`,data:e.aheadSourceData}),this.map.addLayer({id:e.aheadId,type:`line`,source:e.aheadId,layout:{"line-join":`round`,"line-cap":`round`}}),this.map.addSource(e.behindId,{type:`geojson`,data:e.behindSourceData}),this.map.addLayer({id:e.behindId,type:`line`,source:e.behindId,layout:{"line-join":`round`,"line-cap":`round`}}),this.map.addSource(e.currentId,{type:`geojson`,data:e.currentSourceData}),this.map.addLayer({id:e.currentId,type:`line`,source:e.currentId,layout:{"line-join":`round`,"line-cap":`round`}})}removeSourcesAndLayersForRoute(e){let n=[e.aheadId,e.behindId,e.currentId];for(let o of n){try{this.map.removeLayer(o)}catch{}try{this.map.removeSource(o)}catch{}}}addSourcesAndLayers(){for(let e of this.routes.values())this.addSourcesAndLayersForRoute(e);this.syncRouteCollision()}syncRouteCollision(){let e=[];for(let n of this.routes.values())for(let o of n.route.steps){let c=this.getFloorKeyForStep(o);for(let s of o.coordinates)e.push({lng:s.lng,lat:s.lat,floorKey:c})}this.mapvxMap.setRouteCollisionPath(e)}addRoute(e,n){let o=Wx(e);this.routes.set(o.id,o),this.lastAddedRouteId=o.id,this.addSourcesAndLayersForRoute(o),this.setSourceData(o,o.aheadId,e.steps),this.setLayerPaint(o.aheadId,n),this.updateLayerFilter(o.aheadId),this.syncRouteCollision()}updateRouteProgress(e,n,o){let c=this.routes.get(e);if(!c)return;let m=c.route.steps,x=Infinity,I=0,P=0,N=0;for(let ee=0;ee<m.length;ee++){let de=m[ee].coordinates;for(let me=0;me<de.length-1;me++){let Oe=de[me],Le=de[me+1],{fraction:ut,dist:et}=this.projectPointToSegment(n,Oe,Le);et<x&&(x=et,I=ee,P=me,N=ut)}}let B=[];for(let ee=0;ee<I;ee++)B.push({type:`Feature`,properties:{floor_key:this.getFloorKeyForStep(m[ee])},geometry:{type:`LineString`,coordinates:m[ee].geoJsonCoordinates}});let Z=m[I],q=Z.coordinates,ue=[];for(let ee=0;ee<=P;ee++)ue.push([q[ee].lng,q[ee].lat]);let _e=q[P],he=q[Math.min(P+1,q.length-1)],Pe=_e.lat+N*(he.lat-_e.lat),Ke=_e.lng+N*(he.lng-_e.lng);ue.push([Ke,Pe]),ue.length>=2&&B.push({type:`Feature`,properties:{floor_key:this.getFloorKeyForStep(Z)},geometry:{type:`LineString`,coordinates:ue}});let ot=[],Zt=[[Ke,Pe]];for(let ee=P+1;ee<q.length;ee++)Zt.push([q[ee].lng,q[ee].lat]);Zt.length>=2&&ot.push({type:`Feature`,properties:{floor_key:this.getFloorKeyForStep(Z)},geometry:{type:`LineString`,coordinates:Zt}});for(let ee=I+1;ee<m.length;ee++)ot.push({type:`Feature`,properties:{floor_key:this.getFloorKeyForStep(m[ee])},geometry:{type:`LineString`,coordinates:m[ee].geoJsonCoordinates}});c.behindSourceData.features=B;this.map.getSource(c.behindId)?.setData(c.behindSourceData),c.aheadSourceData.features=ot;this.map.getSource(c.aheadId)?.setData(c.aheadSourceData),this.setLayerPaint(c.behindId,o),this.updateLayerFilter(c.behindId),this.updateLayerFilter(c.aheadId)}projectPointToSegment(e,n,o){let c=o.lng-n.lng,s=o.lat-n.lat,m=c*c+s*s;if(m===0){let Z=e.lng-n.lng,q=e.lat-n.lat;return{fraction:0,dist:Z*Z+q*q}}let x=((e.lng-n.lng)*c+(e.lat-n.lat)*s)/m;x=Math.max(0,Math.min(1,x));let I=n.lng+x*c,P=n.lat+x*s,N=e.lng-I,B=e.lat-P;return{fraction:x,dist:N*N+B*B}}setSourceData(e,n,o){let c=this.createFeaturesFrom(o),s=this.map.getSource(n);n===e.aheadId?(e.aheadSourceData.features=c,s?.setData(e.aheadSourceData)):n===e.behindId&&(e.behindSourceData.features=c,s?.setData(e.behindSourceData))}setCurrentSourceData(e,n){e.currentSourceData.properties={floor_key:this.getFloorKeyForStep(n)};let o=n?.coordinates[0];o!=null?e.currentSourceData.geometry.coordinates=[[o.lng,o.lat]]:e.currentSourceData.geometry.coordinates=[];this.map.getSource(e.currentId)?.setData(e.currentSourceData)}setLayerPaint(e,n){let o=this.preparePaintForLayer(n);for(let c in o)this.map.setPaintProperty(e,c,o[c])}preparePaintForLayer(e){if(`color`in e.routeStyle)return{"line-color":e.routeStyle.color,"line-gradient":null,"line-width":e.polylineWidth};{let{colors:n,positions:o}=e.routeStyle,c=o??d6(n.length);if(c.length!==n.length)throw new Error(`Error: position array has different length than colors array`);return{"line-color":null,"line-gradient":[`interpolate`,[`linear`],[`line-progress`],...p6(c,n)],"line-width":e.polylineWidth}}}updateLayerFilter(e,n){let o=n??this.mapvxMap.getCurrentFloor();o!==void 0&&this.map.getStyle().layers.some(c=>c.id===e)&&this.map.setFilter(e,[`==`,[`get`,`floor_key`],o])}getFloorKeyForStep(e){var n,o,c,s,m,x,I;if(!e)return this.mapvxMap.getCurrentFloor();if(((o=(n=e.startInsideFloor)===null||n===void 0?void 0:n.length)!==null&&o!==void 0?o:0)>0)return((s=(c=e.endInsideFloor)===null||c===void 0?void 0:c.length)!==null&&s!==void 0?s:0)>0&&e.startInsideFloor!==e.endInsideFloor&&!e.elevatorStep?e.endInsideFloor:e.startInsideFloor;if(((x=(m=e.endInsideFloor)===null||m===void 0?void 0:m.length)!==null&&x!==void 0?x:0)>0)return e.endInsideFloor;return(I=this.mapvxMap.getInnerFloors().find(B=>B.reachableFromGPS===!0)?.key)!==null&&I!==void 0?I:``}createFeaturesFrom(e){return e.map(o=>({type:`Feature`,properties:{floor_key:this.getFloorKeyForStep(o)},geometry:{type:`LineString`,coordinates:o.geoJsonCoordinates}}))}updateRouteLayers(e){for(let n of this.routes.values())this.updateLayerFilter(n.aheadId,e),this.updateLayerFilter(n.behindId,e),this.updateLayerFilter(n.currentId,e)}updateRouteMarkerVisibility(e){var n,o,c;for(let s of this.routes.values())((n=s.routeMarker)===null||n===void 0?void 0:n.floorId)===e?(o=s.routeMarker)===null||o===void 0||o.show(this.map):(c=s.routeMarker)===null||c===void 0||c.hide()}updatePlaceFloorForRouting(e,n,o){var c;n&&o&&(this.mapvxMap.updatePlaceAndFloorForRouting(n,o),this.updateRouteLayers(o),(c=e.routeMarker)===null||c===void 0||c.setFloor(o),this.updateRouteMarkerVisibility(o))}startAnimating(e,n,o){var c,s,m;let x=Wx(e);this.routes.set(x.id,x),this.lastAddedRouteId=x.id,x.animationStatus=`STARTED`,x.route=e;let I=e.steps[0];if(this.addSourcesAndLayersForRoute(x),this.updatePlaceFloorForRouting(x,I.startInsidePlace,I.startInsideFloor),this.setSourceData(x,x.aheadId,e.steps),this.setSourceData(x,x.behindId,[]),x.currentSourceData.properties={floor_key:this.getFloorKeyForStep(I)},x.currentSourceData.geometry.coordinates=[[I.coordinates[0].lng,I.coordinates[0].lat]],this.setLayerPaint(x.aheadId,n.aheadConfig),this.setLayerPaint(x.behindId,n.behindConfig),this.setLayerPaint(x.currentId,n.behindConfig),x.animationConfig=o,x.routeMarker=new du({coordinate:I.startLocation,floorId:I.startInsideFloor,icon:n.routeIcon,rotationAlignment:`map`}),x.routeMarker.addToMap(this.map),!((c=o.autoFitByPlace)===null||c===void 0)&&c.enabled&&e.steps.length>0&&I.startInsidePlace){x.currentPlaceId=I.startInsidePlace;let P={padding:(s=o.autoFitByPlace.padding)!==null&&s!==void 0?s:tm};this.mapvxMap.fitRouteByPlace(e,I.startInsidePlace,P)}(m=o.callBack)===null||m===void 0||m.call(o,{isFinished:!1,step:I}),x.conditions={index:0,coordinatesIndex:0,iconRotation:0,rotatingIcon:!0,startTime:void 0,progress:0,resetTime:!1,waitStartTime:void 0,animationId:requestAnimationFrame(P=>this.animateStep(P,x)),onFinish:P=>this.prepareForNextStep(P,x)},this.syncRouteCollision()}clearRouteInstance(e){var n;(n=e.routeMarker)===null||n===void 0||n.remove(),e.routeMarker=void 0,this.setSourceData(e,e.aheadId,[]),this.setSourceData(e,e.behindId,[]),e.currentSourceData.geometry.coordinates=[];this.map.getSource(e.currentId)?.setData(e.currentSourceData),(e.animationStatus===`STARTED`||e.stepAnimationStatus===`ANIMATING`)&&e.conditions!=null&&cancelAnimationFrame(e.conditions.animationId),e.animationStatus=`NO_ROUTE`,e.stepAnimationStatus=`NO_ROUTE`,e.conditions=void 0,e.animationConfig=void 0,e.currentPlaceId=void 0}removeRoute(e){let n=this.resolveInstance(e);if(n){if(this.clearRouteInstance(n),this.removeSourcesAndLayersForRoute(n),this.routes.delete(n.id),this.lastAddedRouteId===n.id){let o=[...this.routes.keys()];this.lastAddedRouteId=o.length>0?o[o.length-1]:void 0}this.syncRouteCollision()}}removeAllRoutes(){for(let e of this.routes.values())this.clearRouteInstance(e),this.removeSourcesAndLayersForRoute(e);this.routes.clear(),this.lastAddedRouteId=void 0,this.syncRouteCollision()}getRouteIds(){return[...this.routes.keys()]}internalPause(e){e.animationStatus==`STARTED`&&e.conditions!=null&&(cancelAnimationFrame(e.conditions.animationId),e.animationStatus=`PAUSED`)}pauseAnimation(e){let n=this.resolveInstance(e);n&&this.internalPause(n)}internalResume(e){e.animationStatus==`PAUSED`&&e.conditions!=null&&(e.conditions.resetTime=!0,e.conditions.animationId=requestAnimationFrame(n=>this.animateStep(n,e)),e.animationStatus=`STARTED`)}resumeAnimation(e){let n=this.resolveInstance(e);n&&this.internalResume(n)}restartAnimation(e){var n,o,c,s,m;let x=this.resolveInstance(e);if(!x)throw new Error(`Does not exist animated route to restart`);if(x.animationStatus===`NO_ROUTE`)throw new Error(`Does not exist animated route to restart`);if(x.conditions==null||x.animationConfig==null||x.route==null||x.routeMarker==null)throw new Error(`Error: conditions and animationConfig should not be null at this point`);x.animationStatus===`STARTED`&&cancelAnimationFrame(x.conditions.animationId),x.animationStatus=`STARTED`;let I=x.route.steps[0];this.updatePlaceFloorForRouting(x,I.startInsidePlace,I.startInsideFloor),this.setSourceData(x,x.aheadId,x.route.steps),this.setSourceData(x,x.behindId,[]),x.currentSourceData.properties={floor_key:this.getFloorKeyForStep(I)},x.currentSourceData.geometry.coordinates=[[I.coordinates[0].lng,I.coordinates[0].lat]];if(this.map.getSource(x.currentId)?.setData(x.currentSourceData),(n=this.setMarkerRotation(x,0))===null||n===void 0||n.setLngLat(I.startLocation).addTo(this.map),!((o=x.animationConfig.autoFitByPlace)===null||o===void 0)&&o.enabled&&x.route.steps.length>0&&I.startInsidePlace){x.currentPlaceId=I.startInsidePlace;let N={padding:(c=x.animationConfig.autoFitByPlace.padding)!==null&&c!==void 0?c:tm};this.mapvxMap.fitRouteByPlace(x.route,I.startInsidePlace,N)}(m=(s=x.animationConfig).callBack)===null||m===void 0||m.call(s,{isFinished:!1,step:I}),x.conditions={index:0,coordinatesIndex:0,iconRotation:0,rotatingIcon:!0,startTime:void 0,progress:0,resetTime:!1,waitStartTime:void 0,animationId:requestAnimationFrame(N=>this.animateStep(N,x)),onFinish:N=>this.prepareForNextStep(N,x)}}stopAnimation(e){let n=this.resolveInstance(e);n&&n.animationStatus!=`FINISHED`&&(n.animationStatus=`FINISHED`)}addStepAnimation(e,n,o){var c,s,m;let x=Wx(e);this.routes.set(x.id,x),this.lastAddedRouteId=x.id,x.stepAnimationStatus=`WAITING`,x.route=e;let I=e.steps[0];if(this.addSourcesAndLayersForRoute(x),this.updatePlaceFloorForRouting(x,I.startInsidePlace,I.startInsideFloor),this.setSourceData(x,x.aheadId,e.steps),this.setSourceData(x,x.behindId,[]),this.setCurrentSourceData(x,I),this.setLayerPaint(x.aheadId,n.aheadConfig),this.setLayerPaint(x.behindId,n.behindConfig),this.setLayerPaint(x.currentId,n.behindConfig),x.animationConfig=o,x.routeMarker=new du({coordinate:I.startLocation,floorId:I.startInsideFloor,icon:n.routeIcon,rotationAlignment:`map`}),x.routeMarker.addToMap(this.map),this.cameraFollow(x,I.startLocation),!((c=o.autoFitByPlace)===null||c===void 0)&&c.enabled&&e.steps.length>0&&I.startInsidePlace){x.currentPlaceId=I.startInsidePlace;let P={padding:(s=o.autoFitByPlace.padding)!==null&&s!==void 0?s:tm};this.mapvxMap.fitRouteByPlace(e,I.startInsidePlace,P)}(m=o.callBack)===null||m===void 0||m.call(o,{isFinished:!1,step:I}),x.conditions={index:0,coordinatesIndex:0,iconRotation:0,rotatingIcon:!0,startTime:void 0,progress:0,resetTime:!1,waitStartTime:void 0,animationId:0,isStepByStep:!0,onFinish:()=>{var P,N,B,Z;if(x.conditions==null||x.animationConfig==null||x.route==null)throw new Error(`Error: conditions, animationConfig or route should not be null at this point`);let{index:q}=x.conditions;q++;let ue=x.route.steps.slice(0,q),_e=x.route.steps.slice(q),he=x.route.steps[q];if(this.setSourceData(x,x.behindId,ue),this.setSourceData(x,x.aheadId,_e),this.setCurrentSourceData(x,he),x.conditions.index=q,q<e.steps.length){let Pe=e.steps[q];if(!((P=o.autoFitByPlace)===null||P===void 0)&&P.enabled&&Pe&&x.route!=null){let Ke=Pe.startInsidePlace||Pe.endInsidePlace;if(Ke&&Ke!==x.currentPlaceId){x.currentPlaceId=Ke;let ot={padding:(N=o.autoFitByPlace.padding)!==null&&N!==void 0?N:tm};this.mapvxMap.fitRouteByPlace(x.route,Ke,ot)}}(B=o.callBack)===null||B===void 0||B.call(o,{isFinished:!1,step:Pe})}else(Z=o.callBack)===null||Z===void 0||Z.call(o,{isFinished:!0,step:null});x.stepAnimationStatus=`WAITING`}},this.syncRouteCollision()}nextStepAnimation(e){let n=this.resolveInstance(e);if(!n)throw new Error(`Error: Does not exist step animation`);if(n.stepAnimationStatus===`NO_ROUTE`)throw new Error(`Error: Does not exist step animation`);if(n.conditions==null||n.animationConfig==null||n.route==null)throw new Error(`Error: conditions, animationConfig or route should not be null at this point`);n.stepAnimationStatus===`ANIMATING`&&cancelAnimationFrame(n.conditions.animationId),n.stepAnimationStatus=`ANIMATING`;let{index:o}=n.conditions;if(o<n.route.steps.length)n.conditions.coordinatesIndex=0,n.conditions.startTime=void 0,n.conditions.progress=0,n.conditions.rotatingIcon=!0,n.conditions.waitStartTime=void 0,n.conditions.animationId=requestAnimationFrame(c=>this.animateStep(c,n));else throw new Error(`Error: Does not exist next step to animate`)}previousStepAnimation(e){var n,o,c,s;let m=this.resolveInstance(e);if(!m)throw new Error(`Error: Does not exist step animation`);if(m.stepAnimationStatus===`NO_ROUTE`)throw new Error(`Error: Does not exist step animation`);if(m.conditions==null||m.animationConfig==null||m.route==null)throw new Error(`Error: conditions, animationConfig or route should not be null at this point`);m.stepAnimationStatus===`ANIMATING`&&cancelAnimationFrame(m.conditions.animationId),m.stepAnimationStatus=`WAITING`;let{index:x}=m.conditions;if(x>0){x--;let I=m.route.steps.slice(0,x),P=m.route.steps.slice(x),N=m.route.steps[x];this.setSourceData(m,m.behindId,I),this.setSourceData(m,m.aheadId,P),this.setCurrentSourceData(m,N),N.startInsideFloor!=N.endInsideFloor&&N.startInsideFloor&&this.updatePlaceFloorForRouting(m,N.startInsidePlace,N.startInsideFloor),m.conditions.index=x,m.conditions.coordinatesIndex=0,m.conditions.startTime=void 0,m.conditions.progress=0,m.conditions.rotatingIcon=!0,m.conditions.waitStartTime=void 0,this.setMarkerLngLat(m,N.startLocation);let B=I[I.length-1];if(B!=null){let Z=B.coordinates.slice(-2),q=gp.bearingInDegBetween(Z[0],Z[1]);this.setMarkerRotation(m,q)}else this.setMarkerRotation(m,0);if(!((n=m.animationConfig.autoFitByPlace)===null||n===void 0)&&n.enabled&&N&&m.route!=null){let Z=N.startInsidePlace||N.endInsidePlace;if(Z&&Z!==m.currentPlaceId){m.currentPlaceId=Z;let q={padding:(o=m.animationConfig.autoFitByPlace.padding)!==null&&o!==void 0?o:tm};this.mapvxMap.fitRouteByPlace(m.route,Z,q)}}(s=(c=m.animationConfig).callBack)===null||s===void 0||s.call(c,{isFinished:!1,step:N})}else throw new Error(`previous step doesn't exists to animate`)}centerOnCurrentStep(e){var n;let o=this.resolveInstance(e);if(!o)throw new Error(`Error: Does not exist step animation`);if(o.stepAnimationStatus===`NO_ROUTE`)throw new Error(`Error: Does not exist step animation`);if(o.conditions==null||o.animationConfig==null||o.route==null)throw new Error(`Error: conditions, animationConfig or route should not be null at this point`);let c=(n=o.routeMarker)===null||n===void 0?void 0:n.getLngLat();if(c)this.map.panTo(c);else throw new Error(`Error: marker has no position set`)}prepareForNextStep(e,n){var o,c,s,m,x,I;if(n.conditions==null||n.animationConfig==null||n.route==null)throw new Error(`Error: conditions, animationConfig or route should not be null at this point`);let{index:P}=n.conditions,N=n.route.steps.slice(0,P+1),B=n.route.steps.slice(P+1);if(this.setSourceData(n,n.behindId,N),this.setSourceData(n,n.aheadId,B),n.currentSourceData.geometry.coordinates=[],P+1<n.route.steps.length){let Z=n.route.steps[P+1];if(n.currentSourceData.geometry.coordinates.push([Z.startLocation.lng,Z.startLocation.lat]),n.currentSourceData.properties={floor_key:this.getFloorKeyForStep(Z)},n.conditions.startTime=e,n.conditions.index++,n.conditions.coordinatesIndex=0,n.conditions.progress=0,n.conditions.rotatingIcon=!0,fA(n.route.steps[P].endLocation,Z.startLocation)||(n.conditions.nextFloorFirstStepIndex=P+2),n.conditions.animationId=requestAnimationFrame(q=>this.animateStep(q,n)),!((o=n.animationConfig.autoFitByPlace)===null||o===void 0)&&o.enabled&&Z&&n.route!=null){let q=Z.startInsidePlace||Z.endInsidePlace;if(q&&q!==n.currentPlaceId){n.currentPlaceId=q;let ue={padding:(c=n.animationConfig.autoFitByPlace.padding)!==null&&c!==void 0?c:tm};this.mapvxMap.fitRouteByPlace(n.route,q,ue)}}(m=(s=n.animationConfig).callBack)===null||m===void 0||m.call(s,{isFinished:!1,step:n.route.steps[P+1]})}else(I=(x=n.animationConfig).callBack)===null||I===void 0||I.call(x,{isFinished:!0,step:null}),n.animationStatus=`FINISHED`}animateStep(e,n){var o,c;if(n.conditions==null||n.animationConfig==null||n.route==null)throw new Error(`Error: conditions and animationConfig should not be null at this point`);let{startTime:s,resetTime:m,progress:x}=n.conditions,{coordinatesIndex:I,iconRotation:P,index:N,onFinish:B,rotatingIcon:Z,waitStartTime:q}=n.conditions,{stepTime:ue,minimumSpeed:_e,iconRotationTime:he,changeFloorTime:Pe}=n.animationConfig;if(s==null){n.conditions.startTime=e,n.conditions.animationId=requestAnimationFrame(st=>this.animateStep(st,n));return}m?(s=e-x,n.conditions.startTime=s,m=!1,n.conditions.resetTime=m):(x=e-s,n.conditions.progress=x);let Ke=x/1e3,ot=n.route.steps[N];if(ot.coordinates.length<=0){B?.(e);return}let Zt=ot.coordinates[I],qt=ot.coordinates[I+1];if(Zt!=null&&qt!=null){if(Z){let Le=gp.bearingInDegBetween(Zt,qt);if(he===0||n.conditions.nextFloorFirstStepIndex===N||Math.abs(Le-n.conditions.iconRotation)<15){n.conditions.nextFloorFirstStepIndex=void 0,this.setMarkerRotation(n,Le),n.conditions.startTime=e,n.conditions.rotatingIcon=!1,n.conditions.iconRotation=Le,n.conditions.animationId=requestAnimationFrame(ut=>this.animateStep(ut,n));return}else if(Ke<he){let ut=gp.intermediateAngleBetween(P,Le,Ke/he);this.setMarkerRotation(n,ut),n.conditions.animationId=requestAnimationFrame(et=>this.animateStep(et,n));return}else{this.setMarkerRotation(n,Le),n.conditions.startTime=e,n.conditions.rotatingIcon=!1,n.conditions.iconRotation=Le,n.conditions.animationId=requestAnimationFrame(ut=>this.animateStep(ut,n));return}}if(ot.startInsideFloor!==ot.endInsideFloor){if(q==null){n.conditions.waitStartTime=e,n.conditions.animationId=requestAnimationFrame(Le=>this.animateStep(Le,n));return}if(e-q<Pe*1e3){n.conditions.animationId=requestAnimationFrame(Le=>this.animateStep(Le,n));return}else{this.updatePlaceFloorForRouting(n,ot.endInsidePlace,ot.endInsideFloor),this.setMarkerLngLat(n,ot.endLocation),n.conditions.waitStartTime=void 0,B?.(e);return}}let st=gp.distance(Zt,qt),ee=Math.max(ot.distance/ue,_e??0);if(ee*Ke>st){n.currentSourceData.geometry.coordinates.push([qt.lng,qt.lat]);if(this.map.getSource(n.currentId)?.setData(n.currentSourceData),I+2<ot.coordinates.length){let ut=ot.coordinates[I+2];if(!fA(qt,ut))if(n.conditions.isStepByStep)n.conditions.rotatingIcon=!0;else{let et=gp.bearingInDegBetween(qt,ut);n.conditions.iconRotation=et,(o=n.routeMarker)===null||o===void 0||o.setRotation(et)}n.conditions.startTime=e,n.conditions.progress=0,n.conditions.coordinatesIndex++,n.conditions.animationId=requestAnimationFrame(et=>this.animateStep(et,n));return}else{B?.(e);return}}let de=ee*Ke/st,me=st===0?qt:gp.intermediatePointBetween(Zt,qt,Math.min(de,1));n.currentSourceData.geometry.coordinates.push([me.lng,me.lat]);this.map.getSource(n.currentId)?.setData(n.currentSourceData),this.setMarkerLngLat(n,me),(c=n.routeMarker)===null||c===void 0||c.addTo(this.map),n.conditions.animationId=requestAnimationFrame(Le=>this.animateStep(Le,n));return}else{B?.(e);return}}setMarkerLngLat(e,n){var o,c;!((o=e.conditions)===null||o===void 0)&&o.isStepByStep&&this.cameraFollow(e,n),(c=e.routeMarker)===null||c===void 0||c.setLngLat(n)}setMarkerRotation(e,n){var o,c,s,m,x;return!((o=e.conditions)===null||o===void 0)&&o.isStepByStep&&!(!((c=e.animationConfig)===null||c===void 0)&&c.keepFixedBearing)&&this.mapvxMap.updateCamera({duration:(s=e.animationConfig)===null||s===void 0?void 0:s.iconRotationTime,animate:!0,bearing:n,center:(m=e.routeMarker)===null||m===void 0?void 0:m.getLngLat()}),(x=e.routeMarker)===null||x===void 0?void 0:x.setRotation(n)}setMarkerFloor(e,n){var o;(o=this.resolveInstance(n)?.routeMarker)===null||o===void 0||o.setFloor(e)}cameraFollow(e,n){var o,c,s,m;let x=(c=(o=e.animationConfig)===null||o===void 0?void 0:o.keepFixedBearing)!==null&&c!==void 0?c:!1;this.mapvxMap.updateCamera(Object.assign({center:n,animate:!0,duration:(s=e.animationConfig)===null||s===void 0?void 0:s.iconRotationTime},x?{}:{bearing:(m=e.routeMarker)===null||m===void 0?void 0:m.getRotation()}))}};var mA=[`ar`];var gA=(function(t){return t.cardinal=`CARDINAL`,t.clock=`CLOCK`,t.relative=`RELATIVE`,t})(gA||{});var yA=(function(t){return t.metric=`METRIC`,t.imperial=`IMPERIAL`,t.steps=`STEPS`,t})(yA||{});var Yx=(function(t){return t.walking=`WALKING`,t.driving=`DRIVING`,t.bicycling=`BICYCLING`,t.transit=`TRANSIT`,t})(Yx||{});var jo=class{constructor(e){var n,o,c,s,m;this.initialLocation=e.initialLocation,this.finalLocation=e.finalLocation,this.preferAccessibleRoute=(n=e.preferAccessibleRoute)!==null&&n!==void 0?n:!1,this.language=(o=e.language)!==null&&o!==void 0?o:`en`,this.unitSystem=(c=e.unitSystem)!==null&&c!==void 0?c:yA.metric,this.announceFormat=(s=e.announceFormat)!==null&&s!==void 0?s:gA.relative,this.userBearing=(m=e.userBearing)!==null&&m!==void 0?m:0}};var Wl=class{constructor(e){var n,o;this.polylineWidth=(n=e.polylineWidth)!==null&&n!==void 0?n:10,this.routeStyle=(o=e.routeStyle)!==null&&o!==void 0?o:{type:`Solid`,color:`#1257ED`}}};var yp=class{constructor(e){var n,o,c,s,m;this.stepTime=(n=e.stepTime)!==null&&n!==void 0?n:3,this.minimumSpeed=(o=e.minimumSpeed)!==null&&o!==void 0?o:40,this.changeFloorTime=(c=e.changeFloorTime)!==null&&c!==void 0?c:0,this.iconRotationTime=(s=e.iconRotationTime)!==null&&s!==void 0?s:0,this.keepFixedBearing=(m=e.keepFixedBearing)!==null&&m!==void 0?m:!1,this.callBack=e.callBack,this.autoFitByPlace=e.autoFitByPlace}};var vp=class{constructor(e){var n,o,c;if(this.aheadPathStyle=(n=e.aheadPathStyle)!==null&&n!==void 0?n:{type:`Solid`,color:`#0C0C0C`},this.behindPathStyle=(o=e.behindPathStyle)!==null&&o!==void 0?o:{type:`Solid`,color:`#276EF1`},this.polylineWidth=(c=e.polylineWidth)!==null&&c!==void 0?c:10,e.routeIcon!=null)this.routeIcon=e.routeIcon;else{let s=new Image(40,40);e.routeIconConfig!=null?s.src=Hx(e.routeIconConfig):s.src=u6,this.routeIcon=s}}get aheadConfig(){return new Wl({polylineWidth:this.polylineWidth,routeStyle:this.aheadPathStyle})}get behindConfig(){return new Wl({polylineWidth:this.polylineWidth,routeStyle:this.behindPathStyle})}};var bp=`#276EF1`;var Xx=[`belowLabels`,`aboveBasemap`,`top`];var _p={fillColor:bp,fillOpacity:.14,strokeColor:bp,strokeWidth:2,strokeOpacity:.65,renderOrder:`aboveBasemap`};function vA(t){return Object.assign(Object.assign({},t),{coordinate:Object.assign({},t.coordinate)})}function sJ(t){if(!Number.isFinite(t)||t<=0)throw new Error(`Invalid radiusMeters: ${t}. Must be a positive finite number.`)}function aJ(t){if(t==null||typeof t!=`object`)throw new Error(`Invalid coordinate: expected an object with lat and lng properties.`);if(!Number.isFinite(t.lat)||!Number.isFinite(t.lng)||t.lat<-90||t.lat>90||t.lng<-180||t.lng>180)throw new Error(`Invalid coordinate: lat=${t.lat}, lng=${t.lng}. latitude must be in [-90, 90], longitude in [-180, 180], and both finite.`)}function y6(t,e){return Number.isFinite(t)?Math.max(0,Math.min(1,t)):e}function _A(t,e=!1){var n,o,c,s,m;if(sJ(t.radiusMeters),aJ(t.coordinate),t.renderOrder!==void 0&&!Xx.includes(t.renderOrder))throw new Error(`Invalid renderOrder: ${String(t.renderOrder)}. Must be one of: ${Xx.join(`, `)}.`);return{id:(n=t.id)!==null&&n!==void 0?n:Gx(),coordinate:{lat:t.coordinate.lat,lng:t.coordinate.lng},radiusMeters:t.radiusMeters,fillColor:(o=t.fillColor)!==null&&o!==void 0?o:_p.fillColor,fillOpacity:y6(t.fillOpacity,_p.fillOpacity),strokeColor:(c=t.strokeColor)!==null&&c!==void 0?c:_p.strokeColor,strokeWidth:(s=t.strokeWidth)!==null&&s!==void 0?s:_p.strokeWidth,strokeOpacity:y6(t.strokeOpacity,_p.strokeOpacity),floorId:t.floorId,renderOrder:(m=t.renderOrder)!==null&&m!==void 0?m:_p.renderOrder,hidden:e}}function bA(t,e,n,o=64){let c=Number.isFinite(o)?Math.max(3,Math.floor(o)):64,s=[],m=e*Math.PI/180,x=110574,I=111320*Math.cos(m||1e-6),P=n/x,N=n/(I||1);for(let B=0;B<c;B+=1){let Z=B/c*Math.PI*2;s.push([t+N*Math.cos(Z),e+P*Math.sin(Z)])}return s.push([s[0][0],s[0][1]]),s}function xA(t){if(t instanceof Error)return t;return new Error(String(t))}var fu=class{constructor(){this.logger=Rv.getInstance()}logEvent(e,n={}){this.logger.logEvent(e,this.prepareSegmentation(n))}logError(e,...n){let o=xA(e);this.logger.logError(o,...n)}logWarning(e,...n){let o=xA(e);this.logger.logWarning(o,...n)}logDebug(...e){this.logger.logDebug(...e)}debugLog(...e){this.logger.debugLog(e)}};var wA={enabled:!0,maxTiles:400,ttlMs:18e5,persistToServiceWorker:!0,preloadAdjacentZooms:!1,maxConcurrentTileFetches:6};var SA=1e5;var v6=function(t,e){e===void 0&&(e=5);for(var n=Math.pow(10,e),o=t.length,c=new Array(Math.floor(t.length/2)),s=0,m=0,x=0,I=0;s<o;++I){var P=1,N=0,B=void 0;do B=t.charCodeAt(s++)-63-1,P+=B<<N,N+=5;while(B>=31);m+=P&1?~(P>>1):P>>1,P=1,N=0;do B=t.charCodeAt(s++)-63-1,P+=B<<N,N+=5;while(B>=31);x+=P&1?~(P>>1):P>>1,c[I]=[m/n,x/n]}return c.length=I,c};var Si=[];for(let t=0;t<256;++t)Si.push((t+256).toString(16).slice(1));function _6(t,e=0){return(Si[t[e+0]]+Si[t[e+1]]+Si[t[e+2]]+Si[t[e+3]]+`-`+Si[t[e+4]]+Si[t[e+5]]+`-`+Si[t[e+6]]+Si[t[e+7]]+`-`+Si[t[e+8]]+Si[t[e+9]]+`-`+Si[t[e+10]]+Si[t[e+11]]+Si[t[e+12]]+Si[t[e+13]]+Si[t[e+14]]+Si[t[e+15]]).toLowerCase()}var EA;var lJ=new Uint8Array(16);function IA(){if(!EA){if(typeof crypto>`u`||!crypto.getRandomValues)throw new Error(`crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported`);EA=crypto.getRandomValues.bind(crypto)}return EA(lJ)}var TA={randomUUID:typeof crypto<`u`&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function uJ(t,e,n){if(TA.randomUUID&&!e&&!t)return TA.randomUUID();t=t||{};let o=t.random??t.rng?.()??IA();if(o.length<16)throw new Error(`Random bytes length must be >= 16`);if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,e){if(n=n||0,n<0||n+16>e.length)throw new RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let c=0;c<16;++c)e[n+c]=o[c];return e}return _6(o)}var CA=uJ;var So=class{constructor(e){this.id=CA(),this.legs=[],e.legs.forEach(n=>{let o=new Kx(n);this.legs.push(o)})}get steps(){return this.legs.flatMap(e=>e.steps)}get duration(){return this.legs.map(e=>e.duration).reduce((e,n)=>e+n,0)}get length(){return this.legs.map(e=>e.distance).reduce((e,n)=>e+n,0)}};var Kx=class{constructor(e){this.distance=e.distance.value,this.duration=e.duration.value,this.startLocation=e.start_location,this.endLocation=e.end_location,this.steps=[],e.steps.forEach(n=>{let o=new Qx(n);this.steps.push(o)})}};var Qx=class{constructor(e){this.distance=e.distance.value,this.duration=e.duration.value,this.startLocation=e.start_location,this.startInsideFloor=e.start_inside_floor,this.startInsidePlace=e.start_inside_place,this.endLocation=e.end_location,this.endInsideFloor=e.end_inside_floor,this.endInsidePlace=e.end_inside_place,this.htmlInstruction=e.html_instructions,this.plainInstruction=e.plain_instructions,this.maneuver=e.maneuver,this.elevatorStep=e.elevator_step,this.showPopup=e.show_popup,this.iconPrefix=e.icon_prefix,this.polyline=new DA(e.polyline)}get geoJsonCoordinates(){return this.polyline.geoJsonCoordinates}get coordinates(){return this.polyline.coordinates}};var DA=class{constructor(e){this.points=e.points,this.pointsLatLng=e.points_lat_lng,this.overviewPoints=e.overview_points,this.decodedPoints=v6(e.points).map(n=>({lat:n[0],lng:n[1]}))}get geoJsonCoordinates(){return this.overviewPoints!=null?this.overviewPoints.map(e=>[e.lng,e.lat]):this.decodedPoints.map(e=>[e.lng,e.lat])}get coordinates(){return this.overviewPoints!=null?this.overviewPoints:this.decodedPoints}};var xp=class{constructor(e){var n;this.mapvxId=e.id,this.country=e.country,this.city=e.city,this.title=e.title,this.category=e.category,this.icon=e.icon,this.description=e.description,this.hasPlaces=e.hasPlaces,this.properties=Uf.parseProperties((n=e.properties)!==null&&n!==void 0?n:[])}};var nm=class{constructor(e){this.schedule=e.schedules,this.routes=e.realtimeSchedules}};function AA(t){let e=t.trim().toLowerCase();return e?/^(?:[a-z0-9-]+\.)*mapvx\.com$/.test(e):!1}var Jx=class{constructor(e,n=`https://public-api.mapvx.com`,o){this.lang=e,this.mapvxRequestContext=o;let c=n.startsWith(`http://`)||n.startsWith(`https://`)?n:`https://${n}`,s=c.endsWith(`/`)?c.slice(0,-1):c;this.baseUrl=`${s}/api/sdk/v2/`,this.baseUrlPortal=`${s}/api/portal/`,this.baseUrlHealth=`https://api.mapvx.com/api/sdk/v2/health`,this.oldBaseUrl=`https://api.mapvx.com/api/sdk/`,this.routeBaseUrl=`https://api.mapvx.com/sdk/`}setLang(e){this.lang=e}getMapVxContextHeaders(e){var n,o,c,s,m,x,I,P;if(!AA(e)||!this.mapvxRequestContext)return{};let N=this.mapvxRequestContext,B={};return!((n=N.baseUrl)===null||n===void 0)&&n.trim()&&(B[`X-MapVx-Base-Url`]=N.baseUrl.trim()),!((o=N.totemId)===null||o===void 0)&&o.trim()&&(B[`X-MapVx-Totem-Id`]=N.totemId.trim()),!((c=N.originId)===null||c===void 0)&&c.trim()&&(B[`X-MapVx-Origin-Id`]=N.originId.trim()),!((s=N.institutionId)===null||s===void 0)&&s.trim()&&(B[`X-MapVx-Institution-Id`]=N.institutionId.trim()),!((m=N.parentPlace)===null||m===void 0)&&m.trim()&&(B[`X-MapVx-Parent-Place`]=N.parentPlace.trim()),!((x=N.institutionName)===null||x===void 0)&&x.trim()&&(B[`X-MapVx-Institution-Name`]=N.institutionName.trim()),!((I=N.fullUrl)===null||I===void 0)&&I.trim()&&(B[`X-MapVx-Full-Url`]=N.fullUrl.trim()),!((P=N.mvxProduct)===null||P===void 0)&&P.trim()&&(B[`mvx-product`]=N.mvxProduct.trim()),B}async fetchFromUrl(e,n,o){let c=new URL(e);c.search=new URLSearchParams(n).toString();let s=c.hostname,m=this.getMapVxContextHeaders(s),x=Object.assign({},o);return Object.keys(m).length>0&&(x.headers=Object.assign(Object.assign({},o.headers&&typeof o.headers==`object`&&!Array.isArray(o.headers)?o.headers:{}),m)),fetch(c.toString(),x)}async fetchTransport(e,n){let o={method:`GET`,headers:{"content-type":`application/json`,Authorization:`Bearer ${e}`}},c={stopId:n,lang:this.lang};return this.fetchFromUrl(this.oldBaseUrl+`vehiclesWithSchedules`,c,o)}async fetchStops(e,n,o){let c={method:`GET`,headers:{"content-type":`application/json`,Authorization:`Bearer ${e}`}},s={stopId:n,vehicleId:o,lang:this.lang};return this.fetchFromUrl(this.oldBaseUrl+`stops`,s,c)}async fetchMapStyle(e,n){let o={method:`GET`,headers:{"content-type":`application/json`,Authorization:`Bearer ${e}`}},c={lang:this.lang};return n!=null&&(c.place_id=n),this.fetchFromUrl(this.baseUrl+`mapStyleJson`,c,o)}async fetchAnyMapStyle(e,n){let o={method:`GET`,headers:{"content-type":`application/json`,Authorization:`Bearer ${e}`}},c={lang:this.lang,institution_id:n};return this.fetchFromUrl(this.baseUrlPortal+`mapStyle`,c,o)}async fetchAllowedPlaces(e){let n={method:`GET`,headers:{"content-type":`application/json`,Authorization:`Bearer ${e}`}},o={lang:this.lang};return this.fetchFromUrl(this.baseUrl+`availablePlaces`,o,n)}async fetchPlacesFromAnyInstitution(e,n){let o={method:`GET`,headers:{"content-type":`application/json`,Authorization:`Bearer ${n}`}},c={institution_id:e,lang:this.lang};return this.fetchFromUrl(this.baseUrlPortal+`availablePlaces`,c,o)}async fetchPlaceDetail(e,n,o,c,s){let m={method:`GET`,headers:{"content-type":`application/json`,Authorization:`Bearer ${e}`}},x={place_id:n,lang:this.lang};return o!==void 0&&(x.building=o),c!==void 0?x.floor=c:s!==void 0&&(x.floor=s),this.fetchFromUrl(this.baseUrl+`place`,x,m)}async fetchAnyPlaceDetail(e,n,o,c,s){let m={method:`GET`,headers:{"content-type":`application/json`,Authorization:`Bearer ${e}`}},x={place_id:n,lang:this.lang};return o!==void 0&&(x.building=o),c!==void 0?x.floor=c:s!==void 0&&(x.floor=s),this.fetchFromUrl(this.baseUrlPortal+`place`,x,m)}async fetchSubPlaces(e,n){let o={method:`GET`,headers:{"content-type":`application/json`,Authorization:`Bearer ${n}`}},c={targetPlace:e,lang:this.lang};return this.fetchFromUrl(this.baseUrl+`subPlaces`,c,o)}async fetchAnySubPlaces(e,n){let o={method:`GET`,headers:{"content-type":`application/json`,Authorization:`Bearer ${n}`}},c={place_id:e,lang:this.lang};return this.fetchFromUrl(this.baseUrlPortal+`subPlaces`,c,o)}buildRouteParams(e){let n={fromLatLng:void 0,fromBuilding:void 0,fromFloor:void 0,toLatLng:void 0,toBuilding:void 0,toFloor:void 0,fromPlaceId:void 0,toPlaceId:void 0,travelMode:Yx.walking,reducedMobility:e.preferAccessibleRoute?1:0,announceFormat:e.announceFormat,userBearing:e.userBearing,lang:this.lang,unitSystem:e.unitSystem};if(`id`in e.initialLocation){let{id:c,buildingId:s,floorId:m,level:x}=e.initialLocation;n.fromPlaceId=c,s!==void 0&&(n.fromBuilding=s),m!==void 0?n.fromFloor=m:x!==void 0&&(n.fromFloor=x)}else{let{lat:c,lng:s,floorId:m,placeId:x}=e.initialLocation;n.fromLatLng=`${c},${s}`,n.fromFloor=m,n.fromBuilding=x}if(`id`in e.finalLocation){let{id:c,buildingId:s,floorId:m,level:x}=e.finalLocation;n.toPlaceId=c,s!==void 0&&(n.toBuilding=s),m!==void 0?n.toFloor=m:x!==void 0&&(n.toFloor=x)}else{let{lat:c,lng:s,floorId:m,placeId:x}=e.finalLocation;n.toLatLng=`${c},${s}`,n.toFloor=m,n.toBuilding=x}let o={};for(let c in n){let s=n[c];s!=null&&(o[c]=s)}return o}async fetchRoute(e,n){let o={method:`GET`,headers:{"content-type":`application/json`,Authorization:`Bearer ${n}`}},c=this.buildRouteParams(e);return this.fetchFromUrl(this.routeBaseUrl+`route`,c,o)}async fetchRouteV2(e,n){let o={method:`GET`,headers:{"content-type":`application/json`,Authorization:`Bearer ${n}`}},c=this.buildRouteParams(e);return this.fetchFromUrl(this.routeBaseUrl+`v2/route`,c,o)}async fetchLiveRoute(e,n){let o={method:`GET`,headers:{"content-type":`application/json`,Authorization:`Bearer ${n}`}},c=this.buildRouteParams(e);return this.fetchFromUrl(this.routeBaseUrl+`liveroute`,c,o)}async fetchInstitutions(e){let n={method:`GET`,headers:{"content-type":`application/json`,Authorization:`Bearer ${e}`}},o={lang:this.lang};return this.fetchFromUrl(this.baseUrl+`institution`,o,n)}async fetchSearchResults(e,n,o,c,s,m,x,I){let P={method:`GET`,headers:{"content-type":`application/json`,Authorization:`Bearer ${o}`}},N={institution_id:e,input:n,lang:this.lang};return c&&(N.parentPlaces=[...c]),s&&(N.origin=s),m&&(N.lat=m),x&&(N.lng=x),I&&(N.floor=I),this.fetchFromUrl(this.baseUrl+`searchPlacesWithFilters`,N,P)}async fetchSearchPlacesByTags(e,n,o,c,s,m,x,I,P){let N={method:`GET`,headers:{"content-type":`application/json`,Authorization:`Bearer ${o}`}},B={institution_id:e,tags:[...n],lang:this.lang};return c&&c.length>0&&(B.parentPlaces=[...c]),s&&(B.sort=s),m&&(B.origin=m),x&&(B.lat=x),I&&(B.lng=I),P&&(B.floor=P),this.fetchFromUrl(this.baseUrl+`searchPlacesByTags`,B,N)}async fetchConfiguration(e,n,o){let c={method:`GET`,headers:{"content-type":`application/json`,Authorization:`Bearer ${e}`}},s={lang:this.lang};return n&&(s.place_id=n),o&&(s.product=o),this.fetchFromUrl(this.baseUrl+`configuration`,s,c)}async fetchCategories(e,n){let o={method:`GET`,headers:{"content-type":`application/json`,Authorization:`Bearer ${e}`}},c={lang:this.lang};return n&&(c.id=n),this.fetchFromUrl(this.baseUrl+`category`,c,o)}async fetchRoutesForOrigin(e,n,o,c,s,m){let x={method:`GET`,headers:{"content-type":`application/json`,Authorization:`Bearer ${e}`}},I={placeId:n,fromPlace:o,announceFormat:c,unitSystem:s,mode:m,lang:this.lang};return this.fetchFromUrl(this.routeBaseUrl+`routes_for_origin`,I,x)}async fetchCacheTimestamp(e,n){let o={method:`GET`,headers:{"content-type":`application/json`,Authorization:`Bearer ${e}`}},c={placeId:n};return this.fetchFromUrl(this.routeBaseUrl+`cache_timestamp`,c,o)}async fetchCssCustomization(e,n){let o={method:`GET`,headers:{"content-type":`application/json`,Authorization:`Bearer ${e}`}},c={type:n};return this.fetchFromUrl(this.baseUrl+`styles/customStyles`,c,o)}async postHealth(e,n,o,c,s){let m=JSON.stringify({healthPingId:n,placeId:o,totemId:c,status:s}),x={},I={method:`POST`,headers:{accept:`application/json`,"Content-Type":`application/json`,Authorization:`Bearer ${e}`},body:m};return this.fetchFromUrl(this.baseUrlHealth,x,I)}};function hr(t){if(typeof t==`string`)return t;if(t&&typeof t==`object`){let e=t;if(typeof e.message==`string`)return e.message;if(typeof e.error==`string`)return e.error}return JSON.stringify(t)}var rm=class extends fu{constructor(e,n,o,c,s){super(),this.currentLang=`en`,this.token=e,this.currentLang=n,this.requester=new Jx(n,o,s),this.cache=c??new ip}setLang(e){this.currentLang=e,this.requester.setLang(e)}prepareSegmentation(e){return Object.assign(Object.assign({},e),{token:this.token})}async fetchAndParseMapStyle(e){if(e===void 0&&this.baseStyle)return this.baseStyle;try{let n=await this.requester.fetchMapStyle(this.token,e);if(!n.ok){let s=await n.json();throw new Error(`Fetch failed with status ${n.status}: ${hr(s)}`)}let c=(await n.json()).style;return e===void 0&&(this.baseStyle=c),this.logEvent(`fetchAndParseMapStyle`),c}catch(n){throw this.logError(n,{functionName:`fetchAndParseMapStyle`}),new Error(`Failed to fetch and parse map style`,{cause:n})}}async fetchAndParseAnyMapStyle(e,n){try{let o=await this.requester.fetchAnyMapStyle(n,e);if(!o.ok){let m=await o.json();throw new Error(`Fetch failed with status ${o.status}: ${hr(m)}`)}let s=(await o.json()).style;return this.logEvent(`fetchAndParseAnyMapStyle`),s}catch(o){throw this.logError(o,{functionName:`fetchAndParseAnyMapStyle`}),new Error(`Failed to fetch and parse map style with bearer token`,{cause:o})}}async fetchAndParseInstitutions(){try{let e=await this.requester.fetchInstitutions(this.token);if(!e.ok){let s=await e.json();throw new Error(`Fetch failed with status ${e.status}: ${hr(s)}`)}let n=await e.json(),o=[];for(let s of n){let m=new xp(s);o.push(m)}o.sort((s,m)=>s.title.localeCompare(m.title));let c=o;if(c)return this.logEvent(`fetchAndParseInstitutionsV2`),c;throw new Error(`No institutions associated to this apiKey`)}catch(e){throw this.logError(e,{functionName:`fetchAndParseInstitutionsV2`}),new Error(`Failed to fetch and parse institution`,{cause:e})}}async fetchAndParsePlaceDetail(e){try{let{id:n,buildingId:o,floorId:c,level:s}=e,m=this.placeCacheKey(n,o),x=this.cache.getPlace(m,this.currentLang);if(x!=null)return this.logEvent(`fetchAndParsePlaceDetail`,{cached:`true`}),x;let I=await this.requester.fetchPlaceDetail(this.token,n,o,c,s);if(!I.ok){let B=await I.json();throw new Error(`Fetch failed with status ${I.status}: ${hr(B)}`)}let N=new wr(await I.json());return this.cachePlace(N,o),this.logEvent(`fetchAndParsePlaceDetail`,{cached:`false`}),N}catch(n){throw new Error(`Failed to fetch and parse place detail`,{cause:n})}}async fetchAndParseAnyPlaceDetail(e,n){try{let{id:o,buildingId:c,floorId:s,level:m}=e,x=this.placeCacheKey(o,c),I=this.cache.getPlace(x,this.currentLang);if(I!=null)return this.logEvent(`fetchAndParseAnyPlaceDetail`,{cached:`true`}),I;let P=await this.requester.fetchAnyPlaceDetail(n,o,c,s,m);if(!P.ok){let Z=await P.json();throw new Error(`Fetch failed with status ${P.status}: ${hr(Z)}`)}let B=new wr(await P.json());return this.cachePlace(B,c),this.logEvent(`fetchAndParseAnyPlaceDetail`,{cached:`false`}),B}catch(o){throw new Error(`Failed to fetch and parse place detail with bearer token`,{cause:o})}}placeCacheKey(e,n){return n!=null?`${e}_${n}`:e}cachePlace(e,n){this.cache.setPlace(e.mapvxId,e,this.currentLang),e.clientId!=null&&this.cache.setPlace(this.placeCacheKey(e.clientId,n),e,this.currentLang)}async fetchAndParseSubPlaces(e){try{let n=this.cache.getSubPlaces(e,this.currentLang);if(n!=null)return this.logEvent(`fetchAndParseSubPlaces`,{cached:`true`}),n.data;let o=await this.requester.fetchSubPlaces(e,this.token);if(!o.ok){let m=await o.json();throw new Error(`Fetch failed with status ${o.status}: ${hr(m)}`)}let s=(await o.json()).map(m=>new wr(m));return this.cache.setSubPlaces(e,this.currentLang,{timestamp:Date.now(),data:s}),this.logEvent(`fetchAndParseSubPlaces`,{cached:`false`}),s.forEach(m=>{this.cache.hasPlace(m.mapvxId,this.currentLang)||this.cache.setPlace(m.mapvxId,m,this.currentLang),m.clientId!=null&&!this.cache.hasPlace(m.clientId,this.currentLang)&&this.cache.setPlace(m.clientId,m,this.currentLang)}),s}catch(n){throw new Error(`Failed to fetch and parse subplaces`,{cause:n})}}async fetchAndParseAnySubPlaces(e,n){try{let o=await this.requester.fetchAnySubPlaces(e,n);if(!o.ok){let m=await o.json();throw new Error(`Fetch failed with status ${o.status}: ${hr(m)}`)}let s=(await o.json()).map(m=>new wr(m));return this.logEvent(`fetchAndParseAnySubPlaces`),s.forEach(m=>{this.cache.hasPlace(m.mapvxId,this.currentLang)||this.cache.setPlace(m.mapvxId,m,this.currentLang),m.clientId!=null&&!this.cache.hasPlace(m.clientId,this.currentLang)&&this.cache.setPlace(m.clientId,m,this.currentLang)}),s}catch(o){throw new Error(`Failed to fetch and parse any subplaces`,{cause:o})}}async fetchAndParseAvailablePlaces(){try{let e=await this.requester.fetchAllowedPlaces(this.token);if(!e.ok){let c=await e.json();throw new Error(`Fetch failed with status ${e.status}: ${hr(c)}`)}let o=(await e.json()).map(c=>new wr(c));return this.logEvent(`fetchAndParseAvailablePlaces`),o.forEach(c=>{this.cache.hasPlace(c.mapvxId,this.currentLang)||this.cache.setPlace(c.mapvxId,c,this.currentLang),c.clientId!=null&&!this.cache.hasPlace(c.clientId,this.currentLang)&&this.cache.setPlace(c.clientId,c,this.currentLang)}),o}catch(e){throw this.logError(e,{functionName:`fetchAndParseAvailablePlaces`}),new Error(`Failed to fetch and parse parent places`,{cause:e})}}async fetchAndParsePlacesFromInstitution(e,n){try{let o=await this.requester.fetchPlacesFromAnyInstitution(e,n);if(!o.ok){let m=await o.json();throw new Error(`Fetch failed with status ${o.status}: ${hr(m)}`)}let s=(await o.json()).map(m=>new wr(m));return this.logEvent(`fetchAndParsePlacesFromInstitution`),s.forEach(m=>{this.cache.hasPlace(m.mapvxId,this.currentLang)||this.cache.setPlace(m.mapvxId,m,this.currentLang),m.clientId!=null&&!this.cache.hasPlace(m.clientId,this.currentLang)&&this.cache.setPlace(m.clientId,m,this.currentLang)}),s}catch(o){throw this.logError(o,{functionName:`fetchAndParsePlacesFromInstitution`}),new Error(`Failed to fetch and parse parent places from institution`,{cause:o})}}getCachedPlaces(e){let n=[];return e.forEach(o=>{let c=this.cache.getPlace(o,this.currentLang);c!=null&&n.push(c)}),n}getCachedSubPlaces(e){return this.cache.getSubPlaces(e,this.currentLang)?.data}async fetchAndParseRoute(e){try{let n=``;`id`in e.finalLocation&&(n=e.finalLocation.id);let o=this.cache.getRoute(n);if(o!=null)return this.logEvent(`fetchAndParseRoute`,{cached:`true`}),this.debugLog(`Route cache testing. Found in caché.`),o.data;let c=await this.requester.fetchRoute(e,this.token);if(!c.ok){let x=await c.json();throw new Error(`Fetch failed with status ${c.status}: ${hr(x)}`)}let m=new So((await c.json())[0]);return this.logEvent(`fetchAndParseRoute`),this.debugLog(`Route cache testing. Fetched.`),m}catch(n){throw new Error(`Failed to fetch and parse route`,{cause:n})}}async fetchAndParseRouteV2(e){try{let n=``;`id`in e.finalLocation&&(n=e.finalLocation.id);let o=this.cache.getRoute(n);if(o!=null)return this.logEvent(`fetchAndParseRouteV2`,{cached:`true`}),this.debugLog(`Route cache testing. Found in caché.`),o.data;let c=await this.requester.fetchRouteV2(e,this.token);if(!c.ok){let x=await c.json();throw new Error(`Fetch failed with status ${c.status}: ${hr(x)}`)}let m=new So((await c.json())[0]);return this.logEvent(`fetchAndParseRouteV2`),this.debugLog(`Route cache testing. Fetched.`),m}catch(n){throw new Error(`Failed to fetch and parse route`,{cause:n})}}async fetchAndParseLiveRoute(e){try{let n=await this.requester.fetchLiveRoute(e,this.token);if(!n.ok){let s=await n.json();throw new Error(`Fetch failed with status ${n.status}: ${hr(s)}`)}let c=new So((await n.json())[0]);return this.logEvent(`fetchAndParseLiveRoute`),this.debugLog(`Live route fetched.`),c}catch(n){throw new Error(`Failed to fetch and parse route`,{cause:n})}}async fetchAndParseTransport(e){try{let n=this.cache.getVehicle(e,this.currentLang);if(n!=null&&(Date.now()-n.timestamp<60*1e3||n.data.routes.length===0))return this.logEvent(`fetchAndParseTransport`,{cached:`true`}),n.data;let o=await this.requester.fetchTransport(this.token,e);if(!o.ok){let m=await o.json();throw new Error(`Fetch failed with status ${o.status}: ${hr(m)}`)}let c=await o.json();if(c.realtimeSchedules.length>0){let m=c.realtimeSchedules.map(I=>this.fetchAndParseStops(e,I.vehicleId)),x=await Promise.all(m);x.length>0&&c.realtimeSchedules.forEach(I=>{var P,N;I.stops=(N=(P=x.find(B=>B.id==I.vehicleId))===null||P===void 0?void 0:P.places)!==null&&N!==void 0?N:[]})}let s=new nm(c);return this.cache.setVehicle(e,{timestamp:Date.now(),data:s},this.currentLang),this.logEvent(`fetchAndParseTransport`,{cached:`false`}),s}catch(n){let o=this.cache.getVehicle(e,this.currentLang);if(o!=null){let c=new nm({realtimeSchedules:[],schedules:o.data.schedule});return this.logEvent(`fetchAndParseTransport`,{cached:`true`}),c}else throw new Error(`Failed to fetch and parse transport`,{cause:n})}}async fetchAndParseStops(e,n){try{let o=this.cache.getStops(e+n,this.currentLang);if(o!=null&&Date.now()-o.timestamp<60*1e3)return this.logEvent(`fetchAndParseStops`,{cached:`true`}),{id:n,places:o.data};let c=await this.requester.fetchStops(this.token,e,n);if(!c.ok){let x=await c.json();throw new Error(`Fetch failed with status ${c.status}: ${hr(x)}`)}let m=(await c.json()).map(x=>new wr(x));return this.cache.setStops(e+n,{timestamp:Date.now(),data:m},this.currentLang),this.logEvent(`fetchAndParseStops`,{cached:`false`}),{id:n,places:m}}catch(o){throw new Error(`Failed to fetch and parse stops`,{cause:o})}}async fetchAndParseSearchResults(e,n,o,c,s,m,x){try{let I=await this.requester.fetchSearchResults(e,n,this.token,o,c,s,m,x);if(!I.ok){let B=await I.json();throw new Error(`Fetch failed with status ${I.status}: ${hr(B)}`)}return(await I.json()).map(B=>new wr(B))}catch(I){throw new Error(`Failed to fetch and parse search results`,{cause:I})}}async fetchAndParseSearchPlacesByTags(e,n,o,c,s,m,x,I){try{let P=await this.requester.fetchSearchPlacesByTags(e,n,this.token,o,c,s,m,x,I);if(!P.ok){let Z=await P.json();throw new Error(`Fetch failed with status ${P.status}: ${hr(Z)}`)}let B=(await P.json()).map(Z=>new wr(Z));return this.logEvent(`fetchAndParseSearchPlacesByTags`),B.forEach(Z=>{this.cache.hasPlace(Z.mapvxId,this.currentLang)||this.cache.setPlace(Z.mapvxId,Z,this.currentLang),Z.clientId!=null&&!this.cache.hasPlace(Z.clientId,this.currentLang)&&this.cache.setPlace(Z.clientId,Z,this.currentLang)}),B}catch(P){throw new Error(`Failed to fetch and parse search places by tags`,{cause:P})}}async fetchAndParseRoutesFromOrigin(e,n,o,c,s){try{let m=await this.requester.fetchRoutesForOrigin(this.token,e,n,o,c,s);if(!m.ok){let P=await m.json();throw new Error(`Fetch failed with status ${m.status}: ${hr(P)}`)}let{routes:x,accessibleRoutes:I}=await m.json();Object.entries(x).forEach(([P,N])=>{let B=new So(N[0]);this.cache.setRoute(P,{timestamp:Date.now(),data:B})}),Object.entries(I).forEach(([P,N])=>{let B=new So(N[0]);this.cache.setAccessibleRoute(P,{timestamp:Date.now(),data:B})}),this.debugLog(`Route cache testing. Cache populated!`)}catch(m){throw new Error(`Failed to fetch and parse routes from origin results`,{cause:m})}}async fetchAndParseCacheTimestamp(e){try{let n=await this.requester.fetchCacheTimestamp(this.token,e);if(!n.ok){let c=await n.json();throw new Error(`Fetch failed with status ${n.status}: ${hr(c)}`)}let{lastUpdate:o}=await n.json();return o}catch(n){throw new Error(`Failed to fetch and parse cache timestamp`,{cause:n})}}cleanRoutesCache(){this.cache.cleanRoutesCache(),this.cache.cleanAccessibleRoutesCache()}async fetchAndParseConfiguration(e,n){try{let o=this.cache.getConfiguration(e||`default`,n||`default`,this.currentLang);if(o!=null)return this.logEvent(`fetchAndParseConfiguration`,{cached:`true`}),o.data;let c=await this.requester.fetchConfiguration(this.token,e,n);if(!c.ok){let m=await c.json();throw new Error(`Fetch failed with status ${c.status}: ${hr(m)}`)}let s=await c.json();return this.cache.setConfiguration(e||`default`,n||`default`,this.currentLang,{timestamp:Date.now(),data:s}),this.logEvent(`fetchAndParseConfiguration`,{cached:`false`}),s}catch(o){throw this.logError(o,{functionName:`fetchAndParseConfiguration`}),new Error(`Failed to fetch and parse configuration`,{cause:o})}}async fetchAndParseCategories(e){try{let n=this.cache.getCategories(e||`default`,this.currentLang);if(n!=null)return this.logEvent(`fetchAndParseCategories`,{cached:`true`}),n.data;let o=await this.requester.fetchCategories(this.token,e);if(!o.ok){let s=await o.json();throw new Error(`Fetch failed with status ${o.status}: ${hr(s)}`)}let c=await o.json();return this.cache.setCategories(e||`default`,this.currentLang,{timestamp:Date.now(),data:c}),this.logEvent(`fetchAndParseCategories`,{cached:`false`}),c}catch(n){throw new Error(`Failed to fetch and parse categories`,{cause:n})}}async fetchAndParseCssCustomization(e){try{let n=await this.requester.fetchCssCustomization(this.token,e);if(!n.ok){let c=await n.json();throw new Error(`Fetch failed with status ${n.status}: ${hr(c)}`)}return await n.json()}catch(n){throw new Error(`Failed to fetch and parse css customization`,{cause:n})}}async postAndParseHealthPing(e,n,o,c){let s=await this.requester.postHealth(this.token,e,n,o,c);if(!s.ok){let x=await s.json();throw new Error(`Post failed with status ${s.status}: ${hr(x)}`)}return await s.json()}};function b6(t){var e,n,o,c,s,m;let x=[];!((e=t.startLocation)===null||e===void 0)&&e.lat&&!((n=t.startLocation)===null||n===void 0)&&n.lng&&x.push({lat:t.startLocation.lat,lng:t.startLocation.lng}),!((o=t.endLocation)===null||o===void 0)&&o.lat&&!((c=t.endLocation)===null||c===void 0)&&c.lng&&x.push({lat:t.endLocation.lat,lng:t.endLocation.lng});let I=(s=t.polyline)===null||s===void 0?void 0:s.overviewPoints;return Array.isArray(I)&&I.length>0?I.forEach(P=>{P?.lat&&P?.lng&&x.push({lat:P.lat,lng:P.lng})}):Array.isArray((m=t.polyline)===null||m===void 0?void 0:m.pointsLatLng)&&t.polyline.pointsLatLng.length>0&&t.polyline.pointsLatLng.forEach(P=>{P?.lat&&P?.lng&&x.push({lat:P.lat,lng:P.lng})}),x.length===0&&t.coordinates?t.coordinates:x}var im=x(kv());var dJ=[{type:`directional`,color:16777215,intensity:2,position:{x:50,y:100,z:80}},{type:`directional`,color:16777215,intensity:1.5,position:{x:-50,y:80,z:-60}},{type:`ambient`,color:16777215,intensity:1.5}];var MA=t=>{let e=t.match(/\w\w/g);if(!e||e.length<3)throw new Error(`Invalid hex color: ${t}`);return[Number.parseInt(e[0],16),Number.parseInt(e[1],16),Number.parseInt(e[2],16)]};function w6(t){return t.lights&&t.lights.length>0?[...t.lights]:[...dJ]}function S6(t,e){var n,o,c,s,m,x;return{yaw:((n=t?.yaw)!==null&&n!==void 0?n:0)+((o=e?.yaw)!==null&&o!==void 0?o:0),pitch:((c=t?.pitch)!==null&&c!==void 0?c:0)+((s=e?.pitch)!==null&&s!==void 0?s:0),roll:((m=t?.roll)!==null&&m!==void 0?m:0)+((x=e?.roll)!==null&&x!==void 0?x:0)}}function x6(t,e){return t===void 0?[e,e,e]:typeof t==`number`?[t,t,t]:[t[0],t[1],t[2]]}function E6(t,e){let n=x6(t,1);return e===void 0?n:x6(e,1)}function I6(t,e,n){var o,c;return(c=(o=n.zoomTransparency)!==null&&o!==void 0?o:e?.zoomTransparency)!==null&&c!==void 0?c:t.zoomTransparency}function pJ(t,e){return t&&e>=t.zoom?t.opacity:1}function T6(t,e,n){var o,c;return(c=(o=n.routeTransparency)!==null&&o!==void 0?o:e?.routeTransparency)!==null&&c!==void 0?c:t.routeTransparency}function C6(t,e,n){return e>=t.minX&&e<=t.maxX&&n>=t.minZ&&n<=t.maxZ}function D6(t,e,n,o){let c=pJ(t,n),s=o&&e?e.opacity:1;return Math.min(c,s)}function A6(t,e){return t.visibility.mode===`allFloors`?!0:t.visibility.floorKey===e}function M6(t,e,n,o,c){var s,m,x,I,P,N;let B=(t.x-e.x)/n,Z=(t.y-e.y)/n,q=(s=o?.x)!==null&&s!==void 0?s:0,ue=(m=o?.y)!==null&&m!==void 0?m:0,_e=(x=o?.z)!==null&&x!==void 0?x:0,he=(I=c?.x)!==null&&I!==void 0?I:0,Pe=(P=c?.y)!==null&&P!==void 0?P:0,Ke=(N=c?.z)!==null&&N!==void 0?N:0;return[B+q+he,ue+Pe,Z+_e+Ke]}function hJ(t){return t.type===`Polygon`?[t.coordinates]:t.type===`MultiPolygon`?t.coordinates:[]}function P6(t,e,n){var o;let c=t.filter(m=>{var x,I,P;return((x=m.properties)===null||x===void 0?void 0:x.class)===`room`&&((I=m.properties)===null||I===void 0?void 0:I.subclass)!==`empty`&&((P=m.properties)===null||P===void 0?void 0:P.floor_key)===e}),s=[];for(let m of c){let x=!((o=m.properties)===null||o===void 0)&&o.height?Number(m.properties.height):n;for(let I of hJ(m.geometry))for(let P of I)s.push({path:P.map(([N,B])=>[N,B,x])})}return s}function R6(t,e,n,o){return t.filter(s=>{var m,x,I,P,N,B;if(((m=s.properties)===null||m===void 0?void 0:m.layerName)!==`area_name`&&((x=s.properties)===null||x===void 0?void 0:x.layerName)!==`poi`||((I=s.geometry)===null||I===void 0?void 0:I.type)!==`Point`)return!1;let Z=((P=s.properties)===null||P===void 0?void 0:P[`name:latin`])||((N=s.properties)===null||N===void 0?void 0:N.name);return!(!Z||!((B=s.properties)===null||B===void 0)&&B.floor_key&&s.properties.floor_key!==e||n(`logo-`+Z))}).map(s=>{var m,x,I;return{position:[...s.geometry.coordinates.slice(0,2),!((m=s.properties)===null||m===void 0)&&m.height?Number(s.properties.height):o],text:((x=s.properties)===null||x===void 0?void 0:x[`name:latin`])||((I=s.properties)===null||I===void 0?void 0:I.name)||``}})}function fJ(t,e){return t.includes(`wheelchair`)?`accessible_toilets`:t.includes(`changing_table`)?`changing_table`:e}function k6(t,e,n){return t.filter(c=>{var s,m,x;if(((s=c.geometry)===null||s===void 0?void 0:s.type)!==`Point`||!((m=c.properties)===null||m===void 0)&&m.floor_key&&c.properties.floor_key!==e)return!1;let I=(x=c.properties)===null||x===void 0?void 0:x.subclass;return I===`elevator`||I===`toilets`}).map(c=>{var s,m,x;return{position:[...c.geometry.coordinates.slice(0,2),!((s=c.properties)===null||s===void 0)&&s.height?Number(c.properties.height):n],icon:fJ(((m=c.properties)===null||m===void 0?void 0:m.tags)||``,((x=c.properties)===null||x===void 0?void 0:x.subclass)||``)}})}function O6(t,e,n,o){return t.filter(s=>{var m,x,I;if(((m=s.geometry)===null||m===void 0?void 0:m.type)!==`Point`||!((x=s.properties)===null||x===void 0)&&x.floor_key&&s.properties.floor_key!==e)return!1;let P=(I=s.properties)===null||I===void 0?void 0:I.name;return P?!!n[`logo-`+P]:!1}).map(s=>{var m,x,I;let P=(m=s.properties)===null||m===void 0?void 0:m.name;return{position:[...s.geometry.coordinates.slice(0,2),!((x=s.properties)===null||x===void 0)&&x.height?Number(s.properties.height):o],icon:`logo-`+P,rotation:!((I=s.properties)===null||I===void 0)&&I.rotation_icon?Number(s.properties.rotation_icon):0}})}function N6(t,e,n){let o=t[e];if(!o)return 10;let c=o.pixelRatio,s=o.width/c,m=o.height/c;return 10*(m/Math.max(s,m))*(n[e]||1)}var L6=`https://mapvx-glb-assets.s3.us-east-1.amazonaws.com/decoders/draco/`;var F6=`https://mapvx-glb-assets.s3.us-east-1.amazonaws.com/decoders/transcoder/`;var Nv;var Lv;function e2(){return Nv??(Nv=Promise.all([import(`./chunk-DsKCGfdq.js`),import(`./chunk-CTFjnL_B.js`),import(`./chunk-Bjk3HkK2.js`),import(`./chunk-CCaUxYwr.js`)]).then(([t,e,n,o])=>({THREE:t,GLTFLoader:e.GLTFLoader,DRACOLoader:n.DRACOLoader,KTX2Loader:o.KTX2Loader}))),Nv}function z6(){return Lv??(Lv=Promise.all([import(`./chunk-Dkhxm9pV.js`),import(`./chunk-VDwq1GVr.js`),import(`./chunk-UfDdP4s_.js`)]).then(([t,e,n])=>({MapboxOverlay:t.MapboxOverlay,MVTLayer:e.MVTLayer,IconLayer:n.IconLayer,PathLayer:n.PathLayer,TextLayer:n.TextLayer}))),Lv}var Fv;function mJ(){return Fv??(Fv=e2().then(t=>{let e=new t.DRACOLoader;e.setDecoderPath(L6);let n=new t.GLTFLoader;n.setDRACOLoader(e);let o=new t.KTX2Loader;return o.setTranscoderPath(F6),n.setKTX2Loader(o),o.detectSupport(new t.THREE.WebGLRenderer({antialias:!0})),n})),Fv}async function B6(t){let e=await mJ();return new Promise((n,o)=>{e.load(t,c=>{n(c.scene)},void 0,c=>{o(c instanceof Error?c:new Error(String(c)))})})}function U6(t,e){let n=new t.Box3().setFromObject(e),o=n.getCenter(new t.Vector3);return o.y=n.min.y,o}function V6(t,e,n){let o=0;for(let c of n){if(c.type===`ambient`){e.add(new t.AmbientLight(c.color,c.intensity)),o++;continue}let s=new t.DirectionalLight(c.color,c.intensity);s.position.set(c.position.x,c.position.y,c.position.z),e.add(s),o++}return o}var t2=class{constructor(e,n,o){this.currentFloor=``,this.threeMod=void 0,this.deckMod=void 0,this.deckOverlay=void 0,this.scene3DGlbScene=void 0,this.scene3DGlbRootByUrl=new globalThis.Map,this.scene3DGlbTemplateById=new globalThis.Map,this.scene3DGlbLightCount=0,this.scene3DModelsGroup=void 0,this.scene3DRouteCollisionPoints=[],this.spriteIconMapping={},this.spriteAtlasImage=new Image,this.map=e,this.scene3DConfig=n,this.initialCenter=o}async onMapLoad(){var e,n;try{await this.ensure3DLibs()}catch(m){console.error(`Failed to load 3D libraries (three/deck.gl)`,m);return}if(!this.deckMod)return;let o=(n=(e=this.scene3DConfig.customLayers)===null||e===void 0?void 0:e.iconLayers)===null||n===void 0?void 0:n.spriteUrl;o&&await this.loadSpriteAtlas(o).catch(m=>console.error(`Failed to load sprite atlas`,m)),this.deckOverlay=new this.deckMod.MapboxOverlay({layers:[]}),this.map.addControl(this.deckOverlay),this.hideLayers(this.scene3DConfig.hideLayers);let c=this.scene3DConfig.models;c!==void 0&&c.enabled!==!1&&c.assets.length>0&&this.map.addLayer(this.createGlbCustomLayer()),this.updateDeckOverlay()}onZoom(){this.applyModelOpacity()}setRouteCollisionPath(e){this.scene3DRouteCollisionPoints=e,this.recomputeRouteAffectedModels(),this.applyModelOpacity()}onFloorChange(e){this.currentFloor=e??``,this.updateDeckOverlay(),this.placeScene3DModels()}refreshOverlay(e){this.currentFloor=e??``,this.updateDeckOverlay()}async ensure3DLibs(){var e,n;(e=this.threeMod)!==null&&e!==void 0||(this.threeMod=await e2()),(n=this.deckMod)!==null&&n!==void 0||(this.deckMod=await z6())}createGlbCustomLayer(){let e=this.threeMod.THREE,n=im.MercatorCoordinate.fromLngLat(this.initialCenter,0),o=n.meterInMercatorCoordinateUnits(),c=new e.Matrix4().makeTranslation(n.x,n.y,n.z).scale(new e.Vector3(o,-o,o)).multiply(new e.Matrix4().makeRotationX(Math.PI/2));this.scene3DGlbScene=new e.Scene;let s=this.scene3DConfig.models;if(s&&s.enabled!==!1&&s.assets.length>0){let P=w6(s);this.scene3DGlbLightCount=V6(e,this.scene3DGlbScene,P)}else this.scene3DGlbLightCount=0;this.loadScene3DGlbTemplates().then(()=>this.placeScene3DModels()).catch(P=>{console.error(`Failed to initialize declarative GLB models`,P)});let m,x,I=new e.Matrix4;return{id:`3d-glb-models`,type:`custom`,renderingMode:`3d`,onAdd:(P,N)=>{x=new e.Camera,m=new e.WebGLRenderer({canvas:P.getCanvas(),context:N,antialias:!0}),m.autoClear=!1,m.setSize=function(B,Z){this.setViewport(0,0,B,Z)}},render:(P,N)=>{var B;if(!x||!m||!this.scene3DGlbScene||!this.scene3DModelsGroup||this.scene3DModelsGroup.children.length===0)return;let Z=this.map.getCanvas(),q=Z.width,ue=Z.height;if(q===0||ue===0)return;let _e=(B=N.defaultProjectionData)===null||B===void 0?void 0:B.mainMatrix;_e&&(m.setSize(q,ue),I.fromArray(_e).multiply(c),x.projectionMatrix.copy(I),m.resetState(),m.render(this.scene3DGlbScene,x))}}}async loadScene3DGlbTemplates(){var e;let n=(e=this.threeMod)===null||e===void 0?void 0:e.THREE,o=this.scene3DConfig.models;if(!(!n||!o||o.enabled===!1||o.assets.length===0)){this.scene3DGlbRootByUrl.clear(),this.scene3DGlbTemplateById.clear();for(let c of o.assets)try{let s=this.scene3DGlbRootByUrl.get(c.url);s||(s=await B6(c.url),this.scene3DGlbRootByUrl.set(c.url,s));let m=U6(n,s);this.scene3DGlbTemplateById.set(c.id,{root:s,center:m})}catch(s){console.error(`Failed to load GLB asset "${c.id}" from ${c.url}`,s)}}}placeScene3DModels(){var e,n,o,c,s,m,x,I;let P=(e=this.threeMod)===null||e===void 0?void 0:e.THREE;if(!P||!this.scene3DGlbScene)return;let N=this.scene3DConfig.models;if(!N||N.enabled===!1||(this.scene3DModelsGroup&&(this.scene3DGlbScene.remove(this.scene3DModelsGroup),this.scene3DModelsGroup=void 0),this.scene3DGlbTemplateById.size===0))return;let B=im.MercatorCoordinate.fromLngLat(this.initialCenter,0),Z=B.meterInMercatorCoordinateUnits(),q=this.currentFloor,ue=new P.Group;ue.position.set((o=(n=N.globalOffset)===null||n===void 0?void 0:n.x)!==null&&o!==void 0?o:0,(s=(c=N.globalOffset)===null||c===void 0?void 0:c.y)!==null&&s!==void 0?s:0,(x=(m=N.globalOffset)===null||m===void 0?void 0:m.z)!==null&&x!==void 0?x:0);for(let _e of N.placements){if(!A6(_e,q))continue;let he=this.scene3DGlbTemplateById.get(_e.assetId);if(!he)continue;let Pe=N.assets.find(et=>et.id===_e.assetId);if(!Pe)continue;let[ot,Zt,qt]=M6(im.MercatorCoordinate.fromLngLat([_e.position.lng,_e.position.lat],(I=_e.position.altitude)!==null&&I!==void 0?I:0),B,Z,Pe.defaultModelOffset,_e.offset),st=new P.Group;st.position.set(ot,Zt,qt);let ee=S6(Pe.defaultRotation,_e.rotation);st.rotation.set(P.MathUtils.degToRad(ee.pitch),P.MathUtils.degToRad(-ee.yaw),P.MathUtils.degToRad(ee.roll),`YXZ`);let[de,me,Oe]=E6(Pe.defaultScale,_e.scale);st.scale.set(de,me,Oe);let Le=he.root.clone(!0);Le.traverse(et=>{let Pt=et;Pt.isMesh&&(Pt.material=Array.isArray(Pt.material)?Pt.material.map(Dt=>Dt.clone()):Pt.material.clone())}),Le.position.set(-he.center.x,-he.center.y,-he.center.z),st.userData.zoomTransparency=I6(N,Pe,_e),st.userData.routeTransparency=T6(N,Pe,_e);let ut=new P.Box3().setFromObject(Le);st.userData.footprint={minX:ut.min.x,maxX:ut.max.x,minZ:ut.min.z,maxZ:ut.max.z},st.add(Le),ue.add(st)}this.scene3DModelsGroup=ue,this.scene3DGlbScene.add(ue),this.recomputeRouteAffectedModels(),this.applyModelOpacity(),this.map.triggerRepaint()}recomputeRouteAffectedModels(){var e;let n=(e=this.threeMod)===null||e===void 0?void 0:e.THREE,o=this.scene3DModelsGroup;if(!n||!o)return;let c=this.scene3DRouteCollisionPoints.filter(P=>P.floorKey===this.currentFloor),s=im.MercatorCoordinate.fromLngLat(this.initialCenter,0),m=s.meterInMercatorCoordinateUnits(),x=c.map(P=>{let N=im.MercatorCoordinate.fromLngLat([P.lng,P.lat],0),B=(N.x-s.x)/m,Z=(N.y-s.y)/m;return new n.Vector3(B,0,Z)});o.updateMatrixWorld(!0);let I=new n.Vector3;for(let P of o.children){let N=P.userData.routeTransparency,B=P.userData.footprint;if(!N||!B||x.length===0){P.userData.routeAffected=!1;continue}P.userData.routeAffected=x.some(Z=>(I.copy(Z),o.localToWorld(I),P.worldToLocal(I),C6(B,I.x,I.z)))}}applyModelOpacity(){if(!this.scene3DModelsGroup)return;let e=this.map.getZoom(),n=!1;for(let o of this.scene3DModelsGroup.children){let c=o.userData.zoomTransparency,s=o.userData.routeTransparency,x=D6(c,s,e,o.userData.routeAffected===!0);o.traverse(I=>{let P=I;if(!P.isMesh)return;let N=Array.isArray(P.material)?P.material:[P.material];for(let B of N)B.opacity!==x&&(B.transparent=x<1,B.opacity=x,B.depthWrite=x>=1,n=!0)})}n&&this.map.triggerRepaint()}async loadSpriteAtlas(e){let[n,o]=await Promise.all([fetch(`${e}.json`).then(c=>c.json()),new Promise((c,s)=>{let m=new Image;m.crossOrigin=`anonymous`,m.onload=()=>c(m),m.onerror=s,m.src=`${e}.png`})]);this.spriteIconMapping=n,this.spriteAtlasImage=o}makeElevatedLinesLayer(e,n){var o;let c=this.deckMod;return c?new c.MVTLayer({id:`indoor-lines-elevated`,data:n.dataUrl,binary:(o=n.binaryData)!==null&&o!==void 0?o:!1,renderSubLayers:s=>{var m,x,I,P;let N=P6(s.data||[],e,(m=n.defaultHeight)!==null&&m!==void 0?m:5);return N.length?new c.PathLayer(Object.assign(Object.assign({},s),{id:`${s.id}-paths`,data:N,getPath:B=>B.path,getColor:MA((x=n.lineColor)!==null&&x!==void 0?x:`#cbcbcb`),getWidth:(I=n.lineWidth)!==null&&I!==void 0?I:1.5,widthUnits:(P=n.widthUnits)!==null&&P!==void 0?P:`pixels`,pickable:!1})):null},updateTriggers:{renderSubLayers:[e]}}):null}makeLabelLayer(e,n,o=!0){var c,s,m;let x=this.deckMod;return x?new x.MVTLayer({id:`indoor-labels`,data:n.dataUrl,binary:(c=n.binaryData)!==null&&c!==void 0?c:!1,minZoom:(s=n.minZoom)!==null&&s!==void 0?s:19.5,maxZoom:(m=n.maxZoom)!==null&&m!==void 0?m:24,renderSubLayers:I=>{var P,N,B,Z,q,ue;let _e=R6(I.data||[],e,he=>this.map.hasImage(he),(P=n.defaultHeight)!==null&&P!==void 0?P:5);return _e.length?new x.TextLayer(Object.assign(Object.assign({},I),{id:`${I.id}-labels`,data:_e,getPosition:he=>he.position,getText:he=>he.text,getSize:(N=n.size)!==null&&N!==void 0?N:16,getColor:MA((B=n.color)!==null&&B!==void 0?B:`#91969b`),outlineColor:o?[255,255,255,255]:[0,0,0,0],outlineWidth:o?4:0,fontSettings:{sdf:o},fontFamily:(Z=n.fontFamily)!==null&&Z!==void 0?Z:`Open Sans, sans-serif`,fontWeight:(q=n.fontWeight)!==null&&q!==void 0?q:600,billboard:!0,pickable:!1,characterSet:`auto`,wordBreak:`break-word`,maxWidth:(ue=n.maxWidth)!==null&&ue!==void 0?ue:150})):null},updateTriggers:{renderSubLayers:[e]}}):null}makePoiIconLayer(e,n){var o,c,s;let m=this.deckMod;return!m||!this.spriteIconMapping||!this.spriteAtlasImage?null:new m.MVTLayer({id:`indoor-poi-icons`,data:n.dataUrl,binary:(o=n.binaryData)!==null&&o!==void 0?o:!1,minZoom:(c=n.minZoom)!==null&&c!==void 0?c:17,maxZoom:(s=n.maxZoom)!==null&&s!==void 0?s:24,renderSubLayers:x=>{var I,P,N,B,Z;let q=k6(x.data||[],e,(I=n.defaultHeight)!==null&&I!==void 0?I:5);return q.length?new m.IconLayer(Object.assign(Object.assign({},x),{id:`${x.id}-poi-icons`,data:q,iconAtlas:this.spriteAtlasImage,iconMapping:this.spriteIconMapping,getIcon:ue=>ue.icon,getPosition:ue=>ue.position,getSize:(P=n.size)!==null&&P!==void 0?P:2,sizeUnits:(N=n.sizeUnits)!==null&&N!==void 0?N:`meters`,sizeScale:(B=n.sizeScale)!==null&&B!==void 0?B:1,billboard:(Z=n.billboard)!==null&&Z!==void 0?Z:!0,pickable:!1})):null},updateTriggers:{renderSubLayers:[e]}})}makeStoreLogoLayer(e,n){var o,c,s;let m=this.deckMod;return!m||!this.spriteIconMapping||!this.spriteAtlasImage?null:new m.MVTLayer({id:`indoor-store-logos`,data:n.dataUrl,binary:(o=n.binaryData)!==null&&o!==void 0?o:!1,minZoom:(c=n.minZoom)!==null&&c!==void 0?c:13,maxZoom:(s=n.maxZoom)!==null&&s!==void 0?s:24,renderSubLayers:x=>{var I,P,N,B;let Z=O6(x.data||[],e,this.spriteIconMapping,(I=n.defaultHeight)!==null&&I!==void 0?I:5);return Z.length?new m.IconLayer(Object.assign(Object.assign({},x),{id:`${x.id}-store-logos`,data:Z,iconAtlas:this.spriteAtlasImage,iconMapping:this.spriteIconMapping,getIcon:q=>q.icon,getPosition:q=>q.position,getAngle:q=>-q.rotation,getSize:q=>{var ue;return N6(this.spriteIconMapping,q.icon,(ue=n.logoScale)!==null&&ue!==void 0?ue:{})},sizeUnits:(P=n.sizeUnits)!==null&&P!==void 0?P:`meters`,sizeScale:(N=n.sizeScale)!==null&&N!==void 0?N:1,billboard:(B=n.billboard)!==null&&B!==void 0?B:!1,pickable:!1})):null},updateTriggers:{renderSubLayers:[e]}})}updateDeckOverlay(){if(!this.deckOverlay||!this.currentFloor||!this.scene3DConfig.customLayers)return;let{customLayers:e}=this.scene3DConfig,n=[];if(e.elevatedLinesLayer&&n.push(this.makeElevatedLinesLayer(this.currentFloor,e.elevatedLinesLayer)),e.labelsLayer&&n.push(this.makeLabelLayer(this.currentFloor,e.labelsLayer,!1)),e.iconLayers){let{storeLogosLayer:o,poiIconsLayer:c}=e.iconLayers;o&&n.push(this.makeStoreLogoLayer(this.currentFloor,o)),c&&n.push(this.makePoiIconLayer(this.currentFloor,c))}this.deckOverlay.setProps({layers:n})}hideLayers(e){if(e)for(let n of e){let o=this.map.getLayer(n);o&&this.map.setLayoutProperty(o.id,`visibility`,`none`)}}};var wp=x(kv());var gJ=512;var j6=(t,e,n)=>Math.min(Math.max(t,e),n);function $6(t,e){let{bearing:n,padding:o,containerWidth:c,containerHeight:s,maxZoom:m,minZoom:x}=e,I=-n*Math.PI/180,P=Math.cos(I),N=Math.sin(I),B=Infinity,Z=Infinity,q=-Infinity,ue=-Infinity;for(let de of t){let me=wp.MercatorCoordinate.fromLngLat({lat:de.lat,lng:de.lng}),Oe=me.x*P-me.y*N,Le=me.x*N+me.y*P;B=Math.min(B,Oe),Z=Math.min(Z,Le),q=Math.max(q,Oe),ue=Math.max(ue,Le)}let _e=q-B||Number.EPSILON,he=ue-Z||Number.EPSILON,Pe=Math.max(1,c-o.left-o.right),Ke=Math.max(1,s-o.top-o.bottom),ot=Math.min(Pe/_e,Ke/he),Zt=j6(Math.log2(ot/gJ),x,m),qt=(B+q)/2,st=(Z+ue)/2;return{center:new wp.MercatorCoordinate(qt*P+st*N,-qt*N+st*P,0).toLngLat(),zoom:Zt}}function H6(t,e,n,o){let{bearing:c,pitch:s,padding:m,containerWidth:x,containerHeight:I,maxZoom:P,minZoom:N}=o;t.setBearing(c),t.setPitch(s),t.setPadding(m),t.setCenter(n.center),t.setZoom(n.zoom);let B=Math.max(1,x-m.left-m.right),Z=Math.max(1,I-m.top-m.bottom),q=4,ue=.01,_e={center:n.center,zoom:n.zoom};for(let he=0;he<q;he++){let Pe=Infinity,Ke=Infinity,ot=-Infinity,Zt=-Infinity,qt=!0;for(let Le of e){let ut=t.locationToScreenPoint(new wp.LngLat(Le.lng,Le.lat));if(!t.isPointOnMapSurface(ut)){qt=!1;break}Pe=Math.min(Pe,ut.x),Ke=Math.min(Ke,ut.y),ot=Math.max(ot,ut.x),Zt=Math.max(Zt,ut.y)}if(!qt)break;let st=new wp.Point((Pe+ot)/2,(Ke+Zt)/2);t.setCenter(t.screenPointToLocation(st));let ee=Math.max(ot-Pe,1e-6),de=Math.max(Zt-Ke,1e-6),me=Math.min(B/ee,Z/de),Oe=Math.log2(me);if(t.setZoom(j6(t.zoom+Oe,N,P)),_e={center:t.center,zoom:t.zoom},Math.abs(Oe)<ue)break}return _e}function G6(t){let e={};return t.bearing!==void 0&&(e.bearing=t.bearing),t.interactive!==void 0&&(e.interactive=t.interactive),t.dragPan!==void 0&&(e.dragPan=t.dragPan),t.scrollZoom!==void 0&&(e.scrollZoom=t.scrollZoom),t.doubleClickZoom!==void 0&&(e.doubleClickZoom=t.doubleClickZoom),t.touchZoomRotate!==void 0&&(e.touchZoomRotate=t.touchZoomRotate),t.keyboard!==void 0&&(e.keyboard=t.keyboard),t.rotateEnabled===!1&&(e.dragRotate=!1,e.pitchWithRotate=!1),e}function q6(t){return t.rotateEnabled===!1}var om=`mapvx-circles`;var K6=`mapvx-circles-fill`;var Q6=`mapvx-circles-line`;var yJ={aboveBasemap:``,belowLabels:`-below-labels`,top:`-top`};var W6=5;var vJ=1e3;function _J(t){let e=yJ[t];return{fill:K6+e,line:Q6+e}}function bJ(t){return t.startsWith(K6)||t.startsWith(Q6)}var Z6=!1;function Y6(t){return t==null?t:typeof structuredClone==`function`?structuredClone(t):JSON.parse(JSON.stringify(t))}function xJ(t){if(Z6)return;let e=new $x(t);ps.default.addProtocol(`cached-tile`,(n,o)=>{let c=n.url.replace(`cached-tile://`,`https://`);return e.acquire(o.signal).then(()=>fetch(c,{signal:o.signal}).then(s=>{if(!s.ok)throw new Error(`HTTP error! status: ${s.status}`);return s.arrayBuffer()}).then(s=>({data:s})).finally(()=>{e.release()}))}),Z6=!0}function n2(t,e){if(t===void 0)return 0;if(typeof t==`number`)return t;let n=t.match(/^(-?\d*\.?\d+)(px|%|vh|vw)?$/);if(!n)return 0;let o=Number.parseFloat(n[1]);switch(n[2]||`px`){case`px`:return o;case`%`:return o/100*e;case`vh`:return o/100*window.innerHeight;case`vw`:return o/100*window.innerWidth;default:return o}}function X6(t,e,n){return t?{top:n2(t.top,n),bottom:n2(t.bottom,n),left:n2(t.left,e),right:n2(t.right,e)}:{top:0,bottom:0,left:0,right:0}}var r2=class extends fu{constructor(e,n,o){var c,s,m;super(),this.liveRouteTicket=0,this.potentialParentPlaces=[],this.innerFloors=[],this.subPlaces=[],this.currentFloor=``,this.baseFilters={},this.markers=[],this.circles=[],this.enableHover=!1,this.hoveredId=`unselected`,this.failedTiles=new Set,this.tileRetryState=new WeakMap,this.geoLocation=navigator.geolocation,this.scene3D=void 0,mA.includes((c=e.lang)!==null&&c!==void 0?c:``)&&this.setRTLSupport(),this.repository=new rm(o,(s=e.lang)!==null&&s!==void 0?s:`en`,e.apiUrl,void 0,e.mapvxRequestContext),this.token=o,this.parentPlaceId=e.parentPlaceId,this.routeController=new Zx(this),this.userLocationMarker=void 0,this.watchPositionID=void 0,this.onFloorChange=e.onFloorChange,this.onParentPlaceChange=e.onParentPlaceChange,this.mode=(m=e.mode)!==null&&m!==void 0?m:`2D`,this.scene3DConfig=e.scene3D,this.initialCenter=e.center,this.tileCacheConfig=(()=>{let x=Object.assign(Object.assign({},wA),e.tileCache);return x.maxTiles=Math.min(x.maxTiles,SA),x})(),e.parentPlaceId!=null&&this.initialPlaceDetailSetUp(e.parentPlaceId,e.authToken),e.otherPotentialParentPlacesIds&&e.otherPotentialParentPlacesIds.length>0&&this.loadOtherPotentialParentPlaces(e.otherPotentialParentPlacesIds),this.enableHover=e.enableHover||!1,this.initialMapStyleSetUp(e,n)}setRTLSupport(){(0,ps.setRTLTextPlugin)(`https://unpkg.com/@mapbox/mapbox-gl-rtl-text@0.3.0/dist/mapbox-gl-rtl-text.js`,!1).catch(()=>{})}transformStyleForCaching(e){if(!e)return e;let n=Y6(e);if(n?.sources)for(let o of Object.keys(n.sources)){let c=n.sources[o];c.tiles&&Array.isArray(c.tiles)&&(c.tiles=c.tiles.map(s=>s.startsWith(`https://`)?s.replace(`https://`,`cached-tile://`):s))}return n}initialPlaceDetailSetUp(e,n){if(n){this.repository.fetchAndParseAnyPlaceDetail({id:e},n).then(o=>{this.changeParentPlaceTo(o),this.potentialParentPlaces.push(o)}).catch(console.error);return}this.repository.fetchAndParsePlaceDetail({id:e}).then(o=>{this.changeParentPlaceTo(o),this.potentialParentPlaces.push(o)}).catch(console.error)}loadOtherPotentialParentPlaces(e){Promise.all(e.map(n=>this.repository.fetchAndParsePlaceDetail({id:n}))).then(n=>{this.potentialParentPlaces.push(...n)}).catch(console.error)}subPlacesLoad(e){this.repository.fetchAndParseSubPlaces(e).then(n=>{this.subPlaces=n}).catch(console.error)}initialMapStyleSetUp(e,n){if(e.institutionId&&e.authToken){this.repository.fetchAndParseAnyMapStyle(e.institutionId,e.authToken).then(o=>this.onMapStyleLoaded(e,n,o)).catch(console.error);return}this.repository.fetchAndParseMapStyle(e.parentPlaceId).then(o=>this.onMapStyleLoaded(e,n,o)).catch(console.error)}onMapStyleLoaded(e,n,o){var c,s,m,x,I,P,N;let B=this.tileCacheConfig.enabled&&this.tileCacheConfig.persistToServiceWorker;B&&xJ(this.tileCacheConfig.maxConcurrentTileFetches);let Z=B?this.transformStyleForCaching(o):o,q=Object.assign({container:n,style:Z,center:e.center,zoom:e.zoom,pitch:(c=e.pitch)!==null&&c!==void 0?c:0,attributionControl:!1,maplibreLogo:!1,bearingSnap:(s=e.bearingSnap)!==null&&s!==void 0?s:0,cancelPendingTileRequestsWhileZooming:!0,maxTileCacheSize:this.tileCacheConfig.maxTiles},G6(e));if(e.maxZoom&&(q.maxZoom=e.maxZoom),e.minZoom&&(q.minZoom=e.minZoom),e.maxBounds&&e.maxBounds.length>1){let ue=dA(e.maxBounds);q.maxBounds=new ps.LngLatBounds([ue[0].lng,ue[0].lat],[ue[1].lng,ue[1].lat])}this.map=new ps.Map(q),this.is3DSceneActive()&&this.scene3DConfig&&(this.scene3D=new t2(this.map,this.scene3DConfig,this.initialCenter)),q6(e)&&((x=(m=this.map.touchZoomRotate)===null||m===void 0?void 0:m.disableRotation)===null||x===void 0||x.call(m)),this.map.addControl(new ps.NavigationControl({showCompass:(I=e.showCompass)!==null&&I!==void 0?I:!0,showZoom:(P=e.showZoom)!==null&&P!==void 0?P:!0}),(N=e.navigationPosition)!==null&&N!==void 0?N:`top-right`),this.map.on(`load`,()=>{var ue,_e;(ue=this.scene3D)===null||ue===void 0||ue.onMapLoad(),this.whenStyleUpdates(o),e.lang&&this.setLayersForLanguage(e.lang),(_e=e.onMapReady)===null||_e===void 0||_e.call(e),this.onHover(),this.subscribeToFailedTiles()}),this.map.on(`styledata`,()=>{this.circles.length>0&&this.ensureCircleLayers()}),this.map.on(`zoom`,()=>{var ue;(ue=this.scene3D)===null||ue===void 0||ue.onZoom()}),this.map.on(`zoomend`,()=>{var ue;(ue=e.onZoomEnd)===null||ue===void 0||ue.call(e,this.getZoomLevel())}),this.map.on(`rotate`,()=>{var ue;(ue=e.onRotate)===null||ue===void 0||ue.call(e,this.map.getBearing())}),this.defaultClickListener()}setBaseFilters(e){if(!e)return;let n=[`==`,[`get`,`public_place`],!0];e.layers.filter(o=>o.id.startsWith(`indoor-`)).forEach(o=>{let c=this.baseFilters[o.id];if(c!=null){let s=[`all`,c,n];this.map.setFilter(o.id,s)}else this.map.setFilter(o.id,n);switch(o.type){case`line`:case`symbol`:case`fill-extrusion`:case`fill`:o.filter!=null&&(this.baseFilters[o.id]=o.filter);break;default:break}})}setLayersForLanguage(e){var n,o;let c=[`aerodrome_label`,`mountain_peak`,`park`,`place`,`poi`,`transportation_name`,`water_name`,`waterway`],s=(o=(n=this.map.getStyle())===null||n===void 0?void 0:n.layers)!==null&&o!==void 0?o:[];s.filter(I=>{var P;return I.type===`symbol`&&I.source===`openmaptiles`&&c.includes((P=I[`source-layer`])!==null&&P!==void 0?P:``)}).map(I=>I.id).forEach(I=>{try{let P=this.map.getLayoutProperty(I,`symbol-placement`);this.map.setLayoutProperty(I,`text-field`,[`case`,[`has`,`name:${e}`],[`get`,`name:${e}`],[`format`,[`get`,`name:latin`],P===`line`?` `:`
|
|
916
|
-
`,[`get`,`name:nonlatin`]]])}catch(P){this.debugLog(`Layer language update failed (layer may not exist)`,P)}}),s.filter(I=>{var P;return I.type===`symbol`&&I.source===`indoorequal`&&((P=I.layout)===null||P===void 0?void 0:P[`text-field`])!==void 0}).map(I=>I.id).forEach(I=>{try{this.map.setLayoutProperty(I,`text-field`,[`case`,[`has`,`name:${e}`],[`get`,`name:${e}`],[`get`,`name`]])}catch(P){this.debugLog(`Layer language update failed (layer may not exist)`,P)}})}prepareSegmentation(e){var n;return Object.assign(Object.assign({},e),{token:this.token,parentPlaceId:(n=this.parentPlaceId)!==null&&n!==void 0?n:`None`})}destroyMap(){this.circles=[],this.map.remove(),this.unsubscribeFromFailedTiles()}clearTileCache(){try{this.failedTiles.clear(),this.map&&this.map.triggerRepaint(),this.logEvent(`clearTileCache`)}catch(e){this.debugLog(`Tile cache clear failed (cache may not exist)`,e)}}is3DSceneActive(){var e;return this.mode===`3D`&&((e=this.scene3DConfig)===null||e===void 0?void 0:e.enabled)!==!1}getCurrentFloor(){var e;return(e=this.currentFloor)!==null&&e!==void 0?e:``}setRouteCollisionPath(e){var n;this.is3DSceneActive()&&((n=this.scene3D)===null||n===void 0||n.setRouteCollisionPath(e))}changeParentPlaceTo(e,n=!1,o){var c,s,m,x,I,P,N;this.parentPlace=e,this.parentPlaceId=e?.mapvxId,this.innerFloors=(s=(c=e?.innerFloors)===null||c===void 0?void 0:c.sort((B,Z)=>B.index-Z.index))!==null&&s!==void 0?s:[],this.currentFloor=(P=(x=(m=this.innerFloors.find(B=>B.defaultFloor))===null||m===void 0?void 0:m.key)!==null&&x!==void 0?x:(I=this.innerFloors[0])===null||I===void 0?void 0:I.key)!==null&&P!==void 0?P:``,e&&this.subPlacesLoad(e.mapvxId),(N=this.scene3D)===null||N===void 0||N.onFloorChange(this.currentFloor),n&&this.repository.fetchAndParseMapStyle(e?.mapvxId).then(B=>{let q=this.tileCacheConfig.enabled&&this.tileCacheConfig.persistToServiceWorker?this.transformStyleForCaching(B):B;this.map.setStyle(q),this.whenStyleUpdates(q),o?.()}).catch(console.error)}updatePlaceAndFloor(e,n){var o,c,s,m,x,I;let P=this.potentialParentPlaces.find(N=>N.mapvxId===e);this.parentPlace=P,this.parentPlaceId=P?.mapvxId,this.innerFloors=(o=P?.innerFloors.sort((N,B)=>N.index-B.index))!==null&&o!==void 0?o:[],this.currentFloor=(x=(s=n??((c=this.innerFloors.find(N=>N.defaultFloor))===null||c===void 0?void 0:c.key))!==null&&s!==void 0?s:(m=this.innerFloors[0])===null||m===void 0?void 0:m.key)!==null&&x!==void 0?x:``,(I=this.scene3D)===null||I===void 0||I.onFloorChange(this.currentFloor)}updateParentPlaceAndFloor(e,n,o){var c,s,m,x;try{this.updatePlaceAndFloor(e,n),this.filterByFloorKey(this.currentFloor),(c=this.onParentPlaceChange)===null||c===void 0||c.call(this,e),(s=this.onFloorChange)===null||s===void 0||s.call(this,(m=this.currentFloor)!==null&&m!==void 0?m:``),this.logEvent(`updateParentPlaceAndFloor`),(x=o?.onComplete)===null||x===void 0||x.call(o)}catch(I){this.debugLog(`Parent place/floor update failed`,I)}}setLang(e){this.repository.setLang(e),mA.includes(e)&&this.setRTLSupport(),this.map.isStyleLoaded()?this.setLayersForLanguage(e):this.map.once(`load`,()=>this.setLayersForLanguage(e))}setParentPlace(e,n,o){this.changeParentPlaceTo(e,n,o)}removeParentPlace(){this.changeParentPlaceTo(void 0,!0)}whenStyleUpdates(e){var n;e&&this.setBaseFilters(e),this.routeController.addSourcesAndLayers(),this.refreshCircles(),this.filterByFloorKey(this.currentFloor),(n=this.scene3D)===null||n===void 0||n.refreshOverlay(this.currentFloor)}addMarker(e){var n,o;try{if(e.id){let m=this.markers.findIndex(x=>x.id===e.id);m!==-1&&(this.markers[m].remove(),this.markers.splice(m,1),this.logEvent(`removeMarker`,{markerId:e.id,reason:`duplicate`}))}let c=new du(e),s=!this.parentPlace||((o=(n=this.innerFloors.find(m=>m.key===this.currentFloor))===null||n===void 0?void 0:n.reachableFromGPS)!==null&&o!==void 0?o:!1);return c.changeFloor(this.currentFloor,this.map,s),this.markers.push(c),this.logEvent(`addMarker`),c.id}catch(c){throw new Error(`Failed to add marker`,{cause:c})}}updateMarker(e){var n;try{let o=this.markers.find(c=>c.id===e.id);return o!==void 0&&o.updateIcon(e),this.logEvent(`updateMarker`),(n=o?.id)!==null&&n!==void 0?n:``}catch(o){throw new Error(`Failed to update marker`,{cause:o})}}updateMarkerPosition(e,n){try{let o=this.markers.find(c=>c.id===e);o!==void 0&&o.setLngLat(n),this.logEvent(`updateMarkerPosition`)}catch(o){throw new Error(`Failed to update marker position`,{cause:o})}}showMarker(e){try{let n=this.markers.find(o=>o.id===e);n!==null&&this.map&&n?.show(this.map),this.logEvent(`showMarker`)}catch(n){this.debugLog(`Show marker failed (marker may not exist)`,n)}}hideMarker(e){try{let n=this.markers.find(o=>o.id===e);n!==null&&n?.hide(),this.logEvent(`hideMarker`)}catch(n){this.debugLog(`Hide marker failed (marker may not exist)`,n)}}removeMarker(e){try{let n=this.markers.find(o=>o.id===e);n!==null&&(n?.remove(),this.markers=this.markers.filter(o=>o.id!==e)),this.logEvent(`removeMarker`)}catch(n){throw new Error(`Failed to remove marker`,{cause:n})}}removeAllMarkers(){try{this.markers.forEach(e=>{e.remove()}),this.markers=[],this.logEvent(`removeAllMarkers`)}catch(e){throw new Error(`Failed to remove all markers`,{cause:e})}}addCircle(e){try{e.id&&(this.circles=this.circles.filter(o=>o.id!==e.id));let n=_A(e);return this.circles.push(n),this.refreshCircles(),this.logEvent(`addCircle`),n.id}catch(n){throw new Error(`Failed to add circle: ${n instanceof Error?n.message:String(n)}`)}}updateCircle(e){try{let n=this.circles.findIndex(o=>o.id===e.id);return n===-1?null:(this.circles[n]=_A(e,this.circles[n].hidden),this.refreshCircles(),this.logEvent(`updateCircle`),this.circles[n].id)}catch(n){throw new Error(`Failed to update circle: ${n instanceof Error?n.message:String(n)}`)}}getCircle(e){let n=this.circles.find(o=>o.id===e);return n?vA(n):void 0}getCircles(){return this.circles.map(vA)}hasCircle(e){return this.circles.some(n=>n.id===e)}updateCirclePosition(e,n,o){try{let c=this.circles.find(x=>x.id===e);if(c===void 0)return!1;if(!n)throw new Error(`Circle center is required`);let{lat:s,lng:m}=n;if(!Number.isFinite(s)||s<-90||s>90)throw new Error(`Invalid latitude: ${s}. Must be between -90 and 90.`);if(!Number.isFinite(m)||m<-180||m>180)throw new Error(`Invalid longitude: ${m}. Must be between -180 and 180.`);if(o!==void 0&&(!Number.isFinite(o)||o<=0))throw new Error(`Invalid radiusMeters: ${o}. Must be a positive finite number.`);return c.coordinate={lat:n.lat,lng:n.lng},o!==void 0&&(c.radiusMeters=o),this.refreshCircles(),this.logEvent(`updateCirclePosition`),!0}catch(c){throw new Error(`Failed to update circle position: ${c instanceof Error?c.message:String(c)}`)}}updateCircleStyle(e,n){try{let o=this.circles.find(c=>c.id===e);return o===void 0?!1:(n.fillColor!==void 0&&(o.fillColor=n.fillColor),n.fillOpacity!==void 0&&(o.fillOpacity=Math.max(0,Math.min(1,n.fillOpacity))),n.strokeColor!==void 0&&(o.strokeColor=n.strokeColor),n.strokeWidth!==void 0&&(o.strokeWidth=n.strokeWidth),n.strokeOpacity!==void 0&&(o.strokeOpacity=Math.max(0,Math.min(1,n.strokeOpacity))),this.refreshCircles(),this.logEvent(`updateCircleStyle`),!0)}catch(o){throw new Error(`Failed to update circle style: ${o instanceof Error?o.message:String(o)}`)}}removeCircle(e){try{this.circles=this.circles.filter(n=>n.id!==e),this.refreshCircles(),this.logEvent(`removeCircle`)}catch(n){throw new Error(`Failed to remove circle`,{cause:n})}}removeAllCircles(){try{this.circles=[],this.refreshCircles(),this.logEvent(`removeAllCircles`)}catch(e){throw new Error(`Failed to remove all circles`,{cause:e})}}showCircle(e){try{let n=this.circles.find(o=>o.id===e);return n===void 0?!1:(n.hidden=!1,this.refreshCircles(),this.logEvent(`showCircle`),!0)}catch(n){return this.debugLog(`Show circle failed`,n),!1}}hideCircle(e){try{let n=this.circles.find(o=>o.id===e);return n===void 0?!1:(n.hidden=!0,this.refreshCircles(),this.logEvent(`hideCircle`),!0)}catch(n){return this.debugLog(`Hide circle failed`,n),!1}}circleFeatureCollection(){var e,n,o;let c=(e=this.currentFloor)!==null&&e!==void 0?e:``,s=!this.parentPlace||((o=(n=this.innerFloors.find(x=>x.key===c))===null||n===void 0?void 0:n.reachableFromGPS)!==null&&o!==void 0?o:!1);return{type:`FeatureCollection`,features:this.circles.filter(x=>{var I;if(x.hidden)return!1;let P=(I=x.floorId)!==null&&I!==void 0?I:``;return P===c||s&&P===``}).map(x=>({type:`Feature`,properties:{id:x.id,fillColor:x.fillColor,fillOpacity:x.fillOpacity,strokeColor:x.strokeColor,strokeWidth:x.strokeWidth,strokeOpacity:x.strokeOpacity,renderOrder:x.renderOrder},geometry:{type:`Polygon`,coordinates:[bA(x.coordinate.lng,x.coordinate.lat,x.radiusMeters)]}}))}}circleBeforeIdFor(e){var n,o,c,s;if(e===`top`)return;let m=((o=(n=this.map.getStyle())===null||n===void 0?void 0:n.layers)!==null&&o!==void 0?o:[]).filter(I=>!bJ(I.id));if(e===`belowLabels`)return(c=m.find(I=>I.type===`symbol`))===null||c===void 0?void 0:c.id;let x=-1;return m.forEach((I,P)=>{I.type!==`symbol`&&(x=P)}),(s=m.slice(x+1).find(I=>I.type===`symbol`))===null||s===void 0?void 0:s.id}ensureCircleLayers(){if(this.map)try{this.map.getSource(om)||this.map.addSource(om,{type:`geojson`,data:this.circleFeatureCollection()});let e=new Set(this.circles.map(n=>n.renderOrder));e.add(`aboveBasemap`);for(let n of Xx){if(!e.has(n))continue;let o=_J(n),c=this.circleBeforeIdFor(n),s=[`==`,[`get`,`renderOrder`],n];if(this.map.getLayer(o.fill))this.map.moveLayer(o.fill,c);else{let m={id:o.fill,type:`fill`,source:om,filter:s,paint:{"fill-color":[`get`,`fillColor`],"fill-opacity":[`get`,`fillOpacity`]}};this.map.addLayer(m,c)}if(this.map.getLayer(o.line))this.map.moveLayer(o.line,c);else{let m={id:o.line,type:`line`,source:om,filter:s,paint:{"line-color":[`get`,`strokeColor`],"line-width":[`get`,`strokeWidth`],"line-opacity":[`get`,`strokeOpacity`]}};this.map.addLayer(m,c)}}}catch(e){this.debugLog(`Layers not added: style not loaded yet, the styledata listener will re-add them`,e)}}refreshCircles(){if(this.map&&!(this.circles.length===0&&!this.map.getSource(om))){this.ensureCircleLayers();try{this.map.getSource(om)?.setData(this.circleFeatureCollection())}catch(e){this.debugLog(`Source not found (a new style may still be loading)`,e)}}}filterByFloorKey(e){this.currentFloor=e;let n=e??``;this.innerFloors.every(o=>o.key!==e)&&e!==``&&this.logEvent(`invalidFloorKey`,{floorKey:n}),this.updateFiltersTo(n),this.updateMarkersTo(n),this.refreshCircles(),this.routeController.updateRouteLayers(n),this.routeController.updateRouteMarkerVisibility(n)}getContainer(){return this.map.getContainer()}resize(){try{this.map&&(this.map.resize(),this.logEvent(`resize`))}catch(e){this.debugLog(`Resize failed (map/container may not be ready)`,e)}}updateMarkersTo(e){var n,o;let c=!this.parentPlace||((o=(n=this.innerFloors.find(s=>s.key===e))===null||n===void 0?void 0:n.reachableFromGPS)!==null&&o!==void 0?o:!1);this.markers.forEach(s=>{s.changeFloor(e,this.map,c)})}updateFiltersTo(e){var n,o,c,s;if(!this.map)return;let m=(o=(n=this.map.getStyle())===null||n===void 0?void 0:n.layers)!==null&&o!==void 0?o:[];m.filter(P=>P.id.startsWith(`base-indoor-`)).forEach(P=>{this.map.removeLayer(P.id)});let x=(c=this.innerFloors.find(P=>P.key===e))===null||c===void 0?void 0:c.baseFloor,I=m.filter(P=>P.id.startsWith(`indoor-`));if(x!=null){let P=(s=I[0])===null||s===void 0?void 0:s.id;I.filter(N=>N.type!==`fill-extrusion`).forEach(N=>{let B=Y6(N);B.id=`base-`+N.id,this.baseFilters[B.id]=this.baseFilters[N.id],this.map.addLayer(B,P),this.applyLayerFilters(B,x)})}I.forEach(P=>{this.applyLayerFilters(P,e)})}applyLayerFilters(e,n){var o;let c=this.baseFilters[e.id],s=n??``,m=[`any`,[`in`,s,[`get`,`floor_key`]]],x=[`==`,[`get`,`public_place`],!0],I=[`!`,[`in`,(o=this.parentPlaceId)!==null&&o!==void 0?o:`noRef`,[`get`,`is_subplace`]]],P=[`in`,s,[`get`,`show_in_floor`]],N=x;this.parentPlaceId!=null&&(N=[`any`,m,x]);let B=[`all`,N,[`any`,I,P]];if(e.id.includes(`hover`)?c=[`in`,this.hoveredId,[`get`,`ref`]]:!e.id.includes(`colored`)&&(e.type==`fill`||e.type===`fill-extrusion`)&&B.push([`!`,[`in`,this.hoveredId,[`get`,`ref`]]]),c!=null){let Z=[`all`,c,B];this.map.setFilter(e.id,Z)}else this.map.setFilter(e.id,B)}getInnerFloors(){return this.innerFloors}updateCamera(e,n){this.map.once(`moveend`,n),this.map.easeTo(Object.assign({},e))}setMaxZoom(e,n){var o;this.map.setMaxZoom(e),(o=n?.onComplete)===null||o===void 0||o.call(n)}setMinZoom(e,n){var o;this.map.setMinZoom(e),(o=n?.onComplete)===null||o===void 0||o.call(n)}setBearing(e,n){var o;if(Number.isFinite(e)){if(n?.animate){n.onComplete&&this.map.once(`moveend`,n.onComplete),this.map.rotateTo(e,{duration:600});return}this.map.setBearing(e),(o=n?.onComplete)===null||o===void 0||o.call(n)}}setRotationEnabled(e){var n,o,c,s,m,x,I,P,N,B;e?((o=(n=this.map.dragRotate)===null||n===void 0?void 0:n.enable)===null||o===void 0||o.call(n),(s=(c=this.map.touchZoomRotate)===null||c===void 0?void 0:c.enableRotation)===null||s===void 0||s.call(c),(x=(m=this.map.keyboard)===null||m===void 0?void 0:m.enable)===null||x===void 0||x.call(m)):((P=(I=this.map.dragRotate)===null||I===void 0?void 0:I.disable)===null||P===void 0||P.call(I),(B=(N=this.map.touchZoomRotate)===null||N===void 0?void 0:N.disableRotation)===null||B===void 0||B.call(N))}setPanEnabled(e){var n,o,c,s;e?(o=(n=this.map.dragPan)===null||n===void 0?void 0:n.enable)===null||o===void 0||o.call(n):(s=(c=this.map.dragPan)===null||c===void 0?void 0:c.disable)===null||s===void 0||s.call(c)}setScrollZoomEnabled(e){var n,o,c,s;e?(o=(n=this.map.scrollZoom)===null||n===void 0?void 0:n.enable)===null||o===void 0||o.call(n):(s=(c=this.map.scrollZoom)===null||c===void 0?void 0:c.disable)===null||s===void 0||s.call(c)}isInsideBounds(e){let n=this.map.getMaxBounds();return n!=null?n.contains(e):!0}setMaxBounds(e,n){var o;if(e.length>1){let c=dA(e);this.map.setMaxBounds(new ps.LngLatBounds([c[0].lng,c[0].lat],[c[1].lng,c[1].lat]))}(o=n?.onComplete)===null||o===void 0||o.call(n)}fitCoordinates(e,n){var o,c;if(e.length===0)return;let s=n?.onComplete;if(e.length===1){let[m]=e;s&&this.map.once(`moveend`,s),this.map.setCenter({lat:m.lat,lng:m.lng})}else{let m,x,I,P;for(let Ke of e){let{lat:ot,lng:Zt}=Ke;m=m===void 0?ot:Math.min(m,ot),x=x===void 0?Zt:Math.min(x,Zt),I=I===void 0?ot:Math.max(I,ot),P=P===void 0?Zt:Math.max(P,Zt)}let N=[x??0,m??0,P??0,I??0],B=this.map.getContainer(),Z=B.clientWidth,q=B.clientHeight,ue=X6(n?.padding,Z,q),_e=Object.assign(Object.assign({},n),{padding:ue}),he=this.map.getBearing(),Pe=this.map.getPitch();(o=_e.bearing)!==null&&o!==void 0||(_e.bearing=he),(c=_e.pitch)!==null&&c!==void 0||(_e.pitch=Pe),s&&this.map.once(`moveend`,s),this.map.fitBounds(N,_e)}}easeToCoordinates(e,n){var o,c,s;if(e.length===0)return;let m=n?.onComplete,x=this.map.getContainer(),I=x.clientWidth,P=x.clientHeight,N=X6(n?.padding,I,P);if(e.length===1){let[_e]=e;m&&this.map.once(`moveend`,m),this.map.easeTo(Object.assign(Object.assign({},n),{center:{lat:_e.lat,lng:_e.lng},padding:N}));return}let B=(o=n?.bearing)!==null&&o!==void 0?o:this.map.getBearing(),Z=(c=n?.pitch)!==null&&c!==void 0?c:this.map.getPitch(),q={bearing:B,padding:N,containerWidth:I,containerHeight:P,maxZoom:(s=n?.maxZoom)!==null&&s!==void 0?s:this.map.getMaxZoom(),minZoom:this.map.getMinZoom()},ue=$6(e,q);Z>0&&(ue=H6(this.map.transform.clone(),e,ue,Object.assign(Object.assign({},q),{pitch:Z}))),m&&this.map.once(`moveend`,m),this.map.easeTo(Object.assign(Object.assign({},n),{center:ue.center,zoom:ue.zoom,bearing:B,pitch:Z,padding:N}))}fitRouteByPlace(e,n,o){let c=e.steps.filter(m=>m.startInsidePlace===n||m.endInsidePlace===n);if(c.length===0)return;let s=c.flatMap(m=>b6(m));s.length>0&&this.fitCoordinates(s,o)}getZoomLevel(){return this.map.getZoom()}updateFloor(e,n){var o,c,s;try{this.filterByFloorKey(e),(o=this.scene3D)===null||o===void 0||o.onFloorChange(this.currentFloor),(c=this.onFloorChange)===null||c===void 0||c.call(this,e),this.logEvent(`updateFloor`,{floorId:e}),(s=n?.onComplete)===null||s===void 0||s.call(n)}catch(m){this.debugLog(`Floor update failed`,m)}}updatePlaceAndFloorForRouting(e,n){var o;try{this.updatePlaceAndFloor(e,n),this.updateFiltersTo(n),this.updateMarkersTo(n),(o=this.onFloorChange)===null||o===void 0||o.call(this,n),this.logEvent(`updatePlaceAndFloorForRouting`,{floorId:n})}catch(c){this.debugLog(`Place/floor update for routing failed`,c)}}async addRoute(e,n={}){try{this.logEvent(`addRoute`);let o=new jo(e),c=new Wl(n),s=await this.repository.fetchAndParseRoute(o);return this.routeController.addRoute(s,c),s}catch(o){throw new Error(`Error: Failed to add route`,{cause:o})}}async addLiveRoute(e,n={}){try{this.logEvent(`addLiveRoute`);let o=new jo(e),c=new Wl(n),s=++this.liveRouteTicket,m=await this.repository.fetchAndParseLiveRoute(o);return s!==this.liveRouteTicket||(this.liveRouteId!==void 0&&this.liveRouteId!==m.id&&this.routeController.removeRoute(this.liveRouteId),this.routeController.getRouteIds().includes(m.id)&&this.routeController.removeRoute(m.id),this.routeController.addRoute(m,c),this.liveRouteId=m.id),m}catch(o){let c=o instanceof Error?o.message:String(o);throw new Error(`Error: Failed to add route: ${c}`,{cause:o})}}updateRouteProgress(e,n,o={type:`Solid`,color:`#276EF1`}){try{let c=new Wl({routeStyle:o});this.routeController.updateRouteProgress(e,n,c)}catch(c){this.debugLog(`Route update failed (route may not exist)`,c)}}removeRoute(e){try{this.logEvent(`removeRoute`),this.routeController.removeRoute(e)}catch(n){this.debugLog(`Remove route failed (no route may exist)`,n)}this.syncLiveRouteId()}removeRouteById(e){try{this.logEvent(`removeRouteById`),this.routeController.removeRoute(e)}catch(n){this.debugLog(`Remove route failed (route may not exist)`,n)}this.syncLiveRouteId()}removeAllRoutes(){try{this.logEvent(`removeAllRoutes`),this.routeController.removeAllRoutes()}catch(e){this.debugLog(`Remove all routes failed`,e)}this.syncLiveRouteId()}syncLiveRouteId(){this.liveRouteId!==void 0&&!this.routeController.getRouteIds().includes(this.liveRouteId)&&(this.liveRouteId=void 0)}getActiveRouteIds(){return this.routeController.getRouteIds()}addPopOver(e){let n=e.placeId;if(n!==void 0){let o=this.subPlaces.find(c=>c.clientId===n||c.mapvxId===n);o!==void 0&&new ps.default.Popup().setLngLat(o.position).setText(o.title).addTo(this.map)}return``}removePopOver(e){throw Error(`Not implemented`)}startClickListener(e){this.clickCallback=e}stopClickListener(){this.clickCallback=void 0}defaultClickListener(){this.map.on(`click`,async e=>{var n,o;let x=this.map.queryRenderedFeatures(e.point).filter(I=>{var P;return I.properties.class===`room`&&((P=I.properties)===null||P===void 0?void 0:P.floor_key)===this.currentFloor})[0]?.properties.ref;if(x!=null&&typeof x==`string`&&x.length>0){console.log(`touchedFeature`,x);let I=this.subPlaces.find(N=>N.mapvxId===x);if(I===void 0)for(let N of this.potentialParentPlaces){let B=this.repository.getCachedSubPlaces(N.mapvxId);if(B&&(I=B.find(Z=>Z.mapvxId===x),I!==void 0))break}if(I===void 0){let N=this.repository.getCachedPlaces([x]);N.length===0?(console.log(`fetching place detail from server`,x),I=await this.repository.fetchAndParsePlaceDetail({id:x})):(console.log(`using cached place detail`,x),I=N?.[0])}console.log(`clickedPlace`,I?.title);let P=(o=(n=I?.mapvxId)!==null&&n!==void 0?n:I?.clientId)!==null&&o!==void 0?o:``;I!==void 0&&this.clickCallback&&this.clickCallback(P)}})}onHover(){this.enableHover&&(this.map.on(`mousemove`,`hoverable`,e=>{var n;let c=((n=e.features)===null||n===void 0?void 0:n.find(s=>{var m,x;return((m=s.properties.ref)===null||m===void 0?void 0:m.length)>0&&((x=s.properties)===null||x===void 0?void 0:x.floor_key)===this.currentFloor}))?.properties.ref;c!=null&&typeof c==`string`&&c.length>0?(this.hoveredId=c,this.updateFiltersTo(this.currentFloor)):c===void 0&&this.hoveredId!==`unselected`&&(this.hoveredId=`unselected`,this.updateFiltersTo(this.currentFloor))}),this.map.on(`mouseleave`,`hoverable`,()=>{this.hoveredId=`unselected`,this.updateFiltersTo(this.currentFloor)}))}setPlacesAsSelected(e,n){try{this.hasLayer(`indoor-colored-places`)||this.createColoredPlacesLayer();let o=this.createBasicFilters(),s=[`any`,...e.map(x=>[`==`,[`get`,`ref`],x])],m=[`all`,s,o];if(this.map.setFilter(`indoor-colored-places`,m),this.baseFilters[`indoor-colored-places`]=s,n!==void 0)switch(this.map.getLayer(`indoor-colored-places`)?.type){case`fill`:this.map.setPaintProperty(`indoor-colored-places`,`fill-color`,n);break;case`fill-extrusion`:this.map.setPaintProperty(`indoor-colored-places`,`fill-extrusion-color`,n);break;default:break}}catch(o){this.debugLog(`Place selection failed (layer may not exist)`,o)}}is3DStyle(){return this.map.getStyle().layers.some(n=>n.type===`fill-extrusion`)}createColoredPlacesLayer(){if(this.is3DStyle()){let e={id:`indoor-colored-places`,type:`fill-extrusion`,source:`indoorequal`,"source-layer":`area`,filter:[`all`,[`has`,`ref`],[`==`,[`get`,`ref`],`unselected`]],paint:{"fill-extrusion-height":2.5,"fill-extrusion-color":bp,"fill-extrusion-opacity":.8}};this.map.addLayer(e)}else{let e={id:`indoor-colored-places`,type:`fill`,source:`indoorequal`,"source-layer":`area`,filter:[`all`,[`has`,`ref`],[`==`,[`get`,`ref`],`unselected`]],paint:{"fill-color":bp}};this.map.addLayer(e)}}createBasicFilters(){var e,n;let o=[`==`,[`get`,`public_place`],!0],c=[`!`,[`in`,(e=this.parentPlaceId)!==null&&e!==void 0?e:`noRef`,[`get`,`is_subplace`]]],s=(n=this.currentFloor)!==null&&n!==void 0?n:`noRef`,m=[`in`,s,[`get`,`floor_key`]],x=[`in`,s,[`get`,`show_in_floor`]],I=o;return this.parentPlaceId!=null&&(I=[`any`,m,o]),[`all`,I,[`any`,c,x]]}hasLayer(e){return this.map.getLayer(e)!==void 0}clearColoredPlaces(){if(this.hasLayer(`indoor-colored-places`)){let e=[`==`,[`get`,`ref`],`unselected`];this.baseFilters[`indoor-colored-places`]=e,this.map.setFilter(`indoor-colored-places`,e)}}async startAnimateRoute(e,n={},o={}){try{let c;if(e instanceof So)c=e;else{let x=new jo(e);c=await this.repository.fetchAndParseRoute(x)}let s=new vp(n),m=new yp(o);return this.routeController.startAnimating(c,s,m),c}catch(c){throw new Error(`Error: Failed to start animating route`,{cause:c})}}async startAnimateRouteV2(e,n={},o={}){try{let c;if(e instanceof So)c=e;else{let x=new jo(e);c=await this.repository.fetchAndParseRouteV2(x)}let s=new vp(n),m=new yp(o);return this.routeController.startAnimating(c,s,m),c}catch(c){throw new Error(`Error: Failed to start animating route`,{cause:c})}}pauseAnimateRoute(e){try{this.routeController.pauseAnimation(e),this.logEvent(`pauseAnimateRoute`)}catch(n){this.debugLog(`Pause animation failed (no animation may be running)`,n)}}resumeAnimateRoute(e){try{this.routeController.resumeAnimation(e),this.logEvent(`resumeAnimateRoute`)}catch(n){this.debugLog(`Resume animation failed (no animation may be paused)`,n)}}restartAnimateRoute(e){try{this.routeController.restartAnimation(e),this.logEvent(`restartAnimateRoute`)}catch(n){this.debugLog(`Restart animation failed (no animation may exist)`,n)}}stopAnimateRoute(){this.logWarning(new Error(`Not implemented`),{functionName:`stopAnimateRoute`})}async addStepAnimation(e,n={},o={}){try{let c;if(e instanceof So)c=e;else{let x=new jo(e);c=await this.repository.fetchAndParseRoute(x)}let s=new vp(n),m=new yp(o);return this.routeController.addStepAnimation(c,s,m),this.logEvent(`addStepAnimation`),c}catch(c){throw new Error(`Error: Failed to add step animation`,{cause:c})}}async addStepAnimationV2(e,n={},o={}){try{let c;if(e instanceof So)c=e;else{let x=new jo(e);c=await this.repository.fetchAndParseRouteV2(x)}let s=new vp(n),m=new yp(o);return this.routeController.addStepAnimation(c,s,m),this.logEvent(`addStepAnimationV2`),c}catch(c){throw new Error(`Error: Failed to add step animation`,{cause:c})}}nextStepAnimation(e){try{this.routeController.nextStepAnimation(e),this.logEvent(`nextStepAnimation`)}catch(n){throw new Error(`Error: Failed to animate step`,{cause:n})}}previousStepAnimation(e){try{this.routeController.previousStepAnimation(e),this.logEvent(`previousStepAnimation`)}catch(n){let o=n instanceof Error?n.message:String(n);throw new Error(`Error: Failed to prepare to animate previous step, `+o)}}centerOnCurrentStepAnimation(e){try{this.routeController.centerOnCurrentStep(e),this.logEvent(`centerOnCurrentStepAnimation`)}catch(n){let o=n instanceof Error?n.message:String(n);throw new Error(`Error: Failed to center on current step animation, `+o)}}addUserLocationTracking(e,n,o){let c={lat:0,lng:0},s;if(o!=null)s=o;else{let P=new Image(40,40);P.src=c6,s=P}let x=new du({coordinate:c,icon:s,text:``});x.addToMap(this.map),this.userLocationMarker=x;let I=P=>{x.setLngLat([P.coords.longitude,P.coords.latitude])};this.geoLocation=n??navigator.geolocation,this.watchPositionID=this.geoLocation.watchPosition(I,P=>{console.error(`Error getting user location:`,P)},{enableHighAccuracy:e})}removeUserLocationTracking(){this.userLocationMarker!==void 0&&(this.userLocationMarker.remove(),this.userLocationMarker=void 0,this.watchPositionID&&(this.geoLocation.clearWatch(this.watchPositionID),this.watchPositionID=void 0))}getBearing(){return this.map.getBearing()}addBorderToPlaces(e,n,o){try{this.hasLayer(`indoor-bordered-places`)||this.createBorderedPlacesLayer();let c=this.createBasicFilters(),m=[`any`,...e.map(I=>[`==`,[`get`,`ref`],I])],x=[`all`,m,c];this.map.setFilter(`indoor-bordered-places`,x),this.baseFilters[`indoor-bordered-places`]=m,n!==void 0&&o!==void 0&&(this.map.setPaintProperty(`indoor-bordered-places`,`line-color`,n),this.map.setPaintProperty(`indoor-bordered-places`,`line-width`,o))}catch(c){throw new Error(`Failed to add border to places`,{cause:c})}}createBorderedPlacesLayer(){let e={id:`indoor-bordered-places`,type:`line`,source:`indoorequal`,"source-layer":`area`,filter:[`all`,[`has`,`ref`],[`==`,[`get`,`ref`],`unselected`]],paint:{"line-color":bp,"line-width":4}};this.map.addLayer(e)}clearBorderedPlaces(){if(this.hasLayer(`indoor-bordered-places`)){let e=[`==`,[`get`,`ref`],`unselected`];this.baseFilters[`indoor-bordered-places`]=e,this.map.setFilter(`indoor-bordered-places`,e)}}onWebGLContextLost(e){var n,o;e.originalEvent.preventDefault(),console.warn(`Contexto WebGL perdido 😢`);let c=(n=this===null||this===void 0?void 0:this.map)===null||n===void 0?void 0:n.getCanvas(),s=c?.getContext(`webgl`)||c?.getContext(`webgl2`);if(s&&s.isContextLost()){c.addEventListener(`webglcontextrestored`,()=>{console.debug(`Contexto WebGL restaurado, forzando re-render`),this.map.triggerRepaint(),this.failedTiles.clear()},{once:!0});let m=s.getExtension(`WEBGL_lose_context`);(o=m?.restoreContext)===null||o===void 0||o.call(m)}}onWebGLContextRestored(){console.debug(`Evento webglcontextrestored recibido, haciendo map.redraw()`),this.map.redraw(),this.failedTiles.clear()}onSourceData(e){var n;if(e.source.type===`vector`&&e.sourceId===`indoorequal`&&e.tile&&!e.isSourceLoaded){let o=(n=e.tile)===null||n===void 0?void 0:n.state;(o===`errored`||o===`expired`)&&this.failedTiles.add(e.tile)}}onSourceDataAbort(e){e.source.type===`vector`&&e.sourceId===`indoorequal`&&e.tile&&this.failedTiles.delete(e.tile)}subscribeToFailedTiles(){this.retryTimer||(this.boundOnSourceData=this.onSourceData.bind(this),this.boundOnSourceDataAbort=this.onSourceDataAbort.bind(this),this.boundOnWebGLContextLost=this.onWebGLContextLost.bind(this),this.boundOnWebGLContextRestored=this.onWebGLContextRestored.bind(this),this.retryTimer=setInterval(()=>{if(!this.map.getSource(`indoorequal`)){this.failedTiles.clear();return}let e=this.map.getSource(`indoorequal`);if(!e||e.type!==`vector`){this.failedTiles.clear();return}let n=[],o=[];this.failedTiles.forEach(s=>{if(!s||s.state===`unloaded`||s.state===`loading`){o.push(s);return}s.state===`errored`||s.state===`expired`?n.push(s):o.push(s)}),o.forEach(s=>this.failedTiles.delete(s));let c=Date.now();n.forEach(s=>{var m;let x=(m=this.tileRetryState.get(s))!==null&&m!==void 0?m:{attempts:0,nextAttemptAt:0,pending:!1};if(x.pending||c<x.nextAttemptAt)return;let I=P=>{let N=x.attempts+1;if(N>=W6){this.debugLog(`Tile reload failed ${N} times, dropping it from the retry queue`,P),this.failedTiles.delete(s),this.tileRetryState.delete(s);return}let B=vJ*2**(N-1);this.debugLog(`Tile reload failed (attempt ${N}/${W6}), retrying in ${B}ms`,P),this.tileRetryState.set(s,{attempts:N,nextAttemptAt:Date.now()+B,pending:!1})};try{s&&(s.state===`errored`||s.state===`expired`)&&(this.tileRetryState.set(s,Object.assign(Object.assign({},x),{pending:!0})),e.loadTile(s).then(()=>{this.tileRetryState.delete(s)}).catch(I))}catch(P){I(P)}})},1e3),this.map.on(`sourcedata`,this.boundOnSourceData),this.map.on(`sourcedataabort`,this.boundOnSourceDataAbort),this.map.on(`webglcontextlost`,this.boundOnWebGLContextLost),this.map.on(`webglcontextrestored`,this.boundOnWebGLContextRestored))}unsubscribeFromFailedTiles(){this.retryTimer&&(clearInterval(this.retryTimer),this.retryTimer=void 0),this.boundOnSourceData&&(this.map.off(`sourcedata`,this.boundOnSourceData),this.boundOnSourceData=void 0),this.boundOnSourceDataAbort&&(this.map.off(`sourcedataabort`,this.boundOnSourceDataAbort),this.boundOnSourceDataAbort=void 0),this.boundOnWebGLContextLost&&(this.map.off(`webglcontextlost`,this.boundOnWebGLContextLost),this.boundOnWebGLContextLost=void 0),this.boundOnWebGLContextRestored&&(this.map.off(`webglcontextrestored`,this.boundOnWebGLContextRestored),this.boundOnWebGLContextRestored=void 0),this.failedTiles.clear()}};function J6(t){return t instanceof DeviceOrientationEvent}function e8(t){return typeof t==`string`?{id:t}:t}function PA(t,e){return new i2(t,Object.assign(Object.assign({},{lang:`en`,apiUrl:`https://public-api.mapvx.com`,cache:{persistent:!1}}),e))}var i2=class extends fu{constructor(e,n){var o,c,s;super(),this.maps=[],this.geoLocation=navigator.geolocation,this.headingListeners=[],this.token=e,this.config=n;let m=new ip({persistent:(o=n.cache)===null||o===void 0?void 0:o.persistent,maxStorageBytes:(c=n.cache)===null||c===void 0?void 0:c.maxStorageBytes,configs:(s=n.cache)===null||s===void 0?void 0:s.configs});this.repository=new rm(e,this.config.lang,this.config.apiUrl,m,this.config.mapvxRequestContext),this.cachePlaces(),this.logEvent(`initSDK`)}cachePlaces(){this.repository.fetchAndParseAvailablePlaces().catch(()=>{})}setSdkLang(e){this.config.lang=e,this.repository.setLang(e),this.maps.forEach(n=>n.setLang(e))}unregisterMap(e){let n=this.maps.indexOf(e);n>=0&&this.maps.splice(n,1)}async getPlaceDetail(e){try{let n=e8(e),o=await this.repository.fetchAndParsePlaceDetail(n);return this.logEvent(`getPlaceDetail`,{id:n.id}),o}catch(n){throw new Error(`Error getPlaceDetail`,{cause:n})}}async getAnyPlaceDetail(e,n){try{let o=e8(e),c=await this.repository.fetchAndParseAnyPlaceDetail(o,n);return this.logEvent(`getAnyPlaceDetail`,{id:o.id}),c}catch(o){throw new Error(`Error getAnyPlaceDetail`,{cause:o})}}prepareSegmentation(e){return Object.assign(Object.assign({},e),{token:this.token})}createMap(e,n){try{n.lang=this.config.lang,n.apiUrl=this.config.apiUrl,n.mapvxRequestContext=this.config.mapvxRequestContext;let o=new r2(n,e,this.token),c=o.destroyMap.bind(o);return o.destroyMap=()=>{try{c()}finally{this.unregisterMap(o)}},this.maps.push(o),this.logEvent(`createMap`),o}catch(o){throw new Error(`Failed to create map`,{cause:o})}}async getConfiguration(e,n){try{let o=await this.repository.fetchAndParseConfiguration(e,n);return this.logEvent(`configuration`),o}catch(o){throw new Error(`Failed to get configuration`,{cause:o})}}async getCategories(e){try{let n=await this.repository.fetchAndParseCategories(e);return this.logEvent(`categories`),n}catch(n){throw new Error(`Failed to get categories`,{cause:n})}}async getTransport(e){try{return await this.repository.fetchAndParseTransport(e)}catch(n){throw new Error(`Failed to get transport`,{cause:n})}}getCachedPlaces(e){try{let n=this.repository.getCachedPlaces(e);return this.logEvent(`getCachedPlaces`),n}catch(n){throw new Error(`Failed to get cached places`,{cause:n})}}async getAvailablePlaces(){try{let e=await this.repository.fetchAndParseAvailablePlaces();return this.logEvent(`getAvailablePlaces`),e}catch(e){throw new Error(`Failed to get available places`,{cause:e})}}async getSubPlaces(e){try{let n=await this.repository.fetchAndParseSubPlaces(e);return this.logEvent(`getSubPlaces`),n}catch(n){throw new Error(`Failed to get subplaces`,{cause:n})}}async getPlacesFromInstitution(e,n){try{let o=await this.repository.fetchAndParsePlacesFromInstitution(e,n);return this.logEvent(`getPlacesFromInstitution`),o}catch(o){throw new Error(`Failed to get places from institution`,{cause:o})}}async getAnySubPlaces(e,n){try{let o=await this.repository.fetchAndParseAnySubPlaces(e,n);return this.logEvent(`getAnySubPlaces`),o}catch(o){throw new Error(`Failed to get any sub-places`,{cause:o})}}async getInstitutions(){try{let e=await this.repository.fetchAndParseInstitutions();return this.logEvent(`getInstitutions`),e}catch(e){throw new Error(`Error getInstitution`,{cause:e})}}async getRoute(e){try{let n=new jo(e),o=await this.repository.fetchAndParseRoute(n);return this.logEvent(`getRoute`),o}catch(n){throw new Error(`Failed to get route`,{cause:n})}}async getRouteV2(e){try{let n=new jo(e),o=await this.repository.fetchAndParseRouteV2(n);return this.logEvent(`getRouteV2`),o}catch(n){throw new Error(`Failed to get route`,{cause:n})}}async getLiveRoute(e){try{let n=new jo(e),o=await this.repository.fetchAndParseLiveRoute(n);return this.logEvent(`getLiveRoute`),o}catch(n){throw new Error(`Failed to get route`,{cause:n})}}async getPlacesByInput(e,n,o,c,s,m,x,I){try{let P=o?c?[o,...c]:[o]:c,N=await this.repository.fetchAndParseSearchResults(n,e,P,s,m,x,I);return this.logEvent(`getPlacesByInput`),N}catch(P){throw new Error(`Failed to get places by input`,{cause:P})}}async searchPlacesByTags(e,n,o={}){if(!n||n.length===0)throw new Error(`searchPlacesByTags requires at least one tag`);let{parentPlaces:c,sort:s,origin:m,lat:x,lng:I,floor:P}=o;if(s===`distance`){let N=x!=null&&I!=null&&P!=null&&c!=null&&c.length>0;if(!m&&!N)throw new Error(`searchPlacesByTags with sort "distance" requires "origin" or "lat" + "lng" + "floor" + "parentPlaces"`)}try{let N=await this.repository.fetchAndParseSearchPlacesByTags(e,n,c,s,m,x,I,P);return this.logEvent(`searchPlacesByTags`),N}catch(N){throw new Error(`Failed to search places by tags`,{cause:N})}}async getPlacesByCategory(e){try{return this.logEvent(`getPlacesByCategory`),[]}catch(n){throw new Error(`Failed to get places by category`,{cause:n})}}setGeoLocation(e){this.geoLocation=e}getUserLocation(e={enableHighAccuracy:!0,timeout:60*1e3,maximumAge:10*1e3}){return new Promise((n,o)=>{this.geoLocation.getCurrentPosition(c=>{n(c)},c=>{o(c)},e)})}watchUserPosition(e,n,o={enableHighAccuracy:!0,timeout:60*1e3,maximumAge:1e3}){return this.geoLocation.watchPosition(c=>{e(c)},c=>{n(c)},o)}unWatchUserPosition(e){this.geoLocation.clearWatch(e)}watchUserHeading(e,n){let o=c=>{if(!J6(c))return;let s=null;c.webkitCompassHeading!==void 0?s=c.webkitCompassHeading||null:c.absolute&&c.alpha!==null&&(s=360-c.alpha),s!==null?e(s):n(`Could not retrieve heading information.`)};this.headingListeners.push(o),`ondeviceorientationabsolute`in window?window.addEventListener(`deviceorientationabsolute`,o):`ondeviceorientation`in window&&window.addEventListener(`deviceorientation`,o)}unwatchUserHeading(){this.headingListeners.forEach(e=>{window.removeEventListener(`deviceorientationabsolute`,e),window.removeEventListener(`deviceorientation`,e)}),this.headingListeners=[]}static getLang(){return this.config.lang}async loadRoutesForOriginCache(e,n,o,c,s){await this.repository.fetchAndParseRoutesFromOrigin(e,n,o,c,s)}async getCacheTimestamp(e){try{let n=await this.repository.fetchAndParseCacheTimestamp(e);return this.logEvent(`getCacheTimestamp`),n}catch(n){throw new Error(`Failed to get cache timestamp`,{cause:n})}}cleanRoutesCache(){this.repository.cleanRoutesCache()}async getCssCustomization(e){try{let n=await this.repository.fetchAndParseCssCustomization(e);return this.logEvent(`cssCustomization`),n}catch(n){throw new Error(`Failed to get css customization`,{cause:n})}}async notifyHealth(e,n,o,c){try{return await this.repository.postAndParseHealthPing(e,n,o,c)}catch(s){throw new Error(`Failed to notify health`,{cause:s})}}};var Eo=class t{logger=se(Ct);_sdk;get sdk(){if(this._sdk!=null)return this._sdk;throw this.logger.log(`Called sdk access without sdk initialized`),new Error(`SDK not initialized`)}initialize(e,n=`en`){this._sdk=PA(e,{lang:n})}isInitialized(){return this._sdk!=null}createMap(e,n){return this.sdk.createMap(e,n)}async getAvailablePlaces(){return this.sdk.getAvailablePlaces()}async getSubPlaces(e){return this.sdk.getSubPlaces(e)}async getConfiguration(){return this.sdk.getConfiguration()}async searchPlaces(e,n){return this.sdk.getPlacesByInput(e,n)}async getInstitutions(){return this.sdk.getInstitutions()}async getPlaceDetail(e){return this.sdk.getPlaceDetail(e)}async getRoute(e,n){let o={initialLocation:Bs(e)?e.position:{id:e.mapvxId},finalLocation:Bs(n)?n.position:{id:n.mapvxId}};return this.sdk.getRouteV2(o)}watchUserLocation(e,n){return this.sdk.watchUserPosition(o=>e(A1(o)),o=>n(new Error(`Error watching user location`,{cause:o})))}stopWatchingUserLocation(e){this.sdk.unWatchUserPosition(e)}watchUserHeading(e,n){return this.sdk.watchUserHeading(e,o=>n(new Error(`Error watching user bearing: ${o}`)))}stopWatchingUserHeading(){this.sdk.unwatchUserHeading()}static ɵfac=function(n){return new(n||t)};static ɵprov=ct({token:t,factory:t.ɵfac,providedIn:`root`})};var tr=class t{onDestroy=new Jt;logger=se(Ct);sdkService=se(Eo);loadedDataService=se(In);_map;mapReady=new Cn(!1);rotation=new Cn(0);configuration;currentParentPlaceId;currentFloorId=dt(void 0);get map(){if(this._map!=null)return this._map;throw this.logger.log(`Called map access without map created`),new Error(`Map not created`)}ngOnDestroy(){this.mapReady.complete(),this.onDestroy.next(),this.onDestroy.complete()}createMap(e,n){this.mapReady.next(!1),this._map!=null?(this.logger.log(`====> map already exists, waiting for container to be ready`),this.waitForMapContainer(e,this._map.getContainer(),n)):(this.logger.log(`====> map does not exist, creating new map`),this.loadedDataService.getConfiguration().pipe(ri(this.onDestroy)).subscribe(o=>{this.configuration=o;let c={zoom:o.initialZoom??15,center:o.initialCenter??{lat:0,lng:0},maxZoom:o.limitZoomIn,minZoom:o.limitZoomOut,lang:o.defaultLanguage,maxBounds:o.pointsOfInterest,otherPotentialParentPlacesIds:o.potentialParentPlaces,onMapReady:()=>{n?.(),this.mapReady.next(!0)},onRotate:s=>{this.rotation.next(s)},onFloorChange:s=>{this.currentFloorId.set(s)}};this._map=this.sdkService.createMap(e,c)}))}waitForMapContainer(e,n,o){let s=0,m=()=>{s++;try{e.replaceWith(n),o?.(),this.mapReady.next(!0);return}catch{this.logger.log(`Map container not ready yet, attempt ${s}/100`)}s<100?setTimeout(m,100):(this.logger.logWarning(`Map container not available after maximum attempts, creating new map`),this._map?.destroyMap(),this._map=void 0,this.mapReady.next(!1),this.createMap(e,o))};m()}waitUntilMapReady(e){return Lo([e,this.mapReady]).pipe(gr(([,n])=>n),en(([n])=>n))}waitUntilMapIsReady(){return e=>this.waitUntilMapReady(e)}removeAllMarkers(){try{this.map.removeAllMarkers()}catch(e){this.logger.logWarning(`Error removing all markers`,e)}}removeMarker(e){try{this.map.removeMarker(e)}catch(n){this.logger.logWarning(`Error removing marker`,n)}}addMarker(e){try{this.map.addMarker(e)}catch(n){this.logger.logWarning(`Error adding marker`,n)}}updateMarkerPosition(e,n){try{this.map.updateMarkerPosition(e,n),this.logger.log(`Update marker position success with arguments `,e,n)}catch(o){this.logger.log(`Update marker position failed with arguments `,e,n),this.logger.logWarning(new Error(`Update marker position failed`,{cause:o}))}}updateZoomLevelOn(e){let n=this.map.getZoomLevel();try{this.map.updateCamera({zoom:n+e})}catch(o){this.logger.logWarning(`Error updating zoom level`,o)}}updateToInitialCamera(){try{this.map.updateCamera({center:this.configuration?.initialCenter??{lat:0,lng:0},zoom:this.configuration?.initialZoom??15,pitch:this.configuration?.initialPitch??0,bearing:0})}catch(e){this.logger.logWarning(`Error updating to initial camera`,e)}}updateCamera(e,n){try{this.map.updateCamera(e,n)}catch(o){this.logger.logWarning(`Error updating camera`,o)}}fitCoordinates(e,n){try{let o=this.map.getBearing();this.logger.log(`Current map bearing is ${o}`),this.map.fitCoordinates(e,r({bearing:o},n))}catch(o){this.logger.log(`Fit coordinates failed with arguments `,e,n),this.logger.logWarning(new Error(`Fit coordinates failed`,{cause:o}))}}fitRoute(e,n,o,c){let s=[e,n,...o.legs.flatMap(x=>x.steps.flatMap(I=>I.coordinates))],m=this.map.getBearing();try{this.map.fitCoordinates(s,r({bearing:m},c))}catch(x){this.logger.log(`Fit route failed with arguments `,o,c),this.logger.logWarning(new Error(`Fit route failed`,{cause:x}))}}startAnimatingRoute(e,n,o){try{this.map.startAnimateRouteV2(e,n,o).catch(c=>{this.logger.logWarning(`Error starting animating route`,c)})}catch(c){this.logger.logWarning(`Error starting animating route`,c)}}addStepAnimation(e,n,o){try{this.map.addStepAnimationV2(e,n,o).catch(c=>{this.logger.logWarning(`Error adding step animation`,c)})}catch(c){this.logger.logWarning(`Error adding step animation`,c)}}nextStepAnimation(){try{this.map.nextStepAnimation()}catch(e){this.logger.logWarning(`Error animating next step`,e)}}previousStepAnimation(){try{this.map.previousStepAnimation()}catch(e){this.logger.logWarning(`Error animating previous step`,e)}}centerOnCurrentStepAnimation(){try{this.map.centerOnCurrentStepAnimation()}catch(e){this.logger.logWarning(`Error centering on current step`,e)}}pauseAnimatingRoute(){try{this.map.pauseAnimateRoute()}catch(e){this.logger.logWarning(`Error pausing animating route`,e)}}resumeAnimatingRoute(){try{this.map.resumeAnimateRoute()}catch(e){this.logger.logWarning(`Error resuming animating route`,e)}}restartAnimatingRoute(){try{this.map.restartAnimateRoute()}catch(e){this.logger.logWarning(`Error restarting animating route`,e)}}removeRoute(){try{this.map.removeRoute()}catch(e){this.logger.logWarning(`Error removing route`,e)}}parentPlaceReady=Promise.resolve();setParentPlace(e,n){try{let o=e.mapvxId!==this.currentParentPlaceId;this.currentParentPlaceId=e.mapvxId,this.parentPlaceReady=new Promise(c=>{let s=()=>{n?.(),c()};this.map.setParentPlace(e,o,s),o||s()})}catch(o){this.logger.logWarning(`Error setting parent place`,o),this.parentPlaceReady=Promise.resolve()}}waitForParentPlaceReady(){return this.parentPlaceReady}updateFloor(e){try{this.map.updateFloor(e),this.currentFloorId.set(e)}catch(n){this.logger.logWarning(`Error updating floor`,n)}}removeParentPlace(){try{this.map.removeParentPlace(),this.currentParentPlaceId=void 0}catch(e){this.logger.logWarning(`Error removing parent place and floor`,e)}}prepareToReuse(){this.mapReady.next(!1)}static ɵfac=function(n){return new(n||t)};static ɵprov=ct({token:t,factory:t.ɵfac,providedIn:`root`})};var NA={};w(NA,{faAdd:()=>aee,faArrowDown:()=>FJ,faArrowDownArrowUp:()=>s8,faArrowDownFromArc:()=>KJ,faArrowDownFromBracket:()=>mte,faArrowDownFromDottedLine:()=>$ee,faArrowDownFromLine:()=>S8,faArrowDownLeft:()=>lte,faArrowDownLong:()=>f8,faArrowDownLongToLine:()=>UJ,faArrowDownRight:()=>DJ,faArrowDownToArc:()=>TJ,faArrowDownToBracket:()=>Ste,faArrowDownToLine:()=>C8,faArrowFromBottom:()=>mee,faArrowFromLeft:()=>Eee,faArrowFromRight:()=>qee,faArrowFromTop:()=>dte,faArrowLeft:()=>dee,faArrowLeftArrowRight:()=>qJ,faArrowLeftFromArc:()=>lee,faArrowLeftFromBracket:()=>kJ,faArrowLeftFromDottedLine:()=>gte,faArrowLeftFromLine:()=>y8,faArrowLeftLong:()=>_8,faArrowLeftLongToLine:()=>Dte,faArrowLeftRotate:()=>WJ,faArrowLeftToArc:()=>Lee,faArrowLeftToBracket:()=>Vte,faArrowLeftToDottedLine:()=>uee,faArrowLeftToLine:()=>E8,faArrowPointer:()=>n8,faArrowProgress:()=>ate,faArrowRight:()=>Fee,faArrowRightArrowLeft:()=>d8,faArrowRightFromArc:()=>Yee,faArrowRightFromBracket:()=>h8,faArrowRightFromDottedLine:()=>pee,faArrowRightFromLine:()=>m8,faArrowRightLong:()=>M8,faArrowRightLongToLine:()=>EJ,faArrowRightRotate:()=>tee,faArrowRightToArc:()=>jJ,faArrowRightToBracket:()=>T8,faArrowRightToDottedLine:()=>VJ,faArrowRightToLine:()=>A8,faArrowRotateBack:()=>ZJ,faArrowRotateBackward:()=>YJ,faArrowRotateForward:()=>nee,faArrowRotateLeft:()=>zv,faArrowRotateRight:()=>o2,faArrowToBottom:()=>wte,faArrowToLeft:()=>fte,faArrowToRight:()=>Tte,faArrowToTop:()=>yee,faArrowTrendDown:()=>SJ,faArrowTrendUp:()=>jte,faArrowTurnDown:()=>g8,faArrowTurnDownLeft:()=>kte,faArrowTurnDownRight:()=>xte,faArrowTurnLeft:()=>zte,faArrowTurnLeftDown:()=>jee,faArrowTurnLeftUp:()=>Hte,faArrowTurnRight:()=>MJ,faArrowTurnUp:()=>v8,faArrowUTurnDownLeft:()=>QJ,faArrowUTurnDownRight:()=>Gee,faArrowUTurnLeftDown:()=>zJ,faArrowUTurnLeftUp:()=>Xee,faArrowUTurnRightDown:()=>Kee,faArrowUTurnRightUp:()=>tte,faArrowUTurnUpLeft:()=>Gte,faArrowUTurnUpRight:()=>Cee,faArrowUp:()=>Zee,faArrowUpArrowDown:()=>t8,faArrowUpFromArc:()=>Hee,faArrowUpFromBracket:()=>rte,faArrowUpFromDottedLine:()=>ute,faArrowUpFromLine:()=>u8,faArrowUpLeft:()=>pte,faArrowUpLong:()=>w8,faArrowUpLongToLine:()=>hee,faArrowUpRight:()=>Tee,faArrowUpRightAndArrowDownLeftFromCenter:()=>cte,faArrowUpToArc:()=>vee,faArrowUpToBracket:()=>CJ,faArrowUpToDottedLine:()=>$te,faArrowUpToLine:()=>p8,faArrowsCross:()=>Mee,faArrowsDownToLine:()=>Nee,faArrowsH:()=>oee,faArrowsLeftRight:()=>a8,faArrowsRepeat:()=>c8,faArrowsRetweet:()=>r8,faArrowsRotate:()=>RA,faArrowsRotateReverse:()=>IJ,faArrowsSpin:()=>Nte,faArrowsSplitUpAndLeft:()=>hte,faArrowsTurnRight:()=>Bee,faArrowsUpDown:()=>I8,faArrowsV:()=>vte,faBadgeDollar:()=>iee,faBuildingMagnifyingGlass:()=>yte,faCaretDown:()=>eee,faCaretUp:()=>fee,faChevronLeft:()=>Iee,faChevronRight:()=>Ete,faCircle:()=>nte,faCircleNotch:()=>Cte,faCircleSmall:()=>Lte,faClockThree:()=>Ute,faClose:()=>Pee,faElevator:()=>GJ,faEllipsis:()=>O8,faEllipsisH:()=>Ote,faEllipsisHAlt:()=>Rte,faEllipsisStroke:()=>k8,faEllipsisStrokeVertical:()=>b8,faEllipsisV:()=>Ite,faEllipsisVAlt:()=>ite,faEllipsisVertical:()=>D8,faExchange:()=>gee,faFilter:()=>Fte,faGrid2:()=>$J,faLevelDown:()=>Uee,faLevelUp:()=>Qee,faLocation:()=>NJ,faLocationArrow:()=>bte,faLocationArrowUp:()=>see,faLocationCrosshairs:()=>i8,faLocationDot:()=>o8,faLongArrowDown:()=>bee,faLongArrowLeft:()=>ete,faLongArrowRight:()=>Ate,faLongArrowUp:()=>ote,faMagnifyingGlass:()=>P8,faMapLocationDot:()=>R8,faMapMarkedAlt:()=>Pte,faMapMarkerAlt:()=>LJ,faMinus:()=>N8,faMousePointer:()=>AJ,faMultiply:()=>Ree,faPause:()=>BJ,faPlay:()=>Wee,faPlayPause:()=>Vee,faPlus:()=>l8,faQuestionSquare:()=>OA,faRedo:()=>ree,faRedoAlt:()=>Dee,faRefresh:()=>PJ,faRemove:()=>kee,faRepeatAlt:()=>cee,faRestroom:()=>ste,faRetweetAlt:()=>OJ,faRotate:()=>L8,faRotateBack:()=>xee,faRotateBackward:()=>wee,faRotateForward:()=>Aee,faRotateLeft:()=>s2,faRotateReverse:()=>JJ,faRotateRight:()=>kA,faSearch:()=>Mte,faSignIn:()=>_te,faSignOut:()=>_ee,faSortAlt:()=>HJ,faSortUpDown:()=>wJ,faSquareQuestion:()=>x8,faSubtract:()=>Bte,faSwapArrows:()=>Jee,faSync:()=>RJ,faSyncAlt:()=>qte,faTimes:()=>Oee,faUndo:()=>XJ,faUndoAlt:()=>See,faWheelchair:()=>zee,faXmark:()=>Bv});var t8={prefix:`fas`,iconName:`arrow-up-arrow-down`,icon:[512,512,[`sort-up-down`],`e099`,`M150.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L96 109.3 96 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-370.7 41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96zm352 397.3c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L416 402.7 416 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 370.7-41.4-41.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0l96-96z`]};var wJ=t8;var SJ={prefix:`fas`,iconName:`arrow-trend-down`,icon:[576,512,[],`e097`,`M384 352c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0c17.7 0 32-14.3 32-32l0-160c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 82.7-169.4-169.4c-12.5-12.5-32.8-12.5-45.3 0L192 242.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0L320 205.3 466.7 352 384 352z`]};var EJ={prefix:`fas`,iconName:`arrow-right-long-to-line`,icon:[640,512,[],`e3d5`,`M640 128c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 256c0 17.7 14.3 32 32 32s32-14.3 32-32l0-256zM374.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l370.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3l-128-128z`]};var IJ={prefix:`fas`,iconName:`arrows-rotate-reverse`,icon:[512,512,[],`e630`,`M446.1 228.5c-13.3-93-93.4-164.5-190.1-164.5-53 0-101 21.5-135.8 56.2-.2 .2-.4 .4-.6 .6l-7.6 7.2 47.9 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 192c-17.7 0-32-14.3-32-32L0 32C0 14.3 14.3 0 32 0S64 14.3 64 32l0 53.4 11.3-10.7C121.5 28.6 185.5 0 256 0 385 0 491.7 95.4 509.4 219.5 511.9 237 499.8 253.2 482.3 255.7s-33.7-9.7-36.2-27.1zM2.6 292.5C.1 275 12.2 258.8 29.7 256.3s33.7 9.7 36.2 27.1c13.3 93 93.4 164.5 190.1 164.5 53 0 101-21.5 135.8-56.2 .2-.2 .4-.4 .6-.6l7.6-7.2-47.9 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l128 0c8.5 0 16.7 3.4 22.7 9.5s9.3 14.3 9.3 22.8l-1 127c-.1 17.7-14.6 31.9-32.3 31.7s-31.9-14.6-31.7-32.3l.4-51.5-10.7 10.1C390.5 483.4 326.5 512 256 512 127 512 20.3 416.6 2.6 292.5z`]};var TJ={prefix:`fas`,iconName:`arrow-down-to-arc`,icon:[512,512,[],`e4ae`,`M256 448c106 0 192-86 192-192 0-17.7 14.3-32 32-32s32 14.3 32 32c0 141.4-114.6 256-256 256S0 397.4 0 256c0-17.7 14.3-32 32-32s32 14.3 32 32c0 106 86 192 192 192zm22.6-105.4c-12.5 12.5-32.8 12.5-45.3 0l-96-96c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L224 242.7 224 32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 210.7 41.4-41.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-96 96z`]};var CJ={prefix:`fas`,iconName:`arrow-up-to-bracket`,icon:[448,512,[],`e66a`,`M64 160l0-64c0-17.7 14.3-32 32-32l256 0c17.7 0 32 14.3 32 32l0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64c0-53-43-96-96-96L96 0C43 0 0 43 0 96l0 64c0 17.7 14.3 32 32 32s32-14.3 32-32zm182.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 269.3 192 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-210.7 73.4 73.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-128-128z`]};var DJ={prefix:`fas`,iconName:`arrow-down-right`,icon:[384,512,[],`e093`,`M352 448c17.7 0 32-14.3 32-32l0-224c0-17.7-14.3-32-32-32s-32 14.3-32 32L320 338.7 54.6 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L274.7 384 128 384c-17.7 0-32 14.3-32 32s14.3 32 32 32l224 0z`]};var n8={prefix:`fas`,iconName:`arrow-pointer`,icon:[448,512,[`mouse-pointer`],`f245`,`M77.3 2.5c8.1-4.1 17.9-3.2 25.1 2.3l320 239.9c8.3 6.2 11.6 17 8.4 26.8s-12.4 16.4-22.8 16.4l-152.3 0 88.9 177.7c7.9 15.8 1.5 35-14.3 42.9s-35 1.5-42.9-14.3l-88.9-177.7-91.3 121.8c-6.2 8.3-17 11.6-26.8 8.4S64 434.3 64 424L64 24c0-9.1 5.1-17.4 13.3-21.5z`]};var AJ=n8;var MJ={prefix:`fas`,iconName:`arrow-turn-right`,icon:[512,512,[],`e635`,`M64 416c0 17.7-14.3 32-32 32S0 433.7 0 416l0-96c0-53 43-96 96-96l306.7 0-73.4-73.4c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l128 128c12.5 12.5 12.5 32.8 0 45.3l-128 128c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L402.7 288 96 288c-17.7 0-32 14.3-32 32l0 96z`]};var RA={prefix:`fas`,iconName:`arrows-rotate`,icon:[512,512,[128472,`refresh`,`sync`],`f021`,`M65.9 228.5c13.3-93 93.4-164.5 190.1-164.5 53 0 101 21.5 135.8 56.2 .2 .2 .4 .4 .6 .6l7.6 7.2-47.9 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-128c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 53.4-11.3-10.7C390.5 28.6 326.5 0 256 0 127 0 20.3 95.4 2.6 219.5 .1 237 12.2 253.2 29.7 255.7s33.7-9.7 36.2-27.1zm443.5 64c2.5-17.5-9.7-33.7-27.1-36.2s-33.7 9.7-36.2 27.1c-13.3 93-93.4 164.5-190.1 164.5-53 0-101-21.5-135.8-56.2-.2-.2-.4-.4-.6-.6l-7.6-7.2 47.9 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 320c-8.5 0-16.7 3.4-22.7 9.5S-.1 343.7 0 352.3l1 127c.1 17.7 14.6 31.9 32.3 31.7S65.2 496.4 65 478.7l-.4-51.5 10.7 10.1c46.3 46.1 110.2 74.7 180.7 74.7 129 0 235.7-95.4 253.4-219.5z`]};var PJ=RA;var RJ=RA;var kJ={prefix:`fas`,iconName:`arrow-left-from-bracket`,icon:[512,512,[],`e668`,`M352 416c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0c53 0 96-43 96-96l0-256c0-53-43-96-96-96l-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32l-64 0zM9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 288 320 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-210.7 0 73.4-73.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-128 128z`]};var r8={prefix:`fas`,iconName:`arrows-retweet`,icon:[576,512,[`retweet-alt`],`f361`,`M118.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-64 64c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L64 141.3 64 384c0 53 43 96 96 96l128 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-128 0c-17.7 0-32-14.3-32-32l0-242.7 9.4 9.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-64-64zM457.4 470.6c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-9.4 9.4 0-242.7c0-53-43-96-96-96L288 32c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32 14.3 32 32l0 242.7-9.4-9.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l64 64z`]};var OJ=r8;var i8={prefix:`fas`,iconName:`location-crosshairs`,icon:[576,512,[`location`],`f601`,`M288-16c17.7 0 32 14.3 32 32l0 18.3c98.1 14 175.7 91.6 189.7 189.7l18.3 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-18.3 0c-14 98.1-91.6 175.7-189.7 189.7l0 18.3c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-18.3C157.9 463.7 80.3 386.1 66.3 288L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l18.3 0C80.3 125.9 157.9 48.3 256 34.3L256 16c0-17.7 14.3-32 32-32zM128 256a160 160 0 1 0 320 0 160 160 0 1 0 -320 0zm160-96a96 96 0 1 1 0 192 96 96 0 1 1 0-192z`]};var NJ=i8;var o8={prefix:`fas`,iconName:`location-dot`,icon:[384,512,[`map-marker-alt`],`f3c5`,`M0 188.6C0 84.4 86 0 192 0S384 84.4 384 188.6c0 119.3-120.2 262.3-170.4 316.8-11.8 12.8-31.5 12.8-43.3 0-50.2-54.5-170.4-197.5-170.4-316.8zM192 256a64 64 0 1 0 0-128 64 64 0 1 0 0 128z`]};var LJ=o8;var FJ={prefix:`fas`,iconName:`arrow-down`,icon:[384,512,[8595],`f063`,`M169.4 502.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 402.7 224 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 370.7-105.4-105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z`]};var zJ={prefix:`fas`,iconName:`arrow-u-turn-left-down`,icon:[576,512,[],`e7e9`,`M180.7 504.8c-12.6 10.3-31.1 9.5-42.8-2.2l-112-112c-12.5-12.5-12.5-32.8 0-45.2s32.8-12.5 45.2 0l57.4 57.4 0-210.7C128.5 89.3 209.2 5.4 310.6 .3l9.9-.2c106 0 192 86 192 192l0 224-.2 3.3c-1.6 16.1-15.3 28.7-31.8 28.7s-30.2-12.6-31.8-28.7l-.2-3.3 0-224c0-70.7-57.3-128-128-128l-6.6 .2C246.3 67.6 192.5 123.5 192.5 192l0 210.7 57.4-57.4 2.4-2.2c12.6-10.2 31.1-9.5 42.8 2.2s12.4 30.2 2.2 42.8l-2.2 2.4-112 112-2.4 2.2z`]};var BJ={prefix:`fas`,iconName:`pause`,icon:[384,512,[9208],`f04c`,`M48 32C21.5 32 0 53.5 0 80L0 432c0 26.5 21.5 48 48 48l64 0c26.5 0 48-21.5 48-48l0-352c0-26.5-21.5-48-48-48L48 32zm224 0c-26.5 0-48 21.5-48 48l0 352c0 26.5 21.5 48 48 48l64 0c26.5 0 48-21.5 48-48l0-352c0-26.5-21.5-48-48-48l-64 0z`]};var UJ={prefix:`fas`,iconName:`arrow-down-long-to-line`,icon:[320,512,[],`e6b7`,`M9.4 310.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L128 338.7 128-32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 370.7 73.4-73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-128 128c-12.5 12.5-32.8 12.5-45.3 0l-128-128zM32 576c-17.7 0-32-14.3-32-32s14.3-32 32-32l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 576z`]};var VJ={prefix:`fas`,iconName:`arrow-right-to-dotted-line`,icon:[512,512,[],`e6bc`,`M480 448a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM374.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L274.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l242.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128zM512 309.3a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm-32-74.7a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM512 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z`]};var jJ={prefix:`fas`,iconName:`arrow-right-to-arc`,icon:[512,512,[],`e4b2`,`M448 256c0 106-86 192-192 192-17.7 0-32 14.3-32 32s14.3 32 32 32c141.4 0 256-114.6 256-256S397.4 0 256 0c-17.7 0-32 14.3-32 32s14.3 32 32 32c106 0 192 86 192 192zM342.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L242.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l210.7 0-41.4 41.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l96-96z`]};var $J={prefix:`fas`,iconName:`grid-2`,icon:[448,512,[],`e196`,`M192 80c0-26.5-21.5-48-48-48L48 32C21.5 32 0 53.5 0 80l0 96c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-96zm0 256c0-26.5-21.5-48-48-48l-96 0c-26.5 0-48 21.5-48 48l0 96c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-96zM256 80l0 96c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-96c0-26.5-21.5-48-48-48l-96 0c-26.5 0-48 21.5-48 48zM448 336c0-26.5-21.5-48-48-48l-96 0c-26.5 0-48 21.5-48 48l0 96c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-96z`]};var s8={prefix:`fas`,iconName:`arrow-down-arrow-up`,icon:[512,512,[`sort-alt`],`f883`,`M150.6 502.6l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 402.7 160 32c0-17.7-14.3-32-32-32S96 14.3 96 32l0 370.7-41.4-41.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0zM406.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L352 109.3 352 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-370.7 41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96z`]};var HJ=s8;var GJ={prefix:`fas`,iconName:`elevator`,icon:[512,512,[],`e16d`,`M292.7-4.7l64 64c6.2 6.2 16.4 6.2 22.6 0l64-64c4.6-4.6 5.9-11.5 3.5-17.4S438.5-32 432-32L304-32c-6.5 0-12.3 3.9-14.8 9.9s-1.1 12.9 3.5 17.4zm-160-22.6l-64 64c-4.6 4.6-5.9 11.5-3.5 17.4S73.5 64 80 64l128 0c6.5 0 12.3-3.9 14.8-9.9s1.1-12.9-3.5-17.4l-64-64c-6.2-6.2-16.4-6.2-22.6 0zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 128zm96 96a48 48 0 1 1 0 96 48 48 0 1 1 0-96zM80 400c0-26.5 21.5-48 48-48l64 0c26.5 0 48 21.5 48 48l0 16c0 17.7-14.3 32-32 32l-96 0c-17.7 0-32-14.3-32-32l0-16zm192 0c0-26.5 21.5-48 48-48l64 0c26.5 0 48 21.5 48 48l0 16c0 17.7-14.3 32-32 32l-96 0c-17.7 0-32-14.3-32-32l0-16zm32-128a48 48 0 1 1 96 0 48 48 0 1 1 -96 0z`]};var qJ={prefix:`fas`,iconName:`arrow-left-arrow-right`,icon:[512,512,[],`e6b8`,`M502.6 406.6l-96 96c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L402.7 416 32 416c-17.7 0-32-14.3-32-32s14.3-32 32-32l370.7 0-41.4-41.4c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3zM9.4 150.6c-12.5-12.5-12.5-32.8 0-45.3l96-96c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L109.3 96 480 96c17.7 0 32 14.3 32 32s-14.3 32-32 32l-370.7 0 41.4 41.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-96-96z`]};var zv={prefix:`fas`,iconName:`arrow-rotate-left`,icon:[512,512,[8634,`arrow-left-rotate`,`arrow-rotate-back`,`arrow-rotate-backward`,`undo`],`f0e2`,`M256 64c-56.8 0-107.9 24.7-143.1 64l47.1 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 192c-17.7 0-32-14.3-32-32L0 32C0 14.3 14.3 0 32 0S64 14.3 64 32l0 54.7C110.9 33.6 179.5 0 256 0 397.4 0 512 114.6 512 256S397.4 512 256 512c-87 0-163.9-43.4-210.1-109.7-10.1-14.5-6.6-34.4 7.9-44.6s34.4-6.6 44.6 7.9c34.8 49.8 92.4 82.3 157.6 82.3 106 0 192-86 192-192S362 64 256 64z`]};var WJ=zv;var ZJ=zv;var YJ=zv;var XJ=zv;var KJ={prefix:`fas`,iconName:`arrow-down-from-arc`,icon:[512,512,[],`e614`,`M256 64c-106 0-192 86-192 192 0 17.7-14.3 32-32 32S0 273.7 0 256C0 114.6 114.6 0 256 0S512 114.6 512 256c0 17.7-14.3 32-32 32s-32-14.3-32-32c0-106-86-192-192-192zM121.4 390.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L224 402.7 224 192c0-17.7 14.3-32 32-32s32 14.3 32 32l0 210.7 57.4-57.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-112 112c-12.5 12.5-32.8 12.5-45.3 0l-112-112z`]};var QJ={prefix:`fas`,iconName:`arrow-u-turn-down-left`,icon:[512,512,[],`e7e7`,`M7.7 363.8c-10.3 12.6-9.5 31.1 2.2 42.8l112 112c12.5 12.5 32.8 12.5 45.2 0s12.5-32.8 0-45.2l-57.4-57.4 210.8 0c102.7 0 186.6-80.7 191.8-182.1l.2-9.9c0-106-86-192-192-192l-224 0-3.3 .2C77.1 33.8 64.5 47.4 64.5 64S77.1 94.2 93.2 95.8l3.3 .2 224 0c70.7 0 128 57.3 128 128l-.2 6.6C444.9 298.2 389 352 320.5 352l-210.8 0 57.4-57.4 2.2-2.4c10.2-12.6 9.5-31.1-2.2-42.8s-30.2-12.4-42.8-2.2l-2.4 2.2-112 112-2.2 2.4z`]};var JJ={prefix:`fas`,iconName:`rotate-reverse`,icon:[512,512,[],`e631`,`M168 192L24 192c-13.3 0-24-10.7-24-24L0 24C0 14.3 5.8 5.5 14.8 1.8S34.1 .2 41 7L92.7 58.8C137 22.1 194 0 256 0 385 0 491.7 95.4 509.4 219.5 511.9 237 499.8 253.2 482.3 255.7s-33.7-9.7-36.2-27.1C432.7 135.5 352.7 64 256 64 211.6 64 170.8 79 138.3 104.3L185 151c6.9 6.9 8.9 17.2 5.2 26.2S177.7 192 168 192zM2.6 292.5C.1 275 12.2 258.8 29.7 256.3s33.7 9.7 36.2 27.1c13.3 93 93.4 164.5 190.1 164.5 44.4 0 85.2-15 117.7-40.3L327 361c-6.9-6.9-8.9-17.2-5.2-26.2S334.3 320 344 320l144 0c13.3 0 24 10.7 24 24l0 144c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-51.8-51.8C375 489.9 318 512 256 512 127 512 20.3 416.6 2.6 292.5z`]};var eee={prefix:`fas`,iconName:`caret-down`,icon:[320,512,[],`f0d7`,`M140.3 376.8c12.6 10.2 31.1 9.5 42.8-2.2l128-128c9.2-9.2 11.9-22.9 6.9-34.9S301.4 192 288.5 192l-256 0c-12.9 0-24.6 7.8-29.6 19.8S.7 237.5 9.9 246.6l128 128 2.4 2.2z`]};var o2={prefix:`fas`,iconName:`arrow-rotate-right`,icon:[512,512,[8635,`arrow-right-rotate`,`arrow-rotate-forward`,`redo`],`f01e`,`M436.7 74.7L448 85.4 448 32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 128c0 17.7-14.3 32-32 32l-128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l47.9 0-7.6-7.2c-.2-.2-.4-.4-.6-.6-75-75-196.5-75-271.5 0s-75 196.5 0 271.5 196.5 75 271.5 0c8.2-8.2 15.5-16.9 21.9-26.1 10.1-14.5 30.1-18 44.6-7.9s18 30.1 7.9 44.6c-8.5 12.2-18.2 23.8-29.1 34.7-100 100-262.1 100-362 0S-25 175 75 75c99.9-99.9 261.7-100 361.7-.3z`]};var tee=o2;var nee=o2;var ree=o2;var iee={prefix:`fas`,iconName:`badge-dollar`,icon:[512,512,[],`f645`,`M256 0C292.8 0 324.8 20.7 340.9 51.1 373.8 41 411 49 437 75s34 63.3 23.9 96.1C491.3 187.2 512 219.2 512 256s-20.7 68.8-51.1 84.9C471 373.8 463 411 437 437s-63.3 34-96.1 23.9C324.8 491.3 292.8 512 256 512s-68.8-20.7-84.9-51.1C138.2 471 101 463 75 437s-34-63.3-23.9-96.1C20.7 324.8 0 292.8 0 256s20.7-68.8 51.1-84.9C41 138.2 49 101 75 75s63.3-34 96.1-23.9C187.2 20.7 219.2 0 256 0zm4 144c-11 0-20 9-20 20l0 4c-28.8 .3-52 23.7-52 52.5 0 25.7 18.5 47.6 43.9 51.8l41.7 7c6 1 10.4 6.2 10.4 12.3 0 6.9-5.6 12.5-12.5 12.5L216 304c-11 0-20 9-20 20s9 20 20 20l24 0 0 4c0 11 9 20 20 20s20-9 20-20l0-4.7c25-4.1 44-25.7 44-51.8 0-25.7-18.5-47.6-43.9-51.8l-41.7-7c-6-1-10.4-6.2-10.4-12.3 0-6.9 5.6-12.5 12.5-12.5l47.5 0c11 0 20-9 20-20s-9-20-20-20l-8 0 0-4c0-11-9-20-20-20z`]};var a8={prefix:`fas`,iconName:`arrows-left-right`,icon:[576,512,[`arrows-h`],`f07e`,`M470.6 374.6l96-96c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l41.4 41.4-357.5 0 41.4-41.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-96 96c-6 6-9.4 14.1-9.4 22.6s3.4 16.6 9.4 22.6l96 96c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-41.4-41.4 357.5 0-41.4 41.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z`]};var oee=a8;var see={prefix:`fas`,iconName:`location-arrow-up`,icon:[448,512,[],`e63a`,`M253.1 18.6C247.8 7.3 236.5 0 224 0s-23.8 7.3-29.1 18.6l-192 416c-5.6 12.2-3.1 26.5 6.4 36s23.8 12.1 36 6.5L224 395.2 402.7 477.1c12.2 5.6 26.5 3 36-6.5s12-23.8 6.4-36l-192-416z`]};var l8={prefix:`fas`,iconName:`plus`,icon:[448,512,[10133,61543,`add`],`2b`,`M256 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160 160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0 0-160z`]};var aee=l8;var lee={prefix:`fas`,iconName:`arrow-left-from-arc`,icon:[512,512,[],`e615`,`M448 256c0-106-86-192-192-192-17.7 0-32-14.3-32-32S238.3 0 256 0C397.4 0 512 114.6 512 256S397.4 512 256 512c-17.7 0-32-14.3-32-32s14.3-32 32-32c106 0 192-86 192-192zM121.4 121.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L109.3 224 320 224c17.7 0 32 14.3 32 32s-14.3 32-32 32l-210.7 0 57.4 57.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-112-112c-12.5-12.5-12.5-32.8 0-45.3l112-112z`]};var c8={prefix:`fas`,iconName:`arrows-repeat`,icon:[512,512,[`repeat-alt`],`f364`,`M470.6 118.6c6-6 9.4-14.1 9.4-22.6s-3.4-16.6-9.4-22.6l-80-80c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L370.7 64 192 64C86 64 0 150 0 256 0 273.7 14.3 288 32 288s32-14.3 32-32c0-70.7 57.3-128 128-128l178.7 0-25.4 25.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l80-80zM41.4 393.4c-6 6-9.4 14.1-9.4 22.6s3.4 16.6 9.4 22.6l80 80c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L141.3 448 320 448c106 0 192-86 192-192 0-17.7-14.3-32-32-32s-32 14.3-32 32c0 70.7-57.3 128-128 128l-178.7 0 25.4-25.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-80 80z`]};var cee=c8;var uee={prefix:`fas`,iconName:`arrow-left-to-dotted-line`,icon:[512,512,[],`e6ba`,`M32 64a32 32 0 1 0 0 64 32 32 0 1 0 0-64zM137.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 288 480 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-242.7 0 73.4-73.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-128 128zM0 202.7a32 32 0 1 0 64 0 32 32 0 1 0 -64 0zm32 74.7a32 32 0 1 0 0 64 32 32 0 1 0 0-64zM0 416a32 32 0 1 0 64 0 32 32 0 1 0 -64 0z`]};var dee={prefix:`fas`,iconName:`arrow-left`,icon:[512,512,[8592],`f060`,`M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 288 480 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-370.7 0 105.4-105.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z`]};var pee={prefix:`fas`,iconName:`arrow-right-from-dotted-line`,icon:[512,512,[],`e6bb`,`M502.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224 160 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l242.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128zM32 448a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM64 309.3a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM32 234.7a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM64 96A32 32 0 1 0 0 96 32 32 0 1 0 64 96z`]};var hee={prefix:`fas`,iconName:`arrow-up-long-to-line`,icon:[320,512,[],`e6bd`,`M9.4 201.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L128 173.3 128 544c0 17.7 14.3 32 32 32s32-14.3 32-32l0-370.7 73.4 73.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0l-128 128zM32-64C14.3-64 0-49.7 0-32S14.3 0 32 0L288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32-64z`]};var fee={prefix:`fas`,iconName:`caret-up`,icon:[320,512,[],`f0d8`,`M140.3 135.2c12.6-10.3 31.1-9.5 42.8 2.2l128 128c9.2 9.2 11.9 22.9 6.9 34.9S301.4 320 288.5 320l-256 0c-12.9 0-24.6-7.8-29.6-19.8S.7 274.5 9.9 265.4l128-128 2.4-2.2z`]};var u8={prefix:`fas`,iconName:`arrow-up-from-line`,icon:[384,512,[8613,`arrow-from-bottom`],`f342`,`M214.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 109.3 160 352c0 17.7 14.3 32 32 32s32-14.3 32-32l0-242.7 73.4 73.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-128-128zM32 448c-17.7 0-32 14.3-32 32s14.3 32 32 32l320 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 448z`]};var mee=u8;var d8={prefix:`fas`,iconName:`arrow-right-arrow-left`,icon:[512,512,[8644,`exchange`],`f0ec`,`M502.6 150.6l-96 96c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L402.7 160 32 160c-17.7 0-32-14.3-32-32S14.3 96 32 96l370.7 0-41.4-41.4c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3zm-397.3 352l-96-96c-12.5-12.5-12.5-32.8 0-45.3l96-96c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L109.3 352 480 352c17.7 0 32 14.3 32 32s-14.3 32-32 32l-370.7 0 41.4 41.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0z`]};var gee=d8;var p8={prefix:`fas`,iconName:`arrow-up-to-line`,icon:[384,512,[`arrow-to-top`],`f341`,`M32 0C14.3 0 0 14.3 0 32S14.3 64 32 64l320 0c17.7 0 32-14.3 32-32S369.7 0 352 0L32 0zM214.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 237.3 160 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-242.7 73.4 73.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-128-128z`]};var yee=p8;var vee={prefix:`fas`,iconName:`arrow-up-to-arc`,icon:[512,512,[],`e617`,`M256 64c106 0 192 86 192 192 0 17.7 14.3 32 32 32s32-14.3 32-32C512 114.6 397.4 0 256 0S0 114.6 0 256c0 17.7 14.3 32 32 32s32-14.3 32-32C64 150 150 64 256 64zm22.6 105.4c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L224 269.3 224 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-210.7 41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96z`]};var h8={prefix:`fas`,iconName:`arrow-right-from-bracket`,icon:[512,512,[`sign-out`],`f08b`,`M160 96c17.7 0 32-14.3 32-32s-14.3-32-32-32L96 32C43 32 0 75 0 128L0 384c0 53 43 96 96 96l64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l64 0zM502.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224 192 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l210.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128z`]};var _ee=h8;var f8={prefix:`fas`,iconName:`arrow-down-long`,icon:[320,512,[`long-arrow-down`],`f175`,`M137.4 534.6c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 434.7 192 0c0-17.7-14.3-32-32-32S128-17.7 128 0l0 434.7-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128z`]};var bee=f8;var s2={prefix:`fas`,iconName:`rotate-left`,icon:[512,512,[`rotate-back`,`rotate-backward`,`undo-alt`],`f2ea`,`M24 192l144 0c9.7 0 18.5-5.8 22.2-14.8s1.7-19.3-5.2-26.2l-46.7-46.7c75.3-58.6 184.3-53.3 253.5 15.9 75 75 75 196.5 0 271.5s-196.5 75-271.5 0c-10.2-10.2-19-21.3-26.4-33-9.5-14.9-29.3-19.3-44.2-9.8s-19.3 29.3-9.8 44.2C49.7 408.7 61.4 423.5 75 437 175 537 337 537 437 437S537 175 437 75C342.8-19.3 193.3-24.7 92.7 58.8L41 7C34.1 .2 23.8-1.9 14.8 1.8S0 14.3 0 24L0 168c0 13.3 10.7 24 24 24z`]};var xee=s2;var wee=s2;var See=s2;var m8={prefix:`fas`,iconName:`arrow-right-from-line`,icon:[512,512,[8614,`arrow-from-left`],`f343`,`M64 96c0-17.7-14.3-32-32-32S0 78.3 0 96L0 416c0 17.7 14.3 32 32 32s32-14.3 32-32L64 96zM502.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224 160 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l242.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128z`]};var Eee=m8;var Iee={prefix:`fas`,iconName:`chevron-left`,icon:[320,512,[9001],`f053`,`M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z`]};var Tee={prefix:`fas`,iconName:`arrow-up-right`,icon:[384,512,[],`e09f`,`M384 96c0-17.7-14.3-32-32-32L128 64c-17.7 0-32 14.3-32 32s14.3 32 32 32L274.7 128 9.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L320 173.3 320 320c0 17.7 14.3 32 32 32s32-14.3 32-32l0-224z`]};var Cee={prefix:`fas`,iconName:`arrow-u-turn-up-right`,icon:[512,512,[],`e7ee`,`M505.3 148.2c10.3-12.6 9.5-31.1-2.2-42.8l-112-112c-12.5-12.5-32.8-12.5-45.2 0s-12.5 32.8 0 45.2L403.2 96 192.5 96C89.8 96 5.9 176.7 .8 278.1L.5 288c0 106 86 192 192 192l224 0 3.3-.2c16.1-1.6 28.7-15.3 28.7-31.8s-12.6-30.2-28.7-31.8l-3.3-.2-224 0c-70.7 0-128-57.3-128-128l.2-6.6C68.1 213.8 124 160 192.5 160l210.7 0-57.4 57.4-2.2 2.4c-10.2 12.6-9.5 31.1 2.2 42.8s30.2 12.4 42.8 2.2l2.4-2.2 112-112 2.2-2.4z`]};var kA={prefix:`fas`,iconName:`rotate-right`,icon:[512,512,[`redo-alt`,`rotate-forward`],`f2f9`,`M488 192l-144 0c-9.7 0-18.5-5.8-22.2-14.8s-1.7-19.3 5.2-26.2l46.7-46.7c-75.3-58.6-184.3-53.3-253.5 15.9-75 75-75 196.5 0 271.5s196.5 75 271.5 0c8.2-8.2 15.5-16.9 21.9-26.1 10.1-14.5 30.1-18 44.6-7.9s18 30.1 7.9 44.6c-8.5 12.2-18.2 23.8-29.1 34.7-100 100-262.1 100-362 0S-25 175 75 75c94.3-94.3 243.7-99.6 344.3-16.2L471 7c6.9-6.9 17.2-8.9 26.2-5.2S512 14.3 512 24l0 144c0 13.3-10.7 24-24 24z`]};var Dee=kA;var Aee=kA;var Mee={prefix:`fas`,iconName:`arrows-cross`,icon:[448,512,[],`e0a2`,`M54.6 41.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L144.8 222.1 190.1 176.8 54.6 41.4zM257.9 335.2l80.8 80.8-50.7 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-128c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 50.7-80.8-80.8-45.3 45.3zM288 32c-17.7 0-32 14.3-32 32s14.3 32 32 32L338.7 96 9.4 425.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L384 141.3 384 192c0 17.7 14.3 32 32 32s32-14.3 32-32l0-128c0-17.7-14.3-32-32-32L288 32z`]};var Bv={prefix:`fas`,iconName:`xmark`,icon:[384,512,[215,10005,10006,10060,128473,`close`,`multiply`,`remove`,`times`],`f00d`,`M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z`]};var Pee=Bv;var Ree=Bv;var kee=Bv;var Oee=Bv;var Nee={prefix:`fas`,iconName:`arrows-down-to-line`,icon:[512,512,[],`e4b8`,`M214.6 310.6l-64 64c-12.5 12.5-32.8 12.5-45.3 0l-64-64c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L96 274.7 96 32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 242.7 9.4-9.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3zm256 0l-64 64c-12.5 12.5-32.8 12.5-45.3 0l-64-64c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l9.4 9.4 0-242.7c0-17.7 14.3-32 32-32s32 14.3 32 32l0 242.7 9.4-9.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3zM32 512c-17.7 0-32-14.3-32-32s14.3-32 32-32l448 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 512z`]};var Lee={prefix:`fas`,iconName:`arrow-left-to-arc`,icon:[512,512,[],`e616`,`M64 256c0-106 86-192 192-192 17.7 0 32-14.3 32-32S273.7 0 256 0C114.6 0 0 114.6 0 256S114.6 512 256 512c17.7 0 32-14.3 32-32s-14.3-32-32-32C150 448 64 362 64 256zm105.4-22.6c-12.5 12.5-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L269.3 288 480 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-210.7 0 41.4-41.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-96 96z`]};var Fee={prefix:`fas`,iconName:`arrow-right`,icon:[512,512,[8594],`f061`,`M502.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l370.7 0-105.4 105.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z`]};var zee={prefix:`fas`,iconName:`wheelchair`,icon:[512,512,[],`f193`,`M136 40a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zM117.9 197.6l12.6 63c-38.6 12.4-66.5 48.7-66.5 91.4 0 53 43 96 96 96 35.6 0 66.7-19.4 83.3-48.2 2.3 .1 4.6 .2 7 .2l4.1 0c1 0 2.1 0 3.1 0l55.2 0c-20.4 64.9-81 112-152.7 112-88.4 0-160-71.6-160-160 0-73.8 50-135.9 117.9-154.4zm148.6-28.1l23.7 118.5 60.5 0c33.3 0 63.2 20.7 74.9 51.9l25.5 68 18.7-6.2c16.8-5.6 34.9 3.5 40.5 20.2s-3.5 34.9-20.2 40.5l-48 16c-16.3 5.4-34-3-40.1-19.1l-36.3-96.9c-2.3-6.2-8.3-10.4-15-10.4l-86.1 0c-.4 0-.8 0-1.3 0l-13.1 0c-30.5 0-56.8-21.5-62.8-51.4L165.3 189.7c-6.4-31.9 18-61.7 50.6-61.7 24.6 0 45.8 17.4 50.6 41.5z`]};var Bee={prefix:`fas`,iconName:`arrows-turn-right`,icon:[448,512,[],`e4c0`,`M313.4-6.6c12.5-12.5 32.8-12.5 45.3 0l80 80c12.5 12.5 12.5 32.8 0 45.3l-80 80c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L338.7 128 128 128c-35.3 0-64 28.7-64 64l0 32c0 17.7-14.3 32-32 32S0 241.7 0 224l0-32C0 121.3 57.3 64 128 64l210.7 0-25.4-25.4c-12.5-12.5-12.5-32.8 0-45.3zm-96 256c12.5-12.5 32.8-12.5 45.3 0l80 80c12.5 12.5 12.5 32.8 0 45.3l-80 80c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 384 96 384c-17.7 0-32 14.3-32 32l0 32c0 17.7-14.3 32-32 32S0 465.7 0 448l0-32c0-53 43-96 96-96l146.7 0-25.4-25.4c-12.5-12.5-12.5-32.8 0-45.3z`]};var g8={prefix:`fas`,iconName:`arrow-turn-down`,icon:[384,512,[`level-down`],`f149`,`M32 64C14.3 64 0 49.7 0 32S14.3 0 32 0l96 0c53 0 96 43 96 96l0 306.7 73.4-73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-128 128c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 402.7 160 96c0-17.7-14.3-32-32-32L32 64z`]};var Uee=g8;var Vee={prefix:`fas`,iconName:`play-pause`,icon:[512,512,[],`e22f`,`M52.5 71.4c-9.5-7.9-22.8-9.7-34.1-4.4S0 83.6 0 96L0 416c0 12.4 7.2 23.7 18.4 29s24.5 3.6 34.1-4.4l192-160c7.3-6.1 11.5-15.1 11.5-24.6s-4.2-18.5-11.5-24.6l-192-160zM384 96c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 320c0 17.7 14.3 32 32 32s32-14.3 32-32l0-320zm128 0c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 320c0 17.7 14.3 32 32 32s32-14.3 32-32l0-320z`]};var jee={prefix:`fas`,iconName:`arrow-turn-left-down`,icon:[384,512,[],`e633`,`M352 64c17.7 0 32-14.3 32-32S369.7 0 352 0L256 0c-53 0-96 43-96 96l0 306.7-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 402.7 224 96c0-17.7 14.3-32 32-32l96 0z`]};var $ee={prefix:`fas`,iconName:`arrow-down-from-dotted-line`,icon:[384,512,[],`e090`,`M169.4 502.6c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 402.7 224 160c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 242.7-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128zM0 32A32 32 0 1 0 64 32 32 32 0 1 0 0 32zM138.7 64a32 32 0 1 0 0-64 32 32 0 1 0 0 64zm74.7-32a32 32 0 1 0 64 0 32 32 0 1 0 -64 0zM352 64a32 32 0 1 0 0-64 32 32 0 1 0 0 64z`]};var Hee={prefix:`fas`,iconName:`arrow-up-from-arc`,icon:[512,512,[],`e4b4`,`M256 448c-106 0-192-86-192-192 0-17.7-14.3-32-32-32S0 238.3 0 256C0 397.4 114.6 512 256 512S512 397.4 512 256c0-17.7-14.3-32-32-32s-32 14.3-32 32c0 106-86 192-192 192zM121.4 121.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L224 109.3 224 320c0 17.7 14.3 32 32 32s32-14.3 32-32l0-210.7 57.4 57.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0l-112 112z`]};var Gee={prefix:`fas`,iconName:`arrow-u-turn-down-right`,icon:[512,512,[],`e7e8`,`M505.3 363.8c10.3 12.6 9.5 31.1-2.2 42.8l-112 112c-12.5 12.5-32.8 12.5-45.2 0s-12.5-32.8 0-45.2l57.4-57.4-210.7 0C89.8 416 5.9 335.3 .8 233.9L.5 224c0-106 86-192 192-192l224 0 3.3 .2c16.1 1.6 28.7 15.3 28.7 31.8s-12.6 30.2-28.7 31.8l-3.3 .2-224 0c-70.7 0-128 57.3-128 128l.2 6.6C68.1 298.2 124 352 192.5 352l210.7 0-57.4-57.4-2.2-2.4c-10.2-12.6-9.5-31.1 2.2-42.8s30.2-12.4 42.8-2.2l2.4 2.2 112 112 2.2 2.4z`]};var y8={prefix:`fas`,iconName:`arrow-left-from-line`,icon:[512,512,[8612,`arrow-from-right`],`f344`,`M448 416c0 17.7 14.3 32 32 32s32-14.3 32-32l0-320c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 320zM9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 288 352 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-242.7 0 73.4-73.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-128 128z`]};var qee=y8;var Wee={prefix:`fas`,iconName:`play`,icon:[448,512,[9654],`f04b`,`M91.2 36.9c-12.4-6.8-27.4-6.5-39.6 .7S32 57.9 32 72l0 368c0 14.1 7.5 27.2 19.6 34.4s27.2 7.5 39.6 .7l336-184c12.8-7 20.8-20.5 20.8-35.1s-8-28.1-20.8-35.1l-336-184z`]};var Zee={prefix:`fas`,iconName:`arrow-up`,icon:[384,512,[8593],`f062`,`M214.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 109.3 160 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-370.7 105.4 105.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z`]};var Yee={prefix:`fas`,iconName:`arrow-right-from-arc`,icon:[512,512,[],`e4b1`,`M64 256c0-106 86-192 192-192 17.7 0 32-14.3 32-32S273.7 0 256 0C114.6 0 0 114.6 0 256S114.6 512 256 512c17.7 0 32-14.3 32-32s-14.3-32-32-32C150 448 64 362 64 256zM390.6 121.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224 192 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l210.7 0-57.4 57.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112z`]};var Xee={prefix:`fas`,iconName:`arrow-u-turn-left-up`,icon:[576,512,[],`e7ea`,`M180.7 7.2c-12.6-10.3-31.1-9.5-42.8 2.2l-112 112c-12.5 12.5-12.5 32.8 0 45.2s32.8 12.5 45.2 0l57.4-57.4 0 210.8c0 102.7 80.7 186.6 182.1 191.8l9.9 .2c106 0 192-86 192-192l0-224-.2-3.3C510.7 76.6 497.1 64 480.5 64s-30.2 12.6-31.8 28.7l-.2 3.3 0 224c0 70.7-57.3 128-128 128l-6.6-.2c-67.6-3.4-121.4-59.4-121.4-127.8l0-210.8 57.4 57.4 2.4 2.2c12.6 10.2 31.1 9.5 42.8-2.2s12.4-30.2 2.2-42.8l-2.2-2.4-112-112-2.4-2.2z`]};var Kee={prefix:`fas`,iconName:`arrow-u-turn-right-down`,icon:[576,512,[],`e7eb`,`M396.3 504.8c12.6 10.3 31.1 9.5 42.8-2.2l112-112c12.5-12.5 12.5-32.8 0-45.2s-32.8-12.5-45.2 0l-57.4 57.4 0-210.7C448.5 89.3 367.8 5.4 266.4 .3L256.5 0c-106 0-192 86-192 192l0 224 .2 3.3C66.3 435.4 79.9 448 96.5 448s30.2-12.6 31.8-28.7l.2-3.3 0-224c0-70.7 57.3-128 128-128l6.6 .2c67.6 3.4 121.4 59.4 121.4 127.8l0 210.7-57.4-57.4-2.4-2.2c-12.6-10.2-31.1-9.5-42.8 2.2s-12.4 30.2-2.2 42.8l2.2 2.4 112 112 2.4 2.2z`]};var v8={prefix:`fas`,iconName:`arrow-turn-up`,icon:[384,512,[`level-up`],`f148`,`M32 448c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c53 0 96-43 96-96l0-306.7 73.4 73.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 109.3 160 416c0 17.7-14.3 32-32 32l-96 0z`]};var Qee=v8;var Jee={prefix:`fas`,iconName:`swap-arrows`,icon:[576,512,[],`e60a`,`M9.4 150.6c-12.5-12.5-12.5-32.8 0-45.3l64-64c12.5-12.5 32.8-12.5 45.3 0l64 64c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-9.4-9.4 0 210.7c0 35.3 28.7 64 64 64s64-28.7 64-64l0-192c0-70.7 57.3-128 128-128S512 89.3 512 160l0 210.7 9.4-9.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-64 64c-6 6-14.1 9.4-22.6 9.4s-16.6-3.4-22.6-9.4l-64-64c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l9.4 9.4 0-210.7c0-35.3-28.7-64-64-64s-64 28.7-64 64l0 192c0 70.7-57.3 128-128 128S64 422.7 64 352l0-210.7-9.4 9.4c-12.5 12.5-32.8 12.5-45.3 0z`]};var _8={prefix:`fas`,iconName:`arrow-left-long`,icon:[576,512,[`long-arrow-left`],`f177`,`M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 288 544 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-434.7 0 73.4-73.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-128 128z`]};var ete=_8;var tte={prefix:`fas`,iconName:`arrow-u-turn-right-up`,icon:[576,512,[],`e7ec`,`M396.3 7.2c12.6-10.3 31.1-9.5 42.8 2.2l112 112c12.5 12.5 12.5 32.8 0 45.2s-32.8 12.5-45.2 0l-57.4-57.4 0 210.8c0 102.7-80.7 186.6-182.1 191.8l-9.9 .2c-106 0-192-86-192-192l0-224 .2-3.3C66.3 76.6 79.9 64 96.5 64s30.2 12.6 31.8 28.7l.2 3.3 0 224c0 70.7 57.3 128 128 128l6.6-.2c67.6-3.4 121.4-59.4 121.4-127.8l0-210.8-57.4 57.4-2.4 2.2c-12.6 10.2-31.1 9.5-42.8-2.2s-12.4-30.2-2.2-42.8l2.2-2.4 112-112 2.4-2.2z`]};var nte={prefix:`fas`,iconName:`circle`,icon:[512,512,[9679,9898,9899,11044,61708,61915,128308,128309,128992,128993,128994,128995,128996],`f111`,`M0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0z`]};var rte={prefix:`fas`,iconName:`arrow-up-from-bracket`,icon:[448,512,[],`e09a`,`M246.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 109.3 192 320c0 17.7 14.3 32 32 32s32-14.3 32-32l0-210.7 73.4 73.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-128-128zM64 352c0-17.7-14.3-32-32-32S0 334.3 0 352l0 64c0 53 43 96 96 96l256 0c53 0 96-43 96-96l0-64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 64c0 17.7-14.3 32-32 32L96 448c-17.7 0-32-14.3-32-32l0-64z`]};var b8={prefix:`fas`,iconName:`ellipsis-stroke-vertical`,icon:[128,512,[`ellipsis-v-alt`],`f39c`,`M80 432c0 8.8-7.2 16-16 16s-16-7.2-16-16 7.2-16 16-16 16 7.2 16 16zm48 0c0-35.3-28.7-64-64-64s-64 28.7-64 64 28.7 64 64 64 64-28.7 64-64zM80 256c0 8.8-7.2 16-16 16s-16-7.2-16-16 7.2-16 16-16 16 7.2 16 16zm48 0c0-35.3-28.7-64-64-64s-64 28.7-64 64 28.7 64 64 64 64-28.7 64-64zM64 96a16 16 0 1 1 0-32 16 16 0 1 1 0 32zm0-80a64 64 0 1 0 0 128 64 64 0 1 0 0-128z`]};var ite=b8;var x8={prefix:`fas`,iconName:`square-question`,icon:[448,512,[`question-square`],`f2fd`,`M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM224 176c-17.7 0-32 14.3-32 32 0 13.3-10.7 24-24 24s-24-10.7-24-24c0-44.2 35.8-80 80-80s80 35.8 80 80c0 47.2-36 67.2-56 74.5l0 3.8c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-8.1c0-20.5 14.8-35.2 30.1-40.2 6.4-2.1 13.2-5.5 18.2-10.3 4.3-4.2 7.7-10 7.7-19.6 0-17.7-14.3-32-32-32zM192 368a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z`]};var OA=x8;var w8={prefix:`fas`,iconName:`arrow-up-long`,icon:[320,512,[`long-arrow-up`],`f176`,`M182.6-22.6c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L128 77.3 128 512c0 17.7 14.3 32 32 32s32-14.3 32-32l0-434.7 73.4 73.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-128-128z`]};var ote=w8;var ste={prefix:`fas`,iconName:`restroom`,icon:[640,512,[],`f7bd`,`M80 48a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm40 304l0 128c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-154.8c-8.1 9.2-21.1 13.2-33.5 9.4-16.9-5.3-26.3-23.2-21-40.1l29.7-95.2C44.4 156.9 83.6 128 128 128s83.6 28.9 96.8 71.2l29.7 95.2c5.3 16.9-4.1 34.8-21 40.1-12.4 3.9-25.4-.2-33.5-9.4L200 480c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-128-16 0zM320 0c13.3 0 24 10.7 24 24l0 464c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-464c0-13.3 10.7-24 24-24zM464 48a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zM440 480l0-96-17.8 0c-10.9 0-18.6-10.7-15.2-21.1l9-26.9c-3.2 0-6.4-.5-9.5-1.5-16.9-5.3-26.3-23.2-21-40.1l29.7-95.2C428.4 156.9 467.6 128 512 128s83.6 28.9 96.8 71.2l29.7 95.2c5.3 16.9-4.1 34.8-21 40.1-3.2 1-6.4 1.5-9.5 1.5l9 26.9c3.5 10.4-4.3 21.1-15.2 21.1l-17.8 0 0 96c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-96-16 0 0 96c0 17.7-14.3 32-32 32s-32-14.3-32-32z`]};var ate={prefix:`fas`,iconName:`arrow-progress`,icon:[512,512,[],`e5df`,`M230.8 33.8c9-3.7 19.3-1.7 26.2 5.2l40 40c9.4 9.4 9.4 24.6 0 33.9l-40 40c-6.9 6.9-17.2 8.9-26.2 5.2S216 145.7 216 136l0-8-104 0c-26.5 0-48 21.5-48 48s21.5 48 48 48l288 0c61.9 0 112 50.1 112 112 0 46.4-28.2 86.1-68.3 103.2-9.3 23.9-32.5 40.8-59.7 40.8-35.3 0-64-28.7-64-64s28.7-64 64-64c18.6 0 35.4 7.9 47 20.6 10.4-8.8 17-21.9 17-36.6 0-26.5-21.5-48-48-48l-288 0C50.1 288 0 237.9 0 176S50.1 64 112 64l104 0 0-8c0-9.7 5.8-18.5 14.8-22.2zM416 32a64 64 0 1 1 0 128 64 64 0 1 1 0-128zM151.4 448c-11.1 19.1-31.7 32-55.4 32-35.3 0-64-28.7-64-64s28.7-64 64-64c23.7 0 44.4 12.9 55.4 32l32.6 0 0-8c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l40 40c9.4 9.4 9.4 24.6 0 33.9l-40 40c-6.9 6.9-17.2 8.9-26.2 5.2S184 465.7 184 456l0-8-32.6 0z`]};var lte={prefix:`fas`,iconName:`arrow-down-left`,icon:[384,512,[],`e091`,`M0 416c0 17.7 14.3 32 32 32l224 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-146.7 0 265.4-265.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L64 338.7 64 192c0-17.7-14.3-32-32-32S0 174.3 0 192L0 416z`]};var cte={prefix:`fas`,iconName:`arrow-up-right-and-arrow-down-left-from-center`,icon:[512,512,[],`e0a0`,`M352 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l50.7 0-105.4 105.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3 448 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-128c0-17.7-14.3-32-32-32L352 0zM214.6 297.4c-12.5-12.5-32.8-12.5-45.3 0L64 402.7 64 352c0-17.7-14.3-32-32-32S0 334.3 0 352L0 480c0 17.7 14.3 32 32 32l128 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-50.7 0 105.4-105.4c12.5-12.5 12.5-32.8 0-45.3z`]};var ute={prefix:`fas`,iconName:`arrow-up-from-dotted-line`,icon:[384,512,[],`e09b`,`M169.4 9.4c12.5-12.5 32.8-12.5 45.3 0l128 128c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 109.3 224 352c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-242.7-73.4 73.4c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l128-128zM0 480c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm138.7-32c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm74.7 32c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zM352 448c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32z`]};var S8={prefix:`fas`,iconName:`arrow-down-from-line`,icon:[384,512,[8615,`arrow-from-top`],`f345`,`M32 64C14.3 64 0 49.7 0 32S14.3 0 32 0L352 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 64zM342.6 374.6l-128 128c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 402.7 160 160c0-17.7 14.3-32 32-32s32 14.3 32 32l0 242.7 73.4-73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3z`]};var dte=S8;var pte={prefix:`fas`,iconName:`arrow-up-left`,icon:[384,512,[],`e09d`,`M32 64C14.3 64 0 78.3 0 96L0 320c0 17.7 14.3 32 32 32s32-14.3 32-32l0-146.7 265.4 265.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 128 256 128c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 64z`]};var hte={prefix:`fas`,iconName:`arrows-split-up-and-left`,icon:[512,512,[],`e4bc`,`M342.6-22.6c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l41.4-41.4 0 195.9c-18.8-10.9-40.7-17.1-64-17.1l-114.7 0 41.4-41.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 320 224 320c35.3 0 64 28.7 64 64 0 70.7 57.3 128 128 128l32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0c-35.3 0-64-28.7-64-64l0-306.7 41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96z`]};var E8={prefix:`fas`,iconName:`arrow-left-to-line`,icon:[512,512,[8676,`arrow-to-left`],`f33e`,`M0 416c0 17.7 14.3 32 32 32s32-14.3 32-32L64 96c0-17.7-14.3-32-32-32S0 78.3 0 96L0 416zM137.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 288 480 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-242.7 0 73.4-73.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-128 128z`]};var fte=E8;var mte={prefix:`fas`,iconName:`arrow-down-from-bracket`,icon:[448,512,[],`e667`,`M384 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64c0-53-43-96-96-96L96 0C43 0 0 43 0 96l0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64c0-17.7 14.3-32 32-32l256 0c17.7 0 32 14.3 32 32l0 64zM201.4 502.6c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 402.7 256 192c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 210.7-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128z`]};var gte={prefix:`fas`,iconName:`arrow-left-from-dotted-line`,icon:[512,512,[],`e6b9`,`M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 288 352 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-242.7 0 73.4-73.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-128 128zM480 64a32 32 0 1 0 0 64 32 32 0 1 0 0-64zM448 202.7a32 32 0 1 0 64 0 32 32 0 1 0 -64 0zm32 74.7a32 32 0 1 0 0 64 32 32 0 1 0 0-64zM448 416a32 32 0 1 0 64 0 32 32 0 1 0 -64 0z`]};var yte={prefix:`fas`,iconName:`building-magnifying-glass`,icon:[512,512,[],`e61c`,`M0 64C0 28.7 28.7 0 64 0L320 0c35.3 0 64 28.7 64 64l0 116.8c-12.8-3.1-26.2-4.8-40-4.8-92.8 0-168 75.2-168 168 0 2.7 .1 5.4 .2 8l-.2 0c-17.7 0-32 14.3-32 32l0 80 82.4 0c27 26.4 62.9 43.9 102.7 47.4-3 .4-6 .6-9.1 .6L64 512c-35.3 0-64-28.7-64-64L0 64zM112 96c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zm112 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zM112 224c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zM344 416.1a72 72 0 1 0 0-144 72 72 0 1 0 0 144zm0 48c-66.3 0-120-53.7-120-120s53.7-120 120-120 120 53.7 120 120c0 24.5-7.3 47.2-19.9 66.2L505 471.1c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-60.8-60.9c-19 12.6-41.7 19.9-66.2 19.9z`]};var I8={prefix:`fas`,iconName:`arrows-up-down`,icon:[256,512,[`arrows-v`],`f07d`,`M150.6-22.6c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L96 77.3 96 434.7 54.6 393.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c6 6 14.1 9.4 22.6 9.4s16.6-3.4 22.6-9.4l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-41.4 41.4 0-357.5 41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96z`]};var vte=I8;var T8={prefix:`fas`,iconName:`arrow-right-to-bracket`,icon:[512,512,[`sign-in`],`f090`,`M352 96l64 0c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32l-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0c53 0 96-43 96-96l0-256c0-53-43-96-96-96l-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32zm-9.4 182.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L242.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l210.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128z`]};var _te=T8;var bte={prefix:`fas`,iconName:`location-arrow`,icon:[512,512,[],`f124`,`M477.9 75.5c4.5-11.8 1.7-25.2-7.2-34.1s-22.3-11.8-34.1-7.2l-416 160C7.9 199-.3 211.2 0 224.7s9.1 25.4 21.9 29.6l176.8 58.9 58.9 176.8c4.3 12.8 16.1 21.6 29.6 21.9s25.7-7.9 30.6-20.5l160-416z`]};var xte={prefix:`fas`,iconName:`arrow-turn-down-right`,icon:[512,512,[],`e3d6`,`M64 96c0-17.7-14.3-32-32-32S0 78.3 0 96l0 96c0 53 43 96 96 96l306.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224 96 224c-17.7 0-32-14.3-32-32l0-96z`]};var C8={prefix:`fas`,iconName:`arrow-down-to-line`,icon:[384,512,[`arrow-to-bottom`],`f33d`,`M32 512c-17.7 0-32-14.3-32-32s14.3-32 32-32l320 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 512zM214.6 374.6c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 274.7 160 32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 242.7 73.4-73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-128 128z`]};var wte=C8;var Ste={prefix:`fas`,iconName:`arrow-down-to-bracket`,icon:[448,512,[],`e094`,`M374.6 214.6l-128 128c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 242.7 192 32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 210.7 73.4-73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3zM64 352l0 64c0 17.7 14.3 32 32 32l256 0c17.7 0 32-14.3 32-32l0-64c0-17.7 14.3-32 32-32s32 14.3 32 32l0 64c0 53-43 96-96 96L96 512c-53 0-96-43-96-96l0-64c0-17.7 14.3-32 32-32s32 14.3 32 32z`]};var Ete={prefix:`fas`,iconName:`chevron-right`,icon:[320,512,[9002],`f054`,`M311.1 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L243.2 256 73.9 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z`]};var D8={prefix:`fas`,iconName:`ellipsis-vertical`,icon:[128,512,[`ellipsis-v`],`f142`,`M64 144a56 56 0 1 1 0-112 56 56 0 1 1 0 112zm0 224c30.9 0 56 25.1 56 56s-25.1 56-56 56-56-25.1-56-56 25.1-56 56-56zm56-112c0 30.9-25.1 56-56 56s-56-25.1-56-56 25.1-56 56-56 56 25.1 56 56z`]};var Ite=D8;var A8={prefix:`fas`,iconName:`arrow-right-to-line`,icon:[512,512,[8677,`arrow-to-right`],`f340`,`M512 96c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 320c0 17.7 14.3 32 32 32s32-14.3 32-32l0-320zM374.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L274.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l242.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128z`]};var Tte=A8;var Cte={prefix:`fas`,iconName:`circle-notch`,icon:[512,512,[],`f1ce`,`M222.7 32.1c5 16.9-4.6 34.8-21.5 39.8-79.3 23.6-137.1 97.1-137.1 184.1 0 106 86 192 192 192s192-86 192-192c0-86.9-57.8-160.4-137.1-184.1-16.9-5-26.6-22.9-21.5-39.8s22.9-26.6 39.8-21.5C434.9 42.1 512 140 512 256 512 397.4 397.4 512 256 512S0 397.4 0 256c0-116 77.1-213.9 182.9-245.4 16.9-5 34.8 4.6 39.8 21.5z`]};var Dte={prefix:`fas`,iconName:`arrow-left-long-to-line`,icon:[640,512,[],`e3d4`,`M265.4 105.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L237.3 224 608 224c17.7 0 32 14.3 32 32s-14.3 32-32 32l-370.7 0 73.4 73.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3l128-128zM0 128c0-17.7 14.3-32 32-32s32 14.3 32 32l0 256c0 17.7-14.3 32-32 32S0 401.7 0 384L0 128z`]};var M8={prefix:`fas`,iconName:`arrow-right-long`,icon:[576,512,[`long-arrow-right`],`f178`,`M566.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L466.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l434.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128z`]};var Ate=M8;var P8={prefix:`fas`,iconName:`magnifying-glass`,icon:[512,512,[128269,`search`],`f002`,`M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z`]};var Mte=P8;var R8={prefix:`fas`,iconName:`map-location-dot`,icon:[640,512,[`map-marked-alt`],`f5a0`,`M576 48c0-11.1-5.7-21.4-15.2-27.2s-21.2-6.4-31.1-1.4L413.5 77.5 234.1 17.6c-8.1-2.7-16.8-2.1-24.4 1.7l-128 64C70.8 88.8 64 99.9 64 112l0 352c0 11.1 5.7 21.4 15.2 27.2s21.2 6.4 31.1 1.4l116.1-58.1 173.3 57.8c-4.3-6.4-8.5-13.1-12.6-19.9-11-18.3-21.9-39.3-30-61.8l-101.2-33.7 0-284.5 128 42.7 0 99.3c31-35.8 77-58.4 128-58.4 22.6 0 44.2 4.4 64 12.5L576 48zM512 224c-66.3 0-120 52.8-120 117.9 0 68.9 64.1 150.4 98.6 189.3 11.6 13 31.3 13 42.9 0 34.5-38.9 98.6-120.4 98.6-189.3 0-65.1-53.7-117.9-120-117.9zM472 344a40 40 0 1 1 80 0 40 40 0 1 1 -80 0z`]};var Pte=R8;var k8={prefix:`fas`,iconName:`ellipsis-stroke`,icon:[512,512,[`ellipsis-h-alt`],`f39b`,`M64 256a16 16 0 1 0 32 0 16 16 0 1 0 -32 0zm80 0a64 64 0 1 1 -128 0 64 64 0 1 1 128 0zm112-16a16 16 0 1 0 0 32 16 16 0 1 0 0-32zm0 80a64 64 0 1 1 0-128 64 64 0 1 1 0 128zm176-80a16 16 0 1 0 0 32 16 16 0 1 0 0-32zm0 80a64 64 0 1 1 0-128 64 64 0 1 1 0 128z`]};var Rte=k8;var kte={prefix:`fas`,iconName:`arrow-turn-down-left`,icon:[512,512,[],`e2e1`,`M448 96c0-17.7 14.3-32 32-32s32 14.3 32 32l0 96c0 53-43 96-96 96l-306.7 0 73.4 73.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3l128-128c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L109.3 224 416 224c17.7 0 32-14.3 32-32l0-96z`]};var O8={prefix:`fas`,iconName:`ellipsis`,icon:[448,512,[`ellipsis-h`],`f141`,`M0 256a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm168 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm224-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z`]};var Ote=O8;var Nte={prefix:`fas`,iconName:`arrows-spin`,icon:[512,512,[],`e4bb`,`M481.7 240.1c-17.6-1.2-32.9 12-34.2 29.7-3.3 47-23.6 89.4-54.8 121L361 359c-6.9-6.9-17.2-8.9-26.2-5.2S320 366.3 320 376l0 112c0 13.3 10.7 24 24 24l112 0c9.7 0 18.5-5.8 22.2-14.8s1.7-19.3-5.2-26.2l-35-35c41.7-42.2 68.9-98.8 73.4-161.8 1.2-17.6-12-32.9-29.7-34.2zM39 41L74 76c-41.7 42.2-68.9 98.8-73.4 161.8-1.2 17.6 12 32.9 29.7 34.2s32.9-12 34.2-29.7c3.3-47 23.6-89.4 54.8-121L151 153c6.9 6.9 17.2 8.9 26.2 5.2S192 145.7 192 136l0-112c0-13.3-10.7-24-24-24L56 0C46.3 0 37.5 5.8 33.8 14.8S32.2 34.1 39 41zm201-10.7c-1.2 17.6 12 32.9 29.7 34.2 47 3.3 89.4 23.6 121 54.8L359 151c-6.9 6.9-8.9 17.2-5.2 26.2S366.3 192 376 192l112 0c13.3 0 24-10.7 24-24l0-112c0-9.7-5.8-18.5-14.8-22.2S477.9 32.2 471 39L436 74c-42.2-41.7-98.8-68.9-161.8-73.4-17.6-1.2-32.9 12-34.2 29.7zM41 473l35-35c42.2 41.7 98.8 68.9 161.8 73.4 17.6 1.2 32.9-12 34.2-29.7s-12-32.9-29.7-34.2c-47-3.3-89.4-23.6-121-54.8L153 361c6.9-6.9 8.9-17.2 5.2-26.2S145.7 320 136 320L24 320c-13.3 0-24 10.7-24 24L0 456c0 9.7 5.8 18.5 14.8 22.2S34.1 479.8 41 473z`]};var Lte={prefix:`fas`,iconName:`circle-small`,icon:[320,512,[],`e122`,`M0 256a160 160 0 1 1 320 0 160 160 0 1 1 -320 0z`]};var Fte={prefix:`fas`,iconName:`filter`,icon:[512,512,[],`f0b0`,`M32 64C19.1 64 7.4 71.8 2.4 83.8S.2 109.5 9.4 118.6L192 301.3 192 416c0 8.5 3.4 16.6 9.4 22.6l64 64c9.2 9.2 22.9 11.9 34.9 6.9S320 492.9 320 480l0-178.7 182.6-182.6c9.2-9.2 11.9-22.9 6.9-34.9S492.9 64 480 64L32 64z`]};var zte={prefix:`fas`,iconName:`arrow-turn-left`,icon:[512,512,[],`e632`,`M448 416c0 17.7 14.3 32 32 32s32-14.3 32-32l0-96c0-53-43-96-96-96l-306.7 0 73.4-73.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-128 128c-12.5 12.5-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 288 416 288c17.7 0 32 14.3 32 32l0 96z`]};var N8={prefix:`fas`,iconName:`minus`,icon:[448,512,[8211,8722,10134,`subtract`],`f068`,`M0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32z`]};var Bte=N8;var Ute={prefix:`fas`,iconName:`clock-three`,icon:[512,512,[],`e356`,`M256 0a256 256 0 1 1 0 512 256 256 0 1 1 0-512zM232 120l0 136c0 13.3 10.7 24 24 24l104 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-80 0 0-112c0-13.3-10.7-24-24-24s-24 10.7-24 24z`]};var Vte={prefix:`fas`,iconName:`arrow-left-to-bracket`,icon:[512,512,[],`e669`,`M160 96L96 96c-17.7 0-32 14.3-32 32l0 256c0 17.7 14.3 32 32 32l64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-64 0c-53 0-96-43-96-96L0 128C0 75 43 32 96 32l64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32zm9.4 182.6c-12.5-12.5-12.5-32.8 0-45.3l128-128c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L269.3 224 480 224c17.7 0 32 14.3 32 32s-14.3 32-32 32l-210.7 0 73.4 73.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-128-128z`]};var jte={prefix:`fas`,iconName:`arrow-trend-up`,icon:[576,512,[],`e098`,`M384 160c-17.7 0-32-14.3-32-32s14.3-32 32-32l160 0c17.7 0 32 14.3 32 32l0 160c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-82.7-169.4 169.4c-12.5 12.5-32.8 12.5-45.3 0L192 269.3 54.6 406.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160c12.5-12.5 32.8-12.5 45.3 0L320 306.7 466.7 160 384 160z`]};var $te={prefix:`fas`,iconName:`arrow-up-to-dotted-line`,icon:[384,512,[],`e0a1`,`M64 32A32 32 0 1 1 0 32 32 32 0 1 1 64 32zM169.4 137.4c12.5-12.5 32.8-12.5 45.3 0l128 128c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 237.3 224 480c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-242.7-73.4 73.4c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l128-128zM138.7 64a32 32 0 1 1 0-64 32 32 0 1 1 0 64zM277.3 32a32 32 0 1 1 -64 0 32 32 0 1 1 64 0zM352 64a32 32 0 1 1 0-64 32 32 0 1 1 0 64z`]};var Hte={prefix:`fas`,iconName:`arrow-turn-left-up`,icon:[384,512,[],`e634`,`M352 448c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0c-53 0-96-43-96-96l0-306.7-73.4 73.4c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l128-128c12.5-12.5 32.8-12.5 45.3 0l128 128c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 109.3 224 416c0 17.7 14.3 32 32 32l96 0z`]};var Gte={prefix:`fas`,iconName:`arrow-u-turn-up-left`,icon:[512,512,[],`e7ed`,`M7.7 148.2c-10.3-12.6-9.5-31.1 2.2-42.8l112-112c12.5-12.5 32.8-12.5 45.2 0s12.5 32.8 0 45.2L109.7 96 320.5 96c102.7 0 186.6 80.7 191.8 182.1l.2 9.9c0 106-86 192-192 192l-224 0-3.3-.2c-16.1-1.6-28.7-15.3-28.7-31.8s12.6-30.2 28.7-31.8l3.3-.2 224 0c70.7 0 128-57.3 128-128l-.2-6.6C444.9 213.8 389 160 320.5 160l-210.8 0 57.4 57.4 2.2 2.4c10.2 12.6 9.5 31.1-2.2 42.8s-30.2 12.4-42.8 2.2l-2.4-2.2-112-112-2.2-2.4z`]};var L8={prefix:`fas`,iconName:`rotate`,icon:[512,512,[128260,`sync-alt`],`f2f1`,`M480.1 192l7.9 0c13.3 0 24-10.7 24-24l0-144c0-9.7-5.8-18.5-14.8-22.2S477.9 .2 471 7L419.3 58.8C375 22.1 318 0 256 0 127 0 20.3 95.4 2.6 219.5 .1 237 12.2 253.2 29.7 255.7s33.7-9.7 36.2-27.1C79.2 135.5 159.3 64 256 64 300.4 64 341.2 79 373.7 104.3L327 151c-6.9 6.9-8.9 17.2-5.2 26.2S334.3 192 344 192l136.1 0zm29.4 100.5c2.5-17.5-9.7-33.7-27.1-36.2s-33.7 9.7-36.2 27.1c-13.3 93-93.4 164.5-190.1 164.5-44.4 0-85.2-15-117.7-40.3L185 361c6.9-6.9 8.9-17.2 5.2-26.2S177.7 320 168 320L24 320c-13.3 0-24 10.7-24 24L0 488c0 9.7 5.8 18.5 14.8 22.2S34.1 511.8 41 505l51.8-51.8C137 489.9 194 512 256 512 385 512 491.7 416.6 509.4 292.5z`]};var qte=L8;function VA(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=Array(e);n<e;n++)o[n]=t[n];return o}function Wte(t){if(Array.isArray(t))return t}function Zte(t){if(Array.isArray(t))return VA(t)}function Yte(t,e){if(!(t instanceof e))throw new TypeError(`Cannot call a class as a function`)}function F8(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,`value`in o&&(o.writable=!0),Object.defineProperty(t,mz(o.key),o)}}function Xte(t,e,n){return e&&F8(t.prototype,e),n&&F8(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function d2(t,e){var n=typeof Symbol<`u`&&t[Symbol.iterator]||t[`@@iterator`];if(!n){if(Array.isArray(t)||(n=nM(t))||e&&t&&typeof t.length==`number`){n&&(t=n);var o=0,c=function(){};return{s:c,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(I){throw I},f:c}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
916
|
+
`,[`get`,`name:nonlatin`]]])}catch(P){this.debugLog(`Layer language update failed (layer may not exist)`,P)}}),s.filter(I=>{var P;return I.type===`symbol`&&I.source===`indoorequal`&&((P=I.layout)===null||P===void 0?void 0:P[`text-field`])!==void 0}).map(I=>I.id).forEach(I=>{try{this.map.setLayoutProperty(I,`text-field`,[`case`,[`has`,`name:${e}`],[`get`,`name:${e}`],[`get`,`name`]])}catch(P){this.debugLog(`Layer language update failed (layer may not exist)`,P)}})}prepareSegmentation(e){var n;return Object.assign(Object.assign({},e),{token:this.token,parentPlaceId:(n=this.parentPlaceId)!==null&&n!==void 0?n:`None`})}destroyMap(){this.circles=[],this.map.remove(),this.unsubscribeFromFailedTiles()}clearTileCache(){try{this.failedTiles.clear(),this.map&&this.map.triggerRepaint(),this.logEvent(`clearTileCache`)}catch(e){this.debugLog(`Tile cache clear failed (cache may not exist)`,e)}}is3DSceneActive(){var e;return this.mode===`3D`&&((e=this.scene3DConfig)===null||e===void 0?void 0:e.enabled)!==!1}getCurrentFloor(){var e;return(e=this.currentFloor)!==null&&e!==void 0?e:``}setRouteCollisionPath(e){var n;this.is3DSceneActive()&&((n=this.scene3D)===null||n===void 0||n.setRouteCollisionPath(e))}changeParentPlaceTo(e,n=!1,o){var c,s,m,x,I,P,N;this.parentPlace=e,this.parentPlaceId=e?.mapvxId,this.innerFloors=(s=(c=e?.innerFloors)===null||c===void 0?void 0:c.sort((B,Z)=>B.index-Z.index))!==null&&s!==void 0?s:[],this.currentFloor=(P=(x=(m=this.innerFloors.find(B=>B.defaultFloor))===null||m===void 0?void 0:m.key)!==null&&x!==void 0?x:(I=this.innerFloors[0])===null||I===void 0?void 0:I.key)!==null&&P!==void 0?P:``,e&&this.subPlacesLoad(e.mapvxId),(N=this.scene3D)===null||N===void 0||N.onFloorChange(this.currentFloor),n&&this.repository.fetchAndParseMapStyle(e?.mapvxId).then(B=>{let q=this.tileCacheConfig.enabled&&this.tileCacheConfig.persistToServiceWorker?this.transformStyleForCaching(B):B;this.map.setStyle(q),this.whenStyleUpdates(q),o?.()}).catch(console.error)}updatePlaceAndFloor(e,n){var o,c,s,m,x,I;let P=this.potentialParentPlaces.find(N=>N.mapvxId===e);this.parentPlace=P,this.parentPlaceId=P?.mapvxId,this.innerFloors=(o=P?.innerFloors.sort((N,B)=>N.index-B.index))!==null&&o!==void 0?o:[],this.currentFloor=(x=(s=n??((c=this.innerFloors.find(N=>N.defaultFloor))===null||c===void 0?void 0:c.key))!==null&&s!==void 0?s:(m=this.innerFloors[0])===null||m===void 0?void 0:m.key)!==null&&x!==void 0?x:``,(I=this.scene3D)===null||I===void 0||I.onFloorChange(this.currentFloor)}updateParentPlaceAndFloor(e,n,o){var c,s,m,x;try{this.updatePlaceAndFloor(e,n),this.filterByFloorKey(this.currentFloor),(c=this.onParentPlaceChange)===null||c===void 0||c.call(this,e),(s=this.onFloorChange)===null||s===void 0||s.call(this,(m=this.currentFloor)!==null&&m!==void 0?m:``),this.logEvent(`updateParentPlaceAndFloor`),(x=o?.onComplete)===null||x===void 0||x.call(o)}catch(I){this.debugLog(`Parent place/floor update failed`,I)}}setLang(e){this.repository.setLang(e),mA.includes(e)&&this.setRTLSupport(),this.map.isStyleLoaded()?this.setLayersForLanguage(e):this.map.once(`load`,()=>this.setLayersForLanguage(e))}setParentPlace(e,n,o){this.changeParentPlaceTo(e,n,o)}removeParentPlace(){this.changeParentPlaceTo(void 0,!0)}whenStyleUpdates(e){var n;e&&this.setBaseFilters(e),this.routeController.addSourcesAndLayers(),this.refreshCircles(),this.filterByFloorKey(this.currentFloor),(n=this.scene3D)===null||n===void 0||n.refreshOverlay(this.currentFloor)}addMarker(e){var n,o;try{if(e.id){let m=this.markers.findIndex(x=>x.id===e.id);m!==-1&&(this.markers[m].remove(),this.markers.splice(m,1),this.logEvent(`removeMarker`,{markerId:e.id,reason:`duplicate`}))}let c=new du(e),s=!this.parentPlace||((o=(n=this.innerFloors.find(m=>m.key===this.currentFloor))===null||n===void 0?void 0:n.reachableFromGPS)!==null&&o!==void 0?o:!1);return c.changeFloor(this.currentFloor,this.map,s),this.markers.push(c),this.logEvent(`addMarker`),c.id}catch(c){throw new Error(`Failed to add marker`,{cause:c})}}updateMarker(e){var n;try{let o=this.markers.find(c=>c.id===e.id);return o!==void 0&&o.updateIcon(e),this.logEvent(`updateMarker`),(n=o?.id)!==null&&n!==void 0?n:``}catch(o){throw new Error(`Failed to update marker`,{cause:o})}}updateMarkerPosition(e,n){try{let o=this.markers.find(c=>c.id===e);o!==void 0&&o.setLngLat(n),this.logEvent(`updateMarkerPosition`)}catch(o){throw new Error(`Failed to update marker position`,{cause:o})}}showMarker(e){try{let n=this.markers.find(o=>o.id===e);n!==null&&this.map&&n?.show(this.map),this.logEvent(`showMarker`)}catch(n){this.debugLog(`Show marker failed (marker may not exist)`,n)}}hideMarker(e){try{let n=this.markers.find(o=>o.id===e);n!==null&&n?.hide(),this.logEvent(`hideMarker`)}catch(n){this.debugLog(`Hide marker failed (marker may not exist)`,n)}}removeMarker(e){try{let n=this.markers.find(o=>o.id===e);n!==null&&(n?.remove(),this.markers=this.markers.filter(o=>o.id!==e)),this.logEvent(`removeMarker`)}catch(n){throw new Error(`Failed to remove marker`,{cause:n})}}removeAllMarkers(){try{this.markers.forEach(e=>{e.remove()}),this.markers=[],this.logEvent(`removeAllMarkers`)}catch(e){throw new Error(`Failed to remove all markers`,{cause:e})}}addCircle(e){try{e.id&&(this.circles=this.circles.filter(o=>o.id!==e.id));let n=_A(e);return this.circles.push(n),this.refreshCircles(),this.logEvent(`addCircle`),n.id}catch(n){throw new Error(`Failed to add circle: ${n instanceof Error?n.message:String(n)}`)}}updateCircle(e){try{let n=this.circles.findIndex(o=>o.id===e.id);return n===-1?null:(this.circles[n]=_A(e,this.circles[n].hidden),this.refreshCircles(),this.logEvent(`updateCircle`),this.circles[n].id)}catch(n){throw new Error(`Failed to update circle: ${n instanceof Error?n.message:String(n)}`)}}getCircle(e){let n=this.circles.find(o=>o.id===e);return n?vA(n):void 0}getCircles(){return this.circles.map(vA)}hasCircle(e){return this.circles.some(n=>n.id===e)}updateCirclePosition(e,n,o){try{let c=this.circles.find(x=>x.id===e);if(c===void 0)return!1;if(!n)throw new Error(`Circle center is required`);let{lat:s,lng:m}=n;if(!Number.isFinite(s)||s<-90||s>90)throw new Error(`Invalid latitude: ${s}. Must be between -90 and 90.`);if(!Number.isFinite(m)||m<-180||m>180)throw new Error(`Invalid longitude: ${m}. Must be between -180 and 180.`);if(o!==void 0&&(!Number.isFinite(o)||o<=0))throw new Error(`Invalid radiusMeters: ${o}. Must be a positive finite number.`);return c.coordinate={lat:n.lat,lng:n.lng},o!==void 0&&(c.radiusMeters=o),this.refreshCircles(),this.logEvent(`updateCirclePosition`),!0}catch(c){throw new Error(`Failed to update circle position: ${c instanceof Error?c.message:String(c)}`)}}updateCircleStyle(e,n){try{let o=this.circles.find(c=>c.id===e);return o===void 0?!1:(n.fillColor!==void 0&&(o.fillColor=n.fillColor),n.fillOpacity!==void 0&&(o.fillOpacity=Math.max(0,Math.min(1,n.fillOpacity))),n.strokeColor!==void 0&&(o.strokeColor=n.strokeColor),n.strokeWidth!==void 0&&(o.strokeWidth=n.strokeWidth),n.strokeOpacity!==void 0&&(o.strokeOpacity=Math.max(0,Math.min(1,n.strokeOpacity))),this.refreshCircles(),this.logEvent(`updateCircleStyle`),!0)}catch(o){throw new Error(`Failed to update circle style: ${o instanceof Error?o.message:String(o)}`)}}removeCircle(e){try{this.circles=this.circles.filter(n=>n.id!==e),this.refreshCircles(),this.logEvent(`removeCircle`)}catch(n){throw new Error(`Failed to remove circle`,{cause:n})}}removeAllCircles(){try{this.circles=[],this.refreshCircles(),this.logEvent(`removeAllCircles`)}catch(e){throw new Error(`Failed to remove all circles`,{cause:e})}}showCircle(e){try{let n=this.circles.find(o=>o.id===e);return n===void 0?!1:(n.hidden=!1,this.refreshCircles(),this.logEvent(`showCircle`),!0)}catch(n){return this.debugLog(`Show circle failed`,n),!1}}hideCircle(e){try{let n=this.circles.find(o=>o.id===e);return n===void 0?!1:(n.hidden=!0,this.refreshCircles(),this.logEvent(`hideCircle`),!0)}catch(n){return this.debugLog(`Hide circle failed`,n),!1}}circleFeatureCollection(){var e,n,o;let c=(e=this.currentFloor)!==null&&e!==void 0?e:``,s=!this.parentPlace||((o=(n=this.innerFloors.find(x=>x.key===c))===null||n===void 0?void 0:n.reachableFromGPS)!==null&&o!==void 0?o:!1);return{type:`FeatureCollection`,features:this.circles.filter(x=>{var I;if(x.hidden)return!1;let P=(I=x.floorId)!==null&&I!==void 0?I:``;return P===c||s&&P===``}).map(x=>({type:`Feature`,properties:{id:x.id,fillColor:x.fillColor,fillOpacity:x.fillOpacity,strokeColor:x.strokeColor,strokeWidth:x.strokeWidth,strokeOpacity:x.strokeOpacity,renderOrder:x.renderOrder},geometry:{type:`Polygon`,coordinates:[bA(x.coordinate.lng,x.coordinate.lat,x.radiusMeters)]}}))}}circleBeforeIdFor(e){var n,o,c,s;if(e===`top`)return;let m=((o=(n=this.map.getStyle())===null||n===void 0?void 0:n.layers)!==null&&o!==void 0?o:[]).filter(I=>!bJ(I.id));if(e===`belowLabels`)return(c=m.find(I=>I.type===`symbol`))===null||c===void 0?void 0:c.id;let x=-1;return m.forEach((I,P)=>{I.type!==`symbol`&&(x=P)}),(s=m.slice(x+1).find(I=>I.type===`symbol`))===null||s===void 0?void 0:s.id}ensureCircleLayers(){if(this.map)try{this.map.getSource(om)||this.map.addSource(om,{type:`geojson`,data:this.circleFeatureCollection()});let e=new Set(this.circles.map(n=>n.renderOrder));e.add(`aboveBasemap`);for(let n of Xx){if(!e.has(n))continue;let o=_J(n),c=this.circleBeforeIdFor(n),s=[`==`,[`get`,`renderOrder`],n];if(this.map.getLayer(o.fill))this.map.moveLayer(o.fill,c);else{let m={id:o.fill,type:`fill`,source:om,filter:s,paint:{"fill-color":[`get`,`fillColor`],"fill-opacity":[`get`,`fillOpacity`]}};this.map.addLayer(m,c)}if(this.map.getLayer(o.line))this.map.moveLayer(o.line,c);else{let m={id:o.line,type:`line`,source:om,filter:s,paint:{"line-color":[`get`,`strokeColor`],"line-width":[`get`,`strokeWidth`],"line-opacity":[`get`,`strokeOpacity`]}};this.map.addLayer(m,c)}}}catch(e){this.debugLog(`Layers not added: style not loaded yet, the styledata listener will re-add them`,e)}}refreshCircles(){if(this.map&&!(this.circles.length===0&&!this.map.getSource(om))){this.ensureCircleLayers();try{this.map.getSource(om)?.setData(this.circleFeatureCollection())}catch(e){this.debugLog(`Source not found (a new style may still be loading)`,e)}}}filterByFloorKey(e){this.currentFloor=e;let n=e??``;this.innerFloors.every(o=>o.key!==e)&&e!==``&&this.logEvent(`invalidFloorKey`,{floorKey:n}),this.updateFiltersTo(n),this.updateMarkersTo(n),this.refreshCircles(),this.routeController.updateRouteLayers(n),this.routeController.updateRouteMarkerVisibility(n)}getContainer(){return this.map.getContainer()}resize(){try{this.map&&(this.map.resize(),this.logEvent(`resize`))}catch(e){this.debugLog(`Resize failed (map/container may not be ready)`,e)}}updateMarkersTo(e){var n,o;let c=!this.parentPlace||((o=(n=this.innerFloors.find(s=>s.key===e))===null||n===void 0?void 0:n.reachableFromGPS)!==null&&o!==void 0?o:!1);this.markers.forEach(s=>{s.changeFloor(e,this.map,c)})}updateFiltersTo(e){var n,o,c,s;if(!this.map)return;let m=(o=(n=this.map.getStyle())===null||n===void 0?void 0:n.layers)!==null&&o!==void 0?o:[];m.filter(P=>P.id.startsWith(`base-indoor-`)).forEach(P=>{this.map.removeLayer(P.id)});let x=(c=this.innerFloors.find(P=>P.key===e))===null||c===void 0?void 0:c.baseFloor,I=m.filter(P=>P.id.startsWith(`indoor-`));if(x!=null){let P=(s=I[0])===null||s===void 0?void 0:s.id;I.filter(N=>N.type!==`fill-extrusion`).forEach(N=>{let B=Y6(N);B.id=`base-`+N.id,this.baseFilters[B.id]=this.baseFilters[N.id],this.map.addLayer(B,P),this.applyLayerFilters(B,x)})}I.forEach(P=>{this.applyLayerFilters(P,e)})}applyLayerFilters(e,n){var o;let c=this.baseFilters[e.id],s=n??``,m=[`any`,[`in`,s,[`get`,`floor_key`]]],x=[`==`,[`get`,`public_place`],!0],I=[`!`,[`in`,(o=this.parentPlaceId)!==null&&o!==void 0?o:`noRef`,[`get`,`is_subplace`]]],P=[`in`,s,[`get`,`show_in_floor`]],N=x;this.parentPlaceId!=null&&(N=[`any`,m,x]);let B=[`all`,N,[`any`,I,P]];if(e.id.includes(`hover`)?c=[`in`,this.hoveredId,[`get`,`ref`]]:!e.id.includes(`colored`)&&(e.type==`fill`||e.type===`fill-extrusion`)&&B.push([`!`,[`in`,this.hoveredId,[`get`,`ref`]]]),c!=null){let Z=[`all`,c,B];this.map.setFilter(e.id,Z)}else this.map.setFilter(e.id,B)}getInnerFloors(){return this.innerFloors}updateCamera(e,n){this.map.once(`moveend`,n),this.map.easeTo(Object.assign({},e))}setMaxZoom(e,n){var o;this.map.setMaxZoom(e),(o=n?.onComplete)===null||o===void 0||o.call(n)}setMinZoom(e,n){var o;this.map.setMinZoom(e),(o=n?.onComplete)===null||o===void 0||o.call(n)}setBearing(e,n){var o;if(Number.isFinite(e)){if(n?.animate){n.onComplete&&this.map.once(`moveend`,n.onComplete),this.map.rotateTo(e,{duration:600});return}this.map.setBearing(e),(o=n?.onComplete)===null||o===void 0||o.call(n)}}setRotationEnabled(e){var n,o,c,s,m,x,I,P,N,B;e?((o=(n=this.map.dragRotate)===null||n===void 0?void 0:n.enable)===null||o===void 0||o.call(n),(s=(c=this.map.touchZoomRotate)===null||c===void 0?void 0:c.enableRotation)===null||s===void 0||s.call(c),(x=(m=this.map.keyboard)===null||m===void 0?void 0:m.enable)===null||x===void 0||x.call(m)):((P=(I=this.map.dragRotate)===null||I===void 0?void 0:I.disable)===null||P===void 0||P.call(I),(B=(N=this.map.touchZoomRotate)===null||N===void 0?void 0:N.disableRotation)===null||B===void 0||B.call(N))}setPanEnabled(e){var n,o,c,s;e?(o=(n=this.map.dragPan)===null||n===void 0?void 0:n.enable)===null||o===void 0||o.call(n):(s=(c=this.map.dragPan)===null||c===void 0?void 0:c.disable)===null||s===void 0||s.call(c)}setScrollZoomEnabled(e){var n,o,c,s;e?(o=(n=this.map.scrollZoom)===null||n===void 0?void 0:n.enable)===null||o===void 0||o.call(n):(s=(c=this.map.scrollZoom)===null||c===void 0?void 0:c.disable)===null||s===void 0||s.call(c)}isInsideBounds(e){let n=this.map.getMaxBounds();return n!=null?n.contains(e):!0}setMaxBounds(e,n){var o;if(e.length>1){let c=dA(e);this.map.setMaxBounds(new ps.LngLatBounds([c[0].lng,c[0].lat],[c[1].lng,c[1].lat]))}(o=n?.onComplete)===null||o===void 0||o.call(n)}fitCoordinates(e,n){var o,c;if(e.length===0)return;let s=n?.onComplete;if(e.length===1){let[m]=e;s&&this.map.once(`moveend`,s),this.map.setCenter({lat:m.lat,lng:m.lng})}else{let m,x,I,P;for(let Ke of e){let{lat:ot,lng:Zt}=Ke;m=m===void 0?ot:Math.min(m,ot),x=x===void 0?Zt:Math.min(x,Zt),I=I===void 0?ot:Math.max(I,ot),P=P===void 0?Zt:Math.max(P,Zt)}let N=[x??0,m??0,P??0,I??0],B=this.map.getContainer(),Z=B.clientWidth,q=B.clientHeight,ue=X6(n?.padding,Z,q),_e=Object.assign(Object.assign({},n),{padding:ue}),he=this.map.getBearing(),Pe=this.map.getPitch();(o=_e.bearing)!==null&&o!==void 0||(_e.bearing=he),(c=_e.pitch)!==null&&c!==void 0||(_e.pitch=Pe),s&&this.map.once(`moveend`,s),this.map.fitBounds(N,_e)}}easeToCoordinates(e,n){var o,c,s;if(e.length===0)return;let m=n?.onComplete,x=this.map.getContainer(),I=x.clientWidth,P=x.clientHeight,N=X6(n?.padding,I,P);if(e.length===1){let[_e]=e;m&&this.map.once(`moveend`,m),this.map.easeTo(Object.assign(Object.assign({},n),{center:{lat:_e.lat,lng:_e.lng},padding:N}));return}let B=(o=n?.bearing)!==null&&o!==void 0?o:this.map.getBearing(),Z=(c=n?.pitch)!==null&&c!==void 0?c:this.map.getPitch(),q={bearing:B,padding:N,containerWidth:I,containerHeight:P,maxZoom:(s=n?.maxZoom)!==null&&s!==void 0?s:this.map.getMaxZoom(),minZoom:this.map.getMinZoom()},ue=$6(e,q);Z>0&&(ue=H6(this.map.transform.clone(),e,ue,Object.assign(Object.assign({},q),{pitch:Z}))),m&&this.map.once(`moveend`,m),this.map.easeTo(Object.assign(Object.assign({},n),{center:ue.center,zoom:ue.zoom,bearing:B,pitch:Z,padding:N}))}fitRouteByPlace(e,n,o){let c=e.steps.filter(m=>m.startInsidePlace===n||m.endInsidePlace===n);if(c.length===0)return;let s=c.flatMap(m=>b6(m));s.length>0&&this.fitCoordinates(s,o)}getZoomLevel(){return this.map.getZoom()}updateFloor(e,n){var o,c,s;try{this.filterByFloorKey(e),(o=this.scene3D)===null||o===void 0||o.onFloorChange(this.currentFloor),(c=this.onFloorChange)===null||c===void 0||c.call(this,e),this.logEvent(`updateFloor`,{floorId:e}),(s=n?.onComplete)===null||s===void 0||s.call(n)}catch(m){this.debugLog(`Floor update failed`,m)}}updatePlaceAndFloorForRouting(e,n){var o;try{this.updatePlaceAndFloor(e,n),this.updateFiltersTo(n),this.updateMarkersTo(n),(o=this.onFloorChange)===null||o===void 0||o.call(this,n),this.logEvent(`updatePlaceAndFloorForRouting`,{floorId:n})}catch(c){this.debugLog(`Place/floor update for routing failed`,c)}}async addRoute(e,n={}){try{this.logEvent(`addRoute`);let o=new jo(e),c=new Wl(n),s=await this.repository.fetchAndParseRoute(o);return this.routeController.addRoute(s,c),s}catch(o){throw new Error(`Error: Failed to add route`,{cause:o})}}async addLiveRoute(e,n={}){try{this.logEvent(`addLiveRoute`);let o=new jo(e),c=new Wl(n),s=++this.liveRouteTicket,m=await this.repository.fetchAndParseLiveRoute(o);return s!==this.liveRouteTicket||(this.liveRouteId!==void 0&&this.liveRouteId!==m.id&&this.routeController.removeRoute(this.liveRouteId),this.routeController.getRouteIds().includes(m.id)&&this.routeController.removeRoute(m.id),this.routeController.addRoute(m,c),this.liveRouteId=m.id),m}catch(o){let c=o instanceof Error?o.message:String(o);throw new Error(`Error: Failed to add route: ${c}`,{cause:o})}}updateRouteProgress(e,n,o={type:`Solid`,color:`#276EF1`}){try{let c=new Wl({routeStyle:o});this.routeController.updateRouteProgress(e,n,c)}catch(c){this.debugLog(`Route update failed (route may not exist)`,c)}}removeRoute(e){try{this.logEvent(`removeRoute`),this.routeController.removeRoute(e)}catch(n){this.debugLog(`Remove route failed (no route may exist)`,n)}this.syncLiveRouteId()}removeRouteById(e){try{this.logEvent(`removeRouteById`),this.routeController.removeRoute(e)}catch(n){this.debugLog(`Remove route failed (route may not exist)`,n)}this.syncLiveRouteId()}removeAllRoutes(){try{this.logEvent(`removeAllRoutes`),this.routeController.removeAllRoutes()}catch(e){this.debugLog(`Remove all routes failed`,e)}this.syncLiveRouteId()}syncLiveRouteId(){this.liveRouteId!==void 0&&!this.routeController.getRouteIds().includes(this.liveRouteId)&&(this.liveRouteId=void 0)}getActiveRouteIds(){return this.routeController.getRouteIds()}addPopOver(e){let n=e.placeId;if(n!==void 0){let o=this.subPlaces.find(c=>c.clientId===n||c.mapvxId===n);o!==void 0&&new ps.default.Popup().setLngLat(o.position).setText(o.title).addTo(this.map)}return``}removePopOver(e){throw Error(`Not implemented`)}startClickListener(e){this.clickCallback=e}stopClickListener(){this.clickCallback=void 0}defaultClickListener(){this.map.on(`click`,async e=>{var n,o;let x=this.map.queryRenderedFeatures(e.point).filter(I=>{var P;return I.properties.class===`room`&&((P=I.properties)===null||P===void 0?void 0:P.floor_key)===this.currentFloor})[0]?.properties.ref;if(x!=null&&typeof x==`string`&&x.length>0){console.log(`touchedFeature`,x);let I=this.subPlaces.find(N=>N.mapvxId===x);if(I===void 0)for(let N of this.potentialParentPlaces){let B=this.repository.getCachedSubPlaces(N.mapvxId);if(B&&(I=B.find(Z=>Z.mapvxId===x),I!==void 0))break}if(I===void 0){let N=this.repository.getCachedPlaces([x]);N.length===0?(console.log(`fetching place detail from server`,x),I=await this.repository.fetchAndParsePlaceDetail({id:x})):(console.log(`using cached place detail`,x),I=N?.[0])}console.log(`clickedPlace`,I?.title);let P=(o=(n=I?.mapvxId)!==null&&n!==void 0?n:I?.clientId)!==null&&o!==void 0?o:``;I!==void 0&&this.clickCallback&&this.clickCallback(P)}})}onHover(){this.enableHover&&(this.map.on(`mousemove`,`hoverable`,e=>{var n;let c=((n=e.features)===null||n===void 0?void 0:n.find(s=>{var m,x;return((m=s.properties.ref)===null||m===void 0?void 0:m.length)>0&&((x=s.properties)===null||x===void 0?void 0:x.floor_key)===this.currentFloor}))?.properties.ref;c!=null&&typeof c==`string`&&c.length>0?(this.hoveredId=c,this.updateFiltersTo(this.currentFloor)):c===void 0&&this.hoveredId!==`unselected`&&(this.hoveredId=`unselected`,this.updateFiltersTo(this.currentFloor))}),this.map.on(`mouseleave`,`hoverable`,()=>{this.hoveredId=`unselected`,this.updateFiltersTo(this.currentFloor)}))}setPlacesAsSelected(e,n){try{this.hasLayer(`indoor-colored-places`)||this.createColoredPlacesLayer();let o=this.createBasicFilters(),s=[`any`,...e.map(x=>[`==`,[`get`,`ref`],x])],m=[`all`,s,o];if(this.map.setFilter(`indoor-colored-places`,m),this.baseFilters[`indoor-colored-places`]=s,n!==void 0)switch(this.map.getLayer(`indoor-colored-places`)?.type){case`fill`:this.map.setPaintProperty(`indoor-colored-places`,`fill-color`,n);break;case`fill-extrusion`:this.map.setPaintProperty(`indoor-colored-places`,`fill-extrusion-color`,n);break;default:break}}catch(o){this.debugLog(`Place selection failed (layer may not exist)`,o)}}is3DStyle(){return this.map.getStyle().layers.some(n=>n.type===`fill-extrusion`)}createColoredPlacesLayer(){if(this.is3DStyle()){let e={id:`indoor-colored-places`,type:`fill-extrusion`,source:`indoorequal`,"source-layer":`area`,filter:[`all`,[`has`,`ref`],[`==`,[`get`,`ref`],`unselected`]],paint:{"fill-extrusion-height":2.5,"fill-extrusion-color":bp,"fill-extrusion-opacity":.8}};this.map.addLayer(e)}else{let e={id:`indoor-colored-places`,type:`fill`,source:`indoorequal`,"source-layer":`area`,filter:[`all`,[`has`,`ref`],[`==`,[`get`,`ref`],`unselected`]],paint:{"fill-color":bp}};this.map.addLayer(e)}}createBasicFilters(){var e,n;let o=[`==`,[`get`,`public_place`],!0],c=[`!`,[`in`,(e=this.parentPlaceId)!==null&&e!==void 0?e:`noRef`,[`get`,`is_subplace`]]],s=(n=this.currentFloor)!==null&&n!==void 0?n:`noRef`,m=[`in`,s,[`get`,`floor_key`]],x=[`in`,s,[`get`,`show_in_floor`]],I=o;return this.parentPlaceId!=null&&(I=[`any`,m,o]),[`all`,I,[`any`,c,x]]}hasLayer(e){return this.map.getLayer(e)!==void 0}clearColoredPlaces(){if(this.hasLayer(`indoor-colored-places`)){let e=[`==`,[`get`,`ref`],`unselected`];this.baseFilters[`indoor-colored-places`]=e,this.map.setFilter(`indoor-colored-places`,e)}}async startAnimateRoute(e,n={},o={}){try{let c;if(e instanceof So)c=e;else{let x=new jo(e);c=await this.repository.fetchAndParseRoute(x)}let s=new vp(n),m=new yp(o);return this.routeController.startAnimating(c,s,m),c}catch(c){throw new Error(`Error: Failed to start animating route`,{cause:c})}}async startAnimateRouteV2(e,n={},o={}){try{let c;if(e instanceof So)c=e;else{let x=new jo(e);c=await this.repository.fetchAndParseRouteV2(x)}let s=new vp(n),m=new yp(o);return this.routeController.startAnimating(c,s,m),c}catch(c){throw new Error(`Error: Failed to start animating route`,{cause:c})}}pauseAnimateRoute(e){try{this.routeController.pauseAnimation(e),this.logEvent(`pauseAnimateRoute`)}catch(n){this.debugLog(`Pause animation failed (no animation may be running)`,n)}}resumeAnimateRoute(e){try{this.routeController.resumeAnimation(e),this.logEvent(`resumeAnimateRoute`)}catch(n){this.debugLog(`Resume animation failed (no animation may be paused)`,n)}}restartAnimateRoute(e){try{this.routeController.restartAnimation(e),this.logEvent(`restartAnimateRoute`)}catch(n){this.debugLog(`Restart animation failed (no animation may exist)`,n)}}stopAnimateRoute(){this.logWarning(new Error(`Not implemented`),{functionName:`stopAnimateRoute`})}async addStepAnimation(e,n={},o={}){try{let c;if(e instanceof So)c=e;else{let x=new jo(e);c=await this.repository.fetchAndParseRoute(x)}let s=new vp(n),m=new yp(o);return this.routeController.addStepAnimation(c,s,m),this.logEvent(`addStepAnimation`),c}catch(c){throw new Error(`Error: Failed to add step animation`,{cause:c})}}async addStepAnimationV2(e,n={},o={}){try{let c;if(e instanceof So)c=e;else{let x=new jo(e);c=await this.repository.fetchAndParseRouteV2(x)}let s=new vp(n),m=new yp(o);return this.routeController.addStepAnimation(c,s,m),this.logEvent(`addStepAnimationV2`),c}catch(c){throw new Error(`Error: Failed to add step animation`,{cause:c})}}nextStepAnimation(e){try{this.routeController.nextStepAnimation(e),this.logEvent(`nextStepAnimation`)}catch(n){throw new Error(`Error: Failed to animate step`,{cause:n})}}previousStepAnimation(e){try{this.routeController.previousStepAnimation(e),this.logEvent(`previousStepAnimation`)}catch(n){let o=n instanceof Error?n.message:String(n);throw new Error(`Error: Failed to prepare to animate previous step, `+o)}}centerOnCurrentStepAnimation(e){try{this.routeController.centerOnCurrentStep(e),this.logEvent(`centerOnCurrentStepAnimation`)}catch(n){let o=n instanceof Error?n.message:String(n);throw new Error(`Error: Failed to center on current step animation, `+o)}}addUserLocationTracking(e,n,o){let c={lat:0,lng:0},s;if(o!=null)s=o;else{let P=new Image(40,40);P.src=c6,s=P}let x=new du({coordinate:c,icon:s,text:``});x.addToMap(this.map),this.userLocationMarker=x;let I=P=>{x.setLngLat([P.coords.longitude,P.coords.latitude])};this.geoLocation=n??navigator.geolocation,this.watchPositionID=this.geoLocation.watchPosition(I,P=>{console.error(`Error getting user location:`,P)},{enableHighAccuracy:e})}removeUserLocationTracking(){this.userLocationMarker!==void 0&&(this.userLocationMarker.remove(),this.userLocationMarker=void 0,this.watchPositionID&&(this.geoLocation.clearWatch(this.watchPositionID),this.watchPositionID=void 0))}getBearing(){return this.map.getBearing()}addBorderToPlaces(e,n,o){try{this.hasLayer(`indoor-bordered-places`)||this.createBorderedPlacesLayer();let c=this.createBasicFilters(),m=[`any`,...e.map(I=>[`==`,[`get`,`ref`],I])],x=[`all`,m,c];this.map.setFilter(`indoor-bordered-places`,x),this.baseFilters[`indoor-bordered-places`]=m,n!==void 0&&o!==void 0&&(this.map.setPaintProperty(`indoor-bordered-places`,`line-color`,n),this.map.setPaintProperty(`indoor-bordered-places`,`line-width`,o))}catch(c){throw new Error(`Failed to add border to places`,{cause:c})}}createBorderedPlacesLayer(){let e={id:`indoor-bordered-places`,type:`line`,source:`indoorequal`,"source-layer":`area`,filter:[`all`,[`has`,`ref`],[`==`,[`get`,`ref`],`unselected`]],paint:{"line-color":bp,"line-width":4}};this.map.addLayer(e)}clearBorderedPlaces(){if(this.hasLayer(`indoor-bordered-places`)){let e=[`==`,[`get`,`ref`],`unselected`];this.baseFilters[`indoor-bordered-places`]=e,this.map.setFilter(`indoor-bordered-places`,e)}}onWebGLContextLost(e){var n,o;e.originalEvent.preventDefault(),console.warn(`Contexto WebGL perdido 😢`);let c=(n=this===null||this===void 0?void 0:this.map)===null||n===void 0?void 0:n.getCanvas(),s=c?.getContext(`webgl`)||c?.getContext(`webgl2`);if(s&&s.isContextLost()){c.addEventListener(`webglcontextrestored`,()=>{console.debug(`Contexto WebGL restaurado, forzando re-render`),this.map.triggerRepaint(),this.failedTiles.clear()},{once:!0});let m=s.getExtension(`WEBGL_lose_context`);(o=m?.restoreContext)===null||o===void 0||o.call(m)}}onWebGLContextRestored(){console.debug(`Evento webglcontextrestored recibido, haciendo map.redraw()`),this.map.redraw(),this.failedTiles.clear()}onSourceData(e){var n;if(e.source.type===`vector`&&e.sourceId===`indoorequal`&&e.tile&&!e.isSourceLoaded){let o=(n=e.tile)===null||n===void 0?void 0:n.state;(o===`errored`||o===`expired`)&&this.failedTiles.add(e.tile)}}onSourceDataAbort(e){e.source.type===`vector`&&e.sourceId===`indoorequal`&&e.tile&&this.failedTiles.delete(e.tile)}subscribeToFailedTiles(){this.retryTimer||(this.boundOnSourceData=this.onSourceData.bind(this),this.boundOnSourceDataAbort=this.onSourceDataAbort.bind(this),this.boundOnWebGLContextLost=this.onWebGLContextLost.bind(this),this.boundOnWebGLContextRestored=this.onWebGLContextRestored.bind(this),this.retryTimer=setInterval(()=>{if(!this.map.getSource(`indoorequal`)){this.failedTiles.clear();return}let e=this.map.getSource(`indoorequal`);if(!e||e.type!==`vector`){this.failedTiles.clear();return}let n=[],o=[];this.failedTiles.forEach(s=>{if(!s||s.state===`unloaded`||s.state===`loading`){o.push(s);return}s.state===`errored`||s.state===`expired`?n.push(s):o.push(s)}),o.forEach(s=>this.failedTiles.delete(s));let c=Date.now();n.forEach(s=>{var m;let x=(m=this.tileRetryState.get(s))!==null&&m!==void 0?m:{attempts:0,nextAttemptAt:0,pending:!1};if(x.pending||c<x.nextAttemptAt)return;let I=P=>{let N=x.attempts+1;if(N>=W6){this.debugLog(`Tile reload failed ${N} times, dropping it from the retry queue`,P),this.failedTiles.delete(s),this.tileRetryState.delete(s);return}let B=vJ*2**(N-1);this.debugLog(`Tile reload failed (attempt ${N}/${W6}), retrying in ${B}ms`,P),this.tileRetryState.set(s,{attempts:N,nextAttemptAt:Date.now()+B,pending:!1})};try{s&&(s.state===`errored`||s.state===`expired`)&&(this.tileRetryState.set(s,Object.assign(Object.assign({},x),{pending:!0})),e.loadTile(s).then(()=>{this.tileRetryState.delete(s)}).catch(I))}catch(P){I(P)}})},1e3),this.map.on(`sourcedata`,this.boundOnSourceData),this.map.on(`sourcedataabort`,this.boundOnSourceDataAbort),this.map.on(`webglcontextlost`,this.boundOnWebGLContextLost),this.map.on(`webglcontextrestored`,this.boundOnWebGLContextRestored))}unsubscribeFromFailedTiles(){this.retryTimer&&(clearInterval(this.retryTimer),this.retryTimer=void 0),this.boundOnSourceData&&(this.map.off(`sourcedata`,this.boundOnSourceData),this.boundOnSourceData=void 0),this.boundOnSourceDataAbort&&(this.map.off(`sourcedataabort`,this.boundOnSourceDataAbort),this.boundOnSourceDataAbort=void 0),this.boundOnWebGLContextLost&&(this.map.off(`webglcontextlost`,this.boundOnWebGLContextLost),this.boundOnWebGLContextLost=void 0),this.boundOnWebGLContextRestored&&(this.map.off(`webglcontextrestored`,this.boundOnWebGLContextRestored),this.boundOnWebGLContextRestored=void 0),this.failedTiles.clear()}};function J6(t){return t instanceof DeviceOrientationEvent}function e8(t){return typeof t==`string`?{id:t}:t}function PA(t,e){return new i2(t,Object.assign(Object.assign({},{lang:`en`,apiUrl:`https://public-api.mapvx.com`,cache:{persistent:!1}}),e))}var i2=class extends fu{constructor(e,n){var o,c,s;super(),this.maps=[],this.geoLocation=navigator.geolocation,this.headingListeners=[],this.token=e,this.config=n;let m=new ip({persistent:(o=n.cache)===null||o===void 0?void 0:o.persistent,maxStorageBytes:(c=n.cache)===null||c===void 0?void 0:c.maxStorageBytes,configs:(s=n.cache)===null||s===void 0?void 0:s.configs});this.repository=new rm(e,this.config.lang,this.config.apiUrl,m,this.config.mapvxRequestContext),this.cachePlaces(),this.logEvent(`initSDK`)}cachePlaces(){this.repository.fetchAndParseAvailablePlaces().catch(()=>{})}setSdkLang(e){this.config.lang=e,this.repository.setLang(e),this.maps.forEach(n=>n.setLang(e))}unregisterMap(e){let n=this.maps.indexOf(e);n>=0&&this.maps.splice(n,1)}async getPlaceDetail(e){try{let n=e8(e),o=await this.repository.fetchAndParsePlaceDetail(n);return this.logEvent(`getPlaceDetail`,{id:n.id}),o}catch(n){throw new Error(`Error getPlaceDetail`,{cause:n})}}async getAnyPlaceDetail(e,n){try{let o=e8(e),c=await this.repository.fetchAndParseAnyPlaceDetail(o,n);return this.logEvent(`getAnyPlaceDetail`,{id:o.id}),c}catch(o){throw new Error(`Error getAnyPlaceDetail`,{cause:o})}}prepareSegmentation(e){return Object.assign(Object.assign({},e),{token:this.token})}createMap(e,n){try{n.lang=this.config.lang,n.apiUrl=this.config.apiUrl,n.mapvxRequestContext=this.config.mapvxRequestContext;let o=new r2(n,e,this.token),c=o.destroyMap.bind(o);return o.destroyMap=()=>{try{c()}finally{this.unregisterMap(o)}},this.maps.push(o),this.logEvent(`createMap`),o}catch(o){throw new Error(`Failed to create map`,{cause:o})}}async getConfiguration(e,n){try{let o=await this.repository.fetchAndParseConfiguration(e,n);return this.logEvent(`configuration`),o}catch(o){throw new Error(`Failed to get configuration`,{cause:o})}}async getCategories(e){try{let n=await this.repository.fetchAndParseCategories(e);return this.logEvent(`categories`),n}catch(n){throw new Error(`Failed to get categories`,{cause:n})}}async getTransport(e){try{return await this.repository.fetchAndParseTransport(e)}catch(n){throw new Error(`Failed to get transport`,{cause:n})}}getCachedPlaces(e){try{let n=this.repository.getCachedPlaces(e);return this.logEvent(`getCachedPlaces`),n}catch(n){throw new Error(`Failed to get cached places`,{cause:n})}}async getAvailablePlaces(){try{let e=await this.repository.fetchAndParseAvailablePlaces();return this.logEvent(`getAvailablePlaces`),e}catch(e){throw new Error(`Failed to get available places`,{cause:e})}}async getSubPlaces(e){try{let n=await this.repository.fetchAndParseSubPlaces(e);return this.logEvent(`getSubPlaces`),n}catch(n){throw new Error(`Failed to get subplaces`,{cause:n})}}async getPlacesFromInstitution(e,n){try{let o=await this.repository.fetchAndParsePlacesFromInstitution(e,n);return this.logEvent(`getPlacesFromInstitution`),o}catch(o){throw new Error(`Failed to get places from institution`,{cause:o})}}async getAnySubPlaces(e,n){try{let o=await this.repository.fetchAndParseAnySubPlaces(e,n);return this.logEvent(`getAnySubPlaces`),o}catch(o){throw new Error(`Failed to get any sub-places`,{cause:o})}}async getInstitutions(){try{let e=await this.repository.fetchAndParseInstitutions();return this.logEvent(`getInstitutions`),e}catch(e){throw new Error(`Error getInstitution`,{cause:e})}}async getRoute(e){try{let n=new jo(e),o=await this.repository.fetchAndParseRoute(n);return this.logEvent(`getRoute`),o}catch(n){throw new Error(`Failed to get route`,{cause:n})}}async getRouteV2(e){try{let n=new jo(e),o=await this.repository.fetchAndParseRouteV2(n);return this.logEvent(`getRouteV2`),o}catch(n){throw new Error(`Failed to get route`,{cause:n})}}async getLiveRoute(e){try{let n=new jo(e),o=await this.repository.fetchAndParseLiveRoute(n);return this.logEvent(`getLiveRoute`),o}catch(n){throw new Error(`Failed to get route`,{cause:n})}}async getPlacesByInput(e,n,o,c,s,m,x,I){try{let P=o?c?[o,...c]:[o]:c,N=await this.repository.fetchAndParseSearchResults(n,e,P,s,m,x,I);return this.logEvent(`getPlacesByInput`),N}catch(P){throw new Error(`Failed to get places by input`,{cause:P})}}async searchPlacesByTags(e,n,o={}){if(!n||n.length===0)throw new Error(`searchPlacesByTags requires at least one tag`);let{parentPlaces:c,sort:s,origin:m,lat:x,lng:I,floor:P}=o;if(s===`distance`){let N=x!=null&&I!=null&&P!=null&&c!=null&&c.length>0;if(!m&&!N)throw new Error(`searchPlacesByTags with sort "distance" requires "origin" or "lat" + "lng" + "floor" + "parentPlaces"`)}try{let N=await this.repository.fetchAndParseSearchPlacesByTags(e,n,c,s,m,x,I,P);return this.logEvent(`searchPlacesByTags`),N}catch(N){throw new Error(`Failed to search places by tags`,{cause:N})}}async getPlacesByCategory(e){try{return this.logEvent(`getPlacesByCategory`),[]}catch(n){throw new Error(`Failed to get places by category`,{cause:n})}}setGeoLocation(e){this.geoLocation=e}getUserLocation(e={enableHighAccuracy:!0,timeout:60*1e3,maximumAge:10*1e3}){return new Promise((n,o)=>{this.geoLocation.getCurrentPosition(c=>{n(c)},c=>{o(c)},e)})}watchUserPosition(e,n,o={enableHighAccuracy:!0,timeout:60*1e3,maximumAge:1e3}){return this.geoLocation.watchPosition(c=>{e(c)},c=>{n(c)},o)}unWatchUserPosition(e){this.geoLocation.clearWatch(e)}watchUserHeading(e,n){let o=c=>{if(!J6(c))return;let s=null;c.webkitCompassHeading!==void 0?s=c.webkitCompassHeading||null:c.absolute&&c.alpha!==null&&(s=360-c.alpha),s!==null?e(s):n(`Could not retrieve heading information.`)};this.headingListeners.push(o),`ondeviceorientationabsolute`in window?window.addEventListener(`deviceorientationabsolute`,o):`ondeviceorientation`in window&&window.addEventListener(`deviceorientation`,o)}unwatchUserHeading(){this.headingListeners.forEach(e=>{window.removeEventListener(`deviceorientationabsolute`,e),window.removeEventListener(`deviceorientation`,e)}),this.headingListeners=[]}static getLang(){return this.config.lang}async loadRoutesForOriginCache(e,n,o,c,s){await this.repository.fetchAndParseRoutesFromOrigin(e,n,o,c,s)}async getCacheTimestamp(e){try{let n=await this.repository.fetchAndParseCacheTimestamp(e);return this.logEvent(`getCacheTimestamp`),n}catch(n){throw new Error(`Failed to get cache timestamp`,{cause:n})}}cleanRoutesCache(){this.repository.cleanRoutesCache()}async getCssCustomization(e){try{let n=await this.repository.fetchAndParseCssCustomization(e);return this.logEvent(`cssCustomization`),n}catch(n){throw new Error(`Failed to get css customization`,{cause:n})}}async notifyHealth(e,n,o,c){try{return await this.repository.postAndParseHealthPing(e,n,o,c)}catch(s){throw new Error(`Failed to notify health`,{cause:s})}}};var Eo=class t{logger=se(Ct);_sdk;get sdk(){if(this._sdk!=null)return this._sdk;throw this.logger.log(`Called sdk access without sdk initialized`),new Error(`SDK not initialized`)}initialize(e,n=`en`){this._sdk=PA(e,{lang:n})}isInitialized(){return this._sdk!=null}createMap(e,n){return this.sdk.createMap(e,n)}async getAvailablePlaces(){return this.sdk.getAvailablePlaces()}async getSubPlaces(e){return this.sdk.getSubPlaces(e)}async getConfiguration(){return this.sdk.getConfiguration()}async searchPlaces(e,n){return this.sdk.getPlacesByInput(e,n)}async getInstitutions(){return this.sdk.getInstitutions()}async getPlaceDetail(e){return this.sdk.getPlaceDetail(e)}async getRoute(e,n){let o={initialLocation:Bs(e)?e.position:{id:e.mapvxId},finalLocation:Bs(n)?n.position:{id:n.mapvxId}};return this.sdk.getRouteV2(o)}watchUserLocation(e,n){return this.sdk.watchUserPosition(o=>e(A1(o)),o=>n(new Error(`Error watching user location`,{cause:o})))}stopWatchingUserLocation(e){this.sdk.unWatchUserPosition(e)}watchUserHeading(e,n){return this.sdk.watchUserHeading(e,o=>n(new Error(`Error watching user bearing: ${o}`)))}stopWatchingUserHeading(){this.sdk.unwatchUserHeading()}static ɵfac=function(n){return new(n||t)};static ɵprov=ct({token:t,factory:t.ɵfac,providedIn:`root`})};var tr=class t{onDestroy=new Jt;logger=se(Ct);sdkService=se(Eo);loadedDataService=se(In);_map;mapReady=new Cn(!1);rotation=new Cn(0);configuration;currentParentPlaceId;currentFloorId=dt(void 0);get map(){if(this._map!=null)return this._map;throw this.logger.log(`Called map access without map created`),new Error(`Map not created`)}ngOnDestroy(){this.mapReady.complete(),this.onDestroy.next(),this.onDestroy.complete()}createMap(e,n){this.mapReady.next(!1),this._map!=null?(this.logger.log(`====> map already exists, waiting for container to be ready`),this.waitForMapContainer(e,this._map.getContainer(),n)):(this.logger.log(`====> map does not exist, creating new map`),this.loadedDataService.getConfiguration().pipe(ri(this.onDestroy)).subscribe(o=>{this.configuration=o;let c={zoom:o.initialZoom??15,center:o.initialCenter??{lat:0,lng:0},maxZoom:o.limitZoomIn,minZoom:o.limitZoomOut,lang:o.defaultLanguage,maxBounds:o.pointsOfInterest,otherPotentialParentPlacesIds:o.potentialParentPlaces,onMapReady:()=>{n?.(),this.mapReady.next(!0)},onRotate:s=>{this.rotation.next(s)},onFloorChange:s=>{this.currentFloorId.set(s)}};this._map=this.sdkService.createMap(e,c)}))}waitForMapContainer(e,n,o){let s=0,m=()=>{s++;try{e.replaceWith(n),o?.(),this.mapReady.next(!0);return}catch{this.logger.log(`Map container not ready yet, attempt ${s}/100`)}s<100?setTimeout(m,100):(this.logger.logWarning(`Map container not available after maximum attempts, creating new map`),this._map?.destroyMap(),this._map=void 0,this.mapReady.next(!1),this.createMap(e,o))};m()}waitUntilMapReady(e){return Lo([e,this.mapReady]).pipe(gr(([,n])=>n),en(([n])=>n))}waitUntilMapIsReady(){return e=>this.waitUntilMapReady(e)}removeAllMarkers(){try{this.map.removeAllMarkers()}catch(e){this.logger.logWarning(`Error removing all markers`,e)}}removeMarker(e){try{this.map.removeMarker(e)}catch(n){this.logger.logWarning(`Error removing marker`,n)}}addMarker(e){try{this.map.addMarker(e)}catch(n){this.logger.logWarning(`Error adding marker`,n)}}updateMarkerPosition(e,n){try{this.map.updateMarkerPosition(e,n),this.logger.log(`Update marker position success with arguments `,e,n)}catch(o){this.logger.log(`Update marker position failed with arguments `,e,n),this.logger.logWarning(new Error(`Update marker position failed`,{cause:o}))}}updateZoomLevelOn(e){let n=this.map.getZoomLevel();try{this.map.updateCamera({zoom:n+e})}catch(o){this.logger.logWarning(`Error updating zoom level`,o)}}updateToInitialCamera(){try{this.map.updateCamera({center:this.configuration?.initialCenter??{lat:0,lng:0},zoom:this.configuration?.initialZoom??15,pitch:this.configuration?.initialPitch??0,bearing:0})}catch(e){this.logger.logWarning(`Error updating to initial camera`,e)}}updateCamera(e,n){try{this.map.updateCamera(e,n)}catch(o){this.logger.logWarning(`Error updating camera`,o)}}fitCoordinates(e,n){try{let o=this.map.getBearing();this.logger.log(`Current map bearing is ${o}`),this.map.fitCoordinates(e,r({bearing:o},n))}catch(o){this.logger.log(`Fit coordinates failed with arguments `,e,n),this.logger.logWarning(new Error(`Fit coordinates failed`,{cause:o}))}}fitRoute(e,n,o,c){let s=[e,n,...o.legs.flatMap(x=>x.steps.flatMap(I=>I.coordinates))],m=this.map.getBearing();try{this.map.fitCoordinates(s,r({bearing:m},c))}catch(x){this.logger.log(`Fit route failed with arguments `,o,c),this.logger.logWarning(new Error(`Fit route failed`,{cause:x}))}}startAnimatingRoute(e,n,o){try{this.map.startAnimateRouteV2(e,n,o).catch(c=>{this.logger.logWarning(`Error starting animating route`,c)})}catch(c){this.logger.logWarning(`Error starting animating route`,c)}}addStepAnimation(e,n,o){try{this.map.addStepAnimationV2(e,n,o).catch(c=>{this.logger.logWarning(`Error adding step animation`,c)})}catch(c){this.logger.logWarning(`Error adding step animation`,c)}}nextStepAnimation(){try{this.map.nextStepAnimation()}catch(e){this.logger.logWarning(`Error animating next step`,e)}}previousStepAnimation(){try{this.map.previousStepAnimation()}catch(e){this.logger.logWarning(`Error animating previous step`,e)}}centerOnCurrentStepAnimation(){try{this.map.centerOnCurrentStepAnimation()}catch(e){this.logger.logWarning(`Error centering on current step`,e)}}pauseAnimatingRoute(){try{this.map.pauseAnimateRoute()}catch(e){this.logger.logWarning(`Error pausing animating route`,e)}}resumeAnimatingRoute(){try{this.map.resumeAnimateRoute()}catch(e){this.logger.logWarning(`Error resuming animating route`,e)}}restartAnimatingRoute(){try{this.map.restartAnimateRoute()}catch(e){this.logger.logWarning(`Error restarting animating route`,e)}}removeRoute(){try{this.map.removeRoute()}catch(e){this.logger.logWarning(`Error removing route`,e)}}parentPlaceReady=Promise.resolve();setParentPlace(e,n){try{let o=this.map,c=e.mapvxId!==this.currentParentPlaceId;this.currentParentPlaceId=e.mapvxId,this.parentPlaceReady=new Promise(s=>{let m=()=>{n?.(),s()};o.setParentPlace(e,c,m),c||m()})}catch(o){this.logger.logWarning(`Error setting parent place`,o),this.parentPlaceReady=Promise.resolve()}}waitForParentPlaceReady(){return this.parentPlaceReady}updateFloor(e){try{this.map.updateFloor(e),this.currentFloorId.set(e)}catch(n){this.logger.logWarning(`Error updating floor`,n)}}removeParentPlace(){try{this.map.removeParentPlace(),this.currentParentPlaceId=void 0}catch(e){this.logger.logWarning(`Error removing parent place and floor`,e)}}prepareToReuse(){this.mapReady.next(!1)}static ɵfac=function(n){return new(n||t)};static ɵprov=ct({token:t,factory:t.ɵfac,providedIn:`root`})};var NA={};w(NA,{faAdd:()=>aee,faArrowDown:()=>FJ,faArrowDownArrowUp:()=>s8,faArrowDownFromArc:()=>KJ,faArrowDownFromBracket:()=>mte,faArrowDownFromDottedLine:()=>$ee,faArrowDownFromLine:()=>S8,faArrowDownLeft:()=>lte,faArrowDownLong:()=>f8,faArrowDownLongToLine:()=>UJ,faArrowDownRight:()=>DJ,faArrowDownToArc:()=>TJ,faArrowDownToBracket:()=>Ste,faArrowDownToLine:()=>C8,faArrowFromBottom:()=>mee,faArrowFromLeft:()=>Eee,faArrowFromRight:()=>qee,faArrowFromTop:()=>dte,faArrowLeft:()=>dee,faArrowLeftArrowRight:()=>qJ,faArrowLeftFromArc:()=>lee,faArrowLeftFromBracket:()=>kJ,faArrowLeftFromDottedLine:()=>gte,faArrowLeftFromLine:()=>y8,faArrowLeftLong:()=>_8,faArrowLeftLongToLine:()=>Dte,faArrowLeftRotate:()=>WJ,faArrowLeftToArc:()=>Lee,faArrowLeftToBracket:()=>Vte,faArrowLeftToDottedLine:()=>uee,faArrowLeftToLine:()=>E8,faArrowPointer:()=>n8,faArrowProgress:()=>ate,faArrowRight:()=>Fee,faArrowRightArrowLeft:()=>d8,faArrowRightFromArc:()=>Yee,faArrowRightFromBracket:()=>h8,faArrowRightFromDottedLine:()=>pee,faArrowRightFromLine:()=>m8,faArrowRightLong:()=>M8,faArrowRightLongToLine:()=>EJ,faArrowRightRotate:()=>tee,faArrowRightToArc:()=>jJ,faArrowRightToBracket:()=>T8,faArrowRightToDottedLine:()=>VJ,faArrowRightToLine:()=>A8,faArrowRotateBack:()=>ZJ,faArrowRotateBackward:()=>YJ,faArrowRotateForward:()=>nee,faArrowRotateLeft:()=>zv,faArrowRotateRight:()=>o2,faArrowToBottom:()=>wte,faArrowToLeft:()=>fte,faArrowToRight:()=>Tte,faArrowToTop:()=>yee,faArrowTrendDown:()=>SJ,faArrowTrendUp:()=>jte,faArrowTurnDown:()=>g8,faArrowTurnDownLeft:()=>kte,faArrowTurnDownRight:()=>xte,faArrowTurnLeft:()=>zte,faArrowTurnLeftDown:()=>jee,faArrowTurnLeftUp:()=>Hte,faArrowTurnRight:()=>MJ,faArrowTurnUp:()=>v8,faArrowUTurnDownLeft:()=>QJ,faArrowUTurnDownRight:()=>Gee,faArrowUTurnLeftDown:()=>zJ,faArrowUTurnLeftUp:()=>Xee,faArrowUTurnRightDown:()=>Kee,faArrowUTurnRightUp:()=>tte,faArrowUTurnUpLeft:()=>Gte,faArrowUTurnUpRight:()=>Cee,faArrowUp:()=>Zee,faArrowUpArrowDown:()=>t8,faArrowUpFromArc:()=>Hee,faArrowUpFromBracket:()=>rte,faArrowUpFromDottedLine:()=>ute,faArrowUpFromLine:()=>u8,faArrowUpLeft:()=>pte,faArrowUpLong:()=>w8,faArrowUpLongToLine:()=>hee,faArrowUpRight:()=>Tee,faArrowUpRightAndArrowDownLeftFromCenter:()=>cte,faArrowUpToArc:()=>vee,faArrowUpToBracket:()=>CJ,faArrowUpToDottedLine:()=>$te,faArrowUpToLine:()=>p8,faArrowsCross:()=>Mee,faArrowsDownToLine:()=>Nee,faArrowsH:()=>oee,faArrowsLeftRight:()=>a8,faArrowsRepeat:()=>c8,faArrowsRetweet:()=>r8,faArrowsRotate:()=>RA,faArrowsRotateReverse:()=>IJ,faArrowsSpin:()=>Nte,faArrowsSplitUpAndLeft:()=>hte,faArrowsTurnRight:()=>Bee,faArrowsUpDown:()=>I8,faArrowsV:()=>vte,faBadgeDollar:()=>iee,faBuildingMagnifyingGlass:()=>yte,faCaretDown:()=>eee,faCaretUp:()=>fee,faChevronLeft:()=>Iee,faChevronRight:()=>Ete,faCircle:()=>nte,faCircleNotch:()=>Cte,faCircleSmall:()=>Lte,faClockThree:()=>Ute,faClose:()=>Pee,faElevator:()=>GJ,faEllipsis:()=>O8,faEllipsisH:()=>Ote,faEllipsisHAlt:()=>Rte,faEllipsisStroke:()=>k8,faEllipsisStrokeVertical:()=>b8,faEllipsisV:()=>Ite,faEllipsisVAlt:()=>ite,faEllipsisVertical:()=>D8,faExchange:()=>gee,faFilter:()=>Fte,faGrid2:()=>$J,faLevelDown:()=>Uee,faLevelUp:()=>Qee,faLocation:()=>NJ,faLocationArrow:()=>bte,faLocationArrowUp:()=>see,faLocationCrosshairs:()=>i8,faLocationDot:()=>o8,faLongArrowDown:()=>bee,faLongArrowLeft:()=>ete,faLongArrowRight:()=>Ate,faLongArrowUp:()=>ote,faMagnifyingGlass:()=>P8,faMapLocationDot:()=>R8,faMapMarkedAlt:()=>Pte,faMapMarkerAlt:()=>LJ,faMinus:()=>N8,faMousePointer:()=>AJ,faMultiply:()=>Ree,faPause:()=>BJ,faPlay:()=>Wee,faPlayPause:()=>Vee,faPlus:()=>l8,faQuestionSquare:()=>OA,faRedo:()=>ree,faRedoAlt:()=>Dee,faRefresh:()=>PJ,faRemove:()=>kee,faRepeatAlt:()=>cee,faRestroom:()=>ste,faRetweetAlt:()=>OJ,faRotate:()=>L8,faRotateBack:()=>xee,faRotateBackward:()=>wee,faRotateForward:()=>Aee,faRotateLeft:()=>s2,faRotateReverse:()=>JJ,faRotateRight:()=>kA,faSearch:()=>Mte,faSignIn:()=>_te,faSignOut:()=>_ee,faSortAlt:()=>HJ,faSortUpDown:()=>wJ,faSquareQuestion:()=>x8,faSubtract:()=>Bte,faSwapArrows:()=>Jee,faSync:()=>RJ,faSyncAlt:()=>qte,faTimes:()=>Oee,faUndo:()=>XJ,faUndoAlt:()=>See,faWheelchair:()=>zee,faXmark:()=>Bv});var t8={prefix:`fas`,iconName:`arrow-up-arrow-down`,icon:[512,512,[`sort-up-down`],`e099`,`M150.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L96 109.3 96 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-370.7 41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96zm352 397.3c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L416 402.7 416 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 370.7-41.4-41.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0l96-96z`]};var wJ=t8;var SJ={prefix:`fas`,iconName:`arrow-trend-down`,icon:[576,512,[],`e097`,`M384 352c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0c17.7 0 32-14.3 32-32l0-160c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 82.7-169.4-169.4c-12.5-12.5-32.8-12.5-45.3 0L192 242.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0L320 205.3 466.7 352 384 352z`]};var EJ={prefix:`fas`,iconName:`arrow-right-long-to-line`,icon:[640,512,[],`e3d5`,`M640 128c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 256c0 17.7 14.3 32 32 32s32-14.3 32-32l0-256zM374.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l370.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3l-128-128z`]};var IJ={prefix:`fas`,iconName:`arrows-rotate-reverse`,icon:[512,512,[],`e630`,`M446.1 228.5c-13.3-93-93.4-164.5-190.1-164.5-53 0-101 21.5-135.8 56.2-.2 .2-.4 .4-.6 .6l-7.6 7.2 47.9 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 192c-17.7 0-32-14.3-32-32L0 32C0 14.3 14.3 0 32 0S64 14.3 64 32l0 53.4 11.3-10.7C121.5 28.6 185.5 0 256 0 385 0 491.7 95.4 509.4 219.5 511.9 237 499.8 253.2 482.3 255.7s-33.7-9.7-36.2-27.1zM2.6 292.5C.1 275 12.2 258.8 29.7 256.3s33.7 9.7 36.2 27.1c13.3 93 93.4 164.5 190.1 164.5 53 0 101-21.5 135.8-56.2 .2-.2 .4-.4 .6-.6l7.6-7.2-47.9 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l128 0c8.5 0 16.7 3.4 22.7 9.5s9.3 14.3 9.3 22.8l-1 127c-.1 17.7-14.6 31.9-32.3 31.7s-31.9-14.6-31.7-32.3l.4-51.5-10.7 10.1C390.5 483.4 326.5 512 256 512 127 512 20.3 416.6 2.6 292.5z`]};var TJ={prefix:`fas`,iconName:`arrow-down-to-arc`,icon:[512,512,[],`e4ae`,`M256 448c106 0 192-86 192-192 0-17.7 14.3-32 32-32s32 14.3 32 32c0 141.4-114.6 256-256 256S0 397.4 0 256c0-17.7 14.3-32 32-32s32 14.3 32 32c0 106 86 192 192 192zm22.6-105.4c-12.5 12.5-32.8 12.5-45.3 0l-96-96c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L224 242.7 224 32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 210.7 41.4-41.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-96 96z`]};var CJ={prefix:`fas`,iconName:`arrow-up-to-bracket`,icon:[448,512,[],`e66a`,`M64 160l0-64c0-17.7 14.3-32 32-32l256 0c17.7 0 32 14.3 32 32l0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64c0-53-43-96-96-96L96 0C43 0 0 43 0 96l0 64c0 17.7 14.3 32 32 32s32-14.3 32-32zm182.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 269.3 192 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-210.7 73.4 73.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-128-128z`]};var DJ={prefix:`fas`,iconName:`arrow-down-right`,icon:[384,512,[],`e093`,`M352 448c17.7 0 32-14.3 32-32l0-224c0-17.7-14.3-32-32-32s-32 14.3-32 32L320 338.7 54.6 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L274.7 384 128 384c-17.7 0-32 14.3-32 32s14.3 32 32 32l224 0z`]};var n8={prefix:`fas`,iconName:`arrow-pointer`,icon:[448,512,[`mouse-pointer`],`f245`,`M77.3 2.5c8.1-4.1 17.9-3.2 25.1 2.3l320 239.9c8.3 6.2 11.6 17 8.4 26.8s-12.4 16.4-22.8 16.4l-152.3 0 88.9 177.7c7.9 15.8 1.5 35-14.3 42.9s-35 1.5-42.9-14.3l-88.9-177.7-91.3 121.8c-6.2 8.3-17 11.6-26.8 8.4S64 434.3 64 424L64 24c0-9.1 5.1-17.4 13.3-21.5z`]};var AJ=n8;var MJ={prefix:`fas`,iconName:`arrow-turn-right`,icon:[512,512,[],`e635`,`M64 416c0 17.7-14.3 32-32 32S0 433.7 0 416l0-96c0-53 43-96 96-96l306.7 0-73.4-73.4c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l128 128c12.5 12.5 12.5 32.8 0 45.3l-128 128c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L402.7 288 96 288c-17.7 0-32 14.3-32 32l0 96z`]};var RA={prefix:`fas`,iconName:`arrows-rotate`,icon:[512,512,[128472,`refresh`,`sync`],`f021`,`M65.9 228.5c13.3-93 93.4-164.5 190.1-164.5 53 0 101 21.5 135.8 56.2 .2 .2 .4 .4 .6 .6l7.6 7.2-47.9 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-128c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 53.4-11.3-10.7C390.5 28.6 326.5 0 256 0 127 0 20.3 95.4 2.6 219.5 .1 237 12.2 253.2 29.7 255.7s33.7-9.7 36.2-27.1zm443.5 64c2.5-17.5-9.7-33.7-27.1-36.2s-33.7 9.7-36.2 27.1c-13.3 93-93.4 164.5-190.1 164.5-53 0-101-21.5-135.8-56.2-.2-.2-.4-.4-.6-.6l-7.6-7.2 47.9 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 320c-8.5 0-16.7 3.4-22.7 9.5S-.1 343.7 0 352.3l1 127c.1 17.7 14.6 31.9 32.3 31.7S65.2 496.4 65 478.7l-.4-51.5 10.7 10.1c46.3 46.1 110.2 74.7 180.7 74.7 129 0 235.7-95.4 253.4-219.5z`]};var PJ=RA;var RJ=RA;var kJ={prefix:`fas`,iconName:`arrow-left-from-bracket`,icon:[512,512,[],`e668`,`M352 416c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0c53 0 96-43 96-96l0-256c0-53-43-96-96-96l-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32l-64 0zM9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 288 320 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-210.7 0 73.4-73.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-128 128z`]};var r8={prefix:`fas`,iconName:`arrows-retweet`,icon:[576,512,[`retweet-alt`],`f361`,`M118.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-64 64c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L64 141.3 64 384c0 53 43 96 96 96l128 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-128 0c-17.7 0-32-14.3-32-32l0-242.7 9.4 9.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-64-64zM457.4 470.6c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-9.4 9.4 0-242.7c0-53-43-96-96-96L288 32c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32 14.3 32 32l0 242.7-9.4-9.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l64 64z`]};var OJ=r8;var i8={prefix:`fas`,iconName:`location-crosshairs`,icon:[576,512,[`location`],`f601`,`M288-16c17.7 0 32 14.3 32 32l0 18.3c98.1 14 175.7 91.6 189.7 189.7l18.3 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-18.3 0c-14 98.1-91.6 175.7-189.7 189.7l0 18.3c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-18.3C157.9 463.7 80.3 386.1 66.3 288L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l18.3 0C80.3 125.9 157.9 48.3 256 34.3L256 16c0-17.7 14.3-32 32-32zM128 256a160 160 0 1 0 320 0 160 160 0 1 0 -320 0zm160-96a96 96 0 1 1 0 192 96 96 0 1 1 0-192z`]};var NJ=i8;var o8={prefix:`fas`,iconName:`location-dot`,icon:[384,512,[`map-marker-alt`],`f3c5`,`M0 188.6C0 84.4 86 0 192 0S384 84.4 384 188.6c0 119.3-120.2 262.3-170.4 316.8-11.8 12.8-31.5 12.8-43.3 0-50.2-54.5-170.4-197.5-170.4-316.8zM192 256a64 64 0 1 0 0-128 64 64 0 1 0 0 128z`]};var LJ=o8;var FJ={prefix:`fas`,iconName:`arrow-down`,icon:[384,512,[8595],`f063`,`M169.4 502.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 402.7 224 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 370.7-105.4-105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z`]};var zJ={prefix:`fas`,iconName:`arrow-u-turn-left-down`,icon:[576,512,[],`e7e9`,`M180.7 504.8c-12.6 10.3-31.1 9.5-42.8-2.2l-112-112c-12.5-12.5-12.5-32.8 0-45.2s32.8-12.5 45.2 0l57.4 57.4 0-210.7C128.5 89.3 209.2 5.4 310.6 .3l9.9-.2c106 0 192 86 192 192l0 224-.2 3.3c-1.6 16.1-15.3 28.7-31.8 28.7s-30.2-12.6-31.8-28.7l-.2-3.3 0-224c0-70.7-57.3-128-128-128l-6.6 .2C246.3 67.6 192.5 123.5 192.5 192l0 210.7 57.4-57.4 2.4-2.2c12.6-10.2 31.1-9.5 42.8 2.2s12.4 30.2 2.2 42.8l-2.2 2.4-112 112-2.4 2.2z`]};var BJ={prefix:`fas`,iconName:`pause`,icon:[384,512,[9208],`f04c`,`M48 32C21.5 32 0 53.5 0 80L0 432c0 26.5 21.5 48 48 48l64 0c26.5 0 48-21.5 48-48l0-352c0-26.5-21.5-48-48-48L48 32zm224 0c-26.5 0-48 21.5-48 48l0 352c0 26.5 21.5 48 48 48l64 0c26.5 0 48-21.5 48-48l0-352c0-26.5-21.5-48-48-48l-64 0z`]};var UJ={prefix:`fas`,iconName:`arrow-down-long-to-line`,icon:[320,512,[],`e6b7`,`M9.4 310.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L128 338.7 128-32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 370.7 73.4-73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-128 128c-12.5 12.5-32.8 12.5-45.3 0l-128-128zM32 576c-17.7 0-32-14.3-32-32s14.3-32 32-32l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 576z`]};var VJ={prefix:`fas`,iconName:`arrow-right-to-dotted-line`,icon:[512,512,[],`e6bc`,`M480 448a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM374.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L274.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l242.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128zM512 309.3a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm-32-74.7a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM512 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z`]};var jJ={prefix:`fas`,iconName:`arrow-right-to-arc`,icon:[512,512,[],`e4b2`,`M448 256c0 106-86 192-192 192-17.7 0-32 14.3-32 32s14.3 32 32 32c141.4 0 256-114.6 256-256S397.4 0 256 0c-17.7 0-32 14.3-32 32s14.3 32 32 32c106 0 192 86 192 192zM342.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L242.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l210.7 0-41.4 41.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l96-96z`]};var $J={prefix:`fas`,iconName:`grid-2`,icon:[448,512,[],`e196`,`M192 80c0-26.5-21.5-48-48-48L48 32C21.5 32 0 53.5 0 80l0 96c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-96zm0 256c0-26.5-21.5-48-48-48l-96 0c-26.5 0-48 21.5-48 48l0 96c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-96zM256 80l0 96c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-96c0-26.5-21.5-48-48-48l-96 0c-26.5 0-48 21.5-48 48zM448 336c0-26.5-21.5-48-48-48l-96 0c-26.5 0-48 21.5-48 48l0 96c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-96z`]};var s8={prefix:`fas`,iconName:`arrow-down-arrow-up`,icon:[512,512,[`sort-alt`],`f883`,`M150.6 502.6l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 402.7 160 32c0-17.7-14.3-32-32-32S96 14.3 96 32l0 370.7-41.4-41.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0zM406.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L352 109.3 352 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-370.7 41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96z`]};var HJ=s8;var GJ={prefix:`fas`,iconName:`elevator`,icon:[512,512,[],`e16d`,`M292.7-4.7l64 64c6.2 6.2 16.4 6.2 22.6 0l64-64c4.6-4.6 5.9-11.5 3.5-17.4S438.5-32 432-32L304-32c-6.5 0-12.3 3.9-14.8 9.9s-1.1 12.9 3.5 17.4zm-160-22.6l-64 64c-4.6 4.6-5.9 11.5-3.5 17.4S73.5 64 80 64l128 0c6.5 0 12.3-3.9 14.8-9.9s1.1-12.9-3.5-17.4l-64-64c-6.2-6.2-16.4-6.2-22.6 0zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 128zm96 96a48 48 0 1 1 0 96 48 48 0 1 1 0-96zM80 400c0-26.5 21.5-48 48-48l64 0c26.5 0 48 21.5 48 48l0 16c0 17.7-14.3 32-32 32l-96 0c-17.7 0-32-14.3-32-32l0-16zm192 0c0-26.5 21.5-48 48-48l64 0c26.5 0 48 21.5 48 48l0 16c0 17.7-14.3 32-32 32l-96 0c-17.7 0-32-14.3-32-32l0-16zm32-128a48 48 0 1 1 96 0 48 48 0 1 1 -96 0z`]};var qJ={prefix:`fas`,iconName:`arrow-left-arrow-right`,icon:[512,512,[],`e6b8`,`M502.6 406.6l-96 96c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L402.7 416 32 416c-17.7 0-32-14.3-32-32s14.3-32 32-32l370.7 0-41.4-41.4c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3zM9.4 150.6c-12.5-12.5-12.5-32.8 0-45.3l96-96c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L109.3 96 480 96c17.7 0 32 14.3 32 32s-14.3 32-32 32l-370.7 0 41.4 41.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-96-96z`]};var zv={prefix:`fas`,iconName:`arrow-rotate-left`,icon:[512,512,[8634,`arrow-left-rotate`,`arrow-rotate-back`,`arrow-rotate-backward`,`undo`],`f0e2`,`M256 64c-56.8 0-107.9 24.7-143.1 64l47.1 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 192c-17.7 0-32-14.3-32-32L0 32C0 14.3 14.3 0 32 0S64 14.3 64 32l0 54.7C110.9 33.6 179.5 0 256 0 397.4 0 512 114.6 512 256S397.4 512 256 512c-87 0-163.9-43.4-210.1-109.7-10.1-14.5-6.6-34.4 7.9-44.6s34.4-6.6 44.6 7.9c34.8 49.8 92.4 82.3 157.6 82.3 106 0 192-86 192-192S362 64 256 64z`]};var WJ=zv;var ZJ=zv;var YJ=zv;var XJ=zv;var KJ={prefix:`fas`,iconName:`arrow-down-from-arc`,icon:[512,512,[],`e614`,`M256 64c-106 0-192 86-192 192 0 17.7-14.3 32-32 32S0 273.7 0 256C0 114.6 114.6 0 256 0S512 114.6 512 256c0 17.7-14.3 32-32 32s-32-14.3-32-32c0-106-86-192-192-192zM121.4 390.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L224 402.7 224 192c0-17.7 14.3-32 32-32s32 14.3 32 32l0 210.7 57.4-57.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-112 112c-12.5 12.5-32.8 12.5-45.3 0l-112-112z`]};var QJ={prefix:`fas`,iconName:`arrow-u-turn-down-left`,icon:[512,512,[],`e7e7`,`M7.7 363.8c-10.3 12.6-9.5 31.1 2.2 42.8l112 112c12.5 12.5 32.8 12.5 45.2 0s12.5-32.8 0-45.2l-57.4-57.4 210.8 0c102.7 0 186.6-80.7 191.8-182.1l.2-9.9c0-106-86-192-192-192l-224 0-3.3 .2C77.1 33.8 64.5 47.4 64.5 64S77.1 94.2 93.2 95.8l3.3 .2 224 0c70.7 0 128 57.3 128 128l-.2 6.6C444.9 298.2 389 352 320.5 352l-210.8 0 57.4-57.4 2.2-2.4c10.2-12.6 9.5-31.1-2.2-42.8s-30.2-12.4-42.8-2.2l-2.4 2.2-112 112-2.2 2.4z`]};var JJ={prefix:`fas`,iconName:`rotate-reverse`,icon:[512,512,[],`e631`,`M168 192L24 192c-13.3 0-24-10.7-24-24L0 24C0 14.3 5.8 5.5 14.8 1.8S34.1 .2 41 7L92.7 58.8C137 22.1 194 0 256 0 385 0 491.7 95.4 509.4 219.5 511.9 237 499.8 253.2 482.3 255.7s-33.7-9.7-36.2-27.1C432.7 135.5 352.7 64 256 64 211.6 64 170.8 79 138.3 104.3L185 151c6.9 6.9 8.9 17.2 5.2 26.2S177.7 192 168 192zM2.6 292.5C.1 275 12.2 258.8 29.7 256.3s33.7 9.7 36.2 27.1c13.3 93 93.4 164.5 190.1 164.5 44.4 0 85.2-15 117.7-40.3L327 361c-6.9-6.9-8.9-17.2-5.2-26.2S334.3 320 344 320l144 0c13.3 0 24 10.7 24 24l0 144c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-51.8-51.8C375 489.9 318 512 256 512 127 512 20.3 416.6 2.6 292.5z`]};var eee={prefix:`fas`,iconName:`caret-down`,icon:[320,512,[],`f0d7`,`M140.3 376.8c12.6 10.2 31.1 9.5 42.8-2.2l128-128c9.2-9.2 11.9-22.9 6.9-34.9S301.4 192 288.5 192l-256 0c-12.9 0-24.6 7.8-29.6 19.8S.7 237.5 9.9 246.6l128 128 2.4 2.2z`]};var o2={prefix:`fas`,iconName:`arrow-rotate-right`,icon:[512,512,[8635,`arrow-right-rotate`,`arrow-rotate-forward`,`redo`],`f01e`,`M436.7 74.7L448 85.4 448 32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 128c0 17.7-14.3 32-32 32l-128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l47.9 0-7.6-7.2c-.2-.2-.4-.4-.6-.6-75-75-196.5-75-271.5 0s-75 196.5 0 271.5 196.5 75 271.5 0c8.2-8.2 15.5-16.9 21.9-26.1 10.1-14.5 30.1-18 44.6-7.9s18 30.1 7.9 44.6c-8.5 12.2-18.2 23.8-29.1 34.7-100 100-262.1 100-362 0S-25 175 75 75c99.9-99.9 261.7-100 361.7-.3z`]};var tee=o2;var nee=o2;var ree=o2;var iee={prefix:`fas`,iconName:`badge-dollar`,icon:[512,512,[],`f645`,`M256 0C292.8 0 324.8 20.7 340.9 51.1 373.8 41 411 49 437 75s34 63.3 23.9 96.1C491.3 187.2 512 219.2 512 256s-20.7 68.8-51.1 84.9C471 373.8 463 411 437 437s-63.3 34-96.1 23.9C324.8 491.3 292.8 512 256 512s-68.8-20.7-84.9-51.1C138.2 471 101 463 75 437s-34-63.3-23.9-96.1C20.7 324.8 0 292.8 0 256s20.7-68.8 51.1-84.9C41 138.2 49 101 75 75s63.3-34 96.1-23.9C187.2 20.7 219.2 0 256 0zm4 144c-11 0-20 9-20 20l0 4c-28.8 .3-52 23.7-52 52.5 0 25.7 18.5 47.6 43.9 51.8l41.7 7c6 1 10.4 6.2 10.4 12.3 0 6.9-5.6 12.5-12.5 12.5L216 304c-11 0-20 9-20 20s9 20 20 20l24 0 0 4c0 11 9 20 20 20s20-9 20-20l0-4.7c25-4.1 44-25.7 44-51.8 0-25.7-18.5-47.6-43.9-51.8l-41.7-7c-6-1-10.4-6.2-10.4-12.3 0-6.9 5.6-12.5 12.5-12.5l47.5 0c11 0 20-9 20-20s-9-20-20-20l-8 0 0-4c0-11-9-20-20-20z`]};var a8={prefix:`fas`,iconName:`arrows-left-right`,icon:[576,512,[`arrows-h`],`f07e`,`M470.6 374.6l96-96c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l41.4 41.4-357.5 0 41.4-41.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-96 96c-6 6-9.4 14.1-9.4 22.6s3.4 16.6 9.4 22.6l96 96c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-41.4-41.4 357.5 0-41.4 41.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z`]};var oee=a8;var see={prefix:`fas`,iconName:`location-arrow-up`,icon:[448,512,[],`e63a`,`M253.1 18.6C247.8 7.3 236.5 0 224 0s-23.8 7.3-29.1 18.6l-192 416c-5.6 12.2-3.1 26.5 6.4 36s23.8 12.1 36 6.5L224 395.2 402.7 477.1c12.2 5.6 26.5 3 36-6.5s12-23.8 6.4-36l-192-416z`]};var l8={prefix:`fas`,iconName:`plus`,icon:[448,512,[10133,61543,`add`],`2b`,`M256 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160 160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0 0-160z`]};var aee=l8;var lee={prefix:`fas`,iconName:`arrow-left-from-arc`,icon:[512,512,[],`e615`,`M448 256c0-106-86-192-192-192-17.7 0-32-14.3-32-32S238.3 0 256 0C397.4 0 512 114.6 512 256S397.4 512 256 512c-17.7 0-32-14.3-32-32s14.3-32 32-32c106 0 192-86 192-192zM121.4 121.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L109.3 224 320 224c17.7 0 32 14.3 32 32s-14.3 32-32 32l-210.7 0 57.4 57.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-112-112c-12.5-12.5-12.5-32.8 0-45.3l112-112z`]};var c8={prefix:`fas`,iconName:`arrows-repeat`,icon:[512,512,[`repeat-alt`],`f364`,`M470.6 118.6c6-6 9.4-14.1 9.4-22.6s-3.4-16.6-9.4-22.6l-80-80c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L370.7 64 192 64C86 64 0 150 0 256 0 273.7 14.3 288 32 288s32-14.3 32-32c0-70.7 57.3-128 128-128l178.7 0-25.4 25.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l80-80zM41.4 393.4c-6 6-9.4 14.1-9.4 22.6s3.4 16.6 9.4 22.6l80 80c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L141.3 448 320 448c106 0 192-86 192-192 0-17.7-14.3-32-32-32s-32 14.3-32 32c0 70.7-57.3 128-128 128l-178.7 0 25.4-25.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-80 80z`]};var cee=c8;var uee={prefix:`fas`,iconName:`arrow-left-to-dotted-line`,icon:[512,512,[],`e6ba`,`M32 64a32 32 0 1 0 0 64 32 32 0 1 0 0-64zM137.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 288 480 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-242.7 0 73.4-73.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-128 128zM0 202.7a32 32 0 1 0 64 0 32 32 0 1 0 -64 0zm32 74.7a32 32 0 1 0 0 64 32 32 0 1 0 0-64zM0 416a32 32 0 1 0 64 0 32 32 0 1 0 -64 0z`]};var dee={prefix:`fas`,iconName:`arrow-left`,icon:[512,512,[8592],`f060`,`M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 288 480 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-370.7 0 105.4-105.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z`]};var pee={prefix:`fas`,iconName:`arrow-right-from-dotted-line`,icon:[512,512,[],`e6bb`,`M502.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224 160 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l242.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128zM32 448a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM64 309.3a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM32 234.7a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM64 96A32 32 0 1 0 0 96 32 32 0 1 0 64 96z`]};var hee={prefix:`fas`,iconName:`arrow-up-long-to-line`,icon:[320,512,[],`e6bd`,`M9.4 201.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L128 173.3 128 544c0 17.7 14.3 32 32 32s32-14.3 32-32l0-370.7 73.4 73.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0l-128 128zM32-64C14.3-64 0-49.7 0-32S14.3 0 32 0L288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32-64z`]};var fee={prefix:`fas`,iconName:`caret-up`,icon:[320,512,[],`f0d8`,`M140.3 135.2c12.6-10.3 31.1-9.5 42.8 2.2l128 128c9.2 9.2 11.9 22.9 6.9 34.9S301.4 320 288.5 320l-256 0c-12.9 0-24.6-7.8-29.6-19.8S.7 274.5 9.9 265.4l128-128 2.4-2.2z`]};var u8={prefix:`fas`,iconName:`arrow-up-from-line`,icon:[384,512,[8613,`arrow-from-bottom`],`f342`,`M214.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 109.3 160 352c0 17.7 14.3 32 32 32s32-14.3 32-32l0-242.7 73.4 73.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-128-128zM32 448c-17.7 0-32 14.3-32 32s14.3 32 32 32l320 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 448z`]};var mee=u8;var d8={prefix:`fas`,iconName:`arrow-right-arrow-left`,icon:[512,512,[8644,`exchange`],`f0ec`,`M502.6 150.6l-96 96c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L402.7 160 32 160c-17.7 0-32-14.3-32-32S14.3 96 32 96l370.7 0-41.4-41.4c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3zm-397.3 352l-96-96c-12.5-12.5-12.5-32.8 0-45.3l96-96c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L109.3 352 480 352c17.7 0 32 14.3 32 32s-14.3 32-32 32l-370.7 0 41.4 41.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0z`]};var gee=d8;var p8={prefix:`fas`,iconName:`arrow-up-to-line`,icon:[384,512,[`arrow-to-top`],`f341`,`M32 0C14.3 0 0 14.3 0 32S14.3 64 32 64l320 0c17.7 0 32-14.3 32-32S369.7 0 352 0L32 0zM214.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 237.3 160 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-242.7 73.4 73.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-128-128z`]};var yee=p8;var vee={prefix:`fas`,iconName:`arrow-up-to-arc`,icon:[512,512,[],`e617`,`M256 64c106 0 192 86 192 192 0 17.7 14.3 32 32 32s32-14.3 32-32C512 114.6 397.4 0 256 0S0 114.6 0 256c0 17.7 14.3 32 32 32s32-14.3 32-32C64 150 150 64 256 64zm22.6 105.4c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L224 269.3 224 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-210.7 41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96z`]};var h8={prefix:`fas`,iconName:`arrow-right-from-bracket`,icon:[512,512,[`sign-out`],`f08b`,`M160 96c17.7 0 32-14.3 32-32s-14.3-32-32-32L96 32C43 32 0 75 0 128L0 384c0 53 43 96 96 96l64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l64 0zM502.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224 192 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l210.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128z`]};var _ee=h8;var f8={prefix:`fas`,iconName:`arrow-down-long`,icon:[320,512,[`long-arrow-down`],`f175`,`M137.4 534.6c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 434.7 192 0c0-17.7-14.3-32-32-32S128-17.7 128 0l0 434.7-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128z`]};var bee=f8;var s2={prefix:`fas`,iconName:`rotate-left`,icon:[512,512,[`rotate-back`,`rotate-backward`,`undo-alt`],`f2ea`,`M24 192l144 0c9.7 0 18.5-5.8 22.2-14.8s1.7-19.3-5.2-26.2l-46.7-46.7c75.3-58.6 184.3-53.3 253.5 15.9 75 75 75 196.5 0 271.5s-196.5 75-271.5 0c-10.2-10.2-19-21.3-26.4-33-9.5-14.9-29.3-19.3-44.2-9.8s-19.3 29.3-9.8 44.2C49.7 408.7 61.4 423.5 75 437 175 537 337 537 437 437S537 175 437 75C342.8-19.3 193.3-24.7 92.7 58.8L41 7C34.1 .2 23.8-1.9 14.8 1.8S0 14.3 0 24L0 168c0 13.3 10.7 24 24 24z`]};var xee=s2;var wee=s2;var See=s2;var m8={prefix:`fas`,iconName:`arrow-right-from-line`,icon:[512,512,[8614,`arrow-from-left`],`f343`,`M64 96c0-17.7-14.3-32-32-32S0 78.3 0 96L0 416c0 17.7 14.3 32 32 32s32-14.3 32-32L64 96zM502.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224 160 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l242.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128z`]};var Eee=m8;var Iee={prefix:`fas`,iconName:`chevron-left`,icon:[320,512,[9001],`f053`,`M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z`]};var Tee={prefix:`fas`,iconName:`arrow-up-right`,icon:[384,512,[],`e09f`,`M384 96c0-17.7-14.3-32-32-32L128 64c-17.7 0-32 14.3-32 32s14.3 32 32 32L274.7 128 9.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L320 173.3 320 320c0 17.7 14.3 32 32 32s32-14.3 32-32l0-224z`]};var Cee={prefix:`fas`,iconName:`arrow-u-turn-up-right`,icon:[512,512,[],`e7ee`,`M505.3 148.2c10.3-12.6 9.5-31.1-2.2-42.8l-112-112c-12.5-12.5-32.8-12.5-45.2 0s-12.5 32.8 0 45.2L403.2 96 192.5 96C89.8 96 5.9 176.7 .8 278.1L.5 288c0 106 86 192 192 192l224 0 3.3-.2c16.1-1.6 28.7-15.3 28.7-31.8s-12.6-30.2-28.7-31.8l-3.3-.2-224 0c-70.7 0-128-57.3-128-128l.2-6.6C68.1 213.8 124 160 192.5 160l210.7 0-57.4 57.4-2.2 2.4c-10.2 12.6-9.5 31.1 2.2 42.8s30.2 12.4 42.8 2.2l2.4-2.2 112-112 2.2-2.4z`]};var kA={prefix:`fas`,iconName:`rotate-right`,icon:[512,512,[`redo-alt`,`rotate-forward`],`f2f9`,`M488 192l-144 0c-9.7 0-18.5-5.8-22.2-14.8s-1.7-19.3 5.2-26.2l46.7-46.7c-75.3-58.6-184.3-53.3-253.5 15.9-75 75-75 196.5 0 271.5s196.5 75 271.5 0c8.2-8.2 15.5-16.9 21.9-26.1 10.1-14.5 30.1-18 44.6-7.9s18 30.1 7.9 44.6c-8.5 12.2-18.2 23.8-29.1 34.7-100 100-262.1 100-362 0S-25 175 75 75c94.3-94.3 243.7-99.6 344.3-16.2L471 7c6.9-6.9 17.2-8.9 26.2-5.2S512 14.3 512 24l0 144c0 13.3-10.7 24-24 24z`]};var Dee=kA;var Aee=kA;var Mee={prefix:`fas`,iconName:`arrows-cross`,icon:[448,512,[],`e0a2`,`M54.6 41.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L144.8 222.1 190.1 176.8 54.6 41.4zM257.9 335.2l80.8 80.8-50.7 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-128c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 50.7-80.8-80.8-45.3 45.3zM288 32c-17.7 0-32 14.3-32 32s14.3 32 32 32L338.7 96 9.4 425.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L384 141.3 384 192c0 17.7 14.3 32 32 32s32-14.3 32-32l0-128c0-17.7-14.3-32-32-32L288 32z`]};var Bv={prefix:`fas`,iconName:`xmark`,icon:[384,512,[215,10005,10006,10060,128473,`close`,`multiply`,`remove`,`times`],`f00d`,`M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z`]};var Pee=Bv;var Ree=Bv;var kee=Bv;var Oee=Bv;var Nee={prefix:`fas`,iconName:`arrows-down-to-line`,icon:[512,512,[],`e4b8`,`M214.6 310.6l-64 64c-12.5 12.5-32.8 12.5-45.3 0l-64-64c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L96 274.7 96 32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 242.7 9.4-9.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3zm256 0l-64 64c-12.5 12.5-32.8 12.5-45.3 0l-64-64c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l9.4 9.4 0-242.7c0-17.7 14.3-32 32-32s32 14.3 32 32l0 242.7 9.4-9.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3zM32 512c-17.7 0-32-14.3-32-32s14.3-32 32-32l448 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 512z`]};var Lee={prefix:`fas`,iconName:`arrow-left-to-arc`,icon:[512,512,[],`e616`,`M64 256c0-106 86-192 192-192 17.7 0 32-14.3 32-32S273.7 0 256 0C114.6 0 0 114.6 0 256S114.6 512 256 512c17.7 0 32-14.3 32-32s-14.3-32-32-32C150 448 64 362 64 256zm105.4-22.6c-12.5 12.5-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L269.3 288 480 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-210.7 0 41.4-41.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-96 96z`]};var Fee={prefix:`fas`,iconName:`arrow-right`,icon:[512,512,[8594],`f061`,`M502.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l370.7 0-105.4 105.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z`]};var zee={prefix:`fas`,iconName:`wheelchair`,icon:[512,512,[],`f193`,`M136 40a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zM117.9 197.6l12.6 63c-38.6 12.4-66.5 48.7-66.5 91.4 0 53 43 96 96 96 35.6 0 66.7-19.4 83.3-48.2 2.3 .1 4.6 .2 7 .2l4.1 0c1 0 2.1 0 3.1 0l55.2 0c-20.4 64.9-81 112-152.7 112-88.4 0-160-71.6-160-160 0-73.8 50-135.9 117.9-154.4zm148.6-28.1l23.7 118.5 60.5 0c33.3 0 63.2 20.7 74.9 51.9l25.5 68 18.7-6.2c16.8-5.6 34.9 3.5 40.5 20.2s-3.5 34.9-20.2 40.5l-48 16c-16.3 5.4-34-3-40.1-19.1l-36.3-96.9c-2.3-6.2-8.3-10.4-15-10.4l-86.1 0c-.4 0-.8 0-1.3 0l-13.1 0c-30.5 0-56.8-21.5-62.8-51.4L165.3 189.7c-6.4-31.9 18-61.7 50.6-61.7 24.6 0 45.8 17.4 50.6 41.5z`]};var Bee={prefix:`fas`,iconName:`arrows-turn-right`,icon:[448,512,[],`e4c0`,`M313.4-6.6c12.5-12.5 32.8-12.5 45.3 0l80 80c12.5 12.5 12.5 32.8 0 45.3l-80 80c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L338.7 128 128 128c-35.3 0-64 28.7-64 64l0 32c0 17.7-14.3 32-32 32S0 241.7 0 224l0-32C0 121.3 57.3 64 128 64l210.7 0-25.4-25.4c-12.5-12.5-12.5-32.8 0-45.3zm-96 256c12.5-12.5 32.8-12.5 45.3 0l80 80c12.5 12.5 12.5 32.8 0 45.3l-80 80c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 384 96 384c-17.7 0-32 14.3-32 32l0 32c0 17.7-14.3 32-32 32S0 465.7 0 448l0-32c0-53 43-96 96-96l146.7 0-25.4-25.4c-12.5-12.5-12.5-32.8 0-45.3z`]};var g8={prefix:`fas`,iconName:`arrow-turn-down`,icon:[384,512,[`level-down`],`f149`,`M32 64C14.3 64 0 49.7 0 32S14.3 0 32 0l96 0c53 0 96 43 96 96l0 306.7 73.4-73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-128 128c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 402.7 160 96c0-17.7-14.3-32-32-32L32 64z`]};var Uee=g8;var Vee={prefix:`fas`,iconName:`play-pause`,icon:[512,512,[],`e22f`,`M52.5 71.4c-9.5-7.9-22.8-9.7-34.1-4.4S0 83.6 0 96L0 416c0 12.4 7.2 23.7 18.4 29s24.5 3.6 34.1-4.4l192-160c7.3-6.1 11.5-15.1 11.5-24.6s-4.2-18.5-11.5-24.6l-192-160zM384 96c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 320c0 17.7 14.3 32 32 32s32-14.3 32-32l0-320zm128 0c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 320c0 17.7 14.3 32 32 32s32-14.3 32-32l0-320z`]};var jee={prefix:`fas`,iconName:`arrow-turn-left-down`,icon:[384,512,[],`e633`,`M352 64c17.7 0 32-14.3 32-32S369.7 0 352 0L256 0c-53 0-96 43-96 96l0 306.7-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 402.7 224 96c0-17.7 14.3-32 32-32l96 0z`]};var $ee={prefix:`fas`,iconName:`arrow-down-from-dotted-line`,icon:[384,512,[],`e090`,`M169.4 502.6c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 402.7 224 160c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 242.7-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128zM0 32A32 32 0 1 0 64 32 32 32 0 1 0 0 32zM138.7 64a32 32 0 1 0 0-64 32 32 0 1 0 0 64zm74.7-32a32 32 0 1 0 64 0 32 32 0 1 0 -64 0zM352 64a32 32 0 1 0 0-64 32 32 0 1 0 0 64z`]};var Hee={prefix:`fas`,iconName:`arrow-up-from-arc`,icon:[512,512,[],`e4b4`,`M256 448c-106 0-192-86-192-192 0-17.7-14.3-32-32-32S0 238.3 0 256C0 397.4 114.6 512 256 512S512 397.4 512 256c0-17.7-14.3-32-32-32s-32 14.3-32 32c0 106-86 192-192 192zM121.4 121.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L224 109.3 224 320c0 17.7 14.3 32 32 32s32-14.3 32-32l0-210.7 57.4 57.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0l-112 112z`]};var Gee={prefix:`fas`,iconName:`arrow-u-turn-down-right`,icon:[512,512,[],`e7e8`,`M505.3 363.8c10.3 12.6 9.5 31.1-2.2 42.8l-112 112c-12.5 12.5-32.8 12.5-45.2 0s-12.5-32.8 0-45.2l57.4-57.4-210.7 0C89.8 416 5.9 335.3 .8 233.9L.5 224c0-106 86-192 192-192l224 0 3.3 .2c16.1 1.6 28.7 15.3 28.7 31.8s-12.6 30.2-28.7 31.8l-3.3 .2-224 0c-70.7 0-128 57.3-128 128l.2 6.6C68.1 298.2 124 352 192.5 352l210.7 0-57.4-57.4-2.2-2.4c-10.2-12.6-9.5-31.1 2.2-42.8s30.2-12.4 42.8-2.2l2.4 2.2 112 112 2.2 2.4z`]};var y8={prefix:`fas`,iconName:`arrow-left-from-line`,icon:[512,512,[8612,`arrow-from-right`],`f344`,`M448 416c0 17.7 14.3 32 32 32s32-14.3 32-32l0-320c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 320zM9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 288 352 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-242.7 0 73.4-73.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-128 128z`]};var qee=y8;var Wee={prefix:`fas`,iconName:`play`,icon:[448,512,[9654],`f04b`,`M91.2 36.9c-12.4-6.8-27.4-6.5-39.6 .7S32 57.9 32 72l0 368c0 14.1 7.5 27.2 19.6 34.4s27.2 7.5 39.6 .7l336-184c12.8-7 20.8-20.5 20.8-35.1s-8-28.1-20.8-35.1l-336-184z`]};var Zee={prefix:`fas`,iconName:`arrow-up`,icon:[384,512,[8593],`f062`,`M214.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 109.3 160 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-370.7 105.4 105.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z`]};var Yee={prefix:`fas`,iconName:`arrow-right-from-arc`,icon:[512,512,[],`e4b1`,`M64 256c0-106 86-192 192-192 17.7 0 32-14.3 32-32S273.7 0 256 0C114.6 0 0 114.6 0 256S114.6 512 256 512c17.7 0 32-14.3 32-32s-14.3-32-32-32C150 448 64 362 64 256zM390.6 121.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224 192 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l210.7 0-57.4 57.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112z`]};var Xee={prefix:`fas`,iconName:`arrow-u-turn-left-up`,icon:[576,512,[],`e7ea`,`M180.7 7.2c-12.6-10.3-31.1-9.5-42.8 2.2l-112 112c-12.5 12.5-12.5 32.8 0 45.2s32.8 12.5 45.2 0l57.4-57.4 0 210.8c0 102.7 80.7 186.6 182.1 191.8l9.9 .2c106 0 192-86 192-192l0-224-.2-3.3C510.7 76.6 497.1 64 480.5 64s-30.2 12.6-31.8 28.7l-.2 3.3 0 224c0 70.7-57.3 128-128 128l-6.6-.2c-67.6-3.4-121.4-59.4-121.4-127.8l0-210.8 57.4 57.4 2.4 2.2c12.6 10.2 31.1 9.5 42.8-2.2s12.4-30.2 2.2-42.8l-2.2-2.4-112-112-2.4-2.2z`]};var Kee={prefix:`fas`,iconName:`arrow-u-turn-right-down`,icon:[576,512,[],`e7eb`,`M396.3 504.8c12.6 10.3 31.1 9.5 42.8-2.2l112-112c12.5-12.5 12.5-32.8 0-45.2s-32.8-12.5-45.2 0l-57.4 57.4 0-210.7C448.5 89.3 367.8 5.4 266.4 .3L256.5 0c-106 0-192 86-192 192l0 224 .2 3.3C66.3 435.4 79.9 448 96.5 448s30.2-12.6 31.8-28.7l.2-3.3 0-224c0-70.7 57.3-128 128-128l6.6 .2c67.6 3.4 121.4 59.4 121.4 127.8l0 210.7-57.4-57.4-2.4-2.2c-12.6-10.2-31.1-9.5-42.8 2.2s-12.4 30.2-2.2 42.8l2.2 2.4 112 112 2.4 2.2z`]};var v8={prefix:`fas`,iconName:`arrow-turn-up`,icon:[384,512,[`level-up`],`f148`,`M32 448c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c53 0 96-43 96-96l0-306.7 73.4 73.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 109.3 160 416c0 17.7-14.3 32-32 32l-96 0z`]};var Qee=v8;var Jee={prefix:`fas`,iconName:`swap-arrows`,icon:[576,512,[],`e60a`,`M9.4 150.6c-12.5-12.5-12.5-32.8 0-45.3l64-64c12.5-12.5 32.8-12.5 45.3 0l64 64c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-9.4-9.4 0 210.7c0 35.3 28.7 64 64 64s64-28.7 64-64l0-192c0-70.7 57.3-128 128-128S512 89.3 512 160l0 210.7 9.4-9.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-64 64c-6 6-14.1 9.4-22.6 9.4s-16.6-3.4-22.6-9.4l-64-64c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l9.4 9.4 0-210.7c0-35.3-28.7-64-64-64s-64 28.7-64 64l0 192c0 70.7-57.3 128-128 128S64 422.7 64 352l0-210.7-9.4 9.4c-12.5 12.5-32.8 12.5-45.3 0z`]};var _8={prefix:`fas`,iconName:`arrow-left-long`,icon:[576,512,[`long-arrow-left`],`f177`,`M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 288 544 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-434.7 0 73.4-73.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-128 128z`]};var ete=_8;var tte={prefix:`fas`,iconName:`arrow-u-turn-right-up`,icon:[576,512,[],`e7ec`,`M396.3 7.2c12.6-10.3 31.1-9.5 42.8 2.2l112 112c12.5 12.5 12.5 32.8 0 45.2s-32.8 12.5-45.2 0l-57.4-57.4 0 210.8c0 102.7-80.7 186.6-182.1 191.8l-9.9 .2c-106 0-192-86-192-192l0-224 .2-3.3C66.3 76.6 79.9 64 96.5 64s30.2 12.6 31.8 28.7l.2 3.3 0 224c0 70.7 57.3 128 128 128l6.6-.2c67.6-3.4 121.4-59.4 121.4-127.8l0-210.8-57.4 57.4-2.4 2.2c-12.6 10.2-31.1 9.5-42.8-2.2s-12.4-30.2-2.2-42.8l2.2-2.4 112-112 2.4-2.2z`]};var nte={prefix:`fas`,iconName:`circle`,icon:[512,512,[9679,9898,9899,11044,61708,61915,128308,128309,128992,128993,128994,128995,128996],`f111`,`M0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0z`]};var rte={prefix:`fas`,iconName:`arrow-up-from-bracket`,icon:[448,512,[],`e09a`,`M246.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 109.3 192 320c0 17.7 14.3 32 32 32s32-14.3 32-32l0-210.7 73.4 73.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-128-128zM64 352c0-17.7-14.3-32-32-32S0 334.3 0 352l0 64c0 53 43 96 96 96l256 0c53 0 96-43 96-96l0-64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 64c0 17.7-14.3 32-32 32L96 448c-17.7 0-32-14.3-32-32l0-64z`]};var b8={prefix:`fas`,iconName:`ellipsis-stroke-vertical`,icon:[128,512,[`ellipsis-v-alt`],`f39c`,`M80 432c0 8.8-7.2 16-16 16s-16-7.2-16-16 7.2-16 16-16 16 7.2 16 16zm48 0c0-35.3-28.7-64-64-64s-64 28.7-64 64 28.7 64 64 64 64-28.7 64-64zM80 256c0 8.8-7.2 16-16 16s-16-7.2-16-16 7.2-16 16-16 16 7.2 16 16zm48 0c0-35.3-28.7-64-64-64s-64 28.7-64 64 28.7 64 64 64 64-28.7 64-64zM64 96a16 16 0 1 1 0-32 16 16 0 1 1 0 32zm0-80a64 64 0 1 0 0 128 64 64 0 1 0 0-128z`]};var ite=b8;var x8={prefix:`fas`,iconName:`square-question`,icon:[448,512,[`question-square`],`f2fd`,`M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM224 176c-17.7 0-32 14.3-32 32 0 13.3-10.7 24-24 24s-24-10.7-24-24c0-44.2 35.8-80 80-80s80 35.8 80 80c0 47.2-36 67.2-56 74.5l0 3.8c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-8.1c0-20.5 14.8-35.2 30.1-40.2 6.4-2.1 13.2-5.5 18.2-10.3 4.3-4.2 7.7-10 7.7-19.6 0-17.7-14.3-32-32-32zM192 368a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z`]};var OA=x8;var w8={prefix:`fas`,iconName:`arrow-up-long`,icon:[320,512,[`long-arrow-up`],`f176`,`M182.6-22.6c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L128 77.3 128 512c0 17.7 14.3 32 32 32s32-14.3 32-32l0-434.7 73.4 73.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-128-128z`]};var ote=w8;var ste={prefix:`fas`,iconName:`restroom`,icon:[640,512,[],`f7bd`,`M80 48a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm40 304l0 128c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-154.8c-8.1 9.2-21.1 13.2-33.5 9.4-16.9-5.3-26.3-23.2-21-40.1l29.7-95.2C44.4 156.9 83.6 128 128 128s83.6 28.9 96.8 71.2l29.7 95.2c5.3 16.9-4.1 34.8-21 40.1-12.4 3.9-25.4-.2-33.5-9.4L200 480c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-128-16 0zM320 0c13.3 0 24 10.7 24 24l0 464c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-464c0-13.3 10.7-24 24-24zM464 48a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zM440 480l0-96-17.8 0c-10.9 0-18.6-10.7-15.2-21.1l9-26.9c-3.2 0-6.4-.5-9.5-1.5-16.9-5.3-26.3-23.2-21-40.1l29.7-95.2C428.4 156.9 467.6 128 512 128s83.6 28.9 96.8 71.2l29.7 95.2c5.3 16.9-4.1 34.8-21 40.1-3.2 1-6.4 1.5-9.5 1.5l9 26.9c3.5 10.4-4.3 21.1-15.2 21.1l-17.8 0 0 96c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-96-16 0 0 96c0 17.7-14.3 32-32 32s-32-14.3-32-32z`]};var ate={prefix:`fas`,iconName:`arrow-progress`,icon:[512,512,[],`e5df`,`M230.8 33.8c9-3.7 19.3-1.7 26.2 5.2l40 40c9.4 9.4 9.4 24.6 0 33.9l-40 40c-6.9 6.9-17.2 8.9-26.2 5.2S216 145.7 216 136l0-8-104 0c-26.5 0-48 21.5-48 48s21.5 48 48 48l288 0c61.9 0 112 50.1 112 112 0 46.4-28.2 86.1-68.3 103.2-9.3 23.9-32.5 40.8-59.7 40.8-35.3 0-64-28.7-64-64s28.7-64 64-64c18.6 0 35.4 7.9 47 20.6 10.4-8.8 17-21.9 17-36.6 0-26.5-21.5-48-48-48l-288 0C50.1 288 0 237.9 0 176S50.1 64 112 64l104 0 0-8c0-9.7 5.8-18.5 14.8-22.2zM416 32a64 64 0 1 1 0 128 64 64 0 1 1 0-128zM151.4 448c-11.1 19.1-31.7 32-55.4 32-35.3 0-64-28.7-64-64s28.7-64 64-64c23.7 0 44.4 12.9 55.4 32l32.6 0 0-8c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l40 40c9.4 9.4 9.4 24.6 0 33.9l-40 40c-6.9 6.9-17.2 8.9-26.2 5.2S184 465.7 184 456l0-8-32.6 0z`]};var lte={prefix:`fas`,iconName:`arrow-down-left`,icon:[384,512,[],`e091`,`M0 416c0 17.7 14.3 32 32 32l224 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-146.7 0 265.4-265.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L64 338.7 64 192c0-17.7-14.3-32-32-32S0 174.3 0 192L0 416z`]};var cte={prefix:`fas`,iconName:`arrow-up-right-and-arrow-down-left-from-center`,icon:[512,512,[],`e0a0`,`M352 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l50.7 0-105.4 105.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3 448 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-128c0-17.7-14.3-32-32-32L352 0zM214.6 297.4c-12.5-12.5-32.8-12.5-45.3 0L64 402.7 64 352c0-17.7-14.3-32-32-32S0 334.3 0 352L0 480c0 17.7 14.3 32 32 32l128 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-50.7 0 105.4-105.4c12.5-12.5 12.5-32.8 0-45.3z`]};var ute={prefix:`fas`,iconName:`arrow-up-from-dotted-line`,icon:[384,512,[],`e09b`,`M169.4 9.4c12.5-12.5 32.8-12.5 45.3 0l128 128c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 109.3 224 352c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-242.7-73.4 73.4c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l128-128zM0 480c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm138.7-32c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm74.7 32c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zM352 448c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32z`]};var S8={prefix:`fas`,iconName:`arrow-down-from-line`,icon:[384,512,[8615,`arrow-from-top`],`f345`,`M32 64C14.3 64 0 49.7 0 32S14.3 0 32 0L352 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 64zM342.6 374.6l-128 128c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 402.7 160 160c0-17.7 14.3-32 32-32s32 14.3 32 32l0 242.7 73.4-73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3z`]};var dte=S8;var pte={prefix:`fas`,iconName:`arrow-up-left`,icon:[384,512,[],`e09d`,`M32 64C14.3 64 0 78.3 0 96L0 320c0 17.7 14.3 32 32 32s32-14.3 32-32l0-146.7 265.4 265.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 128 256 128c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 64z`]};var hte={prefix:`fas`,iconName:`arrows-split-up-and-left`,icon:[512,512,[],`e4bc`,`M342.6-22.6c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l41.4-41.4 0 195.9c-18.8-10.9-40.7-17.1-64-17.1l-114.7 0 41.4-41.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 320 224 320c35.3 0 64 28.7 64 64 0 70.7 57.3 128 128 128l32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0c-35.3 0-64-28.7-64-64l0-306.7 41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96z`]};var E8={prefix:`fas`,iconName:`arrow-left-to-line`,icon:[512,512,[8676,`arrow-to-left`],`f33e`,`M0 416c0 17.7 14.3 32 32 32s32-14.3 32-32L64 96c0-17.7-14.3-32-32-32S0 78.3 0 96L0 416zM137.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 288 480 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-242.7 0 73.4-73.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-128 128z`]};var fte=E8;var mte={prefix:`fas`,iconName:`arrow-down-from-bracket`,icon:[448,512,[],`e667`,`M384 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64c0-53-43-96-96-96L96 0C43 0 0 43 0 96l0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64c0-17.7 14.3-32 32-32l256 0c17.7 0 32 14.3 32 32l0 64zM201.4 502.6c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 402.7 256 192c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 210.7-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128z`]};var gte={prefix:`fas`,iconName:`arrow-left-from-dotted-line`,icon:[512,512,[],`e6b9`,`M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 288 352 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-242.7 0 73.4-73.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-128 128zM480 64a32 32 0 1 0 0 64 32 32 0 1 0 0-64zM448 202.7a32 32 0 1 0 64 0 32 32 0 1 0 -64 0zm32 74.7a32 32 0 1 0 0 64 32 32 0 1 0 0-64zM448 416a32 32 0 1 0 64 0 32 32 0 1 0 -64 0z`]};var yte={prefix:`fas`,iconName:`building-magnifying-glass`,icon:[512,512,[],`e61c`,`M0 64C0 28.7 28.7 0 64 0L320 0c35.3 0 64 28.7 64 64l0 116.8c-12.8-3.1-26.2-4.8-40-4.8-92.8 0-168 75.2-168 168 0 2.7 .1 5.4 .2 8l-.2 0c-17.7 0-32 14.3-32 32l0 80 82.4 0c27 26.4 62.9 43.9 102.7 47.4-3 .4-6 .6-9.1 .6L64 512c-35.3 0-64-28.7-64-64L0 64zM112 96c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zm112 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zM112 224c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zM344 416.1a72 72 0 1 0 0-144 72 72 0 1 0 0 144zm0 48c-66.3 0-120-53.7-120-120s53.7-120 120-120 120 53.7 120 120c0 24.5-7.3 47.2-19.9 66.2L505 471.1c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-60.8-60.9c-19 12.6-41.7 19.9-66.2 19.9z`]};var I8={prefix:`fas`,iconName:`arrows-up-down`,icon:[256,512,[`arrows-v`],`f07d`,`M150.6-22.6c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L96 77.3 96 434.7 54.6 393.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c6 6 14.1 9.4 22.6 9.4s16.6-3.4 22.6-9.4l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-41.4 41.4 0-357.5 41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96z`]};var vte=I8;var T8={prefix:`fas`,iconName:`arrow-right-to-bracket`,icon:[512,512,[`sign-in`],`f090`,`M352 96l64 0c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32l-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0c53 0 96-43 96-96l0-256c0-53-43-96-96-96l-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32zm-9.4 182.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L242.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l210.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128z`]};var _te=T8;var bte={prefix:`fas`,iconName:`location-arrow`,icon:[512,512,[],`f124`,`M477.9 75.5c4.5-11.8 1.7-25.2-7.2-34.1s-22.3-11.8-34.1-7.2l-416 160C7.9 199-.3 211.2 0 224.7s9.1 25.4 21.9 29.6l176.8 58.9 58.9 176.8c4.3 12.8 16.1 21.6 29.6 21.9s25.7-7.9 30.6-20.5l160-416z`]};var xte={prefix:`fas`,iconName:`arrow-turn-down-right`,icon:[512,512,[],`e3d6`,`M64 96c0-17.7-14.3-32-32-32S0 78.3 0 96l0 96c0 53 43 96 96 96l306.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224 96 224c-17.7 0-32-14.3-32-32l0-96z`]};var C8={prefix:`fas`,iconName:`arrow-down-to-line`,icon:[384,512,[`arrow-to-bottom`],`f33d`,`M32 512c-17.7 0-32-14.3-32-32s14.3-32 32-32l320 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 512zM214.6 374.6c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 274.7 160 32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 242.7 73.4-73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-128 128z`]};var wte=C8;var Ste={prefix:`fas`,iconName:`arrow-down-to-bracket`,icon:[448,512,[],`e094`,`M374.6 214.6l-128 128c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 242.7 192 32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 210.7 73.4-73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3zM64 352l0 64c0 17.7 14.3 32 32 32l256 0c17.7 0 32-14.3 32-32l0-64c0-17.7 14.3-32 32-32s32 14.3 32 32l0 64c0 53-43 96-96 96L96 512c-53 0-96-43-96-96l0-64c0-17.7 14.3-32 32-32s32 14.3 32 32z`]};var Ete={prefix:`fas`,iconName:`chevron-right`,icon:[320,512,[9002],`f054`,`M311.1 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L243.2 256 73.9 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z`]};var D8={prefix:`fas`,iconName:`ellipsis-vertical`,icon:[128,512,[`ellipsis-v`],`f142`,`M64 144a56 56 0 1 1 0-112 56 56 0 1 1 0 112zm0 224c30.9 0 56 25.1 56 56s-25.1 56-56 56-56-25.1-56-56 25.1-56 56-56zm56-112c0 30.9-25.1 56-56 56s-56-25.1-56-56 25.1-56 56-56 56 25.1 56 56z`]};var Ite=D8;var A8={prefix:`fas`,iconName:`arrow-right-to-line`,icon:[512,512,[8677,`arrow-to-right`],`f340`,`M512 96c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 320c0 17.7 14.3 32 32 32s32-14.3 32-32l0-320zM374.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L274.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l242.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128z`]};var Tte=A8;var Cte={prefix:`fas`,iconName:`circle-notch`,icon:[512,512,[],`f1ce`,`M222.7 32.1c5 16.9-4.6 34.8-21.5 39.8-79.3 23.6-137.1 97.1-137.1 184.1 0 106 86 192 192 192s192-86 192-192c0-86.9-57.8-160.4-137.1-184.1-16.9-5-26.6-22.9-21.5-39.8s22.9-26.6 39.8-21.5C434.9 42.1 512 140 512 256 512 397.4 397.4 512 256 512S0 397.4 0 256c0-116 77.1-213.9 182.9-245.4 16.9-5 34.8 4.6 39.8 21.5z`]};var Dte={prefix:`fas`,iconName:`arrow-left-long-to-line`,icon:[640,512,[],`e3d4`,`M265.4 105.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L237.3 224 608 224c17.7 0 32 14.3 32 32s-14.3 32-32 32l-370.7 0 73.4 73.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3l128-128zM0 128c0-17.7 14.3-32 32-32s32 14.3 32 32l0 256c0 17.7-14.3 32-32 32S0 401.7 0 384L0 128z`]};var M8={prefix:`fas`,iconName:`arrow-right-long`,icon:[576,512,[`long-arrow-right`],`f178`,`M566.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L466.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l434.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128z`]};var Ate=M8;var P8={prefix:`fas`,iconName:`magnifying-glass`,icon:[512,512,[128269,`search`],`f002`,`M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z`]};var Mte=P8;var R8={prefix:`fas`,iconName:`map-location-dot`,icon:[640,512,[`map-marked-alt`],`f5a0`,`M576 48c0-11.1-5.7-21.4-15.2-27.2s-21.2-6.4-31.1-1.4L413.5 77.5 234.1 17.6c-8.1-2.7-16.8-2.1-24.4 1.7l-128 64C70.8 88.8 64 99.9 64 112l0 352c0 11.1 5.7 21.4 15.2 27.2s21.2 6.4 31.1 1.4l116.1-58.1 173.3 57.8c-4.3-6.4-8.5-13.1-12.6-19.9-11-18.3-21.9-39.3-30-61.8l-101.2-33.7 0-284.5 128 42.7 0 99.3c31-35.8 77-58.4 128-58.4 22.6 0 44.2 4.4 64 12.5L576 48zM512 224c-66.3 0-120 52.8-120 117.9 0 68.9 64.1 150.4 98.6 189.3 11.6 13 31.3 13 42.9 0 34.5-38.9 98.6-120.4 98.6-189.3 0-65.1-53.7-117.9-120-117.9zM472 344a40 40 0 1 1 80 0 40 40 0 1 1 -80 0z`]};var Pte=R8;var k8={prefix:`fas`,iconName:`ellipsis-stroke`,icon:[512,512,[`ellipsis-h-alt`],`f39b`,`M64 256a16 16 0 1 0 32 0 16 16 0 1 0 -32 0zm80 0a64 64 0 1 1 -128 0 64 64 0 1 1 128 0zm112-16a16 16 0 1 0 0 32 16 16 0 1 0 0-32zm0 80a64 64 0 1 1 0-128 64 64 0 1 1 0 128zm176-80a16 16 0 1 0 0 32 16 16 0 1 0 0-32zm0 80a64 64 0 1 1 0-128 64 64 0 1 1 0 128z`]};var Rte=k8;var kte={prefix:`fas`,iconName:`arrow-turn-down-left`,icon:[512,512,[],`e2e1`,`M448 96c0-17.7 14.3-32 32-32s32 14.3 32 32l0 96c0 53-43 96-96 96l-306.7 0 73.4 73.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3l128-128c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L109.3 224 416 224c17.7 0 32-14.3 32-32l0-96z`]};var O8={prefix:`fas`,iconName:`ellipsis`,icon:[448,512,[`ellipsis-h`],`f141`,`M0 256a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm168 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm224-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z`]};var Ote=O8;var Nte={prefix:`fas`,iconName:`arrows-spin`,icon:[512,512,[],`e4bb`,`M481.7 240.1c-17.6-1.2-32.9 12-34.2 29.7-3.3 47-23.6 89.4-54.8 121L361 359c-6.9-6.9-17.2-8.9-26.2-5.2S320 366.3 320 376l0 112c0 13.3 10.7 24 24 24l112 0c9.7 0 18.5-5.8 22.2-14.8s1.7-19.3-5.2-26.2l-35-35c41.7-42.2 68.9-98.8 73.4-161.8 1.2-17.6-12-32.9-29.7-34.2zM39 41L74 76c-41.7 42.2-68.9 98.8-73.4 161.8-1.2 17.6 12 32.9 29.7 34.2s32.9-12 34.2-29.7c3.3-47 23.6-89.4 54.8-121L151 153c6.9 6.9 17.2 8.9 26.2 5.2S192 145.7 192 136l0-112c0-13.3-10.7-24-24-24L56 0C46.3 0 37.5 5.8 33.8 14.8S32.2 34.1 39 41zm201-10.7c-1.2 17.6 12 32.9 29.7 34.2 47 3.3 89.4 23.6 121 54.8L359 151c-6.9 6.9-8.9 17.2-5.2 26.2S366.3 192 376 192l112 0c13.3 0 24-10.7 24-24l0-112c0-9.7-5.8-18.5-14.8-22.2S477.9 32.2 471 39L436 74c-42.2-41.7-98.8-68.9-161.8-73.4-17.6-1.2-32.9 12-34.2 29.7zM41 473l35-35c42.2 41.7 98.8 68.9 161.8 73.4 17.6 1.2 32.9-12 34.2-29.7s-12-32.9-29.7-34.2c-47-3.3-89.4-23.6-121-54.8L153 361c6.9-6.9 8.9-17.2 5.2-26.2S145.7 320 136 320L24 320c-13.3 0-24 10.7-24 24L0 456c0 9.7 5.8 18.5 14.8 22.2S34.1 479.8 41 473z`]};var Lte={prefix:`fas`,iconName:`circle-small`,icon:[320,512,[],`e122`,`M0 256a160 160 0 1 1 320 0 160 160 0 1 1 -320 0z`]};var Fte={prefix:`fas`,iconName:`filter`,icon:[512,512,[],`f0b0`,`M32 64C19.1 64 7.4 71.8 2.4 83.8S.2 109.5 9.4 118.6L192 301.3 192 416c0 8.5 3.4 16.6 9.4 22.6l64 64c9.2 9.2 22.9 11.9 34.9 6.9S320 492.9 320 480l0-178.7 182.6-182.6c9.2-9.2 11.9-22.9 6.9-34.9S492.9 64 480 64L32 64z`]};var zte={prefix:`fas`,iconName:`arrow-turn-left`,icon:[512,512,[],`e632`,`M448 416c0 17.7 14.3 32 32 32s32-14.3 32-32l0-96c0-53-43-96-96-96l-306.7 0 73.4-73.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-128 128c-12.5 12.5-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 288 416 288c17.7 0 32 14.3 32 32l0 96z`]};var N8={prefix:`fas`,iconName:`minus`,icon:[448,512,[8211,8722,10134,`subtract`],`f068`,`M0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32z`]};var Bte=N8;var Ute={prefix:`fas`,iconName:`clock-three`,icon:[512,512,[],`e356`,`M256 0a256 256 0 1 1 0 512 256 256 0 1 1 0-512zM232 120l0 136c0 13.3 10.7 24 24 24l104 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-80 0 0-112c0-13.3-10.7-24-24-24s-24 10.7-24 24z`]};var Vte={prefix:`fas`,iconName:`arrow-left-to-bracket`,icon:[512,512,[],`e669`,`M160 96L96 96c-17.7 0-32 14.3-32 32l0 256c0 17.7 14.3 32 32 32l64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-64 0c-53 0-96-43-96-96L0 128C0 75 43 32 96 32l64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32zm9.4 182.6c-12.5-12.5-12.5-32.8 0-45.3l128-128c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L269.3 224 480 224c17.7 0 32 14.3 32 32s-14.3 32-32 32l-210.7 0 73.4 73.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-128-128z`]};var jte={prefix:`fas`,iconName:`arrow-trend-up`,icon:[576,512,[],`e098`,`M384 160c-17.7 0-32-14.3-32-32s14.3-32 32-32l160 0c17.7 0 32 14.3 32 32l0 160c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-82.7-169.4 169.4c-12.5 12.5-32.8 12.5-45.3 0L192 269.3 54.6 406.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160c12.5-12.5 32.8-12.5 45.3 0L320 306.7 466.7 160 384 160z`]};var $te={prefix:`fas`,iconName:`arrow-up-to-dotted-line`,icon:[384,512,[],`e0a1`,`M64 32A32 32 0 1 1 0 32 32 32 0 1 1 64 32zM169.4 137.4c12.5-12.5 32.8-12.5 45.3 0l128 128c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 237.3 224 480c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-242.7-73.4 73.4c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l128-128zM138.7 64a32 32 0 1 1 0-64 32 32 0 1 1 0 64zM277.3 32a32 32 0 1 1 -64 0 32 32 0 1 1 64 0zM352 64a32 32 0 1 1 0-64 32 32 0 1 1 0 64z`]};var Hte={prefix:`fas`,iconName:`arrow-turn-left-up`,icon:[384,512,[],`e634`,`M352 448c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0c-53 0-96-43-96-96l0-306.7-73.4 73.4c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l128-128c12.5-12.5 32.8-12.5 45.3 0l128 128c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 109.3 224 416c0 17.7 14.3 32 32 32l96 0z`]};var Gte={prefix:`fas`,iconName:`arrow-u-turn-up-left`,icon:[512,512,[],`e7ed`,`M7.7 148.2c-10.3-12.6-9.5-31.1 2.2-42.8l112-112c12.5-12.5 32.8-12.5 45.2 0s12.5 32.8 0 45.2L109.7 96 320.5 96c102.7 0 186.6 80.7 191.8 182.1l.2 9.9c0 106-86 192-192 192l-224 0-3.3-.2c-16.1-1.6-28.7-15.3-28.7-31.8s12.6-30.2 28.7-31.8l3.3-.2 224 0c70.7 0 128-57.3 128-128l-.2-6.6C444.9 213.8 389 160 320.5 160l-210.8 0 57.4 57.4 2.2 2.4c10.2 12.6 9.5 31.1-2.2 42.8s-30.2 12.4-42.8 2.2l-2.4-2.2-112-112-2.2-2.4z`]};var L8={prefix:`fas`,iconName:`rotate`,icon:[512,512,[128260,`sync-alt`],`f2f1`,`M480.1 192l7.9 0c13.3 0 24-10.7 24-24l0-144c0-9.7-5.8-18.5-14.8-22.2S477.9 .2 471 7L419.3 58.8C375 22.1 318 0 256 0 127 0 20.3 95.4 2.6 219.5 .1 237 12.2 253.2 29.7 255.7s33.7-9.7 36.2-27.1C79.2 135.5 159.3 64 256 64 300.4 64 341.2 79 373.7 104.3L327 151c-6.9 6.9-8.9 17.2-5.2 26.2S334.3 192 344 192l136.1 0zm29.4 100.5c2.5-17.5-9.7-33.7-27.1-36.2s-33.7 9.7-36.2 27.1c-13.3 93-93.4 164.5-190.1 164.5-44.4 0-85.2-15-117.7-40.3L185 361c6.9-6.9 8.9-17.2 5.2-26.2S177.7 320 168 320L24 320c-13.3 0-24 10.7-24 24L0 488c0 9.7 5.8 18.5 14.8 22.2S34.1 511.8 41 505l51.8-51.8C137 489.9 194 512 256 512 385 512 491.7 416.6 509.4 292.5z`]};var qte=L8;function VA(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=Array(e);n<e;n++)o[n]=t[n];return o}function Wte(t){if(Array.isArray(t))return t}function Zte(t){if(Array.isArray(t))return VA(t)}function Yte(t,e){if(!(t instanceof e))throw new TypeError(`Cannot call a class as a function`)}function F8(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,`value`in o&&(o.writable=!0),Object.defineProperty(t,mz(o.key),o)}}function Xte(t,e,n){return e&&F8(t.prototype,e),n&&F8(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function d2(t,e){var n=typeof Symbol<`u`&&t[Symbol.iterator]||t[`@@iterator`];if(!n){if(Array.isArray(t)||(n=nM(t))||e&&t&&typeof t.length==`number`){n&&(t=n);var o=0,c=function(){};return{s:c,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(I){throw I},f:c}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
917
917
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s,m=!0,x=!1;return{s:function(){n=n.call(t)},n:function(){var I=n.next();return m=I.done,I},e:function(I){x=!0,s=I},f:function(){try{m||n.return==null||n.return()}finally{if(x)throw s}}}}function St(t,e,n){return(e=mz(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kte(t){if(typeof Symbol<`u`&&t[Symbol.iterator]!=null||t[`@@iterator`]!=null)return Array.from(t)}function Qte(t,e){var n=t==null?null:typeof Symbol<`u`&&t[Symbol.iterator]||t[`@@iterator`];if(n!=null){var o,c,s,m,x=[],I=!0,P=!1;try{if(s=(n=n.call(t)).next,e===0){if(Object(n)!==n)return;I=!1}else for(;!(I=(o=s.call(n)).done)&&(x.push(o.value),x.length!==e);I=!0);}catch(N){P=!0,c=N}finally{try{if(!I&&n.return!=null&&(m=n.return(),Object(m)!==m))return}finally{if(P)throw c}}return x}}function Jte(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
918
918
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ene(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
919
919
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function z8(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(c){return Object.getOwnPropertyDescriptor(t,c).enumerable})),n.push.apply(n,o)}return n}function He(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?z8(Object(n),!0).forEach(function(o){St(t,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):z8(Object(n)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(n,o))})}return t}function y2(t,e){return Wte(t)||Qte(t,e)||nM(t,e)||Jte()}function Zs(t){return Zte(t)||Kte(t)||nM(t)||ene()}function tne(t,e){if(typeof t!=`object`||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var o=n.call(t,e||`default`);if(typeof o!=`object`)return o;throw new TypeError(`@@toPrimitive must return a primitive value.`)}return(e===`string`?String:Number)(t)}function mz(t){var e=tne(t,`string`);return typeof e==`symbol`?e:e+``}function f2(t){"@babel/helpers - typeof";return f2=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},f2(t)}function nM(t,e){if(t){if(typeof t==`string`)return VA(t,e);var n={}.toString.call(t).slice(8,-1);return n===`Object`&&t.constructor&&(n=t.constructor.name),n===`Map`||n===`Set`?Array.from(t):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?VA(t,e):void 0}}var B8=function(){};var rM={};var gz={};var yz=null;var vz={mark:B8,measure:B8};try{typeof window<`u`&&(rM=window),typeof document<`u`&&(gz=document),typeof MutationObserver<`u`&&(yz=MutationObserver),typeof performance<`u`&&(vz=performance)}catch{}var U8=(rM.navigator||{}).userAgent;var V8=U8===void 0?``:U8;var gu=rM;var Zn=gz;var j8=yz;var a2=vz;gu.document;var Xl=!!Zn.documentElement&&!!Zn.head&&typeof Zn.addEventListener==`function`&&typeof Zn.createElement==`function`;var _z=~V8.indexOf(`MSIE`)||~V8.indexOf(`Trident/`);var l2;var rne=/fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|gt|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt|sldr|slpdr|pr|ms|vs)?[\-\ ]/;var ine=/Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Graphite|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Slab Duo|Slab Press Duo|Pixel|Mosaic|Vellum|Whiteboard)?.*/i;var bz={classic:{fa:`solid`,fas:`solid`,"fa-solid":`solid`,far:`regular`,"fa-regular":`regular`,fal:`light`,"fa-light":`light`,fat:`thin`,"fa-thin":`thin`,fab:`brands`,"fa-brands":`brands`},duotone:{fa:`solid`,fad:`solid`,"fa-solid":`solid`,"fa-duotone":`solid`,fadr:`regular`,"fa-regular":`regular`,fadl:`light`,"fa-light":`light`,fadt:`thin`,"fa-thin":`thin`},sharp:{fa:`solid`,fass:`solid`,"fa-solid":`solid`,fasr:`regular`,"fa-regular":`regular`,fasl:`light`,"fa-light":`light`,fast:`thin`,"fa-thin":`thin`},"sharp-duotone":{fa:`solid`,fasds:`solid`,"fa-solid":`solid`,fasdr:`regular`,"fa-regular":`regular`,fasdl:`light`,"fa-light":`light`,fasdt:`thin`,"fa-thin":`thin`},slab:{"fa-regular":`regular`,faslr:`regular`},"slab-press":{"fa-regular":`regular`,faslpr:`regular`},"slab-duo":{"fa-regular":`regular`,fasldr:`regular`},"slab-press-duo":{"fa-regular":`regular`,faslpdr:`regular`},thumbprint:{"fa-light":`light`,fatl:`light`},vellum:{"fa-solid":`solid`,favs:`solid`},pixel:{"fa-regular":`regular`,fapr:`regular`},mosaic:{"fa-solid":`solid`,fams:`solid`},whiteboard:{"fa-semibold":`semibold`,fawsb:`semibold`},notdog:{"fa-solid":`solid`,fans:`solid`},"notdog-duo":{"fa-solid":`solid`,fands:`solid`},etch:{"fa-solid":`solid`,faes:`solid`},graphite:{"fa-thin":`thin`,fagt:`thin`},jelly:{"fa-regular":`regular`,fajr:`regular`},"jelly-fill":{"fa-regular":`regular`,fajfr:`regular`},"jelly-duo":{"fa-regular":`regular`,fajdr:`regular`},chisel:{"fa-regular":`regular`,facr:`regular`},utility:{"fa-semibold":`semibold`,fausb:`semibold`},"utility-duo":{"fa-semibold":`semibold`,faudsb:`semibold`},"utility-fill":{"fa-semibold":`semibold`,faufsb:`semibold`}};var one={GROUP:`duotone-group`,SWAP_OPACITY:`swap-opacity`,PRIMARY:`primary`,SECONDARY:`secondary`};var xz=[`fa-classic`,`fa-duotone`,`fa-sharp`,`fa-sharp-duotone`,`fa-thumbprint`,`fa-whiteboard`,`fa-notdog`,`fa-notdog-duo`,`fa-chisel`,`fa-etch`,`fa-graphite`,`fa-jelly`,`fa-jelly-fill`,`fa-jelly-duo`,`fa-slab`,`fa-slab-press`,`fa-slab-press-duo`,`fa-slab-duo`,`fa-mosaic`,`fa-pixel`,`fa-vellum`,`fa-utility`,`fa-utility-duo`,`fa-utility-fill`];var Ei=`classic`;var Hv=`duotone`;var wz=`sharp`;var Sz=`sharp-duotone`;var Ez=`chisel`;var Iz=`etch`;var Tz=`graphite`;var Cz=`jelly`;var Dz=`jelly-duo`;var Az=`jelly-fill`;var Mz=`mosaic`;var Pz=`notdog`;var Rz=`notdog-duo`;var kz=`pixel`;var Oz=`slab`;var Nz=`slab-duo`;var Lz=`slab-press`;var Fz=`slab-press-duo`;var zz=`thumbprint`;var Bz=`utility`;var Uz=`utility-duo`;var Vz=`utility-fill`;var jz=`vellum`;var $z=`whiteboard`;var sne=`Classic`;var ane=`Duotone`;var lne=`Sharp`;var cne=`Sharp Duotone`;var une=`Chisel`;var dne=`Etch`;var pne=`Graphite`;var hne=`Jelly`;var fne=`Jelly Duo`;var mne=`Jelly Fill`;var gne=`Mosaic`;var yne=`Notdog`;var vne=`Notdog Duo`;var _ne=`Pixel`;var bne=`Slab`;var xne=`Slab Duo`;var wne=`Slab Press`;var Sne=`Slab Press Duo`;var Ene=`Thumbprint`;var Ine=`Utility`;var Tne=`Utility Duo`;var Cne=`Utility Fill`;var Dne=`Vellum`;var Ane=`Whiteboard`;var Hz=[Ei,Hv,wz,Sz,Ez,Iz,Tz,Cz,Dz,Az,Mz,Pz,Rz,kz,Oz,Nz,Lz,Fz,zz,Bz,Uz,Vz,jz,$z];l2={},St(St(St(St(St(St(St(St(St(St(l2,Ei,sne),Hv,ane),wz,lne),Sz,cne),Ez,une),Iz,dne),Tz,pne),Cz,hne),Dz,fne),Az,mne),St(St(St(St(St(St(St(St(St(St(l2,Mz,gne),Pz,yne),Rz,vne),kz,_ne),Oz,bne),Nz,xne),Lz,wne),Fz,Sne),zz,Ene),Bz,Ine),St(St(St(St(l2,Uz,Tne),Vz,Cne),jz,Dne),$z,Ane);var Mne={classic:{900:`fas`,400:`far`,normal:`far`,300:`fal`,100:`fat`},duotone:{900:`fad`,400:`fadr`,300:`fadl`,100:`fadt`},sharp:{900:`fass`,400:`fasr`,300:`fasl`,100:`fast`},"sharp-duotone":{900:`fasds`,400:`fasdr`,300:`fasdl`,100:`fasdt`},slab:{400:`faslr`},"slab-press":{400:`faslpr`},"slab-duo":{400:`fasldr`},"slab-press-duo":{400:`faslpdr`},vellum:{900:`favs`},mosaic:{900:`fams`},pixel:{400:`fapr`},whiteboard:{600:`fawsb`},thumbprint:{300:`fatl`},notdog:{900:`fans`},"notdog-duo":{900:`fands`},etch:{900:`faes`},graphite:{100:`fagt`},chisel:{400:`facr`},jelly:{400:`fajr`},"jelly-fill":{400:`fajfr`},"jelly-duo":{400:`fajdr`},utility:{600:`fausb`},"utility-duo":{600:`faudsb`},"utility-fill":{600:`faufsb`}};var Pne={"Font Awesome 7 Free":{900:`fas`,400:`far`},"Font Awesome 7 Pro":{900:`fas`,400:`far`,normal:`far`,300:`fal`,100:`fat`},"Font Awesome 7 Brands":{400:`fab`,normal:`fab`},"Font Awesome 7 Duotone":{900:`fad`,400:`fadr`,normal:`fadr`,300:`fadl`,100:`fadt`},"Font Awesome 7 Sharp":{900:`fass`,400:`fasr`,normal:`fasr`,300:`fasl`,100:`fast`},"Font Awesome 7 Sharp Duotone":{900:`fasds`,400:`fasdr`,normal:`fasdr`,300:`fasdl`,100:`fasdt`},"Font Awesome 7 Jelly":{400:`fajr`,normal:`fajr`},"Font Awesome 7 Jelly Fill":{400:`fajfr`,normal:`fajfr`},"Font Awesome 7 Jelly Duo":{400:`fajdr`,normal:`fajdr`},"Font Awesome 7 Slab":{400:`faslr`,normal:`faslr`},"Font Awesome 7 Slab Press":{400:`faslpr`,normal:`faslpr`},"Font Awesome 7 Slab Duo":{400:`fasldr`,normal:`fasldr`},"Font Awesome 7 Slab Press Duo":{400:`faslpdr`,normal:`faslpdr`},"Font Awesome 7 Pixel":{400:`fapr`,normal:`fapr`},"Font Awesome 7 Mosaic":{900:`fams`,normal:`fams`},"Font Awesome 7 Vellum":{900:`favs`,normal:`favs`},"Font Awesome 7 Thumbprint":{300:`fatl`,normal:`fatl`},"Font Awesome 7 Notdog":{900:`fans`,normal:`fans`},"Font Awesome 7 Notdog Duo":{900:`fands`,normal:`fands`},"Font Awesome 7 Etch":{900:`faes`,normal:`faes`},"Font Awesome 7 Graphite":{100:`fagt`,normal:`fagt`},"Font Awesome 7 Chisel":{400:`facr`,normal:`facr`},"Font Awesome 7 Whiteboard":{600:`fawsb`,normal:`fawsb`},"Font Awesome 7 Utility":{600:`fausb`,normal:`fausb`},"Font Awesome 7 Utility Duo":{600:`faudsb`,normal:`faudsb`},"Font Awesome 7 Utility Fill":{600:`faufsb`,normal:`faufsb`}};var Rne=new Map([[`classic`,{defaultShortPrefixId:`fas`,defaultStyleId:`solid`,styleIds:[`solid`,`regular`,`light`,`thin`,`brands`],futureStyleIds:[],defaultFontWeight:900}],[`duotone`,{defaultShortPrefixId:`fad`,defaultStyleId:`solid`,styleIds:[`solid`,`regular`,`light`,`thin`],futureStyleIds:[],defaultFontWeight:900}],[`sharp`,{defaultShortPrefixId:`fass`,defaultStyleId:`solid`,styleIds:[`solid`,`regular`,`light`,`thin`],futureStyleIds:[],defaultFontWeight:900}],[`sharp-duotone`,{defaultShortPrefixId:`fasds`,defaultStyleId:`solid`,styleIds:[`solid`,`regular`,`light`,`thin`],futureStyleIds:[],defaultFontWeight:900}],[`chisel`,{defaultShortPrefixId:`facr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`etch`,{defaultShortPrefixId:`faes`,defaultStyleId:`solid`,styleIds:[`solid`],futureStyleIds:[],defaultFontWeight:900}],[`graphite`,{defaultShortPrefixId:`fagt`,defaultStyleId:`thin`,styleIds:[`thin`],futureStyleIds:[],defaultFontWeight:100}],[`jelly`,{defaultShortPrefixId:`fajr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`jelly-duo`,{defaultShortPrefixId:`fajdr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`jelly-fill`,{defaultShortPrefixId:`fajfr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`mosaic`,{defaultShortPrefixId:`fams`,defaultStyleId:`solid`,styleIds:[`solid`],futureStyleIds:[],defaultFontWeight:900}],[`notdog`,{defaultShortPrefixId:`fans`,defaultStyleId:`solid`,styleIds:[`solid`],futureStyleIds:[],defaultFontWeight:900}],[`notdog-duo`,{defaultShortPrefixId:`fands`,defaultStyleId:`solid`,styleIds:[`solid`],futureStyleIds:[],defaultFontWeight:900}],[`pixel`,{defaultShortPrefixId:`fapr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`slab`,{defaultShortPrefixId:`faslr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`slab-duo`,{defaultShortPrefixId:`fasldr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`slab-press`,{defaultShortPrefixId:`faslpr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`slab-press-duo`,{defaultShortPrefixId:`faslpdr`,defaultStyleId:`regular`,styleIds:[`regular`],futureStyleIds:[],defaultFontWeight:400}],[`thumbprint`,{defaultShortPrefixId:`fatl`,defaultStyleId:`light`,styleIds:[`light`],futureStyleIds:[],defaultFontWeight:300}],[`utility`,{defaultShortPrefixId:`fausb`,defaultStyleId:`semibold`,styleIds:[`semibold`],futureStyleIds:[],defaultFontWeight:600}],[`utility-duo`,{defaultShortPrefixId:`faudsb`,defaultStyleId:`semibold`,styleIds:[`semibold`],futureStyleIds:[],defaultFontWeight:600}],[`utility-fill`,{defaultShortPrefixId:`faufsb`,defaultStyleId:`semibold`,styleIds:[`semibold`],futureStyleIds:[],defaultFontWeight:600}],[`vellum`,{defaultShortPrefixId:`favs`,defaultStyleId:`solid`,styleIds:[`solid`],futureStyleIds:[],defaultFontWeight:900}],[`whiteboard`,{defaultShortPrefixId:`fawsb`,defaultStyleId:`semibold`,styleIds:[`semibold`],futureStyleIds:[],defaultFontWeight:600}]]);var kne={chisel:{regular:`facr`},classic:{brands:`fab`,light:`fal`,regular:`far`,solid:`fas`,thin:`fat`},duotone:{light:`fadl`,regular:`fadr`,solid:`fad`,thin:`fadt`},etch:{solid:`faes`},graphite:{thin:`fagt`},jelly:{regular:`fajr`},"jelly-duo":{regular:`fajdr`},"jelly-fill":{regular:`fajfr`},mosaic:{solid:`fams`},notdog:{solid:`fans`},"notdog-duo":{solid:`fands`},pixel:{regular:`fapr`},sharp:{light:`fasl`,regular:`fasr`,solid:`fass`,thin:`fast`},"sharp-duotone":{light:`fasdl`,regular:`fasdr`,solid:`fasds`,thin:`fasdt`},slab:{regular:`faslr`},"slab-duo":{regular:`fasldr`},"slab-press":{regular:`faslpr`},"slab-press-duo":{regular:`faslpdr`},thumbprint:{light:`fatl`},utility:{semibold:`fausb`},"utility-duo":{semibold:`faudsb`},"utility-fill":{semibold:`faufsb`},vellum:{solid:`favs`},whiteboard:{semibold:`fawsb`}};var Gz=[`fak`,`fa-kit`,`fakd`,`fa-kit-duotone`];var $8={kit:{fak:`kit`,"fa-kit":`kit`},"kit-duotone":{fakd:`kit-duotone`,"fa-kit-duotone":`kit-duotone`}};var One=[`kit`];St(St({},`kit`,`Kit`),`kit-duotone`,`Kit Duotone`);var Bne={kit:{"fa-kit":`fak`},"kit-duotone":{"fa-kit-duotone":`fakd`}};var Une={"Font Awesome Kit":{400:`fak`,normal:`fak`},"Font Awesome Kit Duotone":{400:`fakd`,normal:`fakd`}};var Vne={kit:{fak:`fa-kit`},"kit-duotone":{fakd:`fa-kit-duotone`}};var H8={kit:{kit:`fak`},"kit-duotone":{"kit-duotone":`fakd`}};var c2;var u2={GROUP:`duotone-group`,SWAP_OPACITY:`swap-opacity`,PRIMARY:`primary`,SECONDARY:`secondary`};var jne=[`fa-classic`,`fa-duotone`,`fa-sharp`,`fa-sharp-duotone`,`fa-thumbprint`,`fa-whiteboard`,`fa-notdog`,`fa-notdog-duo`,`fa-chisel`,`fa-etch`,`fa-graphite`,`fa-jelly`,`fa-jelly-fill`,`fa-jelly-duo`,`fa-slab`,`fa-slab-press`,`fa-slab-press-duo`,`fa-slab-duo`,`fa-mosaic`,`fa-pixel`,`fa-vellum`,`fa-utility`,`fa-utility-duo`,`fa-utility-fill`];c2={},St(St(St(St(St(St(St(St(St(St(c2,`classic`,`Classic`),`duotone`,`Duotone`),`sharp`,`Sharp`),`sharp-duotone`,`Sharp Duotone`),`chisel`,`Chisel`),`etch`,`Etch`),`graphite`,`Graphite`),`jelly`,`Jelly`),`jelly-duo`,`Jelly Duo`),`jelly-fill`,`Jelly Fill`),St(St(St(St(St(St(St(St(St(St(c2,`mosaic`,`Mosaic`),`notdog`,`Notdog`),`notdog-duo`,`Notdog Duo`),`pixel`,`Pixel`),`slab`,`Slab`),`slab-duo`,`Slab Duo`),`slab-press`,`Slab Press`),`slab-press-duo`,`Slab Press Duo`),`thumbprint`,`Thumbprint`),`utility`,`Utility`),St(St(St(St(c2,`utility-duo`,`Utility Duo`),`utility-fill`,`Utility Fill`),`vellum`,`Vellum`),`whiteboard`,`Whiteboard`);St(St({},`kit`,`Kit`),`kit-duotone`,`Kit Duotone`);var Vre={classic:{"fa-brands":`fab`,"fa-duotone":`fad`,"fa-light":`fal`,"fa-regular":`far`,"fa-solid":`fas`,"fa-thin":`fat`},duotone:{"fa-regular":`fadr`,"fa-light":`fadl`,"fa-thin":`fadt`},sharp:{"fa-solid":`fass`,"fa-regular":`fasr`,"fa-light":`fasl`,"fa-thin":`fast`},"sharp-duotone":{"fa-solid":`fasds`,"fa-regular":`fasdr`,"fa-light":`fasdl`,"fa-thin":`fasdt`},slab:{"fa-regular":`faslr`},"slab-press":{"fa-regular":`faslpr`},"slab-duo":{"fa-regular":`fasldr`},"slab-press-duo":{"fa-regular":`faslpdr`},pixel:{"fa-regular":`fapr`},mosaic:{"fa-solid":`fams`},vellum:{"fa-solid":`favs`},whiteboard:{"fa-semibold":`fawsb`},thumbprint:{"fa-light":`fatl`},notdog:{"fa-solid":`fans`},"notdog-duo":{"fa-solid":`fands`},etch:{"fa-solid":`faes`},graphite:{"fa-thin":`fagt`},jelly:{"fa-regular":`fajr`},"jelly-fill":{"fa-regular":`fajfr`},"jelly-duo":{"fa-regular":`fajdr`},chisel:{"fa-regular":`facr`},utility:{"fa-semibold":`fausb`},"utility-duo":{"fa-semibold":`faudsb`},"utility-fill":{"fa-semibold":`faufsb`}};var jre={classic:[`fas`,`far`,`fal`,`fat`,`fad`],duotone:[`fadr`,`fadl`,`fadt`],sharp:[`fass`,`fasr`,`fasl`,`fast`],"sharp-duotone":[`fasds`,`fasdr`,`fasdl`,`fasdt`],slab:[`faslr`],"slab-press":[`faslpr`],"slab-duo":[`fasldr`],"slab-press-duo":[`faslpdr`],pixel:[`fapr`],mosaic:[`fams`],vellum:[`favs`],whiteboard:[`fawsb`],thumbprint:[`fatl`],notdog:[`fans`],"notdog-duo":[`fands`],etch:[`faes`],graphite:[`fagt`],jelly:[`fajr`],"jelly-fill":[`fajfr`],"jelly-duo":[`fajdr`],chisel:[`facr`],utility:[`fausb`],"utility-duo":[`faudsb`],"utility-fill":[`faufsb`]};var jA={classic:{fab:`fa-brands`,fad:`fa-duotone`,fal:`fa-light`,far:`fa-regular`,fas:`fa-solid`,fat:`fa-thin`},duotone:{fadr:`fa-regular`,fadl:`fa-light`,fadt:`fa-thin`},sharp:{fass:`fa-solid`,fasr:`fa-regular`,fasl:`fa-light`,fast:`fa-thin`},"sharp-duotone":{fasds:`fa-solid`,fasdr:`fa-regular`,fasdl:`fa-light`,fasdt:`fa-thin`},slab:{faslr:`fa-regular`},"slab-press":{faslpr:`fa-regular`},"slab-duo":{fasldr:`fa-regular`},"slab-press-duo":{faslpdr:`fa-regular`},pixel:{fapr:`fa-regular`},mosaic:{fams:`fa-solid`},vellum:{favs:`fa-solid`},whiteboard:{fawsb:`fa-semibold`},thumbprint:{fatl:`fa-light`},notdog:{fans:`fa-solid`},"notdog-duo":{fands:`fa-solid`},etch:{faes:`fa-solid`},graphite:{fagt:`fa-thin`},jelly:{fajr:`fa-regular`},"jelly-fill":{fajfr:`fa-regular`},"jelly-duo":{fajdr:`fa-regular`},chisel:{facr:`fa-regular`},utility:{fausb:`fa-semibold`},"utility-duo":{faudsb:`fa-semibold`},"utility-fill":{faufsb:`fa-semibold`}};var qz=[`fa`,`fas`,`far`,`fal`,`fat`,`fad`,`fadr`,`fadl`,`fadt`,`fab`,`fass`,`fasr`,`fasl`,`fast`,`fasds`,`fasdr`,`fasdl`,`fasdt`,`faslr`,`faslpr`,`fasldr`,`faslpdr`,`fapr`,`fams`,`favs`,`fawsb`,`fatl`,`fans`,`fands`,`faes`,`fagt`,`fajr`,`fajfr`,`fajdr`,`facr`,`fausb`,`faudsb`,`faufsb`].concat(jne,[`fa-solid`,`fa-regular`,`fa-light`,`fa-thin`,`fa-duotone`,`fa-brands`,`fa-semibold`]);var Hre=[`solid`,`regular`,`light`,`thin`,`duotone`,`brands`,`semibold`];var Wz=[1,2,3,4,5,6,7,8,9,10];var Gre=Wz.concat([11,12,13,14,15,16,17,18,19,20]);var Wre=[].concat(Zs(Object.keys(jre)),Hre,[`aw`,`fw`,`pull-left`,`pull-right`],[`2xs`,`xs`,`sm`,`lg`,`xl`,`2xl`,`beat`,`beat-fade`,`border`,`bounce`,`buzz`,`canvas-square`,`canvas-roomy`,`fade`,`flip-360`,`flip-both`,`flip-horizontal`,`flip-vertical`,`flip`,`float`,`inverse`,`jello`,`layers`,`layers-bottom-left`,`layers-bottom-right`,`layers-counter`,`layers-text`,`layers-top-left`,`layers-top-right`,`li`,`pull-end`,`pull-start`,`pulse`,`rotate-180`,`rotate-270`,`rotate-90`,`rotate-by`,`shake`,`spin-pulse`,`spin-reverse`,`spin`,`spin-snap`,`spin-snap-4`,`spin-snap-8`,`stack-1x`,`stack-2x`,`stack`,`swing`,`ul`,`wag`,`width-auto`,`width-fixed`,u2.GROUP,u2.SWAP_OPACITY,u2.PRIMARY,u2.SECONDARY]).concat(Wz.map(function(t){return``.concat(t,`x`)})).concat(Gre.map(function(t){return`w-`.concat(t)}));var Zre={"Font Awesome 5 Free":{900:`fas`,400:`far`},"Font Awesome 5 Pro":{900:`fas`,400:`far`,normal:`far`,300:`fal`},"Font Awesome 5 Brands":{400:`fab`,normal:`fab`},"Font Awesome 5 Duotone":{900:`fad`}};var Zl=`___FONT_AWESOME___`;var $A=16;var Zz=`fa`;var Yz=`svg-inline--fa`;var Ep=`data-fa-i2svg`;var HA=`data-fa-pseudo-element`;var Yre=`data-fa-pseudo-element-pending`;var iM=`data-prefix`;var oM=`data-icon`;var G8=`fontawesome-i2svg`;var Xre=`async`;var Kre=[`HTML`,`HEAD`,`STYLE`,`SCRIPT`];var Xz=[`::before`,`::after`,`:before`,`:after`];var Kz=(function(){try{return!0}catch{return!1}})();function Gv(t){return new Proxy(t,{get:function(n,o){return o in n?n[o]:n[Ei]}})}var Qz=He({},bz);Qz[Ei]=He(He(He(He({},{"fa-duotone":`duotone`}),bz[Ei]),$8.kit),$8[`kit-duotone`]);var Qre=Gv(Qz);var GA=He({},kne);GA[Ei]=He(He(He(He({},{duotone:`fad`}),GA[Ei]),H8.kit),H8[`kit-duotone`]);var q8=Gv(GA);var qA=He({},jA);qA[Ei]=He(He({},qA[Ei]),Vne.kit);var sM=Gv(qA);var WA=He({},Vre);WA[Ei]=He(He({},WA[Ei]),Bne.kit);Gv(WA);var Jre=rne;var Jz=`fa-layers-text`;var eie=ine;Gv(He({},Mne));var nie=[`class`,`data-prefix`,`data-icon`,`data-fa-transform`,`data-fa-mask`];var LA=one;var rie=[].concat(Zs(One),Zs(Wre));var Vv=gu.FontAwesomeConfig||{};function iie(t){var e=Zn.querySelector(`script[`+t+`]`);if(e)return e.getAttribute(t)}function oie(t){return t===``?!0:t===`false`?!1:t===`true`?!0:t}Zn&&typeof Zn.querySelector==`function`&&(W8=[[`data-family-prefix`,`familyPrefix`],[`data-css-prefix`,`cssPrefix`],[`data-family-default`,`familyDefault`],[`data-style-default`,`styleDefault`],[`data-replacement-class`,`replacementClass`],[`data-auto-replace-svg`,`autoReplaceSvg`],[`data-auto-add-css`,`autoAddCss`],[`data-search-pseudo-elements`,`searchPseudoElements`],[`data-search-pseudo-elements-warnings`,`searchPseudoElementsWarnings`],[`data-search-pseudo-elements-full-scan`,`searchPseudoElementsFullScan`],[`data-observe-mutations`,`observeMutations`],[`data-mutate-approach`,`mutateApproach`],[`data-keep-original-source`,`keepOriginalSource`],[`data-measure-performance`,`measurePerformance`],[`data-show-missing-icons`,`showMissingIcons`]],W8.forEach(function(t){var e=y2(t,2),n=e[0],o=e[1],c=oie(iie(n));c!=null&&(Vv[o]=c)}));var W8;var e7={styleDefault:`solid`,familyDefault:Ei,cssPrefix:Zz,replacementClass:Yz,autoReplaceSvg:!0,autoAddCss:!0,searchPseudoElements:!1,searchPseudoElementsWarnings:!0,searchPseudoElementsFullScan:!1,observeMutations:!0,mutateApproach:`async`,keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Vv.familyPrefix&&(Vv.cssPrefix=Vv.familyPrefix);var lm=He(He({},e7),Vv);lm.autoReplaceSvg||(lm.observeMutations=!1);var xt={};Object.keys(e7).forEach(function(t){Object.defineProperty(xt,t,{enumerable:!0,set:function(n){lm[t]=n,jv.forEach(function(o){return o(xt)})},get:function(){return lm[t]}})});Object.defineProperty(xt,"familyPrefix",{enumerable:!0,set:function(e){lm.cssPrefix=e,jv.forEach(function(n){return n(xt)})},get:function(){return lm.cssPrefix}});gu.FontAwesomeConfig=xt;var jv=[];function sie(t){return jv.push(t),function(){jv.splice(jv.indexOf(t),1)}}var mu=$A;var Ba={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function aie(t){if(!(!t||!Xl)){var e=Zn.createElement(`style`);e.setAttribute(`type`,`text/css`),e.innerHTML=t;for(var n=Zn.head.childNodes,o=null,c=n.length-1;c>-1;c--){var s=n[c],m=(s.tagName||``).toUpperCase();[`STYLE`,`LINK`].indexOf(m)>-1&&(o=s)}return Zn.head.insertBefore(e,o),t}}var lie=`0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ`;function Z8(){for(var t=12,e=``;t-->0;)e+=lie[Math.random()*62|0];return e}function cm(t){for(var e=[],n=(t||[]).length>>>0;n--;)e[n]=t[n];return e}function aM(t){return t.classList?cm(t.classList):(t.getAttribute(`class`)||``).split(` `).filter(function(e){return e})}function t7(t){return``.concat(t).replace(/&/g,`&`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/</g,`<`).replace(/>/g,`>`)}function cie(t){return Object.keys(t||{}).reduce(function(e,n){return e+``.concat(n,`="`).concat(t7(t[n]),`" `)},``).trim()}function v2(t){return Object.keys(t||{}).reduce(function(e,n){return e+``.concat(n,`: `).concat(t[n].trim(),`;`)},``)}function lM(t){return t.size!==Ba.size||t.x!==Ba.x||t.y!==Ba.y||t.rotate!==Ba.rotate||t.flipX||t.flipY}function uie(t){var e=t.transform,n=t.containerWidth,o=t.iconWidth,c={transform:`translate(`.concat(n/2,` 256)`)},s=`translate(`.concat(e.x*32,`, `).concat(e.y*32,`) `),m=`scale(`.concat(e.size/16*(e.flipX?-1:1),`, `).concat(e.size/16*(e.flipY?-1:1),`) `),x=`rotate(`.concat(e.rotate,` 0 0)`);return{outer:c,inner:{transform:``.concat(s,` `).concat(m,` `).concat(x)},path:{transform:`translate(`.concat(o/2*-1,` -256)`)}}}function die(t){var e=t.transform,n=t.width,o=n===void 0?$A:n,c=t.height,s=c===void 0?$A:c,m=t.startCentered,x=m===void 0?!1:m,I=``;return x&&_z?I+=`translate(`.concat(e.x/mu-o/2,`em, `).concat(e.y/mu-s/2,`em) `):x?I+=`translate(calc(-50% + `.concat(e.x/mu,`em), calc(-50% + `).concat(e.y/mu,`em)) `):I+=`translate(`.concat(e.x/mu,`em, `).concat(e.y/mu,`em) `),I+=`scale(`.concat(e.size/mu*(e.flipX?-1:1),`, `).concat(e.size/mu*(e.flipY?-1:1),`) `),I+=`rotate(`.concat(e.rotate,`deg) `),I}var pie=`:root, :host {
|