!function(e,o,t,n,l,i,r,a,s,c,g,p,u,d){for(g=e.webmapgl=e.webmapgl||{},(p=o.createElement("style")).innerHTML=s+"{visibility:hidden}.hydrated{visibility:inherit}",p.setAttribute("data-styles",""),u=o.head.querySelector("meta[charset]"),o.head.insertBefore(p,u?u.nextSibling:o.head.firstChild),function(e,o,t){(e["s-apps"]=e["s-apps"]||[]).push("webmapgl"),t.componentOnReady||(t.componentOnReady=function(){var o=this;function t(t){if(o.nodeName.indexOf("-")>0){for(var n=e["s-apps"],l=0,i=0;i<n.length;i++)if(e[n[i]].componentOnReady){if(e[n[i]].componentOnReady(o,t))return;l++}if(l<n.length)return void(e["s-cr"]=e["s-cr"]||[]).push([o,t])}t(null)}return e.Promise?new e.Promise(t):{then:t}})}(e,0,c),l=l||g.resourcesUrl,p=(u=o.querySelectorAll("script")).length-1;p>=0&&!(d=u[p]).src&&!d.hasAttribute("data-resources-url");p--);u=d.getAttribute("data-resources-url"),!l&&u&&(l=u),!l&&d.src&&(l=(u=d.src.split("/").slice(0,-1)).join("/")+(u.length?"/":"")+"webmapgl/"),p=o.createElement("script"),function(e,o,t,n){return!(o.search.indexOf("core=esm")>0)&&(!(!(o.search.indexOf("core=es5")>0||"file:"===o.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in t)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,p)?p.src=l+"webmapgl.1or04rhg.js":(p.src=l+"webmapgl.exndzvm1.js",p.setAttribute("type","module"),p.setAttribute("crossorigin",!0)),p.setAttribute("data-resources-url",l),p.setAttribute("data-namespace","webmapgl"),o.head.appendChild(p)}(window,document,0,0,0,0,0,0,"gl-address-search,gl-app,gl-attribute-values,gl-basemap-switcher,gl-basemaps,gl-download-button,gl-download-file,gl-download-list,gl-draw-controller,gl-draw-toolbar,gl-drawer,gl-drawer-toggle,gl-facet,gl-feature-list,gl-field,gl-form,gl-form-controller,gl-form-page,gl-fullscreen,gl-geocode-controller,gl-legend,gl-legend-item,gl-like-button,gl-like-controller,gl-map,gl-option,gl-popup,gl-rest-controller,gl-style,gl-table,gl-table-column,gl-table-column-visibility,gl-table-column-visibility-button,gl-table-column-visibility-toggle,gl-table-export-button,gl-table-export-controller,ion-action-sheet,ion-action-sheet-controller,ion-alert,ion-alert-controller,ion-app,ion-backdrop,ion-button,ion-buttons,ion-content,ion-footer,ion-header,ion-icon,ion-infinite-scroll,ion-infinite-scroll-content,ion-input,ion-item,ion-item-divider,ion-item-group,ion-label,ion-list,ion-list-header,ion-menu,ion-menu-controller,ion-menu-toggle,ion-modal,ion-modal-controller,ion-nav,ion-nav-pop,ion-note,ion-popover,ion-popover-controller,ion-radio,ion-radio-group,ion-ripple-effect,ion-searchbar,ion-select,ion-select-option,ion-spinner,ion-split-pane,ion-textarea,ion-thumbnail,ion-title,ion-toggle,ion-toolbar",HTMLElement.prototype);