import{o as e}from"./chunk.DuxOD-Sk.js";import{r as t}from"./emotion-is-prop-valid.esm.DV_OErv-.js";import{i as n,t as r}from"./_isIterateeCall.DYlLOvxr.js";var i=Math.ceil,a=Math.max;function o(e,t,n,r){for(var o=-1,s=a(i((t-e)/(n||1)),0),c=Array(s);s--;)c[r?s:++o]=e,e+=n;return c}function s(e){return function(t,i,a){return a&&typeof a!=`number`&&r(t,i,a)&&(i=a=void 0),t=n(t),i===void 0?(i=t,t=0):i=n(i),a=a===void 0?t<i?1:-1:n(a),o(t,i,a,e)}}var c=s(),l=(0,e(t(),1).createContext)(null);l.displayName=`PortalContext`;export{c as n,l as t};