@mapvx/website-component 0.11.0 → 0.11.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/dist/browser/styles.css +1 -1
- package/package.json +1 -1
package/dist/browser/main.js
CHANGED
|
@@ -1496,7 +1496,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
1496
1496
|
`))});document=Ve(Li);sanitizer=Ve(Qg);config=Ve(K9);iconLibrary=Ve(cy);stackItem=Ve(iU,{optional:!0});stack=Ve(oU,{optional:!0});constructor(){this.stack!=null&&this.stackItem==null&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: <fa-icon stackItemSize="2x" />.')}findIconDefinition(i){let c=rU(i,this.config.defaultPrefix);if("icon"in c)return c;let d=this.iconLibrary.getIconDefinition(c.prefix,c.iconName);return d??(J9(c),null)}buildParams(){let i=this.fixedWidth(),c={flip:this.flip(),animation:this.animation(),border:this.border(),inverse:this.inverse(),size:this.size(),pull:this.pull(),rotate:this.rotate(),fixedWidth:typeof i=="boolean"?i:this.config.fixedWidth,stackItemSize:this.stackItem!=null?this.stackItem.stackItemSize():void 0},d=this.transform(),a=typeof d=="string"?Ik.transform(d):d,w=this.mask(),P=w!=null?this.findIconDefinition(w):null,k={},q=this.a11yRole();q!=null&&(k.role=q);let J={};return c.rotate!=null&&!Mk(c.rotate)&&(J["--fa-rotate-angle"]=`${c.rotate}`),{title:this.title(),transform:a,classes:eU(c),mask:P??void 0,symbol:this.symbol(),attributes:k,styles:J}}static \u0275fac=function(c){return new(c||n)};static \u0275cmp=In({type:n,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(c,d){c&2&&(Z_("innerHTML",d.renderedIconHTML(),Pd),Fg("title",d.title()??void 0))},inputs:{icon:[1,"icon"],title:[1,"title"],animation:[1,"animation"],mask:[1,"mask"],flip:[1,"flip"],size:[1,"size"],pull:[1,"pull"],border:[1,"border"],inverse:[1,"inverse"],symbol:[1,"symbol"],rotate:[1,"rotate"],fixedWidth:[1,"fixedWidth"],transform:[1,"transform"],a11yRole:[1,"a11yRole"]},outputs:{icon:"iconChange",title:"titleChange",animation:"animationChange",mask:"maskChange",flip:"flipChange",size:"sizeChange",pull:"pullChange",border:"borderChange",inverse:"inverseChange",symbol:"symbolChange",rotate:"rotateChange",fixedWidth:"fixedWidthChange",transform:"transformChange",a11yRole:"a11yRoleChange"},decls:0,vars:0,template:function(c,d){},encapsulation:2,changeDetection:0})}return n})();var S0=(()=>{class n{static \u0275fac=function(c){return new(c||n)};static \u0275mod=bc({type:n});static \u0275inj=Dl({})}return n})();var _r=class n{iconLibrary=Ve(cy);logger=Ve(dr);getIconDefinition(r,i){let c=this.iconLibrary.getIconDefinition(r,i);return c||(this.logger.logWarning(new Error(`Icon definition not found for ${r} ${i}`)),rC)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=Kt({token:n,factory:n.\u0275fac})};var hr="primary",Sy=Symbol("RouteTitle"),$C=class{params;constructor(r){this.params=r||{}}has(r){return Object.prototype.hasOwnProperty.call(this.params,r)}get(r){if(this.has(r)){let i=this.params[r];return Array.isArray(i)?i[0]:i}return null}getAll(r){if(this.has(r)){let i=this.params[r];return Array.isArray(i)?i:[i]}return[]}get keys(){return Object.keys(this.params)}};function lf(n){return new $C(n)}function Nk(n,r,i){let c=i.path.split("/");if(c.length>n.length||i.pathMatch==="full"&&(r.hasChildren()||c.length<n.length))return null;let d={};for(let a=0;a<c.length;a++){let w=c[a],P=n[a];if(w[0]===":")d[w.substring(1)]=P;else if(w!==P.path)return null}return{consumed:n.slice(0,c.length),posParams:d}}function aU(n,r){if(n.length!==r.length)return!1;for(let i=0;i<n.length;++i)if(!Cc(n[i],r[i]))return!1;return!0}function Cc(n,r){let i=n?GC(n):void 0,c=r?GC(r):void 0;if(!i||!c||i.length!=c.length)return!1;let d;for(let a=0;a<i.length;a++)if(d=i[a],!zk(n[d],r[d]))return!1;return!0}function GC(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function zk(n,r){if(Array.isArray(n)&&Array.isArray(r)){if(n.length!==r.length)return!1;let i=[...n].sort(),c=[...r].sort();return i.every((d,a)=>c[a]===d)}else return n===r}function jk(n){return n.length>0?n[n.length-1]:null}function Fu(n){return Vb(n)?n:Vp(n)?Pi(Promise.resolve(n)):jn(n)}var lU={exact:Vk,subset:Uk},Bk={exact:cU,subset:uU,ignored:()=>!0};function Pk(n,r,i){return lU[i.paths](n.root,r.root,i.matrixParams)&&Bk[i.queryParams](n.queryParams,r.queryParams)&&!(i.fragment==="exact"&&n.fragment!==r.fragment)}function cU(n,r){return Cc(n,r)}function Vk(n,r,i){if(!sf(n.segments,r.segments)||!I0(n.segments,r.segments,i)||n.numberOfChildren!==r.numberOfChildren)return!1;for(let c in r.children)if(!n.children[c]||!Vk(n.children[c],r.children[c],i))return!1;return!0}function uU(n,r){return Object.keys(r).length<=Object.keys(n).length&&Object.keys(r).every(i=>zk(n[i],r[i]))}function Uk(n,r,i){return $k(n,r,r.segments,i)}function $k(n,r,i,c){if(n.segments.length>i.length){let d=n.segments.slice(0,i.length);return!(!sf(d,i)||r.hasChildren()||!I0(d,i,c))}else if(n.segments.length===i.length){if(!sf(n.segments,i)||!I0(n.segments,i,c))return!1;for(let d in r.children)if(!n.children[d]||!Uk(n.children[d],r.children[d],c))return!1;return!0}else{let d=i.slice(0,n.segments.length),a=i.slice(n.segments.length);return!sf(n.segments,d)||!I0(n.segments,d,c)||!n.children[hr]?!1:$k(n.children[hr],r,a,c)}}function I0(n,r,i){return r.every((c,d)=>Bk[i](n[d].parameters,c.parameters))}var Ec=class{root;queryParams;fragment;_queryParamMap;constructor(r=new ei([],{}),i={},c=null){this.root=r,this.queryParams=i,this.fragment=c}get queryParamMap(){return this._queryParamMap??=lf(this.queryParams),this._queryParamMap}toString(){return fU.serialize(this)}},ei=class{segments;children;parent=null;constructor(r,i){this.segments=r,this.children=i,Object.values(i).forEach(c=>c.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return T0(this)}},zd=class{path;parameters;_parameterMap;constructor(r,i){this.path=r,this.parameters=i}get parameterMap(){return this._parameterMap??=lf(this.parameters),this._parameterMap}toString(){return Hk(this)}};function dU(n,r){return sf(n,r)&&n.every((i,c)=>Cc(i.parameters,r[c].parameters))}function sf(n,r){return n.length!==r.length?!1:n.every((i,c)=>i.path===r[c].path)}function hU(n,r){let i=[];return Object.entries(n.children).forEach(([c,d])=>{c===hr&&(i=i.concat(r(d,c)))}),Object.entries(n.children).forEach(([c,d])=>{c!==hr&&(i=i.concat(r(d,c)))}),i}var Ey=(()=>{class n{static \u0275fac=function(c){return new(c||n)};static \u0275prov=Kt({token:n,factory:()=>new cf,providedIn:"root"})}return n})(),cf=class{parse(r){let i=new qC(r);return new Ec(i.parseRootSegment(),i.parseQueryParams(),i.parseFragment())}serialize(r){let i=`/${uy(r.root,!0)}`,c=gU(r.queryParams),d=typeof r.fragment=="string"?`#${pU(r.fragment)}`:"";return`${i}${c}${d}`}},fU=new cf;function T0(n){return n.segments.map(r=>Hk(r)).join("/")}function uy(n,r){if(!n.hasChildren())return T0(n);if(r){let i=n.children[hr]?uy(n.children[hr],!1):"",c=[];return Object.entries(n.children).forEach(([d,a])=>{d!==hr&&c.push(`${d}:${uy(a,!1)}`)}),c.length>0?`${i}(${c.join("//")})`:i}else{let i=hU(n,(c,d)=>d===hr?[uy(n.children[hr],!1)]:[`${d}:${uy(c,!1)}`]);return Object.keys(n.children).length===1&&n.children[hr]!=null?`${T0(n)}/${i[0]}`:`${T0(n)}/(${i.join("//")})`}}function Gk(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function E0(n){return Gk(n).replace(/%3B/gi,";")}function pU(n){return encodeURI(n)}function HC(n){return Gk(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function M0(n){return decodeURIComponent(n)}function Ak(n){return M0(n.replace(/\+/g,"%20"))}function Hk(n){return`${HC(n.path)}${mU(n.parameters)}`}function mU(n){return Object.entries(n).map(([r,i])=>`;${HC(r)}=${HC(i)}`).join("")}function gU(n){let r=Object.entries(n).map(([i,c])=>Array.isArray(c)?c.map(d=>`${E0(i)}=${E0(d)}`).join("&"):`${E0(i)}=${E0(c)}`).filter(i=>i);return r.length?`?${r.join("&")}`:""}var yU=/^[^\/()?;#]+/;function jC(n){let r=n.match(yU);return r?r[0]:""}var vU=/^[^\/()?;=#]+/;function _U(n){let r=n.match(vU);return r?r[0]:""}var bU=/^[^=?&#]+/;function wU(n){let r=n.match(bU);return r?r[0]:""}var xU=/^[^&#]+/;function CU(n){let r=n.match(xU);return r?r[0]:""}var qC=class{url;remaining;constructor(r){this.url=r,this.remaining=r}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new ei([],{}):new ei([],this.parseChildren())}parseQueryParams(){let r={};if(this.consumeOptional("?"))do this.parseQueryParam(r);while(this.consumeOptional("&"));return r}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let r=[];for(this.peekStartsWith("(")||r.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),r.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0));let c={};return this.peekStartsWith("(")&&(c=this.parseParens(!1)),(r.length>0||Object.keys(i).length>0)&&(c[hr]=new ei(r,i)),c}parseSegment(){let r=jC(this.remaining);if(r===""&&this.peekStartsWith(";"))throw new fn(4009,!1);return this.capture(r),new zd(M0(r),this.parseMatrixParams())}parseMatrixParams(){let r={};for(;this.consumeOptional(";");)this.parseParam(r);return r}parseParam(r){let i=_U(this.remaining);if(!i)return;this.capture(i);let c="";if(this.consumeOptional("=")){let d=jC(this.remaining);d&&(c=d,this.capture(c))}r[M0(i)]=M0(c)}parseQueryParam(r){let i=wU(this.remaining);if(!i)return;this.capture(i);let c="";if(this.consumeOptional("=")){let w=CU(this.remaining);w&&(c=w,this.capture(c))}let d=Ak(i),a=Ak(c);if(r.hasOwnProperty(d)){let w=r[d];Array.isArray(w)||(w=[w],r[d]=w),w.push(a)}else r[d]=a}parseParens(r){let i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let c=jC(this.remaining),d=this.remaining[c.length];if(d!=="/"&&d!==")"&&d!==";")throw new fn(4010,!1);let a;c.indexOf(":")>-1?(a=c.slice(0,c.indexOf(":")),this.capture(a),this.capture(":")):r&&(a=hr);let w=this.parseChildren();i[a]=Object.keys(w).length===1?w[hr]:new ei([],w),this.consumeOptional("//")}return i}peekStartsWith(r){return this.remaining.startsWith(r)}consumeOptional(r){return this.peekStartsWith(r)?(this.remaining=this.remaining.substring(r.length),!0):!1}capture(r){if(!this.consumeOptional(r))throw new fn(4011,!1)}};function qk(n){return n.segments.length>0?new ei([],{[hr]:n}):n}function Wk(n){let r={};for(let[c,d]of Object.entries(n.children)){let a=Wk(d);if(c===hr&&a.segments.length===0&&a.hasChildren())for(let[w,P]of Object.entries(a.children))r[w]=P;else(a.segments.length>0||a.hasChildren())&&(r[c]=a)}let i=new ei(n.segments,r);return SU(i)}function SU(n){if(n.numberOfChildren===1&&n.children[hr]){let r=n.children[hr];return new ei(n.segments.concat(r.segments),r.children)}return n}function Qp(n){return n instanceof Ec}function Zk(n,r,i=null,c=null){let d=Yk(n);return Xk(d,r,i,c)}function Yk(n){let r;function i(a){let w={};for(let k of a.children){let q=i(k);w[k.outlet]=q}let P=new ei(a.url,w);return a===n&&(r=P),P}let c=i(n.root),d=qk(c);return r??d}function Xk(n,r,i,c){let d=n;for(;d.parent;)d=d.parent;if(r.length===0)return BC(d,d,d,i,c);let a=EU(r);if(a.toRoot())return BC(d,d,new ei([],{}),i,c);let w=DU(a,d,n),P=w.processChildren?hy(w.segmentGroup,w.index,a.commands):Jk(w.segmentGroup,w.index,a.commands);return BC(d,w.segmentGroup,P,i,c)}function P0(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function my(n){return typeof n=="object"&&n!=null&&n.outlets}function BC(n,r,i,c,d){let a={};c&&Object.entries(c).forEach(([k,q])=>{a[k]=Array.isArray(q)?q.map(J=>`${J}`):`${q}`});let w;n===r?w=i:w=Kk(n,r,i);let P=qk(Wk(w));return new Ec(P,a,d)}function Kk(n,r,i){let c={};return Object.entries(n.children).forEach(([d,a])=>{a===r?c[d]=i:c[d]=Kk(a,r,i)}),new ei(n.segments,c)}var A0=class{isAbsolute;numberOfDoubleDots;commands;constructor(r,i,c){if(this.isAbsolute=r,this.numberOfDoubleDots=i,this.commands=c,r&&c.length>0&&P0(c[0]))throw new fn(4003,!1);let d=c.find(my);if(d&&d!==jk(c))throw new fn(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function EU(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new A0(!0,0,n);let r=0,i=!1,c=n.reduce((d,a,w)=>{if(typeof a=="object"&&a!=null){if(a.outlets){let P={};return Object.entries(a.outlets).forEach(([k,q])=>{P[k]=typeof q=="string"?q.split("/"):q}),[...d,{outlets:P}]}if(a.segmentPath)return[...d,a.segmentPath]}return typeof a!="string"?[...d,a]:w===0?(a.split("/").forEach((P,k)=>{k==0&&P==="."||(k==0&&P===""?i=!0:P===".."?r++:P!=""&&d.push(P))}),d):[...d,a]},[]);return new A0(i,r,c)}var Kp=class{segmentGroup;processChildren;index;constructor(r,i,c){this.segmentGroup=r,this.processChildren=i,this.index=c}};function DU(n,r,i){if(n.isAbsolute)return new Kp(r,!0,0);if(!i)return new Kp(r,!1,NaN);if(i.parent===null)return new Kp(i,!0,0);let c=P0(n.commands[0])?0:1,d=i.segments.length-1+c;return IU(i,d,n.numberOfDoubleDots)}function IU(n,r,i){let c=n,d=r,a=i;for(;a>d;){if(a-=d,c=c.parent,!c)throw new fn(4005,!1);d=c.segments.length}return new Kp(c,!1,d-a)}function TU(n){return my(n[0])?n[0].outlets:{[hr]:n}}function Jk(n,r,i){if(n??=new ei([],{}),n.segments.length===0&&n.hasChildren())return hy(n,r,i);let c=MU(n,r,i),d=i.slice(c.commandIndex);if(c.match&&c.pathIndex<n.segments.length){let a=new ei(n.segments.slice(0,c.pathIndex),{});return a.children[hr]=new ei(n.segments.slice(c.pathIndex),n.children),hy(a,0,d)}else return c.match&&d.length===0?new ei(n.segments,{}):c.match&&!n.hasChildren()?WC(n,r,i):c.match?hy(n,0,d):WC(n,r,i)}function hy(n,r,i){if(i.length===0)return new ei(n.segments,{});{let c=TU(i),d={};if(Object.keys(c).some(a=>a!==hr)&&n.children[hr]&&n.numberOfChildren===1&&n.children[hr].segments.length===0){let a=hy(n.children[hr],r,i);return new ei(n.segments,a.children)}return Object.entries(c).forEach(([a,w])=>{typeof w=="string"&&(w=[w]),w!==null&&(d[a]=Jk(n.children[a],r,w))}),Object.entries(n.children).forEach(([a,w])=>{c[a]===void 0&&(d[a]=w)}),new ei(n.segments,d)}}function MU(n,r,i){let c=0,d=r,a={match:!1,pathIndex:0,commandIndex:0};for(;d<n.segments.length;){if(c>=i.length)return a;let w=n.segments[d],P=i[c];if(my(P))break;let k=`${P}`,q=c<i.length-1?i[c+1]:null;if(d>0&&k===void 0)break;if(k&&q&&typeof q=="object"&&q.outlets===void 0){if(!Rk(k,q,w))return a;c+=2}else{if(!Rk(k,{},w))return a;c++}d++}return{match:!0,pathIndex:d,commandIndex:c}}function WC(n,r,i){let c=n.segments.slice(0,r),d=0;for(;d<i.length;){let a=i[d];if(my(a)){let k=PU(a.outlets);return new ei(c,k)}if(d===0&&P0(i[0])){let k=n.segments[r];c.push(new zd(k.path,kk(i[0]))),d++;continue}let w=my(a)?a.outlets[hr]:`${a}`,P=d<i.length-1?i[d+1]:null;w&&P&&P0(P)?(c.push(new zd(w,kk(P))),d+=2):(c.push(new zd(w,{})),d++)}return new ei(c,{})}function PU(n){let r={};return Object.entries(n).forEach(([i,c])=>{typeof c=="string"&&(c=[c]),c!==null&&(r[i]=WC(new ei([],{}),0,c))}),r}function kk(n){let r={};return Object.entries(n).forEach(([i,c])=>r[i]=`${c}`),r}function Rk(n,r,i){return n==i.path&&Cc(r,i.parameters)}var fy="imperative",bs=function(n){return n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped",n}(bs||{}),Va=class{id;url;constructor(r,i){this.id=r,this.url=i}},uf=class extends Va{type=bs.NavigationStart;navigationTrigger;restoredState;constructor(r,i,c="imperative",d=null){super(r,i),this.navigationTrigger=c,this.restoredState=d}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ou=class extends Va{urlAfterRedirects;type=bs.NavigationEnd;constructor(r,i,c){super(r,i),this.urlAfterRedirects=c}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},da=function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n[n.Aborted=4]="Aborted",n}(da||{}),gy=function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n}(gy||{}),Sc=class extends Va{reason;code;type=bs.NavigationCancel;constructor(r,i,c,d){super(r,i),this.reason=c,this.code=d}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Lu=class extends Va{reason;code;type=bs.NavigationSkipped;constructor(r,i,c,d){super(r,i),this.reason=c,this.code=d}},em=class extends Va{error;target;type=bs.NavigationError;constructor(r,i,c,d){super(r,i),this.error=c,this.target=d}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},yy=class extends Va{urlAfterRedirects;state;type=bs.RoutesRecognized;constructor(r,i,c,d){super(r,i),this.urlAfterRedirects=c,this.state=d}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},k0=class extends Va{urlAfterRedirects;state;type=bs.GuardsCheckStart;constructor(r,i,c,d){super(r,i),this.urlAfterRedirects=c,this.state=d}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},R0=class extends Va{urlAfterRedirects;state;shouldActivate;type=bs.GuardsCheckEnd;constructor(r,i,c,d,a){super(r,i),this.urlAfterRedirects=c,this.state=d,this.shouldActivate=a}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},O0=class extends Va{urlAfterRedirects;state;type=bs.ResolveStart;constructor(r,i,c,d){super(r,i),this.urlAfterRedirects=c,this.state=d}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},L0=class extends Va{urlAfterRedirects;state;type=bs.ResolveEnd;constructor(r,i,c,d){super(r,i),this.urlAfterRedirects=c,this.state=d}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},F0=class{route;type=bs.RouteConfigLoadStart;constructor(r){this.route=r}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},N0=class{route;type=bs.RouteConfigLoadEnd;constructor(r){this.route=r}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},z0=class{snapshot;type=bs.ChildActivationStart;constructor(r){this.snapshot=r}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},j0=class{snapshot;type=bs.ChildActivationEnd;constructor(r){this.snapshot=r}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},B0=class{snapshot;type=bs.ActivationStart;constructor(r){this.snapshot=r}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},V0=class{snapshot;type=bs.ActivationEnd;constructor(r){this.snapshot=r}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var vy=class{},tm=class{url;navigationBehaviorOptions;constructor(r,i){this.url=r,this.navigationBehaviorOptions=i}};function AU(n){return!(n instanceof vy)&&!(n instanceof tm)}function kU(n,r){return n.providers&&!n._injector&&(n._injector=Og(n.providers,r,`Route: ${n.path}`)),n._injector??r}function Vl(n){return n.outlet||hr}function RU(n,r){let i=n.filter(c=>Vl(c)===r);return i.push(...n.filter(c=>Vl(c)!==r)),i}function im(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let r=n.parent;r;r=r.parent){let i=r.routeConfig;if(i?._loadedInjector)return i._loadedInjector;if(i?._injector)return i._injector}return null}var U0=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return im(this.route?.snapshot)??this.rootInjector}constructor(r){this.rootInjector=r,this.children=new om(this.rootInjector)}},om=(()=>{class n{rootInjector;contexts=new Map;constructor(i){this.rootInjector=i}onChildOutletCreated(i,c){let d=this.getOrCreateContext(i);d.outlet=c,this.contexts.set(i,d)}onChildOutletDestroyed(i){let c=this.getContext(i);c&&(c.outlet=null,c.attachRef=null)}onOutletDeactivated(){let i=this.contexts;return this.contexts=new Map,i}onOutletReAttached(i){this.contexts=i}getOrCreateContext(i){let c=this.getContext(i);return c||(c=new U0(this.rootInjector),this.contexts.set(i,c)),c}getContext(i){return this.contexts.get(i)||null}static \u0275fac=function(c){return new(c||n)(rr(As))};static \u0275prov=Kt({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),$0=class{_root;constructor(r){this._root=r}get root(){return this._root.value}parent(r){let i=this.pathFromRoot(r);return i.length>1?i[i.length-2]:null}children(r){let i=ZC(r,this._root);return i?i.children.map(c=>c.value):[]}firstChild(r){let i=ZC(r,this._root);return i&&i.children.length>0?i.children[0].value:null}siblings(r){let i=YC(r,this._root);return i.length<2?[]:i[i.length-2].children.map(d=>d.value).filter(d=>d!==r)}pathFromRoot(r){return YC(r,this._root).map(i=>i.value)}};function ZC(n,r){if(n===r.value)return r;for(let i of r.children){let c=ZC(n,i);if(c)return c}return null}function YC(n,r){if(n===r.value)return[r];for(let i of r.children){let c=YC(n,i);if(c.length)return c.unshift(r),c}return[]}var Ba=class{value;children;constructor(r,i){this.value=r,this.children=i}toString(){return`TreeNode(${this.value})`}};function Xp(n){let r={};return n&&n.children.forEach(i=>r[i.value.outlet]=i),r}var _y=class extends $0{snapshot;constructor(r,i){super(r),this.snapshot=i,rS(this,r)}toString(){return this.snapshot.toString()}};function Qk(n){let r=OU(n),i=new _i([new zd("",{})]),c=new _i({}),d=new _i({}),a=new _i({}),w=new _i(""),P=new il(i,c,a,w,d,hr,n,r.root);return P.snapshot=r.root,new _y(new Ba(P,[]),r)}function OU(n){let r={},i={},c={},d="",a=new af([],r,c,d,i,hr,n,null,{});return new by("",new Ba(a,[]))}var il=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(r,i,c,d,a,w,P,k){this.urlSubject=r,this.paramsSubject=i,this.queryParamsSubject=c,this.fragmentSubject=d,this.dataSubject=a,this.outlet=w,this.component=P,this._futureSnapshot=k,this.title=this.dataSubject?.pipe(Hn(q=>q[Sy]))??jn(void 0),this.url=r,this.params=i,this.queryParams=c,this.fragment=d,this.data=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(Hn(r=>lf(r))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(Hn(r=>lf(r))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function G0(n,r,i="emptyOnly"){let c,{routeConfig:d}=n;return r!==null&&(i==="always"||d?.path===""||!r.component&&!r.routeConfig?.loadComponent)?c={params:Wt(Wt({},r.params),n.params),data:Wt(Wt({},r.data),n.data),resolve:Wt(Wt(Wt(Wt({},n.data),r.data),d?.data),n._resolvedData)}:c={params:Wt({},n.params),data:Wt({},n.data),resolve:Wt(Wt({},n.data),n._resolvedData??{})},d&&tR(d)&&(c.resolve[Sy]=d.title),c}var af=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Sy]}constructor(r,i,c,d,a,w,P,k,q){this.url=r,this.params=i,this.queryParams=c,this.fragment=d,this.data=a,this.outlet=w,this.component=P,this.routeConfig=k,this._resolve=q}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=lf(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=lf(this.queryParams),this._queryParamMap}toString(){let r=this.url.map(c=>c.toString()).join("/"),i=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${r}', path:'${i}')`}},by=class extends $0{url;constructor(r,i){super(i),this.url=r,rS(this,i)}toString(){return eR(this._root)}};function rS(n,r){r.value._routerState=n,r.children.forEach(i=>rS(n,i))}function eR(n){let r=n.children.length>0?` { ${n.children.map(eR).join(", ")} } `:"";return`${n.value}${r}`}function VC(n){if(n.snapshot){let r=n.snapshot,i=n._futureSnapshot;n.snapshot=i,Cc(r.queryParams,i.queryParams)||n.queryParamsSubject.next(i.queryParams),r.fragment!==i.fragment&&n.fragmentSubject.next(i.fragment),Cc(r.params,i.params)||n.paramsSubject.next(i.params),aU(r.url,i.url)||n.urlSubject.next(i.url),Cc(r.data,i.data)||n.dataSubject.next(i.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function XC(n,r){let i=Cc(n.params,r.params)&&dU(n.url,r.url),c=!n.parent!=!r.parent;return i&&!c&&(!n.parent||XC(n.parent,r.parent))}function tR(n){return typeof n.title=="string"||n.title===null}var nR=new On(""),df=(()=>{class n{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=hr;activateEvents=new qs;deactivateEvents=new qs;attachEvents=new qs;detachEvents=new qs;routerOutletData=Nr(void 0);parentContexts=Ve(om);location=Ve(Qh);changeDetector=Ve(n0);inputBinder=Ve(Z0,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(i){if(i.name){let{firstChange:c,previousValue:d}=i.name;if(c)return;this.isTrackedInParentContexts(d)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(d)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(i){return this.parentContexts.getContext(i)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let i=this.parentContexts.getContext(this.name);i?.route&&(i.attachRef?this.attach(i.attachRef,i.route):this.activateWith(i.route,i.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new fn(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new fn(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new fn(4012,!1);this.location.detach();let i=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(i.instance),i}attach(i,c){this.activated=i,this._activatedRoute=c,this.location.insert(i.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(i.instance)}deactivate(){if(this.activated){let i=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(i)}}activateWith(i,c){if(this.isActivated)throw new fn(4013,!1);this._activatedRoute=i;let d=this.location,w=i.snapshot.component,P=this.parentContexts.getOrCreateContext(this.name).children,k=new KC(i,P,d.injector,this.routerOutletData);this.activated=d.createComponent(w,{index:d.length,injector:k,environmentInjector:c}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(c){return new(c||n)};static \u0275dir=ef({type:n,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Tg]})}return n})(),KC=class{route;childContexts;parent;outletData;constructor(r,i,c,d){this.route=r,this.childContexts=i,this.parent=c,this.outletData=d}get(r,i){return r===il?this.route:r===om?this.childContexts:r===nR?this.outletData:this.parent.get(r,i)}},Z0=new On("");var iS=(()=>{class n{static \u0275fac=function(c){return new(c||n)};static \u0275cmp=In({type:n,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(c,d){c&1&&$t(0,"router-outlet")},dependencies:[df],encapsulation:2})}return n})();function oS(n){let r=n.children&&n.children.map(oS),i=r?Sr(Wt({},n),{children:r}):Wt({},n);return!i.component&&!i.loadComponent&&(r||i.loadChildren)&&i.outlet&&i.outlet!==hr&&(i.component=iS),i}function LU(n,r,i){let c=wy(n,r._root,i?i._root:void 0);return new _y(c,r)}function wy(n,r,i){if(i&&n.shouldReuseRoute(r.value,i.value.snapshot)){let c=i.value;c._futureSnapshot=r.value;let d=FU(n,r,i);return new Ba(c,d)}else{if(n.shouldAttach(r.value)){let a=n.retrieve(r.value);if(a!==null){let w=a.route;return w.value._futureSnapshot=r.value,w.children=r.children.map(P=>wy(n,P)),w}}let c=NU(r.value),d=r.children.map(a=>wy(n,a));return new Ba(c,d)}}function FU(n,r,i){return r.children.map(c=>{for(let d of i.children)if(n.shouldReuseRoute(c.value,d.value.snapshot))return wy(n,c,d);return wy(n,c)})}function NU(n){return new il(new _i(n.url),new _i(n.params),new _i(n.queryParams),new _i(n.fragment),new _i(n.data),n.outlet,n.component,n)}var nm=class{redirectTo;navigationBehaviorOptions;constructor(r,i){this.redirectTo=r,this.navigationBehaviorOptions=i}},rR="ngNavigationCancelingError";function H0(n,r){let{redirectTo:i,navigationBehaviorOptions:c}=Qp(r)?{redirectTo:r,navigationBehaviorOptions:void 0}:r,d=iR(!1,da.Redirect);return d.url=i,d.navigationBehaviorOptions=c,d}function iR(n,r){let i=new Error(`NavigationCancelingError: ${n||""}`);return i[rR]=!0,i.cancellationCode=r,i}function zU(n){return oR(n)&&Qp(n.url)}function oR(n){return!!n&&n[rR]}var jU=(n,r,i,c)=>Hn(d=>(new JC(r,d.targetRouterState,d.currentRouterState,i,c).activate(n),d)),JC=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(r,i,c,d,a){this.routeReuseStrategy=r,this.futureState=i,this.currState=c,this.forwardEvent=d,this.inputBindingEnabled=a}activate(r){let i=this.futureState._root,c=this.currState?this.currState._root:null;this.deactivateChildRoutes(i,c,r),VC(this.futureState.root),this.activateChildRoutes(i,c,r)}deactivateChildRoutes(r,i,c){let d=Xp(i);r.children.forEach(a=>{let w=a.value.outlet;this.deactivateRoutes(a,d[w],c),delete d[w]}),Object.values(d).forEach(a=>{this.deactivateRouteAndItsChildren(a,c)})}deactivateRoutes(r,i,c){let d=r.value,a=i?i.value:null;if(d===a)if(d.component){let w=c.getContext(d.outlet);w&&this.deactivateChildRoutes(r,i,w.children)}else this.deactivateChildRoutes(r,i,c);else a&&this.deactivateRouteAndItsChildren(i,c)}deactivateRouteAndItsChildren(r,i){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,i):this.deactivateRouteAndOutlet(r,i)}detachAndStoreRouteSubtree(r,i){let c=i.getContext(r.value.outlet),d=c&&r.value.component?c.children:i,a=Xp(r);for(let w of Object.values(a))this.deactivateRouteAndItsChildren(w,d);if(c&&c.outlet){let w=c.outlet.detach(),P=c.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:w,route:r,contexts:P})}}deactivateRouteAndOutlet(r,i){let c=i.getContext(r.value.outlet),d=c&&r.value.component?c.children:i,a=Xp(r);for(let w of Object.values(a))this.deactivateRouteAndItsChildren(w,d);c&&(c.outlet&&(c.outlet.deactivate(),c.children.onOutletDeactivated()),c.attachRef=null,c.route=null)}activateChildRoutes(r,i,c){let d=Xp(i);r.children.forEach(a=>{this.activateRoutes(a,d[a.value.outlet],c),this.forwardEvent(new V0(a.value.snapshot))}),r.children.length&&this.forwardEvent(new j0(r.value.snapshot))}activateRoutes(r,i,c){let d=r.value,a=i?i.value:null;if(VC(d),d===a)if(d.component){let w=c.getOrCreateContext(d.outlet);this.activateChildRoutes(r,i,w.children)}else this.activateChildRoutes(r,i,c);else if(d.component){let w=c.getOrCreateContext(d.outlet);if(this.routeReuseStrategy.shouldAttach(d.snapshot)){let P=this.routeReuseStrategy.retrieve(d.snapshot);this.routeReuseStrategy.store(d.snapshot,null),w.children.onOutletReAttached(P.contexts),w.attachRef=P.componentRef,w.route=P.route.value,w.outlet&&w.outlet.attach(P.componentRef,P.route.value),VC(P.route.value),this.activateChildRoutes(r,null,w.children)}else w.attachRef=null,w.route=d,w.outlet&&w.outlet.activateWith(d,w.injector),this.activateChildRoutes(r,null,w.children)}else this.activateChildRoutes(r,null,c)}},q0=class{path;route;constructor(r){this.path=r,this.route=this.path[this.path.length-1]}},Jp=class{component;route;constructor(r,i){this.component=r,this.route=i}};function BU(n,r,i){let c=n._root,d=r?r._root:null;return dy(c,d,i,[c.value])}function VU(n){let r=n.routeConfig?n.routeConfig.canActivateChild:null;return!r||r.length===0?null:{node:n,guards:r}}function sm(n,r){let i=Symbol(),c=r.get(n,i);return c===i?typeof n=="function"&&!c2(n)?n:r.get(n):c}function dy(n,r,i,c,d={canDeactivateChecks:[],canActivateChecks:[]}){let a=Xp(r);return n.children.forEach(w=>{UU(w,a[w.value.outlet],i,c.concat([w.value]),d),delete a[w.value.outlet]}),Object.entries(a).forEach(([w,P])=>py(P,i.getContext(w),d)),d}function UU(n,r,i,c,d={canDeactivateChecks:[],canActivateChecks:[]}){let a=n.value,w=r?r.value:null,P=i?i.getContext(n.value.outlet):null;if(w&&a.routeConfig===w.routeConfig){let k=$U(w,a,a.routeConfig.runGuardsAndResolvers);k?d.canActivateChecks.push(new q0(c)):(a.data=w.data,a._resolvedData=w._resolvedData),a.component?dy(n,r,P?P.children:null,c,d):dy(n,r,i,c,d),k&&P&&P.outlet&&P.outlet.isActivated&&d.canDeactivateChecks.push(new Jp(P.outlet.component,w))}else w&&py(r,P,d),d.canActivateChecks.push(new q0(c)),a.component?dy(n,null,P?P.children:null,c,d):dy(n,null,i,c,d);return d}function $U(n,r,i){if(typeof i=="function")return i(n,r);switch(i){case"pathParamsChange":return!sf(n.url,r.url);case"pathParamsOrQueryParamsChange":return!sf(n.url,r.url)||!Cc(n.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!XC(n,r)||!Cc(n.queryParams,r.queryParams);case"paramsChange":default:return!XC(n,r)}}function py(n,r,i){let c=Xp(n),d=n.value;Object.entries(c).forEach(([a,w])=>{d.component?r?py(w,r.children.getContext(a),i):py(w,null,i):py(w,r,i)}),d.component?r&&r.outlet&&r.outlet.isActivated?i.canDeactivateChecks.push(new Jp(r.outlet.component,d)):i.canDeactivateChecks.push(new Jp(null,d)):i.canDeactivateChecks.push(new Jp(null,d))}function Dy(n){return typeof n=="function"}function GU(n){return typeof n=="boolean"}function HU(n){return n&&Dy(n.canLoad)}function qU(n){return n&&Dy(n.canActivate)}function WU(n){return n&&Dy(n.canActivateChild)}function ZU(n){return n&&Dy(n.canDeactivate)}function YU(n){return n&&Dy(n.canMatch)}function sR(n){return n instanceof pu||n?.name==="EmptyError"}var D0=Symbol("INITIAL_VALUE");function rm(){return To(n=>Ka(n.map(r=>r.pipe(ra(1),Yb(D0)))).pipe(Hn(r=>{for(let i of r)if(i!==!0){if(i===D0)return D0;if(i===!1||XU(i))return i}return!0}),vo(r=>r!==D0),ra(1)))}function XU(n){return Qp(n)||n instanceof nm}function KU(n,r){return es(i=>{let{targetSnapshot:c,currentSnapshot:d,guards:{canActivateChecks:a,canDeactivateChecks:w}}=i;return w.length===0&&a.length===0?jn(Sr(Wt({},i),{guardsResult:!0})):JU(w,c,d,n).pipe(es(P=>P&&GU(P)?QU(c,a,n,r):jn(P)),Hn(P=>Sr(Wt({},i),{guardsResult:P})))})}function JU(n,r,i,c){return Pi(n).pipe(es(d=>i$(d.component,d.route,i,r,c)),mu(d=>d!==!0,!0))}function QU(n,r,i,c){return Pi(r).pipe(bp(d=>_p(t$(d.route.parent,c),e$(d.route,c),r$(n,d.path,i),n$(n,d.route,i))),mu(d=>d!==!0,!0))}function e$(n,r){return n!==null&&r&&r(new B0(n)),jn(!0)}function t$(n,r){return n!==null&&r&&r(new z0(n)),jn(!0)}function n$(n,r,i){let c=r.routeConfig?r.routeConfig.canActivate:null;if(!c||c.length===0)return jn(!0);let d=c.map(a=>Jm(()=>{let w=im(r)??i,P=sm(a,w),k=qU(P)?P.canActivate(r,n):oa(w,()=>P(r,n));return Fu(k).pipe(mu())}));return jn(d).pipe(rm())}function r$(n,r,i){let c=r[r.length-1],a=r.slice(0,r.length-1).reverse().map(w=>VU(w)).filter(w=>w!==null).map(w=>Jm(()=>{let P=w.guards.map(k=>{let q=im(w.node)??i,J=sm(k,q),Z=WU(J)?J.canActivateChild(c,n):oa(q,()=>J(c,n));return Fu(Z).pipe(mu())});return jn(P).pipe(rm())}));return jn(a).pipe(rm())}function i$(n,r,i,c,d){let a=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!a||a.length===0)return jn(!0);let w=a.map(P=>{let k=im(r)??d,q=sm(P,k),J=ZU(q)?q.canDeactivate(n,r,i,c):oa(k,()=>q(n,r,i,c));return Fu(J).pipe(mu())});return jn(w).pipe(rm())}function o$(n,r,i,c){let d=r.canLoad;if(d===void 0||d.length===0)return jn(!0);let a=d.map(w=>{let P=sm(w,n),k=HU(P)?P.canLoad(r,i):oa(n,()=>P(r,i));return Fu(k)});return jn(a).pipe(rm(),aR(c))}function aR(n){return Fb(Mo(r=>{if(typeof r!="boolean")throw H0(n,r)}),Hn(r=>r===!0))}function s$(n,r,i,c){let d=r.canMatch;if(!d||d.length===0)return jn(!0);let a=d.map(w=>{let P=sm(w,n),k=YU(P)?P.canMatch(r,i):oa(n,()=>P(r,i));return Fu(k)});return jn(a).pipe(rm(),aR(c))}var xy=class{segmentGroup;constructor(r){this.segmentGroup=r||null}},Cy=class extends Error{urlTree;constructor(r){super(),this.urlTree=r}};function Yp(n){return vp(new xy(n))}function a$(n){return vp(new fn(4e3,!1))}function l$(n){return vp(iR(!1,da.GuardRejected))}var QC=class{urlSerializer;urlTree;constructor(r,i){this.urlSerializer=r,this.urlTree=i}lineralizeSegments(r,i){let c=[],d=i.root;for(;;){if(c=c.concat(d.segments),d.numberOfChildren===0)return jn(c);if(d.numberOfChildren>1||!d.children[hr])return a$(`${r.redirectTo}`);d=d.children[hr]}}applyRedirectCommands(r,i,c,d,a){return c$(i,d,a).pipe(Hn(w=>{if(w instanceof Ec)throw new Cy(w);let P=this.applyRedirectCreateUrlTree(w,this.urlSerializer.parse(w),r,c);if(w[0]==="/")throw new Cy(P);return P}))}applyRedirectCreateUrlTree(r,i,c,d){let a=this.createSegmentGroup(r,i.root,c,d);return new Ec(a,this.createQueryParams(i.queryParams,this.urlTree.queryParams),i.fragment)}createQueryParams(r,i){let c={};return Object.entries(r).forEach(([d,a])=>{if(typeof a=="string"&&a[0]===":"){let P=a.substring(1);c[d]=i[P]}else c[d]=a}),c}createSegmentGroup(r,i,c,d){let a=this.createSegments(r,i.segments,c,d),w={};return Object.entries(i.children).forEach(([P,k])=>{w[P]=this.createSegmentGroup(r,k,c,d)}),new ei(a,w)}createSegments(r,i,c,d){return i.map(a=>a.path[0]===":"?this.findPosParam(r,a,d):this.findOrReturn(a,c))}findPosParam(r,i,c){let d=c[i.path.substring(1)];if(!d)throw new fn(4001,!1);return d}findOrReturn(r,i){let c=0;for(let d of i){if(d.path===r.path)return i.splice(c),d;c++}return r}};function c$(n,r,i){if(typeof n=="string")return jn(n);let c=n,{queryParams:d,fragment:a,routeConfig:w,url:P,outlet:k,params:q,data:J,title:Z}=r;return Fu(oa(i,()=>c({params:q,data:J,queryParams:d,fragment:a,routeConfig:w,url:P,outlet:k,title:Z})))}var eS={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function u$(n,r,i,c,d){let a=lR(n,r,i);return a.matched?(c=kU(r,c),s$(c,r,i,d).pipe(Hn(w=>w===!0?a:Wt({},eS)))):jn(a)}function lR(n,r,i){if(r.path==="**")return d$(i);if(r.path==="")return r.pathMatch==="full"&&(n.hasChildren()||i.length>0)?Wt({},eS):{matched:!0,consumedSegments:[],remainingSegments:i,parameters:{},positionalParamSegments:{}};let d=(r.matcher||Nk)(i,n,r);if(!d)return Wt({},eS);let a={};Object.entries(d.posParams??{}).forEach(([P,k])=>{a[P]=k.path});let w=d.consumed.length>0?Wt(Wt({},a),d.consumed[d.consumed.length-1].parameters):a;return{matched:!0,consumedSegments:d.consumed,remainingSegments:i.slice(d.consumed.length),parameters:w,positionalParamSegments:d.posParams??{}}}function d$(n){return{matched:!0,parameters:n.length>0?jk(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function Ok(n,r,i,c){return i.length>0&&p$(n,i,c)?{segmentGroup:new ei(r,f$(c,new ei(i,n.children))),slicedSegments:[]}:i.length===0&&m$(n,i,c)?{segmentGroup:new ei(n.segments,h$(n,i,c,n.children)),slicedSegments:i}:{segmentGroup:new ei(n.segments,n.children),slicedSegments:i}}function h$(n,r,i,c){let d={};for(let a of i)if(Y0(n,r,a)&&!c[Vl(a)]){let w=new ei([],{});d[Vl(a)]=w}return Wt(Wt({},c),d)}function f$(n,r){let i={};i[hr]=r;for(let c of n)if(c.path===""&&Vl(c)!==hr){let d=new ei([],{});i[Vl(c)]=d}return i}function p$(n,r,i){return i.some(c=>Y0(n,r,c)&&Vl(c)!==hr)}function m$(n,r,i){return i.some(c=>Y0(n,r,c))}function Y0(n,r,i){return(n.hasChildren()||r.length>0)&&i.pathMatch==="full"?!1:i.path===""}function g$(n,r,i){return r.length===0&&!n.children[i]}var tS=class{};function y$(n,r,i,c,d,a,w="emptyOnly"){return new nS(n,r,i,c,d,w,a).recognize()}var v$=31,nS=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(r,i,c,d,a,w,P){this.injector=r,this.configLoader=i,this.rootComponentType=c,this.config=d,this.urlTree=a,this.paramsInheritanceStrategy=w,this.urlSerializer=P,this.applyRedirects=new QC(this.urlSerializer,this.urlTree)}noMatchError(r){return new fn(4002,`'${r.segmentGroup}'`)}recognize(){let r=Ok(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(r).pipe(Hn(({children:i,rootSnapshot:c})=>{let d=new Ba(c,i),a=new by("",d),w=Zk(c,[],this.urlTree.queryParams,this.urlTree.fragment);return w.queryParams=this.urlTree.queryParams,a.url=this.urlSerializer.serialize(w),{state:a,tree:w}}))}match(r){let i=new af([],Object.freeze({}),Object.freeze(Wt({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),hr,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,r,hr,i).pipe(Hn(c=>({children:c,rootSnapshot:i})),gd(c=>{if(c instanceof Cy)return this.urlTree=c.urlTree,this.match(c.urlTree.root);throw c instanceof xy?this.noMatchError(c):c}))}processSegmentGroup(r,i,c,d,a){return c.segments.length===0&&c.hasChildren()?this.processChildren(r,i,c,a):this.processSegment(r,i,c,c.segments,d,!0,a).pipe(Hn(w=>w instanceof Ba?[w]:[]))}processChildren(r,i,c,d){let a=[];for(let w of Object.keys(c.children))w==="primary"?a.unshift(w):a.push(w);return Pi(a).pipe(bp(w=>{let P=c.children[w],k=RU(i,w);return this.processSegmentGroup(r,k,P,w,d)}),qb((w,P)=>(w.push(...P),w)),yd(null),Hb(),es(w=>{if(w===null)return Yp(c);let P=cR(w);return _$(P),jn(P)}))}processSegment(r,i,c,d,a,w,P){return Pi(i).pipe(bp(k=>this.processSegmentAgainstRoute(k._injector??r,i,k,c,d,a,w,P).pipe(gd(q=>{if(q instanceof xy)return jn(null);throw q}))),mu(k=>!!k),gd(k=>{if(sR(k))return g$(c,d,a)?jn(new tS):Yp(c);throw k}))}processSegmentAgainstRoute(r,i,c,d,a,w,P,k){return Vl(c)!==w&&(w===hr||!Y0(d,a,c))?Yp(d):c.redirectTo===void 0?this.matchSegmentAgainstRoute(r,d,c,a,w,k):this.allowRedirects&&P?this.expandSegmentAgainstRouteUsingRedirect(r,d,i,c,a,w,k):Yp(d)}expandSegmentAgainstRouteUsingRedirect(r,i,c,d,a,w,P){let{matched:k,parameters:q,consumedSegments:J,positionalParamSegments:Z,remainingSegments:Q}=lR(i,d,a);if(!k)return Yp(i);typeof d.redirectTo=="string"&&d.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>v$&&(this.allowRedirects=!1));let X=new af(a,q,Object.freeze(Wt({},this.urlTree.queryParams)),this.urlTree.fragment,Lk(d),Vl(d),d.component??d._loadedComponent??null,d,Fk(d)),V=G0(X,P,this.paramsInheritanceStrategy);return X.params=Object.freeze(V.params),X.data=Object.freeze(V.data),this.applyRedirects.applyRedirectCommands(J,d.redirectTo,Z,X,r).pipe(To(ce=>this.applyRedirects.lineralizeSegments(d,ce)),es(ce=>this.processSegment(r,c,i,ce.concat(Q),w,!1,P)))}matchSegmentAgainstRoute(r,i,c,d,a,w){let P=u$(i,c,d,r,this.urlSerializer);return c.path==="**"&&(i.children={}),P.pipe(To(k=>k.matched?(r=c._injector??r,this.getChildConfig(r,c,d).pipe(To(({routes:q})=>{let J=c._loadedInjector??r,{parameters:Z,consumedSegments:Q,remainingSegments:X}=k,V=new af(Q,Z,Object.freeze(Wt({},this.urlTree.queryParams)),this.urlTree.fragment,Lk(c),Vl(c),c.component??c._loadedComponent??null,c,Fk(c)),ne=G0(V,w,this.paramsInheritanceStrategy);V.params=Object.freeze(ne.params),V.data=Object.freeze(ne.data);let{segmentGroup:ce,slicedSegments:j}=Ok(i,Q,X,q);if(j.length===0&&ce.hasChildren())return this.processChildren(J,q,ce,V).pipe(Hn(Ce=>new Ba(V,Ce)));if(q.length===0&&j.length===0)return jn(new Ba(V,[]));let ae=Vl(c)===a;return this.processSegment(J,q,ce,j,ae?hr:a,!0,V).pipe(Hn(Ce=>new Ba(V,Ce instanceof Ba?[Ce]:[])))}))):Yp(i)))}getChildConfig(r,i,c){return i.children?jn({routes:i.children,injector:r}):i.loadChildren?i._loadedRoutes!==void 0?jn({routes:i._loadedRoutes,injector:i._loadedInjector}):o$(r,i,c,this.urlSerializer).pipe(es(d=>d?this.configLoader.loadChildren(r,i).pipe(Mo(a=>{i._loadedRoutes=a.routes,i._loadedInjector=a.injector})):l$(i))):jn({routes:[],injector:r})}};function _$(n){n.sort((r,i)=>r.value.outlet===hr?-1:i.value.outlet===hr?1:r.value.outlet.localeCompare(i.value.outlet))}function b$(n){let r=n.value.routeConfig;return r&&r.path===""}function cR(n){let r=[],i=new Set;for(let c of n){if(!b$(c)){r.push(c);continue}let d=r.find(a=>c.value.routeConfig===a.value.routeConfig);d!==void 0?(d.children.push(...c.children),i.add(d)):r.push(c)}for(let c of i){let d=cR(c.children);r.push(new Ba(c.value,d))}return r.filter(c=>!i.has(c))}function Lk(n){return n.data||{}}function Fk(n){return n.resolve||{}}function w$(n,r,i,c,d,a){return es(w=>y$(n,r,i,c,w.extractedUrl,d,a).pipe(Hn(({state:P,tree:k})=>Sr(Wt({},w),{targetSnapshot:P,urlAfterRedirects:k}))))}function x$(n,r){return es(i=>{let{targetSnapshot:c,guards:{canActivateChecks:d}}=i;if(!d.length)return jn(i);let a=new Set(d.map(k=>k.route)),w=new Set;for(let k of a)if(!w.has(k))for(let q of uR(k))w.add(q);let P=0;return Pi(w).pipe(bp(k=>a.has(k)?C$(k,c,n,r):(k.data=G0(k,k.parent,n).resolve,jn(void 0))),Mo(()=>P++),wp(1),es(k=>P===w.size?jn(i):Hs))})}function uR(n){let r=n.children.map(i=>uR(i)).flat();return[n,...r]}function C$(n,r,i,c){let d=n.routeConfig,a=n._resolve;return d?.title!==void 0&&!tR(d)&&(a[Sy]=d.title),Jm(()=>(n.data=G0(n,n.parent,i).resolve,S$(a,n,r,c).pipe(Hn(w=>(n._resolvedData=w,n.data=Wt(Wt({},n.data),w),null)))))}function S$(n,r,i,c){let d=GC(n);if(d.length===0)return jn({});let a={};return Pi(d).pipe(es(w=>E$(n[w],r,i,c).pipe(mu(),Mo(P=>{if(P instanceof nm)throw H0(new cf,P);a[w]=P}))),wp(1),Hn(()=>a),gd(w=>sR(w)?Hs:vp(w)))}function E$(n,r,i,c){let d=im(r)??c,a=sm(n,d),w=a.resolve?a.resolve(r,i):oa(d,()=>a(r,i));return Fu(w)}function UC(n){return To(r=>{let i=n(r);return i?Pi(i).pipe(Hn(()=>r)):jn(r)})}var sS=(()=>{class n{buildTitle(i){let c,d=i.root;for(;d!==void 0;)c=this.getResolvedTitleForRoute(d)??c,d=d.children.find(a=>a.outlet===hr);return c}getResolvedTitleForRoute(i){return i.data[Sy]}static \u0275fac=function(c){return new(c||n)};static \u0275prov=Kt({token:n,factory:()=>Ve(dR),providedIn:"root"})}return n})(),dR=(()=>{class n extends sS{title;constructor(i){super(),this.title=i}updateTitle(i){let c=this.buildTitle(i);c!==void 0&&this.title.setTitle(c)}static \u0275fac=function(c){return new(c||n)(rr(aP))};static \u0275prov=Kt({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Iy=new On("",{providedIn:"root",factory:()=>({})}),Ty=new On(""),hR=(()=>{class n{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=Ve(Ex);loadComponent(i,c){if(this.componentLoaders.get(c))return this.componentLoaders.get(c);if(c._loadedComponent)return jn(c._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(c);let d=Fu(oa(i,()=>c.loadComponent())).pipe(Hn(pR),To(mR),Mo(w=>{this.onLoadEndListener&&this.onLoadEndListener(c),c._loadedComponent=w}),Qm(()=>{this.componentLoaders.delete(c)})),a=new gp(d,()=>new Lr).pipe(mp());return this.componentLoaders.set(c,a),a}loadChildren(i,c){if(this.childrenLoaders.get(c))return this.childrenLoaders.get(c);if(c._loadedRoutes)return jn({routes:c._loadedRoutes,injector:c._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(c);let a=fR(c,this.compiler,i,this.onLoadEndListener).pipe(Qm(()=>{this.childrenLoaders.delete(c)})),w=new gp(a,()=>new Lr).pipe(mp());return this.childrenLoaders.set(c,w),w}static \u0275fac=function(c){return new(c||n)};static \u0275prov=Kt({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function fR(n,r,i,c){return Fu(oa(i,()=>n.loadChildren())).pipe(Hn(pR),To(mR),es(d=>d instanceof H_||Array.isArray(d)?jn(d):Pi(r.compileModuleAsync(d))),Hn(d=>{c&&c(n);let a,w,P=!1;return Array.isArray(d)?(w=d,P=!0):(a=d.create(i).injector,w=a.get(Ty,[],{optional:!0,self:!0}).flat()),{routes:w.map(oS),injector:a}}))}function D$(n){return n&&typeof n=="object"&&"default"in n}function pR(n){return D$(n)?n.default:n}function mR(n){return jn(n)}var X0=(()=>{class n{static \u0275fac=function(c){return new(c||n)};static \u0275prov=Kt({token:n,factory:()=>Ve(I$),providedIn:"root"})}return n})(),I$=(()=>{class n{shouldProcessUrl(i){return!0}extract(i){return i}merge(i,c){return i}static \u0275fac=function(c){return new(c||n)};static \u0275prov=Kt({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),gR=new On("");var yR=new On(""),vR=(()=>{class n{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new Lr;transitionAbortWithErrorSubject=new Lr;configLoader=Ve(hR);environmentInjector=Ve(As);destroyRef=Ve(la);urlSerializer=Ve(Ey);rootContexts=Ve(om);location=Ve($p);inputBindingEnabled=Ve(Z0,{optional:!0})!==null;titleStrategy=Ve(sS);options=Ve(Iy,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=Ve(X0);createViewTransition=Ve(gR,{optional:!0});navigationErrorHandler=Ve(yR,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>jn(void 0);rootComponentType=null;destroyed=!1;constructor(){let i=d=>this.events.next(new F0(d)),c=d=>this.events.next(new N0(d));this.configLoader.onLoadEndListener=c,this.configLoader.onLoadStartListener=i,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(i){let c=++this.navigationId;this.transitions?.next(Sr(Wt({},i),{extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:c}))}setupNavigations(i){return this.transitions=new _i(null),this.transitions.pipe(vo(c=>c!==null),To(c=>{let d=!1;return jn(c).pipe(To(a=>{if(this.navigationId>c.id)return this.cancelNavigationTransition(c,"",da.SupersededByNewNavigation),Hs;this.currentTransition=c,this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?Sr(Wt({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>a.abortController.abort()};let w=!i.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),P=a.extras.onSameUrlNavigation??i.onSameUrlNavigation;if(!w&&P!=="reload"){let k="";return this.events.next(new Lu(a.id,this.urlSerializer.serialize(a.rawUrl),k,gy.IgnoredSameUrlNavigation)),a.resolve(!1),Hs}if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return jn(a).pipe(To(k=>(this.events.next(new uf(k.id,this.urlSerializer.serialize(k.extractedUrl),k.source,k.restoredState)),k.id!==this.navigationId?Hs:Promise.resolve(k))),w$(this.environmentInjector,this.configLoader,this.rootComponentType,i.config,this.urlSerializer,this.paramsInheritanceStrategy),Mo(k=>{c.targetSnapshot=k.targetSnapshot,c.urlAfterRedirects=k.urlAfterRedirects,this.currentNavigation=Sr(Wt({},this.currentNavigation),{finalUrl:k.urlAfterRedirects});let q=new yy(k.id,this.urlSerializer.serialize(k.extractedUrl),this.urlSerializer.serialize(k.urlAfterRedirects),k.targetSnapshot);this.events.next(q)}));if(w&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:k,extractedUrl:q,source:J,restoredState:Z,extras:Q}=a,X=new uf(k,this.urlSerializer.serialize(q),J,Z);this.events.next(X);let V=Qk(this.rootComponentType).snapshot;return this.currentTransition=c=Sr(Wt({},a),{targetSnapshot:V,urlAfterRedirects:q,extras:Sr(Wt({},Q),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=q,jn(c)}else{let k="";return this.events.next(new Lu(a.id,this.urlSerializer.serialize(a.extractedUrl),k,gy.IgnoredByUrlHandlingStrategy)),a.resolve(!1),Hs}}),Mo(a=>{let w=new k0(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(w)}),Hn(a=>(this.currentTransition=c=Sr(Wt({},a),{guards:BU(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),c)),KU(this.environmentInjector,a=>this.events.next(a)),Mo(a=>{if(c.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw H0(this.urlSerializer,a.guardsResult);let w=new R0(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(w)}),vo(a=>a.guardsResult?!0:(this.cancelNavigationTransition(a,"",da.GuardRejected),!1)),UC(a=>{if(a.guards.canActivateChecks.length!==0)return jn(a).pipe(Mo(w=>{let P=new O0(w.id,this.urlSerializer.serialize(w.extractedUrl),this.urlSerializer.serialize(w.urlAfterRedirects),w.targetSnapshot);this.events.next(P)}),To(w=>{let P=!1;return jn(w).pipe(x$(this.paramsInheritanceStrategy,this.environmentInjector),Mo({next:()=>P=!0,complete:()=>{P||this.cancelNavigationTransition(w,"",da.NoDataFromResolver)}}))}),Mo(w=>{let P=new L0(w.id,this.urlSerializer.serialize(w.extractedUrl),this.urlSerializer.serialize(w.urlAfterRedirects),w.targetSnapshot);this.events.next(P)}))}),UC(a=>{let w=P=>{let k=[];if(P.routeConfig?.loadComponent&&!P.routeConfig._loadedComponent){let q=im(P)??this.environmentInjector;k.push(this.configLoader.loadComponent(q,P.routeConfig).pipe(Mo(J=>{P.component=J}),Hn(()=>{})))}for(let q of P.children)k.push(...w(q));return k};return Ka(w(a.targetSnapshot.root)).pipe(yd(null),ra(1))}),UC(()=>this.afterPreactivation()),To(()=>{let{currentSnapshot:a,targetSnapshot:w}=c,P=this.createViewTransition?.(this.environmentInjector,a.root,w.root);return P?Pi(P).pipe(Hn(()=>c)):jn(c)}),Hn(a=>{let w=LU(i.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=c=Sr(Wt({},a),{targetRouterState:w}),this.currentNavigation.targetRouterState=w,c}),Mo(()=>{this.events.next(new vy)}),jU(this.rootContexts,i.routeReuseStrategy,a=>this.events.next(a),this.inputBindingEnabled),ra(1),Ms(new kr(a=>{let w=c.abortController.signal,P=()=>a.next();return w.addEventListener("abort",P),()=>w.removeEventListener("abort",P)}).pipe(vo(()=>!d&&!c.targetRouterState),Mo(()=>{this.cancelNavigationTransition(c,c.abortController.signal.reason+"",da.Aborted)}))),Mo({next:a=>{d=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ou(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)},complete:()=>{d=!0}}),Ms(this.transitionAbortWithErrorSubject.pipe(Mo(a=>{throw a}))),Qm(()=>{d||this.cancelNavigationTransition(c,"",da.SupersededByNewNavigation),this.currentTransition?.id===c.id&&(this.currentNavigation=null,this.currentTransition=null)}),gd(a=>{if(this.destroyed)return c.resolve(!1),Hs;if(d=!0,oR(a))this.events.next(new Sc(c.id,this.urlSerializer.serialize(c.extractedUrl),a.message,a.cancellationCode)),zU(a)?this.events.next(new tm(a.url,a.navigationBehaviorOptions)):c.resolve(!1);else{let w=new em(c.id,this.urlSerializer.serialize(c.extractedUrl),a,c.targetSnapshot??void 0);try{let P=oa(this.environmentInjector,()=>this.navigationErrorHandler?.(w));if(P instanceof nm){let{message:k,cancellationCode:q}=H0(this.urlSerializer,P);this.events.next(new Sc(c.id,this.urlSerializer.serialize(c.extractedUrl),k,q)),this.events.next(new tm(P.redirectTo,P.navigationBehaviorOptions))}else throw this.events.next(w),a}catch(P){this.options.resolveNavigationPromiseOnError?c.resolve(!1):c.reject(P)}}return Hs}))}))}cancelNavigationTransition(i,c,d){let a=new Sc(i.id,this.urlSerializer.serialize(i.extractedUrl),c,d);this.events.next(a),i.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let i=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),c=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return i.toString()!==c?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(c){return new(c||n)};static \u0275prov=Kt({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function T$(n){return n!==fy}var _R=(()=>{class n{static \u0275fac=function(c){return new(c||n)};static \u0275prov=Kt({token:n,factory:()=>Ve(M$),providedIn:"root"})}return n})(),W0=class{shouldDetach(r){return!1}store(r,i){}shouldAttach(r){return!1}retrieve(r){return null}shouldReuseRoute(r,i){return r.routeConfig===i.routeConfig}},M$=(()=>{class n extends W0{static \u0275fac=(()=>{let i;return function(d){return(i||(i=zp(n)))(d||n)}})();static \u0275prov=Kt({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),bR=(()=>{class n{urlSerializer=Ve(Ey);options=Ve(Iy,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=Ve($p);urlHandlingStrategy=Ve(X0);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Ec;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:i,initialUrl:c,targetBrowserUrl:d}){let a=i!==void 0?this.urlHandlingStrategy.merge(i,c):c,w=d??a;return w instanceof Ec?this.urlSerializer.serialize(w):w}commitTransition({targetRouterState:i,finalUrl:c,initialUrl:d}){c&&i?(this.currentUrlTree=c,this.rawUrlTree=this.urlHandlingStrategy.merge(c,d),this.routerState=i):this.rawUrlTree=d}routerState=Qk(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:i}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,i??this.rawUrlTree)}static \u0275fac=function(c){return new(c||n)};static \u0275prov=Kt({token:n,factory:()=>Ve(P$),providedIn:"root"})}return n})(),P$=(()=>{class n extends bR{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(i){return this.location.subscribe(c=>{c.type==="popstate"&&setTimeout(()=>{i(c.url,c.state,"popstate")})})}handleRouterEvent(i,c){i instanceof uf?this.updateStateMemento():i instanceof Lu?this.commitTransition(c):i instanceof yy?this.urlUpdateStrategy==="eager"&&(c.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(c),c)):i instanceof vy?(this.commitTransition(c),this.urlUpdateStrategy==="deferred"&&!c.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(c),c)):i instanceof Sc&&i.code!==da.SupersededByNewNavigation&&i.code!==da.Redirect?this.restoreHistory(c):i instanceof em?this.restoreHistory(c,!0):i instanceof Ou&&(this.lastSuccessfulId=i.id,this.currentPageId=this.browserPageId)}setBrowserUrl(i,{extras:c,id:d}){let{replaceUrl:a,state:w}=c;if(this.location.isCurrentPathEqualTo(i)||a){let P=this.browserPageId,k=Wt(Wt({},w),this.generateNgRouterState(d,P));this.location.replaceState(i,"",k)}else{let P=Wt(Wt({},w),this.generateNgRouterState(d,this.browserPageId+1));this.location.go(i,"",P)}}restoreHistory(i,c=!1){if(this.canceledNavigationResolution==="computed"){let d=this.browserPageId,a=this.currentPageId-d;a!==0?this.location.historyGo(a):this.getCurrentUrlTree()===i.finalUrl&&a===0&&(this.resetInternalState(i),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(c&&this.resetInternalState(i),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(i,c){return this.canceledNavigationResolution==="computed"?{navigationId:i,\u0275routerPageId:c}:{navigationId:i}}static \u0275fac=(()=>{let i;return function(d){return(i||(i=zp(n)))(d||n)}})();static \u0275prov=Kt({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function aS(n,r){n.events.pipe(vo(i=>i instanceof Ou||i instanceof Sc||i instanceof em||i instanceof Lu),Hn(i=>i instanceof Ou||i instanceof Lu?0:(i instanceof Sc?i.code===da.Redirect||i.code===da.SupersededByNewNavigation:!1)?2:1),vo(i=>i!==2),ra(1)).subscribe(()=>{r()})}var A$={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},k$={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},jd=(()=>{class n{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=Ve(q_);stateManager=Ve(bR);options=Ve(Iy,{optional:!0})||{};pendingTasks=Ve(bu);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=Ve(vR);urlSerializer=Ve(Ey);location=Ve($p);urlHandlingStrategy=Ve(X0);injector=Ve(As);_events=new Lr;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=Ve(_R);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=Ve(Ty,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!Ve(Z0,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:i=>{this.console.warn(i)}}),this.subscribeToNavigationEvents()}eventsSubscription=new yo;subscribeToNavigationEvents(){let i=this.navigationTransitions.events.subscribe(c=>{try{let d=this.navigationTransitions.currentTransition,a=this.navigationTransitions.currentNavigation;if(d!==null&&a!==null){if(this.stateManager.handleRouterEvent(c,a),c instanceof Sc&&c.code!==da.Redirect&&c.code!==da.SupersededByNewNavigation)this.navigated=!0;else if(c instanceof Ou)this.navigated=!0;else if(c instanceof tm){let w=c.navigationBehaviorOptions,P=this.urlHandlingStrategy.merge(c.url,d.currentRawUrl),k=Wt({browserUrl:d.extras.browserUrl,info:d.extras.info,skipLocationChange:d.extras.skipLocationChange,replaceUrl:d.extras.replaceUrl||this.urlUpdateStrategy==="eager"||T$(d.source)},w);this.scheduleNavigation(P,fy,null,k,{resolve:d.resolve,reject:d.reject,promise:d.promise})}}AU(c)&&this._events.next(c)}catch(d){this.navigationTransitions.transitionAbortWithErrorSubject.next(d)}});this.eventsSubscription.add(i)}resetRootComponentType(i){this.routerState.root.component=i,this.navigationTransitions.rootComponentType=i}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),fy,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((i,c,d)=>{this.navigateToSyncWithBrowser(i,d,c)})}navigateToSyncWithBrowser(i,c,d){let a={replaceUrl:!0},w=d?.navigationId?d:null;if(d){let k=Wt({},d);delete k.navigationId,delete k.\u0275routerPageId,Object.keys(k).length!==0&&(a.state=k)}let P=this.parseUrl(i);this.scheduleNavigation(P,c,w,a).catch(k=>{this.disposed||this.injector.get(nl)(k)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(i){this.config=i.map(oS),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(i,c={}){let{relativeTo:d,queryParams:a,fragment:w,queryParamsHandling:P,preserveFragment:k}=c,q=k?this.currentUrlTree.fragment:w,J=null;switch(P??this.options.defaultQueryParamsHandling){case"merge":J=Wt(Wt({},this.currentUrlTree.queryParams),a);break;case"preserve":J=this.currentUrlTree.queryParams;break;default:J=a||null}J!==null&&(J=this.removeEmptyProps(J));let Z;try{let Q=d?d.snapshot:this.routerState.snapshot.root;Z=Yk(Q)}catch{(typeof i[0]!="string"||i[0][0]!=="/")&&(i=[]),Z=this.currentUrlTree.root}return Xk(Z,i,J,q??null)}navigateByUrl(i,c={skipLocationChange:!1}){let d=Qp(i)?i:this.parseUrl(i),a=this.urlHandlingStrategy.merge(d,this.rawUrlTree);return this.scheduleNavigation(a,fy,null,c)}navigate(i,c={skipLocationChange:!1}){return R$(i),this.navigateByUrl(this.createUrlTree(i,c),c)}serializeUrl(i){return this.urlSerializer.serialize(i)}parseUrl(i){try{return this.urlSerializer.parse(i)}catch{return this.urlSerializer.parse("/")}}isActive(i,c){let d;if(c===!0?d=Wt({},A$):c===!1?d=Wt({},k$):d=c,Qp(i))return Pk(this.currentUrlTree,i,d);let a=this.parseUrl(i);return Pk(this.currentUrlTree,a,d)}removeEmptyProps(i){return Object.entries(i).reduce((c,[d,a])=>(a!=null&&(c[d]=a),c),{})}scheduleNavigation(i,c,d,a,w){if(this.disposed)return Promise.resolve(!1);let P,k,q;w?(P=w.resolve,k=w.reject,q=w.promise):q=new Promise((Z,Q)=>{P=Z,k=Q});let J=this.pendingTasks.add();return aS(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(J))}),this.navigationTransitions.handleNavigationRequest({source:c,restoredState:d,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:i,extras:a,resolve:P,reject:k,promise:q,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),q.catch(Z=>Promise.reject(Z))}static \u0275fac=function(c){return new(c||n)};static \u0275prov=Kt({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function R$(n){for(let r=0;r<n.length;r++)if(n[r]==null)throw new fn(4008,!1)}var F$=new On("");function lS(n,...r){return xd([{provide:Ty,multi:!0,useValue:n},[],{provide:il,useFactory:N$,deps:[jd]},{provide:W_,multi:!0,useFactory:z$},r.map(i=>i.\u0275providers)])}function N$(n){return n.routerState.root}function z$(){let n=Ve(ys);return r=>{let i=n.get(Nl);if(r!==i.components[0])return;let c=n.get(jd),d=n.get(j$);n.get(B$)===1&&c.initialNavigation(),n.get(V$,null,{optional:!0})?.setUpPreloading(),n.get(F$,null,{optional:!0})?.init(),c.resetRootComponentType(i.componentTypes[0]),d.closed||(d.next(),d.complete(),d.unsubscribe())}}var j$=new On("",{factory:()=>new Lr}),B$=new On("",{providedIn:"root",factory:()=>1});var V$=new On("");var os=class n{logger=Ve(dr);router=Ve(jd);history=[["/"]];resetHistory(){this.history=[["/"]],this.router.navigate(["/"])}getCurrentPath(){return this.history.at(-1)?.join("")??"/"}navigateToHome(){this.router.navigate(["/"]),this.history.push(["/"])}navigateToListView(){this.router.navigate(["/list"]),this.history.push(["/list"])}navigateToSearchView(){this.router.navigate(["/search"]),this.history.push(["/search"])}navigateToProfile(r){this.router.navigate(["/profile",r]),this.history.push(["/profile",r])}navigateToRoute(r){this.router.navigate(["/route",r]),this.history.push(["/route",r])}goBack(){if(this.history.length>1){this.history.pop();let r=this.history.pop();if(!r){this.logger.log("No previous path found");return}this.router.navigate(r),this.history.push(r);return}this.logger.log("Only current path in history")}static \u0275fac=function(i){return new(i||n)};static \u0275prov=Kt({token:n,factory:n.\u0275fac})};function cS(n){return C0(n)}var $$={"Yoga Studio":["fak","beauty"],"Salon / Barbershop":["fak","services"],"Event Space":["fak","events"],"Comedy Club":["fak","events"],"Women's Store":["fak","shopping"],Gym:["fak","beauty"],Spa:["fak","beauty"],"Men's Store":["fak","shopping"],"Clothing Store":["fak","shopping"],"Shoe Store":["fak","shopping"],"Gift Shop":["fak","shopping"],Winery:["fak","food-and-beverage"],"Perfume Shop":["fak","shopping"],"Sporting Goods Shop":["fak","shopping"],"Jewelry Store":["fak","shopping"],"Flower Shop":["fak","shopping"],"Watch Shop":["fak","shopping"],"Health & Beauty Service":["fak","beauty"],"Furniture / Home Store":["fak","shopping"],"Optical Shop":["fak","beauty"],"Salad Place":["fak","food-and-beverage"],"Italian Restaurant":["fak","food-and-beverage"],Cafeteria:["fak","food-and-beverage"],Restaurant:["fak","food-and-beverage"],Caf\u00E9:["fak","food-and-beverage"],"American Restaurant":["fak","food-and-beverage"],"Fast Food Restaurant":["fak","food-and-beverage"],"Cocktail Bar":["fak","food-and-beverage"],Delicatessen:["fak","food-and-beverage"],"Japanese Restaurant":["fak","food-and-beverage"],"Middle Eastern Restaurant":["fak","food-and-beverage"],"Mediterranean Restaurant":["fak","food-and-beverage"],"Brazilian Restaurant":["fak","food-and-beverage"],Pub:["fak","food-and-beverage"],"Beer Bar":["fak","food-and-beverage"],Bar:["fak","food-and-beverage"],Lounge:["fak","food-and-beverage"],Nightclub:["fak","food-and-beverage"],"Chocolate Shop":["fak","food-and-beverage"],"Ice Cream Shop":["fak","food-and-beverage"],"Donut Shop":["fak","food-and-beverage"],"Coffee Shop":["fak","food-and-beverage"],"Grocery Store":["fak","shopping"],Pharmacy:["fak","health"],"Convenience Store":["fak","shopping"],"Dentist's Office":["fak","health"],Bank:["fak","services"],"Travel Agency":["fak","airport"],"Shipping Store":["fak","services"],"Mobile Phone Shop":["fak","shopping"],Parking:["fak","parking"],"Public Restrooms":["fak","user"],"Public Bathroom":["fak","user"],"Transport Service":["fak","user"],Hotel:["fak","hotels"],"Coming soon":["fak","user"],"Roller Rink":["fak","beauty"],"Music Venue":["fak","events"],"Football Shop":["fak","shopping"],Stage:["fak","events"],Tavern:["fak","food-and-beverage"],"Point of interest":["fak","user"],Entrance:["fak","user"],Exit:["fak","user"],"Music Festival":["fak","events"]};function K0(n){let r=$$[n];return r||["fak","shopping"]}var dS={};wD(dS,{faAirport:()=>G$,faArrowTopRight:()=>H$,faBackground:()=>uS,faBeauty:()=>q$,faCenter:()=>W$,faCompass:()=>Z$,faCompassNorth:()=>Y$,faDeals:()=>X$,faEvents:()=>K$,faFoodAndBeverage:()=>J$,faHealth:()=>Q$,faHotels:()=>eG,faParking:()=>tG,faRoute:()=>nG,faServices:()=>rG,faShopping:()=>iG,faUser:()=>oG});var G$={prefix:"fak",iconName:"airport",icon:[448,512,[],"e009","M431.4 140.8c-.2-.7-.6-1.3-1.1-1.9-14.7-18.5-41.3-23.7-61.9-11.8l-84.5 48.8-49.6-32.1 4.1-2.4c3.6-2 4.8-6.6 2.8-10.2s-6.6-4.8-10.2-2.8l-10.7 6.3-28-18.2 4.1-2.4c3.6-2 4.8-6.6 2.8-10.2s-6.6-4.8-10.2-2.8l-10.7 6.3-66.7-43.2-44.9 25.9 133.4 134.5-54.3 31.4c-10.7 6.1-27.7 21.2-41 36.2L33.3 254.2c-2.3-1.2-5.1-1.2-7.2 .1L4.2 266.9C2.3 268 1 270.1 .6 272.2s.4 4.5 1.9 6.1l65.4 70.9 28.8 92.1c.7 2.2 2.3 3.9 4.5 4.7 .8 .4 1.8 .5 2.8 .5 1.3 0 2.5-.4 3.7-1l21.9-12.6c2.3-1.3 3.6-3.6 3.7-6.1l2.9-80.6c19.7-4.1 41.3-11.3 51.9-17.5l54.3-31.4 49.8 182.7 44.9-25.9-4.1-79.3 10.7-6.3c3.6-2 4.8-6.6 2.8-10.2s-6.6-4.8-10.2-2.8l-4.1 2.4-1.7-33.5 10.7-6.3c3.6-2 4.8-6.6 2.8-10.2s-6.6-4.8-10.2-2.8l-4.1 2.4-3-59.1 84.5-48.7c20.6-11.8 29.4-37.4 20.7-59.5l-.4 .5z"]},H$={prefix:"fak",iconName:"arrow-top-right",icon:[427,512,[],"e010","M41 490.7l0-320 275.1 0-88.6-95.3 35.1-38 147.7 160-148.3 160.7-34.5-38 88.6-96-225.8 0 0 266.7-49.2 0z"]},uS={prefix:"fak",iconName:"background",icon:[388,512,[],"e00a","M387.9 193.9C387.9 86.9 301 0 193.9 0S0 86.9 0 193.9 84.7 385.6 190.1 387.7l0 67.8c-11.6 1.9-20.5 11.9-20.5 24 0 13.5 11 24.4 24.4 24.4s24.4-11 24.4-24.4c0-12.1-8.8-22.2-20.5-24l0-67.8c105.3-2 190.1-88 190.1-193.8zM210.5 479.4c0 9.2-7.4 16.6-16.6 16.6s-16.6-7.4-16.6-16.6 7.4-16.6 16.6-16.6 16.6 7.4 16.6 16.6z"]},q$={prefix:"fak",iconName:"beauty",icon:[576,512,[],"e000","M190.8 234.2c-21.8-10.6-45.1-16.3-66.9-18.6-.6-35.8 5.4-66.6 8.6-78.7 1-3.2 4.2-5.1 7.4-4.5 11.8 3.5 40 13.1 69.4 31.7-9 21.1-16 45.1-18.2 70.4l0 0zm176.6-70.4c29.1-18.6 57.6-28.2 69.4-31.7 3.2-.6 6.4 1 7.4 4.5 3.2 12.5 9.3 42.9 8.6 78.7-22.1 2.2-45.1 8-66.9 18.6-2.2-25.3-9-49-18.2-70.4l0 0zM260.9 417.6c-33.9 6.1-94.1 10.2-143.7-19.8-63-38.4-89-120-95-142.7-.6-3.2 1-6.7 4.2-7.7 21.8-5.8 101.1-23 163.8 14.4 5.1 71 49.6 131.2 70.4 155.5l0 0zM385.7 262.1c63-37.4 142.4-20.2 163.8-14.4 3.2 1 5.1 4.2 4.2 7.7-6.1 22.7-32 104.3-95 142.7-49.6 30.1-109.4 25.9-143.7 19.8 5.1-5.8 11.2-13.4 18.2-23 17.3-24 37.4-58.6 47-98.6 2.6-10.9 4.5-22.1 5.4-33.6l0 0zm-23.4-12.8c0 89.3-74.2 161.9-74.2 161.9s-74.2-72.6-74.2-161.9c0-76.8 54.4-140.8 70.1-157.8 2.2-2.2 6.1-2.2 8.3 0 15.7 17 70.1 81 70.1 157.8l0 0z"]},W$={prefix:"fak",iconName:"center",icon:[576,512,[],"e00f","M545.2 238.7l-50.9 0C486 138.2 406 57.9 305.5 49.9l0-50.9c0-9.6-8-17.3-17.3-17.3S271-10.6 271-1l0 50.9C170.5 58.2 90.5 138.2 82.2 238.7l-50.9 0c-9.6 0-17.3 8-17.3 17.3s7.7 17.3 17.3 17.3l50.9 0C90.5 373.4 170.5 454.1 271 462.1l0 50.9c0 9.6 8 17.3 17.3 17.3s17.3-7.7 17.3-17.3l0-50.9c100.2-8.3 180.8-88.6 188.8-188.8l50.9 0c9.6 0 17.3-7.7 17.3-17.3s-7.7-17.3-17.3-17.3zM459.1 256c0 5.8-.3 11.5-1 17.3-8 80.3-72.3 144.6-152.6 153-11.5 1.3-23 1.3-34.6 0-80.6-8.3-144.6-72.6-152.6-153l0 0c-.6-5.4-1-11.2-1-17.3s.3-11.5 1-17.3l0 0c8.3-80.6 72.3-144.6 152.6-152.6 11.5-1.3 23-1.3 34.6 0 80.3 8.3 144.6 72.3 152.6 152.6 .6 5.8 1 11.5 1 17.3zm-271.2 0a100.1 100.1 0 1 1 200.2 0 100.1 100.1 0 1 1 -200.2 0z"]},Z$={prefix:"fak",iconName:"compass",icon:[256,512,[],"e00d","M238.9 263.4l0 257.6-47 0-118.4-163.2 0 163.2-55.7 0 0-257.6 47 0 118.4 161.6 0-161.6 55.7 0zM26.8 203.5c-3.2 0-5.8-1.3-7.7-3.5-1.6-2.2-1.9-4.8-.6-7L119.9-4.2C121.2-7 124.7-9 128.2-9s7 1.9 8.3 4.8L238 193c1.6 3.2 .6 6.7-2.6 9s-7.7 2.2-10.9 .6l-96.3-53.4-96.3 53.4s-3.2 1.3-5.1 1.3l0 0z"]},Y$={prefix:"fak",iconName:"compass-north",icon:[382,512,[],"e00b","M202.8 6.9c-6.5-6.5-17-6.5-23.6 0L112.5 73.6c-4.8 4.8-6.2 11.9-3.6 18.2 2.6 6.2 8.7 10.4 15.4 10.4l133.4 0c6.7 0 12.9-4 15.4-10.4 2.6-6.2 1.2-13.3-3.6-18.2L202.8 6.9zM191 133a190.5 190.5 0 1 0 0 381 190.5 190.5 0 1 0 0-381zm38.9 278.1l-74.7-107.9 0 97.6c0 9.9-8 17.9-17.9 17.9s-17.9-8-17.9-17.9l0-154.7c0-7.9 5.1-14.8 12.5-17s15.6 .5 20 6.9l74.7 107.9 0-97.6c0-9.9 8-17.9 17.9-17.9s17.9 8 17.9 17.9l0 154.7c0 7.9-5 14.8-12.5 17-7.4 2.3-15.6-.5-20-6.9z"]},X$={prefix:"fak",iconName:"deals",icon:[512,512,[],"e007","M256 0a256 256 0 1 0 0 512 256 256 0 1 0 0-512zm0 30.1a225.9 225.9 0 1 1 0 451.8 225.9 225.9 0 1 1 0-451.8zM288 232l-10.2-2.2 0-66.9c19.5 6.1 30.7 23 36.8 41.6l46.7-18.6c-9.3-32-34.2-63.7-83.2-70.7l0-33.6-35.5 0 0 33.3c-53.4 5.8-81.3 41.6-81.3 80.6 0 51.5 30.1 73.3 73 81.3l8 1.6 0 72.3c-26.9-7.4-40.6-31-44.8-53.8l-49 18.6 .3 0c9.3 39.7 38.7 75.8 93.8 82.2l0 33.6 35.5 0 0-33.3c58.9-5.8 86.1-42.2 86.1-83.8 0-50.9-37.4-73-75.8-82.2zm-45.8-70.7l0 61.8c-17.6-4.8-27.5-13.8-27.5-31 0-12.5 7.7-26.2 27.5-30.7l0 0zM277.8 351l0-66.9c19.8 4.8 32 16 32 32.6s-9.6 30.1-32 34.2z"]},K$={prefix:"fak",iconName:"events",icon:[576,512,[],"e003","M421.4 122.6c-24.3-24.3-27.2-62.1-8.6-89.6 1.6-2.2 1.3-5.4-.6-7.4L370.2-16.3c-2.2-2.2-5.8-2.2-8 0L132.8 213.1c-2.2 2.2-2.2 5.8 0 8l11.5 11.5c3.5 3.5 3.5 9.3 0 12.8s-9.3 3.5-12.8 0L120 233.9c-2.2-2.2-5.8-2.2-8 0L15.7 330.2c-2.2 2.2-2.2 5.8 0 8l41.9 41.9c1.9 1.9 5.1 2.2 7.4 .6 27.5-18.6 65.3-15.7 89.6 8.6s27.2 62.1 8.6 89.6c-1.6 2.2-1.3 5.4 .6 7.4l41.9 41.9c2.2 2.2 5.8 2.2 8 0L310.1 432c2.2-2.2 2.2-5.8 0-8l-11.5-11.5c-3.5-3.5-3.5-9.3 0-12.5 3.5-3.5 9.3-3.5 12.5 0l11.5 11.5c2.2 2.2 5.8 2.2 8 0L560 182.1c2.2-2.2 2.2-5.8 0-8l-41.9-41.9c-1.9-1.9-5.1-2.2-7.4-.6-27.5 18.6-65.3 15.7-89.6-8.6zm-225 174.7c-4.5 4.5-11.8 4.5-16.3 0L152 269.1c-4.5-4.5-4.5-11.8 0-16.3s11.8-4.5 16.3 0L196.5 281c4.5 4.5 4.5 11.8 0 16.3zM247 344.6c-4.5 4.5-11.8 4.5-16.3 0l-28.2-28.2c-4.5-4.5-4.5-11.8 0-16.3s11.8-4.5 16.3 0L247 328.3c4.5 4.5 4.5 11.8 0 16.3zm48.3 48c-4.5 4.5-11.8 4.5-16.3 0l-28.2-28.2c-4.5-4.5-4.5-11.8 0-16.3s11.8-4.5 16.3 0l28.2 28.2c4.5 4.5 4.5 11.8 0 16.3zM421.4 229.1c-.3 2.9-2.6 5.4-5.1 6.7l-43.2 18.9c-1.9 1-3.5 2.2-4.2 4.2l-18.9 43.2s-1 1.9-1.9 2.6c-1.3 1.3-2.9 2.2-4.8 2.6-2.9 .3-6.1-.6-8-2.9l-31-35.2c-1.3-1.6-3.5-2.6-5.4-2.9l-46.7-4.5c-2.9 0-5.8-2.2-7-4.8s-1.3-6.1 0-8.3l23.7-40.3c1-1.9 1.6-4.2 1-6.1l-10.2-45.8c-.6-2.9 0-6.1 2.2-8.3s5.1-2.9 8.3-2.2l45.8 10.2c2.2 .3 4.2 0 6.1-1l40.3-23.7c2.6-1.6 5.8-1.6 8.3 0 2.6 1.3 4.5 4.2 4.8 7l4.5 46.7c0 2.2 1.3 4.2 2.9 5.4l35.2 31c2.2 1.9 3.2 5.1 2.9 8l0 0z"]},J$={prefix:"fak",iconName:"food-and-beverage",icon:[512,512,[],"e001","M497.9 145.9l-127 0 0-114.6-24 0 0 114.6-127.4 0c-8 0-14.4 6.4-14.4 14.4l0 17.3c0 8 6.4 14.4 14.4 14.4l19.2 0 3.5 53.8c-61.1-30.1-140.5-23.4-192.6 18.2-29.1 23-47.4 55-48.6 90.6 0 5.1 3.8 9.3 9 9.3l301.4 0c5.1 0 9.3-4.2 9-9.3-1.6-43.5-28.8-80.6-66.6-103l-3.8-59.5 218.9 0-17 259.2c-.6 10.9-11.8 18.2-23 18.2l-116.2 0c5.1-4.5 8.6-10.9 8.6-18.2l0-19.5c0-4.8-4.2-8.3-9-8.3l-303 0c-4.8 0-9 3.5-9 8.3l0 19.5c0 17.9 19.2 29.4 37.4 29.4l390.4 0c17-.3 32.6-11.8 33.6-28.8L479 192 498.2 192c8 0 14.4-6.4 14.4-14.4l0-17.3c0-8-6.4-14.4-14.4-14.4zm3.8 31.7c0 1.9-1.6 3.8-3.8 3.8l-278.4 0c-1.9 0-3.8-1.6-3.8-3.8l0-17.3c0-1.9 1.6-3.8 3.8-3.8l278.4 0c1.9 0 3.8 1.6 3.8 3.8l0 17.3zM9.3 402.9l301.8 0c4.8 0 8.6-3.8 8.6-8.6s-3.8-8.6-8.6-8.6l-301.8 0c-4.8 0-8.6 3.8-8.6 8.6s3.8 8.6 8.6 8.6z"]},Q$={prefix:"fak",iconName:"health",icon:[512,512,[],"e002","M256 0a256 256 0 1 0 0 512 256 256 0 1 0 0-512zm0 30.1a225.9 225.9 0 1 1 0 451.8 225.9 225.9 0 1 1 0-451.8zM393.9 212.5l-94.4 0 0-94.4c0-5.1-4.2-9.3-9.3-9.3l-68.5 0c-5.1 0-9.3 4.2-9.3 9.3l0 94.4-94.4 0c-5.1 0-9.3 4.2-9.3 9.3l0 68.5c0 5.1 4.2 9.3 9.3 9.3l94.4 0 0 94.4c0 5.1 4.2 9.3 9.3 9.3l68.5 0c5.1 0 9.3-4.2 9.3-9.3l0-94.4 94.4 0c5.1 0 9.3-4.2 9.3-9.3l0-68.5c0-5.1-4.2-9.3-9.3-9.3z"]},eG={prefix:"fak",iconName:"hotels",icon:[512,512,[],"e00c","M50.1 357.8l8.1-18.1 80.6 36.1-8.1 18.1zm462.7 78.7L428 207.7c14.4-8.6 26.2-21.4 33.9-36.8 10.9-22.4 11.8-48 3.2-72.3-17.9-48.3-71.7-74.9-119.7-59.2-17 5.4-31.4 15.7-42.2 29.4-7.7-2.2-15.7-3.5-23.7-4.5-3.5-.3-6.7 0-10.2-.3-1.6-4.5-3.5-8.3-5.8-11.2-2.2-3.2-5.4-6.4-9.3-9.9-14.4-12.8-32.3-21.1-51.2-22.7-5.1-.3-9.6-.6-13.4 0-4.8 .3-10.2 2.2-16 5.1-10.9 5.4-20.5 13.4-28.8 23.7L46.2 171.8c-8.3 10.9-15 23-19.8 35.5-5.4 12.5-9.3 25.9-10.9 40.3L-.5 407c-1.3 13.1 0 25.9 3.5 37.8 1.9 6.4 4.5 11.2 7.4 15.4 2.2 3.2 5.4 6.4 9.3 9.9 14.4 12.8 32.3 21.1 51.2 22.7 2.9 .3 5.4 .3 8 .3l0 0c1.9 0 3.8 0 5.4-.3 4.8-.3 10.2-2.2 16-5.1 10.9-5.4 20.5-13.4 28.8-23.7l98.6-122.9c8.3-10.9 15-23 19.8-35.5 5.4-12.5 9.3-25.9 10.9-40l13.8-136.3 1.9 0c3.5 .3 6.7 .3 10.2 .3 .6 9.3 1.9 18.6 5.4 27.8 14.4 39 52.2 63.7 91.2 63.7 3.2 0 6.4-.3 9.6-.6l42.9 116.5-44.5 14.4 12.2 37.8 46.1-15 6.4 17-59.5 19.5 12.2 37.8 61.1-19.8 8.3 22.1 37.1-13.8zM237.6 92.5c2.9-1.6 9-3.5 17.3-4.5 .3 4.2 0 8.3 0 12.8-8.6-2.9-14.7-6.1-17.3-8.3zm1.3 170.2c-1.3 11.8-4.5 23.7-9.6 34.9-4.2 10.9-9.9 21.4-17 30.7L114 450.9c-6.4 8-13.8 14.1-22.1 18.2-4.5 2.2-7.7 2.9-9.3 3.2l-9.3 0c-14.7-1.3-28.5-7.7-40-17.9-2.9-2.6-5.1-4.8-6.7-7-1-1.3-2.6-4.2-4.2-9.6-2.6-9.3-3.8-19.2-2.6-29.8L36 248.6c1.6-11.8 4.8-23.7 9.6-34.9 4.2-10.9 9.9-21.4 17-30.7L161.1 60.5c6.4-8 13.8-14.1 22.1-18.2 4.5-2.2 7.7-2.9 9.3-3.2l9.3 0c14.7 1.3 28.5 7.7 40 17.9 2.6 2.6 5.1 5.1 6.4 7l.3 .6c-8 1.3-14.7 3.2-20.5 6.1-2.6-3.2-5.8-6.1-9.6-8-6.4-2.9-13.8-3.2-20.5-.3s-12.2 8.3-15 15c-5.8 14.1 .6 30.4 14.1 36.2 3.5 1.6 7 2.2 10.9 2.2 3.2 0 6.7-.6 9.9-1.9 1.9-1 3.5-2.2 5.1-3.5 7.4 6.1 17.9 10.9 30.1 14.1L239.2 262.1zM212.9 93.1s-1.6 2.2-2.9 2.9c-1 .6-2.9 1-5.1 0-3.8-1.6-5.4-6.4-3.8-10.6 .6-1.9 2.2-3.2 4.2-4.2 1-.6 2.9-1 5.1 0 1.9 .6 3.2 2.2 3.8 4.2-.6 1.9-1.3 3.5-1.3 5.1l0 2.6zM274.4 105c.6-5.8 .6-11.5 0-17.3l2.9 0c5.1 .6 9.6 1.3 13.4 2.2-2.2 5.1-3.8 10.2-5.1 15.7-3.2 0-6.1 0-9.6-.3l-1.9 0zm52.5 38.4c-2.6-6.7-3.5-13.4-3.5-20.2 3.5-1.6 6.7-3.2 9-5.4 6.4-5.1 8-11.2 8.3-15.4 .3-4.5-1-8.6-3.2-12.5 5.4-5.8 12.2-10.9 20.2-13.4 28.2-9.3 59.5 6.7 70.1 35.2 5.1 13.8 4.5 28.5-1.6 41.3-5.8 12.2-16.3 21.1-29.1 25.3-28.2 9.3-59.5-6.7-70.1-35.2z"]},tG={prefix:"fak",iconName:"parking",icon:[448,512,[],"e006","M16 0L246.4 0C356.5 0 432 63.7 432 165.4S356.5 332.2 247 332.2l-119.7 0 0 179.8-111.4 0 0-512zM315.8 165.4c0-45.1-36.5-73.3-89.3-73.3l-98.9 0 0 147.8 98.9 0c52.8 0 89.3-26.9 89.3-74.6z"]},nG={prefix:"fak",iconName:"route",icon:[384,512,[],"e00e","M22.7 206.4c-3.2-3.2-5.1-7.7-4.5-11.8 .3-4.2 3.2-7.4 7-8.6L347.8 82.6c4.8-1.6 10.2 0 14.1 4.2 3.8 3.8 5.8 9.6 4.2 14.1L262.7 423c-1.6 5.1-6.7 7.7-12.2 6.7-5.8-1-10.6-5.8-12.2-11.2L192.3 257 30.4 210.6c-2.6-.6-4.8-2.2-6.7-4.2l-.3 0z"]},rG={prefix:"fak",iconName:"services",icon:[512,512,[],"e005","M89.6 51.2l102.4 0c7 0 12.8-5.8 12.8-12.8S199 25.6 192 25.6l-140.8 0C22.7 25.6 0 48.6 0 76.8l0 384C0 489.3 23 512 51.2 512L192 512c7 0 12.8-5.8 12.8-12.8S199 486.4 192 486.4l-102.4 0c-7 0-12.8-5.8-12.8-12.8s5.8-12.8 12.8-12.8l102.4 0c7 0 12.8-5.8 12.8-12.8S199 435.2 192 435.2l-102.4 0c-7 0-12.8-5.8-12.8-12.8s5.8-12.8 12.8-12.8l102.4 0c7 0 12.8-5.8 12.8-12.8S199 384 192 384L89.6 384c-7 0-12.8-5.8-12.8-12.8s5.8-12.8 12.8-12.8l102.4 0c7 0 12.8-5.8 12.8-12.8S199 332.8 192 332.8l-102.4 0c-7 0-12.8-5.8-12.8-12.8s5.8-12.8 12.8-12.8l102.4 0c7 0 12.8-5.8 12.8-12.8S199 281.6 192 281.6l-102.4 0c-7 0-12.8-5.8-12.8-12.8S82.6 256 89.6 256L192 256c7 0 12.8-5.8 12.8-12.8S199 230.4 192 230.4l-102.4 0c-7 0-12.8-5.8-12.8-12.8s5.8-12.8 12.8-12.8l102.4 0c7 0 12.8-5.8 12.8-12.8S199 179.2 192 179.2l-102.4 0c-7 0-12.8-5.8-12.8-12.8s5.8-12.8 12.8-12.8l102.4 0c7 0 12.8-5.8 12.8-12.8S199 128 192 128L89.6 128c-7 0-12.8-5.8-12.8-12.8s5.8-12.8 12.8-12.8l102.4 0c7 0 12.8-5.8 12.8-12.8S199 76.8 192 76.8l-102.4 0c-7 0-12.8-5.8-12.8-12.8s5.8-12.8 12.8-12.8l0 0zM460.8 385.3l0-1.3c0-33.6-28.8-63.4-72.6-81.9 21.4-26.9 21.4-73.3 21.4-97.3 0-25.6-17.3-204.8-38.4-204.8s-38.4 179.2-38.4 204.8c0 20.2 .3 70.1 21.8 97.3-44.2 18.6-73 48.3-73 81.9l0 1.3c-29.1 6.1-51.2 31.7-51.2 62.7 0 35.5 28.8 64 64 64s64-28.8 64-64c0-31-22.1-57-51.2-62.7l0-1.3c0-23.4 25.3-46.7 64-61.4 39 14.7 64 38.1 64 61.4l0 1.3c-29.4 6.1-51.2 31.7-51.2 62.7 0 35.5 28.8 64 64 64s64-28.8 64-64c0-31-22.1-57-51.2-62.7l0 0zM256 448a38.4 38.4 0 1 1 76.8 0 38.4 38.4 0 1 1 -76.8 0zM371.2 256a12.8 12.8 0 1 1 0 25.6 12.8 12.8 0 1 1 0-25.6zM448 409.6a38.4 38.4 0 1 1 0 76.8 38.4 38.4 0 1 1 0-76.8z"]},iG={prefix:"fak",iconName:"shopping",icon:[512,512,[],"e004","M498.1 501.1L446.6 107.8c-.6-4.8-4.8-8.6-9.6-8.6l-76.5 0 0-22.4c0-42.6-34.6-77.1-77.1-77.1-9.3 0-17.9 1.6-26.2 4.8-8.3-2.9-17-4.8-26.2-4.8-42.6 0-77.1 34.6-77.1 77.1l0 22.4-77.8 0c-4.8 0-9 3.5-9.6 8.6L14.9 501.1c0 2.9 .3 5.4 2.2 7.7s4.5 3.2 7.4 3.2l464.3 0c2.9 0 5.4-1.3 7.4-3.2s2.6-5.1 2.2-7.7l0 0zM354.4 481.3l47.7-362.6 26.6 0 47.7 364.2zM283.1 19.5c32 0 57.6 25.9 57.6 57.6l0 22.4-33 0 0-22.4c0-23-10.2-43.5-25.9-57.6l1.3 0zm-25.9 6.4c18.6 9.6 31.4 28.8 31.4 51.2l0 22.4-63 0 0-22.4c0-22.4 12.8-41.9 31.4-51.2l0 0zM173 77.1c0-32 25.9-57.6 57.6-57.6l1.3 0c-16 14.1-25.9 34.9-25.9 57.6l0 22.4-33 0 0-22.4z"]},oG={prefix:"fak",iconName:"user",icon:[320,512,[],"e008","M190.7 104l0 0c28.8 0 52.2-23.4 52.2-52.2S219.5-.3 190.7-.3l0 0c-28.8 0-52.2 23.7-52.2 52.2s23.7 51.8 52.2 51.8zM75.8 381.1l0 0c-.6 1.6-1.6 3.2-2.9 4.8-11.5 13.8-22.7 27.2-34.2 41L12.1 458.6c-5.4 6.4-4.5 16 1.9 21.4l20.5 17.3c2.9 2.2 6.1 3.5 9.9 3.5 4.5 0 8.6-1.9 11.5-5.4 12.2-14.4 38.1-45.1 51.8-61.4 1.6-1.9 3.5-4.2 5.4-6.1 4.8-5.1 9.3-10.6 12.8-16.6 4.8-9 9.3-18.2 13.1-27.5L88.6 345.6c-4.2 11.8-8 23.7-12.2 35.2zM312 223.7l-1.3 0c-6.7-1-13.1-2.2-19.5-3.8-39.4-11.8-62.1-33-71.7-65.9-1.9-6.7-5.1-12.8-9-18.6-10.2-15.4-26.2-25.6-44.2-28.2-16.3-2.9-32.6 1.6-45.4 11.8-17.3 14.1-35.8 26.9-53.8 39.4L63 161.3c-10.2 7-19.5 16.3-26.6 26.9-9.9 14.1-20.2 28.2-30.7 42.2l-7 9.6c-4.8 6.7-3.5 16.3 3.2 21.1l21.8 15.7c6.7 4.8 16.3 3.5 21.1-3.5l7-9.6c11.8-16.3 23-32 34.9-47.4 2.2-2.6 4.5-5.1 7.4-7l-9.6 54.4c-3.5 19.2 3.5 38.4 18.2 50.9 11.8 9.9 24 20.2 35.8 30.1 13.4 11.2 26.9 22.4 40.3 33.9 1.6 1.3 2.9 3.2 3.8 5.4 7.7 20.5 15 41 22.4 61.4l20.5 56.3c2.2 6.1 8 9.9 14.1 9.9 1.6 0 3.5 0 5.1-1l25-9c7.7-2.9 11.8-11.5 9-19.2-9-25.3-33.9-94.1-47.7-131.2-1.3-2.9-2.9-5.4-5.4-7.7-13.8-11.8-27.5-23.7-41.6-34.9-1.6-1.3-2.2-1.6-1.3-5.4 2.9-11.2 5.1-22.4 6.7-33.6 2.2-16.3 4.2-28.8 7-42.9 29.4 31.7 69.8 50.6 112.6 53.4 4.2 0 8-1.3 11.2-3.8 3.2-2.9 4.8-7 4.8-11.2l0-26.9c0-7.7-5.8-14.1-13.1-15z"]};var ws=class n{onDestroy=new Lr;logger=Ve(dr);mapService=Ve(bo);navigatorService=Ve(os);loadedDataService=Ve(Uo);iconLibraryService=Ve(_r);document=Ve(Li);markers=new Set;_hasCurrentLocationMarker=!1;ngOnDestroy(){this.onDestroy.next(),this.onDestroy.complete()}getIconFromPlace(r){this.logger.log("getIconFromPlace",r);let[i,c]=K0(r.localizedCategory||"");return this.iconLibraryService.getIconDefinition(i,c)}toSVGString(r){return NC(i=>{i(cS(uS)),i(cS(r))}).html.join("")}createPlaceMarkerElement(r){let i=this.getIconFromPlace(r);return this.createElement(r.lazarilloId,i)}createOriginMarkerElement(){let r=this.iconLibraryService.getIconDefinition("fak","user");return this.createElement("origin",r,["route-marker","origin-marker"])}createElement(r,i,c=[]){let d=this.document.createElement("div");return d.className="marker",d.classList.add(...c),d.id=`${r}-marker`,d.innerHTML=this.toSVGString(i),d}addMarker(r){if(this.markers.has(r.lazarilloId)){this.logger.log("Marker already exists for place",r.lazarilloId);return}let i={element:this.createPlaceMarkerElement(r),id:r.lazarilloId,coordinate:r.position,onClick:()=>{this.logger.log("Marker clicked for place",r.lazarilloId),this.navigatorService.navigateToProfile(r.lazarilloId)},anchor:"bottom"};this.mapService.addMarker(i),this.markers.add(r.lazarilloId),this.logger.log("Marker added for place",r.lazarilloId)}addInitialMarkers(){this.loadedDataService.getAvailablePlaces().pipe(ra(1),Ms(this.onDestroy)).subscribe({next:r=>{for(let i of r)this.addMarker(i)},error:r=>{this.logger.logWarning("Error adding initial markers",r)}})}addMarkers(r){this.mapService.mapReady.pipe(vo(i=>i),ra(1),Ms(this.onDestroy)).subscribe({next:()=>{this.removeAllMarkers();for(let i of r)this.addMarker(i)},error:i=>{this.logger.logWarning("Error adding markers",i)}})}removeAllMarkers(){for(let r of this.markers)this.mapService.removeMarker(r);this.markers.clear()}hasMarker(r){return this.markers.has(r)}selectMarker(r){if(!this.markers.has(r)){this.logger.logWarning("Marker not found",r);return}let i=this.document.getElementById(`${r}-marker`);if(!i){this.logger.logWarning("Marker not found",r);return}i.classList.add("selected")}deselectMarker(r){if(!this.markers.has(r)){this.logger.logWarning("Marker not found",r);return}let i=this.document.getElementById(`${r}-marker`);if(!i){this.logger.logWarning("Marker not found",r);return}i.classList.remove("selected")}deselectMarkers(){let r=this.document.querySelectorAll(".marker.selected");for(let i of r)i.classList.remove("selected")}addOriginMarker(r){let i={element:this.createOriginMarkerElement(),id:"origin",coordinate:r,anchor:"bottom"};this.mapService.addMarker(i),this.markers.add("origin")}addDestinationMarker(r){let i={element:this.createElement(r.lazarilloId,this.getIconFromPlace(r),["route-marker","destination-marker"]),id:r.lazarilloId,coordinate:r.position,anchor:"bottom"};this.mapService.addMarker(i),this.markers.add(r.lazarilloId)}addRouteMarker(r){let i={element:this.createElement(r.lazarilloId,this.getIconFromPlace(r),["route-marker"]),id:r.lazarilloId,coordinate:r.position,anchor:"bottom"};this.mapService.addMarker(i),this.markers.add(r.lazarilloId)}addRouteMarkers(r){for(let i of r)this.addRouteMarker(i)}createCurrentLocationMarkerElement(){let r=this.document.createElement("div");return r.className="current-location-marker",r.id="current-location-marker",r.innerHTML=lP,r}addCurrentLocationMarker(r){let i={element:this.createCurrentLocationMarkerElement(),id:"current-location",coordinate:r,anchor:"bottom"};this.mapService.addMarker(i),this._hasCurrentLocationMarker=!0}updateCurrentLocationMarker(r){this.mapService.updateMarkerPosition("current-location",r)}getCurrentLocationMarkerElement(){return this.document.getElementById("current-location-marker")}get hasCurrentLocationMarker(){return this._hasCurrentLocationMarker}removeCurrentLocationMarker(){console.log("====> removeCurrentLocationMarker"),this.mapService.removeMarker("current-location"),this._hasCurrentLocationMarker=!1}prepareToMapReuse(){this.removeAllMarkers()}static \u0275fac=function(i){return new(i||n)};static \u0275prov=Kt({token:n,factory:n.\u0275fac})};var Bd=class n{sdkService=Ve(xa);logger=Ve(dr);markerService=Ve(ws);currentlyWatchingLocation=Jn(!1);currentLocation=new _i(null);currentBearing=new _i(null);hasBearingPermission=!1;watchId;async checkLocationPermission(){return"permissions"in navigator?navigator.permissions.query({name:"geolocation"}).then(async r=>r.state).catch(r=>(this.logger.logWarning(r),"denied")):(this.logger.log("Permissions API not supported"),"denied")}async requestLocationPermission(){return new Promise(r=>{navigator.geolocation.getCurrentPosition(()=>{console.log("requestLocationPermission granted"),r("granted")},i=>{console.log("requestLocationPermission denied",i),i.code===3?r("prompt"):r("denied")},{enableHighAccuracy:!0,timeout:5e3})})}async getCurrentLocation(){return this.currentlyWatchingLocation()&&this.currentLocation.value!=null?this.currentLocation.value:new Promise((r,i)=>{navigator.geolocation.getCurrentPosition(c=>{r(s0(c))},c=>{i(new Error("Error getting current location",{cause:c}))},{enableHighAccuracy:!0})})}checkBearingLocation(){typeof DeviceOrientationEvent<"u"&&"requestPermission"in DeviceOrientationEvent&&DeviceOrientationEvent.requestPermission().then(i=>{this.hasBearingPermission=i==="granted"}).catch(i=>{this.logger.logWarning(i),this.hasBearingPermission=!1}),this.hasBearingPermission=!0}startWatching(){this.checkBearingLocation(),console.log("startWatching"),console.log("hasBearingPermission",this.hasBearingPermission),this.currentlyWatchingLocation.set(!0),!this.watchId&&(this.watchId=this.sdkService.watchUserLocation(r=>{this.currentLocation.next(r)},r=>{this.logger.logWarning("Error watching user location",r)}),this.hasBearingPermission&&this.sdkService.watchUserHeading(r=>{this.currentBearing.next(r)},r=>{this.logger.logWarning("Error watching user bearing",r)}))}stopWatching(){this.watchId&&this.sdkService.stopWatchingUserLocation(this.watchId),this.hasBearingPermission&&this.sdkService.stopWatchingUserHeading(),this.watchId=void 0,this.markerService.removeCurrentLocationMarker(),this.currentlyWatchingLocation.set(!1)}temporalStopWatching(){this.watchId&&this.sdkService.stopWatchingUserLocation(this.watchId),this.hasBearingPermission&&this.sdkService.stopWatchingUserHeading(),this.watchId=void 0}static \u0275fac=function(i){return new(i||n)};static \u0275prov=Kt({token:n,factory:n.\u0275fac})};var J0=(d=>(d[d.NotStarted=0]="NotStarted",d[d.Playing=1]="Playing",d[d.Paused=2]="Paused",d[d.Finished=3]="Finished",d))(J0||{});var Dc=class n{logger=Ve(dr);mapService=Ve(bo);sdkService=Ve(xa);platformId=Ve(_c);document=Ve(Li);animationStatusSubject=new _i(0);activeRouteSubject=new _i(null);currentStepSubject=new _i(null);getRoute(r,i){return this.sdkService.getRoute(r,i)}getSecondaryOrangeColor(){if(!Rd(this.platformId))return"#EE5845";try{return getComputedStyle(this.document.documentElement).getPropertyValue("--definitions-colors-secondary-orange").trim()}catch(r){return this.logger.logWarning("Error getting --definitions-colors-secondary-orange:",r),"#EE5845"}}startAnimatingRoute(r){let i=this.getSecondaryOrangeColor(),c={behindPathStyle:{type:"Solid",color:i},aheadPathStyle:{type:"Solid",color:"#000000"},routeIcon:this.getRouteIcon(i)},d={callBack:({isFinished:a,step:w})=>{a?(this.animationStatusSubject.next(3),this.currentStepSubject.next(null)):(this.animationStatusSubject.next(1),this.currentStepSubject.next(w))}};this.animationStatusSubject.next(1),this.activeRouteSubject.next(r),this.mapService.startAnimatingRoute(r,c,d)}getRouteIcon(r){let i=this.document.createElement("div");return i.className="route-icon",i.id="route-icon",i.innerHTML=`<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
1497
1497
|
<circle cx="15" cy="15" r="15" fill="${r}"/>
|
|
1498
1498
|
<path d="M10.0788 19.6042L14.5476 8.6442C14.7061 8.25536 15.0835 8 15.5013 8C15.9191 8 16.2965 8.25536 16.455 8.6442L20.9238 19.6042C21.1946 20.2717 20.7106 21 19.9932 21C19.7684 21 19.5523 20.9246 19.3766 20.7882L15.5013 17.75L11.6232 20.7882C11.4474 20.9246 11.2313 21 11.0066 21C10.292 21 9.80512 20.2687 10.076 19.6042H10.0788Z" fill="white"/>
|
|
1499
|
-
</svg>`,i}pauseRouteAnimation(){this.animationStatusSubject.next(2),this.mapService.pauseAnimatingRoute()}resumeRouteAnimation(){this.animationStatusSubject.next(1),this.mapService.resumeAnimatingRoute()}restartRouteAnimation(){this.animationStatusSubject.next(1),this.mapService.restartAnimatingRoute()}removeRoute(){this.animationStatusSubject.next(0),this.activeRouteSubject.next(null),this.currentStepSubject.next(null),this.mapService.removeRoute()}static \u0275fac=function(i){return new(i||n)};static \u0275prov=Kt({token:n,factory:n.\u0275fac})};var Q0={term:"",results:[]};function hS(n,r){let i=r?.injector??Ve(ys),c=new La(1),d=vr(()=>{let a;try{a=n()}catch(w){zl(()=>c.error(w));return}zl(()=>c.next(a))},{injector:i,manualCleanup:!0});return i.get(la).onDestroy(()=>{d.destroy(),c.complete()}),c.asObservable()}function $o(n,r){let c=!r?.manualCleanup?r?.injector?.get(la)??Ve(la):null,d=sG(r?.equal),a;r?.requireSync?a=Jn({kind:0},{equal:d}):a=Jn({kind:1,value:r?.initialValue},{equal:d});let w,P=n.subscribe({next:k=>a.set({kind:1,value:k}),error:k=>{a.set({kind:2,error:k}),w?.()},complete:()=>{w?.()}});if(r?.requireSync&&a().kind===0)throw new fn(601,!1);return w=c?.onDestroy(P.unsubscribe.bind(P)),Tn(()=>{let k=a();switch(k.kind){case 1:return k.value;case 2:throw k.error;case 0:throw new fn(601,!1)}},{equal:r?.equal})}function sG(n=Object.is){return(r,i)=>r.kind===1&&i.kind===1&&n(r.value,i.value)}var Ni=class n{loadedDataService=Ve(Uo);homePlaces=Jn([]);showCategoryFilters=Jn(!0);showCityFilter=Jn(!0);defaultToMap=Jn(!1);activeView=_s(()=>this.defaultToMap()?"map":"grid");inputValue=Jn("");selectedCity=Jn("All cities");hideDeals=Jn(!1);lastListedPlaces=Jn([]);categoryFiltersData=$o(this.loadedDataService.getInstitution().pipe(Hn(r=>{let i=r.properties;if(i){let c=i.filter(d=>"childPlaces"in d&&d.childPlaces!==void 0).map(d=>({placeData:"childPlaces"in d?d.childPlaces:[],name:d.title}));return c.splice(1,0,{name:"All",placeData:[]}),c}return[]})),{initialValue:[]});selectedFilter=_s(()=>this.categoryFiltersData()[0]?.name);currentPageIndex=_s({source:this.selectedFilter,computation:(r,i)=>r!==i?.source?1:i?.value??1});lastCardSelected=new Lr;userAction=new Lr;lastSearchData=Jn(Q0);static \u0275fac=function(i){return new(i||n)};static \u0275prov=Kt({token:n,factory:n.\u0275fac})};var wR={fas:{},fak:{}},fS=[];function xR(n){Object.keys(n).forEach(function(r){if(r!=="prefix"){var i=n[r],c=i.icon[2];c.forEach(function(d){typeof d=="string"&&(wR[i.prefix][d]=i)}),wR[i.prefix][i.iconName]=i,fS.push(i)}})}xR(iC);xR(dS);var My=xD(eC());var e1=class n{destroy$=new Lr;apiKey=Nr("");institutionId=Nr("");initialData=Nr("");showCategoryFilters=Nr(!0,{transform:r=>typeof r=="string"?r==="true":r});showCityFilter=Nr(!0,{transform:r=>typeof r=="string"?r==="true":r});defaultToMap=Nr(!1,{transform:r=>typeof r=="string"?r==="true":r});inheritFontFamily=Nr(!1,{transform:r=>typeof r=="string"?r==="true":r});hideDeals=Nr(!1,{transform:this.transformToBoolean});cardSelected=Ws();userAction=Ws();router=Ve(jd);navigatorService=Ve(os);locationStrategy=Ve(wc);platformId=Ve(_c);logger=Ve(dr);sdkService=Ve(xa);loadedDataService=Ve(Uo);homeStateService=Ve(Ni);iconLibrary=Ve(cy);isInitialized=!1;isConnected=!1;static instanceCount=0;static hasBeenConnected=!1;constructor(){this.loadIcons(),vr(()=>{let r=this.apiKey();r&&r.trim()!==""&&!this.sdkService.isInitialized()&&(this.logger.log("\u{1F511} Initializing SDK with provided API key"),this.sdkService.initialize(r.trim()),this.loadData())}),vr(()=>{this.homeStateService.hideDeals.set(this.hideDeals())}),vr(()=>{let r=this.initialData();r&&r.trim()!==""&&this.processInitialData(r)}),vr(()=>{this.homeStateService.showCategoryFilters.set(this.showCategoryFilters())}),vr(()=>{this.homeStateService.showCityFilter.set(this.showCityFilter())}),vr(()=>{let r=this.defaultToMap();this.logger.log("====> defaultToMap input",r),this.homeStateService.defaultToMap.set(r)}),vr(()=>{let r=this.institutionId();r&&r.trim()!==""&&this.updateInstitution(r)}),this.homeStateService.lastCardSelected.pipe(Ms(this.destroy$)).subscribe(r=>{this.cardSelected.emit(r),this.logger.log("====> cardSelected",r)}),this.homeStateService.userAction.pipe(Ms(this.destroy$)).subscribe(r=>{this.userAction.emit(r),this.logger.log("====> userAction",r)})}ngOnInit(){Rd(this.platformId)?this.handleInstanceTracking():this.logger.log("\u{1F5A5}\uFE0F Componente inicializado en servidor (SSR)")}loadIcons(){this.iconLibrary.addIcons(...fS)}loadData(){this.loadPlaces(),this.loadConfiguration(),this.loadInstitution()}transformToBoolean(r){return typeof r=="string"?r==="true":r}processInitialData(r){try{let i=JSON.parse(r);if(i.availablePlaces){let d=i.availablePlaces.map(a=>new My.LzPlace(a)).filter(a=>a.generalCategory!=="transport"&&!a.hidePlace);this.loadedDataService.setAvailablePlaces(d),this.logger.log(`\u2705 Successfully loaded ${d.length} places from initial data`)}if(i.institutions){let d=i.institutions.map(a=>new My.Institution(a)).find(a=>a.lazarilloId===this.institutionId());d?this.loadedDataService.setInstitution(d):this.logger.log(`\u274C Institution not found for id ${this.institutionId()}`)}}catch(i){this.logger.log("\u274C Error processing initial data",i),this.logger.log(`\u274C Data: ${r}`)}}async loadPlaces(){let r=Rd(this.platformId)?"Browser":"Server";try{this.logger.log(`\u{1F4CD} Loading initial places data on ${r}...`);let i=await this.sdkService.getAvailablePlaces(),c=i.filter(d=>d.generalCategory!=="transport"&&!d.hidePlace);this.loadedDataService.setAvailablePlaces(c),this.logger.log(`\u2705 Successfully loaded ${i.length} places on ${r}`)}catch(i){this.logger.log(`\u274C Error loading initial places data on ${r}:`,i),this.loadedDataService.setAvailablePlaces([])}}async loadConfiguration(){try{let r=await this.sdkService.getConfiguration();this.loadedDataService.setConfiguration(r),this.logger.log("\u2705 Successfully loaded configuration")}catch(r){this.logger.log("\u274C Error loading initial configuration",r)}}async loadInstitution(){try{let i=(await this.sdkService.getInstitutions()).find(c=>c.lazarilloId===this.institutionId());i?(this.loadedDataService.setInstitution(i),this.logger.log("\u2705 Successfully loaded institution",i)):this.logger.log("\u274C Institution not found")}catch(r){this.logger.log("\u274C Error loading institution data",r)}}updateInstitution(r){console.log("====> updateInstitution",r);let i=this.initialData();if(i&&i.trim()!==""){let c=JSON.parse(i);if(c.institutions){let a=c.institutions.map(w=>new My.Institution(w)).find(w=>w.lazarilloId===r);if(a){this.loadedDataService.setInstitution(a),this.logger.log("\u2705 Successfully updated institution",a);return}}}this.loadInstitution()}handleInstanceTracking(){n.instanceCount++;let r=this.checkForExistingRouterContent(),i=this.router.url;n.hasBeenConnected||r||i!=="/"&&n.instanceCount===1?(this.logger.log("\u{1F504} Detectada reconexi\xF3n del web component"),this.logger.log(` - Instancia #${n.instanceCount}`),this.logger.log(` - URL del router: ${i}`),this.logger.log(` - Contenido en router outlet: ${r}`),this.handleReconnection()):this.logger.log(`\u{1F680} Primera conexi\xF3n del web component (instancia #${n.instanceCount})`),n.hasBeenConnected=!0}checkForExistingRouterContent(){try{let r=document.querySelector("router-outlet");return r?r.children.length>0:!1}catch{return!1}}ngAfterViewInit(){this.isConnected=!0,this.scheduleRouterInitialization()}ngOnDestroy(){this.isConnected=!1,this.destroy$.next(),this.destroy$.complete()}scheduleRouterInitialization(){Rd(this.platformId)?requestAnimationFrame(()=>{this.initializeRouter()}):setTimeout(()=>{this.initializeRouter()},0)}initializeRouter(){if(this.isInitialized&&this.isConnected)return;this.locationStrategy.setInitialPath("/");let r=this.router.url,i=this.router.routerState.root.firstChild;r==="/"&&!i?this.router.navigateByUrl("/").then(()=>{this.isInitialized=!0}).catch(c=>{console.error("Error en navegaci\xF3n inicial:",c),this.isInitialized=!0}):this.isInitialized=!0}handleReconnection(){this.logger.log("\u{1F504} Procesando reconexi\xF3n del web component");let r=Rd(this.platformId)?10:50;setTimeout(()=>{this.checkAndFixRouterSync()},r)}checkAndFixRouterSync(){if(!Rd(this.platformId)){this.logger.log("\u2139\uFE0F Saltando verificaci\xF3n de sincronizaci\xF3n en servidor");return}let r=this.locationStrategy.getCurrentPath()||"/",i=this.router.url,c=this.router.routerState.root.firstChild,d=this.checkForExistingRouterContent();this.logger.log("\u{1F50D} Verificando sincronizaci\xF3n del router:"),this.logger.log(` - Path interno: "${r}"`),this.logger.log(` - Router URL: "${i}"`),this.logger.log(` - Tiene ruta activa: ${!!c}`),this.logger.log(` - Contenido en router outlet: ${d}`),r==="/"&&i!=="/"||r==="/"&&!c&&d||r==="/"&&i==="/"&&d&&!c?(this.logger.log("\u26A0\uFE0F Desincronizaci\xF3n detectada - aplicando correcci\xF3n"),this.performGentleReset()):this.logger.log("\u2705 Router sincronizado correctamente")}performGentleReset(){this.logger.log("\u{1F504} Realizando reset suave del router"),this.router.navigateByUrl("/",{replaceUrl:!0}).then(()=>{this.logger.log("\u2705 Navegaci\xF3n correctiva completada")}).catch(r=>{console.error("\u274C Error en navegaci\xF3n correctiva:",r)})}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-root"]],inputs:{apiKey:[1,"apiKey"],institutionId:[1,"institutionId"],initialData:[1,"initialData"],showCategoryFilters:[1,"showCategoryFilters"],showCityFilter:[1,"showCityFilter"],defaultToMap:[1,"defaultToMap"],inheritFontFamily:[1,"inheritFontFamily"],hideDeals:[1,"hideDeals"]},outputs:{cardSelected:"cardSelected",userAction:"userAction"},features:[K_([os,Ni,ws,_r,Dc,Bd])],decls:4,vars:2,consts:[[1,"named-container"],[1,"app-container"],[1,"app-content"]],template:function(i,c){i&1&&(gt(0,"div",0)(1,"div",1)(2,"div",2),$t(3,"router-outlet"),_t()()()),i&2&&(bt(),xi("inherit-font-family",c.inheritFontFamily()))},dependencies:[S0,df],styles:["*[_ngcontent-%COMP%]{margin:0;padding:0}.named-container[_ngcontent-%COMP%]{container-name:mapvx-container;container-type:inline-size;width:100%}.app-container[_ngcontent-%COMP%]{display:flex;padding:0;flex-direction:column;justify-content:center;align-items:flex-start;gap:22px;background:var(--definitions-colors-background-50);font-family:Open Sans,sans-serif}.app-container.inherit-font-family[_ngcontent-%COMP%]{font-family:inherit}.app-header[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:19px}.app-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{color:var(--definitions-colors-text-900);font:var(--definitions-textFonts-desktop-h1);font-family:inherit}.app-header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--definitions-colors-text-800);font:var(--definitions-textFonts-desktop-sub-1);font-family:inherit}.main-navigation[_ngcontent-%COMP%]{display:flex;gap:.5rem;justify-content:center;flex-wrap:wrap}.nav-button[_ngcontent-%COMP%]{background:#fff3;border:1px solid rgba(255,255,255,.3);color:#fff;padding:.5rem 1rem;border-radius:4px;cursor:pointer;font-size:.9rem;transition:all .2s ease}.nav-button[_ngcontent-%COMP%]:hover{background:#ffffff4d;transform:translateY(-1px)}.nav-button[_ngcontent-%COMP%]:active{transform:translateY(0)}.route-debug[_ngcontent-%COMP%]{margin-top:.5rem;text-align:center}.route-debug[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{color:#fffc;font-size:.8rem;font-family:Courier New,monospace;background:#0000001a;padding:.25rem .5rem;border-radius:4px}.app-content[_ngcontent-%COMP%]{width:100%}"]})};var t1=class n extends wc{_path="";_baseHref;_popStateListeners=[];constructor(){super(),this._baseHref=this.getBaseHref()}path(){return this._path}prepareExternalUrl(r){return this._baseHref+"#"+r}pushState(r,i,c,d){this._updatePath(r,c,d)}replaceState(r,i,c,d){this._updatePath(r,c,d)}forward(){}back(){}getState(){return null}historyGo(r){}onPopState(r){this._popStateListeners.push(r)}getBaseHref(){return typeof document<"u"?document.querySelector("base")?.href??"/":"/"}_updatePath(r,i,c){this._path=i+(c?"?"+c:""),this._notifyPopState(r,i)}_notifyPopState(r,i){let c={type:"popstate",state:r,url:i,pop:!0};this._popStateListeners.forEach(d=>{try{d(c)}catch(a){console.error("Error in popstate listener:",a)}})}getCurrentPath(){return this._path}setInitialPath(r){this._path=r}static \u0275fac=function(i){return new(i||n)};static \u0275prov=Kt({token:n,factory:n.\u0275fac,providedIn:"root"})};var aG=["categoryFilters"];function lG(n,r){if(n&1){let i=wi();gt(0,"button",14),xn("click",function(){Wr(i);let d=pn();return Zr(d.onClearInput())}),$t(1,"fa-icon",6),_t()}if(n&2){let i=pn();bt(),Zt("icon",i.faXmark)}}function cG(n,r){if(n&1&&$t(0,"fa-icon",6),n&2){let i=pn(2);Zt("icon",i.faCaretUp)}}function uG(n,r){if(n&1&&$t(0,"fa-icon",6),n&2){let i=pn(2);Zt("icon",i.faCaretDown)}}function dG(n,r){if(n&1){let i=wi();gt(0,"button",21),xn("click",function(){let d=Wr(i).$implicit,a=pn(3);return Zr(a.onCitySelect(d))}),bn(1),_t()}if(n&2){let i=r.$implicit,c=pn(3);xi("selected",i===c.selectedCity()),bt(),is(" ",i," ")}}function hG(n,r){if(n&1&&(gt(0,"div",19),ns(1,dG,2,3,"button",20,tf),_t()),n&2){let i=pn(2);bt(),rs(i.citiesOptions())}}function fG(n,r){if(n&1){let i=wi();gt(0,"div",9)(1,"button",15),xn("click",function(){Wr(i);let d=pn();return Zr(d.onCityFilterClick())}),$t(2,"fa-icon",6),_t(),gt(3,"button",16),xn("click",function(){Wr(i);let d=pn();return Zr(d.onCityFilterClick())}),gt(4,"span",17),bn(5),_t(),gt(6,"div",18),gr(7,cG,1,1,"fa-icon",6)(8,uG,1,1,"fa-icon",6),_t()(),gr(9,hG,3,0,"div",19),_t()}if(n&2){let i=pn();bt(),xi("active",i.isCityDropdownOpen()),bt(),Zt("icon",i.faFilter),bt(3),ks(i.selectedCity()),bt(2),yr(i.isCityDropdownOpen()?7:8),bt(2),yr(i.isCityDropdownOpen()?9:-1)}}var n1=class n{logger=Ve(dr);stateService=Ve(Ni);mapService=Ve(bo);navigatorService=Ve(os);iconLibrary=Ve(_r);categoryFilters;activeView=Tn(()=>this.stateService.activeView());showCityFilter=Tn(()=>this.stateService.showCityFilter());inputValue=Tn(()=>this.stateService.inputValue());citiesOptions=Tn(()=>["All cities","Detroit",...[]]);selectedCity=_s(()=>this.citiesOptions()[0]);isCityDropdownOpen=Jn(!1);mapReady=$o(this.mapService.mapReady,{initialValue:!1});faGrid2=this.iconLibrary.getIconDefinition("fas","grid-2");faMagnifyingGlass=this.iconLibrary.getIconDefinition("fas","magnifying-glass");faMapLocationDot=this.iconLibrary.getIconDefinition("fas","map-location-dot");faXmark=this.iconLibrary.getIconDefinition("fas","xmark");faCaretDown=this.iconLibrary.getIconDefinition("fas","caret-down");faCaretUp=this.iconLibrary.getIconDefinition("fas","caret-up");faFilter=this.iconLibrary.getIconDefinition("fas","filter");constructor(){vr(()=>{let r=this.selectedCity();this.stateService.selectedCity.set(r)}),vr(()=>{if(this.stateService.activeView()==="map"&&this.mapReady()){let r=this.stateService.lastListedPlaces();setTimeout(()=>{this.mapService.fitCoordinates(r.map(i=>i.position),{padding:{top:100,left:100,right:100,bottom:100}})},100)}})}ngOnInit(){this.stateService.inputValue()!==""&&this.navigatorService.navigateToSearchView()}ngAfterViewInit(){this.readUrlParams()}readUrlParams(){let r=new URLSearchParams(location.search),i=r.get("search");i&&(this.stateService.inputValue.set(i),this.navigatorService.navigateToSearchView());let c=r.get("tenant");c&&this.navigatorService.navigateToProfile(c);let d=r.get("destination");d&&this.navigatorService.navigateToRoute(d)}onGridClick(){this.stateService.activeView.set("grid")}onMapClick(){this.stateService.activeView.set("map")}onInputChange(r){let i=r.target;this.stateService.inputValue.set(i.value),this.navigatorService.navigateToSearchView()}onClearInput(){this.stateService.inputValue.set(""),this.stateService.userAction.next({type:"return-to-home",data:{filter:this.stateService.selectedFilter()}}),this.navigatorService.navigateToHome()}onCityFilterClick(){this.isCityDropdownOpen.update(r=>!r)}onCitySelect(r){this.selectedCity.set(r),this.isCityDropdownOpen.set(!1)}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-home-screen"]],viewQuery:function(i,c){if(i&1&&zg(aG,5),i&2){let d;jg(d=Bg())&&(c.categoryFilters=d.first)}},decls:23,vars:12,consts:[[1,"home-screen"],[1,"sub-navigation"],[1,"sub-nav-top"],[1,"search-section"],[1,"search-bar"],[1,"search-icon"],[3,"icon"],["name","search input","type","text","placeholder","Search...",1,"search-input",3,"input","value"],[1,"search-clear"],[1,"city-filter-container"],[1,"view-toggle"],[1,"view-btn",3,"click"],[1,"view-icon"],[1,"sub-content"],[1,"search-clear",3,"click"],[1,"mobile-city-filter",3,"click"],[1,"desktop-city-filter",3,"click"],[1,"city-text"],[1,"dropdown-icon"],[1,"city-dropdown"],[1,"city-option",3,"selected"],[1,"city-option",3,"click"]],template:function(i,c){i&1&&(gt(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),$t(6,"fa-icon",6),_t(),gt(7,"input",7),xn("input",function(a){return c.onInputChange(a)}),_t(),gr(8,lG,2,1,"button",8),_t(),gr(9,fG,10,6,"div",9),_t(),gt(10,"div",10)(11,"button",11),xn("click",function(){return c.onGridClick()}),gt(12,"div",12),$t(13,"fa-icon",6),_t(),gt(14,"span"),bn(15,"Grid View"),_t()(),gt(16,"button",11),xn("click",function(){return c.onMapClick()}),gt(17,"div",12),$t(18,"fa-icon",6),_t(),gt(19,"span"),bn(20,"Map View"),_t()()()()(),gt(21,"div",13),$t(22,"router-outlet"),_t()()),i&2&&(bt(4),xi("active",c.inputValue()!==""),bt(2),Zt("icon",c.faMagnifyingGlass),bt(),Zt("value",c.inputValue()),bt(),yr(c.inputValue()!==""?8:-1),bt(),yr(c.showCityFilter()?9:-1),bt(2),xi("active",c.activeView()==="grid"),bt(2),Zt("icon",c.faGrid2),bt(3),xi("active",c.activeView()==="map"),bt(2),Zt("icon",c.faMapLocationDot))},dependencies:[Yr,df],styles:["*[_ngcontent-%COMP%]{margin:0;padding:0;border:0}.home-screen[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:36px}.sub-navigation[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2.25rem;margin-bottom:1.5rem}.sub-nav-top[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;gap:40px}@container mapvx-container (width <= 640px){.sub-nav-top[_ngcontent-%COMP%]{gap:13px}}.search-section[_ngcontent-%COMP%]{display:flex;gap:24px;align-items:center}@container mapvx-container (width <= 640px){.search-section[_ngcontent-%COMP%]{gap:11px}}.search-bar[_ngcontent-%COMP%]{background:var(--definitions-colors-background-white);border-bottom:1px solid var(--definitions-colors-primary-black);display:flex;width:342px;padding:12px 20px;align-items:center;gap:10px}@container mapvx-container (width <= 960px){.search-bar[_ngcontent-%COMP%]{width:150px}}@container mapvx-container (width <= 640px){.search-bar[_ngcontent-%COMP%]{width:110px}}.search-bar.active[_ngcontent-%COMP%]{border-bottom:1px solid var(--definitions-colors-secondary-orange)}.search-icon[_ngcontent-%COMP%]{color:var(--definitions-colors-text-800);display:flex;align-items:center;font-size:20px}.search-bar.active[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{color:var(--definitions-colors-secondary-orange)}.search-clear[_ngcontent-%COMP%]{color:var(--definitions-colors-secondary-orange);display:flex;align-items:center;font-size:20px;border:none;background:none}.search-clear[_ngcontent-%COMP%]:hover{cursor:pointer}.search-input[_ngcontent-%COMP%]{border:none;outline:none;background:transparent;font:var(--definitions-textFonts-desktop-button-4);font-family:inherit;color:var(--definitions-colors-text-800);width:100%}.search-input[_ngcontent-%COMP%]::placeholder{color:var(--definitions-colors-text-800)}.city-filter-container[_ngcontent-%COMP%]{position:relative}.desktop-city-filter[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;padding:.875rem 1rem;height:45px;box-sizing:border-box;cursor:pointer;border:none;background:none}@container mapvx-container (width <= 640px){.desktop-city-filter[_ngcontent-%COMP%]{display:none}}.city-text[_ngcontent-%COMP%]{font:var(--definitions-textFonts-desktop-button-5);font-family:inherit;color:var(--definitions-colors-text-900);white-space:nowrap}.dropdown-icon[_ngcontent-%COMP%]{color:var(--definitions-colors-text-900);display:flex;align-items:center;font-size:12px}.mobile-city-filter[_ngcontent-%COMP%]{display:none}@container mapvx-container (width <= 640px){.mobile-city-filter[_ngcontent-%COMP%]{display:flex;height:45px;width:52px;padding:0;justify-content:center;align-items:center;gap:10px;cursor:pointer;border:none;background:var(--definitions-colors-background-white);color:var(--definitions-colors-primary-black);font-size:20px}.mobile-city-filter.active[_ngcontent-%COMP%]{background:var(--definitions-colors-primary-black);color:var(--definitions-colors-black_white-50)}}.city-dropdown[_ngcontent-%COMP%]{position:absolute;top:100%;left:0;right:0;background:var(--definitions-colors-background-white);border:1px solid var(--definitions-colors-primary-300);z-index:1;padding:8px 0;min-width:111px}.city-option[_ngcontent-%COMP%]{display:block;width:100%;padding:12px 16px;border:none;background:none;text-align:center;cursor:pointer;font:var(--definitions-textFonts-desktop-input-2);font-family:inherit;color:var(--definitions-colors-text-900);transition:background-color .2s ease}.city-option[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid var(--definitions-colors-primary-100)}.city-option[_ngcontent-%COMP%]:hover{background:var(--definitions-colors-background-50)}.view-toggle[_ngcontent-%COMP%]{display:flex;align-items:center}.view-btn[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.625rem;padding:10px 28px;border:none;background:var(--definitions-colors-background-50);cursor:pointer;font:var(--definitions-textFonts-desktop-button-2);font-family:inherit;color:var(--definitions-colors-text-900);white-space:nowrap;transition:all .2s ease;position:relative;border-bottom:1px solid var(--definitions-colors-text-900)}.view-btn.active[_ngcontent-%COMP%]{background:var(--definitions-colors-text-900);color:var(--definitions-colors-text-50)}.view-btn[_ngcontent-%COMP%] .view-icon[_ngcontent-%COMP%]{display:flex;align-items:center;color:currentcolor}@container mapvx-container (width <= 770px){.view-btn[_ngcontent-%COMP%]{padding:10px 0;width:52px;justify-content:center}.view-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:none}}@container mapvx-container (width <= 640px){.view-btn[_ngcontent-%COMP%]{padding:10px 0;width:52px;justify-content:center}.view-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:none}}"],changeDetection:0})};var r1="https://images.ctfassets.net/37yx0l0lf3yk/6eJ4fYG9hQxJ8ayujcebhe/8cf968e7d66df9a8bc75b72b7e7d6432/00002167_BedrockWebsite_TenantCOmingSoon_PlaceholderImage_3840x3840_V2-web.jpg?q=80&fm=webp&w=1920";function i1(n){return n.tags?.includes("deals")||n.tags?.includes("events")}var pG=()=>({rotate:42});function mG(n,r){if(n&1&&$t(0,"fa-icon",3),n&2){let i=pn();Zt("icon",i.faCircleNotch)("transform",Mu(2,pG))}}function gG(n,r){n&1&&(gt(0,"div",4),bn(1,"Deals + Events"),_t())}var o1=class n{iconLibrary=Ve(_r);navigatorService=Ve(os);homeStateService=Ve(Ni);place=Nr.required();hasDealsOrEvents=Tn(()=>this.place().banners.some(i1));hideDeals=Tn(()=>this.homeStateService.hideDeals());imageSrc=Tn(()=>this.place().images[0]||r1);isImageLoading=Jn(!0);faCircleNotch=this.iconLibrary.getIconDefinition("fas","circle-notch");constructor(){vr(()=>{this.imageSrc()&&this.startImageLoading()})}navigateToProfile(){let r=this.place().lazarilloId;this.homeStateService.lastCardSelected.next(r),this.navigatorService.navigateToProfile(r)}startImageLoading(){this.isImageLoading.set(!0)}endImageLoading(){this.isImageLoading.set(!1)}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-location-card"]],inputs:{place:[1,"place"]},decls:12,vars:8,consts:[[1,"location-card",3,"click"],[1,"card-image"],[3,"load","error","src","alt"],[1,"loading-icon",3,"icon","transform"],[1,"card-deals-or-events"],[1,"card-content"],[1,"location-name"],[1,"location-address"],[1,"location-category"]],template:function(i,c){i&1&&(gt(0,"button",0),xn("click",function(){return c.navigateToProfile()}),gt(1,"div",1)(2,"img",2),xn("load",function(){return c.endImageLoading()})("error",function(){return c.endImageLoading()}),_t(),gr(3,mG,1,3,"fa-icon",3)(4,gG,2,0,"div",4),_t(),gt(5,"div",5)(6,"h3",6),bn(7),_t(),gt(8,"p",7),bn(9),_t(),gt(10,"span",8),bn(11),_t()()()),i&2&&(bt(),xi("loading",c.isImageLoading()),bt(),Zt("src",c.imageSrc(),Jh)("alt",c.place().title),bt(),yr(c.isImageLoading()?3:c.hasDealsOrEvents()&&!c.hideDeals()?4:-1),bt(4),ks(c.place().title),bt(2),ks(c.place().address),bt(2),ks(c.place().localizedCategory))},dependencies:[Yr],styles:["*[_ngcontent-%COMP%]{margin:0;padding:0}.location-card[_ngcontent-%COMP%]{display:flex;padding:5px 5px 10px;flex-direction:column;align-items:flex-start;gap:12px;background:var(--definitions-colors-background-50);border:none;width:100%}.location-card[_ngcontent-%COMP%]:hover{cursor:pointer}.card-image[_ngcontent-%COMP%]{min-width:227px;min-height:227px;overflow:hidden;position:relative}@container mapvx-container (width <= 640px){.card-image[_ngcontent-%COMP%]{min-width:160px;min-height:160px}}.card-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;aspect-ratio:1/1;object-fit:cover;display:block;transition:transform .4s ease}.card-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:hover{transform:scale(1.2)}.card-image[_ngcontent-%COMP%] .card-deals-or-events[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;width:100%;background-color:var(--definitions-colors-secondary-orange);color:var(--definitions-colors-text-white);display:flex;padding:5px;justify-content:center;align-items:center;gap:8.462px;flex-shrink:0;font:var(--definitions-textFonts-desktop-body-4);font-family:inherit}.card-image.loading[_ngcontent-%COMP%]{background-color:var(--definitions-colors-primary-300);display:flex;justify-content:center;align-items:center}.card-image.loading[_ngcontent-%COMP%] .loading-icon[_ngcontent-%COMP%]{color:var(--definitions-colors-primary-600);font-size:100px}.card-image.loading[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:none}.card-content[_ngcontent-%COMP%]{display:flex;width:227px;flex-direction:column;align-items:flex-start;gap:8px}@container mapvx-container (width <= 640px){.card-content[_ngcontent-%COMP%]{width:160px}}.location-name[_ngcontent-%COMP%]{color:var(--definitions-colors-text-black);font:var(--definitions-textFonts-desktop-body-3);font-family:inherit;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;text-align:start}.location-address[_ngcontent-%COMP%]{color:var(--definitions-colors-text-grey);font:var(--definitions-textFonts-desktop-body-5);font-family:inherit;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;text-align:start}.location-category[_ngcontent-%COMP%]{color:var(--definitions-colors-text-light-grey);font:var(--definitions-textFonts-desktop-body-5);font-family:inherit;display:none}"],changeDetection:0})};var yG=["cardContainer"],vG=["*"];function _G(n,r){if(n&1&&$t(0,"app-location-card",3),n&2){let i=r.$implicit;Zt("place",i)}}function bG(n,r){n&1&&Tu(0)}function wG(n,r){if(n&1){let i=wi();gt(0,"button",7),xn("click",function(){Wr(i);let d=pn(3);return Zr(d.previousPage())}),$t(1,"fa-icon",8),_t()}if(n&2){let i=pn(3);bt(),Zt("icon",i.faChevronLeft)}}function xG(n,r){if(n&1&&gr(0,wG,2,1,"button",6),n&2){let i=pn().$implicit,c=pn();yr(i<c.currentPageIndex()?0:-1)}}function CG(n,r){n&1&&(gt(0,"button",9),bn(1,"..."),_t())}function SG(n,r){if(n&1){let i=wi();gt(0,"button",11),xn("click",function(){Wr(i);let d=pn(3);return Zr(d.nextPage())}),$t(1,"fa-icon",8),_t()}if(n&2){let i=pn(3);bt(),Zt("icon",i.faChevronRight)}}function EG(n,r){if(n&1&&(gr(0,CG,2,0,"button",9),gr(1,SG,2,1,"button",10)),n&2){let i=pn().$implicit,c=pn();yr(i<c.totalPages()?0:-1),bt(),yr(i>c.currentPageIndex()?1:-1)}}function DG(n,r){if(n&1){let i=wi();gr(0,xG,1,1),gt(1,"button",5),xn("click",function(){let d=Wr(i).$implicit,a=pn();return Zr(a.goToPage(d))}),bn(2),_t(),gr(3,EG,2,2)}if(n&2){let i=r.$implicit,c=r.$index,d=r.$count,a=pn();yr(c===0?0:-1),bt(),xi("active",a.currentPageIndex()===i),bt(),is(" ",i," "),bt(),yr(c===d-1?3:-1)}}var am=class n{stateService=Ve(Ni);iconLibrary=Ve(_r);cardContainer=e0("cardContainer");faChevronLeft=this.iconLibrary.getIconDefinition("fas","chevron-left");faChevronRight=this.iconLibrary.getIconDefinition("fas","chevron-right");places=Nr.required();itemsPerPage=Tn(()=>this.calculateItemsPerPage(this.showMap(),this.cardContainer()));currentPageIndex=Tn(()=>this.stateService.currentPageIndex());totalPages=Tn(()=>Math.ceil(this.places().length/this.itemsPerPage()));pages=Tn(()=>{let r=this.totalPages();switch(r){case 0:return[];case 1:return[1];case 2:return[1,2];default:{let c=this.currentPageIndex()-1;return c<1&&(c=1),c+2>r&&(c=r-2),Array.from({length:3},(d,a)=>a+c)}}});currentPagePlaces=Tn(()=>{let r=this.places(),i=this.itemsPerPage(),c=this.currentPageIndex();return r.slice((c-1)*i,c*i)});showMap=Tn(()=>this.stateService.activeView()==="map");calculateItemsPerPage(r,i){if(r)return 4;if(i){let c=globalThis.getComputedStyle(i.nativeElement),d=Number.parseInt(c.getPropertyValue("--card-width")||"0"),a=Number.parseInt(c.getPropertyValue("--card-gap")||"0"),w=d+a,P=i.nativeElement.clientWidth;return Math.floor((P+a)/w)*2||10}return 10}nextPage(){let r=this.currentPageIndex(),i=this.totalPages();r<i&&this.stateService.currentPageIndex.set(r+1)}previousPage(){let r=this.currentPageIndex();r>1&&this.stateService.currentPageIndex.set(r-1)}goToPage(r){this.stateService.currentPageIndex.set(r)}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-paginator"]],viewQuery:function(i,c){i&1&&Vg(c.cardContainer,yG,5),i&2&&Ug()},inputs:{places:[1,"places"]},ngContentSelectors:vG,decls:9,vars:5,consts:[["cardContainer",""],[1,"paginator"],[1,"paginator-places"],[3,"place"],[1,"paginator-buttons"],[1,"paginator-button",3,"click"],[1,"previous-button"],[1,"previous-button",3,"click"],[3,"icon"],[1,"paginator-button","ellipsis"],[1,"next-button"],[1,"next-button",3,"click"]],template:function(i,c){i&1&&(Iu(),gt(0,"div",1)(1,"div",2,0),ns(3,_G,1,1,"app-location-card",3,rl,!1,bG,1,0),_t(),gt(6,"div",4),ns(7,DG,4,5,null,null,tf),_t()()),i&2&&(xi("with-map",c.showMap()),bt(),xi("with-map",c.showMap()),bt(2),rs(c.currentPagePlaces()),bt(4),rs(c.pages()))},dependencies:[o1,Yr],styles:['.paginator[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:36px}.paginator.with-map[_ngcontent-%COMP%]{height:730px}@container mapvx-container (width <= 1024px){.paginator.with-map[_ngcontent-%COMP%]{height:unset}}.paginator-places[_ngcontent-%COMP%]{--card-width: 237;--card-gap: 13;display:grid;grid-template-columns:repeat(auto-fill,minmax(237px,1fr));align-items:flex-start;place-content:flex-start space-around;gap:24px 13px;align-self:stretch}@container mapvx-container (width <= 640px){.paginator-places[_ngcontent-%COMP%]{--card-width: 170;grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}}.paginator-places.with-map[_ngcontent-%COMP%]{gap:16px 8px;flex-shrink:0}@container mapvx-container (width <= 1024px){.paginator-places.with-map[_ngcontent-%COMP%]{display:flex;overflow-x:auto}}.paginator-buttons[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap}.paginator-button[_ngcontent-%COMP%]{color:var(--definitions-colors-text-900);text-align:center;font:var(--definitions-textFonts-desktop-button-1);font-family:inherit;font-feature-settings:"liga" off,"clig" off;letter-spacing:-1px;border:none;background:none}.paginator-button[_ngcontent-%COMP%]:hover{cursor:pointer}.paginator-button.active[_ngcontent-%COMP%]{color:var(--definitions-colors-secondary-orange)}.paginator-button.ellipsis[_ngcontent-%COMP%]:hover{cursor:default}.previous-button[_ngcontent-%COMP%], .next-button[_ngcontent-%COMP%]{color:var(--definitions-colors-text-900);background:none;border:none;font-size:21px}.previous-button[_ngcontent-%COMP%]:hover, .next-button[_ngcontent-%COMP%]:hover{cursor:pointer}'],changeDetection:0})};var s1=class n{onDestroy=new Lr;iconLibrary=Ve(_r);mapService=Ve(bo);logger=Ve(dr);loadedDataService=Ve(Uo);faCenter=this.iconLibrary.getIconDefinition("fak","center");ngOnDestroy(){this.onDestroy.next(),this.onDestroy.complete()}onClick(){let r=this.mapService.rotation.getValue();this.loadedDataService.getConfiguration().pipe(ra(1),Ms(this.onDestroy)).subscribe({next:i=>{this.mapService.updateCamera({center:i.initialCenter,zoom:i.initialZoom,pitch:i.initialPitch??0,bearing:r})},error:i=>{this.logger.logWarning("Error centering map",i)}})}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-center-map-button"]],decls:2,vars:1,consts:[[1,"button",3,"click"],[3,"icon"]],template:function(i,c){i&1&&(gt(0,"button",0),xn("click",function(){return c.onClick()}),$t(1,"fa-icon",1),_t()),i&2&&(bt(),Zt("icon",c.faCenter))},dependencies:[Yr],styles:[".button[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:40px;border:1px solid var(--definitions-colors-primary-900);background-color:var(--definitions-colors-background-white);box-shadow:var(--definitions-shadows-general)}.button[_ngcontent-%COMP%]:hover{cursor:pointer}.button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:20px;color:var(--definitions-colors-text-black)}"],changeDetection:0})};var IG=n=>({rotate:n}),a1=class n{mapService=Ve(bo);iconLibrary=Ve(_r);rotation=$o(this.mapService.rotation.asObservable().pipe(Hn(r=>360-r)),{initialValue:0});faCompass=this.iconLibrary.getIconDefinition("fak","compass");static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-compass-button"]],decls:2,vars:4,consts:[[1,"button"],[3,"icon","transform"]],template:function(i,c){i&1&&(gt(0,"button",0),$t(1,"fa-icon",1),_t()),i&2&&(bt(),Zt("icon",c.faCompass)("transform",Sx(2,IG,c.rotation())))},dependencies:[Yr],styles:[".button[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:40px;border:1px solid var(--definitions-colors-primary-900);background-color:var(--definitions-colors-background-white);box-shadow:var(--definitions-shadows-general)}.button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:20px;color:var(--definitions-colors-text-black)}"],changeDetection:0})};var l1=class n{iconLibrary=Ve(_r);locationService=Ve(Bd);logger=Ve(dr);markerService=Ve(ws);mapService=Ve(bo);locationPermission=Jn("prompt");active=Tn(()=>this.locationService.currentlyWatchingLocation());mapReady=$o(this.mapService.mapReady.asObservable(),{initialValue:!1});positionSubscription;bearingSubscription;faLocation=this.iconLibrary.getIconDefinition("fas","location-arrow");constructor(){this.checkLocationPermission(),vr(()=>{this.mapReady()?this.active()?(this.positionSubscription=this.locationService.currentLocation.asObservable().subscribe({next:r=>{this.logger.log("location",r),r!=null&&(this.markerService.hasCurrentLocationMarker?this.markerService.updateCurrentLocationMarker(r.position):this.markerService.addCurrentLocationMarker(r.position))},error:r=>{this.logger.logWarning("Error updating current location marker position",r)}}),this.bearingSubscription=Ka([this.locationService.currentBearing.asObservable(),this.mapService.rotation.asObservable()]).subscribe({next:([r,i])=>{this.logger.log("bearing",r),this.logger.log("maprotation",i);let d=(r??0)-i;if(this.logger.log("markerRotation",d),this.markerService.hasCurrentLocationMarker){let a=this.markerService.getCurrentLocationMarkerElement();a!=null&&(a.style.transform=`rotate(${d}deg)`)}},error:r=>{this.logger.logWarning("Error updating current location marker rotation",r)}})):(this.positionSubscription?.unsubscribe(),this.bearingSubscription?.unsubscribe(),this.markerService.removeCurrentLocationMarker(),this.positionSubscription=void 0,this.bearingSubscription=void 0):(this.positionSubscription?.unsubscribe(),this.bearingSubscription?.unsubscribe(),this.positionSubscription=void 0,this.bearingSubscription=void 0)})}ngOnDestroy(){this.locationService.temporalStopWatching(),this.positionSubscription?.unsubscribe(),this.bearingSubscription?.unsubscribe(),this.markerService.removeCurrentLocationMarker()}checkLocationPermission(){this.locationService.checkLocationPermission().then(r=>{this.locationPermission.set(r),r==="granted"&&this.active()&&this.locationService.startWatching()}).catch(r=>{this.logger.logWarning("Error checking location permission",r),this.locationPermission.set("denied")})}async onClick(){if(this.active())this.locationService.stopWatching();else switch(this.locationPermission()){case"granted":this.locationService.startWatching();break;case"prompt":await this.requestPermissions();break;case"denied":this.logger.logWarning("Location permission denied");break}}async requestPermissions(){await this.locationService.requestLocationPermission()==="granted"?(this.locationPermission.set("granted"),this.locationService.startWatching()):this.locationPermission.set("denied")}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-location-button"]],decls:2,vars:3,consts:[[1,"button",3,"click"],[3,"icon"]],template:function(i,c){i&1&&(gt(0,"button",0),xn("click",function(){return c.onClick()}),$t(1,"fa-icon",1),_t()),i&2&&(xi("active",c.active()),bt(),Zt("icon",c.faLocation))},dependencies:[Yr],styles:[".button[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:40px;border:1px solid var(--definitions-colors-primary-900);background-color:var(--definitions-colors-background-white);color:var(--definitions-colors-text-black);box-shadow:var(--definitions-shadows-general)}.button[_ngcontent-%COMP%]:hover{cursor:pointer}.button.active[_ngcontent-%COMP%]{background-color:var(--definitions-colors-secondary-blue);color:var(--definitions-colors-text-white);border-color:var(--definitions-colors-secondary-blue)}.button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:18px}"],changeDetection:0})};var c1=class n{mapService=Ve(bo);iconLibrary=Ve(_r);faPlus=this.iconLibrary.getIconDefinition("fas","plus");faMinus=this.iconLibrary.getIconDefinition("fas","minus");onZoomIn(){this.mapService.updateZoomLevelOn(1)}onZoomOut(){this.mapService.updateZoomLevelOn(-1)}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-zoom-buttons"]],decls:5,vars:2,consts:[[1,"zoom-buttons-container"],[1,"zoom-button","zoom-in",3,"click"],[3,"icon"],[1,"zoom-button","zoom-out",3,"click"]],template:function(i,c){i&1&&(gt(0,"div",0)(1,"button",1),xn("click",function(){return c.onZoomIn()}),$t(2,"fa-icon",2),_t(),gt(3,"button",3),xn("click",function(){return c.onZoomOut()}),$t(4,"fa-icon",2),_t()()),i&2&&(bt(2),Zt("icon",c.faPlus),bt(2),Zt("icon",c.faMinus))},dependencies:[Yr],styles:[".zoom-buttons-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;border-radius:40px;border:1px solid var(--definitions-colors-primary-900);background-color:var(--definitions-colors-background-white);box-shadow:var(--definitions-shadows-general)}.zoom-button[_ngcontent-%COMP%]{width:40px;height:40px;border:none;background-color:transparent}.zoom-button[_ngcontent-%COMP%]:hover{cursor:pointer}.zoom-button.zoom-in[_ngcontent-%COMP%]{border-radius:40px 40px 0 0}.zoom-button.zoom-out[_ngcontent-%COMP%]{border-radius:0 0 40px 40px}.zoom-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:20px;color:var(--definitions-colors-text-black)}"],changeDetection:0})};var u1=class n{static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-buttons-container"]],decls:5,vars:0,consts:[[1,"buttons-container-wrapper"]],template:function(i,c){i&1&&(gt(0,"div",0),$t(1,"app-location-button")(2,"app-compass-button")(3,"app-center-map-button")(4,"app-zoom-buttons"),_t())},dependencies:[a1,s1,c1,l1],styles:[".buttons-container-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:20px}"],changeDetection:0})};var TG=["map"],MG=["*"],Vd=class n{mapRef;logger=Ve(dr);mapService=Ve(bo);markerService=Ve(ws);routingService=Ve(Dc);ngAfterViewInit(){this.mapService.createMap(this.mapRef.nativeElement)}ngOnDestroy(){this.logger.log("Destroying map and preparing to reuse"),this.markerService.prepareToMapReuse(),this.routingService.removeRoute(),this.mapService.prepareToReuse()}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-map"]],viewQuery:function(i,c){if(i&1&&zg(TG,5),i&2){let d;jg(d=Bg())&&(c.mapRef=d.first)}},ngContentSelectors:MG,decls:5,vars:0,consts:[["map",""],[1,"map-wrapper"],["id","map"],[1,"buttons-container"]],template:function(i,c){i&1&&(Iu(),gt(0,"div",1),$t(1,"div",2,0)(3,"app-buttons-container",3),Tu(4),_t())},dependencies:[u1],styles:[".map-wrapper[_ngcontent-%COMP%]{height:100%;width:100%;position:relative}#map[_ngcontent-%COMP%]{height:100%;min-width:10px;min-height:10px}.buttons-container[_ngcontent-%COMP%]{position:absolute;bottom:18px;right:17px}"],changeDetection:0})};var PG=["*"];function AG(n,r){n&1&&(gt(0,"div",2),$t(1,"app-map"),_t())}var lm=class n{stateService=Ve(Ni);showMap=Tn(()=>this.stateService.activeView()==="map");static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-view-container"]],ngContentSelectors:PG,decls:4,vars:3,consts:[[1,"view-container"],[1,"view-content"],[1,"map-container"]],template:function(i,c){i&1&&(Iu(),gt(0,"div",0)(1,"div",1),Tu(2),_t(),gr(3,AG,2,0,"div",2),_t()),i&2&&(bt(),xi("with-map",c.showMap()),bt(2),yr(c.showMap()?3:-1))},dependencies:[Vd],styles:[".view-container[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:8px}@container mapvx-container (width <= 1024px){.view-container[_ngcontent-%COMP%]{flex-direction:column-reverse}}@container mapvx-container (width <= 640px){.view-container[_ngcontent-%COMP%]{flex-direction:column-reverse}}.view-content[_ngcontent-%COMP%]{width:100%}.view-content.with-map[_ngcontent-%COMP%]{width:482px;flex-shrink:0}@container mapvx-container (width <= 1024px){.view-content.with-map[_ngcontent-%COMP%]{width:100%}}.map-container[_ngcontent-%COMP%]{width:100%;height:730px}@container mapvx-container (width <= 1024px){.map-container[_ngcontent-%COMP%]{width:100%}}@container mapvx-container (width <= 640px){.map-container[_ngcontent-%COMP%]{width:100%;height:400px}}"],changeDetection:0})};var kG=["categoryFilters"],RG=(n,r)=>r.name;function OG(n,r){if(n&1){let i=wi();gt(0,"button",11),xn("click",function(){let d=Wr(i).$implicit,a=pn(2);return Zr(a.updateSelectedFilter(d.name))}),bn(1),_t()}if(n&2){let i=r.$implicit,c=pn(2);xi("active",c.selectedFilter()===i.name),bt(),is(" ",i.name," ")}}function LG(n,r){if(n&1&&(gt(0,"div",2)(1,"div",5,0)(3,"div",6),ns(4,OG,2,3,"button",7,RG),_t(),gt(6,"div",8),$t(7,"div",9)(8,"div",10),_t()()()),n&2){let i=pn();bt(4),rs(i.categoryFiltersData()),bt(4),Y_("left",i.indicatorPosition(),"px")}}var d1=class n{logger=Ve(dr);stateService=Ve(Ni);loadedDataService=Ve(Uo);markerService=Ve(ws);categoryFilters=e0("categoryFilters");activeView=Tn(()=>this.stateService.activeView());loadedPlaces=$o(this.loadedDataService.getAvailablePlaces(),{initialValue:[]});categoryFiltersData=Tn(()=>this.stateService.categoryFiltersData());places=_s(()=>this.loadedPlaces());selectedFilter=Tn(()=>this.stateService.selectedFilter());selectedCity=Tn(()=>this.stateService.selectedCity());showCategoryFilters=Tn(()=>this.stateService.showCategoryFilters());showCityFilter=Tn(()=>this.stateService.showCityFilter());indicatorPosition=Jn(0);constructor(){vr(()=>{let r=this.categoryFiltersData();if(this.logger.log("====> loadedCategoryFiltersData",r),r.length>0){let i=r.map(c=>c.name);this.readFilterFromUrl(i)}}),vr(()=>{if(this.activeView()==="map"){let r=this.places();this.logger.log("====> addMarkers ",r),this.markerService.addMarkers(r)}}),vr(()=>{let r=this.loadedPlaces(),i=this.showCategoryFilters(),c=r;if(i){let a=this.selectedFilter(),w=this.categoryFiltersData();if(a!=="All"){let P=w.find(k=>k.name===a)?.placeData||[];c=r.filter(k=>P.includes(k.lazarilloId))}}if(this.showCityFilter()){let a=this.selectedCity();a!=="All cities"&&(c=c.filter(w=>w.address?.includes(a)))}this.logger.log("====> filteredPlaces",c),this.places.set(c)}),vr(()=>{let r=this.places();this.stateService.lastListedPlaces.set(r)}),vr(()=>{let r=this.selectedFilter(),i=this.categoryFiltersData(),c=this.categoryFilters();this.showCategoryFilters()&&c?requestAnimationFrame(()=>{let a=this.getIndicatorPosition(r,i,c);this.indicatorPosition.set(a)}):this.indicatorPosition.set(0)})}readFilterFromUrl(r){let c=new URLSearchParams(location.search).get("tab");c&&r.includes(c)&&this.stateService.selectedFilter.set(c)}getIndicatorPosition(r,i,c){if(c==null)return 0;let d=c.nativeElement.querySelectorAll(".category-btn");if(d.length===0)return 0;let a=i.findIndex(X=>X.name===r);if(a===-1||a>=d.length)return 0;let w=d[a];if(!w)return 0;let P=c.nativeElement.getBoundingClientRect(),k=w.getBoundingClientRect(),q=k.width,J=k.left-P.left,Z=80,Q=J+q/2-Z/2;return Math.min(Math.max(0,Q),P.width-Z)}updateSelectedFilter(r){this.stateService.selectedFilter.set(r),this.stateService.userAction.next({type:"select-filter",data:{filter:r}})}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-list-view"]],viewQuery:function(i,c){i&1&&Vg(c.categoryFilters,kG,5),i&2&&Ug()},decls:5,vars:2,consts:[["categoryFilters",""],[1,"list-view"],[1,"category-filters-overflow"],[1,"list-container"],[3,"places"],[1,"category-filters-container"],[1,"category-filters"],[1,"category-btn",3,"active"],[1,"active-indicator"],[1,"background-line"],[1,"active-line"],[1,"category-btn",3,"click"]],template:function(i,c){i&1&&(gt(0,"div",1),gr(1,LG,9,2,"div",2),gt(2,"app-view-container")(3,"div",3),$t(4,"app-paginator",4),_t()()()),i&2&&(bt(),yr(c.showCategoryFilters()?1:-1),bt(3),Zt("places",c.places()))},dependencies:[lm,am],styles:[".list-view[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:36px}.category-filters-overflow[_ngcontent-%COMP%]{width:100%;overflow-x:auto}.category-filters-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;gap:16px;width:100%;min-width:max-content}.category-filters[_ngcontent-%COMP%]{display:flex;gap:2.4375rem;align-items:center}.category-btn[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;font:var(--definitions-textFonts-desktop-button-5);font-family:inherit;font-weight:400;color:var(--definitions-colors-text-900);white-space:nowrap;padding:0;transition:color .2s ease}.category-btn.active[_ngcontent-%COMP%], .category-btn[_ngcontent-%COMP%]:hover{color:var(--definitions-colors-secondary-orange)}.active-indicator[_ngcontent-%COMP%]{position:relative;width:100%;height:3px;display:flex;align-items:center}.background-line[_ngcontent-%COMP%]{height:.5px;background:var(--definitions-colors-primary-black);border-radius:2px;width:100%}.active-line[_ngcontent-%COMP%]{position:absolute;top:0;height:100%;width:80px;background:var(--definitions-colors-secondary-orange);border-radius:2px;transition:left .3s ease}.list-container[_ngcontent-%COMP%]{width:100%}"],changeDetection:0})};var FG=()=>({rotate:42}),h1=class n{iconLibrary=Ve(_r);faCircleNotch=this.iconLibrary.getIconDefinition("fas","circle-notch");static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-loading-location-card"]],decls:7,vars:3,consts:[[1,"loading-location-card"],[1,"loading-card-image"],[3,"icon","transform"],[1,"loading-card-content"],[1,"loading-location-name"],[1,"loading-location-address"],[1,"loading-location-category"]],template:function(i,c){i&1&&(gt(0,"div",0)(1,"div",1),$t(2,"fa-icon",2),_t(),gt(3,"div",3),$t(4,"div",4)(5,"div",5)(6,"div",6),_t()()),i&2&&(bt(2),Zt("icon",c.faCircleNotch)("transform",Mu(2,FG)))},dependencies:[Yr],styles:[".loading-location-card[_ngcontent-%COMP%]{display:flex;padding:5px 5px 10px;flex-direction:column;align-items:flex-start;gap:12px}.loading-card-image[_ngcontent-%COMP%]{display:flex;width:227px;height:227px;justify-content:center;align-items:center;background-color:var(--definitions-colors-primary-300)}@container mapvx-container (width <= 640px){.loading-card-image[_ngcontent-%COMP%]{width:160px;height:160px}}.loading-card-image[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{color:var(--definitions-colors-primary-600);font-size:95px}.loading-card-content[_ngcontent-%COMP%]{display:flex;width:227px;flex-direction:column;align-items:flex-start;gap:8px}@container mapvx-container (width <= 640px){.loading-card-content[_ngcontent-%COMP%]{width:160px}}.loading-location-name[_ngcontent-%COMP%]{display:flex;width:85%;height:24px;padding:7.253px 0;flex-direction:column;justify-content:center;align-items:center;border-radius:28.09px;background:var(--definitions-colors-primary-300)}.loading-location-address[_ngcontent-%COMP%]{display:flex;width:70%;height:11px;align-items:center;gap:18px;flex-shrink:0;align-self:stretch;border-radius:28.09px;background:var(--definitions-colors-primary-200)}.loading-location-category[_ngcontent-%COMP%]{display:flex;width:45%;height:11px;justify-content:space-between;align-items:center;border-radius:24px;background:var(--definitions-colors-primary-200)}"]})};var NG=()=>[1,2,3,4,5,6,7,8,9,10];function zG(n,r){n&1&&$t(0,"app-loading-location-card")}var f1=class n{homeStateService=Ve(Ni);showMap=Tn(()=>this.homeStateService.activeView()==="map");static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-loading-card-list"]],decls:3,vars:3,consts:[[1,"loading-container"]],template:function(i,c){i&1&&(gt(0,"div",0),ns(1,zG,1,0,"app-loading-location-card",null,tf),_t()),i&2&&(xi("with-map",c.showMap()),bt(),rs(Mu(2,NG)))},dependencies:[h1],styles:[".loading-container[_ngcontent-%COMP%]{display:flex;place-content:flex-start;align-items:flex-start;gap:24px 13px;align-self:stretch;flex-wrap:wrap}.loading-container.with-map[_ngcontent-%COMP%]{gap:16px 8px;height:730px}"]})};function jG(n,r){n&1&&(gt(0,"p"),bn(1,"Looking for your results..."),_t())}function BG(n,r){if(n&1&&(gt(0,"p"),bn(1),_t()),n&2){let i=pn(3);bt(),is('Showing 1 result for "',i.searchTerm(),'"')}}function VG(n,r){if(n&1&&(gt(0,"p"),bn(1),_t()),n&2){let i=pn(3);bt(),X_("Showing ",i.places().length,' results for "',i.searchTerm(),'"')}}function UG(n,r){if(n&1&&gr(0,BG,2,1,"p")(1,VG,2,2,"p"),n&2){let i=pn(2);yr(i.places().length===1?0:1)}}function $G(n,r){if(n&1&&(gt(0,"p"),bn(1),_t()),n&2){let i=pn(2);bt(),is('No results found for "',i.searchTerm(),'"')}}function GG(n,r){if(n&1&&gr(0,UG,2,1)(1,$G,2,1,"p"),n&2){let i=pn();yr(i.places().length>0?0:1)}}function HG(n,r){n&1&&$t(0,"app-loading-card-list")}function qG(n,r){if(n&1&&(gt(0,"div",6)(1,"app-paginator",7)(2,"div",8),$t(3,"fa-icon",4),gt(4,"h2"),bn(5,"No results found"),_t(),gt(6,"div",9)(7,"p"),bn(8,"Sorry, we can\u2019t find any places that match your search. Please try again."),_t()()()()()),n&2){let i=pn();bt(),Zt("places",i.places()),bt(2),Zt("icon",i.faBuildingMagnifyingGlass)}}var p1=class n{logger=Ve(dr);loadedDataService=Ve(Uo);sdkService=Ve(xa);stateService=Ve(Ni);navigatorService=Ve(os);markerService=Ve(ws);iconLibrary=Ve(_r);searching=_s(()=>this.stateService.lastSearchData().term==="");inputValue$=hS(this.stateService.inputValue).pipe($b(500),Hn(r=>r.trim()),vo(r=>r!==""),Gb());searchTerm=$o(this.inputValue$,{initialValue:this.stateService.lastSearchData().term});places=$o(Ka([this.loadedDataService.getInstitutionId(),this.inputValue$,hS(this.stateService.lastSearchData)]).pipe(To(([r,i,c])=>c.term===i?(this.logger.log("====> lastSearchData",c),this.searching.set(!1),jn(c.results)):(this.searching.set(!0),this.logger.log("====> searchTerm",i),this.logger.log("====> institutionId",r),Pi(this.sdkService.searchPlaces(i,r)))),Mo(()=>this.searching.set(!1))),{initialValue:this.stateService.lastSearchData().results});faArrowLeft=this.iconLibrary.getIconDefinition("fas","arrow-left");faBuildingMagnifyingGlass=this.iconLibrary.getIconDefinition("fas","building-magnifying-glass");constructor(){vr(()=>{let r=this.places();this.markerService.addMarkers(r)}),vr(()=>{let r=this.places();this.stateService.lastListedPlaces.set(r)}),vr(()=>{let r=this.searching();this.logger.log("====> searching",r)}),vr(()=>{let r=this.searchTerm();r&&this.stateService.userAction.next({type:"search",data:{searchTerm:r}})})}ngOnDestroy(){this.stateService.inputValue()===""?(this.logger.log("====> EMPTY_SEARCH_DATA"),this.stateService.lastSearchData.set(Q0)):(this.logger.log("====> SETTING LAST SEARCH DATA"),this.stateService.lastSearchData.set({term:this.stateService.inputValue(),results:this.places()}))}onBackClick(){this.stateService.inputValue.set(""),this.stateService.userAction.next({type:"return-to-home",data:{filter:this.stateService.selectedFilter()}}),this.navigatorService.navigateToHome()}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-search-view"]],decls:13,vars:3,consts:[[1,"search-view"],[1,"search-view-header"],[1,"back-button"],[1,"back-btn",3,"click"],[3,"icon"],[1,"search-view-info"],[1,"results-container"],[3,"places"],[1,"no-results"],[1,"no-results-description"]],template:function(i,c){i&1&&(gt(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),xn("click",function(){return c.onBackClick()}),$t(4,"fa-icon",4),gt(5,"span"),bn(6,"Back"),_t()()(),gt(7,"div",5),gr(8,jG,2,0,"p")(9,GG,2,1),_t()(),gt(10,"app-view-container"),gr(11,HG,1,0,"app-loading-card-list")(12,qG,9,2,"div",6),_t()()),i&2&&(bt(4),Zt("icon",c.faArrowLeft),bt(4),yr(c.searching()?8:9),bt(3),yr(c.searching()?11:12))},dependencies:[lm,am,S0,Yr,f1],styles:['*[_ngcontent-%COMP%]{margin:0;padding:0}.search-view[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:36px}.search-view-header[_ngcontent-%COMP%]{display:flex;width:100%;flex-direction:column;justify-content:center;align-items:flex-start;gap:23px}.search-view-info[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--definitions-colors-text-800);font:var(--definitions-textFonts-desktop-sub-2);font-family:inherit;letter-spacing:-.9px}.results-container[_ngcontent-%COMP%]{width:100%}.back-button[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;gap:16px}.back-btn[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;gap:12px;color:var(--definitions-colors-secondary-blue);border:none;background:none}.back-btn[_ngcontent-%COMP%]:hover{cursor:pointer}.back-btn[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:24px}.back-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--definitions-colors-secondary-blue);font:var(--definitions-textFonts-desktop-button-1);font-family:inherit;font-feature-settings:"liga" off,"clig" off;letter-spacing:-1px}.no-results[_ngcontent-%COMP%]{display:flex;width:100%;height:100%;flex-direction:column;justify-content:center;align-items:center;gap:31px}.no-results[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:160px;color:var(--definitions-colors-text-light-grey)}.no-results[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:var(--definitions-colors-text-grey);font:var(--definitions-textFonts-desktop-h2);font-family:inherit}.no-results[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--definitions-colors-text-grey);font:var(--definitions-textFonts-desktop-sub-1);font-family:inherit;text-align:center}'],changeDetection:0})};function m1(n){switch(n){case"su":return"Sunday";case"mo":return"Monday";case"tu":return"Tuesday";case"we":return"Wednesday";case"th":return"Thursday";case"fr":return"Friday";case"sa":return"Saturday"}}function y1(n){switch(n.getDay()){case 0:return"su";case 1:return"mo";case 2:return"tu";case 3:return"we";case 4:return"th";case 5:return"fr";case 6:return"sa";default:return"mo"}}function WG(n){switch(n){case 0:return"su";case 1:return"mo";case 2:return"tu";case 3:return"we";case 4:return"th";case 5:return"fr";case 6:return"sa";default:return"mo"}}function g1(n){let[r,i]=n.split(":"),c=parseInt(r)%24,d=parseInt(i),a;return c<12?(a="AM",c===0&&(c=12)):(a="PM",c!==12&&(c-=12)),`${c}:${d<10?"0":""}${d} ${a}`}function ER(n){let r=g1(n.open),i=g1(n.close);return`${r} - ${i}`}function ZG(n){let r=g1(n.open),i=g1(n.close);return`${r} to ${i}`}function YG(n){let r=new Date,i=new Date(r);DR(i);let c=y1(i),d=n[c];if(d&&d.length>0){for(let a of d)if(CR(a.open)&&CR(a.close)){let w=SR(a.open,i),P=SR(a.close,i);if(w>P&&XG(P),r>=w&&r<=P)return!0}}return!1}function DR(n){let r=n.getDate();n.setDate(r-1)}function XG(n){let r=n.getDate();n.setDate(r+1)}function KG(n){let i=y1(new Date),c=n[i];return c&&c.length>0}function CR(n){return/^([0-9]|0[0-9]|1[0-9]|2[0-4]):[0-5][0-9]$/.test(n)}function SR(n,r){let[i,c]=n.split(":").map(Number),d=r?new Date(r):new Date;return new Date(d.getFullYear(),d.getMonth(),d.getDate(),i,c,0,0)}function JG(n){return n.sort((r,i)=>r.open.localeCompare(i.open))}function QG(n){let i=y1(new Date),c=n[i];return c&&c.length>0?IR(c):""}function eH(n){let r=new Date;DR(r);let i=y1(r),c=n[i];return c&&c.length>0?IR(c):""}function tH(n){let r=nH(n);return`Open on ${m1(r)}`}function IR(n){return n.length===1?ER(n[0]):(JG(n),n.map(ZG).join(" - "))}function nH(n){let i=new Date().getDay();for(let c=0;c<7;c++){let d=(i+c)%7,a=WG(d),w=n[a];if(w&&w.length>0)return a}return"mo"}function TR(n){return YG(n)?eH(n):KG(n)?QG(n):tH(n)}function MR(n){let r=["mo","tu","we","th","fr","sa","su"],i=P=>{let k=n[P];return!k||k.length===0?["Closed"]:k.map(q=>ER(q))},c=(P,k)=>P.length!==k.length?!1:P.every((q,J)=>q===k[J]),d=(P,k)=>P===k?m1(P):`${m1(P)} - ${m1(k)}`,a=[],w=0;for(;w<r.length;){let P=r[w],k=i(P),q=w+1;for(;q<r.length&&c(k,i(r[q]));)q++;let J=d(P,r[q-1]);a.push({day:J,schedule:k}),w=q}if(a.length>1){let P=a[0],k=a[a.length-1];if(c(P.schedule,k.schedule)){let q=P.day.split(" - "),Z=k.day.split(" - ")[0],Q=q.length>1?q[1]:q[0],X=`${Z} - ${Q}`;a[0]={day:X,schedule:P.schedule},a.pop()}}return a}function rH(n,r){if(n&1&&$t(0,"div",9),n&2){let i=r.$implicit;Zt("innerHTML",i,Pd)}}function iH(n,r){if(n&1&&(gt(0,"div",6)(1,"div",7),bn(2),_t(),gt(3,"div",8),ns(4,rH,1,1,"div",9,rl),_t()()),n&2){let i=r.$implicit;bt(2),ks(i.day),bt(2),rs(i.schedule)}}var v1=class n{iconLibrary=Ve(_r);schedules=Nr.required({transform:r=>r?MR(r):[]});closeClicked=Ws();faClockThree=this.iconLibrary.getIconDefinition("fas","clock-three");faXmark=this.iconLibrary.getIconDefinition("fas","xmark");hideModal(){this.closeClicked.emit()}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-other-schedules"]],inputs:{schedules:[1,"schedules"]},outputs:{closeClicked:"closeClicked"},decls:11,vars:2,consts:[[1,"other-schedules-container"],[1,"other-schedules-header"],[1,"other-schedules-title"],[3,"icon"],[1,"close-button",3,"click"],[1,"schedules"],[1,"schedule"],[1,"schedule-day"],[1,"schedule-time"],[1,"schedule-time-item",3,"innerHTML"]],template:function(i,c){i&1&&(gt(0,"div",0)(1,"div",1)(2,"div",2),$t(3,"fa-icon",3),gt(4,"h2"),bn(5,"Other Schedules"),_t()(),gt(6,"button",4),xn("click",function(){return c.hideModal()}),$t(7,"fa-icon",3),_t()(),gt(8,"div",5),ns(9,iH,6,1,"div",6,rl),_t()()),i&2&&(bt(3),Zt("icon",c.faClockThree),bt(4),Zt("icon",c.faXmark),bt(2),rs(c.schedules()))},dependencies:[Yr],styles:[".other-schedules-container[_ngcontent-%COMP%]{padding:16px;background-color:var(--definitions-colors-background-50);box-shadow:var(--definitions-shadows-general)}.other-schedules-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.other-schedules-title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}.other-schedules-title[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;color:var(--definitions-colors-text-900);font:var(--definitions-textFonts-desktop-sub-2);font-family:inherit}@container mapvx-container (width <= 640px){.other-schedules-title[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:16px}}.other-schedules-title[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{color:var(--definitions-colors-primary-600);font-size:32px}@container mapvx-container (width <= 640px){.other-schedules-title[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:20px}}.close-button[_ngcontent-%COMP%]{padding:0;background:none;border:none;cursor:pointer}.close-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:20px}.schedules[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px;background-color:#fff}.schedule[_ngcontent-%COMP%]{display:flex;gap:40px;align-items:center;justify-content:space-between}.schedule-times[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px}.schedule-time[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:end}.schedule-time-item[_ngcontent-%COMP%]{color:var(--definitions-colors-text-800);font:var(--definitions-textFonts-desktop-sub-5);font-family:inherit}@container mapvx-container (width <= 640px){.schedule-time-item[_ngcontent-%COMP%]{font-size:12px;font-weight:400}}"]})};var oH=()=>({rotate:42});function sH(n,r){if(n&1&&$t(0,"fa-icon",3),n&2){let i=pn();Zt("icon",i.faCircleNotch)("transform",Mu(2,oH))}}function aH(n,r){if(n&1){let i=wi();gt(0,"div",10),$t(1,"fa-icon",9),gt(2,"div",24)(3,"button",25),xn("click",function(){Wr(i);let d=pn();return Zr(d.showOtherSchedulesModal())}),_t(),gt(4,"div",26),bn(5,"*Hours may vary"),_t()()()}if(n&2){let i=pn();bt(),Zt("icon",i.faClockThree),bt(2),Zt("innerHTML",i.schedule(),Pd)}}function lH(n,r){if(n&1){let i=wi();gt(0,"div",11)(1,"app-other-schedules",27),xn("closeClicked",function(){Wr(i);let d=pn();return Zr(d.hideOtherSchedulesModal())}),_t()()}if(n&2){let i=pn();bt(),Zt("schedules",i.place().openingHours)}}function cH(n,r){if(n&1&&$t(0,"div",31),n&2){let i=r.$implicit;Zt("innerHTML",i,Pd)}}function uH(n,r){if(n&1&&(gt(0,"div",12)(1,"div",28),$t(2,"fa-icon",9),gt(3,"div",29),bn(4,"Deals + Events"),_t()(),gt(5,"div",30),ns(6,cH,1,1,"div",31,rl),_t()()),n&2){let i=pn();bt(2),Zt("icon",i.faBadgeDollar),bt(4),rs(i.banners())}}function dH(n,r){if(n&1&&(gt(0,"div",21),bn(1),_t()),n&2){let i=pn();bt(),is(" ",i.address()," ")}}function hH(n,r){if(n&1&&(gt(0,"div",22),bn(1),_t()),n&2){let i=r.$implicit;bt(),is(" ",i," ")}}function fH(n,r){if(n&1&&(gt(0,"div",23)(1,"a",18),bn(2),_t()()),n&2){let i=r.$implicit;bt(),Zt("href",i.url,Jh),bt(),ks(i.title)}}var _1=class n{iconLibrary=Ve(_r);sanitizer=Ve(Qg);logger=Ve(dr);navigatorService=Ve(os);stateService=Ve(Ni);place=Nr.required();hideDeals=Nr(!1);imageSrc=Tn(()=>this.place().images[0]||r1);isImageLoading=Jn(!0);schedule=Tn(()=>{let r=this.place().openingHours;return r?TR(r):""});banners=Tn(()=>this.place().banners.filter(i1).filter(r=>r.description!==void 0).map(r=>this.sanitizer.bypassSecurityTrustHtml(r.description||"")));address=Tn(()=>this.place().address||"");phones=Tn(()=>this.place().properties?.filter(r=>r.type==="phone").map(r=>this.formatPhoneNumber(r.subtitle))||[]);websites=Tn(()=>this.place().properties?.filter(r=>r.type==="url").map(this.prepareUrl)||[]);drivingDirectionsUrl=Tn(()=>{let r=this.place();return`https://waze.com/ul?ll=${r.position.lat},${r.position.lng}&navigate=yes`});otherSchedulesModal=Jn(!1);faCircleNotch=this.iconLibrary.getIconDefinition("fas","circle-notch");faBadgeDollar=this.iconLibrary.getIconDefinition("fas","badge-dollar");faClockThree=this.iconLibrary.getIconDefinition("fas","clock-three");faArrowTopRight=this.iconLibrary.getIconDefinition("fak","arrow-top-right");iconCategory=Tn(()=>{let[r,i]=K0(this.place().localizedCategory||"");return this.iconLibrary.getIconDefinition(r,i)});constructor(){vr(()=>{this.imageSrc()&&this.startImageLoading()})}prepareUrl(r){return Sr(Wt({},r),{url:r.url?.startsWith("http")?r.url:`https://${r.url}`})}startImageLoading(){this.isImageLoading.set(!0)}endImageLoading(){this.isImageLoading.set(!1)}showOtherSchedulesModal(){this.otherSchedulesModal.set(!0)}hideOtherSchedulesModal(){this.otherSchedulesModal.set(!1)}formatPhoneNumber(r){let i=r.replace(/^\+1/,"");return i=i.replaceAll(/\D/g,""),i.length<10?(this.logger.logWarning(`Phone number '${i}' is to short for format`),i):`${i.slice(0,3)}.${i.slice(3,6)}.${i.slice(6)}`}navigateToRoute(){this.stateService.userAction.next({type:"select-destination",data:{destinationId:this.place().lazarilloId,alias:this.place().clientId}}),this.navigatorService.navigateToRoute(this.place().lazarilloId)}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-profile-view"]],inputs:{place:[1,"place"],hideDeals:[1,"hideDeals"]},decls:34,vars:15,consts:[[1,"profile-view-content"],[1,"image"],[3,"load","error","src","alt"],[1,"loading-icon",3,"icon","transform"],[1,"info"],[1,"basic-info"],[1,"title"],[1,"category-schedule"],[1,"category"],[3,"icon"],[1,"schedule"],[1,"other-schedules-modal"],[1,"deals-or-events"],[1,"description"],[1,"direction-buttons"],[1,"route-button-container"],[1,"route-button",3,"click"],[1,"driving-link"],["target","_blank",3,"href"],[1,"properties"],[1,"separator"],[1,"address"],[1,"phone"],[1,"website"],[1,"schedule-time"],[1,"schedule-button",3,"click","innerHTML"],[1,"schedule-warning"],[3,"closeClicked","schedules"],[1,"deals-or-events-header"],[1,"deals-or-events-content-title"],[1,"deals-or-events-content"],[1,"banner-content",3,"innerHTML"]],template:function(i,c){i&1&&(gt(0,"div",0)(1,"div",1)(2,"img",2),xn("load",function(){return c.endImageLoading()})("error",function(){return c.endImageLoading()}),_t(),gr(3,sH,1,3,"fa-icon",3),_t(),gt(4,"div",4)(5,"div",5)(6,"h1",6),bn(7),_t(),gt(8,"div",7)(9,"div",8),$t(10,"fa-icon",9),gt(11,"span"),bn(12),_t()(),gr(13,aH,6,2,"div",10),gr(14,lH,2,1,"div",11),_t(),gr(15,uH,8,1,"div",12),gt(16,"div",13),bn(17),_t()(),gt(18,"div",14)(19,"div",15)(20,"button",16),xn("click",function(){return c.navigateToRoute()}),$t(21,"fa-icon",9),gt(22,"span"),bn(23,"Pedestrian-friendly directions"),_t()()(),gt(24,"div",17)(25,"a",18),bn(26,"Driving directions"),_t()()(),gt(27,"div",19),$t(28,"div",20),gr(29,dH,2,1,"div",21),ns(30,hH,2,1,"div",22,rl),ns(32,fH,3,2,"div",23,rl),_t()()()),i&2&&(bt(),xi("loading",c.isImageLoading()),bt(),Zt("src",c.imageSrc(),Jh)("alt",c.place().title),bt(),yr(c.isImageLoading()?3:-1),bt(4),ks(c.place().title),bt(3),Zt("icon",c.iconCategory()),bt(2),ks(c.place().localizedCategory),bt(),yr(c.schedule()!==""?13:-1),bt(),yr(c.otherSchedulesModal()?14:-1),bt(),yr(c.banners().length>0&&!c.hideDeals()?15:-1),bt(2),is(" ",c.place().description," "),bt(4),Zt("icon",c.faArrowTopRight),bt(4),Zt("href",c.drivingDirectionsUrl(),Jh),bt(4),yr(c.address()!==""?29:-1),bt(),rs(c.phones()),bt(2),rs(c.websites()))},dependencies:[Yr,v1],styles:['.profile-view-content[_ngcontent-%COMP%]{display:flex;padding:0 16px;flex-direction:column;align-items:center;gap:16px}@container mapvx-container (width <= 1024px){.profile-view-content[_ngcontent-%COMP%]{padding:22px 0 0}}@container mapvx-container (width <= 640px){.profile-view-content[_ngcontent-%COMP%]{padding:22px 0 0}}.image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;width:100%;object-fit:cover;aspect-ratio:1/1}.image.loading[_ngcontent-%COMP%]{background-color:var(--definitions-colors-primary-300);height:200px;width:100%;display:flex;justify-content:center;align-items:center}.image.loading[_ngcontent-%COMP%] .loading-icon[_ngcontent-%COMP%]{color:var(--definitions-colors-primary-600);font-size:100px}.image.loading[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:none}.info[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;gap:24px;width:100%}.basic-info[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;gap:16px;width:100%}.title[_ngcontent-%COMP%]{font:var(--definitions-textFonts-desktop-h6);font-family:inherit;margin:0;color:var(--definitions-colors-text-black)}.category-schedule[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:space-between;flex-wrap:wrap;position:relative}.category[_ngcontent-%COMP%]{display:flex;gap:18px;color:var(--definitions-colors-text-grey);align-items:center}.category[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:20px}.category[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font:var(--definitions-textFonts-desktop-body-3);font-family:inherit;font-size:16px}.schedule[_ngcontent-%COMP%]{display:flex;gap:18px;align-items:center}.schedule[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{color:var(--definitions-colors-primary-600);font-size:20px}.schedule[_ngcontent-%COMP%] .schedule-time[_ngcontent-%COMP%]{position:relative}.schedule[_ngcontent-%COMP%] .schedule-time[_ngcontent-%COMP%] .schedule-button[_ngcontent-%COMP%]{font:var(--definitions-textFonts-desktop-button-3);font-family:inherit;font-size:16px;color:var(--definitions-colors-secondary-blue);border:none;background:none;cursor:pointer}.schedule[_ngcontent-%COMP%] .schedule-time[_ngcontent-%COMP%] .schedule-warning[_ngcontent-%COMP%]{position:absolute;top:20px;left:0;font:var(--definitions-textFonts-desktop-sub-5);font-family:inherit;font-size:16px;color:var(--definitions-colors-text-black)}.other-schedules-modal[_ngcontent-%COMP%]{position:absolute;width:max-content;bottom:0;right:50%;transform:translate(50%) translateY(100%)}.deals-or-events[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%}.deals-or-events-header[_ngcontent-%COMP%]{display:flex;width:100%;align-items:flex-start;gap:18px;color:var(--definitions-colors-secondary-orange)}.deals-or-events-header[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:20px}.deals-or-events-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.deals-or-events-content-title[_ngcontent-%COMP%]{font:var(--definitions-textFonts-desktop-sub-4);font-family:inherit;font-size:16px}.banner-content[_ngcontent-%COMP%]{color:var(--definitions-colors-secondary-orange);padding:5px;font:var(--definitions-textFonts-desktop-body-3);font-family:inherit;font-size:16px;white-space:pre-wrap;border:1px solid var(--definitions-colors-secondary-orange);border-radius:8px;box-shadow:var(--definitions-shadows-general)}.description[_ngcontent-%COMP%]{font:var(--definitions-textFonts-desktop-body-2);font-family:inherit;color:var(--definitions-colors-text-black)}.direction-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:16px;align-self:stretch;width:100%}.route-button-container[_ngcontent-%COMP%]{width:100%}.route-button[_ngcontent-%COMP%]{display:flex;padding:8px 16px;justify-content:center;align-items:center;gap:10px;align-self:stretch;background:var(--definitions-colors-primary-black);color:var(--definitions-colors-text-white);border:none;cursor:pointer;width:100%}.route-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font:var(--definitions-textFonts-desktop-button-2);font-family:inherit;font-size:16px;font-feature-settings:"liga" off,"clig" off}.driving-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--definitions-colors-secondary-blue);text-decoration:none;font:var(--definitions-textFonts-desktop-button-2);font-family:inherit;font-size:16px;font-feature-settings:"liga" off,"clig" off}.properties[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;gap:16px;width:100%}.separator[_ngcontent-%COMP%]{width:100%;height:1px;background:var(--definitions-colors-primary-100)}.address[_ngcontent-%COMP%], .phone[_ngcontent-%COMP%]{font:var(--definitions-textFonts-desktop-sub-1);font-family:inherit;font-size:16px;color:var(--definitions-colors-text-black)}.website[_ngcontent-%COMP%]{font:var(--definitions-textFonts-desktop-button-1);font-family:inherit;font-size:16px;font-feature-settings:"liga" off,"clig" off}.website[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--definitions-colors-secondary-blue);text-decoration:none}']})};var pH=["backButton",""],cm=class n{iconLibraryService=Ve(_r);faArrowLeft=this.iconLibraryService.getIconDefinition("fas","arrow-left");static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["button","backButton",""]],attrs:pH,decls:3,vars:1,consts:[[3,"icon"]],template:function(i,c){i&1&&($t(0,"fa-icon",0),gt(1,"span"),bn(2,"Back"),_t()),i&2&&Zt("icon",c.faArrowLeft)},dependencies:[Yr],styles:['[_nghost-%COMP%]{display:flex;justify-content:center;align-items:center;gap:12px;color:var(--definitions-colors-secondary-blue);border:none;background:none}[_nghost-%COMP%]:hover{cursor:pointer}[_nghost-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:24px}[_nghost-%COMP%] span[_ngcontent-%COMP%]{color:var(--definitions-colors-secondary-blue);font:var(--definitions-textFonts-desktop-button-1);font-family:inherit;font-feature-settings:"liga" off,"clig" off;letter-spacing:-1px}']})};function mH(n,r){if(n&1&&$t(0,"app-profile-view",5),n&2){let i=pn(),c=Gg(6);Zt("place",c)("hideDeals",i.hideDeals())}}var b1=class n{onDestroy=new Lr;route=Ve(il);logger=Ve(dr);loadedDataService=Ve(Uo);sdkService=Ve(xa);mapService=Ve(bo);markerService=Ve(ws);navigatorService=Ve(os);homeStateService=Ve(Ni);iconLibraryService=Ve(_r);_profileId="";place=Jn(null);mapReady=$o(this.mapService.mapReady,{requireSync:!0});hideDeals=Tn(()=>this.homeStateService.hideDeals());faArrowLeft=this.iconLibraryService.getIconDefinition("fas","arrow-left");constructor(){vr(()=>{let r=this.place();if(r&&this.mapReady()){if(!this.markerService.hasMarker(r.lazarilloId)){let c=zl(this.homeStateService.lastListedPlaces);c.length>0?this.markerService.addMarkers(c):this.markerService.addMarker(r)}this.markerService.selectMarker(r.lazarilloId),setTimeout(()=>{this.mapService.updateCamera({center:r.position})},100)}})}ngOnInit(){this.addBackListener();let r=this.route.paramMap.pipe(Hn(i=>i.get("id")),vo(i=>i!==null),vo(i=>i!==this._profileId),Zb(1));Ka([r,this.loadedDataService.getAvailablePlaces()]).pipe(Ms(this.onDestroy),To(([i,c])=>{let d=c.find(a=>a.lazarilloId===i||a.clientId===i);return d?jn(d):Pi(this.sdkService.getPlaceDetail(i))})).subscribe({next:i=>{this._profileId!==i.lazarilloId&&this.cleanOldProfile(),this._profileId=i.lazarilloId,this.place.set(i),this.homeStateService.userAction.next({type:"show-place",data:{placeId:i.lazarilloId,alias:i.clientId}})},error:i=>{this.logger.log("Error getting profile id",i)},complete:()=>{this.logger.log("Profile id complete")}})}ngOnDestroy(){this.removeBackListener(),this.cleanOldProfile(),this.onDestroy.next(),this.onDestroy.complete()}cleanOldProfile(){this._profileId!==""&&this.markerService.deselectMarker(this._profileId)}returnToHome(){this.homeStateService.userAction.next({type:"return-to-home",data:{filter:this.homeStateService.selectedFilter()}}),this.navigatorService.navigateToHome()}backListener(r){this.logger.log("Back listener",r),this.returnToHome()}listener=r=>this.backListener(r);addBackListener(){globalThis.addEventListener("popstate",this.listener)}removeBackListener(){globalThis.removeEventListener("popstate",this.listener)}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-profile-screen"]],decls:10,vars:2,consts:[[1,"screen"],[1,"back-button"],["backButton","",3,"click"],[1,"profile-screen-content"],[1,"profile-info"],[3,"place","hideDeals"],[1,"map"]],template:function(i,c){if(i&1){let d=wi();gt(0,"div",0)(1,"div",1)(2,"button",2),xn("click",function(){return Wr(d),Zr(c.returnToHome())}),bn(3,"Back"),_t()(),gt(4,"div",3)(5,"div",4),Up(6),gr(7,mH,1,2,"app-profile-view",5),_t(),gt(8,"div",6),$t(9,"app-map"),_t()()()}if(i&2){bt(6);let d=$g(c.place());bt(),yr(d!==null?7:-1)}},dependencies:[Vd,cm,_1],styles:[".screen[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:18px}.profile-screen-content[_ngcontent-%COMP%]{display:flex;width:100%}@container mapvx-container (width <= 1024px){.profile-screen-content[_ngcontent-%COMP%]{flex-direction:column-reverse}}@container mapvx-container (width <= 640px){.profile-screen-content[_ngcontent-%COMP%]{flex-direction:column-reverse}}.profile-info[_ngcontent-%COMP%]{display:flex;width:432px;flex-shrink:0}.profile-info[_ngcontent-%COMP%] app-profile-view[_ngcontent-%COMP%]{width:100%}@container mapvx-container (width <= 1024px){.profile-info[_ngcontent-%COMP%]{width:100%}}.map[_ngcontent-%COMP%]{width:100%;min-height:730px}@container mapvx-container (width <= 1024px){.map[_ngcontent-%COMP%]{height:730px}}@container mapvx-container (width <= 640px){.map[_ngcontent-%COMP%]{width:100%;height:400px}}"],changeDetection:0})};function gH(n,r){if(n&1){let i=wi();gt(0,"button",1),xn("click",function(){Wr(i);let d=pn();return Zr(d.pauseRoute())}),$t(1,"fa-icon",2),gt(2,"span"),bn(3,"Pause route"),_t()()}if(n&2){let i=pn();bt(),Zt("icon",i.faPause)}}function yH(n,r){if(n&1){let i=wi();gt(0,"button",1),xn("click",function(){Wr(i);let d=pn();return Zr(d.resumeRoute())}),$t(1,"fa-icon",2),gt(2,"span"),bn(3,"Resume route"),_t()()}if(n&2){let i=pn();bt(),Zt("icon",i.faPlay)}}function vH(n,r){if(n&1){let i=wi();gt(0,"button",1),xn("click",function(){Wr(i);let d=pn();return Zr(d.restartRoute())}),$t(1,"fa-icon",2),gt(2,"span"),bn(3,"Restart route"),_t()()}if(n&2){let i=pn();bt(),Zt("icon",i.faRestart)}}function _H(n,r){}var w1=class n{iconLibrary=Ve(_r);routingService=Ve(Dc);restartRouteCallback=Ws();AnimationState=J0;animationStatus=$o(this.routingService.animationStatusSubject,{initialValue:0});faPlay=this.iconLibrary.getIconDefinition("fas","play");faPause=this.iconLibrary.getIconDefinition("fas","pause");faRestart=this.iconLibrary.getIconDefinition("fas","rotate-right");pauseRoute(){this.routingService.pauseRouteAnimation()}resumeRoute(){this.routingService.resumeRouteAnimation()}restartRoute(){this.routingService.restartRouteAnimation(),this.restartRouteCallback.emit()}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-route-control-button"]],outputs:{restartRouteCallback:"restartRouteCallback"},decls:4,vars:1,consts:[[1,"route-control-button"],[1,"route-control-button",3,"click"],[3,"icon"]],template:function(i,c){if(i&1&&gr(0,gH,4,1,"button",0)(1,yH,4,1,"button",0)(2,vH,4,1,"button",0)(3,_H,0,0),i&2){let d;yr((d=c.animationStatus())===c.AnimationState.Playing?0:d===c.AnimationState.Paused?1:d===c.AnimationState.Finished?2:3)}},dependencies:[Yr],styles:["[_nghost-%COMP%]{position:absolute;top:20px;left:500px}@container mapvx-container (width <= 1024px){[_nghost-%COMP%]{top:90px;left:unset;right:20px}}.route-control-button[_ngcontent-%COMP%]{display:flex;width:180px;height:45px;justify-content:center;align-items:center;gap:10px;background:var(--definitions-colors-background-white);color:var(--definitions-colors-text-black);box-shadow:var(--definitions-shadows-general);border:none;cursor:pointer}@container mapvx-container (width <= 1024px){.route-control-button[_ngcontent-%COMP%]{width:45px}}.route-control-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:16px}.route-control-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font:var(--definitions-textFonts-desktop-button-5);font-family:inherit}@container mapvx-container (width <= 1024px){.route-control-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:none}}"]})};var x1=class n{iconLibrary=Ve(_r);currentRoute=Nr.required();startRouteClick=Ws();faCircleSmall=this.iconLibrary.getIconDefinition("fas","circle-small");faArrowTopRight=this.iconLibrary.getIconDefinition("fak","arrow-top-right");time=Tn(()=>{let r=this.currentRoute();return this.toMinutes(r.duration)});distance=Tn(()=>{let r=this.currentRoute();return Math.ceil(r.length*3.28084)});toMinutes(r){return Math.ceil(r/60)}onStartRouteClick(){this.startRouteClick.emit()}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-route-info"]],inputs:{currentRoute:[1,"currentRoute"]},outputs:{startRouteClick:"startRouteClick"},decls:17,vars:5,consts:[[1,"route-info"],[1,"route-info-item"],[1,"route-info-item-label"],[3,"icon"],[1,"route-info-item-value"],[1,"start-route-button",3,"click"]],template:function(i,c){i&1&&(gt(0,"div",0)(1,"div",1)(2,"span",2),bn(3,"Time"),_t(),$t(4,"fa-icon",3),gt(5,"span",4),bn(6),_t()(),gt(7,"div",1)(8,"span",2),bn(9,"Distance"),_t(),$t(10,"fa-icon",3),gt(11,"span",4),bn(12),_t()()(),gt(13,"button",5),xn("click",function(){return c.onStartRouteClick()}),$t(14,"fa-icon",3),gt(15,"span"),bn(16,"Start Route"),_t()()),i&2&&(bt(4),Zt("icon",c.faCircleSmall),bt(2),is("",c.time()," min"),bt(4),Zt("icon",c.faCircleSmall),bt(2),is("",c.distance()," ft"),bt(2),Zt("icon",c.faArrowTopRight))},dependencies:[Yr],styles:['[_nghost-%COMP%]{display:flex;flex-direction:column;gap:40px}.route-info[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}.route-info-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;color:var(--definitions-colors-text-black)}.start-route-button[_ngcontent-%COMP%]{display:flex;padding:8px 16px;justify-content:center;align-items:center;gap:10px;background-color:var(--definitions-colors-primary-900);color:var(--definitions-colors-text-50);border:none;cursor:pointer;width:100%}.start-route-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font:var(--definitions-textFonts-desktop-button-2);font-family:inherit;font-feature-settings:"liga" off,"clig" off;line-height:15px}.start-route-button[_ngcontent-%COMP%]{display:none}']})};var bH={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},lge=Sr(Wt({},bH),{"[class.ng-submitted]":"isSubmitted"});var wH=new On("",{providedIn:"root",factory:()=>PR}),PR="always";var xH=(()=>{class n{static \u0275fac=function(c){return new(c||n)};static \u0275mod=bc({type:n});static \u0275inj=Dl({})}return n})();var AR=(()=>{class n{static withConfig(i){return{ngModule:n,providers:[{provide:wH,useValue:i.callSetDisabledState??PR}]}}static \u0275fac=function(c){return new(c||n)};static \u0275mod=bc({type:n});static \u0275inj=Dl({imports:[xH]})}return n})();function CH(n,r){if(n&1){let i=wi();gt(0,"button",5),xn("click",function(){Wr(i);let d=pn();return Zr(d.clearSelectedPlace())}),$t(1,"fa-icon",6),_t()}if(n&2){let i=pn();bt(),Zt("icon",i.faXmark)}}function SH(n,r){if(n&1){let i=wi();gt(0,"button",10),xn("click",function(){Wr(i);let d=pn(2);return Zr(d.useCurrentLocation())}),gt(1,"div",11),$t(2,"fa-icon",6),_t(),gt(3,"div",12)(4,"div",13),bn(5,"Use current location"),_t()()()}if(n&2){let i=pn(2);bt(2),Zt("icon",i.faLocationArrow)}}function EH(n,r){if(n&1){let i=wi();gt(0,"button",10),xn("click",function(){let d=Wr(i).$implicit,a=pn(2);return Zr(a.selectPlace(d))}),gt(1,"div",11),$t(2,"fa-icon",6),_t(),gt(3,"div",12)(4,"div",13),bn(5),_t(),gt(6,"div",14),bn(7),_t()()()}if(n&2){let i=r.$implicit,c=pn(2);bt(2),Zt("icon",c.faLocationDot),bt(3),ks(i.title),bt(2),ks(i.address)}}function DH(n,r){n&1&&(gt(0,"div",9),bn(1,"No results found"),_t())}function IH(n,r){if(n&1&&(gt(0,"div",4)(1,"div",7),gr(2,SH,6,1,"button",8),ns(3,EH,8,3,"button",8,rl),gr(5,DH,2,0,"div",9),_t()()),n&2){let i=pn();bt(2),yr(i.allowCurrentLocation()&&i.locationPermission()!=="denied"?2:-1),bt(),rs(i.filteredPlaces()),bt(2),yr(i.filteredPlaces().length===0&&i.filterText().trim()?5:-1)}}var C1=class n{logger=Ve(dr);locationService=Ve(Bd);iconLibrary=Ve(_r);places=Nr.required();initialSelectedPlace=Nr(null);allowCurrentLocation=Nr(!1);placeholder=Nr("Set a starting point");selectedPlace=_s(()=>this.initialSelectedPlace());selectedPlaceChange=Ws();isDropdownOpen=Jn(!1);filterText=_s(()=>this.selectedPlace()?.title||"");filteredPlaces=Tn(()=>{let r=this.places(),i=this.filterText().toLowerCase().trim();return i?r.filter(c=>c.title?.toLowerCase().includes(i)||c.address?.toLowerCase().includes(i)):r});locationPermission=Jn("prompt");faLocationDot=this.iconLibrary.getIconDefinition("fas","location-dot");faLocationArrow=this.iconLibrary.getIconDefinition("fas","location-arrow");faXmark=this.iconLibrary.getIconDefinition("fas","xmark");constructor(){this.checkLocationPermission()}checkLocationPermission(){this.locationService.checkLocationPermission().then(r=>{this.locationPermission.set(r)}).catch(r=>{this.logger.logWarning("Error checking location permission",r),this.locationPermission.set("denied")})}requestLocationPermission(){this.locationService.requestLocationPermission().then(r=>{this.locationPermission.set(r),r==="granted"&&this.getCurrentLocation()}).catch(r=>{this.logger.logWarning("Error requesting location permission",r),this.locationPermission.set("denied")})}getCurrentLocation(){this.locationService.getCurrentLocation().then(r=>{this.selectedPlace.set(r),this.selectedPlaceChange.emit(r)}).catch(r=>{this.logger.logWarning("Error getting current location",r)})}useCurrentLocation(){switch(this.locationPermission()){case"granted":this.getCurrentLocation();break;case"prompt":this.requestLocationPermission();break}}selectPlace(r){this.selectedPlace.set(r),this.isDropdownOpen.set(!1),this.selectedPlaceChange.emit(r)}clearSelectedPlace(){this.selectedPlace.set(null),this.filterText.set(""),this.selectedPlaceChange.emit(null)}onInputFocus(){this.isDropdownOpen.set(!0)}onInputBlur(){setTimeout(()=>{this.isDropdownOpen.set(!1)},150)}onInputChange(r){let i=r.target;this.filterText.set(i.value),this.isDropdownOpen.set(!0)}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-place-selector"]],inputs:{places:[1,"places"],initialSelectedPlace:[1,"initialSelectedPlace"],allowCurrentLocation:[1,"allowCurrentLocation"],placeholder:[1,"placeholder"]},outputs:{selectedPlaceChange:"selectedPlaceChange"},decls:5,vars:4,consts:[[1,"place-selector"],[1,"input-container"],["type","text","name","place-input",1,"place-input",3,"input","focus","blur","value","placeholder"],[1,"clear-button"],[1,"dropdown-container"],[1,"clear-button",3,"click"],[3,"icon"],[1,"dropdown-list"],["type","button",1,"place-option"],[1,"no-results"],["type","button",1,"place-option",3,"click"],[1,"place-icon"],[1,"place-info"],[1,"place-title"],[1,"place-address"]],template:function(i,c){i&1&&(gt(0,"div",0)(1,"div",1)(2,"input",2),xn("input",function(a){return c.onInputChange(a)})("focus",function(){return c.onInputFocus()})("blur",function(){return c.onInputBlur()}),_t(),gr(3,CH,2,1,"button",3),_t(),gr(4,IH,6,2,"div",4),_t()),i&2&&(bt(2),Zt("value",c.filterText())("placeholder",c.placeholder()),bt(),yr(c.selectedPlace()?3:-1),bt(),yr(c.isDropdownOpen()?4:-1))},dependencies:[Gp,AR,Yr],styles:['[_nghost-%COMP%]{width:100%}.place-selector[_ngcontent-%COMP%]{position:relative;width:100%}.input-container[_ngcontent-%COMP%]{width:100%;display:flex}.place-input[_ngcontent-%COMP%]{width:100%;border:none;font:var(--definitions-textFonts-desktop-button-1);font-family:inherit;font-feature-settings:"liga" off,"clig" off;letter-spacing:-1px;text-overflow:ellipsis;outline:none;color:var(--definitions-colors-text-black)}.place-input[_ngcontent-%COMP%]::placeholder{color:var(--definitions-colors-primary-300)}.clear-button[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:16px;color:var(--definitions-colors-text-900)}.dropdown-container[_ngcontent-%COMP%]{position:absolute;top:100%;left:0;right:0;z-index:10;margin-top:4px}.dropdown-list[_ngcontent-%COMP%]{background:var(--definitions-colors-background-50);border-radius:8px;box-shadow:var(--definitions-shadows-general);max-height:300px;overflow-y:auto;border:1px solid var(--definitions-colors-gray-200)}.place-option[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:4px;padding:15px 24px;cursor:pointer;transition:background-color .2s ease;border-bottom:1px solid #f5f5f5;background:none;border:none;width:100%;text-align:left}.place-option[_ngcontent-%COMP%]:last-child{border-bottom:none}.place-option[_ngcontent-%COMP%]:hover{background-color:#f8f9fa}.place-option[_ngcontent-%COMP%]:active{background-color:#e9ecef}.place-option[_ngcontent-%COMP%]:focus{outline:2px solid #5D5D5D;outline-offset:-2px}.place-icon[_ngcontent-%COMP%]{flex-shrink:0;width:19.341px;height:19.341px;margin-top:2px;color:var(--definitions-colors-primary-600)}.place-info[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}.place-title[_ngcontent-%COMP%]{font:var(--definitions-textFonts-desktop-button-3);font-family:inherit;color:var(--definitions-colors-text-900);word-wrap:break-word}.place-address[_ngcontent-%COMP%]{font:var(--definitions-textFonts-desktop-body-3);font-family:inherit;color:var(--definitions-colors-text-800);word-wrap:break-word}.no-results[_ngcontent-%COMP%]{padding:20px 24px;text-align:center;font:var(--definitions-textFonts-desktop-body-3);font-family:inherit;color:var(--definitions-colors-text-800)}@media (width <= 768px){.place-option[_ngcontent-%COMP%]{padding:12px 20px}.place-title[_ngcontent-%COMP%]{font-size:15px}.place-address[_ngcontent-%COMP%]{font-size:13px}}']})};var S1=class n{logger=Ve(dr);iconLibrary=Ve(_r);places=Nr.required();initialDestination=Nr(null);originPlace=Jn(null);destinationPlace=_s(()=>this.initialDestination());originSelected=Ws();destinationSelected=Ws();swapPlaces=Ws();clearDestination=Ws();locationPermission=Jn("prompt");faLocationDot=this.iconLibrary.getIconDefinition("fas","location-dot");faEllipsisVertical=this.iconLibrary.getIconDefinition("fas","ellipsis-vertical");faArrowsRetweet=this.iconLibrary.getIconDefinition("fas","arrows-retweet");canSwapPlaces=Tn(()=>Yx(this.originPlace())&&Yx(this.destinationPlace()));onOriginSelected(r){this.originSelected.emit(r),this.originPlace.set(r)}onDestinationSelected(r){if(Zx(r)){this.logger.logWarning("Current location is not allowed as destination");return}this.destinationSelected.emit(r),this.destinationPlace.set(r)}onSwapPlaces(){let r=this.originPlace(),i=this.destinationPlace();if(Zx(r)){this.logger.logWarning("Should not be possible to swap places with current location as origin");return}this.originPlace.set(i),this.originSelected.emit(i),this.destinationPlace.set(r),this.destinationSelected.emit(r)}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-route-selector"]],inputs:{places:[1,"places"],initialDestination:[1,"initialDestination"]},outputs:{originSelected:"originSelected",destinationSelected:"destinationSelected",swapPlaces:"swapPlaces",clearDestination:"clearDestination"},decls:20,vars:10,consts:[[1,"route-selector"],[1,"routing-option","origin"],[1,"place-info"],[1,"place-icon"],["xmlns","http://www.w3.org/2000/svg","width","36","height","36","viewBox","0 0 36 36","fill","none"],["width","36","height","36","rx","18","fill","#8DC8FF"],["d","M29.2517 17.7595C29.1117 23.9741 23.9602 28.8986 17.7456 28.7586C11.5309 28.6185 6.60648 23.4671 6.74649 17.2524C6.8865 11.0378 12.038 6.11332 18.2526 6.25333C24.4673 6.39334 29.3917 11.5448 29.2517 17.7595Z","fill","#2C57A0"],["d","M13.5364 22.4764C13.4259 22.5279 13.3135 22.5415 13.199 22.5173C13.0847 22.4932 12.9902 22.4373 12.9155 22.3496C12.8298 22.2721 12.7772 22.1766 12.7577 22.0629C12.7384 21.9495 12.7519 21.8395 12.7982 21.7327L17.6404 11.5662C17.7437 11.3532 17.9102 11.2493 18.1399 11.2545C18.3697 11.2597 18.5313 11.371 18.6249 11.5884L23.0044 21.9626C23.0458 22.0714 23.0543 22.182 23.03 22.2944C23.0054 22.407 22.9485 22.5001 22.8594 22.5736C22.7808 22.6579 22.6839 22.7095 22.5687 22.7283C22.4532 22.7475 22.3415 22.7288 22.2335 22.6723L17.9278 20.6691L13.5364 22.4764ZM14.4251 20.9295L17.954 19.5064L21.4153 21.087L18.0981 13.1117L14.4251 20.9295Z","fill","white"],[3,"selectedPlaceChange","places","initialSelectedPlace","allowCurrentLocation"],[1,"connector-line"],[1,"connector-dots"],[3,"icon"],[1,"connector-line-element"],["type","button",1,"swap-button",3,"click","disabled"],[1,"routing-option","destination"],[3,"selectedPlaceChange","places","initialSelectedPlace","placeholder"]],template:function(i,c){i&1&&(gt(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),s_(),gt(4,"svg",4),$t(5,"rect",5)(6,"path",6)(7,"path",7),_t()(),a_(),gt(8,"app-place-selector",8),xn("selectedPlaceChange",function(a){return c.onOriginSelected(a)}),_t()()(),gt(9,"div",9)(10,"div",10),$t(11,"fa-icon",11),_t(),$t(12,"div",12),gt(13,"button",13),xn("click",function(){return c.onSwapPlaces()}),$t(14,"fa-icon",11),_t()(),gt(15,"div",14)(16,"div",2)(17,"div",3),$t(18,"fa-icon",11),_t(),gt(19,"app-place-selector",15),xn("selectedPlaceChange",function(a){return c.onDestinationSelected(a)}),_t()()()()),i&2&&(bt(8),Zt("places",c.places())("initialSelectedPlace",c.originPlace())("allowCurrentLocation",!0),bt(3),Zt("icon",c.faEllipsisVertical),bt(2),Zt("disabled",!c.canSwapPlaces()),bt(),Zt("icon",c.faArrowsRetweet),bt(4),Zt("icon",c.faLocationDot),bt(),Zt("places",c.places())("initialSelectedPlace",c.destinationPlace())("placeholder","Select a destination"))},dependencies:[Gp,C1,Yr],styles:['.route-selector[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:5px;position:relative;width:100%;box-sizing:border-box}.routing-option[_ngcontent-%COMP%]{display:flex;gap:10px;align-items:center;padding:0 40px 0 0;box-sizing:border-box;width:100%}.place-info[_ngcontent-%COMP%]{display:flex;gap:10px;align-items:center;flex:1;min-width:0}.place-icon[_ngcontent-%COMP%]{flex-shrink:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center}.destination[_ngcontent-%COMP%] .place-icon[_ngcontent-%COMP%]{color:var(--definitions-colors-text-black)}.connector-line[_ngcontent-%COMP%]{display:flex;gap:8px;align-items:center;width:100%;position:relative}.connector-dots[_ngcontent-%COMP%]{flex-shrink:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center}.connector-dots[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:20px;color:#5d5d5d}.connector-line-element[_ngcontent-%COMP%]{flex:1;height:1px;background:#e0e0e0;position:relative}.connector-line-element[_ngcontent-%COMP%]:before{content:"";position:absolute;top:50%;left:0;right:0;height:1px;background:repeating-linear-gradient(to right,#e0e0e0 0,#e0e0e0 4px,transparent 4px,transparent 8px);transform:translateY(-50%)}.swap-button[_ngcontent-%COMP%]{flex-shrink:0;width:32px;height:25px;background:none;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s ease}.swap-button[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:not-allowed}.swap-button[_ngcontent-%COMP%]:hover:not(:disabled){background-color:#f5f5f5}.swap-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:16px;color:#5d5d5d}.clear-button[_ngcontent-%COMP%]{flex-shrink:0;width:20px;height:20px;background:none;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background-color .2s ease}.clear-button[_ngcontent-%COMP%]:hover{background-color:#f5f5f5}.clear-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:12px;color:#666}.select-destination-button[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;padding:8px 12px;border-radius:6px;transition:background-color .2s ease;flex:1;text-align:left}.select-destination-button[_ngcontent-%COMP%]:hover{background-color:#f8f9fa}.select-destination-button[_ngcontent-%COMP%] .place-label[_ngcontent-%COMP%]{font-family:Open Sans,sans-serif;font-weight:600;font-size:20px;line-height:1;color:#cbcbcb;font-variation-settings:"wdth" 100;letter-spacing:-1px}.destination-selector[_ngcontent-%COMP%]{position:absolute;top:81px;left:84.5px;width:310px;z-index:1000;background:#fff;box-shadow:0 4px 4px #00000040;border-radius:8px;overflow:hidden}@media (width <= 768px){.route-selector[_ngcontent-%COMP%]{padding:20px 16px}.place-text[_ngcontent-%COMP%]{font-size:18px}.place-icon[_ngcontent-%COMP%]{width:32px;height:32px}.place-icon[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:18px}.destination-selector[_ngcontent-%COMP%]{left:16px;right:16px;width:auto}}']})};function TH(n,r){if(n&1){let i=wi();gt(0,"div",6)(1,"app-route-info",9),xn("startRouteClick",function(){Wr(i);let d=pn();return Zr(d.startStepAnimation())}),_t()()}if(n&2){pn();let i=Gg(7);bt(),Zt("currentRoute",i)}}var E1=class n{routeId="";route=Ve(il);logger=Ve(dr);navigatorService=Ve(os);loadedDataService=Ve(Uo);mapService=Ve(bo);markerService=Ve(ws);homeStateService=Ve(Ni);routingService=Ve(Dc);mapReady=$o(this.mapService.mapReady,{requireSync:!0});places=$o(this.loadedDataService.getAvailablePlaces(),{initialValue:[]});originPoint=Jn(null);destinationPlace=_s(()=>this.initialDestination());initialDestination=Jn(null);currentRoute=Jn(null);constructor(){this.routeId=this.route.snapshot.params.id||"unknown",vr(()=>{let r=this.places();if(r.length>0){let i=r.find(c=>c.lazarilloId===this.routeId||c.clientId===this.routeId);i&&this.initialDestination.set(i)}}),vr(()=>{if(this.mapReady()){let i=zl(this.homeStateService.lastListedPlaces);this.markerService.addRouteMarkers(i)}}),vr(()=>{let r=this.destinationPlace();r&&this.mapReady()&&(this.markerService.deselectMarkers(),this.markerService.hasMarker(r.lazarilloId)||this.markerService.addRouteMarker(r),this.markerService.selectMarker(r.lazarilloId),zl(this.originPoint)===null&&setTimeout(()=>{this.mapService.updateCamera({center:r.position})},100))}),vr(()=>{let r=this.originPoint(),i=this.destinationPlace();r&&i?this.mapReady()&&(this.markerService.removeAllMarkers(),this.markerService.addOriginMarker(r.position),this.markerService.addDestinationMarker(i),this.routingService.getRoute(r,i).then(c=>{this.currentRoute.set(c),this.routingService.startAnimatingRoute(c),this.fitMapToRoute(r,i,c)}).catch(c=>{this.logger.logWarning("Error getting route",c)})):this.currentRoute.set(null)})}returnToProfile(){this.navigatorService.navigateToProfile(this.routeId)}onDestinationSelected(r){this.destinationPlace.set(r)}onOriginSelected(r){this.originPoint.set(r)}startStepAnimation(){this.currentRoute()&&this.logger.log("Starting step animation")}fitMapToRoute(r,i,c){let d=r?.position??this.originPoint()?.position,a=i?.position??this.destinationPlace()?.position,w=c??this.currentRoute(),P=document.querySelector(".route-related-components");if(d&&a&&w&&P&&this.mapReady()){let k=getComputedStyle(P),q=Number.parseInt(k.getPropertyValue("--padding-top")),J=Number.parseInt(k.getPropertyValue("--padding-left"));setTimeout(()=>{this.mapService.fitRoute(d,a,w,{padding:{top:q,left:J,right:70,bottom:50}})},100)}}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-route-screen"]],decls:12,vars:4,consts:[[1,"route-screen"],[1,"back-button"],["backButton","",3,"click"],[1,"route-screen-content"],[1,"route-related-components"],[3,"originSelected","destinationSelected","places","initialDestination"],[1,"route-info"],[1,"map"],[3,"restartRouteCallback"],[3,"startRouteClick","currentRoute"]],template:function(i,c){if(i&1){let d=wi();gt(0,"div",0)(1,"div",1)(2,"button",2),xn("click",function(){return Wr(d),Zr(c.returnToProfile())}),bn(3,"Back"),_t()(),gt(4,"div",3)(5,"div",4)(6,"app-route-selector",5),xn("originSelected",function(w){return Wr(d),Zr(c.onOriginSelected(w))})("destinationSelected",function(w){return Wr(d),Zr(c.onDestinationSelected(w))}),_t(),Up(7),gr(8,TH,2,1,"div",6),_t(),gt(9,"div",7)(10,"app-map")(11,"app-route-control-button",8),xn("restartRouteCallback",function(){return Wr(d),Zr(c.fitMapToRoute())}),_t()()()()()}if(i&2){bt(6),Zt("places",c.places())("initialDestination",c.initialDestination()),bt();let d=$g(c.currentRoute());bt(),yr(d!==null?8:-1)}},dependencies:[cm,Vd,S1,x1,w1],styles:[".route-screen-content[_ngcontent-%COMP%]{position:relative}.route-related-components[_ngcontent-%COMP%]{--padding-top: 130;--padding-left: 450;position:absolute;top:0;left:0;width:450px;box-sizing:border-box;z-index:1;display:flex;flex-direction:column;gap:40px;padding:40px 38px;background-color:var(--definitions-colors-background-white)}@container mapvx-container (width <= 1024px){.route-related-components[_ngcontent-%COMP%]{--padding-top: 70;--padding-left: 50;position:unset;width:100%}}.map[_ngcontent-%COMP%]{width:100%;height:820px}"],changeDetection:0})};var kR=[{path:"",component:n1,children:[{path:"list",redirectTo:"",pathMatch:"full"},{path:"",component:d1},{path:"search",component:p1}]},{path:"profile/:id",component:b1},{path:"route/:id",component:E1},{path:"**",redirectTo:""}];var RR={providers:[q2(),Ix(),lS(kR),{provide:wc,useClass:t1},dr]};Wx(RR).then(n=>{let r=H3(e1,{injector:n.injector});customElements.define("mapvx-website",r)}).catch(n=>console.error(n));
|
|
1499
|
+
</svg>`,i}pauseRouteAnimation(){this.animationStatusSubject.next(2),this.mapService.pauseAnimatingRoute()}resumeRouteAnimation(){this.animationStatusSubject.next(1),this.mapService.resumeAnimatingRoute()}restartRouteAnimation(){this.animationStatusSubject.next(1),this.mapService.restartAnimatingRoute()}removeRoute(){this.animationStatusSubject.next(0),this.activeRouteSubject.next(null),this.currentStepSubject.next(null),this.mapService.removeRoute()}static \u0275fac=function(i){return new(i||n)};static \u0275prov=Kt({token:n,factory:n.\u0275fac})};var Q0={term:"",results:[]};function hS(n,r){let i=r?.injector??Ve(ys),c=new La(1),d=vr(()=>{let a;try{a=n()}catch(w){zl(()=>c.error(w));return}zl(()=>c.next(a))},{injector:i,manualCleanup:!0});return i.get(la).onDestroy(()=>{d.destroy(),c.complete()}),c.asObservable()}function $o(n,r){let c=!r?.manualCleanup?r?.injector?.get(la)??Ve(la):null,d=sG(r?.equal),a;r?.requireSync?a=Jn({kind:0},{equal:d}):a=Jn({kind:1,value:r?.initialValue},{equal:d});let w,P=n.subscribe({next:k=>a.set({kind:1,value:k}),error:k=>{a.set({kind:2,error:k}),w?.()},complete:()=>{w?.()}});if(r?.requireSync&&a().kind===0)throw new fn(601,!1);return w=c?.onDestroy(P.unsubscribe.bind(P)),Tn(()=>{let k=a();switch(k.kind){case 1:return k.value;case 2:throw k.error;case 0:throw new fn(601,!1)}},{equal:r?.equal})}function sG(n=Object.is){return(r,i)=>r.kind===1&&i.kind===1&&n(r.value,i.value)}var Ni=class n{loadedDataService=Ve(Uo);homePlaces=Jn([]);showCategoryFilters=Jn(!0);showCityFilter=Jn(!0);defaultToMap=Jn(!1);activeView=_s(()=>this.defaultToMap()?"map":"grid");inputValue=Jn("");selectedCity=Jn("All cities");hideDeals=Jn(!1);lastListedPlaces=Jn([]);categoryFiltersData=$o(this.loadedDataService.getInstitution().pipe(Hn(r=>{let i=r.properties;if(i){let c=i.filter(d=>"childPlaces"in d&&d.childPlaces!==void 0).map(d=>({placeData:"childPlaces"in d?d.childPlaces:[],name:d.title}));return c.splice(1,0,{name:"All",placeData:[]}),c}return[]})),{initialValue:[]});selectedFilter=_s(()=>this.categoryFiltersData()[0]?.name);currentPageIndex=_s({source:this.selectedFilter,computation:(r,i)=>r!==i?.source?1:i?.value??1});lastCardSelected=new Lr;userAction=new Lr;lastSearchData=Jn(Q0);static \u0275fac=function(i){return new(i||n)};static \u0275prov=Kt({token:n,factory:n.\u0275fac})};var wR={fas:{},fak:{}},fS=[];function xR(n){Object.keys(n).forEach(function(r){if(r!=="prefix"){var i=n[r],c=i.icon[2];c.forEach(function(d){typeof d=="string"&&(wR[i.prefix][d]=i)}),wR[i.prefix][i.iconName]=i,fS.push(i)}})}xR(iC);xR(dS);var My=xD(eC());var e1=class n{destroy$=new Lr;apiKey=Nr("");institutionId=Nr("");initialData=Nr("");showCategoryFilters=Nr(!0,{transform:r=>typeof r=="string"?r==="true":r});showCityFilter=Nr(!0,{transform:r=>typeof r=="string"?r==="true":r});defaultToMap=Nr(!1,{transform:r=>typeof r=="string"?r==="true":r});inheritFontFamily=Nr(!1,{transform:r=>typeof r=="string"?r==="true":r});hideDeals=Nr(!1,{transform:this.transformToBoolean});cardSelected=Ws();userAction=Ws();router=Ve(jd);navigatorService=Ve(os);locationStrategy=Ve(wc);platformId=Ve(_c);logger=Ve(dr);sdkService=Ve(xa);loadedDataService=Ve(Uo);homeStateService=Ve(Ni);iconLibrary=Ve(cy);isInitialized=!1;isConnected=!1;static instanceCount=0;static hasBeenConnected=!1;constructor(){this.loadIcons(),vr(()=>{let r=this.apiKey();r&&r.trim()!==""&&!this.sdkService.isInitialized()&&(this.logger.log("\u{1F511} Initializing SDK with provided API key"),this.sdkService.initialize(r.trim()),this.loadData())}),vr(()=>{this.homeStateService.hideDeals.set(this.hideDeals())}),vr(()=>{let r=this.initialData();r&&r.trim()!==""&&this.processInitialData(r)}),vr(()=>{this.homeStateService.showCategoryFilters.set(this.showCategoryFilters())}),vr(()=>{this.homeStateService.showCityFilter.set(this.showCityFilter())}),vr(()=>{let r=this.defaultToMap();this.logger.log("====> defaultToMap input",r),this.homeStateService.defaultToMap.set(r)}),vr(()=>{let r=this.institutionId();r&&r.trim()!==""&&this.updateInstitution(r)}),this.homeStateService.lastCardSelected.pipe(Ms(this.destroy$)).subscribe(r=>{this.cardSelected.emit(r),this.logger.log("====> cardSelected",r)}),this.homeStateService.userAction.pipe(Ms(this.destroy$)).subscribe(r=>{this.userAction.emit(r),this.logger.log("====> userAction",r)})}ngOnInit(){Rd(this.platformId)?this.handleInstanceTracking():this.logger.log("\u{1F5A5}\uFE0F Componente inicializado en servidor (SSR)")}loadIcons(){this.iconLibrary.addIcons(...fS)}loadData(){this.loadPlaces(),this.loadConfiguration(),this.loadInstitution()}transformToBoolean(r){return typeof r=="string"?r==="true":r}processInitialData(r){try{let i=JSON.parse(r);if(i.availablePlaces){let d=i.availablePlaces.map(a=>new My.LzPlace(a)).filter(a=>a.generalCategory!=="transport"&&!a.hidePlace);this.loadedDataService.setAvailablePlaces(d),this.logger.log(`\u2705 Successfully loaded ${d.length} places from initial data`)}if(i.institutions){let d=i.institutions.map(a=>new My.Institution(a)).find(a=>a.lazarilloId===this.institutionId());d?this.loadedDataService.setInstitution(d):this.logger.log(`\u274C Institution not found for id ${this.institutionId()}`)}}catch(i){this.logger.log("\u274C Error processing initial data",i),this.logger.log(`\u274C Data: ${r}`)}}async loadPlaces(){let r=Rd(this.platformId)?"Browser":"Server";try{this.logger.log(`\u{1F4CD} Loading initial places data on ${r}...`);let i=await this.sdkService.getAvailablePlaces(),c=i.filter(d=>d.generalCategory!=="transport"&&!d.hidePlace);this.loadedDataService.setAvailablePlaces(c),this.logger.log(`\u2705 Successfully loaded ${i.length} places on ${r}`)}catch(i){this.logger.log(`\u274C Error loading initial places data on ${r}:`,i),this.loadedDataService.setAvailablePlaces([])}}async loadConfiguration(){try{let r=await this.sdkService.getConfiguration();this.loadedDataService.setConfiguration(r),this.logger.log("\u2705 Successfully loaded configuration")}catch(r){this.logger.log("\u274C Error loading initial configuration",r)}}async loadInstitution(){try{let i=(await this.sdkService.getInstitutions()).find(c=>c.lazarilloId===this.institutionId());i?(this.loadedDataService.setInstitution(i),this.logger.log("\u2705 Successfully loaded institution",i)):this.logger.log("\u274C Institution not found")}catch(r){this.logger.log("\u274C Error loading institution data",r)}}updateInstitution(r){console.log("====> updateInstitution",r);let i=this.initialData();if(i&&i.trim()!==""){let c=JSON.parse(i);if(c.institutions){let a=c.institutions.map(w=>new My.Institution(w)).find(w=>w.lazarilloId===r);if(a){this.loadedDataService.setInstitution(a),this.logger.log("\u2705 Successfully updated institution",a);return}}}this.loadInstitution()}handleInstanceTracking(){n.instanceCount++;let r=this.checkForExistingRouterContent(),i=this.router.url;n.hasBeenConnected||r||i!=="/"&&n.instanceCount===1?(this.logger.log("\u{1F504} Detectada reconexi\xF3n del web component"),this.logger.log(` - Instancia #${n.instanceCount}`),this.logger.log(` - URL del router: ${i}`),this.logger.log(` - Contenido en router outlet: ${r}`),this.handleReconnection()):this.logger.log(`\u{1F680} Primera conexi\xF3n del web component (instancia #${n.instanceCount})`),n.hasBeenConnected=!0}checkForExistingRouterContent(){try{let r=document.querySelector("router-outlet");return r?r.children.length>0:!1}catch{return!1}}ngAfterViewInit(){this.isConnected=!0,this.scheduleRouterInitialization()}ngOnDestroy(){this.isConnected=!1,this.destroy$.next(),this.destroy$.complete()}scheduleRouterInitialization(){Rd(this.platformId)?requestAnimationFrame(()=>{this.initializeRouter()}):setTimeout(()=>{this.initializeRouter()},0)}initializeRouter(){if(this.isInitialized&&this.isConnected)return;this.locationStrategy.setInitialPath("/");let r=this.router.url,i=this.router.routerState.root.firstChild;r==="/"&&!i?this.router.navigateByUrl("/").then(()=>{this.isInitialized=!0}).catch(c=>{console.error("Error en navegaci\xF3n inicial:",c),this.isInitialized=!0}):this.isInitialized=!0}handleReconnection(){this.logger.log("\u{1F504} Procesando reconexi\xF3n del web component");let r=Rd(this.platformId)?10:50;setTimeout(()=>{this.checkAndFixRouterSync()},r)}checkAndFixRouterSync(){if(!Rd(this.platformId)){this.logger.log("\u2139\uFE0F Saltando verificaci\xF3n de sincronizaci\xF3n en servidor");return}let r=this.locationStrategy.getCurrentPath()||"/",i=this.router.url,c=this.router.routerState.root.firstChild,d=this.checkForExistingRouterContent();this.logger.log("\u{1F50D} Verificando sincronizaci\xF3n del router:"),this.logger.log(` - Path interno: "${r}"`),this.logger.log(` - Router URL: "${i}"`),this.logger.log(` - Tiene ruta activa: ${!!c}`),this.logger.log(` - Contenido en router outlet: ${d}`),r==="/"&&i!=="/"||r==="/"&&!c&&d||r==="/"&&i==="/"&&d&&!c?(this.logger.log("\u26A0\uFE0F Desincronizaci\xF3n detectada - aplicando correcci\xF3n"),this.performGentleReset()):this.logger.log("\u2705 Router sincronizado correctamente")}performGentleReset(){this.logger.log("\u{1F504} Realizando reset suave del router"),this.router.navigateByUrl("/",{replaceUrl:!0}).then(()=>{this.logger.log("\u2705 Navegaci\xF3n correctiva completada")}).catch(r=>{console.error("\u274C Error en navegaci\xF3n correctiva:",r)})}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-root"]],inputs:{apiKey:[1,"apiKey"],institutionId:[1,"institutionId"],initialData:[1,"initialData"],showCategoryFilters:[1,"showCategoryFilters"],showCityFilter:[1,"showCityFilter"],defaultToMap:[1,"defaultToMap"],inheritFontFamily:[1,"inheritFontFamily"],hideDeals:[1,"hideDeals"]},outputs:{cardSelected:"cardSelected",userAction:"userAction"},features:[K_([os,Ni,ws,_r,Dc,Bd])],decls:4,vars:2,consts:[[1,"named-container"],[1,"app-container"],[1,"app-content"]],template:function(i,c){i&1&&(gt(0,"div",0)(1,"div",1)(2,"div",2),$t(3,"router-outlet"),_t()()()),i&2&&(bt(),xi("inherit-font-family",c.inheritFontFamily()))},dependencies:[S0,df],styles:["*[_ngcontent-%COMP%]{margin:0;padding:0}.named-container[_ngcontent-%COMP%]{container-name:mapvx-container;container-type:inline-size;width:100%}.app-container[_ngcontent-%COMP%]{display:flex;padding:0;flex-direction:column;justify-content:center;align-items:flex-start;gap:22px;background:var(--definitions-colors-background-50);font-family:Open Sans,sans-serif}.app-container.inherit-font-family[_ngcontent-%COMP%]{font-family:inherit}.app-header[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:19px}.app-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{color:var(--definitions-colors-text-900);font:var(--definitions-textFonts-desktop-h1);font-family:inherit}.app-header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--definitions-colors-text-800);font:var(--definitions-textFonts-desktop-sub-1);font-family:inherit}.main-navigation[_ngcontent-%COMP%]{display:flex;gap:.5rem;justify-content:center;flex-wrap:wrap}.nav-button[_ngcontent-%COMP%]{background:#fff3;border:1px solid rgba(255,255,255,.3);color:#fff;padding:.5rem 1rem;border-radius:4px;cursor:pointer;font-size:.9rem;transition:all .2s ease}.nav-button[_ngcontent-%COMP%]:hover{background:#ffffff4d;transform:translateY(-1px)}.nav-button[_ngcontent-%COMP%]:active{transform:translateY(0)}.route-debug[_ngcontent-%COMP%]{margin-top:.5rem;text-align:center}.route-debug[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{color:#fffc;font-size:.8rem;font-family:Courier New,monospace;background:#0000001a;padding:.25rem .5rem;border-radius:4px}.app-content[_ngcontent-%COMP%]{width:100%}"]})};var t1=class n extends wc{_path="";_baseHref;_popStateListeners=[];constructor(){super(),this._baseHref=this.getBaseHref()}path(){return this._path}prepareExternalUrl(r){return this._baseHref+"#"+r}pushState(r,i,c,d){this._updatePath(r,c,d)}replaceState(r,i,c,d){this._updatePath(r,c,d)}forward(){}back(){}getState(){return null}historyGo(r){}onPopState(r){this._popStateListeners.push(r)}getBaseHref(){return typeof document<"u"?document.querySelector("base")?.href??"/":"/"}_updatePath(r,i,c){this._path=i+(c?"?"+c:""),this._notifyPopState(r,i)}_notifyPopState(r,i){let c={type:"popstate",state:r,url:i,pop:!0};this._popStateListeners.forEach(d=>{try{d(c)}catch(a){console.error("Error in popstate listener:",a)}})}getCurrentPath(){return this._path}setInitialPath(r){this._path=r}static \u0275fac=function(i){return new(i||n)};static \u0275prov=Kt({token:n,factory:n.\u0275fac,providedIn:"root"})};var aG=["categoryFilters"];function lG(n,r){if(n&1){let i=wi();gt(0,"button",14),xn("click",function(){Wr(i);let d=pn();return Zr(d.onClearInput())}),$t(1,"fa-icon",6),_t()}if(n&2){let i=pn();bt(),Zt("icon",i.faXmark)}}function cG(n,r){if(n&1&&$t(0,"fa-icon",6),n&2){let i=pn(2);Zt("icon",i.faCaretUp)}}function uG(n,r){if(n&1&&$t(0,"fa-icon",6),n&2){let i=pn(2);Zt("icon",i.faCaretDown)}}function dG(n,r){if(n&1){let i=wi();gt(0,"button",21),xn("click",function(){let d=Wr(i).$implicit,a=pn(3);return Zr(a.onCitySelect(d))}),bn(1),_t()}if(n&2){let i=r.$implicit,c=pn(3);xi("selected",i===c.selectedCity()),bt(),is(" ",i," ")}}function hG(n,r){if(n&1&&(gt(0,"div",19),ns(1,dG,2,3,"button",20,tf),_t()),n&2){let i=pn(2);bt(),rs(i.citiesOptions())}}function fG(n,r){if(n&1){let i=wi();gt(0,"div",9)(1,"button",15),xn("click",function(){Wr(i);let d=pn();return Zr(d.onCityFilterClick())}),$t(2,"fa-icon",6),_t(),gt(3,"button",16),xn("click",function(){Wr(i);let d=pn();return Zr(d.onCityFilterClick())}),gt(4,"span",17),bn(5),_t(),gt(6,"div",18),gr(7,cG,1,1,"fa-icon",6)(8,uG,1,1,"fa-icon",6),_t()(),gr(9,hG,3,0,"div",19),_t()}if(n&2){let i=pn();bt(),xi("active",i.isCityDropdownOpen()),bt(),Zt("icon",i.faFilter),bt(3),ks(i.selectedCity()),bt(2),yr(i.isCityDropdownOpen()?7:8),bt(2),yr(i.isCityDropdownOpen()?9:-1)}}var n1=class n{logger=Ve(dr);stateService=Ve(Ni);mapService=Ve(bo);navigatorService=Ve(os);iconLibrary=Ve(_r);categoryFilters;activeView=Tn(()=>this.stateService.activeView());showCityFilter=Tn(()=>this.stateService.showCityFilter());inputValue=Tn(()=>this.stateService.inputValue());citiesOptions=Tn(()=>["All cities","Detroit",...[]]);selectedCity=_s(()=>this.citiesOptions()[0]);isCityDropdownOpen=Jn(!1);mapReady=$o(this.mapService.mapReady,{initialValue:!1});faGrid2=this.iconLibrary.getIconDefinition("fas","grid-2");faMagnifyingGlass=this.iconLibrary.getIconDefinition("fas","magnifying-glass");faMapLocationDot=this.iconLibrary.getIconDefinition("fas","map-location-dot");faXmark=this.iconLibrary.getIconDefinition("fas","xmark");faCaretDown=this.iconLibrary.getIconDefinition("fas","caret-down");faCaretUp=this.iconLibrary.getIconDefinition("fas","caret-up");faFilter=this.iconLibrary.getIconDefinition("fas","filter");constructor(){vr(()=>{let r=this.selectedCity();this.stateService.selectedCity.set(r)}),vr(()=>{if(this.stateService.activeView()==="map"&&this.mapReady()){let r=this.stateService.lastListedPlaces();setTimeout(()=>{this.mapService.fitCoordinates(r.map(i=>i.position),{padding:{top:100,left:100,right:100,bottom:100}})},100)}})}ngOnInit(){this.stateService.inputValue()!==""&&this.navigatorService.navigateToSearchView()}ngAfterViewInit(){this.readUrlParams()}readUrlParams(){let r=new URLSearchParams(location.search),i=r.get("search");i&&(this.stateService.inputValue.set(i),this.navigatorService.navigateToSearchView());let c=r.get("tenant");c&&this.navigatorService.navigateToProfile(c);let d=r.get("destination");d&&this.navigatorService.navigateToRoute(d)}onGridClick(){this.stateService.activeView.set("grid")}onMapClick(){this.stateService.activeView.set("map")}onInputChange(r){let i=r.target;this.stateService.inputValue.set(i.value),this.navigatorService.navigateToSearchView()}onClearInput(){this.stateService.inputValue.set(""),this.stateService.userAction.next({type:"return-to-home",data:{filter:this.stateService.selectedFilter()}}),this.navigatorService.navigateToHome()}onCityFilterClick(){this.isCityDropdownOpen.update(r=>!r)}onCitySelect(r){this.selectedCity.set(r),this.isCityDropdownOpen.set(!1)}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-home-screen"]],viewQuery:function(i,c){if(i&1&&zg(aG,5),i&2){let d;jg(d=Bg())&&(c.categoryFilters=d.first)}},decls:23,vars:12,consts:[[1,"home-screen"],[1,"sub-navigation"],[1,"sub-nav-top"],[1,"search-section"],[1,"search-bar"],[1,"search-icon"],[3,"icon"],["name","search input","type","text","placeholder","Search...",1,"search-input",3,"input","value"],[1,"search-clear"],[1,"city-filter-container"],[1,"view-toggle"],[1,"view-btn",3,"click"],[1,"view-icon"],[1,"sub-content"],[1,"search-clear",3,"click"],[1,"mobile-city-filter",3,"click"],[1,"desktop-city-filter",3,"click"],[1,"city-text"],[1,"dropdown-icon"],[1,"city-dropdown"],[1,"city-option",3,"selected"],[1,"city-option",3,"click"]],template:function(i,c){i&1&&(gt(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),$t(6,"fa-icon",6),_t(),gt(7,"input",7),xn("input",function(a){return c.onInputChange(a)}),_t(),gr(8,lG,2,1,"button",8),_t(),gr(9,fG,10,6,"div",9),_t(),gt(10,"div",10)(11,"button",11),xn("click",function(){return c.onGridClick()}),gt(12,"div",12),$t(13,"fa-icon",6),_t(),gt(14,"span"),bn(15,"Grid View"),_t()(),gt(16,"button",11),xn("click",function(){return c.onMapClick()}),gt(17,"div",12),$t(18,"fa-icon",6),_t(),gt(19,"span"),bn(20,"Map View"),_t()()()()(),gt(21,"div",13),$t(22,"router-outlet"),_t()()),i&2&&(bt(4),xi("active",c.inputValue()!==""),bt(2),Zt("icon",c.faMagnifyingGlass),bt(),Zt("value",c.inputValue()),bt(),yr(c.inputValue()!==""?8:-1),bt(),yr(c.showCityFilter()?9:-1),bt(2),xi("active",c.activeView()==="grid"),bt(2),Zt("icon",c.faGrid2),bt(3),xi("active",c.activeView()==="map"),bt(2),Zt("icon",c.faMapLocationDot))},dependencies:[Yr,df],styles:["*[_ngcontent-%COMP%]{margin:0;padding:0;border:0}.home-screen[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:36px}.sub-navigation[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2.25rem;margin-bottom:1.5rem}.sub-nav-top[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;gap:40px}@container mapvx-container (width <= 640px){.sub-nav-top[_ngcontent-%COMP%]{gap:13px}}.search-section[_ngcontent-%COMP%]{display:flex;gap:24px;align-items:center}@container mapvx-container (width <= 640px){.search-section[_ngcontent-%COMP%]{gap:11px}}.search-bar[_ngcontent-%COMP%]{background:var(--definitions-colors-background-white);border-bottom:1px solid var(--definitions-colors-primary-black);display:flex;width:342px;padding:12px 20px;align-items:center;gap:10px}@container mapvx-container (width <= 960px){.search-bar[_ngcontent-%COMP%]{width:150px}}@container mapvx-container (width <= 640px){.search-bar[_ngcontent-%COMP%]{width:110px}}.search-bar.active[_ngcontent-%COMP%]{border-bottom:1px solid var(--definitions-colors-secondary-orange)}.search-icon[_ngcontent-%COMP%]{color:var(--definitions-colors-text-800);display:flex;align-items:center;font-size:20px}.search-bar.active[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{color:var(--definitions-colors-secondary-orange)}.search-clear[_ngcontent-%COMP%]{color:var(--definitions-colors-secondary-orange);display:flex;align-items:center;font-size:20px;border:none;background:none}.search-clear[_ngcontent-%COMP%]:hover{cursor:pointer}.search-input[_ngcontent-%COMP%]{border:none;outline:none;background:transparent;font:var(--definitions-textFonts-desktop-button-4);font-family:inherit;color:var(--definitions-colors-text-800);width:100%}.search-input[_ngcontent-%COMP%]::placeholder{color:var(--definitions-colors-text-800)}.city-filter-container[_ngcontent-%COMP%]{position:relative}.desktop-city-filter[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;padding:.875rem 1rem;height:45px;box-sizing:border-box;cursor:pointer;border:none;background:none}@container mapvx-container (width <= 640px){.desktop-city-filter[_ngcontent-%COMP%]{display:none}}.city-text[_ngcontent-%COMP%]{font:var(--definitions-textFonts-desktop-button-5);font-family:inherit;color:var(--definitions-colors-text-900);white-space:nowrap}.dropdown-icon[_ngcontent-%COMP%]{color:var(--definitions-colors-text-900);display:flex;align-items:center;font-size:12px}.mobile-city-filter[_ngcontent-%COMP%]{display:none}@container mapvx-container (width <= 640px){.mobile-city-filter[_ngcontent-%COMP%]{display:flex;height:45px;width:52px;padding:0;justify-content:center;align-items:center;gap:10px;cursor:pointer;border:none;background:var(--definitions-colors-background-white);color:var(--definitions-colors-primary-black);font-size:20px}.mobile-city-filter.active[_ngcontent-%COMP%]{background:var(--definitions-colors-primary-black);color:var(--definitions-colors-black_white-50)}}.city-dropdown[_ngcontent-%COMP%]{position:absolute;top:100%;left:0;right:0;background:var(--definitions-colors-background-white);border:1px solid var(--definitions-colors-primary-300);z-index:1;padding:8px 0;min-width:111px}.city-option[_ngcontent-%COMP%]{display:block;width:100%;padding:12px 16px;border:none;background:none;text-align:center;cursor:pointer;font:var(--definitions-textFonts-desktop-input-2);font-family:inherit;color:var(--definitions-colors-text-900);transition:background-color .2s ease}.city-option[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid var(--definitions-colors-primary-100)}.city-option[_ngcontent-%COMP%]:hover{background:var(--definitions-colors-background-50)}.view-toggle[_ngcontent-%COMP%]{display:flex;align-items:center}.view-btn[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.625rem;padding:10px 28px;border:none;background:var(--definitions-colors-background-50);cursor:pointer;font:var(--definitions-textFonts-desktop-button-2);font-family:inherit;color:var(--definitions-colors-text-900);white-space:nowrap;transition:all .2s ease;position:relative;border-bottom:1px solid var(--definitions-colors-text-900)}.view-btn.active[_ngcontent-%COMP%]{background:var(--definitions-colors-text-900);color:var(--definitions-colors-text-50)}.view-btn[_ngcontent-%COMP%] .view-icon[_ngcontent-%COMP%]{display:flex;align-items:center;color:currentcolor}@container mapvx-container (width <= 770px){.view-btn[_ngcontent-%COMP%]{padding:10px 0;width:52px;justify-content:center}.view-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:none}}@container mapvx-container (width <= 640px){.view-btn[_ngcontent-%COMP%]{padding:10px 0;width:52px;justify-content:center}.view-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:none}}"],changeDetection:0})};var r1="https://images.ctfassets.net/37yx0l0lf3yk/6eJ4fYG9hQxJ8ayujcebhe/8cf968e7d66df9a8bc75b72b7e7d6432/00002167_BedrockWebsite_TenantCOmingSoon_PlaceholderImage_3840x3840_V2-web.jpg?q=80&fm=webp&w=1920";function i1(n){return n.tags?.includes("deals")||n.tags?.includes("events")}var pG=()=>({rotate:42});function mG(n,r){if(n&1&&$t(0,"fa-icon",3),n&2){let i=pn();Zt("icon",i.faCircleNotch)("transform",Mu(2,pG))}}function gG(n,r){n&1&&(gt(0,"div",4),bn(1,"Deals + Events"),_t())}var o1=class n{iconLibrary=Ve(_r);navigatorService=Ve(os);homeStateService=Ve(Ni);place=Nr.required();hasDealsOrEvents=Tn(()=>this.place().banners.some(i1));hideDeals=Tn(()=>this.homeStateService.hideDeals());imageSrc=Tn(()=>this.place().images[0]||r1);isImageLoading=Jn(!0);faCircleNotch=this.iconLibrary.getIconDefinition("fas","circle-notch");constructor(){vr(()=>{this.imageSrc()&&this.startImageLoading()})}navigateToProfile(){let r=this.place().lazarilloId;this.homeStateService.lastCardSelected.next(r),this.navigatorService.navigateToProfile(r)}startImageLoading(){this.isImageLoading.set(!0)}endImageLoading(){this.isImageLoading.set(!1)}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-location-card"]],inputs:{place:[1,"place"]},decls:12,vars:8,consts:[[1,"location-card",3,"click"],[1,"card-image"],[3,"load","error","src","alt"],[1,"loading-icon",3,"icon","transform"],[1,"card-deals-or-events"],[1,"card-content"],[1,"location-name"],[1,"location-address"],[1,"location-category"]],template:function(i,c){i&1&&(gt(0,"button",0),xn("click",function(){return c.navigateToProfile()}),gt(1,"div",1)(2,"img",2),xn("load",function(){return c.endImageLoading()})("error",function(){return c.endImageLoading()}),_t(),gr(3,mG,1,3,"fa-icon",3)(4,gG,2,0,"div",4),_t(),gt(5,"div",5)(6,"h3",6),bn(7),_t(),gt(8,"p",7),bn(9),_t(),gt(10,"span",8),bn(11),_t()()()),i&2&&(bt(),xi("loading",c.isImageLoading()),bt(),Zt("src",c.imageSrc(),Jh)("alt",c.place().title),bt(),yr(c.isImageLoading()?3:c.hasDealsOrEvents()&&!c.hideDeals()?4:-1),bt(4),ks(c.place().title),bt(2),ks(c.place().address),bt(2),ks(c.place().localizedCategory))},dependencies:[Yr],styles:["*[_ngcontent-%COMP%]{margin:0;padding:0}.location-card[_ngcontent-%COMP%]{display:flex;padding:5px 5px 10px;flex-direction:column;align-items:flex-start;gap:12px;background:var(--definitions-colors-background-50);border:none;width:100%}.location-card[_ngcontent-%COMP%]:hover{cursor:pointer}.card-image[_ngcontent-%COMP%]{min-width:227px;min-height:227px;overflow:hidden;position:relative}@container mapvx-container (width <= 640px){.card-image[_ngcontent-%COMP%]{min-width:160px;min-height:160px}}.card-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;aspect-ratio:1/1;object-fit:cover;display:block;transition:transform .4s ease}.card-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:hover{transform:scale(1.2)}.card-image[_ngcontent-%COMP%] .card-deals-or-events[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;width:100%;background-color:var(--definitions-colors-secondary-orange);color:var(--definitions-colors-text-white);display:flex;padding:5px;justify-content:center;align-items:center;gap:8.462px;flex-shrink:0;font:var(--definitions-textFonts-desktop-body-4);font-family:inherit}.card-image.loading[_ngcontent-%COMP%]{background-color:var(--definitions-colors-primary-300);display:flex;justify-content:center;align-items:center}.card-image.loading[_ngcontent-%COMP%] .loading-icon[_ngcontent-%COMP%]{color:var(--definitions-colors-primary-600);font-size:100px}.card-image.loading[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:none}.card-content[_ngcontent-%COMP%]{display:flex;width:227px;flex-direction:column;align-items:flex-start;gap:8px}@container mapvx-container (width <= 640px){.card-content[_ngcontent-%COMP%]{width:160px}}.location-name[_ngcontent-%COMP%]{color:var(--definitions-colors-text-black);font:var(--definitions-textFonts-desktop-body-3);font-family:inherit;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;text-align:start}.location-address[_ngcontent-%COMP%]{color:var(--definitions-colors-text-grey);font:var(--definitions-textFonts-desktop-body-5);font-family:inherit;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;text-align:start}.location-category[_ngcontent-%COMP%]{color:var(--definitions-colors-text-light-grey);font:var(--definitions-textFonts-desktop-body-5);font-family:inherit;display:none}"],changeDetection:0})};var yG=["cardContainer"],vG=["*"];function _G(n,r){if(n&1&&$t(0,"app-location-card",3),n&2){let i=r.$implicit;Zt("place",i)}}function bG(n,r){n&1&&Tu(0)}function wG(n,r){if(n&1){let i=wi();gt(0,"button",7),xn("click",function(){Wr(i);let d=pn(3);return Zr(d.previousPage())}),$t(1,"fa-icon",8),_t()}if(n&2){let i=pn(3);bt(),Zt("icon",i.faChevronLeft)}}function xG(n,r){if(n&1&&gr(0,wG,2,1,"button",6),n&2){let i=pn().$implicit,c=pn();yr(i<c.currentPageIndex()?0:-1)}}function CG(n,r){n&1&&(gt(0,"button",9),bn(1,"..."),_t())}function SG(n,r){if(n&1){let i=wi();gt(0,"button",11),xn("click",function(){Wr(i);let d=pn(3);return Zr(d.nextPage())}),$t(1,"fa-icon",8),_t()}if(n&2){let i=pn(3);bt(),Zt("icon",i.faChevronRight)}}function EG(n,r){if(n&1&&(gr(0,CG,2,0,"button",9),gr(1,SG,2,1,"button",10)),n&2){let i=pn().$implicit,c=pn();yr(i<c.totalPages()?0:-1),bt(),yr(i>c.currentPageIndex()?1:-1)}}function DG(n,r){if(n&1){let i=wi();gr(0,xG,1,1),gt(1,"button",5),xn("click",function(){let d=Wr(i).$implicit,a=pn();return Zr(a.goToPage(d))}),bn(2),_t(),gr(3,EG,2,2)}if(n&2){let i=r.$implicit,c=r.$index,d=r.$count,a=pn();yr(c===0?0:-1),bt(),xi("active",a.currentPageIndex()===i),bt(),is(" ",i," "),bt(),yr(c===d-1?3:-1)}}var am=class n{stateService=Ve(Ni);iconLibrary=Ve(_r);cardContainer=e0("cardContainer");faChevronLeft=this.iconLibrary.getIconDefinition("fas","chevron-left");faChevronRight=this.iconLibrary.getIconDefinition("fas","chevron-right");places=Nr.required();itemsPerPage=Tn(()=>this.calculateItemsPerPage(this.showMap(),this.cardContainer()));currentPageIndex=Tn(()=>this.stateService.currentPageIndex());totalPages=Tn(()=>Math.ceil(this.places().length/this.itemsPerPage()));pages=Tn(()=>{let r=this.totalPages();switch(r){case 0:return[];case 1:return[1];case 2:return[1,2];default:{let c=this.currentPageIndex()-1;return c<1&&(c=1),c+2>r&&(c=r-2),Array.from({length:3},(d,a)=>a+c)}}});currentPagePlaces=Tn(()=>{let r=this.places(),i=this.itemsPerPage(),c=this.currentPageIndex();return r.slice((c-1)*i,c*i)});showMap=Tn(()=>this.stateService.activeView()==="map");calculateItemsPerPage(r,i){if(r)return 4;if(i){let c=globalThis.getComputedStyle(i.nativeElement),d=Number.parseInt(c.getPropertyValue("--card-width")||"0"),a=Number.parseInt(c.getPropertyValue("--card-gap")||"0"),w=d+a,P=i.nativeElement.clientWidth;return Math.floor((P+a)/w)*2||10}return 10}nextPage(){let r=this.currentPageIndex(),i=this.totalPages();r<i&&this.stateService.currentPageIndex.set(r+1)}previousPage(){let r=this.currentPageIndex();r>1&&this.stateService.currentPageIndex.set(r-1)}goToPage(r){this.stateService.currentPageIndex.set(r)}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-paginator"]],viewQuery:function(i,c){i&1&&Vg(c.cardContainer,yG,5),i&2&&Ug()},inputs:{places:[1,"places"]},ngContentSelectors:vG,decls:9,vars:5,consts:[["cardContainer",""],[1,"paginator"],[1,"paginator-places"],[3,"place"],[1,"paginator-buttons"],[1,"paginator-button",3,"click"],[1,"previous-button"],[1,"previous-button",3,"click"],[3,"icon"],[1,"paginator-button","ellipsis"],[1,"next-button"],[1,"next-button",3,"click"]],template:function(i,c){i&1&&(Iu(),gt(0,"div",1)(1,"div",2,0),ns(3,_G,1,1,"app-location-card",3,rl,!1,bG,1,0),_t(),gt(6,"div",4),ns(7,DG,4,5,null,null,tf),_t()()),i&2&&(xi("with-map",c.showMap()),bt(),xi("with-map",c.showMap()),bt(2),rs(c.currentPagePlaces()),bt(4),rs(c.pages()))},dependencies:[o1,Yr],styles:['.paginator[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:36px}.paginator.with-map[_ngcontent-%COMP%]{height:730px}@container mapvx-container (width <= 1024px){.paginator.with-map[_ngcontent-%COMP%]{height:unset}}.paginator-places[_ngcontent-%COMP%]{--card-width: 237;--card-gap: 13;display:grid;grid-template-columns:repeat(auto-fill,minmax(237px,1fr));align-items:flex-start;place-content:flex-start space-around;gap:24px 13px;align-self:stretch}@container mapvx-container (width <= 640px){.paginator-places[_ngcontent-%COMP%]{--card-width: 170;grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}}.paginator-places.with-map[_ngcontent-%COMP%]{gap:16px 8px;flex-shrink:0}@container mapvx-container (width <= 1024px){.paginator-places.with-map[_ngcontent-%COMP%]{display:flex;overflow-x:auto}}.paginator-buttons[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap}.paginator-button[_ngcontent-%COMP%]{color:var(--definitions-colors-text-900);text-align:center;font:var(--definitions-textFonts-desktop-button-1);font-family:inherit;font-feature-settings:"liga" off,"clig" off;letter-spacing:-1px;border:none;background:none}.paginator-button[_ngcontent-%COMP%]:hover{cursor:pointer}.paginator-button.active[_ngcontent-%COMP%]{color:var(--definitions-colors-secondary-orange)}.paginator-button.ellipsis[_ngcontent-%COMP%]:hover{cursor:default}.previous-button[_ngcontent-%COMP%], .next-button[_ngcontent-%COMP%]{color:var(--definitions-colors-text-900);background:none;border:none;font-size:21px}.previous-button[_ngcontent-%COMP%]:hover, .next-button[_ngcontent-%COMP%]:hover{cursor:pointer}'],changeDetection:0})};var s1=class n{onDestroy=new Lr;iconLibrary=Ve(_r);mapService=Ve(bo);logger=Ve(dr);loadedDataService=Ve(Uo);faCenter=this.iconLibrary.getIconDefinition("fak","center");ngOnDestroy(){this.onDestroy.next(),this.onDestroy.complete()}onClick(){let r=this.mapService.rotation.getValue();this.loadedDataService.getConfiguration().pipe(ra(1),Ms(this.onDestroy)).subscribe({next:i=>{this.mapService.updateCamera({center:i.initialCenter,zoom:i.initialZoom,pitch:i.initialPitch??0,bearing:r})},error:i=>{this.logger.logWarning("Error centering map",i)}})}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-center-map-button"]],decls:2,vars:1,consts:[[1,"button",3,"click"],[3,"icon"]],template:function(i,c){i&1&&(gt(0,"button",0),xn("click",function(){return c.onClick()}),$t(1,"fa-icon",1),_t()),i&2&&(bt(),Zt("icon",c.faCenter))},dependencies:[Yr],styles:[".button[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:40px;border:1px solid var(--definitions-colors-primary-900);background-color:var(--definitions-colors-background-white);box-shadow:var(--definitions-shadows-general)}.button[_ngcontent-%COMP%]:hover{cursor:pointer}.button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:20px;color:var(--definitions-colors-text-black)}"],changeDetection:0})};var IG=n=>({rotate:n}),a1=class n{mapService=Ve(bo);iconLibrary=Ve(_r);rotation=$o(this.mapService.rotation.asObservable().pipe(Hn(r=>360-r)),{initialValue:0});faCompass=this.iconLibrary.getIconDefinition("fak","compass");static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-compass-button"]],decls:2,vars:4,consts:[[1,"button"],[3,"icon","transform"]],template:function(i,c){i&1&&(gt(0,"button",0),$t(1,"fa-icon",1),_t()),i&2&&(bt(),Zt("icon",c.faCompass)("transform",Sx(2,IG,c.rotation())))},dependencies:[Yr],styles:[".button[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:40px;border:1px solid var(--definitions-colors-primary-900);background-color:var(--definitions-colors-background-white);box-shadow:var(--definitions-shadows-general)}.button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:20px;color:var(--definitions-colors-text-black)}"],changeDetection:0})};var l1=class n{iconLibrary=Ve(_r);locationService=Ve(Bd);logger=Ve(dr);markerService=Ve(ws);mapService=Ve(bo);locationPermission=Jn("prompt");active=Tn(()=>this.locationService.currentlyWatchingLocation());mapReady=$o(this.mapService.mapReady.asObservable(),{initialValue:!1});positionSubscription;bearingSubscription;faLocation=this.iconLibrary.getIconDefinition("fas","location-arrow");constructor(){this.checkLocationPermission(),vr(()=>{this.mapReady()?this.active()?(this.positionSubscription=this.locationService.currentLocation.asObservable().subscribe({next:r=>{this.logger.log("location",r),r!=null&&(this.markerService.hasCurrentLocationMarker?this.markerService.updateCurrentLocationMarker(r.position):this.markerService.addCurrentLocationMarker(r.position))},error:r=>{this.logger.logWarning("Error updating current location marker position",r)}}),this.bearingSubscription=Ka([this.locationService.currentBearing.asObservable(),this.mapService.rotation.asObservable()]).subscribe({next:([r,i])=>{this.logger.log("bearing",r),this.logger.log("maprotation",i);let d=(r??0)-i;if(this.logger.log("markerRotation",d),this.markerService.hasCurrentLocationMarker){let a=this.markerService.getCurrentLocationMarkerElement();a!=null&&(a.style.transform=`rotate(${d}deg)`)}},error:r=>{this.logger.logWarning("Error updating current location marker rotation",r)}})):(this.positionSubscription?.unsubscribe(),this.bearingSubscription?.unsubscribe(),this.markerService.removeCurrentLocationMarker(),this.positionSubscription=void 0,this.bearingSubscription=void 0):(this.positionSubscription?.unsubscribe(),this.bearingSubscription?.unsubscribe(),this.positionSubscription=void 0,this.bearingSubscription=void 0)})}ngOnDestroy(){this.locationService.temporalStopWatching(),this.positionSubscription?.unsubscribe(),this.bearingSubscription?.unsubscribe(),this.markerService.removeCurrentLocationMarker()}checkLocationPermission(){this.locationService.checkLocationPermission().then(r=>{this.locationPermission.set(r),r==="granted"&&this.active()&&this.locationService.startWatching()}).catch(r=>{this.logger.logWarning("Error checking location permission",r),this.locationPermission.set("denied")})}async onClick(){if(this.active())this.locationService.stopWatching();else switch(this.locationPermission()){case"granted":this.locationService.startWatching();break;case"prompt":await this.requestPermissions();break;case"denied":this.logger.logWarning("Location permission denied");break}}async requestPermissions(){await this.locationService.requestLocationPermission()==="granted"?(this.locationPermission.set("granted"),this.locationService.startWatching()):this.locationPermission.set("denied")}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-location-button"]],decls:2,vars:3,consts:[[1,"button",3,"click"],[3,"icon"]],template:function(i,c){i&1&&(gt(0,"button",0),xn("click",function(){return c.onClick()}),$t(1,"fa-icon",1),_t()),i&2&&(xi("active",c.active()),bt(),Zt("icon",c.faLocation))},dependencies:[Yr],styles:[".button[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:40px;border:1px solid var(--definitions-colors-primary-900);background-color:var(--definitions-colors-background-white);color:var(--definitions-colors-text-black);box-shadow:var(--definitions-shadows-general)}.button[_ngcontent-%COMP%]:hover{cursor:pointer}.button.active[_ngcontent-%COMP%]{background-color:var(--definitions-colors-secondary-blue);color:var(--definitions-colors-text-white);border-color:var(--definitions-colors-secondary-blue)}.button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:18px}"],changeDetection:0})};var c1=class n{mapService=Ve(bo);iconLibrary=Ve(_r);faPlus=this.iconLibrary.getIconDefinition("fas","plus");faMinus=this.iconLibrary.getIconDefinition("fas","minus");onZoomIn(){this.mapService.updateZoomLevelOn(1)}onZoomOut(){this.mapService.updateZoomLevelOn(-1)}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-zoom-buttons"]],decls:5,vars:2,consts:[[1,"zoom-buttons-container"],[1,"zoom-button","zoom-in",3,"click"],[3,"icon"],[1,"zoom-button","zoom-out",3,"click"]],template:function(i,c){i&1&&(gt(0,"div",0)(1,"button",1),xn("click",function(){return c.onZoomIn()}),$t(2,"fa-icon",2),_t(),gt(3,"button",3),xn("click",function(){return c.onZoomOut()}),$t(4,"fa-icon",2),_t()()),i&2&&(bt(2),Zt("icon",c.faPlus),bt(2),Zt("icon",c.faMinus))},dependencies:[Yr],styles:[".zoom-buttons-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;border-radius:40px;border:1px solid var(--definitions-colors-primary-900);background-color:var(--definitions-colors-background-white);box-shadow:var(--definitions-shadows-general)}.zoom-button[_ngcontent-%COMP%]{width:40px;height:40px;border:none;background-color:transparent}.zoom-button[_ngcontent-%COMP%]:hover{cursor:pointer}.zoom-button.zoom-in[_ngcontent-%COMP%]{border-radius:40px 40px 0 0}.zoom-button.zoom-out[_ngcontent-%COMP%]{border-radius:0 0 40px 40px}.zoom-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:20px;color:var(--definitions-colors-text-black)}"],changeDetection:0})};var u1=class n{static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-buttons-container"]],decls:5,vars:0,consts:[[1,"buttons-container-wrapper"]],template:function(i,c){i&1&&(gt(0,"div",0),$t(1,"app-location-button")(2,"app-compass-button")(3,"app-center-map-button")(4,"app-zoom-buttons"),_t())},dependencies:[a1,s1,c1,l1],styles:[".buttons-container-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:20px}"],changeDetection:0})};var TG=["map"],MG=["*"],Vd=class n{mapRef;logger=Ve(dr);mapService=Ve(bo);markerService=Ve(ws);routingService=Ve(Dc);ngAfterViewInit(){this.mapService.createMap(this.mapRef.nativeElement)}ngOnDestroy(){this.logger.log("Destroying map and preparing to reuse"),this.markerService.prepareToMapReuse(),this.routingService.removeRoute(),this.mapService.prepareToReuse()}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-map"]],viewQuery:function(i,c){if(i&1&&zg(TG,5),i&2){let d;jg(d=Bg())&&(c.mapRef=d.first)}},ngContentSelectors:MG,decls:5,vars:0,consts:[["map",""],[1,"map-wrapper"],["id","map"],[1,"buttons-container"]],template:function(i,c){i&1&&(Iu(),gt(0,"div",1),$t(1,"div",2,0)(3,"app-buttons-container",3),Tu(4),_t())},dependencies:[u1],styles:[".map-wrapper[_ngcontent-%COMP%]{height:100%;width:100%;position:relative}#map[_ngcontent-%COMP%]{height:100%;min-width:10px;min-height:10px}.buttons-container[_ngcontent-%COMP%]{position:absolute;bottom:18px;right:17px}"],changeDetection:0})};var PG=["*"];function AG(n,r){n&1&&(gt(0,"div",2),$t(1,"app-map"),_t())}var lm=class n{stateService=Ve(Ni);showMap=Tn(()=>this.stateService.activeView()==="map");static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-view-container"]],ngContentSelectors:PG,decls:4,vars:3,consts:[[1,"view-container"],[1,"view-content"],[1,"map-container"]],template:function(i,c){i&1&&(Iu(),gt(0,"div",0)(1,"div",1),Tu(2),_t(),gr(3,AG,2,0,"div",2),_t()),i&2&&(bt(),xi("with-map",c.showMap()),bt(2),yr(c.showMap()?3:-1))},dependencies:[Vd],styles:[".view-container[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:8px}@container mapvx-container (width <= 1024px){.view-container[_ngcontent-%COMP%]{flex-direction:column-reverse}}@container mapvx-container (width <= 640px){.view-container[_ngcontent-%COMP%]{flex-direction:column-reverse}}.view-content[_ngcontent-%COMP%]{width:100%}.view-content.with-map[_ngcontent-%COMP%]{width:482px;flex-shrink:0}@container mapvx-container (width <= 1024px){.view-content.with-map[_ngcontent-%COMP%]{width:100%}}.map-container[_ngcontent-%COMP%]{width:100%;height:730px}@container mapvx-container (width <= 1024px){.map-container[_ngcontent-%COMP%]{width:100%}}@container mapvx-container (width <= 640px){.map-container[_ngcontent-%COMP%]{width:100%;height:400px}}"],changeDetection:0})};var kG=["categoryFilters"],RG=(n,r)=>r.name;function OG(n,r){if(n&1){let i=wi();gt(0,"button",11),xn("click",function(){let d=Wr(i).$implicit,a=pn(2);return Zr(a.updateSelectedFilter(d.name))}),bn(1),_t()}if(n&2){let i=r.$implicit,c=pn(2);xi("active",c.selectedFilter()===i.name),bt(),is(" ",i.name," ")}}function LG(n,r){if(n&1&&(gt(0,"div",2)(1,"div",5,0)(3,"div",6),ns(4,OG,2,3,"button",7,RG),_t(),gt(6,"div",8),$t(7,"div",9)(8,"div",10),_t()()()),n&2){let i=pn();bt(4),rs(i.categoryFiltersData()),bt(4),Y_("left",i.indicatorPosition(),"px")}}var d1=class n{logger=Ve(dr);stateService=Ve(Ni);loadedDataService=Ve(Uo);markerService=Ve(ws);categoryFilters=e0("categoryFilters");activeView=Tn(()=>this.stateService.activeView());loadedPlaces=$o(this.loadedDataService.getAvailablePlaces(),{initialValue:[]});categoryFiltersData=Tn(()=>this.stateService.categoryFiltersData());places=_s(()=>this.loadedPlaces());selectedFilter=Tn(()=>this.stateService.selectedFilter());selectedCity=Tn(()=>this.stateService.selectedCity());showCategoryFilters=Tn(()=>this.stateService.showCategoryFilters());showCityFilter=Tn(()=>this.stateService.showCityFilter());indicatorPosition=Jn(0);constructor(){vr(()=>{let r=this.categoryFiltersData();if(this.logger.log("====> loadedCategoryFiltersData",r),r.length>0){let i=r.map(c=>c.name);this.readFilterFromUrl(i)}}),vr(()=>{if(this.activeView()==="map"){let r=this.places();this.logger.log("====> addMarkers ",r),this.markerService.addMarkers(r)}}),vr(()=>{let r=this.loadedPlaces(),i=this.showCategoryFilters(),c=r;if(i){let a=this.selectedFilter(),w=this.categoryFiltersData();if(a!=="All"){let P=w.find(k=>k.name===a)?.placeData||[];c=r.filter(k=>P.includes(k.lazarilloId))}}if(this.showCityFilter()){let a=this.selectedCity();a!=="All cities"&&(c=c.filter(w=>w.address?.includes(a)))}this.logger.log("====> filteredPlaces",c),this.places.set(c)}),vr(()=>{let r=this.places();this.stateService.lastListedPlaces.set(r)}),vr(()=>{let r=this.selectedFilter(),i=this.categoryFiltersData(),c=this.categoryFilters();this.showCategoryFilters()&&c?requestAnimationFrame(()=>{let a=this.getIndicatorPosition(r,i,c);this.indicatorPosition.set(a)}):this.indicatorPosition.set(0)})}readFilterFromUrl(r){let c=new URLSearchParams(location.search).get("tab");c&&r.includes(c)&&this.stateService.selectedFilter.set(c)}getIndicatorPosition(r,i,c){if(c==null)return 0;let d=c.nativeElement.querySelectorAll(".category-btn");if(d.length===0)return 0;let a=i.findIndex(X=>X.name===r);if(a===-1||a>=d.length)return 0;let w=d[a];if(!w)return 0;let P=c.nativeElement.getBoundingClientRect(),k=w.getBoundingClientRect(),q=k.width,J=k.left-P.left,Z=80,Q=J+q/2-Z/2;return Math.min(Math.max(0,Q),P.width-Z)}updateSelectedFilter(r){this.stateService.selectedFilter.set(r),this.stateService.userAction.next({type:"select-filter",data:{filter:r}})}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-list-view"]],viewQuery:function(i,c){i&1&&Vg(c.categoryFilters,kG,5),i&2&&Ug()},decls:5,vars:2,consts:[["categoryFilters",""],[1,"list-view"],[1,"category-filters-overflow"],[1,"list-container"],[3,"places"],[1,"category-filters-container"],[1,"category-filters"],[1,"category-btn",3,"active"],[1,"active-indicator"],[1,"background-line"],[1,"active-line"],[1,"category-btn",3,"click"]],template:function(i,c){i&1&&(gt(0,"div",1),gr(1,LG,9,2,"div",2),gt(2,"app-view-container")(3,"div",3),$t(4,"app-paginator",4),_t()()()),i&2&&(bt(),yr(c.showCategoryFilters()?1:-1),bt(3),Zt("places",c.places()))},dependencies:[lm,am],styles:[".list-view[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:36px}.category-filters-overflow[_ngcontent-%COMP%]{width:100%;overflow-x:auto}.category-filters-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;gap:16px;width:100%;min-width:max-content}.category-filters[_ngcontent-%COMP%]{display:flex;gap:2.4375rem;align-items:center}.category-btn[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;font:var(--definitions-textFonts-desktop-button-5);font-family:inherit;font-weight:400;color:var(--definitions-colors-text-900);white-space:nowrap;padding:0;transition:color .2s ease}.category-btn.active[_ngcontent-%COMP%], .category-btn[_ngcontent-%COMP%]:hover{color:var(--definitions-colors-secondary-orange)}.active-indicator[_ngcontent-%COMP%]{position:relative;width:100%;height:3px;display:flex;align-items:center}.background-line[_ngcontent-%COMP%]{height:.5px;background:var(--definitions-colors-primary-black);border-radius:2px;width:100%}.active-line[_ngcontent-%COMP%]{position:absolute;top:0;height:100%;width:80px;background:var(--definitions-colors-secondary-orange);border-radius:2px;transition:left .3s ease}.list-container[_ngcontent-%COMP%]{width:100%}"],changeDetection:0})};var FG=()=>({rotate:42}),h1=class n{iconLibrary=Ve(_r);faCircleNotch=this.iconLibrary.getIconDefinition("fas","circle-notch");static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-loading-location-card"]],decls:7,vars:3,consts:[[1,"loading-location-card"],[1,"loading-card-image"],[3,"icon","transform"],[1,"loading-card-content"],[1,"loading-location-name"],[1,"loading-location-address"],[1,"loading-location-category"]],template:function(i,c){i&1&&(gt(0,"div",0)(1,"div",1),$t(2,"fa-icon",2),_t(),gt(3,"div",3),$t(4,"div",4)(5,"div",5)(6,"div",6),_t()()),i&2&&(bt(2),Zt("icon",c.faCircleNotch)("transform",Mu(2,FG)))},dependencies:[Yr],styles:[".loading-location-card[_ngcontent-%COMP%]{display:flex;padding:5px 5px 10px;flex-direction:column;align-items:flex-start;gap:12px}.loading-card-image[_ngcontent-%COMP%]{display:flex;width:227px;height:227px;justify-content:center;align-items:center;background-color:var(--definitions-colors-primary-300)}@container mapvx-container (width <= 640px){.loading-card-image[_ngcontent-%COMP%]{width:160px;height:160px}}.loading-card-image[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{color:var(--definitions-colors-primary-600);font-size:95px}.loading-card-content[_ngcontent-%COMP%]{display:flex;width:227px;flex-direction:column;align-items:flex-start;gap:8px}@container mapvx-container (width <= 640px){.loading-card-content[_ngcontent-%COMP%]{width:160px}}.loading-location-name[_ngcontent-%COMP%]{display:flex;width:85%;height:24px;padding:7.253px 0;flex-direction:column;justify-content:center;align-items:center;border-radius:28.09px;background:var(--definitions-colors-primary-300)}.loading-location-address[_ngcontent-%COMP%]{display:flex;width:70%;height:11px;align-items:center;gap:18px;flex-shrink:0;align-self:stretch;border-radius:28.09px;background:var(--definitions-colors-primary-200)}.loading-location-category[_ngcontent-%COMP%]{display:flex;width:45%;height:11px;justify-content:space-between;align-items:center;border-radius:24px;background:var(--definitions-colors-primary-200)}"]})};var NG=()=>[1,2,3,4,5,6,7,8,9,10];function zG(n,r){n&1&&$t(0,"app-loading-location-card")}var f1=class n{homeStateService=Ve(Ni);showMap=Tn(()=>this.homeStateService.activeView()==="map");static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-loading-card-list"]],decls:3,vars:3,consts:[[1,"loading-container"]],template:function(i,c){i&1&&(gt(0,"div",0),ns(1,zG,1,0,"app-loading-location-card",null,tf),_t()),i&2&&(xi("with-map",c.showMap()),bt(),rs(Mu(2,NG)))},dependencies:[h1],styles:[".loading-container[_ngcontent-%COMP%]{display:flex;place-content:flex-start;align-items:flex-start;gap:24px 13px;align-self:stretch;flex-wrap:wrap}.loading-container.with-map[_ngcontent-%COMP%]{gap:16px 8px;height:730px}"]})};function jG(n,r){n&1&&(gt(0,"p"),bn(1,"Looking for your results..."),_t())}function BG(n,r){if(n&1&&(gt(0,"p"),bn(1),_t()),n&2){let i=pn(3);bt(),is('Showing 1 result for "',i.searchTerm(),'"')}}function VG(n,r){if(n&1&&(gt(0,"p"),bn(1),_t()),n&2){let i=pn(3);bt(),X_("Showing ",i.places().length,' results for "',i.searchTerm(),'"')}}function UG(n,r){if(n&1&&gr(0,BG,2,1,"p")(1,VG,2,2,"p"),n&2){let i=pn(2);yr(i.places().length===1?0:1)}}function $G(n,r){if(n&1&&(gt(0,"p"),bn(1),_t()),n&2){let i=pn(2);bt(),is('No results found for "',i.searchTerm(),'"')}}function GG(n,r){if(n&1&&gr(0,UG,2,1)(1,$G,2,1,"p"),n&2){let i=pn();yr(i.places().length>0?0:1)}}function HG(n,r){n&1&&$t(0,"app-loading-card-list")}function qG(n,r){if(n&1&&(gt(0,"div",6)(1,"app-paginator",7)(2,"div",8),$t(3,"fa-icon",4),gt(4,"h2"),bn(5,"No results found"),_t(),gt(6,"div",9)(7,"p"),bn(8,"Sorry, we can\u2019t find any places that match your search. Please try again."),_t()()()()()),n&2){let i=pn();bt(),Zt("places",i.places()),bt(2),Zt("icon",i.faBuildingMagnifyingGlass)}}var p1=class n{logger=Ve(dr);loadedDataService=Ve(Uo);sdkService=Ve(xa);stateService=Ve(Ni);navigatorService=Ve(os);markerService=Ve(ws);iconLibrary=Ve(_r);searching=_s(()=>this.stateService.lastSearchData().term==="");inputValue$=hS(this.stateService.inputValue).pipe($b(500),Hn(r=>r.trim()),vo(r=>r!==""),Gb());searchTerm=$o(this.inputValue$,{initialValue:this.stateService.lastSearchData().term});places=$o(Ka([this.loadedDataService.getInstitutionId(),this.inputValue$,hS(this.stateService.lastSearchData)]).pipe(To(([r,i,c])=>c.term===i?(this.logger.log("====> lastSearchData",c),this.searching.set(!1),jn(c.results)):(this.searching.set(!0),this.logger.log("====> searchTerm",i),this.logger.log("====> institutionId",r),Pi(this.sdkService.searchPlaces(i,r)))),Mo(()=>this.searching.set(!1))),{initialValue:this.stateService.lastSearchData().results});faArrowLeft=this.iconLibrary.getIconDefinition("fas","arrow-left");faBuildingMagnifyingGlass=this.iconLibrary.getIconDefinition("fas","building-magnifying-glass");constructor(){vr(()=>{let r=this.places();this.markerService.addMarkers(r)}),vr(()=>{let r=this.places();this.stateService.lastListedPlaces.set(r)}),vr(()=>{let r=this.searching();this.logger.log("====> searching",r)}),vr(()=>{let r=this.searchTerm();r&&this.stateService.userAction.next({type:"search",data:{searchTerm:r}})})}ngOnDestroy(){this.stateService.inputValue()===""?(this.logger.log("====> EMPTY_SEARCH_DATA"),this.stateService.lastSearchData.set(Q0)):(this.logger.log("====> SETTING LAST SEARCH DATA"),this.stateService.lastSearchData.set({term:this.stateService.inputValue(),results:this.places()}))}onBackClick(){this.stateService.inputValue.set(""),this.stateService.userAction.next({type:"return-to-home",data:{filter:this.stateService.selectedFilter()}}),this.navigatorService.navigateToHome()}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-search-view"]],decls:13,vars:3,consts:[[1,"search-view"],[1,"search-view-header"],[1,"back-button"],[1,"back-btn",3,"click"],[3,"icon"],[1,"search-view-info"],[1,"results-container"],[3,"places"],[1,"no-results"],[1,"no-results-description"]],template:function(i,c){i&1&&(gt(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),xn("click",function(){return c.onBackClick()}),$t(4,"fa-icon",4),gt(5,"span"),bn(6,"Back"),_t()()(),gt(7,"div",5),gr(8,jG,2,0,"p")(9,GG,2,1),_t()(),gt(10,"app-view-container"),gr(11,HG,1,0,"app-loading-card-list")(12,qG,9,2,"div",6),_t()()),i&2&&(bt(4),Zt("icon",c.faArrowLeft),bt(4),yr(c.searching()?8:9),bt(3),yr(c.searching()?11:12))},dependencies:[lm,am,S0,Yr,f1],styles:['*[_ngcontent-%COMP%]{margin:0;padding:0}.search-view[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:36px}.search-view-header[_ngcontent-%COMP%]{display:flex;width:100%;flex-direction:column;justify-content:center;align-items:flex-start;gap:23px}.search-view-info[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--definitions-colors-text-800);font:var(--definitions-textFonts-desktop-sub-2);font-family:inherit;letter-spacing:-.9px}.results-container[_ngcontent-%COMP%]{width:100%}.back-button[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;gap:16px}.back-btn[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;gap:12px;color:var(--definitions-colors-secondary-blue);border:none;background:none}.back-btn[_ngcontent-%COMP%]:hover{cursor:pointer}.back-btn[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:24px}.back-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--definitions-colors-secondary-blue);font:var(--definitions-textFonts-desktop-button-1);font-family:inherit;font-feature-settings:"liga" off,"clig" off;letter-spacing:-1px}.no-results[_ngcontent-%COMP%]{display:flex;width:100%;height:100%;flex-direction:column;justify-content:center;align-items:center;gap:31px}.no-results[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:160px;color:var(--definitions-colors-text-light-grey)}.no-results[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:var(--definitions-colors-text-grey);font:var(--definitions-textFonts-desktop-h2);font-family:inherit}.no-results[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--definitions-colors-text-grey);font:var(--definitions-textFonts-desktop-sub-1);font-family:inherit;text-align:center}'],changeDetection:0})};function m1(n){switch(n){case"su":return"Sunday";case"mo":return"Monday";case"tu":return"Tuesday";case"we":return"Wednesday";case"th":return"Thursday";case"fr":return"Friday";case"sa":return"Saturday"}}function y1(n){switch(n.getDay()){case 0:return"su";case 1:return"mo";case 2:return"tu";case 3:return"we";case 4:return"th";case 5:return"fr";case 6:return"sa";default:return"mo"}}function WG(n){switch(n){case 0:return"su";case 1:return"mo";case 2:return"tu";case 3:return"we";case 4:return"th";case 5:return"fr";case 6:return"sa";default:return"mo"}}function g1(n){let[r,i]=n.split(":"),c=parseInt(r)%24,d=parseInt(i),a;return c<12?(a="AM",c===0&&(c=12)):(a="PM",c!==12&&(c-=12)),`${c}:${d<10?"0":""}${d} ${a}`}function ER(n){let r=g1(n.open),i=g1(n.close);return`${r} - ${i}`}function ZG(n){let r=g1(n.open),i=g1(n.close);return`${r} to ${i}`}function YG(n){let r=new Date,i=new Date(r);DR(i);let c=y1(i),d=n[c];if(d&&d.length>0){for(let a of d)if(CR(a.open)&&CR(a.close)){let w=SR(a.open,i),P=SR(a.close,i);if(w>P&&XG(P),r>=w&&r<=P)return!0}}return!1}function DR(n){let r=n.getDate();n.setDate(r-1)}function XG(n){let r=n.getDate();n.setDate(r+1)}function KG(n){let i=y1(new Date),c=n[i];return c&&c.length>0}function CR(n){return/^([0-9]|0[0-9]|1[0-9]|2[0-4]):[0-5][0-9]$/.test(n)}function SR(n,r){let[i,c]=n.split(":").map(Number),d=r?new Date(r):new Date;return new Date(d.getFullYear(),d.getMonth(),d.getDate(),i,c,0,0)}function JG(n){return n.sort((r,i)=>r.open.localeCompare(i.open))}function QG(n){let i=y1(new Date),c=n[i];return c&&c.length>0?IR(c):""}function eH(n){let r=new Date;DR(r);let i=y1(r),c=n[i];return c&&c.length>0?IR(c):""}function tH(n){let r=nH(n);return`Open on ${m1(r)}`}function IR(n){return n.length===1?ER(n[0]):(JG(n),n.map(ZG).join(" - "))}function nH(n){let i=new Date().getDay();for(let c=0;c<7;c++){let d=(i+c)%7,a=WG(d),w=n[a];if(w&&w.length>0)return a}return"mo"}function TR(n){return YG(n)?eH(n):KG(n)?QG(n):tH(n)}function MR(n){let r=["mo","tu","we","th","fr","sa","su"],i=P=>{let k=n[P];return!k||k.length===0?["Closed"]:k.map(q=>ER(q))},c=(P,k)=>P.length!==k.length?!1:P.every((q,J)=>q===k[J]),d=(P,k)=>P===k?m1(P):`${m1(P)} - ${m1(k)}`,a=[],w=0;for(;w<r.length;){let P=r[w],k=i(P),q=w+1;for(;q<r.length&&c(k,i(r[q]));)q++;let J=d(P,r[q-1]);a.push({day:J,schedule:k}),w=q}if(a.length>1){let P=a[0],k=a[a.length-1];if(c(P.schedule,k.schedule)){let q=P.day.split(" - "),Z=k.day.split(" - ")[0],Q=q.length>1?q[1]:q[0],X=`${Z} - ${Q}`;a[0]={day:X,schedule:P.schedule},a.pop()}}return a}function rH(n,r){if(n&1&&$t(0,"div",9),n&2){let i=r.$implicit;Zt("innerHTML",i,Pd)}}function iH(n,r){if(n&1&&(gt(0,"div",6)(1,"div",7),bn(2),_t(),gt(3,"div",8),ns(4,rH,1,1,"div",9,rl),_t()()),n&2){let i=r.$implicit;bt(2),ks(i.day),bt(2),rs(i.schedule)}}var v1=class n{iconLibrary=Ve(_r);schedules=Nr.required({transform:r=>r?MR(r):[]});closeClicked=Ws();faClockThree=this.iconLibrary.getIconDefinition("fas","clock-three");faXmark=this.iconLibrary.getIconDefinition("fas","xmark");hideModal(){this.closeClicked.emit()}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-other-schedules"]],inputs:{schedules:[1,"schedules"]},outputs:{closeClicked:"closeClicked"},decls:11,vars:2,consts:[[1,"other-schedules-container"],[1,"other-schedules-header"],[1,"other-schedules-title"],[3,"icon"],[1,"close-button",3,"click"],[1,"schedules"],[1,"schedule"],[1,"schedule-day"],[1,"schedule-time"],[1,"schedule-time-item",3,"innerHTML"]],template:function(i,c){i&1&&(gt(0,"div",0)(1,"div",1)(2,"div",2),$t(3,"fa-icon",3),gt(4,"h2"),bn(5,"Other Schedules"),_t()(),gt(6,"button",4),xn("click",function(){return c.hideModal()}),$t(7,"fa-icon",3),_t()(),gt(8,"div",5),ns(9,iH,6,1,"div",6,rl),_t()()),i&2&&(bt(3),Zt("icon",c.faClockThree),bt(4),Zt("icon",c.faXmark),bt(2),rs(c.schedules()))},dependencies:[Yr],styles:[".other-schedules-container[_ngcontent-%COMP%]{padding:16px;background-color:var(--definitions-colors-background-50);box-shadow:var(--definitions-shadows-general)}.other-schedules-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.other-schedules-title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}.other-schedules-title[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;color:var(--definitions-colors-text-900);font:var(--definitions-textFonts-desktop-sub-2);font-family:inherit}@container mapvx-container (width <= 640px){.other-schedules-title[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:16px}}.other-schedules-title[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{color:var(--definitions-colors-primary-600);font-size:32px}@container mapvx-container (width <= 640px){.other-schedules-title[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:20px}}.close-button[_ngcontent-%COMP%]{padding:0;background:none;border:none;cursor:pointer}.close-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:20px}.schedules[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px;background-color:#fff}.schedule[_ngcontent-%COMP%]{display:flex;gap:40px;align-items:center;justify-content:space-between}.schedule-times[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px}.schedule-time[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:end}.schedule-time-item[_ngcontent-%COMP%]{color:var(--definitions-colors-text-800);font:var(--definitions-textFonts-desktop-sub-5);font-family:inherit}@container mapvx-container (width <= 640px){.schedule-time-item[_ngcontent-%COMP%]{font-size:12px;font-weight:400}}"]})};var oH=()=>({rotate:42});function sH(n,r){if(n&1&&$t(0,"fa-icon",3),n&2){let i=pn();Zt("icon",i.faCircleNotch)("transform",Mu(2,oH))}}function aH(n,r){if(n&1){let i=wi();gt(0,"div",10),$t(1,"fa-icon",9),gt(2,"div",24)(3,"button",25),xn("click",function(){Wr(i);let d=pn();return Zr(d.showOtherSchedulesModal())}),_t(),gt(4,"div",26),bn(5,"*Hours may vary"),_t()()()}if(n&2){let i=pn();bt(),Zt("icon",i.faClockThree),bt(2),Zt("innerHTML",i.schedule(),Pd)}}function lH(n,r){if(n&1){let i=wi();gt(0,"div",11)(1,"app-other-schedules",27),xn("closeClicked",function(){Wr(i);let d=pn();return Zr(d.hideOtherSchedulesModal())}),_t()()}if(n&2){let i=pn();bt(),Zt("schedules",i.place().openingHours)}}function cH(n,r){if(n&1&&$t(0,"div",31),n&2){let i=r.$implicit;Zt("innerHTML",i,Pd)}}function uH(n,r){if(n&1&&(gt(0,"div",12)(1,"div",28),$t(2,"fa-icon",9),gt(3,"div",29),bn(4,"Deals + Events"),_t()(),gt(5,"div",30),ns(6,cH,1,1,"div",31,rl),_t()()),n&2){let i=pn();bt(2),Zt("icon",i.faBadgeDollar),bt(4),rs(i.banners())}}function dH(n,r){if(n&1&&(gt(0,"div",21),bn(1),_t()),n&2){let i=pn();bt(),is(" ",i.address()," ")}}function hH(n,r){if(n&1&&(gt(0,"div",22),bn(1),_t()),n&2){let i=r.$implicit;bt(),is(" ",i," ")}}function fH(n,r){if(n&1&&(gt(0,"div",23)(1,"a",18),bn(2),_t()()),n&2){let i=r.$implicit;bt(),Zt("href",i.url,Jh),bt(),ks(i.title)}}var _1=class n{iconLibrary=Ve(_r);sanitizer=Ve(Qg);logger=Ve(dr);navigatorService=Ve(os);stateService=Ve(Ni);place=Nr.required();hideDeals=Nr(!1);imageSrc=Tn(()=>this.place().images[0]||r1);isImageLoading=Jn(!0);schedule=Tn(()=>{let r=this.place().openingHours;return r?TR(r):""});banners=Tn(()=>this.place().banners.filter(i1).filter(r=>r.description!==void 0).map(r=>this.sanitizer.bypassSecurityTrustHtml(r.description||"")));address=Tn(()=>this.place().address||"");phones=Tn(()=>this.place().properties?.filter(r=>r.type==="phone").map(r=>this.formatPhoneNumber(r.subtitle))||[]);websites=Tn(()=>this.place().properties?.filter(r=>r.type==="url").map(this.prepareUrl)||[]);drivingDirectionsUrl=Tn(()=>{let r=this.place();return`https://www.google.com/maps/dir/?api=1&destination=${r.position.lat},${r.position.lng}&travelmode=driving`});otherSchedulesModal=Jn(!1);faCircleNotch=this.iconLibrary.getIconDefinition("fas","circle-notch");faBadgeDollar=this.iconLibrary.getIconDefinition("fas","badge-dollar");faClockThree=this.iconLibrary.getIconDefinition("fas","clock-three");faArrowTopRight=this.iconLibrary.getIconDefinition("fak","arrow-top-right");iconCategory=Tn(()=>{let[r,i]=K0(this.place().localizedCategory||"");return this.iconLibrary.getIconDefinition(r,i)});constructor(){vr(()=>{this.imageSrc()&&this.startImageLoading()})}prepareUrl(r){return Sr(Wt({},r),{url:r.url?.startsWith("http")?r.url:`https://${r.url}`})}startImageLoading(){this.isImageLoading.set(!0)}endImageLoading(){this.isImageLoading.set(!1)}showOtherSchedulesModal(){this.otherSchedulesModal.set(!0)}hideOtherSchedulesModal(){this.otherSchedulesModal.set(!1)}formatPhoneNumber(r){let i=r.replace(/^\+1/,"");return i=i.replaceAll(/\D/g,""),i.length<10?(this.logger.logWarning(`Phone number '${i}' is to short for format`),i):`${i.slice(0,3)}.${i.slice(3,6)}.${i.slice(6)}`}navigateToRoute(){this.stateService.userAction.next({type:"select-destination",data:{destinationId:this.place().lazarilloId,alias:this.place().clientId}}),this.navigatorService.navigateToRoute(this.place().lazarilloId)}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-profile-view"]],inputs:{place:[1,"place"],hideDeals:[1,"hideDeals"]},decls:34,vars:15,consts:[[1,"profile-view-content"],[1,"image"],[3,"load","error","src","alt"],[1,"loading-icon",3,"icon","transform"],[1,"info"],[1,"basic-info"],[1,"title"],[1,"category-schedule"],[1,"category"],[3,"icon"],[1,"schedule"],[1,"other-schedules-modal"],[1,"deals-or-events"],[1,"description"],[1,"direction-buttons"],[1,"route-button-container"],[1,"route-button",3,"click"],[1,"driving-link"],["target","_blank",3,"href"],[1,"properties"],[1,"separator"],[1,"address"],[1,"phone"],[1,"website"],[1,"schedule-time"],[1,"schedule-button",3,"click","innerHTML"],[1,"schedule-warning"],[3,"closeClicked","schedules"],[1,"deals-or-events-header"],[1,"deals-or-events-content-title"],[1,"deals-or-events-content"],[1,"banner-content",3,"innerHTML"]],template:function(i,c){i&1&&(gt(0,"div",0)(1,"div",1)(2,"img",2),xn("load",function(){return c.endImageLoading()})("error",function(){return c.endImageLoading()}),_t(),gr(3,sH,1,3,"fa-icon",3),_t(),gt(4,"div",4)(5,"div",5)(6,"h1",6),bn(7),_t(),gt(8,"div",7)(9,"div",8),$t(10,"fa-icon",9),gt(11,"span"),bn(12),_t()(),gr(13,aH,6,2,"div",10),gr(14,lH,2,1,"div",11),_t(),gr(15,uH,8,1,"div",12),gt(16,"div",13),bn(17),_t()(),gt(18,"div",14)(19,"div",15)(20,"button",16),xn("click",function(){return c.navigateToRoute()}),$t(21,"fa-icon",9),gt(22,"span"),bn(23,"Pedestrian-friendly directions"),_t()()(),gt(24,"div",17)(25,"a",18),bn(26,"Driving directions"),_t()()(),gt(27,"div",19),$t(28,"div",20),gr(29,dH,2,1,"div",21),ns(30,hH,2,1,"div",22,rl),ns(32,fH,3,2,"div",23,rl),_t()()()),i&2&&(bt(),xi("loading",c.isImageLoading()),bt(),Zt("src",c.imageSrc(),Jh)("alt",c.place().title),bt(),yr(c.isImageLoading()?3:-1),bt(4),ks(c.place().title),bt(3),Zt("icon",c.iconCategory()),bt(2),ks(c.place().localizedCategory),bt(),yr(c.schedule()!==""?13:-1),bt(),yr(c.otherSchedulesModal()?14:-1),bt(),yr(c.banners().length>0&&!c.hideDeals()?15:-1),bt(2),is(" ",c.place().description," "),bt(4),Zt("icon",c.faArrowTopRight),bt(4),Zt("href",c.drivingDirectionsUrl(),Jh),bt(4),yr(c.address()!==""?29:-1),bt(),rs(c.phones()),bt(2),rs(c.websites()))},dependencies:[Yr,v1],styles:['.profile-view-content[_ngcontent-%COMP%]{display:flex;padding:0 16px;flex-direction:column;align-items:center;gap:16px}@container mapvx-container (width <= 1024px){.profile-view-content[_ngcontent-%COMP%]{padding:22px 0 0}}@container mapvx-container (width <= 640px){.profile-view-content[_ngcontent-%COMP%]{padding:22px 0 0}}.image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;width:100%;object-fit:cover;aspect-ratio:1/1}.image.loading[_ngcontent-%COMP%]{background-color:var(--definitions-colors-primary-300);height:200px;width:100%;display:flex;justify-content:center;align-items:center}.image.loading[_ngcontent-%COMP%] .loading-icon[_ngcontent-%COMP%]{color:var(--definitions-colors-primary-600);font-size:100px}.image.loading[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:none}.info[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;gap:24px;width:100%}.basic-info[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;gap:16px;width:100%}.title[_ngcontent-%COMP%]{font:var(--definitions-textFonts-desktop-h6);font-family:inherit;margin:0;color:var(--definitions-colors-text-black)}.category-schedule[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:space-between;flex-wrap:wrap;position:relative}.category[_ngcontent-%COMP%]{display:flex;gap:18px;color:var(--definitions-colors-text-grey);align-items:center}.category[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:20px}.category[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font:var(--definitions-textFonts-desktop-body-3);font-family:inherit;font-size:16px}.schedule[_ngcontent-%COMP%]{display:flex;gap:18px;align-items:center}.schedule[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{color:var(--definitions-colors-primary-600);font-size:20px}.schedule[_ngcontent-%COMP%] .schedule-time[_ngcontent-%COMP%]{position:relative}.schedule[_ngcontent-%COMP%] .schedule-time[_ngcontent-%COMP%] .schedule-button[_ngcontent-%COMP%]{font:var(--definitions-textFonts-desktop-button-3);font-family:inherit;font-size:16px;color:var(--definitions-colors-secondary-blue);border:none;background:none;cursor:pointer}.schedule[_ngcontent-%COMP%] .schedule-time[_ngcontent-%COMP%] .schedule-warning[_ngcontent-%COMP%]{position:absolute;top:20px;left:0;font:var(--definitions-textFonts-desktop-sub-5);font-family:inherit;font-size:16px;color:var(--definitions-colors-text-black)}.other-schedules-modal[_ngcontent-%COMP%]{position:absolute;width:max-content;bottom:0;right:50%;transform:translate(50%) translateY(100%)}.deals-or-events[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%}.deals-or-events-header[_ngcontent-%COMP%]{display:flex;width:100%;align-items:flex-start;gap:18px;color:var(--definitions-colors-secondary-orange)}.deals-or-events-header[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:20px}.deals-or-events-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.deals-or-events-content-title[_ngcontent-%COMP%]{font:var(--definitions-textFonts-desktop-sub-4);font-family:inherit;font-size:16px}.banner-content[_ngcontent-%COMP%]{color:var(--definitions-colors-secondary-orange);padding:5px;font:var(--definitions-textFonts-desktop-body-3);font-family:inherit;font-size:16px;white-space:pre-wrap;border:1px solid var(--definitions-colors-secondary-orange);border-radius:8px;box-shadow:var(--definitions-shadows-general)}.description[_ngcontent-%COMP%]{font:var(--definitions-textFonts-desktop-body-2);font-family:inherit;color:var(--definitions-colors-text-black)}.direction-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:16px;align-self:stretch;width:100%}.route-button-container[_ngcontent-%COMP%]{width:100%}.route-button[_ngcontent-%COMP%]{display:flex;padding:8px 16px;justify-content:center;align-items:center;gap:10px;align-self:stretch;background:var(--definitions-colors-primary-black);color:var(--definitions-colors-text-white);border:none;cursor:pointer;width:100%}.route-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font:var(--definitions-textFonts-desktop-button-2);font-family:inherit;font-size:16px;font-feature-settings:"liga" off,"clig" off}.driving-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--definitions-colors-secondary-blue);text-decoration:none;font:var(--definitions-textFonts-desktop-button-2);font-family:inherit;font-size:16px;font-feature-settings:"liga" off,"clig" off}.properties[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;gap:16px;width:100%}.separator[_ngcontent-%COMP%]{width:100%;height:1px;background:var(--definitions-colors-primary-100)}.address[_ngcontent-%COMP%], .phone[_ngcontent-%COMP%]{font:var(--definitions-textFonts-desktop-sub-1);font-family:inherit;font-size:16px;color:var(--definitions-colors-text-black)}.website[_ngcontent-%COMP%]{font:var(--definitions-textFonts-desktop-button-1);font-family:inherit;font-size:16px;font-feature-settings:"liga" off,"clig" off}.website[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--definitions-colors-secondary-blue);text-decoration:none}']})};var pH=["backButton",""],cm=class n{iconLibraryService=Ve(_r);faArrowLeft=this.iconLibraryService.getIconDefinition("fas","arrow-left");static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["button","backButton",""]],attrs:pH,decls:3,vars:1,consts:[[3,"icon"]],template:function(i,c){i&1&&($t(0,"fa-icon",0),gt(1,"span"),bn(2,"Back"),_t()),i&2&&Zt("icon",c.faArrowLeft)},dependencies:[Yr],styles:['[_nghost-%COMP%]{display:flex;justify-content:center;align-items:center;gap:12px;color:var(--definitions-colors-secondary-blue);border:none;background:none}[_nghost-%COMP%]:hover{cursor:pointer}[_nghost-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:24px}[_nghost-%COMP%] span[_ngcontent-%COMP%]{color:var(--definitions-colors-secondary-blue);font:var(--definitions-textFonts-desktop-button-1);font-family:inherit;font-feature-settings:"liga" off,"clig" off;letter-spacing:-1px}']})};function mH(n,r){if(n&1&&$t(0,"app-profile-view",5),n&2){let i=pn(),c=Gg(6);Zt("place",c)("hideDeals",i.hideDeals())}}var b1=class n{onDestroy=new Lr;route=Ve(il);logger=Ve(dr);loadedDataService=Ve(Uo);sdkService=Ve(xa);mapService=Ve(bo);markerService=Ve(ws);navigatorService=Ve(os);homeStateService=Ve(Ni);iconLibraryService=Ve(_r);_profileId="";place=Jn(null);mapReady=$o(this.mapService.mapReady,{requireSync:!0});hideDeals=Tn(()=>this.homeStateService.hideDeals());faArrowLeft=this.iconLibraryService.getIconDefinition("fas","arrow-left");constructor(){vr(()=>{let r=this.place();if(r&&this.mapReady()){if(!this.markerService.hasMarker(r.lazarilloId)){let c=zl(this.homeStateService.lastListedPlaces);c.length>0?this.markerService.addMarkers(c):this.markerService.addMarker(r)}this.markerService.selectMarker(r.lazarilloId),setTimeout(()=>{this.mapService.updateCamera({center:r.position})},100)}})}ngOnInit(){this.addBackListener();let r=this.route.paramMap.pipe(Hn(i=>i.get("id")),vo(i=>i!==null),vo(i=>i!==this._profileId),Zb(1));Ka([r,this.loadedDataService.getAvailablePlaces()]).pipe(Ms(this.onDestroy),To(([i,c])=>{let d=c.find(a=>a.lazarilloId===i||a.clientId===i);return d?jn(d):Pi(this.sdkService.getPlaceDetail(i))})).subscribe({next:i=>{this._profileId!==i.lazarilloId&&this.cleanOldProfile(),this._profileId=i.lazarilloId,this.place.set(i),this.homeStateService.userAction.next({type:"show-place",data:{placeId:i.lazarilloId,alias:i.clientId}})},error:i=>{this.logger.log("Error getting profile id",i)},complete:()=>{this.logger.log("Profile id complete")}})}ngOnDestroy(){this.removeBackListener(),this.cleanOldProfile(),this.onDestroy.next(),this.onDestroy.complete()}cleanOldProfile(){this._profileId!==""&&this.markerService.deselectMarker(this._profileId)}returnToHome(){this.homeStateService.userAction.next({type:"return-to-home",data:{filter:this.homeStateService.selectedFilter()}}),this.navigatorService.navigateToHome()}backListener(r){this.logger.log("Back listener",r),this.returnToHome()}listener=r=>this.backListener(r);addBackListener(){globalThis.addEventListener("popstate",this.listener)}removeBackListener(){globalThis.removeEventListener("popstate",this.listener)}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-profile-screen"]],decls:10,vars:2,consts:[[1,"screen"],[1,"back-button"],["backButton","",3,"click"],[1,"profile-screen-content"],[1,"profile-info"],[3,"place","hideDeals"],[1,"map"]],template:function(i,c){if(i&1){let d=wi();gt(0,"div",0)(1,"div",1)(2,"button",2),xn("click",function(){return Wr(d),Zr(c.returnToHome())}),bn(3,"Back"),_t()(),gt(4,"div",3)(5,"div",4),Up(6),gr(7,mH,1,2,"app-profile-view",5),_t(),gt(8,"div",6),$t(9,"app-map"),_t()()()}if(i&2){bt(6);let d=$g(c.place());bt(),yr(d!==null?7:-1)}},dependencies:[Vd,cm,_1],styles:[".screen[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:18px}.profile-screen-content[_ngcontent-%COMP%]{display:flex;width:100%}@container mapvx-container (width <= 1024px){.profile-screen-content[_ngcontent-%COMP%]{flex-direction:column-reverse}}@container mapvx-container (width <= 640px){.profile-screen-content[_ngcontent-%COMP%]{flex-direction:column-reverse}}.profile-info[_ngcontent-%COMP%]{display:flex;width:432px;flex-shrink:0}.profile-info[_ngcontent-%COMP%] app-profile-view[_ngcontent-%COMP%]{width:100%}@container mapvx-container (width <= 1024px){.profile-info[_ngcontent-%COMP%]{width:100%}}.map[_ngcontent-%COMP%]{width:100%;min-height:730px}@container mapvx-container (width <= 1024px){.map[_ngcontent-%COMP%]{height:730px}}@container mapvx-container (width <= 640px){.map[_ngcontent-%COMP%]{width:100%;min-height:unset;height:400px}}"],changeDetection:0})};function gH(n,r){if(n&1){let i=wi();gt(0,"button",1),xn("click",function(){Wr(i);let d=pn();return Zr(d.pauseRoute())}),$t(1,"fa-icon",2),gt(2,"span"),bn(3,"Pause route"),_t()()}if(n&2){let i=pn();bt(),Zt("icon",i.faPause)}}function yH(n,r){if(n&1){let i=wi();gt(0,"button",1),xn("click",function(){Wr(i);let d=pn();return Zr(d.resumeRoute())}),$t(1,"fa-icon",2),gt(2,"span"),bn(3,"Resume route"),_t()()}if(n&2){let i=pn();bt(),Zt("icon",i.faPlay)}}function vH(n,r){if(n&1){let i=wi();gt(0,"button",1),xn("click",function(){Wr(i);let d=pn();return Zr(d.restartRoute())}),$t(1,"fa-icon",2),gt(2,"span"),bn(3,"Restart route"),_t()()}if(n&2){let i=pn();bt(),Zt("icon",i.faRestart)}}function _H(n,r){}var w1=class n{iconLibrary=Ve(_r);routingService=Ve(Dc);restartRouteCallback=Ws();AnimationState=J0;animationStatus=$o(this.routingService.animationStatusSubject,{initialValue:0});faPlay=this.iconLibrary.getIconDefinition("fas","play");faPause=this.iconLibrary.getIconDefinition("fas","pause");faRestart=this.iconLibrary.getIconDefinition("fas","rotate-right");pauseRoute(){this.routingService.pauseRouteAnimation()}resumeRoute(){this.routingService.resumeRouteAnimation()}restartRoute(){this.routingService.restartRouteAnimation(),this.restartRouteCallback.emit()}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-route-control-button"]],outputs:{restartRouteCallback:"restartRouteCallback"},decls:4,vars:1,consts:[[1,"route-control-button"],[1,"route-control-button",3,"click"],[3,"icon"]],template:function(i,c){if(i&1&&gr(0,gH,4,1,"button",0)(1,yH,4,1,"button",0)(2,vH,4,1,"button",0)(3,_H,0,0),i&2){let d;yr((d=c.animationStatus())===c.AnimationState.Playing?0:d===c.AnimationState.Paused?1:d===c.AnimationState.Finished?2:3)}},dependencies:[Yr],styles:["[_nghost-%COMP%]{position:absolute;top:20px;left:500px}@container mapvx-container (width <= 1024px){[_nghost-%COMP%]{top:90px;left:unset;right:20px}}.route-control-button[_ngcontent-%COMP%]{display:flex;width:180px;height:45px;justify-content:center;align-items:center;gap:10px;background:var(--definitions-colors-background-white);color:var(--definitions-colors-text-black);box-shadow:var(--definitions-shadows-general);border:none;cursor:pointer}@container mapvx-container (width <= 1024px){.route-control-button[_ngcontent-%COMP%]{width:45px}}.route-control-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:16px}.route-control-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font:var(--definitions-textFonts-desktop-button-5);font-family:inherit}@container mapvx-container (width <= 1024px){.route-control-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:none}}"]})};var x1=class n{iconLibrary=Ve(_r);currentRoute=Nr.required();startRouteClick=Ws();faCircleSmall=this.iconLibrary.getIconDefinition("fas","circle-small");faArrowTopRight=this.iconLibrary.getIconDefinition("fak","arrow-top-right");time=Tn(()=>{let r=this.currentRoute();return this.toMinutes(r.duration)});distance=Tn(()=>{let r=this.currentRoute();return Math.ceil(r.length*3.28084)});toMinutes(r){return Math.ceil(r/60)}onStartRouteClick(){this.startRouteClick.emit()}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-route-info"]],inputs:{currentRoute:[1,"currentRoute"]},outputs:{startRouteClick:"startRouteClick"},decls:17,vars:5,consts:[[1,"route-info"],[1,"route-info-item"],[1,"route-info-item-label"],[3,"icon"],[1,"route-info-item-value"],[1,"start-route-button",3,"click"]],template:function(i,c){i&1&&(gt(0,"div",0)(1,"div",1)(2,"span",2),bn(3,"Time"),_t(),$t(4,"fa-icon",3),gt(5,"span",4),bn(6),_t()(),gt(7,"div",1)(8,"span",2),bn(9,"Distance"),_t(),$t(10,"fa-icon",3),gt(11,"span",4),bn(12),_t()()(),gt(13,"button",5),xn("click",function(){return c.onStartRouteClick()}),$t(14,"fa-icon",3),gt(15,"span"),bn(16,"Start Route"),_t()()),i&2&&(bt(4),Zt("icon",c.faCircleSmall),bt(2),is("",c.time()," min"),bt(4),Zt("icon",c.faCircleSmall),bt(2),is("",c.distance()," ft"),bt(2),Zt("icon",c.faArrowTopRight))},dependencies:[Yr],styles:['[_nghost-%COMP%]{display:flex;flex-direction:column;gap:40px}.route-info[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}.route-info-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;color:var(--definitions-colors-text-black)}.start-route-button[_ngcontent-%COMP%]{display:flex;padding:8px 16px;justify-content:center;align-items:center;gap:10px;background-color:var(--definitions-colors-primary-900);color:var(--definitions-colors-text-50);border:none;cursor:pointer;width:100%}.start-route-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font:var(--definitions-textFonts-desktop-button-2);font-family:inherit;font-feature-settings:"liga" off,"clig" off;line-height:15px}.start-route-button[_ngcontent-%COMP%]{display:none}']})};var bH={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},lge=Sr(Wt({},bH),{"[class.ng-submitted]":"isSubmitted"});var wH=new On("",{providedIn:"root",factory:()=>PR}),PR="always";var xH=(()=>{class n{static \u0275fac=function(c){return new(c||n)};static \u0275mod=bc({type:n});static \u0275inj=Dl({})}return n})();var AR=(()=>{class n{static withConfig(i){return{ngModule:n,providers:[{provide:wH,useValue:i.callSetDisabledState??PR}]}}static \u0275fac=function(c){return new(c||n)};static \u0275mod=bc({type:n});static \u0275inj=Dl({imports:[xH]})}return n})();function CH(n,r){if(n&1){let i=wi();gt(0,"button",5),xn("click",function(){Wr(i);let d=pn();return Zr(d.clearSelectedPlace())}),$t(1,"fa-icon",6),_t()}if(n&2){let i=pn();bt(),Zt("icon",i.faXmark)}}function SH(n,r){if(n&1){let i=wi();gt(0,"button",10),xn("click",function(){Wr(i);let d=pn(2);return Zr(d.useCurrentLocation())}),gt(1,"div",11),$t(2,"fa-icon",6),_t(),gt(3,"div",12)(4,"div",13),bn(5,"Use current location"),_t()()()}if(n&2){let i=pn(2);bt(2),Zt("icon",i.faLocationArrow)}}function EH(n,r){if(n&1){let i=wi();gt(0,"button",10),xn("click",function(){let d=Wr(i).$implicit,a=pn(2);return Zr(a.selectPlace(d))}),gt(1,"div",11),$t(2,"fa-icon",6),_t(),gt(3,"div",12)(4,"div",13),bn(5),_t(),gt(6,"div",14),bn(7),_t()()()}if(n&2){let i=r.$implicit,c=pn(2);bt(2),Zt("icon",c.faLocationDot),bt(3),ks(i.title),bt(2),ks(i.address)}}function DH(n,r){n&1&&(gt(0,"div",9),bn(1,"No results found"),_t())}function IH(n,r){if(n&1&&(gt(0,"div",4)(1,"div",7),gr(2,SH,6,1,"button",8),ns(3,EH,8,3,"button",8,rl),gr(5,DH,2,0,"div",9),_t()()),n&2){let i=pn();bt(2),yr(i.allowCurrentLocation()&&i.locationPermission()!=="denied"?2:-1),bt(),rs(i.filteredPlaces()),bt(2),yr(i.filteredPlaces().length===0&&i.filterText().trim()?5:-1)}}var C1=class n{logger=Ve(dr);locationService=Ve(Bd);iconLibrary=Ve(_r);places=Nr.required();initialSelectedPlace=Nr(null);allowCurrentLocation=Nr(!1);placeholder=Nr("Set a starting point");selectedPlace=_s(()=>this.initialSelectedPlace());selectedPlaceChange=Ws();isDropdownOpen=Jn(!1);filterText=_s(()=>this.selectedPlace()?.title||"");filteredPlaces=Tn(()=>{let r=this.places(),i=this.filterText().toLowerCase().trim();return i?r.filter(c=>c.title?.toLowerCase().includes(i)||c.address?.toLowerCase().includes(i)):r});locationPermission=Jn("prompt");faLocationDot=this.iconLibrary.getIconDefinition("fas","location-dot");faLocationArrow=this.iconLibrary.getIconDefinition("fas","location-arrow");faXmark=this.iconLibrary.getIconDefinition("fas","xmark");constructor(){this.checkLocationPermission()}checkLocationPermission(){this.locationService.checkLocationPermission().then(r=>{this.locationPermission.set(r)}).catch(r=>{this.logger.logWarning("Error checking location permission",r),this.locationPermission.set("denied")})}requestLocationPermission(){this.locationService.requestLocationPermission().then(r=>{this.locationPermission.set(r),r==="granted"&&this.getCurrentLocation()}).catch(r=>{this.logger.logWarning("Error requesting location permission",r),this.locationPermission.set("denied")})}getCurrentLocation(){this.locationService.getCurrentLocation().then(r=>{this.selectedPlace.set(r),this.selectedPlaceChange.emit(r)}).catch(r=>{this.logger.logWarning("Error getting current location",r)})}useCurrentLocation(){switch(this.locationPermission()){case"granted":this.getCurrentLocation();break;case"prompt":this.requestLocationPermission();break}}selectPlace(r){this.selectedPlace.set(r),this.isDropdownOpen.set(!1),this.selectedPlaceChange.emit(r)}clearSelectedPlace(){this.selectedPlace.set(null),this.filterText.set(""),this.selectedPlaceChange.emit(null)}onInputFocus(){this.isDropdownOpen.set(!0)}onInputBlur(){setTimeout(()=>{this.isDropdownOpen.set(!1)},150)}onInputChange(r){let i=r.target;this.filterText.set(i.value),this.isDropdownOpen.set(!0)}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-place-selector"]],inputs:{places:[1,"places"],initialSelectedPlace:[1,"initialSelectedPlace"],allowCurrentLocation:[1,"allowCurrentLocation"],placeholder:[1,"placeholder"]},outputs:{selectedPlaceChange:"selectedPlaceChange"},decls:5,vars:4,consts:[[1,"place-selector"],[1,"input-container"],["type","text","name","place-input",1,"place-input",3,"input","focus","blur","value","placeholder"],[1,"clear-button"],[1,"dropdown-container"],[1,"clear-button",3,"click"],[3,"icon"],[1,"dropdown-list"],["type","button",1,"place-option"],[1,"no-results"],["type","button",1,"place-option",3,"click"],[1,"place-icon"],[1,"place-info"],[1,"place-title"],[1,"place-address"]],template:function(i,c){i&1&&(gt(0,"div",0)(1,"div",1)(2,"input",2),xn("input",function(a){return c.onInputChange(a)})("focus",function(){return c.onInputFocus()})("blur",function(){return c.onInputBlur()}),_t(),gr(3,CH,2,1,"button",3),_t(),gr(4,IH,6,2,"div",4),_t()),i&2&&(bt(2),Zt("value",c.filterText())("placeholder",c.placeholder()),bt(),yr(c.selectedPlace()?3:-1),bt(),yr(c.isDropdownOpen()?4:-1))},dependencies:[Gp,AR,Yr],styles:['[_nghost-%COMP%]{width:100%}.place-selector[_ngcontent-%COMP%]{position:relative;width:100%}.input-container[_ngcontent-%COMP%]{width:100%;display:flex}.place-input[_ngcontent-%COMP%]{width:100%;border:none;font:var(--definitions-textFonts-desktop-button-1);font-family:inherit;font-feature-settings:"liga" off,"clig" off;letter-spacing:-1px;text-overflow:ellipsis;outline:none;color:var(--definitions-colors-text-black)}.place-input[_ngcontent-%COMP%]::placeholder{color:var(--definitions-colors-primary-300)}.clear-button[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:16px;color:var(--definitions-colors-text-900)}.dropdown-container[_ngcontent-%COMP%]{position:absolute;top:100%;left:0;right:0;z-index:10;margin-top:4px}.dropdown-list[_ngcontent-%COMP%]{background:var(--definitions-colors-background-50);border-radius:8px;box-shadow:var(--definitions-shadows-general);max-height:300px;overflow-y:auto;border:1px solid var(--definitions-colors-gray-200)}.place-option[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:4px;padding:15px 24px;cursor:pointer;transition:background-color .2s ease;border-bottom:1px solid #f5f5f5;background:none;border:none;width:100%;text-align:left}.place-option[_ngcontent-%COMP%]:last-child{border-bottom:none}.place-option[_ngcontent-%COMP%]:hover{background-color:#f8f9fa}.place-option[_ngcontent-%COMP%]:active{background-color:#e9ecef}.place-option[_ngcontent-%COMP%]:focus{outline:2px solid #5D5D5D;outline-offset:-2px}.place-icon[_ngcontent-%COMP%]{flex-shrink:0;width:19.341px;height:19.341px;margin-top:2px;color:var(--definitions-colors-primary-600)}.place-info[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}.place-title[_ngcontent-%COMP%]{font:var(--definitions-textFonts-desktop-button-3);font-family:inherit;color:var(--definitions-colors-text-900);word-wrap:break-word}.place-address[_ngcontent-%COMP%]{font:var(--definitions-textFonts-desktop-body-3);font-family:inherit;color:var(--definitions-colors-text-800);word-wrap:break-word}.no-results[_ngcontent-%COMP%]{padding:20px 24px;text-align:center;font:var(--definitions-textFonts-desktop-body-3);font-family:inherit;color:var(--definitions-colors-text-800)}@media (width <= 768px){.place-option[_ngcontent-%COMP%]{padding:12px 20px}.place-title[_ngcontent-%COMP%]{font-size:15px}.place-address[_ngcontent-%COMP%]{font-size:13px}}']})};var S1=class n{logger=Ve(dr);iconLibrary=Ve(_r);places=Nr.required();initialDestination=Nr(null);originPlace=Jn(null);destinationPlace=_s(()=>this.initialDestination());originSelected=Ws();destinationSelected=Ws();swapPlaces=Ws();clearDestination=Ws();locationPermission=Jn("prompt");faLocationDot=this.iconLibrary.getIconDefinition("fas","location-dot");faEllipsisVertical=this.iconLibrary.getIconDefinition("fas","ellipsis-vertical");faArrowsRetweet=this.iconLibrary.getIconDefinition("fas","arrows-retweet");canSwapPlaces=Tn(()=>Yx(this.originPlace())&&Yx(this.destinationPlace()));onOriginSelected(r){this.originSelected.emit(r),this.originPlace.set(r)}onDestinationSelected(r){if(Zx(r)){this.logger.logWarning("Current location is not allowed as destination");return}this.destinationSelected.emit(r),this.destinationPlace.set(r)}onSwapPlaces(){let r=this.originPlace(),i=this.destinationPlace();if(Zx(r)){this.logger.logWarning("Should not be possible to swap places with current location as origin");return}this.originPlace.set(i),this.originSelected.emit(i),this.destinationPlace.set(r),this.destinationSelected.emit(r)}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-route-selector"]],inputs:{places:[1,"places"],initialDestination:[1,"initialDestination"]},outputs:{originSelected:"originSelected",destinationSelected:"destinationSelected",swapPlaces:"swapPlaces",clearDestination:"clearDestination"},decls:20,vars:10,consts:[[1,"route-selector"],[1,"routing-option","origin"],[1,"place-info"],[1,"place-icon"],["xmlns","http://www.w3.org/2000/svg","width","36","height","36","viewBox","0 0 36 36","fill","none"],["width","36","height","36","rx","18","fill","#8DC8FF"],["d","M29.2517 17.7595C29.1117 23.9741 23.9602 28.8986 17.7456 28.7586C11.5309 28.6185 6.60648 23.4671 6.74649 17.2524C6.8865 11.0378 12.038 6.11332 18.2526 6.25333C24.4673 6.39334 29.3917 11.5448 29.2517 17.7595Z","fill","#2C57A0"],["d","M13.5364 22.4764C13.4259 22.5279 13.3135 22.5415 13.199 22.5173C13.0847 22.4932 12.9902 22.4373 12.9155 22.3496C12.8298 22.2721 12.7772 22.1766 12.7577 22.0629C12.7384 21.9495 12.7519 21.8395 12.7982 21.7327L17.6404 11.5662C17.7437 11.3532 17.9102 11.2493 18.1399 11.2545C18.3697 11.2597 18.5313 11.371 18.6249 11.5884L23.0044 21.9626C23.0458 22.0714 23.0543 22.182 23.03 22.2944C23.0054 22.407 22.9485 22.5001 22.8594 22.5736C22.7808 22.6579 22.6839 22.7095 22.5687 22.7283C22.4532 22.7475 22.3415 22.7288 22.2335 22.6723L17.9278 20.6691L13.5364 22.4764ZM14.4251 20.9295L17.954 19.5064L21.4153 21.087L18.0981 13.1117L14.4251 20.9295Z","fill","white"],[3,"selectedPlaceChange","places","initialSelectedPlace","allowCurrentLocation"],[1,"connector-line"],[1,"connector-dots"],[3,"icon"],[1,"connector-line-element"],["type","button",1,"swap-button",3,"click","disabled"],[1,"routing-option","destination"],[3,"selectedPlaceChange","places","initialSelectedPlace","placeholder"]],template:function(i,c){i&1&&(gt(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),s_(),gt(4,"svg",4),$t(5,"rect",5)(6,"path",6)(7,"path",7),_t()(),a_(),gt(8,"app-place-selector",8),xn("selectedPlaceChange",function(a){return c.onOriginSelected(a)}),_t()()(),gt(9,"div",9)(10,"div",10),$t(11,"fa-icon",11),_t(),$t(12,"div",12),gt(13,"button",13),xn("click",function(){return c.onSwapPlaces()}),$t(14,"fa-icon",11),_t()(),gt(15,"div",14)(16,"div",2)(17,"div",3),$t(18,"fa-icon",11),_t(),gt(19,"app-place-selector",15),xn("selectedPlaceChange",function(a){return c.onDestinationSelected(a)}),_t()()()()),i&2&&(bt(8),Zt("places",c.places())("initialSelectedPlace",c.originPlace())("allowCurrentLocation",!0),bt(3),Zt("icon",c.faEllipsisVertical),bt(2),Zt("disabled",!c.canSwapPlaces()),bt(),Zt("icon",c.faArrowsRetweet),bt(4),Zt("icon",c.faLocationDot),bt(),Zt("places",c.places())("initialSelectedPlace",c.destinationPlace())("placeholder","Select a destination"))},dependencies:[Gp,C1,Yr],styles:['.route-selector[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:5px;position:relative;width:100%;box-sizing:border-box}.routing-option[_ngcontent-%COMP%]{display:flex;gap:10px;align-items:center;padding:0 40px 0 0;box-sizing:border-box;width:100%}.place-info[_ngcontent-%COMP%]{display:flex;gap:10px;align-items:center;flex:1;min-width:0}.place-icon[_ngcontent-%COMP%]{flex-shrink:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center}.destination[_ngcontent-%COMP%] .place-icon[_ngcontent-%COMP%]{color:var(--definitions-colors-text-black)}.connector-line[_ngcontent-%COMP%]{display:flex;gap:8px;align-items:center;width:100%;position:relative}.connector-dots[_ngcontent-%COMP%]{flex-shrink:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center}.connector-dots[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:20px;color:#5d5d5d}.connector-line-element[_ngcontent-%COMP%]{flex:1;height:1px;background:#e0e0e0;position:relative}.connector-line-element[_ngcontent-%COMP%]:before{content:"";position:absolute;top:50%;left:0;right:0;height:1px;background:repeating-linear-gradient(to right,#e0e0e0 0,#e0e0e0 4px,transparent 4px,transparent 8px);transform:translateY(-50%)}.swap-button[_ngcontent-%COMP%]{flex-shrink:0;width:32px;height:25px;background:none;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s ease}.swap-button[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:not-allowed}.swap-button[_ngcontent-%COMP%]:hover:not(:disabled){background-color:#f5f5f5}.swap-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:16px;color:#5d5d5d}.clear-button[_ngcontent-%COMP%]{flex-shrink:0;width:20px;height:20px;background:none;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background-color .2s ease}.clear-button[_ngcontent-%COMP%]:hover{background-color:#f5f5f5}.clear-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:12px;color:#666}.select-destination-button[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;padding:8px 12px;border-radius:6px;transition:background-color .2s ease;flex:1;text-align:left}.select-destination-button[_ngcontent-%COMP%]:hover{background-color:#f8f9fa}.select-destination-button[_ngcontent-%COMP%] .place-label[_ngcontent-%COMP%]{font-family:Open Sans,sans-serif;font-weight:600;font-size:20px;line-height:1;color:#cbcbcb;font-variation-settings:"wdth" 100;letter-spacing:-1px}.destination-selector[_ngcontent-%COMP%]{position:absolute;top:81px;left:84.5px;width:310px;z-index:1000;background:#fff;box-shadow:0 4px 4px #00000040;border-radius:8px;overflow:hidden}@media (width <= 768px){.route-selector[_ngcontent-%COMP%]{padding:20px 16px}.place-text[_ngcontent-%COMP%]{font-size:18px}.place-icon[_ngcontent-%COMP%]{width:32px;height:32px}.place-icon[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:18px}.destination-selector[_ngcontent-%COMP%]{left:16px;right:16px;width:auto}}']})};function TH(n,r){if(n&1){let i=wi();gt(0,"div",6)(1,"app-route-info",9),xn("startRouteClick",function(){Wr(i);let d=pn();return Zr(d.startStepAnimation())}),_t()()}if(n&2){pn();let i=Gg(7);bt(),Zt("currentRoute",i)}}var E1=class n{routeId="";route=Ve(il);logger=Ve(dr);navigatorService=Ve(os);loadedDataService=Ve(Uo);mapService=Ve(bo);markerService=Ve(ws);homeStateService=Ve(Ni);routingService=Ve(Dc);mapReady=$o(this.mapService.mapReady,{requireSync:!0});places=$o(this.loadedDataService.getAvailablePlaces(),{initialValue:[]});originPoint=Jn(null);destinationPlace=_s(()=>this.initialDestination());initialDestination=Jn(null);currentRoute=Jn(null);constructor(){this.routeId=this.route.snapshot.params.id||"unknown",vr(()=>{let r=this.places();if(r.length>0){let i=r.find(c=>c.lazarilloId===this.routeId||c.clientId===this.routeId);i&&this.initialDestination.set(i)}}),vr(()=>{if(this.mapReady()){let i=zl(this.homeStateService.lastListedPlaces);this.markerService.addRouteMarkers(i)}}),vr(()=>{let r=this.destinationPlace();r&&this.mapReady()&&(this.markerService.deselectMarkers(),this.markerService.hasMarker(r.lazarilloId)||this.markerService.addRouteMarker(r),this.markerService.selectMarker(r.lazarilloId),zl(this.originPoint)===null&&setTimeout(()=>{this.mapService.updateCamera({center:r.position})},100))}),vr(()=>{let r=this.originPoint(),i=this.destinationPlace();r&&i?this.mapReady()&&(this.markerService.removeAllMarkers(),this.markerService.addOriginMarker(r.position),this.markerService.addDestinationMarker(i),this.routingService.getRoute(r,i).then(c=>{this.currentRoute.set(c),this.routingService.startAnimatingRoute(c),this.fitMapToRoute(r,i,c)}).catch(c=>{this.logger.logWarning("Error getting route",c)})):this.currentRoute.set(null)})}returnToProfile(){this.navigatorService.navigateToProfile(this.routeId)}onDestinationSelected(r){this.destinationPlace.set(r)}onOriginSelected(r){this.originPoint.set(r)}startStepAnimation(){this.currentRoute()&&this.logger.log("Starting step animation")}fitMapToRoute(r,i,c){let d=r?.position??this.originPoint()?.position,a=i?.position??this.destinationPlace()?.position,w=c??this.currentRoute(),P=document.querySelector(".route-related-components");if(d&&a&&w&&P&&this.mapReady()){let k=getComputedStyle(P),q=Number.parseInt(k.getPropertyValue("--padding-top")),J=Number.parseInt(k.getPropertyValue("--padding-left"));setTimeout(()=>{this.mapService.fitRoute(d,a,w,{padding:{top:q,left:J,right:70,bottom:50}})},100)}}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=In({type:n,selectors:[["app-route-screen"]],decls:12,vars:4,consts:[[1,"route-screen"],[1,"back-button"],["backButton","",3,"click"],[1,"route-screen-content"],[1,"route-related-components"],[3,"originSelected","destinationSelected","places","initialDestination"],[1,"route-info"],[1,"map"],[3,"restartRouteCallback"],[3,"startRouteClick","currentRoute"]],template:function(i,c){if(i&1){let d=wi();gt(0,"div",0)(1,"div",1)(2,"button",2),xn("click",function(){return Wr(d),Zr(c.returnToProfile())}),bn(3,"Back"),_t()(),gt(4,"div",3)(5,"div",4)(6,"app-route-selector",5),xn("originSelected",function(w){return Wr(d),Zr(c.onOriginSelected(w))})("destinationSelected",function(w){return Wr(d),Zr(c.onDestinationSelected(w))}),_t(),Up(7),gr(8,TH,2,1,"div",6),_t(),gt(9,"div",7)(10,"app-map")(11,"app-route-control-button",8),xn("restartRouteCallback",function(){return Wr(d),Zr(c.fitMapToRoute())}),_t()()()()()}if(i&2){bt(6),Zt("places",c.places())("initialDestination",c.initialDestination()),bt();let d=$g(c.currentRoute());bt(),yr(d!==null?8:-1)}},dependencies:[cm,Vd,S1,x1,w1],styles:[".route-screen-content[_ngcontent-%COMP%]{position:relative}.route-related-components[_ngcontent-%COMP%]{--padding-top: 130;--padding-left: 450;position:absolute;top:0;left:0;width:450px;box-sizing:border-box;z-index:1;display:flex;flex-direction:column;gap:40px;padding:40px 38px;background-color:var(--definitions-colors-background-white)}@container mapvx-container (width <= 1024px){.route-related-components[_ngcontent-%COMP%]{--padding-top: 70;--padding-left: 50;position:unset;width:100%}}.map[_ngcontent-%COMP%]{width:100%;height:820px}"],changeDetection:0})};var kR=[{path:"",component:n1,children:[{path:"list",redirectTo:"",pathMatch:"full"},{path:"",component:d1},{path:"search",component:p1}]},{path:"profile/:id",component:b1},{path:"route/:id",component:E1},{path:"**",redirectTo:""}];var RR={providers:[q2(),Ix(),lS(kR),{provide:wc,useClass:t1},dr]};Wx(RR).then(n=>{let r=H3(e1,{injector:n.injector});customElements.define("mapvx-website",r)}).catch(n=>console.error(n));
|
|
1500
1500
|
/*! Bundled license information:
|
|
1501
1501
|
|
|
1502
1502
|
maplibre-gl/dist/maplibre-gl.js:
|
package/dist/browser/styles.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--definitions-colors-primary-50: #f6f6f6;--definitions-colors-primary-100: #ececec;--definitions-colors-primary-200: #dedede;--definitions-colors-primary-300: #cbcbcb;--definitions-colors-primary-400: #a5a5a5;--definitions-colors-primary-500: #848484;--definitions-colors-primary-600: #5d5d5d;--definitions-colors-primary-700: #4b4b4b;--definitions-colors-primary-800: #2d2d2d;--definitions-colors-primary-900: #0c0c0c;--definitions-colors-secondary-50: #e2f2ff;--definitions-colors-secondary-100: #bbdeff;--definitions-colors-secondary-200: #8dc8ff;--definitions-colors-secondary-300: #5ab2ff;--definitions-colors-secondary-400: #30a1ff;--definitions-colors-secondary-500: #0290ff;--definitions-colors-secondary-600: #1e81ff;--definitions-colors-secondary-700: #276ef1;--definitions-colors-secondary-800: #2b5bde;--definitions-colors-secondary-900: #2f38be;--definitions-colors-negative-50: #ffebed;--definitions-colors-negative-100: #ffcdd0;--definitions-colors-negative-200: #f49a96;--definitions-colors-negative-300: #eb736d;--definitions-colors-negative-400: #f45347;--definitions-colors-negative-500: #f84328;--definitions-colors-negative-600: #ea3829;--definitions-colors-negative-700: #d82e23;--definitions-colors-negative-800: #cb271c;--definitions-colors-negative-900: #bd190d;--definitions-colors-warning-50: #f8f1e0;--definitions-colors-warning-100: #eedcb1;--definitions-colors-warning-200: #e4c57e;--definitions-colors-warning-300: #daae4c;--definitions-colors-warning-400: #d49e27;--definitions-colors-warning-500: #cf8f06;--definitions-colors-warning-600: #cc8500;--definitions-colors-warning-700: #c77700;--definitions-colors-warning-800: #c06900;--definitions-colors-warning-900: #b65400;--definitions-colors-positive-50: #eaf6e8;--definitions-colors-positive-100: #cde8c7;--definitions-colors-positive-200: #add9a4;--definitions-colors-positive-300: #8dcc80;--definitions-colors-positive-400: #74c064;--definitions-colors-positive-500: #5eb548;--definitions-colors-positive-600: #54a63f;--definitions-colors-positive-700: #479434;--definitions-colors-positive-800: #3c832a;--definitions-colors-positive-900: #276418;--definitions-colors-black_white-50: #fff;--definitions-colors-black_white-900: #000;--definitions-colors-text-50: #fff;--definitions-colors-text-500: #aaaaa9;--definitions-colors-text-800: #4f4f4e;--definitions-colors-text-900: #000;--definitions-colors-background-50: #fff;--definitions-colors-background-100: #f7f7f6;--definitions-colors-background-200: #f1f1f0;--definitions-colors-gray-50: #f9fafb;--definitions-colors-gray-100: #f2f4f7;--definitions-colors-gray-200: #e4e7ec;--definitions-colors-gray-300: #d0d5dd;--definitions-colors-gray-400: #98a2b3;--definitions-colors-gray-500: #667085;--definitions-colors-gray-600: #475467;--definitions-colors-gray-700: #344054;--definitions-colors-gray-800: #1d2939;--definitions-colors-gray-900: #101828;--definitions-shadows-general: 0px 4px 4px 0px #00000040;--definitions-colors-primary-black: #000;--definitions-colors-secondary-orange: var(--mapvx-secondary-orange, #EE5845);--definitions-colors-secondary-blue: var(--mapvx-secondary-blue, #2C57A0);--definitions-colors-text-light-grey: #AAAAA9;--definitions-colors-text-grey: #4F4F4E;--definitions-colors-text-black: #000;--definitions-colors-text-white: #fff;--definitions-colors-background-white: #fff}:root{--definitions-textFonts-desktop-h1: normal 700 34px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-h2: normal 700 30px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-h3: normal 600 30px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-h4: normal 700 26px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-h5: normal 700 24px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-h6: normal 700 20px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-sub-1: normal 400 20px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-sub-2: normal 700 18px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-sub-3: normal 400 18px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-sub-4: normal 400 16px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-sub-5: normal 700 14px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-body-1: normal 300 18px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-body-2: normal 400 16px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-body-3: normal 400 14px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-body-4: normal 600 12px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-body-5: normal 400 12px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-button-1: normal 600 20px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-button-2: normal 600 18px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-button-3: normal 700 16px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-button-4: normal 600 16px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-button-5: normal 600 14px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-input-1: normal 600 14px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-input-2: normal 400 14px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-h1: normal 700 20px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-h2: normal 600 18px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-h3: normal 600 16px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-h4: normal 700 14px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-sub-1: normal 700 16px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-sub-2: normal 300 14px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-sub-3: normal 600 14px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-sub-4: normal 600 12px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-body-1: normal 600 16px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-body-2: normal 400 14px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-body-3: normal 400 12px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-button-1: normal 600 14px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-button-2: normal 600 12px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-button-3: normal 400 12px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-input-1: normal 600 14px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-input-2: normal 400 14px/normal "Open Sans", sans-serif}.maplibregl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgb(0,0,0,0)}.maplibregl-canvas{left:0;position:absolute;top:0}.maplibregl-map:fullscreen{height:100%;width:100%}.maplibregl-ctrl-group button.maplibregl-ctrl-compass{touch-action:none}.maplibregl-canvas-container.maplibregl-interactive,.maplibregl-ctrl-group button.maplibregl-ctrl-compass{cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none}.maplibregl-canvas-container.maplibregl-interactive.maplibregl-track-pointer{cursor:pointer}.maplibregl-canvas-container.maplibregl-interactive:active,.maplibregl-ctrl-group button.maplibregl-ctrl-compass:active{cursor:grabbing}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-canvas-container.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:pinch-zoom}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:none}.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures,.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-ctrl-bottom-left,.maplibregl-ctrl-bottom-right,.maplibregl-ctrl-top-left,.maplibregl-ctrl-top-right{pointer-events:none;position:absolute;z-index:2}.maplibregl-ctrl-top-left{left:0;top:0}.maplibregl-ctrl-top-right{right:0;top:0}.maplibregl-ctrl-bottom-left{bottom:0;left:0}.maplibregl-ctrl-bottom-right{bottom:0;right:0}.maplibregl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.maplibregl-ctrl-top-left .maplibregl-ctrl{float:left;margin:10px 0 0 10px}.maplibregl-ctrl-top-right .maplibregl-ctrl{float:right;margin:10px 10px 0 0}.maplibregl-ctrl-bottom-left .maplibregl-ctrl{float:left;margin:0 0 10px 10px}.maplibregl-ctrl-bottom-right .maplibregl-ctrl{float:right;margin:0 10px 10px 0}.maplibregl-ctrl-group{background:#fff;border-radius:4px}.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px #0000001a}@media (forced-colors: active){.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.maplibregl-ctrl-group button{background-color:transparent;border:0;box-sizing:border-box;cursor:pointer;display:block;height:29px;outline:none;padding:0;width:29px}.maplibregl-ctrl-group button+button{border-top:1px solid #ddd}.maplibregl-ctrl button .maplibregl-ctrl-icon{background-position:50%;background-repeat:no-repeat;display:block;height:100%;width:100%}@media (forced-colors: active){.maplibregl-ctrl-icon{background-color:transparent}.maplibregl-ctrl-group button+button{border-top:1px solid ButtonText}}.maplibregl-ctrl button::-moz-focus-inner{border:0;padding:0}.maplibregl-ctrl-attrib-button:focus,.maplibregl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl button:disabled{cursor:not-allowed}.maplibregl-ctrl button:disabled .maplibregl-ctrl-icon{opacity:.25}@media (hover: hover){.maplibregl-ctrl button:not(:disabled):hover{background-color:#0000000d}}.maplibregl-ctrl button:not(:disabled):active{background-color:#0000000d}.maplibregl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.maplibregl-ctrl-group button:focus:first-child{border-radius:4px 4px 0 0}.maplibregl-ctrl-group button:focus:last-child{border-radius:0 0 4px 4px}.maplibregl-ctrl-group button:focus:only-child{border-radius:inherit}.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23333%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23333%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5%27/%3E%3C/svg%3E")}@media (forced-colors: active){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23fff%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23fff%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5%27/%3E%3C/svg%3E")}}@media (forced-colors: active) and (prefers-color-scheme: light){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5%27/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23333%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z%27/%3E%3C/svg%3E")}@media (forced-colors: active){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23fff%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23fff%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z%27/%3E%3C/svg%3E")}}@media (forced-colors: active) and (prefers-color-scheme: light){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z%27/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23333%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27m10.5 14 4-8 4 8z%27/%3E%3Cpath fill=%27%23ccc%27 d=%27m10.5 16 4 8 4-8z%27/%3E%3C/svg%3E")}@media (forced-colors: active){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23fff%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27m10.5 14 4-8 4 8z%27/%3E%3Cpath fill=%27%23ccc%27 d=%27m10.5 16 4 8 4-8z%27/%3E%3C/svg%3E")}}@media (forced-colors: active) and (prefers-color-scheme: light){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27m10.5 14 4-8 4 8z%27/%3E%3Cpath fill=%27%23ccc%27 d=%27m10.5 16 4 8 4-8z%27/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-globe .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2722%27 height=%2722%27 fill=%27none%27 stroke=%27%23333%27 viewBox=%270 0 22 22%27%3E%3Ccircle cx=%2711%27 cy=%2711%27 r=%278.5%27/%3E%3Cpath d=%27M17.5 11c0 4.819-3.02 8.5-6.5 8.5S4.5 15.819 4.5 11 7.52 2.5 11 2.5s6.5 3.681 6.5 8.5Z%27/%3E%3Cpath d=%27M13.5 11c0 2.447-.331 4.64-.853 6.206-.262.785-.562 1.384-.872 1.777-.314.399-.58.517-.775.517s-.461-.118-.775-.517c-.31-.393-.61-.992-.872-1.777C8.831 15.64 8.5 13.446 8.5 11s.331-4.64.853-6.206c.262-.785.562-1.384.872-1.777.314-.399.58-.517.775-.517s.461.118.775.517c.31.393.61.992.872 1.777.522 1.565.853 3.76.853 6.206Z%27/%3E%3Cpath d=%27M11 7.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138q.07-.058.224-.138c.299-.151.763-.302 1.379-.434C7.378 5.666 9.091 5.5 11 5.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138q-.07.058-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428ZM4.486 6.436ZM11 16.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138 1.3 1.3 0 0 1 .224-.138c.299-.151.763-.302 1.379-.434C7.378 14.666 9.091 14.5 11 14.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138a1.3 1.3 0 0 1-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428Zm-6.514-1.064ZM11 12.5c-2.46 0-4.672-.222-6.255-.574-.796-.177-1.406-.38-1.805-.59a1.5 1.5 0 0 1-.39-.272.3.3 0 0 1-.047-.064.3.3 0 0 1 .048-.064c.066-.073.189-.167.389-.272.399-.21 1.009-.413 1.805-.59C6.328 9.722 8.54 9.5 11 9.5s4.672.222 6.256.574c.795.177 1.405.38 1.804.59.2.105.323.2.39.272a.3.3 0 0 1 .047.064.3.3 0 0 1-.048.064 1.4 1.4 0 0 1-.389.272c-.399.21-1.009.413-1.804.59-1.584.352-3.796.574-6.256.574Zm-8.501-1.51v.002zm0 .018v.002zm17.002.002v-.002zm0-.018v-.002z%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-globe-enabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2722%27 height=%2722%27 fill=%27none%27 stroke=%27%2333b5e5%27 viewBox=%270 0 22 22%27%3E%3Ccircle cx=%2711%27 cy=%2711%27 r=%278.5%27/%3E%3Cpath d=%27M17.5 11c0 4.819-3.02 8.5-6.5 8.5S4.5 15.819 4.5 11 7.52 2.5 11 2.5s6.5 3.681 6.5 8.5Z%27/%3E%3Cpath d=%27M13.5 11c0 2.447-.331 4.64-.853 6.206-.262.785-.562 1.384-.872 1.777-.314.399-.58.517-.775.517s-.461-.118-.775-.517c-.31-.393-.61-.992-.872-1.777C8.831 15.64 8.5 13.446 8.5 11s.331-4.64.853-6.206c.262-.785.562-1.384.872-1.777.314-.399.58-.517.775-.517s.461.118.775.517c.31.393.61.992.872 1.777.522 1.565.853 3.76.853 6.206Z%27/%3E%3Cpath d=%27M11 7.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138q.07-.058.224-.138c.299-.151.763-.302 1.379-.434C7.378 5.666 9.091 5.5 11 5.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138q-.07.058-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428ZM4.486 6.436ZM11 16.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138 1.3 1.3 0 0 1 .224-.138c.299-.151.763-.302 1.379-.434C7.378 14.666 9.091 14.5 11 14.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138a1.3 1.3 0 0 1-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428Zm-6.514-1.064ZM11 12.5c-2.46 0-4.672-.222-6.255-.574-.796-.177-1.406-.38-1.805-.59a1.5 1.5 0 0 1-.39-.272.3.3 0 0 1-.047-.064.3.3 0 0 1 .048-.064c.066-.073.189-.167.389-.272.399-.21 1.009-.413 1.805-.59C6.328 9.722 8.54 9.5 11 9.5s4.672.222 6.256.574c.795.177 1.405.38 1.804.59.2.105.323.2.39.272a.3.3 0 0 1 .047.064.3.3 0 0 1-.048.064 1.4 1.4 0 0 1-.389.272c-.399.21-1.009.413-1.804.59-1.584.352-3.796.574-6.256.574Zm-8.501-1.51v.002zm0 .018v.002zm17.002.002v-.002zm0-.018v-.002z%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-terrain .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2722%27 height=%2722%27 fill=%27%23333%27 viewBox=%270 0 22 22%27%3E%3Cpath d=%27m1.754 13.406 4.453-4.851 3.09 3.09 3.281 3.277.969-.969-3.309-3.312 3.844-4.121 6.148 6.886h1.082v-.855l-7.207-8.07-4.84 5.187L6.169 6.57l-5.48 5.965v.871ZM.688 16.844h20.625v1.375H.688Zm0 0%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-terrain-enabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2722%27 height=%2722%27 fill=%27%2333b5e5%27 viewBox=%270 0 22 22%27%3E%3Cpath d=%27m1.754 13.406 4.453-4.851 3.09 3.09 3.281 3.277.969-.969-3.309-3.312 3.844-4.121 6.148 6.886h1.082v-.855l-7.207-8.07-4.84 5.187L6.169 6.57l-5.48 5.965v.871ZM.688 16.844h20.625v1.375H.688Zm0 0%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23333%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23aaa%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3Cpath fill=%27red%27 d=%27m14 5 1 1-9 9-1-1z%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%2333b5e5%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23e58978%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%2333b5e5%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23e54e33%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-waiting .maplibregl-ctrl-icon{animation:maplibregl-spin 2s linear infinite}@media (forced-colors: active){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23fff%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23999%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3Cpath fill=%27red%27 d=%27m14 5 1 1-9 9-1-1z%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%2333b5e5%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23e58978%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%2333b5e5%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23e54e33%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3C/svg%3E")}}@media (forced-colors: active) and (prefers-color-scheme: light){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23666%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3Cpath fill=%27red%27 d=%27m14 5 1 1-9 9-1-1z%27/%3E%3C/svg%3E")}}@keyframes maplibregl-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}a.maplibregl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2788%27 height=%2723%27 fill=%27none%27%3E%3Cpath fill=%27%23000%27 fill-opacity=%27.4%27 fill-rule=%27evenodd%27 d=%27M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z%27/%3E%3Cpath fill=%27%23fff%27 d=%27m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z%27/%3E%3Cpath fill=%27%23e1e3e9%27 d=%27M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z%27/%3E%3Cpath d=%27M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z%27 style=%27fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001%27/%3E%3Cg style=%27stroke-width:1.12603545%27%3E%3Cpath d=%27M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668%27 style=%27color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto%27 transform=%27translate%2815.553 2.85%29scale%28.88807%29%27/%3E%3Cpath d=%27M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3%27 style=%27clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4%27 transform=%27translate%2815.553 2.85%29scale%28.88807%29%27/%3E%3Cpath d=%27M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z%27 style=%27clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4%27 transform=%27translate%2815.553 2.85%29scale%28.88807%29%27/%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;cursor:pointer;display:block;height:23px;margin:0 0 -4px -4px;overflow:hidden;width:88px}a.maplibregl-ctrl-logo.maplibregl-compact{width:14px}@media (forced-colors: active){a.maplibregl-ctrl-logo{background-color:transparent;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2788%27 height=%2723%27 fill=%27none%27%3E%3Cpath fill=%27%23000%27 fill-opacity=%27.4%27 fill-rule=%27evenodd%27 d=%27M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z%27/%3E%3Cpath fill=%27%23fff%27 d=%27m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z%27/%3E%3Cpath fill=%27%23e1e3e9%27 d=%27M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z%27/%3E%3Cpath d=%27M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z%27 style=%27fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001%27/%3E%3Cg style=%27stroke-width:1.12603545%27%3E%3Cpath d=%27M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668%27 style=%27color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto%27 transform=%27translate%2815.553 2.85%29scale%28.88807%29%27/%3E%3Cpath d=%27M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3%27 style=%27clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4%27 transform=%27translate%2815.553 2.85%29scale%28.88807%29%27/%3E%3Cpath d=%27M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z%27 style=%27clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4%27 transform=%27translate%2815.553 2.85%29scale%28.88807%29%27/%3E%3C/g%3E%3C/svg%3E")}}@media (forced-colors: active) and (prefers-color-scheme: light){a.maplibregl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2788%27 height=%2723%27 fill=%27none%27%3E%3Cpath fill=%27%23000%27 fill-opacity=%27.4%27 fill-rule=%27evenodd%27 d=%27M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z%27/%3E%3Cpath fill=%27%23fff%27 d=%27m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z%27/%3E%3Cpath fill=%27%23e1e3e9%27 d=%27M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z%27/%3E%3Cpath d=%27M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z%27 style=%27fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001%27/%3E%3Cg style=%27stroke-width:1.12603545%27%3E%3Cpath d=%27M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668%27 style=%27color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto%27 transform=%27translate%2815.553 2.85%29scale%28.88807%29%27/%3E%3Cpath d=%27M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3%27 style=%27clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4%27 transform=%27translate%2815.553 2.85%29scale%28.88807%29%27/%3E%3Cpath d=%27M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z%27 style=%27clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4%27 transform=%27translate%2815.553 2.85%29scale%28.88807%29%27/%3E%3C/g%3E%3C/svg%3E")}}.maplibregl-ctrl.maplibregl-ctrl-attrib{background-color:#ffffff80;margin:0;padding:0 5px}@media screen{.maplibregl-ctrl-attrib.maplibregl-compact{background-color:#fff;border-radius:12px;box-sizing:content-box;color:#000;margin:10px;min-height:20px;padding:2px 24px 2px 0;position:relative}.maplibregl-ctrl-attrib.maplibregl-compact-show{padding:2px 28px 2px 8px;visibility:visible}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact-show,.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact-show{border-radius:12px;padding:2px 8px 2px 28px}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-inner{display:none}.maplibregl-ctrl-attrib-button{background-color:#ffffff80;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2724%27 height=%2724%27 fill-rule=%27evenodd%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0%27/%3E%3C/svg%3E");border:0;border-radius:12px;box-sizing:border-box;cursor:pointer;display:none;height:24px;outline:none;position:absolute;right:0;top:0;width:24px}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;list-style:none}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button::-webkit-details-marker{display:none}.maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-top-left .maplibregl-ctrl-attrib-button{left:0}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-inner{display:block}.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-button{background-color:#0000000d}.maplibregl-ctrl-bottom-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;right:0}.maplibregl-ctrl-top-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{right:0;top:0}.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{left:0;top:0}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;left:0}}@media screen and (forced-colors: active){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2724%27 height=%2724%27 fill=%27%23fff%27 fill-rule=%27evenodd%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0%27/%3E%3C/svg%3E")}}@media screen and (forced-colors: active) and (prefers-color-scheme: light){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2724%27 height=%2724%27 fill-rule=%27evenodd%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0%27/%3E%3C/svg%3E")}}.maplibregl-ctrl-attrib a{color:#000000bf;text-decoration:none}.maplibregl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.maplibregl-attrib-empty{display:none}.maplibregl-ctrl-scale{background-color:#ffffffbf;border:2px solid #333;border-top:#333;box-sizing:border-box;color:#333;font-size:10px;padding:0 5px}.maplibregl-popup{display:flex;left:0;pointer-events:none;position:absolute;top:0;will-change:transform}.maplibregl-popup-anchor-top,.maplibregl-popup-anchor-top-left,.maplibregl-popup-anchor-top-right{flex-direction:column}.maplibregl-popup-anchor-bottom,.maplibregl-popup-anchor-bottom-left,.maplibregl-popup-anchor-bottom-right{flex-direction:column-reverse}.maplibregl-popup-anchor-left{flex-direction:row}.maplibregl-popup-anchor-right{flex-direction:row-reverse}.maplibregl-popup-tip{border:10px solid transparent;height:0;width:0;z-index:1}.maplibregl-popup-anchor-top .maplibregl-popup-tip{align-self:center;border-bottom-color:#fff;border-top:none}.maplibregl-popup-anchor-top-left .maplibregl-popup-tip{align-self:flex-start;border-bottom-color:#fff;border-left:none;border-top:none}.maplibregl-popup-anchor-top-right .maplibregl-popup-tip{align-self:flex-end;border-bottom-color:#fff;border-right:none;border-top:none}.maplibregl-popup-anchor-bottom .maplibregl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip{align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip{align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.maplibregl-popup-anchor-left .maplibregl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.maplibregl-popup-anchor-right .maplibregl-popup-tip{align-self:center;border-left-color:#fff;border-right:none}.maplibregl-popup-close-button{background-color:transparent;border:0;border-radius:0 3px 0 0;cursor:pointer;position:absolute;right:0;top:0}.maplibregl-popup-close-button:hover{background-color:#0000000d}.maplibregl-popup-content{background:#fff;border-radius:3px;box-shadow:0 1px 2px #0000001a;padding:15px 10px;pointer-events:auto;position:relative}.maplibregl-popup-anchor-top-left .maplibregl-popup-content{border-top-left-radius:0}.maplibregl-popup-anchor-top-right .maplibregl-popup-content{border-top-right-radius:0}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-content{border-bottom-left-radius:0}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-content{border-bottom-right-radius:0}.maplibregl-popup-track-pointer{display:none}.maplibregl-popup-track-pointer *{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.maplibregl-map:hover .maplibregl-popup-track-pointer{display:flex}.maplibregl-map:active .maplibregl-popup-track-pointer{display:none}.maplibregl-marker{left:0;position:absolute;top:0;transition:opacity .2s;will-change:transform}.maplibregl-user-location-dot,.maplibregl-user-location-dot:before{background-color:#1da1f2;border-radius:50%;height:15px;width:15px}.maplibregl-user-location-dot:before{animation:maplibregl-user-location-dot-pulse 2s infinite;content:"";position:absolute}.maplibregl-user-location-dot:after{border:2px solid #fff;border-radius:50%;box-shadow:0 0 3px #00000059;box-sizing:border-box;content:"";height:19px;left:-2px;position:absolute;top:-2px;width:19px}@keyframes maplibregl-user-location-dot-pulse{0%{opacity:1;transform:scale(1)}70%{opacity:0;transform:scale(3)}to{opacity:0;transform:scale(1)}}.maplibregl-user-location-dot-stale{background-color:#aaa}.maplibregl-user-location-dot-stale:after{display:none}.maplibregl-user-location-accuracy-circle{background-color:#1da1f233;border-radius:100%;height:1px;width:1px}.maplibregl-crosshair,.maplibregl-crosshair .maplibregl-interactive,.maplibregl-crosshair .maplibregl-interactive:active{cursor:crosshair}.maplibregl-boxzoom{background:#fff;border:2px dotted #202020;height:0;left:0;opacity:.5;position:absolute;top:0;width:0}.maplibregl-cooperative-gesture-screen{align-items:center;background:#0006;color:#fff;display:flex;font-size:1.4em;inset:0;justify-content:center;line-height:1.2;opacity:0;padding:1rem;pointer-events:none;position:absolute;transition:opacity 1s ease 1s;z-index:99999}.maplibregl-cooperative-gesture-screen.maplibregl-show{opacity:1;transition:opacity .05s}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:none}@media (hover: none),(pointer: coarse){.maplibregl-cooperative-gesture-screen .maplibregl-desktop-message{display:none}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:block}}.maplibregl-pseudo-fullscreen{height:100%!important;left:0!important;position:fixed!important;top:0!important;width:100%!important;z-index:99999}.lazarillo-marker{display:flex;border:none;cursor:pointer;padding:0;align-items:center;justify-content:center;box-sizing:border-box}.lazarillo-marker.text-column{flex-direction:column;align-items:center}.lazarillo-marker.text-row{flex-direction:row;align-items:center}.lazarillo-marker .text-container{display:block;width:max-content;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;pointer-events:none;box-sizing:border-box}.lazarillo-marker .text-container.top{margin-bottom:4px}.lazarillo-marker .text-container.bottom{margin-top:4px}.lazarillo-marker .text-container.left{margin-right:8px}.lazarillo-marker .text-container.right{margin-left:8px}.icon-default{background-color:#007cbf;border-radius:50%;display:block}.lazarillo-map-container{width:100%;height:100%;position:relative}.lazarillo-popup{max-width:300px}.lazarillo-popup .maplibregl-popup-content{padding:12px;border-radius:8px;box-shadow:0 4px 6px #0000001a}.lazarillo-controls{position:absolute;top:10px;right:10px;z-index:1000}.lazarillo-route-line{line-cap:round;line-join:round}.lazarillo-route-outline{line-cap:round;line-join:round;line-opacity:.8}.maplibregl-control-container{display:none}.lazarillo-marker{width:unset!important;height:unset!important}.current-location-marker{width:40px;height:40px}.current-location-marker svg{width:100%;height:100%;display:block}.marker{height:69.32px;font-size:69px}.marker .svg-inline--fa{width:fit-content}.marker svg:first-child{color:var(--definitions-colors-primary-black)}.marker svg:not(:first-child){color:#fff;font-size:32px;margin:0 auto;top:10px;width:fit-content}.marker svg.fa-parking{font-size:26.35px;top:13px;left:6px}.marker svg.fa-user{font-size:36px;top:8px}.marker svg.fa-airport{font-size:43px;top:4px}.marker svg.fa-health,.marker svg.fa-events,.marker svg.fa-beauty,.marker svg.fa-services,.marker svg.fa-deals,.marker svg.fa-hotels{font-size:32px;top:10px}.marker svg.fa-shopping,.marker svg.fa-food-and-beverage{font-size:32px;top:8px}.marker.selected svg:first-child{color:var(--definitions-colors-secondary-orange)}.lazarillo-marker:has(.selected){z-index:1}.lazarillo-marker:has(.current-location-marker){z-index:2}.lazarillo-marker:has(.route-marker){cursor:unset}.marker.destination-marker svg:first-child{color:var(--definitions-colors-secondary-orange)}
|
|
1
|
+
:root{--definitions-colors-primary-50: #f6f6f6;--definitions-colors-primary-100: #ececec;--definitions-colors-primary-200: #dedede;--definitions-colors-primary-300: #cbcbcb;--definitions-colors-primary-400: #a5a5a5;--definitions-colors-primary-500: #848484;--definitions-colors-primary-600: #5d5d5d;--definitions-colors-primary-700: #4b4b4b;--definitions-colors-primary-800: #2d2d2d;--definitions-colors-primary-900: #0c0c0c;--definitions-colors-secondary-50: #e2f2ff;--definitions-colors-secondary-100: #bbdeff;--definitions-colors-secondary-200: #8dc8ff;--definitions-colors-secondary-300: #5ab2ff;--definitions-colors-secondary-400: #30a1ff;--definitions-colors-secondary-500: #0290ff;--definitions-colors-secondary-600: #1e81ff;--definitions-colors-secondary-700: #276ef1;--definitions-colors-secondary-800: #2b5bde;--definitions-colors-secondary-900: #2f38be;--definitions-colors-negative-50: #ffebed;--definitions-colors-negative-100: #ffcdd0;--definitions-colors-negative-200: #f49a96;--definitions-colors-negative-300: #eb736d;--definitions-colors-negative-400: #f45347;--definitions-colors-negative-500: #f84328;--definitions-colors-negative-600: #ea3829;--definitions-colors-negative-700: #d82e23;--definitions-colors-negative-800: #cb271c;--definitions-colors-negative-900: #bd190d;--definitions-colors-warning-50: #f8f1e0;--definitions-colors-warning-100: #eedcb1;--definitions-colors-warning-200: #e4c57e;--definitions-colors-warning-300: #daae4c;--definitions-colors-warning-400: #d49e27;--definitions-colors-warning-500: #cf8f06;--definitions-colors-warning-600: #cc8500;--definitions-colors-warning-700: #c77700;--definitions-colors-warning-800: #c06900;--definitions-colors-warning-900: #b65400;--definitions-colors-positive-50: #eaf6e8;--definitions-colors-positive-100: #cde8c7;--definitions-colors-positive-200: #add9a4;--definitions-colors-positive-300: #8dcc80;--definitions-colors-positive-400: #74c064;--definitions-colors-positive-500: #5eb548;--definitions-colors-positive-600: #54a63f;--definitions-colors-positive-700: #479434;--definitions-colors-positive-800: #3c832a;--definitions-colors-positive-900: #276418;--definitions-colors-black_white-50: #fff;--definitions-colors-black_white-900: #000;--definitions-colors-text-50: #fff;--definitions-colors-text-500: #aaaaa9;--definitions-colors-text-800: #4f4f4e;--definitions-colors-text-900: #000;--definitions-colors-background-50: #fff;--definitions-colors-background-100: #f7f7f6;--definitions-colors-background-200: #f1f1f0;--definitions-colors-gray-50: #f9fafb;--definitions-colors-gray-100: #f2f4f7;--definitions-colors-gray-200: #e4e7ec;--definitions-colors-gray-300: #d0d5dd;--definitions-colors-gray-400: #98a2b3;--definitions-colors-gray-500: #667085;--definitions-colors-gray-600: #475467;--definitions-colors-gray-700: #344054;--definitions-colors-gray-800: #1d2939;--definitions-colors-gray-900: #101828;--definitions-shadows-general: 0px 4px 4px 0px #00000040;--definitions-colors-primary-black: #000;--definitions-colors-secondary-orange: var(--mapvx-secondary-orange, #EE5845);--definitions-colors-secondary-blue: var(--mapvx-secondary-blue, #2C57A0);--definitions-colors-text-light-grey: #AAAAA9;--definitions-colors-text-grey: #4F4F4E;--definitions-colors-text-black: #000;--definitions-colors-text-white: #fff;--definitions-colors-background-white: #fff}:root{--definitions-textFonts-desktop-h1: normal 700 34px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-h2: normal 700 30px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-h3: normal 600 30px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-h4: normal 700 26px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-h5: normal 700 24px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-h6: normal 700 20px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-sub-1: normal 400 20px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-sub-2: normal 700 18px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-sub-3: normal 400 18px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-sub-4: normal 400 16px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-sub-5: normal 700 14px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-body-1: normal 300 18px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-body-2: normal 400 16px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-body-3: normal 400 14px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-body-4: normal 600 12px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-body-5: normal 400 12px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-button-1: normal 600 20px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-button-2: normal 600 18px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-button-3: normal 700 16px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-button-4: normal 600 16px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-button-5: normal 600 14px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-input-1: normal 600 14px/normal "Open Sans", sans-serif;--definitions-textFonts-desktop-input-2: normal 400 14px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-h1: normal 700 20px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-h2: normal 600 18px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-h3: normal 600 16px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-h4: normal 700 14px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-sub-1: normal 700 16px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-sub-2: normal 300 14px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-sub-3: normal 600 14px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-sub-4: normal 600 12px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-body-1: normal 600 16px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-body-2: normal 400 14px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-body-3: normal 400 12px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-button-1: normal 600 14px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-button-2: normal 600 12px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-button-3: normal 400 12px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-input-1: normal 600 14px/normal "Open Sans", sans-serif;--definitions-textFonts-mobile-input-2: normal 400 14px/normal "Open Sans", sans-serif}.maplibregl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgb(0,0,0,0)}.maplibregl-canvas{left:0;position:absolute;top:0}.maplibregl-map:fullscreen{height:100%;width:100%}.maplibregl-ctrl-group button.maplibregl-ctrl-compass{touch-action:none}.maplibregl-canvas-container.maplibregl-interactive,.maplibregl-ctrl-group button.maplibregl-ctrl-compass{cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none}.maplibregl-canvas-container.maplibregl-interactive.maplibregl-track-pointer{cursor:pointer}.maplibregl-canvas-container.maplibregl-interactive:active,.maplibregl-ctrl-group button.maplibregl-ctrl-compass:active{cursor:grabbing}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-canvas-container.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:pinch-zoom}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:none}.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures,.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-ctrl-bottom-left,.maplibregl-ctrl-bottom-right,.maplibregl-ctrl-top-left,.maplibregl-ctrl-top-right{pointer-events:none;position:absolute;z-index:2}.maplibregl-ctrl-top-left{left:0;top:0}.maplibregl-ctrl-top-right{right:0;top:0}.maplibregl-ctrl-bottom-left{bottom:0;left:0}.maplibregl-ctrl-bottom-right{bottom:0;right:0}.maplibregl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.maplibregl-ctrl-top-left .maplibregl-ctrl{float:left;margin:10px 0 0 10px}.maplibregl-ctrl-top-right .maplibregl-ctrl{float:right;margin:10px 10px 0 0}.maplibregl-ctrl-bottom-left .maplibregl-ctrl{float:left;margin:0 0 10px 10px}.maplibregl-ctrl-bottom-right .maplibregl-ctrl{float:right;margin:0 10px 10px 0}.maplibregl-ctrl-group{background:#fff;border-radius:4px}.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px #0000001a}@media (forced-colors: active){.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.maplibregl-ctrl-group button{background-color:transparent;border:0;box-sizing:border-box;cursor:pointer;display:block;height:29px;outline:none;padding:0;width:29px}.maplibregl-ctrl-group button+button{border-top:1px solid #ddd}.maplibregl-ctrl button .maplibregl-ctrl-icon{background-position:50%;background-repeat:no-repeat;display:block;height:100%;width:100%}@media (forced-colors: active){.maplibregl-ctrl-icon{background-color:transparent}.maplibregl-ctrl-group button+button{border-top:1px solid ButtonText}}.maplibregl-ctrl button::-moz-focus-inner{border:0;padding:0}.maplibregl-ctrl-attrib-button:focus,.maplibregl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl button:disabled{cursor:not-allowed}.maplibregl-ctrl button:disabled .maplibregl-ctrl-icon{opacity:.25}@media (hover: hover){.maplibregl-ctrl button:not(:disabled):hover{background-color:#0000000d}}.maplibregl-ctrl button:not(:disabled):active{background-color:#0000000d}.maplibregl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.maplibregl-ctrl-group button:focus:first-child{border-radius:4px 4px 0 0}.maplibregl-ctrl-group button:focus:last-child{border-radius:0 0 4px 4px}.maplibregl-ctrl-group button:focus:only-child{border-radius:inherit}.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23333%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23333%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5%27/%3E%3C/svg%3E")}@media (forced-colors: active){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23fff%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23fff%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5%27/%3E%3C/svg%3E")}}@media (forced-colors: active) and (prefers-color-scheme: light){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5%27/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23333%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z%27/%3E%3C/svg%3E")}@media (forced-colors: active){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23fff%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23fff%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z%27/%3E%3C/svg%3E")}}@media (forced-colors: active) and (prefers-color-scheme: light){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z%27/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23333%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27m10.5 14 4-8 4 8z%27/%3E%3Cpath fill=%27%23ccc%27 d=%27m10.5 16 4 8 4-8z%27/%3E%3C/svg%3E")}@media (forced-colors: active){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23fff%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27m10.5 14 4-8 4 8z%27/%3E%3Cpath fill=%27%23ccc%27 d=%27m10.5 16 4 8 4-8z%27/%3E%3C/svg%3E")}}@media (forced-colors: active) and (prefers-color-scheme: light){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27m10.5 14 4-8 4 8z%27/%3E%3Cpath fill=%27%23ccc%27 d=%27m10.5 16 4 8 4-8z%27/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-globe .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2722%27 height=%2722%27 fill=%27none%27 stroke=%27%23333%27 viewBox=%270 0 22 22%27%3E%3Ccircle cx=%2711%27 cy=%2711%27 r=%278.5%27/%3E%3Cpath d=%27M17.5 11c0 4.819-3.02 8.5-6.5 8.5S4.5 15.819 4.5 11 7.52 2.5 11 2.5s6.5 3.681 6.5 8.5Z%27/%3E%3Cpath d=%27M13.5 11c0 2.447-.331 4.64-.853 6.206-.262.785-.562 1.384-.872 1.777-.314.399-.58.517-.775.517s-.461-.118-.775-.517c-.31-.393-.61-.992-.872-1.777C8.831 15.64 8.5 13.446 8.5 11s.331-4.64.853-6.206c.262-.785.562-1.384.872-1.777.314-.399.58-.517.775-.517s.461.118.775.517c.31.393.61.992.872 1.777.522 1.565.853 3.76.853 6.206Z%27/%3E%3Cpath d=%27M11 7.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138q.07-.058.224-.138c.299-.151.763-.302 1.379-.434C7.378 5.666 9.091 5.5 11 5.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138q-.07.058-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428ZM4.486 6.436ZM11 16.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138 1.3 1.3 0 0 1 .224-.138c.299-.151.763-.302 1.379-.434C7.378 14.666 9.091 14.5 11 14.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138a1.3 1.3 0 0 1-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428Zm-6.514-1.064ZM11 12.5c-2.46 0-4.672-.222-6.255-.574-.796-.177-1.406-.38-1.805-.59a1.5 1.5 0 0 1-.39-.272.3.3 0 0 1-.047-.064.3.3 0 0 1 .048-.064c.066-.073.189-.167.389-.272.399-.21 1.009-.413 1.805-.59C6.328 9.722 8.54 9.5 11 9.5s4.672.222 6.256.574c.795.177 1.405.38 1.804.59.2.105.323.2.39.272a.3.3 0 0 1 .047.064.3.3 0 0 1-.048.064 1.4 1.4 0 0 1-.389.272c-.399.21-1.009.413-1.804.59-1.584.352-3.796.574-6.256.574Zm-8.501-1.51v.002zm0 .018v.002zm17.002.002v-.002zm0-.018v-.002z%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-globe-enabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2722%27 height=%2722%27 fill=%27none%27 stroke=%27%2333b5e5%27 viewBox=%270 0 22 22%27%3E%3Ccircle cx=%2711%27 cy=%2711%27 r=%278.5%27/%3E%3Cpath d=%27M17.5 11c0 4.819-3.02 8.5-6.5 8.5S4.5 15.819 4.5 11 7.52 2.5 11 2.5s6.5 3.681 6.5 8.5Z%27/%3E%3Cpath d=%27M13.5 11c0 2.447-.331 4.64-.853 6.206-.262.785-.562 1.384-.872 1.777-.314.399-.58.517-.775.517s-.461-.118-.775-.517c-.31-.393-.61-.992-.872-1.777C8.831 15.64 8.5 13.446 8.5 11s.331-4.64.853-6.206c.262-.785.562-1.384.872-1.777.314-.399.58-.517.775-.517s.461.118.775.517c.31.393.61.992.872 1.777.522 1.565.853 3.76.853 6.206Z%27/%3E%3Cpath d=%27M11 7.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138q.07-.058.224-.138c.299-.151.763-.302 1.379-.434C7.378 5.666 9.091 5.5 11 5.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138q-.07.058-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428ZM4.486 6.436ZM11 16.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138 1.3 1.3 0 0 1 .224-.138c.299-.151.763-.302 1.379-.434C7.378 14.666 9.091 14.5 11 14.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138a1.3 1.3 0 0 1-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428Zm-6.514-1.064ZM11 12.5c-2.46 0-4.672-.222-6.255-.574-.796-.177-1.406-.38-1.805-.59a1.5 1.5 0 0 1-.39-.272.3.3 0 0 1-.047-.064.3.3 0 0 1 .048-.064c.066-.073.189-.167.389-.272.399-.21 1.009-.413 1.805-.59C6.328 9.722 8.54 9.5 11 9.5s4.672.222 6.256.574c.795.177 1.405.38 1.804.59.2.105.323.2.39.272a.3.3 0 0 1 .047.064.3.3 0 0 1-.048.064 1.4 1.4 0 0 1-.389.272c-.399.21-1.009.413-1.804.59-1.584.352-3.796.574-6.256.574Zm-8.501-1.51v.002zm0 .018v.002zm17.002.002v-.002zm0-.018v-.002z%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-terrain .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2722%27 height=%2722%27 fill=%27%23333%27 viewBox=%270 0 22 22%27%3E%3Cpath d=%27m1.754 13.406 4.453-4.851 3.09 3.09 3.281 3.277.969-.969-3.309-3.312 3.844-4.121 6.148 6.886h1.082v-.855l-7.207-8.07-4.84 5.187L6.169 6.57l-5.48 5.965v.871ZM.688 16.844h20.625v1.375H.688Zm0 0%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-terrain-enabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2722%27 height=%2722%27 fill=%27%2333b5e5%27 viewBox=%270 0 22 22%27%3E%3Cpath d=%27m1.754 13.406 4.453-4.851 3.09 3.09 3.281 3.277.969-.969-3.309-3.312 3.844-4.121 6.148 6.886h1.082v-.855l-7.207-8.07-4.84 5.187L6.169 6.57l-5.48 5.965v.871ZM.688 16.844h20.625v1.375H.688Zm0 0%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23333%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23aaa%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3Cpath fill=%27red%27 d=%27m14 5 1 1-9 9-1-1z%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%2333b5e5%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23e58978%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%2333b5e5%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23e54e33%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-waiting .maplibregl-ctrl-icon{animation:maplibregl-spin 2s linear infinite}@media (forced-colors: active){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23fff%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23999%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3Cpath fill=%27red%27 d=%27m14 5 1 1-9 9-1-1z%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%2333b5e5%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23e58978%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%2333b5e5%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23e54e33%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3C/svg%3E")}}@media (forced-colors: active) and (prefers-color-scheme: light){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2729%27 height=%2729%27 fill=%27%23666%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7%27/%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3Cpath fill=%27red%27 d=%27m14 5 1 1-9 9-1-1z%27/%3E%3C/svg%3E")}}@keyframes maplibregl-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}a.maplibregl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2788%27 height=%2723%27 fill=%27none%27%3E%3Cpath fill=%27%23000%27 fill-opacity=%27.4%27 fill-rule=%27evenodd%27 d=%27M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z%27/%3E%3Cpath fill=%27%23fff%27 d=%27m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z%27/%3E%3Cpath fill=%27%23e1e3e9%27 d=%27M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z%27/%3E%3Cpath d=%27M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z%27 style=%27fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001%27/%3E%3Cg style=%27stroke-width:1.12603545%27%3E%3Cpath d=%27M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668%27 style=%27color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto%27 transform=%27translate%2815.553 2.85%29scale%28.88807%29%27/%3E%3Cpath d=%27M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3%27 style=%27clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4%27 transform=%27translate%2815.553 2.85%29scale%28.88807%29%27/%3E%3Cpath d=%27M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z%27 style=%27clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4%27 transform=%27translate%2815.553 2.85%29scale%28.88807%29%27/%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;cursor:pointer;display:block;height:23px;margin:0 0 -4px -4px;overflow:hidden;width:88px}a.maplibregl-ctrl-logo.maplibregl-compact{width:14px}@media (forced-colors: active){a.maplibregl-ctrl-logo{background-color:transparent;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2788%27 height=%2723%27 fill=%27none%27%3E%3Cpath fill=%27%23000%27 fill-opacity=%27.4%27 fill-rule=%27evenodd%27 d=%27M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z%27/%3E%3Cpath fill=%27%23fff%27 d=%27m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z%27/%3E%3Cpath fill=%27%23e1e3e9%27 d=%27M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z%27/%3E%3Cpath d=%27M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z%27 style=%27fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001%27/%3E%3Cg style=%27stroke-width:1.12603545%27%3E%3Cpath d=%27M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668%27 style=%27color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto%27 transform=%27translate%2815.553 2.85%29scale%28.88807%29%27/%3E%3Cpath d=%27M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3%27 style=%27clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4%27 transform=%27translate%2815.553 2.85%29scale%28.88807%29%27/%3E%3Cpath d=%27M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z%27 style=%27clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4%27 transform=%27translate%2815.553 2.85%29scale%28.88807%29%27/%3E%3C/g%3E%3C/svg%3E")}}@media (forced-colors: active) and (prefers-color-scheme: light){a.maplibregl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2788%27 height=%2723%27 fill=%27none%27%3E%3Cpath fill=%27%23000%27 fill-opacity=%27.4%27 fill-rule=%27evenodd%27 d=%27M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z%27/%3E%3Cpath fill=%27%23fff%27 d=%27m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z%27/%3E%3Cpath fill=%27%23e1e3e9%27 d=%27M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z%27/%3E%3Cpath d=%27M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z%27 style=%27fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001%27/%3E%3Cg style=%27stroke-width:1.12603545%27%3E%3Cpath d=%27M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668%27 style=%27color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto%27 transform=%27translate%2815.553 2.85%29scale%28.88807%29%27/%3E%3Cpath d=%27M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3%27 style=%27clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4%27 transform=%27translate%2815.553 2.85%29scale%28.88807%29%27/%3E%3Cpath d=%27M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z%27 style=%27clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4%27 transform=%27translate%2815.553 2.85%29scale%28.88807%29%27/%3E%3C/g%3E%3C/svg%3E")}}.maplibregl-ctrl.maplibregl-ctrl-attrib{background-color:#ffffff80;margin:0;padding:0 5px}@media screen{.maplibregl-ctrl-attrib.maplibregl-compact{background-color:#fff;border-radius:12px;box-sizing:content-box;color:#000;margin:10px;min-height:20px;padding:2px 24px 2px 0;position:relative}.maplibregl-ctrl-attrib.maplibregl-compact-show{padding:2px 28px 2px 8px;visibility:visible}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact-show,.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact-show{border-radius:12px;padding:2px 8px 2px 28px}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-inner{display:none}.maplibregl-ctrl-attrib-button{background-color:#ffffff80;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2724%27 height=%2724%27 fill-rule=%27evenodd%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0%27/%3E%3C/svg%3E");border:0;border-radius:12px;box-sizing:border-box;cursor:pointer;display:none;height:24px;outline:none;position:absolute;right:0;top:0;width:24px}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;list-style:none}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button::-webkit-details-marker{display:none}.maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-top-left .maplibregl-ctrl-attrib-button{left:0}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-inner{display:block}.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-button{background-color:#0000000d}.maplibregl-ctrl-bottom-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;right:0}.maplibregl-ctrl-top-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{right:0;top:0}.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{left:0;top:0}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;left:0}}@media screen and (forced-colors: active){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2724%27 height=%2724%27 fill=%27%23fff%27 fill-rule=%27evenodd%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0%27/%3E%3C/svg%3E")}}@media screen and (forced-colors: active) and (prefers-color-scheme: light){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2724%27 height=%2724%27 fill-rule=%27evenodd%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0%27/%3E%3C/svg%3E")}}.maplibregl-ctrl-attrib a{color:#000000bf;text-decoration:none}.maplibregl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.maplibregl-attrib-empty{display:none}.maplibregl-ctrl-scale{background-color:#ffffffbf;border:2px solid #333;border-top:#333;box-sizing:border-box;color:#333;font-size:10px;padding:0 5px}.maplibregl-popup{display:flex;left:0;pointer-events:none;position:absolute;top:0;will-change:transform}.maplibregl-popup-anchor-top,.maplibregl-popup-anchor-top-left,.maplibregl-popup-anchor-top-right{flex-direction:column}.maplibregl-popup-anchor-bottom,.maplibregl-popup-anchor-bottom-left,.maplibregl-popup-anchor-bottom-right{flex-direction:column-reverse}.maplibregl-popup-anchor-left{flex-direction:row}.maplibregl-popup-anchor-right{flex-direction:row-reverse}.maplibregl-popup-tip{border:10px solid transparent;height:0;width:0;z-index:1}.maplibregl-popup-anchor-top .maplibregl-popup-tip{align-self:center;border-bottom-color:#fff;border-top:none}.maplibregl-popup-anchor-top-left .maplibregl-popup-tip{align-self:flex-start;border-bottom-color:#fff;border-left:none;border-top:none}.maplibregl-popup-anchor-top-right .maplibregl-popup-tip{align-self:flex-end;border-bottom-color:#fff;border-right:none;border-top:none}.maplibregl-popup-anchor-bottom .maplibregl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip{align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip{align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.maplibregl-popup-anchor-left .maplibregl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.maplibregl-popup-anchor-right .maplibregl-popup-tip{align-self:center;border-left-color:#fff;border-right:none}.maplibregl-popup-close-button{background-color:transparent;border:0;border-radius:0 3px 0 0;cursor:pointer;position:absolute;right:0;top:0}.maplibregl-popup-close-button:hover{background-color:#0000000d}.maplibregl-popup-content{background:#fff;border-radius:3px;box-shadow:0 1px 2px #0000001a;padding:15px 10px;pointer-events:auto;position:relative}.maplibregl-popup-anchor-top-left .maplibregl-popup-content{border-top-left-radius:0}.maplibregl-popup-anchor-top-right .maplibregl-popup-content{border-top-right-radius:0}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-content{border-bottom-left-radius:0}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-content{border-bottom-right-radius:0}.maplibregl-popup-track-pointer{display:none}.maplibregl-popup-track-pointer *{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.maplibregl-map:hover .maplibregl-popup-track-pointer{display:flex}.maplibregl-map:active .maplibregl-popup-track-pointer{display:none}.maplibregl-marker{left:0;position:absolute;top:0;transition:opacity .2s;will-change:transform}.maplibregl-user-location-dot,.maplibregl-user-location-dot:before{background-color:#1da1f2;border-radius:50%;height:15px;width:15px}.maplibregl-user-location-dot:before{animation:maplibregl-user-location-dot-pulse 2s infinite;content:"";position:absolute}.maplibregl-user-location-dot:after{border:2px solid #fff;border-radius:50%;box-shadow:0 0 3px #00000059;box-sizing:border-box;content:"";height:19px;left:-2px;position:absolute;top:-2px;width:19px}@keyframes maplibregl-user-location-dot-pulse{0%{opacity:1;transform:scale(1)}70%{opacity:0;transform:scale(3)}to{opacity:0;transform:scale(1)}}.maplibregl-user-location-dot-stale{background-color:#aaa}.maplibregl-user-location-dot-stale:after{display:none}.maplibregl-user-location-accuracy-circle{background-color:#1da1f233;border-radius:100%;height:1px;width:1px}.maplibregl-crosshair,.maplibregl-crosshair .maplibregl-interactive,.maplibregl-crosshair .maplibregl-interactive:active{cursor:crosshair}.maplibregl-boxzoom{background:#fff;border:2px dotted #202020;height:0;left:0;opacity:.5;position:absolute;top:0;width:0}.maplibregl-cooperative-gesture-screen{align-items:center;background:#0006;color:#fff;display:flex;font-size:1.4em;inset:0;justify-content:center;line-height:1.2;opacity:0;padding:1rem;pointer-events:none;position:absolute;transition:opacity 1s ease 1s;z-index:99999}.maplibregl-cooperative-gesture-screen.maplibregl-show{opacity:1;transition:opacity .05s}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:none}@media (hover: none),(pointer: coarse){.maplibregl-cooperative-gesture-screen .maplibregl-desktop-message{display:none}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:block}}.maplibregl-pseudo-fullscreen{height:100%!important;left:0!important;position:fixed!important;top:0!important;width:100%!important;z-index:99999}.lazarillo-marker{display:flex;border:none;cursor:pointer;padding:0;align-items:center;justify-content:center;box-sizing:border-box}.lazarillo-marker.text-column{flex-direction:column;align-items:center}.lazarillo-marker.text-row{flex-direction:row;align-items:center}.lazarillo-marker .text-container{display:block;width:max-content;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;pointer-events:none;box-sizing:border-box}.lazarillo-marker .text-container.top{margin-bottom:4px}.lazarillo-marker .text-container.bottom{margin-top:4px}.lazarillo-marker .text-container.left{margin-right:8px}.lazarillo-marker .text-container.right{margin-left:8px}.icon-default{background-color:#007cbf;border-radius:50%;display:block}.lazarillo-map-container{width:100%;height:100%;position:relative}.lazarillo-popup{max-width:300px}.lazarillo-popup .maplibregl-popup-content{padding:12px;border-radius:8px;box-shadow:0 4px 6px #0000001a}.lazarillo-controls{position:absolute;top:10px;right:10px;z-index:1000}.lazarillo-route-line{line-cap:round;line-join:round}.lazarillo-route-outline{line-cap:round;line-join:round;line-opacity:.8}.maplibregl-control-container{display:none}.lazarillo-marker:has(.marker){width:69.32px!important;height:69.32px!important}.current-location-marker{width:40px;height:40px}.current-location-marker svg{width:100%;height:100%;display:block}.marker{width:69.32px;height:69.32px;font-size:69px;display:flex;flex-direction:column;align-items:center}.marker .svg-inline--fa{width:69.32px;display:flex;flex-direction:column;align-items:center}.marker svg:first-child{color:var(--definitions-colors-primary-black)}.marker svg:not(:first-child){color:#fff;font-size:32px;position:relative;top:10px}.marker svg.fa-parking{font-size:26.35px;position:relative;top:13px;left:3px}.marker svg.fa-user{font-size:36px;top:8px}.marker svg.fa-airport{font-size:43px;top:4px}.marker svg.fa-health,.marker svg.fa-events,.marker svg.fa-beauty,.marker svg.fa-services,.marker svg.fa-deals,.marker svg.fa-hotels{font-size:32px;top:10px}.marker svg.fa-shopping,.marker svg.fa-food-and-beverage{font-size:32px;top:8px}.marker.selected svg:first-child{color:var(--definitions-colors-secondary-orange)}.lazarillo-marker:has(.selected){z-index:1}.lazarillo-marker:has(.current-location-marker){width:40px!important;height:40px!important;z-index:2}.lazarillo-marker:has(.route-marker){cursor:unset}.marker.destination-marker svg:first-child{color:var(--definitions-colors-secondary-orange)}
|