!function(e,o,t,n,i,r,l,s,a,c,p,u,g,d){for(p=e.webmapgl=e.webmapgl||{},(u=o.createElement("style")).innerHTML=a+"{visibility:hidden}.hydrated{visibility:inherit}",u.setAttribute("data-styles",""),g=o.head.querySelector("meta[charset]"),o.head.insertBefore(u,g?g.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"],i=0,r=0;r<n.length;r++)if(e[n[r]].componentOnReady){if(e[n[r]].componentOnReady(o,t))return;i++}if(i<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),i=i||p.resourcesUrl,u=(g=o.querySelectorAll("script")).length-1;u>=0&&!(d=g[u]).src&&!d.hasAttribute("data-resources-url");u--);g=d.getAttribute("data-resources-url"),!i&&g&&(i=g),!i&&d.src&&(i=(g=d.src.split("/").slice(0,-1)).join("/")+(g.length?"/":"")+"webmapgl/"),u=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,u)?u.src=i+"webmapgl.mqpx8how.js":(u.src=i+"webmapgl.uicdfymc.js",u.setAttribute("type","module"),u.setAttribute("crossorigin",!0)),u.setAttribute("data-resources-url",i),u.setAttribute("data-namespace","webmapgl"),o.head.appendChild(u)}(window,document,0,0,0,0,0,0,"gl-address-search,gl-app,gl-basemap-switcher,gl-basemaps,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,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-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);