import{o as e}from"./rolldown-runtime.C0FnF6B9.js";import{r as t}from"./emotion-is-prop-valid.esm.CuYlOKOk.js";import{_ as n,c as r,d as i,g as a,h as o,m as s,p as c,s as l,u}from"./emotion-styled.browser.esm.BYv_Qzcq.js";var d=e(t());n();var f=function(e,t){var n=arguments;if(t==null||!i.call(t,`css`))return d.createElement.apply(void 0,n);var r=n.length,a=Array(r);a[0]=l,a[1]=u(e,t);for(var o=2;o<r;o++)a[o]=n[o];return d.createElement.apply(null,a)};(function(e){var t;t||=e.JSX||={}})(f||={});var p=c(function(e,t){var n=e.styles,i=o([n],void 0,d.useContext(r)),c=d.useRef();return s(function(){var e=t.key+`-global`,n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,a=document.querySelector(`style[data-emotion="`+e+` `+i.name+`"]`);return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),a!==null&&(r=!0,a.setAttribute(`data-emotion`,e),n.hydrate([a])),c.current=[n,r],function(){n.flush()}},[t]),s(function(){var e=c.current,n=e[0];if(e[1]){e[1]=!1;return}i.next!==void 0&&a(t,i.next,!0),n.tags.length&&(n.before=n.tags[n.tags.length-1].nextElementSibling,n.flush()),t.insert(``,i,n,!1)},[t,i.name]),null});function m(){return o([...arguments])}function h(){var e=m.apply(void 0,arguments),t=`animation-`+e.name;return{name:t,styles:`@keyframes `+t+`{`+e.styles+`}`,anim:1,toString:function(){return`_EMO_`+this.name+`_`+this.styles+`_EMO_`}}}export{h as i,m as n,f as r,p as t};