import{h}from"../webmapgl.core.js";function getMap(r){return document.querySelector(r?"gl-map#"+r:"gl-map")}function getThumbnail(r){if(r.image)return h("ion-thumbnail",{slot:"start"},h("img",{src:r.image}))}function toArray(r,t){return void 0===t&&(t=","),r?Array.isArray(r)?r:r.split(t):[]}var getAbsoluteUrl=function(){var r;return function(t){return r||(r=document.createElement("a")),r.href=t,r.href}}();export{getMap as a,getAbsoluteUrl as b,toArray as c,getThumbnail as d};