import{h as e}from"./p-c063aff1.js";const t={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",hour12:!0},r=(t=>{let r=new Map,n=t;const o=(e,t)=>{Array.isArray(e)?[...e].forEach(e=>{t[e]=n[e]}):t[e]=Object.assign({},n)},i=(e,t)=>(r.has(e)||(r.set(e,t),o(t,e)),()=>{r.has(e)&&r.delete(e)});return{Provider:({state:e},t)=>(n=e,r.forEach(o),t),Consumer:(t,r)=>((t,r)=>e("context-consumer",{subscribe:t,renderer:r}))(i,r[0]),injectProps:(e,t)=>{const n=e.prototype,o=n.connectedCallback,a=n.disconnectedCallback;n.connectedCallback=function(){if(i(this,t),o)return o.call(this)},n.disconnectedCallback=function(){r.delete(this),a&&a.call(this)}}}})({dictionary:{},dateFormat:"M/d/yyyy",dateFormatter:Intl.DateTimeFormat("en-US").format,datetimeFormatter:Intl.DateTimeFormat("en-US",t).format,language:"en",locale:"en-US",numberFormatter:Intl.NumberFormat("en-US").format,timezoneOverride:void 0,translator:e=>e});export{r as T,t as d};