import {J}from'./main-WUGO6e7n.js';function c(t,n){return t>0||n>0}function I(t,n,o,r){let e=t?.duration??0,i=n>0?Math.max(0,n-e):1/0,M=o>0?Math.max(0,o-r):1/0;return Math.min(i,M)}function N(t,n,o,r){return !c(n,o)||I(t,n,o,r)>=10}var s=J(()=>{});export{I,N,c,s};