import{l as o}from"./p-82ae0260.js";import{g as r}from"./p-3775d1fc.js";let t=[];function e(e,c,i){for(const r of(i===null||i===void 0?void 0:i.partials)||[]){o.registerPartial(r.id,(r===null||r===void 0?void 0:r.html)||"")}try{const e=Object.keys((i===null||i===void 0?void 0:i.helpers)||[]).length?i.helpers:r();for(const[r,c]of Object.entries(e)){try{if(t.includes(r))o.unregisterHelper(r);o.registerHelper(r,c);if(!t.includes(r))t=[...t,r]}catch(o){console.log(`Error setting helper ${r}.`,o)}}}catch(o){console.log("Error setting helpers.")}return o.compile(e)(c)}export{e as r};
//# sourceMappingURL=p-ef308962.js.map