import"./p-BHHBMN0G.js";const t=t=>{var e;const a=(null===(e=document.head.querySelector("meta[data-ecl-asset-path]"))||void 0===e?void 0:e.dataset.eclAssetPath)||window.__ECL_ASSET_PATH__;if(!a)throw new Error('Asset path not set yet. \n       Please define a <meta> data-ecl-asset-path in your head or an __ECL_ASSET_PATH__ prop in the window object,\n       the path to the assets will start from the value you set. EX: <meta data-ecl-asset-path="/" />');let o=t;return t.startsWith("./")&&(o=t.substring(2)),a.endsWith("/")||(o="/"+o),a+o};export{t as g}