import{d as e,n as t,t as n}from"./objectSpread2-DtFdQpqy.js";import{a as r}from"./preload-helper-EQ20WQt-.js";import{ts as i}from"./time-BE5vfriQ.js";var a=e(r());t();function o(e,t){return(0,a.useCallback)((r,i,o,c)=>{if(r instanceof HTMLAnchorElement)return e?(0,a.createElement)(`span`,n(n({},s(i)),{},{key:i.key}),o):t==null?void 0:t(r,i,o,c)},[t,e])}function s(e){let t={};for(let n of Object.keys(e))n in i.tags.span.attributes&&(t[n]=e[n]);return t}export{o as t};
//# sourceMappingURL=useFieldHtml-Dwptlpe6.js.map