import{o as e}from"./rolldown-runtime.DAXXjFlN.js";import{r as t}from"./emotion-is-prop-valid.esm.CygBv61C.js";import{G as n}from"./StreamlitMarkdown.DgiZKHgf.js";var r=e(t(),1);function i(e,t,i){let a=n(e=>{i&&!e.defaultPrevented&&i(t)});(0,r.useEffect)(()=>{let t=e?.current?.form;return t?.addEventListener(`reset`,a),()=>{t?.removeEventListener(`reset`,a)}},[e])}export{i as t};