import{t as r}from"./client-BmVmnFEC.js";import{f as s}from"./index-B0CiJK2p.js";function f(t){return r(t).getMonth()}const a=t=>new Date(t.getTime()+(new Date().getTimezoneOffset()+9*60)*60*1e3),i=(t={})=>({before:"(",after:")",...t}),g=(t,e={})=>{if(t==="UNKNOWN"||t==="INVISIBLE")return"";const n=i(e),o=t==="INCLUDED"?"税込":"税別";return`${n.before}${o}${n.after}`},u=t=>{const e=a(t);return{year:e.getFullYear(),month:e.getMonth()+1,day:e.getDate(),timeZone:"ASIA_TOKYO"}},D=t=>{const e=t.year.toString().padStart(4,"0"),n=t.month.toString().padStart(2,"0"),o=t.day.toString().padStart(2,"0");switch(t.timeZone){case"ASIA_TOKYO":return s(`${e}-${n}-${o}`,"Asia/Tokyo");default:return new Date(t.year,t.month-1,t.day)}};export{u as a,f as b,D as c,a as g,g as t};