import{h as t}from"./p-38650bfb.js";import{a as e}from"./p-03d22fdb.js";const r=r=>{var{date:n,format:o={weekday:"short",year:"numeric",month:"long",day:"numeric"}}=r,a=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}(r,["date","format"]);const c=new Intl.DateTimeFormat("en-US",Object.assign({},o));return t("time",Object.assign({},e(a,{class:"ui-date"})),c.format(n))};export{r as D}