import{t as e}from"./subMonths-DwZ45mAW.js";import{Rl as t,zl as n}from"./index-Q5R6-AeA.js";function r(e,n,r){return t(e,-n,r)}function i(t,i,a){let{years:o=0,months:s=0,weeks:c=0,days:l=0,hours:u=0,minutes:d=0,seconds:f=0}=i,p=r(e(t,s+o*12,a),l+c*7,a),m=(f+(d+u*60)*60)*1e3;return n(a?.in||t,+p-m)}export{i as t};