globalThis.Intl||(globalThis.Intl={});var Styles={long:{years:" years",days:" days",hours:" hours",minutes:" minutes",seconds:" seconds",milliseconds:" milliseconds"},short:{years:" yr",days:" d",hours:" hr",minutes:" min",seconds:" sec",milliseconds:" ms"},narrow:{years:"y",days:"d",hours:"h",minutes:"m",seconds:"s",milliseconds:"ms"},digital:{years:"",days:"",hours:"",minutes:"",seconds:"",milliseconds:""}};Intl.DurationFormat||(Intl.DurationFormat=function(locales,options){this.options=options||{},this.locales=Array.isArray(locales)?locales:[locales]},Intl.DurationFormat.prototype.format=function(value){var options=this.options,requestedStyle=options.style,style=Styles[requestedStyle||"narrow"],parts=[],minutes=(null!=value.years&&parts.push(value.years+style.years),null!=value.days&&parts.push(value.days+style.days),null!=value.hours&&parts.push(value.hours+style.hours),value.minutes),minutes=(null==minutes&&"always"!==options.minutesDisplay||(minutes=minutes||0,parts.push((minutes="digital"===requestedStyle&&minutes<10?"0"+minutes:minutes)+style.minutes)),value.seconds);return null==minutes&&"always"!==options.secondsDisplay||(minutes=minutes||0,parts.push((minutes="digital"===requestedStyle&&minutes<10?"0"+minutes:minutes)+style.seconds)),value.milliseconds&&parts.push(value.milliseconds+style.milliseconds),parts.join("digital"!==requestedStyle?" ":":")});