ingred-ui 27.4.0 → 27.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -753,7 +753,7 @@ var pn=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[hr
753
753
  animation: ${jl} 1.5s ease-in-out infinite;
754
754
  stroke-linecap: round;
755
755
  stroke-miterlimit: 10;
756
- `,Ul=i.forwardRef((function({width:e="50px"},t){const n=w();return i.createElement(Wl,{ref:t,width:e},i.createElement(Yl,{viewBox:"25 25 50 50"},i.createElement(Xl,{cx:"50",cy:"50",r:"20",stroke:n.palette.neutral.softLight}),i.createElement(Jl,{cx:"50",cy:"50",r:"20",stroke:n.palette.primary.base})))})),Ql={small:"28px",medium:"32px",large:"40px"},ql={small:`${T.xs}px`,medium:`${T.sm}px`,large:`${T.md}px`},Kl={small:"4px",medium:"6px",large:"6px"},es={small:"6px",medium:"8px",large:"10px"},ts=i.forwardRef((function(e,t){var{component:n,children:r,color:a="primary",textColor:o,inline:l=!0,size:c="medium",icon:u,loading:d}=e,p=s(e,["component","children","color","textColor","inline","size","icon","loading"]);const f=(e=>({primary:{normal:{background:e.palette.primary.base,color:e.palette.text.white,boxShadow:e.shadow["3dShadowPrimary"],border:`1px solid ${e.palette.primary.dark}`},hover:{background:e.palette.primary.dark,border:"none"},active:{background:e.palette.primary.dark,boxShadow:e.shadow["3dShadowActive"],border:"none"}},secondaryLight:{normal:{background:e.palette.background.default,color:e.palette.black,boxShadow:e.shadow["3dShadowBasic"],border:`1px solid ${e.palette.divider}`},hover:{background:e.palette.neutral.highlight,border:`1px solid ${e.palette.divider}`},active:{background:e.palette.neutral.highlight,boxShadow:e.shadow["3dShadowActive"],border:`1px solid ${e.palette.divider}`}},secondaryDark:{normal:{background:e.palette.neutral.highlight,color:e.palette.black,boxShadow:e.shadow["3dShadowBasic"],border:`1px solid ${e.palette.divider}`},hover:{background:e.palette.neutral.softLight,border:"none"},active:{background:e.palette.neutral.softLight,boxShadow:e.shadow["3dShadowBasicActive"],border:"none"}},danger:{normal:{background:e.palette.danger.base,color:e.palette.text.white,boxShadow:e.shadow["3dShadowDanger"],border:`1px solid ${e.palette.danger.dark}`},hover:{background:e.palette.danger.dark,border:"none"},active:{background:e.palette.danger.dark,boxShadow:e.shadow["3dShadowActive"],border:"none"}},clear:{normal:{background:"none",color:e.palette.black,boxShadow:"none",border:"none"},hover:{background:e.palette.neutral.softLight,border:"none"},active:{background:e.palette.neutral.lighter,boxShadow:"none",border:"none"}},primarySubtle:{normal:{background:e.palette.primary.ultraLight,color:e.palette.primary.dark,boxShadow:e.shadow["3dShadowPrimarySubtle"],border:`1px solid ${e.palette.primary.softLight}`},hover:{background:e.palette.primary.highlight,border:"none"},active:{background:e.palette.primary.highlight,boxShadow:e.shadow["3dShadowPrimarySubtleActive"],border:"none"}}}))(w())[a],m=!!d,h="string"==typeof d?d:d?"Loading...":void 0,g=i.useMemo((()=>({small:"16px",medium:"18px",large:"20px"}[c])),[c]),b=i.useMemo((()=>m?i.createElement(Ul,{width:g}):null),[m,g]),v=!!u,x=!!r,y=m?v?b:void 0:u,C=m?!v&&x||v&&x?h:void 0:r,E=(()=>{if("string"==typeof p.href){const{href:e,target:t,rel:r}=p;return{as:n||"a",href:e,target:t,rel:r}}return{}})();return i.createElement(_l,Object.assign({ref:t},p,{as:n||"button"},E,{size:c,inline:l,paddingInline:es[c],normal:f.normal,hover:f.hover,active:f.active,borderRadius:Kl[c],fontSize:ql[c],height:Ql[c],color:a,disabled:p.disabled||m}),y,y&&C&&i.createElement(Fl,{pr:.5}),C&&i.createElement(Bl,{$textColor:o},C))})),ns={1955:"国民の祝日・休日月日,国民の祝日・休日名称\n1955/1/1,元日\n1955/1/15,成人の日\n1955/3/21,春分の日\n1955/4/29,天皇誕生日\n1955/5/3,憲法記念日\n1955/5/5,こどもの日\n1955/9/24,秋分の日\n1955/11/3,文化の日\n1955/11/23,勤労感謝の日",1956:"国民の祝日・休日月日,国民の祝日・休日名称\n1956/1/1,元日\n1956/1/15,成人の日\n1956/3/21,春分の日\n1956/4/29,天皇誕生日\n1956/5/3,憲法記念日\n1956/5/5,こどもの日\n1956/9/23,秋分の日\n1956/11/3,文化の日\n1956/11/23,勤労感謝の日",1957:"国民の祝日・休日月日,国民の祝日・休日名称\n1957/1/1,元日\n1957/1/15,成人の日\n1957/3/21,春分の日\n1957/4/29,天皇誕生日\n1957/5/3,憲法記念日\n1957/5/5,こどもの日\n1957/9/23,秋分の日\n1957/11/3,文化の日\n1957/11/23,勤労感謝の日",1958:"国民の祝日・休日月日,国民の祝日・休日名称\n1958/1/1,元日\n1958/1/15,成人の日\n1958/3/21,春分の日\n1958/4/29,天皇誕生日\n1958/5/3,憲法記念日\n1958/5/5,こどもの日\n1958/9/23,秋分の日\n1958/11/3,文化の日\n1958/11/23,勤労感謝の日",1959:"国民の祝日・休日月日,国民の祝日・休日名称\n1959/1/1,元日\n1959/1/15,成人の日\n1959/3/21,春分の日\n1959/4/10,結婚の儀\n1959/4/29,天皇誕生日\n1959/5/3,憲法記念日\n1959/5/5,こどもの日\n1959/9/24,秋分の日\n1959/11/3,文化の日\n1959/11/23,勤労感謝の日",1960:"国民の祝日・休日月日,国民の祝日・休日名称\n1960/1/1,元日\n1960/1/15,成人の日\n1960/3/20,春分の日\n1960/4/29,天皇誕生日\n1960/5/3,憲法記念日\n1960/5/5,こどもの日\n1960/9/23,秋分の日\n1960/11/3,文化の日\n1960/11/23,勤労感謝の日",1961:"国民の祝日・休日月日,国民の祝日・休日名称\n1961/1/1,元日\n1961/1/15,成人の日\n1961/3/21,春分の日\n1961/4/29,天皇誕生日\n1961/5/3,憲法記念日\n1961/5/5,こどもの日\n1961/9/23,秋分の日\n1961/11/3,文化の日\n1961/11/23,勤労感謝の日",1962:"国民の祝日・休日月日,国民の祝日・休日名称\n1962/1/1,元日\n1962/1/15,成人の日\n1962/3/21,春分の日\n1962/4/29,天皇誕生日\n1962/5/3,憲法記念日\n1962/5/5,こどもの日\n1962/9/23,秋分の日\n1962/11/3,文化の日\n1962/11/23,勤労感謝の日",1963:"国民の祝日・休日月日,国民の祝日・休日名称\n1963/1/1,元日\n1963/1/15,成人の日\n1963/3/21,春分の日\n1963/4/29,天皇誕生日\n1963/5/3,憲法記念日\n1963/5/5,こどもの日\n1963/9/24,秋分の日\n1963/11/3,文化の日\n1963/11/23,勤労感謝の日",1964:"国民の祝日・休日月日,国民の祝日・休日名称\n1964/1/1,元日\n1964/1/15,成人の日\n1964/3/20,春分の日\n1964/4/29,天皇誕生日\n1964/5/3,憲法記念日\n1964/5/5,こどもの日\n1964/9/23,秋分の日\n1964/11/3,文化の日\n1964/11/23,勤労感謝の日",1965:"国民の祝日・休日月日,国民の祝日・休日名称\n1965/1/1,元日\n1965/1/15,成人の日\n1965/3/21,春分の日\n1965/4/29,天皇誕生日\n1965/5/3,憲法記念日\n1965/5/5,こどもの日\n1965/9/23,秋分の日\n1965/11/3,文化の日\n1965/11/23,勤労感謝の日",1966:"国民の祝日・休日月日,国民の祝日・休日名称\n1966/1/1,元日\n1966/1/15,成人の日\n1966/3/21,春分の日\n1966/4/29,天皇誕生日\n1966/5/3,憲法記念日\n1966/5/5,こどもの日\n1966/9/15,敬老の日\n1966/9/23,秋分の日\n1966/10/10,体育の日\n1966/11/3,文化の日\n1966/11/23,勤労感謝の日",1967:"国民の祝日・休日月日,国民の祝日・休日名称\n1967/1/1,元日\n1967/1/15,成人の日\n1967/2/11,建国記念の日\n1967/3/21,春分の日\n1967/4/29,天皇誕生日\n1967/5/3,憲法記念日\n1967/5/5,こどもの日\n1967/9/15,敬老の日\n1967/9/24,秋分の日\n1967/10/10,体育の日\n1967/11/3,文化の日\n1967/11/23,勤労感謝の日",1968:"国民の祝日・休日月日,国民の祝日・休日名称\n1968/1/1,元日\n1968/1/15,成人の日\n1968/2/11,建国記念の日\n1968/3/20,春分の日\n1968/4/29,天皇誕生日\n1968/5/3,憲法記念日\n1968/5/5,こどもの日\n1968/9/15,敬老の日\n1968/9/23,秋分の日\n1968/10/10,体育の日\n1968/11/3,文化の日\n1968/11/23,勤労感謝の日",1969:"国民の祝日・休日月日,国民の祝日・休日名称\n1969/1/1,元日\n1969/1/15,成人の日\n1969/2/11,建国記念の日\n1969/3/21,春分の日\n1969/4/29,天皇誕生日\n1969/5/3,憲法記念日\n1969/5/5,こどもの日\n1969/9/15,敬老の日\n1969/9/23,秋分の日\n1969/10/10,体育の日\n1969/11/3,文化の日\n1969/11/23,勤労感謝の日",1970:"国民の祝日・休日月日,国民の祝日・休日名称\n1970/1/1,元日\n1970/1/15,成人の日\n1970/2/11,建国記念の日\n1970/3/21,春分の日\n1970/4/29,天皇誕生日\n1970/5/3,憲法記念日\n1970/5/5,こどもの日\n1970/9/15,敬老の日\n1970/9/23,秋分の日\n1970/10/10,体育の日\n1970/11/3,文化の日\n1970/11/23,勤労感謝の日",1971:"国民の祝日・休日月日,国民の祝日・休日名称\n1971/1/1,元日\n1971/1/15,成人の日\n1971/2/11,建国記念の日\n1971/3/21,春分の日\n1971/4/29,天皇誕生日\n1971/5/3,憲法記念日\n1971/5/5,こどもの日\n1971/9/15,敬老の日\n1971/9/24,秋分の日\n1971/10/10,体育の日\n1971/11/3,文化の日\n1971/11/23,勤労感謝の日",1972:"国民の祝日・休日月日,国民の祝日・休日名称\n1972/1/1,元日\n1972/1/15,成人の日\n1972/2/11,建国記念の日\n1972/3/20,春分の日\n1972/4/29,天皇誕生日\n1972/5/3,憲法記念日\n1972/5/5,こどもの日\n1972/9/15,敬老の日\n1972/9/23,秋分の日\n1972/10/10,体育の日\n1972/11/3,文化の日\n1972/11/23,勤労感謝の日",1973:"国民の祝日・休日月日,国民の祝日・休日名称\n1973/1/1,元日\n1973/1/15,成人の日\n1973/2/11,建国記念の日\n1973/3/21,春分の日\n1973/4/29,天皇誕生日\n1973/4/30,休日\n1973/5/3,憲法記念日\n1973/5/5,こどもの日\n1973/9/15,敬老の日\n1973/9/23,秋分の日\n1973/9/24,休日\n1973/10/10,体育の日\n1973/11/3,文化の日\n1973/11/23,勤労感謝の日",1974:"国民の祝日・休日月日,国民の祝日・休日名称\n1974/1/1,元日\n1974/1/15,成人の日\n1974/2/11,建国記念の日\n1974/3/21,春分の日\n1974/4/29,天皇誕生日\n1974/5/3,憲法記念日\n1974/5/5,こどもの日\n1974/5/6,休日\n1974/9/15,敬老の日\n1974/9/16,休日\n1974/9/23,秋分の日\n1974/10/10,体育の日\n1974/11/3,文化の日\n1974/11/4,休日\n1974/11/23,勤労感謝の日",1975:"国民の祝日・休日月日,国民の祝日・休日名称\n1975/1/1,元日\n1975/1/15,成人の日\n1975/2/11,建国記念の日\n1975/3/21,春分の日\n1975/4/29,天皇誕生日\n1975/5/3,憲法記念日\n1975/5/5,こどもの日\n1975/9/15,敬老の日\n1975/9/24,秋分の日\n1975/10/10,体育の日\n1975/11/3,文化の日\n1975/11/23,勤労感謝の日\n1975/11/24,休日",1976:"国民の祝日・休日月日,国民の祝日・休日名称\n1976/1/1,元日\n1976/1/15,成人の日\n1976/2/11,建国記念の日\n1976/3/20,春分の日\n1976/4/29,天皇誕生日\n1976/5/3,憲法記念日\n1976/5/5,こどもの日\n1976/9/15,敬老の日\n1976/9/23,秋分の日\n1976/10/10,体育の日\n1976/10/11,休日\n1976/11/3,文化の日\n1976/11/23,勤労感謝の日",1977:"国民の祝日・休日月日,国民の祝日・休日名称\n1977/1/1,元日\n1977/1/15,成人の日\n1977/2/11,建国記念の日\n1977/3/21,春分の日\n1977/4/29,天皇誕生日\n1977/5/3,憲法記念日\n1977/5/5,こどもの日\n1977/9/15,敬老の日\n1977/9/23,秋分の日\n1977/10/10,体育の日\n1977/11/3,文化の日\n1977/11/23,勤労感謝の日",1978:"国民の祝日・休日月日,国民の祝日・休日名称\n1978/1/1,元日\n1978/1/2,休日\n1978/1/15,成人の日\n1978/1/16,休日\n1978/2/11,建国記念の日\n1978/3/21,春分の日\n1978/4/29,天皇誕生日\n1978/5/3,憲法記念日\n1978/5/5,こどもの日\n1978/9/15,敬老の日\n1978/9/23,秋分の日\n1978/10/10,体育の日\n1978/11/3,文化の日\n1978/11/23,勤労感謝の日",1979:"国民の祝日・休日月日,国民の祝日・休日名称\n1979/1/1,元日\n1979/1/15,成人の日\n1979/2/11,建国記念の日\n1979/2/12,休日\n1979/3/21,春分の日\n1979/4/29,天皇誕生日\n1979/4/30,休日\n1979/5/3,憲法記念日\n1979/5/5,こどもの日\n1979/9/15,敬老の日\n1979/9/24,秋分の日\n1979/10/10,体育の日\n1979/11/3,文化の日\n1979/11/23,勤労感謝の日",1980:"国民の祝日・休日月日,国民の祝日・休日名称\n1980/1/1,元日\n1980/1/15,成人の日\n1980/2/11,建国記念の日\n1980/3/20,春分の日\n1980/4/29,天皇誕生日\n1980/5/3,憲法記念日\n1980/5/5,こどもの日\n1980/9/15,敬老の日\n1980/9/23,秋分の日\n1980/10/10,体育の日\n1980/11/3,文化の日\n1980/11/23,勤労感謝の日\n1980/11/24,休日",1981:"国民の祝日・休日月日,国民の祝日・休日名称\n1981/1/1,元日\n1981/1/15,成人の日\n1981/2/11,建国記念の日\n1981/3/21,春分の日\n1981/4/29,天皇誕生日\n1981/5/3,憲法記念日\n1981/5/4,休日\n1981/5/5,こどもの日\n1981/9/15,敬老の日\n1981/9/23,秋分の日\n1981/10/10,体育の日\n1981/11/3,文化の日\n1981/11/23,勤労感謝の日",1982:"国民の祝日・休日月日,国民の祝日・休日名称\n1982/1/1,元日\n1982/1/15,成人の日\n1982/2/11,建国記念の日\n1982/3/21,春分の日\n1982/3/22,休日\n1982/4/29,天皇誕生日\n1982/5/3,憲法記念日\n1982/5/5,こどもの日\n1982/9/15,敬老の日\n1982/9/23,秋分の日\n1982/10/10,体育の日\n1982/10/11,休日\n1982/11/3,文化の日\n1982/11/23,勤労感謝の日",1983:"国民の祝日・休日月日,国民の祝日・休日名称\n1983/1/1,元日\n1983/1/15,成人の日\n1983/2/11,建国記念の日\n1983/3/21,春分の日\n1983/4/29,天皇誕生日\n1983/5/3,憲法記念日\n1983/5/5,こどもの日\n1983/9/15,敬老の日\n1983/9/23,秋分の日\n1983/10/10,体育の日\n1983/11/3,文化の日\n1983/11/23,勤労感謝の日",1984:"国民の祝日・休日月日,国民の祝日・休日名称\n1984/1/1,元日\n1984/1/2,休日\n1984/1/15,成人の日\n1984/1/16,休日\n1984/2/11,建国記念の日\n1984/3/20,春分の日\n1984/4/29,天皇誕生日\n1984/4/30,休日\n1984/5/3,憲法記念日\n1984/5/5,こどもの日\n1984/9/15,敬老の日\n1984/9/23,秋分の日\n1984/9/24,休日\n1984/10/10,体育の日\n1984/11/3,文化の日\n1984/11/23,勤労感謝の日",1985:"国民の祝日・休日月日,国民の祝日・休日名称\n1985/1/1,元日\n1985/1/15,成人の日\n1985/2/11,建国記念の日\n1985/3/21,春分の日\n1985/4/29,天皇誕生日\n1985/5/3,憲法記念日\n1985/5/5,こどもの日\n1985/5/6,休日\n1985/9/15,敬老の日\n1985/9/16,休日\n1985/9/23,秋分の日\n1985/10/10,体育の日\n1985/11/3,文化の日\n1985/11/4,休日\n1985/11/23,勤労感謝の日",1986:"国民の祝日・休日月日,国民の祝日・休日名称\n1986/1/1,元日\n1986/1/15,成人の日\n1986/2/11,建国記念の日\n1986/3/21,春分の日\n1986/4/29,天皇誕生日\n1986/5/3,憲法記念日\n1986/5/5,こどもの日\n1986/9/15,敬老の日\n1986/9/23,秋分の日\n1986/10/10,体育の日\n1986/11/3,文化の日\n1986/11/23,勤労感謝の日\n1986/11/24,休日",1987:"国民の祝日・休日月日,国民の祝日・休日名称\n1987/1/1,元日\n1987/1/15,成人の日\n1987/2/11,建国記念の日\n1987/3/21,春分の日\n1987/4/29,天皇誕生日\n1987/5/3,憲法記念日\n1987/5/4,休日\n1987/5/5,こどもの日\n1987/9/15,敬老の日\n1987/9/23,秋分の日\n1987/10/10,体育の日\n1987/11/3,文化の日\n1987/11/23,勤労感謝の日",1988:"国民の祝日・休日月日,国民の祝日・休日名称\n1988/1/1,元日\n1988/1/15,成人の日\n1988/2/11,建国記念の日\n1988/3/20,春分の日\n1988/3/21,休日\n1988/4/29,天皇誕生日\n1988/5/3,憲法記念日\n1988/5/4,休日\n1988/5/5,こどもの日\n1988/9/15,敬老の日\n1988/9/23,秋分の日\n1988/10/10,体育の日\n1988/11/3,文化の日\n1988/11/23,勤労感謝の日",1989:"国民の祝日・休日月日,国民の祝日・休日名称\n1989/1/1,元日\n1989/1/2,休日\n1989/1/15,成人の日\n1989/1/16,休日\n1989/2/11,建国記念の日\n1989/2/24,大喪の礼\n1989/3/21,春分の日\n1989/4/29,みどりの日\n1989/5/3,憲法記念日\n1989/5/4,休日\n1989/5/5,こどもの日\n1989/9/15,敬老の日\n1989/9/23,秋分の日\n1989/10/10,体育の日\n1989/11/3,文化の日\n1989/11/23,勤労感謝の日\n1989/12/23,天皇誕生日",1990:"国民の祝日・休日月日,国民の祝日・休日名称\n1990/1/1,元日\n1990/1/15,成人の日\n1990/2/11,建国記念の日\n1990/2/12,休日\n1990/3/21,春分の日\n1990/4/29,みどりの日\n1990/4/30,休日\n1990/5/3,憲法記念日\n1990/5/4,休日\n1990/5/5,こどもの日\n1990/9/15,敬老の日\n1990/9/23,秋分の日\n1990/9/24,休日\n1990/10/10,体育の日\n1990/11/3,文化の日\n1990/11/12,即位礼正殿の儀\n1990/11/23,勤労感謝の日\n1990/12/23,天皇誕生日\n1990/12/24,休日",1991:"国民の祝日・休日月日,国民の祝日・休日名称\n1991/1/1,元日\n1991/1/15,成人の日\n1991/2/11,建国記念の日\n1991/3/21,春分の日\n1991/4/29,みどりの日\n1991/5/3,憲法記念日\n1991/5/4,休日\n1991/5/5,こどもの日\n1991/5/6,休日\n1991/9/15,敬老の日\n1991/9/16,休日\n1991/9/23,秋分の日\n1991/10/10,体育の日\n1991/11/3,文化の日\n1991/11/4,休日\n1991/11/23,勤労感謝の日\n1991/12/23,天皇誕生日",1992:"国民の祝日・休日月日,国民の祝日・休日名称\n1992/1/1,元日\n1992/1/15,成人の日\n1992/2/11,建国記念の日\n1992/3/20,春分の日\n1992/4/29,みどりの日\n1992/5/3,憲法記念日\n1992/5/4,休日\n1992/5/5,こどもの日\n1992/9/15,敬老の日\n1992/9/23,秋分の日\n1992/10/10,体育の日\n1992/11/3,文化の日\n1992/11/23,勤労感謝の日\n1992/12/23,天皇誕生日",1993:"国民の祝日・休日月日,国民の祝日・休日名称\n1993/1/1,元日\n1993/1/15,成人の日\n1993/2/11,建国記念の日\n1993/3/20,春分の日\n1993/4/29,みどりの日\n1993/5/3,憲法記念日\n1993/5/4,休日\n1993/5/5,こどもの日\n1993/6/9,結婚の儀\n1993/9/15,敬老の日\n1993/9/23,秋分の日\n1993/10/10,体育の日\n1993/10/11,休日\n1993/11/3,文化の日\n1993/11/23,勤労感謝の日\n1993/12/23,天皇誕生日",1994:"国民の祝日・休日月日,国民の祝日・休日名称\n1994/1/1,元日\n1994/1/15,成人の日\n1994/2/11,建国記念の日\n1994/3/21,春分の日\n1994/4/29,みどりの日\n1994/5/3,憲法記念日\n1994/5/4,休日\n1994/5/5,こどもの日\n1994/9/15,敬老の日\n1994/9/23,秋分の日\n1994/10/10,体育の日\n1994/11/3,文化の日\n1994/11/23,勤労感謝の日\n1994/12/23,天皇誕生日",1995:"国民の祝日・休日月日,国民の祝日・休日名称\n1995/1/1,元日\n1995/1/2,休日\n1995/1/15,成人の日\n1995/1/16,休日\n1995/2/11,建国記念の日\n1995/3/21,春分の日\n1995/4/29,みどりの日\n1995/5/3,憲法記念日\n1995/5/4,休日\n1995/5/5,こどもの日\n1995/9/15,敬老の日\n1995/9/23,秋分の日\n1995/10/10,体育の日\n1995/11/3,文化の日\n1995/11/23,勤労感謝の日\n1995/12/23,天皇誕生日",1996:"国民の祝日・休日月日,国民の祝日・休日名称\n1996/1/1,元日\n1996/1/15,成人の日\n1996/2/11,建国記念の日\n1996/2/12,休日\n1996/3/20,春分の日\n1996/4/29,みどりの日\n1996/5/3,憲法記念日\n1996/5/4,休日\n1996/5/5,こどもの日\n1996/5/6,休日\n1996/7/20,海の日\n1996/9/15,敬老の日\n1996/9/16,休日\n1996/9/23,秋分の日\n1996/10/10,体育の日\n1996/11/3,文化の日\n1996/11/4,休日\n1996/11/23,勤労感謝の日\n1996/12/23,天皇誕生日",1997:"国民の祝日・休日月日,国民の祝日・休日名称\n1997/1/1,元日\n1997/1/15,成人の日\n1997/2/11,建国記念の日\n1997/3/20,春分の日\n1997/4/29,みどりの日\n1997/5/3,憲法記念日\n1997/5/5,こどもの日\n1997/7/20,海の日\n1997/7/21,休日\n1997/9/15,敬老の日\n1997/9/23,秋分の日\n1997/10/10,体育の日\n1997/11/3,文化の日\n1997/11/23,勤労感謝の日\n1997/11/24,休日\n1997/12/23,天皇誕生日",1998:"国民の祝日・休日月日,国民の祝日・休日名称\n1998/1/1,元日\n1998/1/15,成人の日\n1998/2/11,建国記念の日\n1998/3/21,春分の日\n1998/4/29,みどりの日\n1998/5/3,憲法記念日\n1998/5/4,休日\n1998/5/5,こどもの日\n1998/7/20,海の日\n1998/9/15,敬老の日\n1998/9/23,秋分の日\n1998/10/10,体育の日\n1998/11/3,文化の日\n1998/11/23,勤労感謝の日\n1998/12/23,天皇誕生日",1999:"国民の祝日・休日月日,国民の祝日・休日名称\n1999/1/1,元日\n1999/1/15,成人の日\n1999/2/11,建国記念の日\n1999/3/21,春分の日\n1999/3/22,休日\n1999/4/29,みどりの日\n1999/5/3,憲法記念日\n1999/5/4,休日\n1999/5/5,こどもの日\n1999/7/20,海の日\n1999/9/15,敬老の日\n1999/9/23,秋分の日\n1999/10/10,体育の日\n1999/10/11,休日\n1999/11/3,文化の日\n1999/11/23,勤労感謝の日\n1999/12/23,天皇誕生日",2e3:"国民の祝日・休日月日,国民の祝日・休日名称\n2000/1/1,元日\n2000/1/10,成人の日\n2000/2/11,建国記念の日\n2000/3/20,春分の日\n2000/4/29,みどりの日\n2000/5/3,憲法記念日\n2000/5/4,休日\n2000/5/5,こどもの日\n2000/7/20,海の日\n2000/9/15,敬老の日\n2000/9/23,秋分の日\n2000/10/9,体育の日\n2000/11/3,文化の日\n2000/11/23,勤労感謝の日\n2000/12/23,天皇誕生日",2001:"国民の祝日・休日月日,国民の祝日・休日名称\n2001/1/1,元日\n2001/1/8,成人の日\n2001/2/11,建国記念の日\n2001/2/12,休日\n2001/3/20,春分の日\n2001/4/29,みどりの日\n2001/4/30,休日\n2001/5/3,憲法記念日\n2001/5/4,休日\n2001/5/5,こどもの日\n2001/7/20,海の日\n2001/9/15,敬老の日\n2001/9/23,秋分の日\n2001/9/24,休日\n2001/10/8,体育の日\n2001/11/3,文化の日\n2001/11/23,勤労感謝の日\n2001/12/23,天皇誕生日\n2001/12/24,休日",2002:"国民の祝日・休日月日,国民の祝日・休日名称\n2002/1/1,元日\n2002/1/14,成人の日\n2002/2/11,建国記念の日\n2002/3/21,春分の日\n2002/4/29,みどりの日\n2002/5/3,憲法記念日\n2002/5/4,休日\n2002/5/5,こどもの日\n2002/5/6,休日\n2002/7/20,海の日\n2002/9/15,敬老の日\n2002/9/16,休日\n2002/9/23,秋分の日\n2002/10/14,体育の日\n2002/11/3,文化の日\n2002/11/4,休日\n2002/11/23,勤労感謝の日\n2002/12/23,天皇誕生日",2003:"国民の祝日・休日月日,国民の祝日・休日名称\n2003/1/1,元日\n2003/1/13,成人の日\n2003/2/11,建国記念の日\n2003/3/21,春分の日\n2003/4/29,みどりの日\n2003/5/3,憲法記念日\n2003/5/5,こどもの日\n2003/7/21,海の日\n2003/9/15,敬老の日\n2003/9/23,秋分の日\n2003/10/13,体育の日\n2003/11/3,文化の日\n2003/11/23,勤労感謝の日\n2003/11/24,休日\n2003/12/23,天皇誕生日",2004:"国民の祝日・休日月日,国民の祝日・休日名称\n2004/1/1,元日\n2004/1/12,成人の日\n2004/2/11,建国記念の日\n2004/3/20,春分の日\n2004/4/29,みどりの日\n2004/5/3,憲法記念日\n2004/5/4,休日\n2004/5/5,こどもの日\n2004/7/19,海の日\n2004/9/20,敬老の日\n2004/9/23,秋分の日\n2004/10/11,体育の日\n2004/11/3,文化の日\n2004/11/23,勤労感謝の日\n2004/12/23,天皇誕生日",2005:"国民の祝日・休日月日,国民の祝日・休日名称\n2005/1/1,元日\n2005/1/10,成人の日\n2005/2/11,建国記念の日\n2005/3/20,春分の日\n2005/3/21,休日\n2005/4/29,みどりの日\n2005/5/3,憲法記念日\n2005/5/4,休日\n2005/5/5,こどもの日\n2005/7/18,海の日\n2005/9/19,敬老の日\n2005/9/23,秋分の日\n2005/10/10,体育の日\n2005/11/3,文化の日\n2005/11/23,勤労感謝の日\n2005/12/23,天皇誕生日",2006:"国民の祝日・休日月日,国民の祝日・休日名称\n2006/1/1,元日\n2006/1/2,休日\n2006/1/9,成人の日\n2006/2/11,建国記念の日\n2006/3/21,春分の日\n2006/4/29,みどりの日\n2006/5/3,憲法記念日\n2006/5/4,休日\n2006/5/5,こどもの日\n2006/7/17,海の日\n2006/9/18,敬老の日\n2006/9/23,秋分の日\n2006/10/9,体育の日\n2006/11/3,文化の日\n2006/11/23,勤労感謝の日\n2006/12/23,天皇誕生日",2007:"国民の祝日・休日月日,国民の祝日・休日名称\n2007/1/1,元日\n2007/1/8,成人の日\n2007/2/11,建国記念の日\n2007/2/12,休日\n2007/3/21,春分の日\n2007/4/29,昭和の日\n2007/4/30,休日\n2007/5/3,憲法記念日\n2007/5/4,みどりの日\n2007/5/5,こどもの日\n2007/7/16,海の日\n2007/9/17,敬老の日\n2007/9/23,秋分の日\n2007/9/24,休日\n2007/10/8,体育の日\n2007/11/3,文化の日\n2007/11/23,勤労感謝の日\n2007/12/23,天皇誕生日\n2007/12/24,休日",2008:"国民の祝日・休日月日,国民の祝日・休日名称\n2008/1/1,元日\n2008/1/14,成人の日\n2008/2/11,建国記念の日\n2008/3/20,春分の日\n2008/4/29,昭和の日\n2008/5/3,憲法記念日\n2008/5/4,みどりの日\n2008/5/5,こどもの日\n2008/5/6,休日\n2008/7/21,海の日\n2008/9/15,敬老の日\n2008/9/23,秋分の日\n2008/10/13,体育の日\n2008/11/3,文化の日\n2008/11/23,勤労感謝の日\n2008/11/24,休日\n2008/12/23,天皇誕生日",2009:"国民の祝日・休日月日,国民の祝日・休日名称\n2009/1/1,元日\n2009/1/12,成人の日\n2009/2/11,建国記念の日\n2009/3/20,春分の日\n2009/4/29,昭和の日\n2009/5/3,憲法記念日\n2009/5/4,みどりの日\n2009/5/5,こどもの日\n2009/5/6,休日\n2009/7/20,海の日\n2009/9/21,敬老の日\n2009/9/22,休日\n2009/9/23,秋分の日\n2009/10/12,体育の日\n2009/11/3,文化の日\n2009/11/23,勤労感謝の日\n2009/12/23,天皇誕生日",2010:"国民の祝日・休日月日,国民の祝日・休日名称\n2010/1/1,元日\n2010/1/11,成人の日\n2010/2/11,建国記念の日\n2010/3/21,春分の日\n2010/3/22,休日\n2010/4/29,昭和の日\n2010/5/3,憲法記念日\n2010/5/4,みどりの日\n2010/5/5,こどもの日\n2010/7/19,海の日\n2010/9/20,敬老の日\n2010/9/23,秋分の日\n2010/10/11,体育の日\n2010/11/3,文化の日\n2010/11/23,勤労感謝の日\n2010/12/23,天皇誕生日",2011:"国民の祝日・休日月日,国民の祝日・休日名称\n2011/1/1,元日\n2011/1/10,成人の日\n2011/2/11,建国記念の日\n2011/3/21,春分の日\n2011/4/29,昭和の日\n2011/5/3,憲法記念日\n2011/5/4,みどりの日\n2011/5/5,こどもの日\n2011/7/18,海の日\n2011/9/19,敬老の日\n2011/9/23,秋分の日\n2011/10/10,体育の日\n2011/11/3,文化の日\n2011/11/23,勤労感謝の日\n2011/12/23,天皇誕生日",2012:"国民の祝日・休日月日,国民の祝日・休日名称\n2012/1/1,元日\n2012/1/2,休日\n2012/1/9,成人の日\n2012/2/11,建国記念の日\n2012/3/20,春分の日\n2012/4/29,昭和の日\n2012/4/30,休日\n2012/5/3,憲法記念日\n2012/5/4,みどりの日\n2012/5/5,こどもの日\n2012/7/16,海の日\n2012/9/17,敬老の日\n2012/9/22,秋分の日\n2012/10/8,体育の日\n2012/11/3,文化の日\n2012/11/23,勤労感謝の日\n2012/12/23,天皇誕生日\n2012/12/24,休日",2013:"国民の祝日・休日月日,国民の祝日・休日名称\n2013/1/1,元日\n2013/1/14,成人の日\n2013/2/11,建国記念の日\n2013/3/20,春分の日\n2013/4/29,昭和の日\n2013/5/3,憲法記念日\n2013/5/4,みどりの日\n2013/5/5,こどもの日\n2013/5/6,休日\n2013/7/15,海の日\n2013/9/16,敬老の日\n2013/9/23,秋分の日\n2013/10/14,体育の日\n2013/11/3,文化の日\n2013/11/4,休日\n2013/11/23,勤労感謝の日\n2013/12/23,天皇誕生日",2014:"国民の祝日・休日月日,国民の祝日・休日名称\n2014/1/1,元日\n2014/1/13,成人の日\n2014/2/11,建国記念の日\n2014/3/21,春分の日\n2014/4/29,昭和の日\n2014/5/3,憲法記念日\n2014/5/4,みどりの日\n2014/5/5,こどもの日\n2014/5/6,休日\n2014/7/21,海の日\n2014/9/15,敬老の日\n2014/9/23,秋分の日\n2014/10/13,体育の日\n2014/11/3,文化の日\n2014/11/23,勤労感謝の日\n2014/11/24,休日\n2014/12/23,天皇誕生日",2015:"国民の祝日・休日月日,国民の祝日・休日名称\n2015/1/1,元日\n2015/1/12,成人の日\n2015/2/11,建国記念の日\n2015/3/21,春分の日\n2015/4/29,昭和の日\n2015/5/3,憲法記念日\n2015/5/4,みどりの日\n2015/5/5,こどもの日\n2015/5/6,休日\n2015/7/20,海の日\n2015/9/21,敬老の日\n2015/9/22,休日\n2015/9/23,秋分の日\n2015/10/12,体育の日\n2015/11/3,文化の日\n2015/11/23,勤労感謝の日\n2015/12/23,天皇誕生日",2016:"国民の祝日・休日月日,国民の祝日・休日名称\n2016/1/1,元日\n2016/1/11,成人の日\n2016/2/11,建国記念の日\n2016/3/20,春分の日\n2016/3/21,休日\n2016/4/29,昭和の日\n2016/5/3,憲法記念日\n2016/5/4,みどりの日\n2016/5/5,こどもの日\n2016/7/18,海の日\n2016/8/11,山の日\n2016/9/19,敬老の日\n2016/9/22,秋分の日\n2016/10/10,体育の日\n2016/11/3,文化の日\n2016/11/23,勤労感謝の日\n2016/12/23,天皇誕生日",2017:"国民の祝日・休日月日,国民の祝日・休日名称\n2017/1/1,元日\n2017/1/2,休日\n2017/1/9,成人の日\n2017/2/11,建国記念の日\n2017/3/20,春分の日\n2017/4/29,昭和の日\n2017/5/3,憲法記念日\n2017/5/4,みどりの日\n2017/5/5,こどもの日\n2017/7/17,海の日\n2017/8/11,山の日\n2017/9/18,敬老の日\n2017/9/23,秋分の日\n2017/10/9,体育の日\n2017/11/3,文化の日\n2017/11/23,勤労感謝の日\n2017/12/23,天皇誕生日",2018:"国民の祝日・休日月日,国民の祝日・休日名称\n2018/1/1,元日\n2018/1/8,成人の日\n2018/2/11,建国記念の日\n2018/2/12,休日\n2018/3/21,春分の日\n2018/4/29,昭和の日\n2018/4/30,休日\n2018/5/3,憲法記念日\n2018/5/4,みどりの日\n2018/5/5,こどもの日\n2018/7/16,海の日\n2018/8/11,山の日\n2018/9/17,敬老の日\n2018/9/23,秋分の日\n2018/9/24,休日\n2018/10/8,体育の日\n2018/11/3,文化の日\n2018/11/23,勤労感謝の日\n2018/12/23,天皇誕生日\n2018/12/24,休日",2019:"国民の祝日・休日月日,国民の祝日・休日名称\n2019/1/1,元日\n2019/1/14,成人の日\n2019/2/11,建国記念の日\n2019/3/21,春分の日\n2019/4/29,昭和の日\n2019/4/30,休日\n2019/5/1,休日(祝日扱い)\n2019/5/2,休日\n2019/5/3,憲法記念日\n2019/5/4,みどりの日\n2019/5/5,こどもの日\n2019/5/6,休日\n2019/7/15,海の日\n2019/8/11,山の日\n2019/8/12,休日\n2019/9/16,敬老の日\n2019/9/23,秋分の日\n2019/10/14,体育の日(スポーツの日)\n2019/10/22,休日(祝日扱い)\n2019/11/3,文化の日\n2019/11/4,休日\n2019/11/23,勤労感謝の日",2020:"国民の祝日・休日月日,国民の祝日・休日名称\n2020/1/1,元日\n2020/1/13,成人の日\n2020/2/11,建国記念の日\n2020/2/23,天皇誕生日\n2020/2/24,休日\n2020/3/20,春分の日\n2020/4/29,昭和の日\n2020/5/3,憲法記念日\n2020/5/4,みどりの日\n2020/5/5,こどもの日\n2020/5/6,休日\n2020/7/23,海の日\n2020/7/24,スポーツの日\n2020/8/10,山の日\n2020/9/21,敬老の日\n2020/9/22,秋分の日\n2020/11/3,文化の日\n2020/11/23,勤労感謝の日",2021:"国民の祝日・休日月日,国民の祝日・休日名称\n2021/1/1,元日\n2021/1/11,成人の日\n2021/2/11,建国記念の日\n2021/2/23,天皇誕生日\n2021/3/20,春分の日\n2021/4/29,昭和の日\n2021/5/3,憲法記念日\n2021/5/4,みどりの日\n2021/5/5,こどもの日\n2021/7/22,海の日\n2021/7/23,スポーツの日\n2021/8/8,山の日\n2021/8/9,休日\n2021/9/20,敬老の日\n2021/9/23,秋分の日\n2021/11/3,文化の日\n2021/11/23,勤労感謝の日",2022:"国民の祝日・休日月日,国民の祝日・休日名称\n2022/1/1,元日\n2022/1/10,成人の日\n2022/2/11,建国記念の日\n2022/2/23,天皇誕生日\n2022/3/21,春分の日\n2022/4/29,昭和の日\n2022/5/3,憲法記念日\n2022/5/4,みどりの日\n2022/5/5,こどもの日\n2022/7/18,海の日\n2022/8/11,山の日\n2022/9/19,敬老の日\n2022/9/23,秋分の日\n2022/10/10,スポーツの日\n2022/11/3,文化の日\n2022/11/23,勤労感謝の日",2023:"国民の祝日・休日月日,国民の祝日・休日名称\n2023/1/1,元日\n2023/1/2,休日\n2023/1/9,成人の日\n2023/2/11,建国記念の日\n2023/2/23,天皇誕生日\n2023/3/21,春分の日\n2023/4/29,昭和の日\n2023/5/3,憲法記念日\n2023/5/4,みどりの日\n2023/5/5,こどもの日\n2023/7/17,海の日\n2023/8/11,山の日\n2023/9/18,敬老の日\n2023/9/23,秋分の日\n2023/10/9,スポーツの日\n2023/11/3,文化の日\n2023/11/23,勤労感謝の日",2024:"国民の祝日・休日月日,国民の祝日・休日名称\n2024/1/1,元日\n2024/1/8,成人の日\n2024/2/11,建国記念の日\n2024/2/12,休日\n2024/2/23,天皇誕生日\n2024/3/20,春分の日\n2024/4/29,昭和の日\n2024/5/3,憲法記念日\n2024/5/4,みどりの日\n2024/5/5,こどもの日\n2024/5/6,休日\n2024/7/15,海の日\n2024/8/11,山の日\n2024/8/12,休日\n2024/9/16,敬老の日\n2024/9/22,秋分の日\n2024/9/23,休日\n2024/10/14,スポーツの日\n2024/11/3,文化の日\n2024/11/4,休日\n2024/11/23,勤労感謝の日",2025:"国民の祝日・休日月日,国民の祝日・休日名称\n2025/1/1,元日\n2025/1/13,成人の日\n2025/2/11,建国記念の日\n2025/2/23,天皇誕生日\n2025/2/24,休日\n2025/3/20,春分の日\n2025/4/29,昭和の日\n2025/5/3,憲法記念日\n2025/5/4,みどりの日\n2025/5/5,こどもの日\n2025/5/6,休日\n2025/7/21,海の日\n2025/8/11,山の日\n2025/9/15,敬老の日\n2025/9/23,秋分の日\n2025/10/13,スポーツの日\n2025/11/3,文化の日\n2025/11/23,勤労感謝の日\n2025/11/24,休日",2026:"国民の祝日・休日月日,国民の祝日・休日名称\n2026/1/1,元日\n2026/1/12,成人の日\n2026/2/11,建国記念の日\n2026/2/23,天皇誕生日\n2026/3/20,春分の日\n2026/4/29,昭和の日\n2026/5/3,憲法記念日\n2026/5/4,みどりの日\n2026/5/5,こどもの日\n2026/5/6,休日\n2026/7/20,海の日\n2026/8/11,山の日\n2026/9/21,敬老の日\n2026/9/22,休日\n2026/9/23,秋分の日\n2026/10/12,スポーツの日\n2026/11/3,文化の日\n2026/11/23,勤労感謝の日",2027:"国民の祝日・休日月日,国民の祝日・休日名称\n2027/1/1,元日\n2027/1/11,成人の日\n2027/2/11,建国記念の日\n2027/2/23,天皇誕生日\n2027/3/21,春分の日\n2027/3/22,休日\n2027/4/29,昭和の日\n2027/5/3,憲法記念日\n2027/5/4,みどりの日\n2027/5/5,こどもの日\n2027/7/19,海の日\n2027/8/11,山の日\n2027/9/20,敬老の日\n2027/9/23,秋分の日\n2027/10/11,スポーツの日\n2027/11/3,文化の日\n2027/11/23,勤労感謝の日"},rs={},as=e=>{const t=e||(new Date).getFullYear(),n=t.toString();if(rs[n])return rs[n];const r=(e=>{const t=(e||(new Date).getFullYear()).toString();return ns[t]?ns[t]:"国民の祝日・休日月日,国民の祝日・休日名称"})(t),a=r.split("\n"),i=[];for(let e=1;e<a.length;e++){const t=a[e].trim();if(t){const[e,n]=t.split(",");e&&n&&i.push({date:e.trim(),name:n.trim()})}}return rs[n]=i,i};var is="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},os=[],ls=[],ss="undefined"!=typeof Uint8Array?Uint8Array:Array,cs=!1;function us(){cs=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)os[t]=e[t],ls[e.charCodeAt(t)]=t;ls["-".charCodeAt(0)]=62,ls["_".charCodeAt(0)]=63}function ds(e,t,n){for(var r,a,i=[],o=t;o<n;o+=3)r=(e[o]<<16)+(e[o+1]<<8)+e[o+2],i.push(os[(a=r)>>18&63]+os[a>>12&63]+os[a>>6&63]+os[63&a]);return i.join("")}function ps(e){var t;cs||us();for(var n=e.length,r=n%3,a="",i=[],o=16383,l=0,s=n-r;l<s;l+=o)i.push(ds(e,l,l+o>s?s:l+o));return 1===r?(t=e[n-1],a+=os[t>>2],a+=os[t<<4&63],a+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],a+=os[t>>10],a+=os[t>>4&63],a+=os[t<<2&63],a+="="),i.push(a),i.join("")}function fs(e,t,n,r,a){var i,o,l=8*a-r-1,s=(1<<l)-1,c=s>>1,u=-7,d=n?a-1:0,p=n?-1:1,f=e[t+d];for(d+=p,i=f&(1<<-u)-1,f>>=-u,u+=l;u>0;i=256*i+e[t+d],d+=p,u-=8);for(o=i&(1<<-u)-1,i>>=-u,u+=r;u>0;o=256*o+e[t+d],d+=p,u-=8);if(0===i)i=1-c;else{if(i===s)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,r),i-=c}return(f?-1:1)*o*Math.pow(2,i-r)}function ms(e,t,n,r,a,i){var o,l,s,c=8*i-a-1,u=(1<<c)-1,d=u>>1,p=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:i-1,m=r?1:-1,h=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-o))<1&&(o--,s*=2),(t+=o+d>=1?p/s:p*Math.pow(2,1-d))*s>=2&&(o++,s/=2),o+d>=u?(l=0,o=u):o+d>=1?(l=(t*s-1)*Math.pow(2,a),o+=d):(l=t*Math.pow(2,d-1)*Math.pow(2,a),o=0));a>=8;e[n+f]=255&l,f+=m,l/=256,a-=8);for(o=o<<a|l,c+=a;c>0;e[n+f]=255&o,f+=m,o/=256,c-=8);e[n+f-m]|=128*h}var hs={}.toString,gs=Array.isArray||function(e){return"[object Array]"==hs.call(e)};function bs(){return xs.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function vs(e,t){if(bs()<t)throw new RangeError("Invalid typed array length");return xs.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=xs.prototype:(null===e&&(e=new xs(t)),e.length=t),e}function xs(e,t,n){if(!(xs.TYPED_ARRAY_SUPPORT||this instanceof xs))return new xs(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return Cs(this,e)}return ys(this,e,t,n)}function ys(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);xs.TYPED_ARRAY_SUPPORT?(e=t).__proto__=xs.prototype:e=Es(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!xs.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|Ms(t,n);e=vs(e,r);var a=e.write(t,n);a!==r&&(e=e.slice(0,a));return e}(e,t,n):function(e,t){if(ks(t)){var n=0|Is(t.length);return 0===(e=vs(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?vs(e,0):Es(e,t);if("Buffer"===t.type&&gs(t.data))return Es(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function ws(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function Cs(e,t){if(ws(t),e=vs(e,t<0?0:0|Is(t)),!xs.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function Es(e,t){var n=t.length<0?0:0|Is(t.length);e=vs(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function Is(e){if(e>=bs())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+bs().toString(16)+" bytes");return 0|e}function ks(e){return!(null==e||!e._isBuffer)}function Ms(e,t){if(ks(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Ks(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return ec(e).length;default:if(r)return Ks(e).length;t=(""+t).toLowerCase(),r=!0}}function As(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Ps(this,t,n);case"utf8":case"utf-8":return Zs(this,t,n);case"ascii":return Bs(this,t,n);case"latin1":case"binary":return _s(this,t,n);case"base64":return Ts(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Fs(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function Ss(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function Ls(e,t,n,r,a){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=a?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(a)return-1;n=e.length-1}else if(n<0){if(!a)return-1;n=0}if("string"==typeof t&&(t=xs.from(t,r)),ks(t))return 0===t.length?-1:$s(e,t,n,r,a);if("number"==typeof t)return t&=255,xs.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?a?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):$s(e,[t],n,r,a);throw new TypeError("val must be string, number or Buffer")}function $s(e,t,n,r,a){var i,o=1,l=e.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,l/=2,s/=2,n/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(a){var u=-1;for(i=n;i<l;i++)if(c(e,i)===c(t,-1===u?0:i-u)){if(-1===u&&(u=i),i-u+1===s)return u*o}else-1!==u&&(i-=i-u),u=-1}else for(n+s>l&&(n=l-s),i=n;i>=0;i--){for(var d=!0,p=0;p<s;p++)if(c(e,i+p)!==c(t,p)){d=!1;break}if(d)return i}return-1}function Ds(e,t,n,r){n=Number(n)||0;var a=e.length-n;r?(r=Number(r))>a&&(r=a):r=a;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var o=0;o<r;++o){var l=parseInt(t.substr(2*o,2),16);if(isNaN(l))return o;e[n+o]=l}return o}function Vs(e,t,n,r){return tc(Ks(t,e.length-n),e,n,r)}function Os(e,t,n,r){return tc(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function Hs(e,t,n,r){return Os(e,t,n,r)}function Ns(e,t,n,r){return tc(ec(t),e,n,r)}function Rs(e,t,n,r){return tc(function(e,t){for(var n,r,a,i=[],o=0;o<e.length&&!((t-=2)<0);++o)r=(n=e.charCodeAt(o))>>8,a=n%256,i.push(a),i.push(r);return i}(t,e.length-n),e,n,r)}function Ts(e,t,n){return 0===t&&n===e.length?ps(e):ps(e.slice(t,n))}function Zs(e,t,n){n=Math.min(e.length,n);for(var r=[],a=t;a<n;){var i,o,l,s,c=e[a],u=null,d=c>239?4:c>223?3:c>191?2:1;if(a+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(i=e[a+1]))&&(s=(31&c)<<6|63&i)>127&&(u=s);break;case 3:i=e[a+1],o=e[a+2],128==(192&i)&&128==(192&o)&&(s=(15&c)<<12|(63&i)<<6|63&o)>2047&&(s<55296||s>57343)&&(u=s);break;case 4:i=e[a+1],o=e[a+2],l=e[a+3],128==(192&i)&&128==(192&o)&&128==(192&l)&&(s=(15&c)<<18|(63&i)<<12|(63&o)<<6|63&l)>65535&&s<1114112&&(u=s)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),a+=d}return function(e){var t=e.length;if(t<=zs)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=zs));return n}(r)}xs.TYPED_ARRAY_SUPPORT=void 0===is.TYPED_ARRAY_SUPPORT||is.TYPED_ARRAY_SUPPORT,bs(),xs.poolSize=8192,xs._augment=function(e){return e.__proto__=xs.prototype,e},xs.from=function(e,t,n){return ys(null,e,t,n)},xs.TYPED_ARRAY_SUPPORT&&(xs.prototype.__proto__=Uint8Array.prototype,xs.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&xs[Symbol.species]),xs.alloc=function(e,t,n){return function(e,t,n,r){return ws(t),t<=0?vs(e,t):void 0!==n?"string"==typeof r?vs(e,t).fill(n,r):vs(e,t).fill(n):vs(e,t)}(null,e,t,n)},xs.allocUnsafe=function(e){return Cs(null,e)},xs.allocUnsafeSlow=function(e){return Cs(null,e)},xs.isBuffer=nc,xs.compare=function(e,t){if(!ks(e)||!ks(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,a=0,i=Math.min(n,r);a<i;++a)if(e[a]!==t[a]){n=e[a],r=t[a];break}return n<r?-1:r<n?1:0},xs.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},xs.concat=function(e,t){if(!gs(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return xs.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=xs.allocUnsafe(t),a=0;for(n=0;n<e.length;++n){var i=e[n];if(!ks(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,a),a+=i.length}return r},xs.byteLength=Ms,xs.prototype._isBuffer=!0,xs.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)Ss(this,t,t+1);return this},xs.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)Ss(this,t,t+3),Ss(this,t+1,t+2);return this},xs.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)Ss(this,t,t+7),Ss(this,t+1,t+6),Ss(this,t+2,t+5),Ss(this,t+3,t+4);return this},xs.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?Zs(this,0,e):As.apply(this,arguments)},xs.prototype.equals=function(e){if(!ks(e))throw new TypeError("Argument must be a Buffer");return this===e||0===xs.compare(this,e)},xs.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},xs.prototype.compare=function(e,t,n,r,a){if(!ks(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===a&&(a=this.length),t<0||n>e.length||r<0||a>this.length)throw new RangeError("out of range index");if(r>=a&&t>=n)return 0;if(r>=a)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(a>>>=0)-(r>>>=0),o=(n>>>=0)-(t>>>=0),l=Math.min(i,o),s=this.slice(r,a),c=e.slice(t,n),u=0;u<l;++u)if(s[u]!==c[u]){i=s[u],o=c[u];break}return i<o?-1:o<i?1:0},xs.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},xs.prototype.indexOf=function(e,t,n){return Ls(this,e,t,n,!0)},xs.prototype.lastIndexOf=function(e,t,n){return Ls(this,e,t,n,!1)},xs.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var a=this.length-t;if((void 0===n||n>a)&&(n=a),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return Ds(this,e,t,n);case"utf8":case"utf-8":return Vs(this,e,t,n);case"ascii":return Os(this,e,t,n);case"latin1":case"binary":return Hs(this,e,t,n);case"base64":return Ns(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Rs(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},xs.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var zs=4096;function Bs(e,t,n){var r="";n=Math.min(e.length,n);for(var a=t;a<n;++a)r+=String.fromCharCode(127&e[a]);return r}function _s(e,t,n){var r="";n=Math.min(e.length,n);for(var a=t;a<n;++a)r+=String.fromCharCode(e[a]);return r}function Ps(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var a="",i=t;i<n;++i)a+=qs(e[i]);return a}function Fs(e,t,n){for(var r=e.slice(t,n),a="",i=0;i<r.length;i+=2)a+=String.fromCharCode(r[i]+256*r[i+1]);return a}function Gs(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function js(e,t,n,r,a,i){if(!ks(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>a||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function Ws(e,t,n,r){t<0&&(t=65535+t+1);for(var a=0,i=Math.min(e.length-n,2);a<i;++a)e[n+a]=(t&255<<8*(r?a:1-a))>>>8*(r?a:1-a)}function Ys(e,t,n,r){t<0&&(t=4294967295+t+1);for(var a=0,i=Math.min(e.length-n,4);a<i;++a)e[n+a]=t>>>8*(r?a:3-a)&255}function Xs(e,t,n,r,a,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Js(e,t,n,r,a){return a||Xs(e,0,n,4),ms(e,t,n,r,23,4),n+4}function Us(e,t,n,r,a){return a||Xs(e,0,n,8),ms(e,t,n,r,52,8),n+8}xs.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),xs.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=xs.prototype;else{var a=t-e;n=new xs(a,void 0);for(var i=0;i<a;++i)n[i]=this[i+e]}return n},xs.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||Gs(e,t,this.length);for(var r=this[e],a=1,i=0;++i<t&&(a*=256);)r+=this[e+i]*a;return r},xs.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||Gs(e,t,this.length);for(var r=this[e+--t],a=1;t>0&&(a*=256);)r+=this[e+--t]*a;return r},xs.prototype.readUInt8=function(e,t){return t||Gs(e,1,this.length),this[e]},xs.prototype.readUInt16LE=function(e,t){return t||Gs(e,2,this.length),this[e]|this[e+1]<<8},xs.prototype.readUInt16BE=function(e,t){return t||Gs(e,2,this.length),this[e]<<8|this[e+1]},xs.prototype.readUInt32LE=function(e,t){return t||Gs(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},xs.prototype.readUInt32BE=function(e,t){return t||Gs(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},xs.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Gs(e,t,this.length);for(var r=this[e],a=1,i=0;++i<t&&(a*=256);)r+=this[e+i]*a;return r>=(a*=128)&&(r-=Math.pow(2,8*t)),r},xs.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Gs(e,t,this.length);for(var r=t,a=1,i=this[e+--r];r>0&&(a*=256);)i+=this[e+--r]*a;return i>=(a*=128)&&(i-=Math.pow(2,8*t)),i},xs.prototype.readInt8=function(e,t){return t||Gs(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},xs.prototype.readInt16LE=function(e,t){t||Gs(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},xs.prototype.readInt16BE=function(e,t){t||Gs(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},xs.prototype.readInt32LE=function(e,t){return t||Gs(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},xs.prototype.readInt32BE=function(e,t){return t||Gs(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},xs.prototype.readFloatLE=function(e,t){return t||Gs(e,4,this.length),fs(this,e,!0,23,4)},xs.prototype.readFloatBE=function(e,t){return t||Gs(e,4,this.length),fs(this,e,!1,23,4)},xs.prototype.readDoubleLE=function(e,t){return t||Gs(e,8,this.length),fs(this,e,!0,52,8)},xs.prototype.readDoubleBE=function(e,t){return t||Gs(e,8,this.length),fs(this,e,!1,52,8)},xs.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||js(this,e,t,n,Math.pow(2,8*n)-1,0);var a=1,i=0;for(this[t]=255&e;++i<n&&(a*=256);)this[t+i]=e/a&255;return t+n},xs.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||js(this,e,t,n,Math.pow(2,8*n)-1,0);var a=n-1,i=1;for(this[t+a]=255&e;--a>=0&&(i*=256);)this[t+a]=e/i&255;return t+n},xs.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||js(this,e,t,1,255,0),xs.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},xs.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||js(this,e,t,2,65535,0),xs.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Ws(this,e,t,!0),t+2},xs.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||js(this,e,t,2,65535,0),xs.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Ws(this,e,t,!1),t+2},xs.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||js(this,e,t,4,4294967295,0),xs.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Ys(this,e,t,!0),t+4},xs.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||js(this,e,t,4,4294967295,0),xs.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Ys(this,e,t,!1),t+4},xs.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var a=Math.pow(2,8*n-1);js(this,e,t,n,a-1,-a)}var i=0,o=1,l=0;for(this[t]=255&e;++i<n&&(o*=256);)e<0&&0===l&&0!==this[t+i-1]&&(l=1),this[t+i]=(e/o>>0)-l&255;return t+n},xs.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var a=Math.pow(2,8*n-1);js(this,e,t,n,a-1,-a)}var i=n-1,o=1,l=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===l&&0!==this[t+i+1]&&(l=1),this[t+i]=(e/o>>0)-l&255;return t+n},xs.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||js(this,e,t,1,127,-128),xs.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},xs.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||js(this,e,t,2,32767,-32768),xs.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Ws(this,e,t,!0),t+2},xs.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||js(this,e,t,2,32767,-32768),xs.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Ws(this,e,t,!1),t+2},xs.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||js(this,e,t,4,2147483647,-2147483648),xs.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Ys(this,e,t,!0),t+4},xs.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||js(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),xs.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Ys(this,e,t,!1),t+4},xs.prototype.writeFloatLE=function(e,t,n){return Js(this,e,t,!0,n)},xs.prototype.writeFloatBE=function(e,t,n){return Js(this,e,t,!1,n)},xs.prototype.writeDoubleLE=function(e,t,n){return Us(this,e,t,!0,n)},xs.prototype.writeDoubleBE=function(e,t,n){return Us(this,e,t,!1,n)},xs.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var a,i=r-n;if(this===e&&n<t&&t<r)for(a=i-1;a>=0;--a)e[a+t]=this[a+n];else if(i<1e3||!xs.TYPED_ARRAY_SUPPORT)for(a=0;a<i;++a)e[a+t]=this[a+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+i),t);return i},xs.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var a=e.charCodeAt(0);a<256&&(e=a)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!xs.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var o=ks(e)?e:Ks(new xs(e,r).toString()),l=o.length;for(i=0;i<n-t;++i)this[i+t]=o[i%l]}return this};var Qs=/[^+\/0-9A-Za-z-_]/g;function qs(e){return e<16?"0"+e.toString(16):e.toString(16)}function Ks(e,t){var n;t=t||1/0;for(var r=e.length,a=null,i=[],o=0;o<r;++o){if((n=e.charCodeAt(o))>55295&&n<57344){if(!a){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&i.push(239,191,189);continue}a=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),a=n;continue}n=65536+(a-55296<<10|n-56320)}else a&&(t-=3)>-1&&i.push(239,191,189);if(a=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function ec(e){return function(e){var t,n,r,a,i,o;cs||us();var l=e.length;if(l%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===e[l-2]?2:"="===e[l-1]?1:0,o=new ss(3*l/4-i),r=i>0?l-4:l;var s=0;for(t=0,n=0;t<r;t+=4,n+=3)a=ls[e.charCodeAt(t)]<<18|ls[e.charCodeAt(t+1)]<<12|ls[e.charCodeAt(t+2)]<<6|ls[e.charCodeAt(t+3)],o[s++]=a>>16&255,o[s++]=a>>8&255,o[s++]=255&a;return 2===i?(a=ls[e.charCodeAt(t)]<<2|ls[e.charCodeAt(t+1)]>>4,o[s++]=255&a):1===i&&(a=ls[e.charCodeAt(t)]<<10|ls[e.charCodeAt(t+1)]<<4|ls[e.charCodeAt(t+2)]>>2,o[s++]=a>>8&255,o[s++]=255&a),o}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Qs,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function tc(e,t,n,r){for(var a=0;a<r&&!(a+n>=t.length||a>=e.length);++a)t[a+n]=e[a];return a}function nc(e){return null!=e&&(!!e._isBuffer||rc(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&rc(e.slice(0,0))}(e))}function rc(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}class ac extends Error{constructor(e,t,n,...r){Array.isArray(t)&&(t=t.join(" ").trim()),super(t),void 0!==Error.captureStackTrace&&Error.captureStackTrace(this,ac),this.code=e;for(const e of r)for(const t in e){const r=e[t];this[t]=nc(r)?r.toString(n.encoding):null==r?r:JSON.parse(JSON.stringify(r))}}}const ic=function(e){const t=[];for(let r=0,a=e.length;r<a;r++){const a=e[r];if(null==a||!1===a)t[r]={disabled:!0};else if("string"==typeof a)t[r]={name:a};else{if("object"!=typeof(n=a)||null===n||Array.isArray(n))throw new ac("CSV_INVALID_COLUMN_DEFINITION",["Invalid column definition:","expect a string or a literal object,",`got ${JSON.stringify(a)} at position ${r}`]);if("string"!=typeof a.name)throw new ac("CSV_OPTION_COLUMNS_MISSING_NAME",["Option columns missing name:",`property "name" is required at position ${r}`,"when column is an object literal"]);t[r]=a}}var n;return t};class oc{constructor(e=100){this.size=e,this.length=0,this.buf=xs.allocUnsafe(e)}prepend(e){if(nc(e)){const t=this.length+e.length;if(t>=this.size&&(this.resize(),t>=this.size))throw Error("INVALID_BUFFER_STATE");const n=this.buf;this.buf=xs.allocUnsafe(this.size),e.copy(this.buf,0),n.copy(this.buf,e.length),this.length+=e.length}else{const t=this.length++;t===this.size&&this.resize();const n=this.clone();this.buf[0]=e,n.copy(this.buf,1,0,t)}}append(e){const t=this.length++;t===this.size&&this.resize(),this.buf[t]=e}clone(){return xs.from(this.buf.slice(0,this.length))}resize(){const e=this.length;this.size=2*this.size;const t=xs.allocUnsafe(this.size);this.buf.copy(t,0,0,e),this.buf=t}toString(e){return e?this.buf.slice(0,this.length).toString(e):Uint8Array.prototype.slice.call(this.buf.slice(0,this.length))}toJSON(){return this.toString("utf8")}reset(){this.length=0}}const lc=function(e){return{bomSkipped:!1,bufBytesStart:0,castField:e.cast_function,commenting:!1,error:void 0,enabled:1===e.from_line,escaping:!1,escapeIsQuote:nc(e.escape)&&nc(e.quote)&&0===xs.compare(e.escape,e.quote),expectedRecordLength:Array.isArray(e.columns)?e.columns.length:void 0,field:new oc(20),firstLineToHeaders:e.cast_first_line_to_header,needMoreDataSize:Math.max(null!==e.comment?e.comment.length:0,...e.delimiter.map((e=>e.length)),null!==e.quote?e.quote.length:0),previousBuf:void 0,quoting:!1,stop:!1,rawBuffer:new oc(100),record:[],recordHasError:!1,record_length:0,recordDelimiterMaxLength:0===e.record_delimiter.length?0:Math.max(...e.record_delimiter.map((e=>e.length))),trimChars:[xs.from(" ",e.encoding)[0],xs.from("\t",e.encoding)[0]],wasQuoting:!1,wasRowDelimiter:!1,timchars:[xs.from(xs.from([13],"utf8").toString(),e.encoding),xs.from(xs.from([10],"utf8").toString(),e.encoding),xs.from(xs.from([12],"utf8").toString(),e.encoding),xs.from(xs.from([32],"utf8").toString(),e.encoding),xs.from(xs.from([9],"utf8").toString(),e.encoding)]}},sc=function(e){const t={};for(const r in e)t[(n=r,n.replace(/([A-Z])/g,(function(e,t){return"_"+t.toLowerCase()})))]=e[r];var n;if(void 0===t.encoding||!0===t.encoding)t.encoding="utf8";else if(null===t.encoding||!1===t.encoding)t.encoding=null;else if("string"!=typeof t.encoding&&null!==t.encoding)throw new ac("CSV_INVALID_OPTION_ENCODING",["Invalid option encoding:","encoding must be a string or null to return a buffer,",`got ${JSON.stringify(t.encoding)}`],t);if(void 0===t.bom||null===t.bom||!1===t.bom)t.bom=!1;else if(!0!==t.bom)throw new ac("CSV_INVALID_OPTION_BOM",["Invalid option bom:","bom must be true,",`got ${JSON.stringify(t.bom)}`],t);if(t.cast_function=null,void 0===t.cast||null===t.cast||!1===t.cast||""===t.cast)t.cast=void 0;else if("function"==typeof t.cast)t.cast_function=t.cast,t.cast=!0;else if(!0!==t.cast)throw new ac("CSV_INVALID_OPTION_CAST",["Invalid option cast:","cast must be true or a function,",`got ${JSON.stringify(t.cast)}`],t);if(void 0===t.cast_date||null===t.cast_date||!1===t.cast_date||""===t.cast_date)t.cast_date=!1;else if(!0===t.cast_date)t.cast_date=function(e){const t=Date.parse(e);return isNaN(t)?e:new Date(t)};else if("function"!=typeof t.cast_date)throw new ac("CSV_INVALID_OPTION_CAST_DATE",["Invalid option cast_date:","cast_date must be true or a function,",`got ${JSON.stringify(t.cast_date)}`],t);if(t.cast_first_line_to_header=void 0,!0===t.columns)t.cast_first_line_to_header=void 0;else if("function"==typeof t.columns)t.cast_first_line_to_header=t.columns,t.columns=!0;else if(Array.isArray(t.columns))t.columns=ic(t.columns);else{if(void 0!==t.columns&&null!==t.columns&&!1!==t.columns)throw new ac("CSV_INVALID_OPTION_COLUMNS",["Invalid option columns:","expect an array, a function or true,",`got ${JSON.stringify(t.columns)}`],t);t.columns=!1}if(void 0===t.group_columns_by_name||null===t.group_columns_by_name||!1===t.group_columns_by_name)t.group_columns_by_name=!1;else{if(!0!==t.group_columns_by_name)throw new ac("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","expect an boolean,",`got ${JSON.stringify(t.group_columns_by_name)}`],t);if(!1===t.columns)throw new ac("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","the `columns` mode must be activated."],t)}if(void 0===t.comment||null===t.comment||!1===t.comment||""===t.comment)t.comment=null;else if("string"==typeof t.comment&&(t.comment=xs.from(t.comment,t.encoding)),!nc(t.comment))throw new ac("CSV_INVALID_OPTION_COMMENT",["Invalid option comment:","comment must be a buffer or a string,",`got ${JSON.stringify(t.comment)}`],t);if(void 0===t.comment_no_infix||null===t.comment_no_infix||!1===t.comment_no_infix)t.comment_no_infix=!1;else if(!0!==t.comment_no_infix)throw new ac("CSV_INVALID_OPTION_COMMENT",["Invalid option comment_no_infix:","value must be a boolean,",`got ${JSON.stringify(t.comment_no_infix)}`],t);const r=JSON.stringify(t.delimiter);if(Array.isArray(t.delimiter)||(t.delimiter=[t.delimiter]),0===t.delimiter.length)throw new ac("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${r}`],t);if(t.delimiter=t.delimiter.map((function(e){if(null==e||!1===e)return xs.from(",",t.encoding);if("string"==typeof e&&(e=xs.from(e,t.encoding)),!nc(e)||0===e.length)throw new ac("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${r}`],t);return e})),void 0===t.escape||!0===t.escape?t.escape=xs.from('"',t.encoding):"string"==typeof t.escape?t.escape=xs.from(t.escape,t.encoding):null!==t.escape&&!1!==t.escape||(t.escape=null),null!==t.escape&&!nc(t.escape))throw new Error(`Invalid Option: escape must be a buffer, a string or a boolean, got ${JSON.stringify(t.escape)}`);if(void 0===t.from||null===t.from)t.from=1;else{if("string"==typeof t.from&&/\d+/.test(t.from)&&(t.from=parseInt(t.from)),!Number.isInteger(t.from))throw new Error(`Invalid Option: from must be an integer, got ${JSON.stringify(t.from)}`);if(t.from<0)throw new Error(`Invalid Option: from must be a positive integer, got ${JSON.stringify(e.from)}`)}if(void 0===t.from_line||null===t.from_line)t.from_line=1;else{if("string"==typeof t.from_line&&/\d+/.test(t.from_line)&&(t.from_line=parseInt(t.from_line)),!Number.isInteger(t.from_line))throw new Error(`Invalid Option: from_line must be an integer, got ${JSON.stringify(e.from_line)}`);if(t.from_line<=0)throw new Error(`Invalid Option: from_line must be a positive integer greater than 0, got ${JSON.stringify(e.from_line)}`)}if(void 0===t.ignore_last_delimiters||null===t.ignore_last_delimiters)t.ignore_last_delimiters=!1;else if("number"==typeof t.ignore_last_delimiters)t.ignore_last_delimiters=Math.floor(t.ignore_last_delimiters),0===t.ignore_last_delimiters&&(t.ignore_last_delimiters=!1);else if("boolean"!=typeof t.ignore_last_delimiters)throw new ac("CSV_INVALID_OPTION_IGNORE_LAST_DELIMITERS",["Invalid option `ignore_last_delimiters`:","the value must be a boolean value or an integer,",`got ${JSON.stringify(t.ignore_last_delimiters)}`],t);if(!0===t.ignore_last_delimiters&&!1===t.columns)throw new ac("CSV_IGNORE_LAST_DELIMITERS_REQUIRES_COLUMNS",["The option `ignore_last_delimiters`","requires the activation of the `columns` option"],t);if(void 0===t.info||null===t.info||!1===t.info)t.info=!1;else if(!0!==t.info)throw new Error(`Invalid Option: info must be true, got ${JSON.stringify(t.info)}`);if(void 0===t.max_record_size||null===t.max_record_size||!1===t.max_record_size)t.max_record_size=0;else if(Number.isInteger(t.max_record_size)&&t.max_record_size>=0);else{if("string"!=typeof t.max_record_size||!/\d+/.test(t.max_record_size))throw new Error(`Invalid Option: max_record_size must be a positive integer, got ${JSON.stringify(t.max_record_size)}`);t.max_record_size=parseInt(t.max_record_size)}if(void 0===t.objname||null===t.objname||!1===t.objname)t.objname=void 0;else if(nc(t.objname)){if(0===t.objname.length)throw new Error("Invalid Option: objname must be a non empty buffer");null===t.encoding||(t.objname=t.objname.toString(t.encoding))}else if("string"==typeof t.objname){if(0===t.objname.length)throw new Error("Invalid Option: objname must be a non empty string")}else if("number"!=typeof t.objname)throw new Error(`Invalid Option: objname must be a string or a buffer, got ${t.objname}`);if(void 0!==t.objname)if("number"==typeof t.objname){if(!1!==t.columns)throw Error("Invalid Option: objname index cannot be combined with columns or be defined as a field")}else if(!1===t.columns)throw Error("Invalid Option: objname field must be combined with columns or be defined as an index");if(void 0===t.on_record||null===t.on_record)t.on_record=void 0;else if("function"!=typeof t.on_record)throw new ac("CSV_INVALID_OPTION_ON_RECORD",["Invalid option `on_record`:","expect a function,",`got ${JSON.stringify(t.on_record)}`],t);if(void 0!==t.on_skip&&null!==t.on_skip&&"function"!=typeof t.on_skip)throw new Error(`Invalid Option: on_skip must be a function, got ${JSON.stringify(t.on_skip)}`);if(null===t.quote||!1===t.quote||""===t.quote)t.quote=null;else if(void 0===t.quote||!0===t.quote?t.quote=xs.from('"',t.encoding):"string"==typeof t.quote&&(t.quote=xs.from(t.quote,t.encoding)),!nc(t.quote))throw new Error(`Invalid Option: quote must be a buffer or a string, got ${JSON.stringify(t.quote)}`);if(void 0===t.raw||null===t.raw||!1===t.raw)t.raw=!1;else if(!0!==t.raw)throw new Error(`Invalid Option: raw must be true, got ${JSON.stringify(t.raw)}`);if(void 0===t.record_delimiter)t.record_delimiter=[];else if("string"==typeof t.record_delimiter||nc(t.record_delimiter)){if(0===t.record_delimiter.length)throw new ac("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer,",`got ${JSON.stringify(t.record_delimiter)}`],t);t.record_delimiter=[t.record_delimiter]}else if(!Array.isArray(t.record_delimiter))throw new ac("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer,",`got ${JSON.stringify(t.record_delimiter)}`],t);if(t.record_delimiter=t.record_delimiter.map((function(e,n){if("string"!=typeof e&&!nc(e))throw new ac("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer",`at index ${n},`,`got ${JSON.stringify(e)}`],t);if(0===e.length)throw new ac("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer",`at index ${n},`,`got ${JSON.stringify(e)}`],t);return"string"==typeof e&&(e=xs.from(e,t.encoding)),e})),"boolean"==typeof t.relax_column_count);else{if(void 0!==t.relax_column_count&&null!==t.relax_column_count)throw new Error(`Invalid Option: relax_column_count must be a boolean, got ${JSON.stringify(t.relax_column_count)}`);t.relax_column_count=!1}if("boolean"==typeof t.relax_column_count_less);else{if(void 0!==t.relax_column_count_less&&null!==t.relax_column_count_less)throw new Error(`Invalid Option: relax_column_count_less must be a boolean, got ${JSON.stringify(t.relax_column_count_less)}`);t.relax_column_count_less=!1}if("boolean"==typeof t.relax_column_count_more);else{if(void 0!==t.relax_column_count_more&&null!==t.relax_column_count_more)throw new Error(`Invalid Option: relax_column_count_more must be a boolean, got ${JSON.stringify(t.relax_column_count_more)}`);t.relax_column_count_more=!1}if("boolean"==typeof t.relax_quotes);else{if(void 0!==t.relax_quotes&&null!==t.relax_quotes)throw new Error(`Invalid Option: relax_quotes must be a boolean, got ${JSON.stringify(t.relax_quotes)}`);t.relax_quotes=!1}if("boolean"==typeof t.skip_empty_lines);else{if(void 0!==t.skip_empty_lines&&null!==t.skip_empty_lines)throw new Error(`Invalid Option: skip_empty_lines must be a boolean, got ${JSON.stringify(t.skip_empty_lines)}`);t.skip_empty_lines=!1}if("boolean"==typeof t.skip_records_with_empty_values);else{if(void 0!==t.skip_records_with_empty_values&&null!==t.skip_records_with_empty_values)throw new Error(`Invalid Option: skip_records_with_empty_values must be a boolean, got ${JSON.stringify(t.skip_records_with_empty_values)}`);t.skip_records_with_empty_values=!1}if("boolean"==typeof t.skip_records_with_error);else{if(void 0!==t.skip_records_with_error&&null!==t.skip_records_with_error)throw new Error(`Invalid Option: skip_records_with_error must be a boolean, got ${JSON.stringify(t.skip_records_with_error)}`);t.skip_records_with_error=!1}if(void 0===t.rtrim||null===t.rtrim||!1===t.rtrim)t.rtrim=!1;else if(!0!==t.rtrim)throw new Error(`Invalid Option: rtrim must be a boolean, got ${JSON.stringify(t.rtrim)}`);if(void 0===t.ltrim||null===t.ltrim||!1===t.ltrim)t.ltrim=!1;else if(!0!==t.ltrim)throw new Error(`Invalid Option: ltrim must be a boolean, got ${JSON.stringify(t.ltrim)}`);if(void 0===t.trim||null===t.trim||!1===t.trim)t.trim=!1;else if(!0!==t.trim)throw new Error(`Invalid Option: trim must be a boolean, got ${JSON.stringify(t.trim)}`);if(!0===t.trim&&!1!==e.ltrim?t.ltrim=!0:!0!==t.ltrim&&(t.ltrim=!1),!0===t.trim&&!1!==e.rtrim?t.rtrim=!0:!0!==t.rtrim&&(t.rtrim=!1),void 0===t.to||null===t.to)t.to=-1;else if(-1!==t.to){if("string"==typeof t.to&&/\d+/.test(t.to)&&(t.to=parseInt(t.to)),!Number.isInteger(t.to))throw new Error(`Invalid Option: to must be an integer, got ${JSON.stringify(e.to)}`);if(t.to<=0)throw new Error(`Invalid Option: to must be a positive integer greater than 0, got ${JSON.stringify(e.to)}`)}if(void 0===t.to_line||null===t.to_line)t.to_line=-1;else if(-1!==t.to_line){if("string"==typeof t.to_line&&/\d+/.test(t.to_line)&&(t.to_line=parseInt(t.to_line)),!Number.isInteger(t.to_line))throw new Error(`Invalid Option: to_line must be an integer, got ${JSON.stringify(e.to_line)}`);if(t.to_line<=0)throw new Error(`Invalid Option: to_line must be a positive integer greater than 0, got ${JSON.stringify(e.to_line)}`)}return t},cc=function(e){return e.every((e=>null==e||e.toString&&""===e.toString().trim()))},uc={utf8:xs.from([239,187,191]),utf16le:xs.from([255,254])},dc=function(e,t={}){"string"==typeof e&&(e=xs.from(e));const n=t&&t.objname?{}:[],r=function(e={}){const t=sc(e);return{info:{bytes:0,comment_lines:0,empty_lines:0,invalid_field_length:0,lines:1,records:0},original_options:e,options:t,state:lc(t),__needMoreData:function(e,t,n){if(n)return!1;const{encoding:r,escape:a,quote:i}=this.options,{quoting:o,needMoreDataSize:l,recordDelimiterMaxLength:s}=this.state;return t-e-1<Math.max(l,0===s?xs.from("\r\n",r).length:s,o?(null===a?0:a.length)+i.length:0,o?i.length+s:0)},parse:function(e,t,n,r){const{bom:a,comment_no_infix:i,encoding:o,from_line:l,ltrim:s,max_record_size:c,raw:u,relax_quotes:d,rtrim:p,skip_empty_lines:f,to:m,to_line:h}=this.options;let{comment:g,escape:b,quote:v,record_delimiter:x}=this.options;const{bomSkipped:y,previousBuf:w,rawBuffer:C,escapeIsQuote:E}=this.state;let I;if(void 0===w){if(void 0===e)return void r();I=e}else I=void 0!==w&&void 0===e?w:xs.concat([w,e]);if(!1===y)if(!1===a)this.state.bomSkipped=!0;else if(I.length<3){if(!1===t)return void(this.state.previousBuf=I)}else{for(const e in uc)if(0===uc[e].compare(I,0,uc[e].length)){const t=uc[e].length;this.state.bufBytesStart+=t,I=I.slice(t);const n=sc({...this.original_options,encoding:e});for(const e in n)this.options[e]=n[e];({comment:g,escape:b,quote:v}=this.options);break}this.state.bomSkipped=!0}const k=I.length;let M;for(M=0;M<k&&!this.__needMoreData(M,k,t);M++){if(!0===this.state.wasRowDelimiter&&(this.info.lines++,this.state.wasRowDelimiter=!1),-1!==h&&this.info.lines>h)return this.state.stop=!0,void r();!1===this.state.quoting&&0===x.length&&this.__autoDiscoverRecordDelimiter(I,M)&&(x=this.options.record_delimiter);const e=I[M];if(!0===u&&C.append(e),13!==e&&10!==e||!1!==this.state.wasRowDelimiter||(this.state.wasRowDelimiter=!0),!0===this.state.escaping)this.state.escaping=!1;else{if(null!==b&&!0===this.state.quoting&&this.__isEscape(I,M,e)&&M+b.length<k){if(!E){this.state.escaping=!0,M+=b.length-1;continue}if(this.__isQuote(I,M+b.length)){this.state.escaping=!0,M+=b.length-1;continue}}if(!1===this.state.commenting&&this.__isQuote(I,M))if(!0===this.state.quoting){const t=I[M+v.length],n=p&&this.__isCharTrimable(I,M+v.length),r=null!==g&&this.__compareBytes(g,I,M+v.length,t),a=this.__isDelimiter(I,M+v.length,t),i=0===x.length?this.__autoDiscoverRecordDelimiter(I,M+v.length):this.__isRecordDelimiter(t,I,M+v.length);if(null!==b&&this.__isEscape(I,M,e)&&this.__isQuote(I,M+b.length))M+=b.length-1;else{if(!t||a||i||r||n){this.state.quoting=!1,this.state.wasQuoting=!0,M+=v.length-1;continue}if(!1===d){const e=this.__error(new ac("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(t)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(void 0!==e)return e}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(v),M+=v.length-1}}else{if(0===this.state.field.length){this.state.quoting=!0,M+=v.length-1;continue}if(!1===d){const e=this.__infoField(),t=Object.keys(uc).map((e=>!!uc[e].equals(this.state.field.toString())&&e)).filter(Boolean)[0],n=this.__error(new ac("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(e.column)} at line ${e.lines}, value is ${JSON.stringify(this.state.field.toString(o))}`,t?`(${t} bom)`:void 0],this.options,e,{field:this.state.field}));if(void 0!==n)return n}}if(!1===this.state.quoting){const t=this.__isRecordDelimiter(e,I,M);if(0!==t){if(this.state.commenting&&!1===this.state.wasQuoting&&0===this.state.record.length&&0===this.state.field.length)this.info.comment_lines++;else{if(!1===this.state.enabled&&this.info.lines+(!0===this.state.wasRowDelimiter?1:0)>=l){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),M+=t-1;continue}if(!0===f&&!1===this.state.wasQuoting&&0===this.state.record.length&&0===this.state.field.length){this.info.empty_lines++,M+=t-1;continue}this.info.bytes=this.state.bufBytesStart+M;const e=this.__onField();if(void 0!==e)return e;this.info.bytes=this.state.bufBytesStart+M+t;const a=this.__onRecord(n);if(void 0!==a)return a;if(-1!==m&&this.info.records>=m)return this.state.stop=!0,void r()}this.state.commenting=!1,M+=t-1;continue}if(this.state.commenting)continue;if(null!==g&&(!1===i||0===this.state.record.length&&0===this.state.field.length)&&0!==this.__compareBytes(g,I,M,e)){this.state.commenting=!0;continue}const a=this.__isDelimiter(I,M,e);if(0!==a){this.info.bytes=this.state.bufBytesStart+M;const e=this.__onField();if(void 0!==e)return e;M+=a-1;continue}}}if(!1===this.state.commenting&&0!==c&&this.state.record_length+this.state.field.length>c)return this.__error(new ac("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${c}`,`at line ${this.info.lines}`],this.options,this.__infoField()));const t=!1===s||!0===this.state.quoting||0!==this.state.field.length||!this.__isCharTrimable(I,M),a=!1===p||!1===this.state.wasQuoting;if(!0!==t||!0!==a){if(!0!==p||this.__isCharTrimable(I,M)){!1===t&&(M+=this.__isCharTrimable(I,M)-1);continue}return this.__error(new ac("CSV_NON_TRIMABLE_CHAR_AFTER_CLOSING_QUOTE",["Invalid Closing Quote:","found non trimable byte after quote",`at line ${this.info.lines}`],this.options,this.__infoField()))}this.state.field.append(e)}if(!0===t)if(!0===this.state.quoting){const e=this.__error(new ac("CSV_QUOTE_NOT_CLOSED",["Quote Not Closed:",`the parsing is finished with an opening quote at line ${this.info.lines}`],this.options,this.__infoField()));if(void 0!==e)return e}else if(!0===this.state.wasQuoting||0!==this.state.record.length||0!==this.state.field.length){this.info.bytes=this.state.bufBytesStart+M;const e=this.__onField();if(void 0!==e)return e;const t=this.__onRecord(n);if(void 0!==t)return t}else!0===this.state.wasRowDelimiter?this.info.empty_lines++:!0===this.state.commenting&&this.info.comment_lines++;else this.state.bufBytesStart+=M,this.state.previousBuf=I.slice(M);!0===this.state.wasRowDelimiter&&(this.info.lines++,this.state.wasRowDelimiter=!1)},__onRecord:function(e){const{columns:t,group_columns_by_name:n,encoding:r,info:a,from:i,relax_column_count:o,relax_column_count_less:l,relax_column_count_more:s,raw:c,skip_records_with_empty_values:u}=this.options,{enabled:d,record:p}=this.state;if(!1===d)return this.__resetRecord();const f=p.length;if(!0===t)return!0===u&&cc(p)?void this.__resetRecord():this.__firstLineToColumns(p);if(!1===t&&0===this.info.records&&(this.state.expectedRecordLength=f),f!==this.state.expectedRecordLength){const e=!1===t?new ac("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${f} on line ${this.info.lines}`],this.options,this.__infoField(),{record:p}):new ac("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${t.length},`,`got ${f} on line ${this.info.lines}`],this.options,this.__infoField(),{record:p});if(!0===o||!0===l&&f<this.state.expectedRecordLength||!0===s&&f>this.state.expectedRecordLength)this.info.invalid_field_length++,this.state.error=e;else{const t=this.__error(e);if(t)return t}}if(!0===u&&cc(p))this.__resetRecord();else{if(!0===this.state.recordHasError)return this.__resetRecord(),void(this.state.recordHasError=!1);if(this.info.records++,1===i||this.info.records>=i){const{objname:i}=this.options;if(!1!==t){const o={};for(let e=0,r=p.length;e<r;e++)void 0===t[e]||t[e].disabled||(!0===n&&void 0!==o[t[e].name]?Array.isArray(o[t[e].name])?o[t[e].name]=o[t[e].name].concat(p[e]):o[t[e].name]=[o[t[e].name],p[e]]:o[t[e].name]=p[e]);if(!0===c||!0===a){const t=Object.assign({record:o},!0===c?{raw:this.state.rawBuffer.toString(r)}:{},!0===a?{info:this.__infoRecord()}:{}),n=this.__push(void 0===i?t:[o[i],t],e);if(n)return n}else{const t=this.__push(void 0===i?o:[o[i],o],e);if(t)return t}}else if(!0===c||!0===a){const t=Object.assign({record:p},!0===c?{raw:this.state.rawBuffer.toString(r)}:{},!0===a?{info:this.__infoRecord()}:{}),n=this.__push(void 0===i?t:[p[i],t],e);if(n)return n}else{const t=this.__push(void 0===i?p:[p[i],p],e);if(t)return t}}this.__resetRecord()}},__firstLineToColumns:function(e){const{firstLineToHeaders:t}=this.state;try{const n=void 0===t?e:t.call(null,e);if(!Array.isArray(n))return this.__error(new ac("CSV_INVALID_COLUMN_MAPPING",["Invalid Column Mapping:","expect an array from column function,",`got ${JSON.stringify(n)}`],this.options,this.__infoField(),{headers:n}));const r=ic(n);return this.state.expectedRecordLength=r.length,this.options.columns=r,void this.__resetRecord()}catch(e){return e}},__resetRecord:function(){!0===this.options.raw&&this.state.rawBuffer.reset(),this.state.error=void 0,this.state.record=[],this.state.record_length=0},__onField:function(){const{cast:e,encoding:t,rtrim:n,max_record_size:r}=this.options,{enabled:a,wasQuoting:i}=this.state;if(!1===a)return this.__resetField();let o=this.state.field.toString(t);if(!0===n&&!1===i&&(o=o.trimRight()),!0===e){const[e,t]=this.__cast(o);if(void 0!==e)return e;o=t}this.state.record.push(o),0!==r&&"string"==typeof o&&(this.state.record_length+=o.length),this.__resetField()},__resetField:function(){this.state.field.reset(),this.state.wasQuoting=!1},__push:function(e,t){const{on_record:n}=this.options;if(void 0!==n){const t=this.__infoRecord();try{e=n.call(null,e,t)}catch(e){return e}if(null==e)return}t(e)},__cast:function(e){const{columns:t,relax_column_count:n}=this.options;if(!0===Array.isArray(t)&&n&&this.options.columns.length<=this.state.record.length)return[void 0,void 0];if(null!==this.state.castField)try{const t=this.__infoField();return[void 0,this.state.castField.call(null,e,t)]}catch(e){return[e]}if(this.__isFloat(e))return[void 0,parseFloat(e)];if(!1!==this.options.cast_date){const t=this.__infoField();return[void 0,this.options.cast_date.call(null,e,t)]}return[void 0,e]},__isCharTrimable:function(e,t){return((e,t)=>{const{timchars:n}=this.state;e:for(let r=0;r<n.length;r++){const a=n[r];for(let n=0;n<a.length;n++)if(a[n]!==e[t+n])continue e;return a.length}return 0})(e,t)},__isFloat:function(e){return e-parseFloat(e)+1>=0},__compareBytes:function(e,t,n,r){if(e[0]!==r)return 0;const a=e.length;for(let r=1;r<a;r++)if(e[r]!==t[n+r])return 0;return a},__isDelimiter:function(e,t,n){const{delimiter:r,ignore_last_delimiters:a}=this.options;if(!0===a&&this.state.record.length===this.options.columns.length-1)return 0;if(!1!==a&&"number"==typeof a&&this.state.record.length===a-1)return 0;e:for(let a=0;a<r.length;a++){const i=r[a];if(i[0]===n){for(let n=1;n<i.length;n++)if(i[n]!==e[t+n])continue e;return i.length}}return 0},__isRecordDelimiter:function(e,t,n){const{record_delimiter:r}=this.options,a=r.length;e:for(let i=0;i<a;i++){const a=r[i],o=a.length;if(a[0]===e){for(let e=1;e<o;e++)if(a[e]!==t[n+e])continue e;return a.length}}return 0},__isEscape:function(e,t,n){const{escape:r}=this.options;if(null===r)return!1;const a=r.length;if(r[0]===n){for(let n=0;n<a;n++)if(r[n]!==e[t+n])return!1;return!0}return!1},__isQuote:function(e,t){const{quote:n}=this.options;if(null===n)return!1;const r=n.length;for(let a=0;a<r;a++)if(n[a]!==e[t+a])return!1;return!0},__autoDiscoverRecordDelimiter:function(e,t){const{encoding:n}=this.options,r=[xs.from("\r\n",n),xs.from("\n",n),xs.from("\r",n)];e:for(let n=0;n<r.length;n++){const a=r[n].length;for(let i=0;i<a;i++)if(r[n][i]!==e[t+i])continue e;return this.options.record_delimiter.push(r[n]),this.state.recordDelimiterMaxLength=r[n].length,r[n].length}return 0},__error:function(e){const{encoding:t,raw:n,skip_records_with_error:r}=this.options,a="string"==typeof e?new Error(e):e;if(!r)return a;if(this.state.recordHasError=!0,void 0!==this.options.on_skip)try{this.options.on_skip(a,n?this.state.rawBuffer.toString(t):void 0)}catch(a){return a}},__infoDataSet:function(){return{...this.info,columns:this.options.columns}},__infoRecord:function(){const{columns:e,raw:t,encoding:n}=this.options;return{...this.__infoDataSet(),error:this.state.error,header:!0===e,index:this.state.record.length,raw:t?this.state.rawBuffer.toString(n):void 0}},__infoField:function(){const{columns:e}=this.options,t=Array.isArray(e);return{...this.__infoRecord(),column:!0===t?e.length>this.state.record.length?e[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}}}}(t),a=r.parse(e,!0,(e=>{void 0===r.options.objname?n.push(e):n[e[0]]=e[1]}),(()=>{}));if(void 0!==a)throw a;return n},pc=e=>{var t;const n=e.trim();if(!n)return[];let r;const a=n.includes(","),i=n.startsWith('"')&&n.endsWith('"');if(a||i)try{r=null!==(t=dc(n,{columns:!1})[0])&&void 0!==t?t:[]}catch(e){r=n.split(",")}else r=[n];return r.filter((e=>e&&"string"==typeof e)).map((e=>e.trim())).filter((e=>e))},fc=o.default.div`
756
+ `,Ul=i.forwardRef((function({width:e="50px"},t){const n=w();return i.createElement(Wl,{ref:t,width:e},i.createElement(Yl,{viewBox:"25 25 50 50"},i.createElement(Xl,{cx:"50",cy:"50",r:"20",stroke:n.palette.neutral.softLight}),i.createElement(Jl,{cx:"50",cy:"50",r:"20",stroke:n.palette.primary.base})))})),Ql={small:"28px",medium:"32px",large:"40px"},ql={small:`${T.sm}px`,medium:`${T.md}px`,large:`${T.xl}px`},Kl={small:"4px",medium:"6px",large:"6px"},es={small:"6px",medium:"8px",large:"10px"},ts=i.forwardRef((function(e,t){var{component:n,children:r,color:a="primary",textColor:o,inline:l=!0,size:c="medium",icon:u,loading:d}=e,p=s(e,["component","children","color","textColor","inline","size","icon","loading"]);const f=(e=>({primary:{normal:{background:e.palette.primary.base,color:e.palette.text.white,boxShadow:e.shadow["3dShadowPrimary"],border:`1px solid ${e.palette.primary.dark}`},hover:{background:e.palette.primary.dark,border:"none"},active:{background:e.palette.primary.dark,boxShadow:e.shadow["3dShadowActive"],border:"none"}},secondaryLight:{normal:{background:e.palette.background.default,color:e.palette.black,boxShadow:e.shadow["3dShadowBasic"],border:`1px solid ${e.palette.divider}`},hover:{background:e.palette.neutral.highlight,border:`1px solid ${e.palette.divider}`},active:{background:e.palette.neutral.highlight,boxShadow:e.shadow["3dShadowActive"],border:`1px solid ${e.palette.divider}`}},secondaryDark:{normal:{background:e.palette.neutral.highlight,color:e.palette.black,boxShadow:e.shadow["3dShadowBasic"],border:`1px solid ${e.palette.divider}`},hover:{background:e.palette.neutral.softLight,border:"none"},active:{background:e.palette.neutral.softLight,boxShadow:e.shadow["3dShadowBasicActive"],border:"none"}},danger:{normal:{background:e.palette.danger.base,color:e.palette.text.white,boxShadow:e.shadow["3dShadowDanger"],border:`1px solid ${e.palette.danger.dark}`},hover:{background:e.palette.danger.dark,border:"none"},active:{background:e.palette.danger.dark,boxShadow:e.shadow["3dShadowActive"],border:"none"}},clear:{normal:{background:"none",color:e.palette.black,boxShadow:"none",border:"none"},hover:{background:e.palette.neutral.softLight,border:"none"},active:{background:e.palette.neutral.lighter,boxShadow:"none",border:"none"}},primarySubtle:{normal:{background:e.palette.primary.ultraLight,color:e.palette.primary.dark,boxShadow:e.shadow["3dShadowPrimarySubtle"],border:`1px solid ${e.palette.primary.softLight}`},hover:{background:e.palette.primary.highlight,border:"none"},active:{background:e.palette.primary.highlight,boxShadow:e.shadow["3dShadowPrimarySubtleActive"],border:"none"}}}))(w())[a],m=!!d,h="string"==typeof d?d:d?"Loading...":void 0,g=i.useMemo((()=>({small:"16px",medium:"18px",large:"20px"}[c])),[c]),b=i.useMemo((()=>m?i.createElement(Ul,{width:g}):null),[m,g]),v=!!u,x=!!r,y=m?v?b:void 0:u,C=m?!v&&x||v&&x?h:void 0:r,E=(()=>{if("string"==typeof p.href){const{href:e,target:t,rel:r}=p;return{as:n||"a",href:e,target:t,rel:r}}return{}})();return i.createElement(_l,Object.assign({ref:t},p,{as:n||"button"},E,{size:c,inline:l,paddingInline:es[c],normal:f.normal,hover:f.hover,active:f.active,borderRadius:Kl[c],fontSize:ql[c],height:Ql[c],color:a,disabled:p.disabled||m}),y,y&&C&&i.createElement(Fl,{pr:.5}),C&&i.createElement(Bl,{$textColor:o},C))})),ns={1955:"国民の祝日・休日月日,国民の祝日・休日名称\n1955/1/1,元日\n1955/1/15,成人の日\n1955/3/21,春分の日\n1955/4/29,天皇誕生日\n1955/5/3,憲法記念日\n1955/5/5,こどもの日\n1955/9/24,秋分の日\n1955/11/3,文化の日\n1955/11/23,勤労感謝の日",1956:"国民の祝日・休日月日,国民の祝日・休日名称\n1956/1/1,元日\n1956/1/15,成人の日\n1956/3/21,春分の日\n1956/4/29,天皇誕生日\n1956/5/3,憲法記念日\n1956/5/5,こどもの日\n1956/9/23,秋分の日\n1956/11/3,文化の日\n1956/11/23,勤労感謝の日",1957:"国民の祝日・休日月日,国民の祝日・休日名称\n1957/1/1,元日\n1957/1/15,成人の日\n1957/3/21,春分の日\n1957/4/29,天皇誕生日\n1957/5/3,憲法記念日\n1957/5/5,こどもの日\n1957/9/23,秋分の日\n1957/11/3,文化の日\n1957/11/23,勤労感謝の日",1958:"国民の祝日・休日月日,国民の祝日・休日名称\n1958/1/1,元日\n1958/1/15,成人の日\n1958/3/21,春分の日\n1958/4/29,天皇誕生日\n1958/5/3,憲法記念日\n1958/5/5,こどもの日\n1958/9/23,秋分の日\n1958/11/3,文化の日\n1958/11/23,勤労感謝の日",1959:"国民の祝日・休日月日,国民の祝日・休日名称\n1959/1/1,元日\n1959/1/15,成人の日\n1959/3/21,春分の日\n1959/4/10,結婚の儀\n1959/4/29,天皇誕生日\n1959/5/3,憲法記念日\n1959/5/5,こどもの日\n1959/9/24,秋分の日\n1959/11/3,文化の日\n1959/11/23,勤労感謝の日",1960:"国民の祝日・休日月日,国民の祝日・休日名称\n1960/1/1,元日\n1960/1/15,成人の日\n1960/3/20,春分の日\n1960/4/29,天皇誕生日\n1960/5/3,憲法記念日\n1960/5/5,こどもの日\n1960/9/23,秋分の日\n1960/11/3,文化の日\n1960/11/23,勤労感謝の日",1961:"国民の祝日・休日月日,国民の祝日・休日名称\n1961/1/1,元日\n1961/1/15,成人の日\n1961/3/21,春分の日\n1961/4/29,天皇誕生日\n1961/5/3,憲法記念日\n1961/5/5,こどもの日\n1961/9/23,秋分の日\n1961/11/3,文化の日\n1961/11/23,勤労感謝の日",1962:"国民の祝日・休日月日,国民の祝日・休日名称\n1962/1/1,元日\n1962/1/15,成人の日\n1962/3/21,春分の日\n1962/4/29,天皇誕生日\n1962/5/3,憲法記念日\n1962/5/5,こどもの日\n1962/9/23,秋分の日\n1962/11/3,文化の日\n1962/11/23,勤労感謝の日",1963:"国民の祝日・休日月日,国民の祝日・休日名称\n1963/1/1,元日\n1963/1/15,成人の日\n1963/3/21,春分の日\n1963/4/29,天皇誕生日\n1963/5/3,憲法記念日\n1963/5/5,こどもの日\n1963/9/24,秋分の日\n1963/11/3,文化の日\n1963/11/23,勤労感謝の日",1964:"国民の祝日・休日月日,国民の祝日・休日名称\n1964/1/1,元日\n1964/1/15,成人の日\n1964/3/20,春分の日\n1964/4/29,天皇誕生日\n1964/5/3,憲法記念日\n1964/5/5,こどもの日\n1964/9/23,秋分の日\n1964/11/3,文化の日\n1964/11/23,勤労感謝の日",1965:"国民の祝日・休日月日,国民の祝日・休日名称\n1965/1/1,元日\n1965/1/15,成人の日\n1965/3/21,春分の日\n1965/4/29,天皇誕生日\n1965/5/3,憲法記念日\n1965/5/5,こどもの日\n1965/9/23,秋分の日\n1965/11/3,文化の日\n1965/11/23,勤労感謝の日",1966:"国民の祝日・休日月日,国民の祝日・休日名称\n1966/1/1,元日\n1966/1/15,成人の日\n1966/3/21,春分の日\n1966/4/29,天皇誕生日\n1966/5/3,憲法記念日\n1966/5/5,こどもの日\n1966/9/15,敬老の日\n1966/9/23,秋分の日\n1966/10/10,体育の日\n1966/11/3,文化の日\n1966/11/23,勤労感謝の日",1967:"国民の祝日・休日月日,国民の祝日・休日名称\n1967/1/1,元日\n1967/1/15,成人の日\n1967/2/11,建国記念の日\n1967/3/21,春分の日\n1967/4/29,天皇誕生日\n1967/5/3,憲法記念日\n1967/5/5,こどもの日\n1967/9/15,敬老の日\n1967/9/24,秋分の日\n1967/10/10,体育の日\n1967/11/3,文化の日\n1967/11/23,勤労感謝の日",1968:"国民の祝日・休日月日,国民の祝日・休日名称\n1968/1/1,元日\n1968/1/15,成人の日\n1968/2/11,建国記念の日\n1968/3/20,春分の日\n1968/4/29,天皇誕生日\n1968/5/3,憲法記念日\n1968/5/5,こどもの日\n1968/9/15,敬老の日\n1968/9/23,秋分の日\n1968/10/10,体育の日\n1968/11/3,文化の日\n1968/11/23,勤労感謝の日",1969:"国民の祝日・休日月日,国民の祝日・休日名称\n1969/1/1,元日\n1969/1/15,成人の日\n1969/2/11,建国記念の日\n1969/3/21,春分の日\n1969/4/29,天皇誕生日\n1969/5/3,憲法記念日\n1969/5/5,こどもの日\n1969/9/15,敬老の日\n1969/9/23,秋分の日\n1969/10/10,体育の日\n1969/11/3,文化の日\n1969/11/23,勤労感謝の日",1970:"国民の祝日・休日月日,国民の祝日・休日名称\n1970/1/1,元日\n1970/1/15,成人の日\n1970/2/11,建国記念の日\n1970/3/21,春分の日\n1970/4/29,天皇誕生日\n1970/5/3,憲法記念日\n1970/5/5,こどもの日\n1970/9/15,敬老の日\n1970/9/23,秋分の日\n1970/10/10,体育の日\n1970/11/3,文化の日\n1970/11/23,勤労感謝の日",1971:"国民の祝日・休日月日,国民の祝日・休日名称\n1971/1/1,元日\n1971/1/15,成人の日\n1971/2/11,建国記念の日\n1971/3/21,春分の日\n1971/4/29,天皇誕生日\n1971/5/3,憲法記念日\n1971/5/5,こどもの日\n1971/9/15,敬老の日\n1971/9/24,秋分の日\n1971/10/10,体育の日\n1971/11/3,文化の日\n1971/11/23,勤労感謝の日",1972:"国民の祝日・休日月日,国民の祝日・休日名称\n1972/1/1,元日\n1972/1/15,成人の日\n1972/2/11,建国記念の日\n1972/3/20,春分の日\n1972/4/29,天皇誕生日\n1972/5/3,憲法記念日\n1972/5/5,こどもの日\n1972/9/15,敬老の日\n1972/9/23,秋分の日\n1972/10/10,体育の日\n1972/11/3,文化の日\n1972/11/23,勤労感謝の日",1973:"国民の祝日・休日月日,国民の祝日・休日名称\n1973/1/1,元日\n1973/1/15,成人の日\n1973/2/11,建国記念の日\n1973/3/21,春分の日\n1973/4/29,天皇誕生日\n1973/4/30,休日\n1973/5/3,憲法記念日\n1973/5/5,こどもの日\n1973/9/15,敬老の日\n1973/9/23,秋分の日\n1973/9/24,休日\n1973/10/10,体育の日\n1973/11/3,文化の日\n1973/11/23,勤労感謝の日",1974:"国民の祝日・休日月日,国民の祝日・休日名称\n1974/1/1,元日\n1974/1/15,成人の日\n1974/2/11,建国記念の日\n1974/3/21,春分の日\n1974/4/29,天皇誕生日\n1974/5/3,憲法記念日\n1974/5/5,こどもの日\n1974/5/6,休日\n1974/9/15,敬老の日\n1974/9/16,休日\n1974/9/23,秋分の日\n1974/10/10,体育の日\n1974/11/3,文化の日\n1974/11/4,休日\n1974/11/23,勤労感謝の日",1975:"国民の祝日・休日月日,国民の祝日・休日名称\n1975/1/1,元日\n1975/1/15,成人の日\n1975/2/11,建国記念の日\n1975/3/21,春分の日\n1975/4/29,天皇誕生日\n1975/5/3,憲法記念日\n1975/5/5,こどもの日\n1975/9/15,敬老の日\n1975/9/24,秋分の日\n1975/10/10,体育の日\n1975/11/3,文化の日\n1975/11/23,勤労感謝の日\n1975/11/24,休日",1976:"国民の祝日・休日月日,国民の祝日・休日名称\n1976/1/1,元日\n1976/1/15,成人の日\n1976/2/11,建国記念の日\n1976/3/20,春分の日\n1976/4/29,天皇誕生日\n1976/5/3,憲法記念日\n1976/5/5,こどもの日\n1976/9/15,敬老の日\n1976/9/23,秋分の日\n1976/10/10,体育の日\n1976/10/11,休日\n1976/11/3,文化の日\n1976/11/23,勤労感謝の日",1977:"国民の祝日・休日月日,国民の祝日・休日名称\n1977/1/1,元日\n1977/1/15,成人の日\n1977/2/11,建国記念の日\n1977/3/21,春分の日\n1977/4/29,天皇誕生日\n1977/5/3,憲法記念日\n1977/5/5,こどもの日\n1977/9/15,敬老の日\n1977/9/23,秋分の日\n1977/10/10,体育の日\n1977/11/3,文化の日\n1977/11/23,勤労感謝の日",1978:"国民の祝日・休日月日,国民の祝日・休日名称\n1978/1/1,元日\n1978/1/2,休日\n1978/1/15,成人の日\n1978/1/16,休日\n1978/2/11,建国記念の日\n1978/3/21,春分の日\n1978/4/29,天皇誕生日\n1978/5/3,憲法記念日\n1978/5/5,こどもの日\n1978/9/15,敬老の日\n1978/9/23,秋分の日\n1978/10/10,体育の日\n1978/11/3,文化の日\n1978/11/23,勤労感謝の日",1979:"国民の祝日・休日月日,国民の祝日・休日名称\n1979/1/1,元日\n1979/1/15,成人の日\n1979/2/11,建国記念の日\n1979/2/12,休日\n1979/3/21,春分の日\n1979/4/29,天皇誕生日\n1979/4/30,休日\n1979/5/3,憲法記念日\n1979/5/5,こどもの日\n1979/9/15,敬老の日\n1979/9/24,秋分の日\n1979/10/10,体育の日\n1979/11/3,文化の日\n1979/11/23,勤労感謝の日",1980:"国民の祝日・休日月日,国民の祝日・休日名称\n1980/1/1,元日\n1980/1/15,成人の日\n1980/2/11,建国記念の日\n1980/3/20,春分の日\n1980/4/29,天皇誕生日\n1980/5/3,憲法記念日\n1980/5/5,こどもの日\n1980/9/15,敬老の日\n1980/9/23,秋分の日\n1980/10/10,体育の日\n1980/11/3,文化の日\n1980/11/23,勤労感謝の日\n1980/11/24,休日",1981:"国民の祝日・休日月日,国民の祝日・休日名称\n1981/1/1,元日\n1981/1/15,成人の日\n1981/2/11,建国記念の日\n1981/3/21,春分の日\n1981/4/29,天皇誕生日\n1981/5/3,憲法記念日\n1981/5/4,休日\n1981/5/5,こどもの日\n1981/9/15,敬老の日\n1981/9/23,秋分の日\n1981/10/10,体育の日\n1981/11/3,文化の日\n1981/11/23,勤労感謝の日",1982:"国民の祝日・休日月日,国民の祝日・休日名称\n1982/1/1,元日\n1982/1/15,成人の日\n1982/2/11,建国記念の日\n1982/3/21,春分の日\n1982/3/22,休日\n1982/4/29,天皇誕生日\n1982/5/3,憲法記念日\n1982/5/5,こどもの日\n1982/9/15,敬老の日\n1982/9/23,秋分の日\n1982/10/10,体育の日\n1982/10/11,休日\n1982/11/3,文化の日\n1982/11/23,勤労感謝の日",1983:"国民の祝日・休日月日,国民の祝日・休日名称\n1983/1/1,元日\n1983/1/15,成人の日\n1983/2/11,建国記念の日\n1983/3/21,春分の日\n1983/4/29,天皇誕生日\n1983/5/3,憲法記念日\n1983/5/5,こどもの日\n1983/9/15,敬老の日\n1983/9/23,秋分の日\n1983/10/10,体育の日\n1983/11/3,文化の日\n1983/11/23,勤労感謝の日",1984:"国民の祝日・休日月日,国民の祝日・休日名称\n1984/1/1,元日\n1984/1/2,休日\n1984/1/15,成人の日\n1984/1/16,休日\n1984/2/11,建国記念の日\n1984/3/20,春分の日\n1984/4/29,天皇誕生日\n1984/4/30,休日\n1984/5/3,憲法記念日\n1984/5/5,こどもの日\n1984/9/15,敬老の日\n1984/9/23,秋分の日\n1984/9/24,休日\n1984/10/10,体育の日\n1984/11/3,文化の日\n1984/11/23,勤労感謝の日",1985:"国民の祝日・休日月日,国民の祝日・休日名称\n1985/1/1,元日\n1985/1/15,成人の日\n1985/2/11,建国記念の日\n1985/3/21,春分の日\n1985/4/29,天皇誕生日\n1985/5/3,憲法記念日\n1985/5/5,こどもの日\n1985/5/6,休日\n1985/9/15,敬老の日\n1985/9/16,休日\n1985/9/23,秋分の日\n1985/10/10,体育の日\n1985/11/3,文化の日\n1985/11/4,休日\n1985/11/23,勤労感謝の日",1986:"国民の祝日・休日月日,国民の祝日・休日名称\n1986/1/1,元日\n1986/1/15,成人の日\n1986/2/11,建国記念の日\n1986/3/21,春分の日\n1986/4/29,天皇誕生日\n1986/5/3,憲法記念日\n1986/5/5,こどもの日\n1986/9/15,敬老の日\n1986/9/23,秋分の日\n1986/10/10,体育の日\n1986/11/3,文化の日\n1986/11/23,勤労感謝の日\n1986/11/24,休日",1987:"国民の祝日・休日月日,国民の祝日・休日名称\n1987/1/1,元日\n1987/1/15,成人の日\n1987/2/11,建国記念の日\n1987/3/21,春分の日\n1987/4/29,天皇誕生日\n1987/5/3,憲法記念日\n1987/5/4,休日\n1987/5/5,こどもの日\n1987/9/15,敬老の日\n1987/9/23,秋分の日\n1987/10/10,体育の日\n1987/11/3,文化の日\n1987/11/23,勤労感謝の日",1988:"国民の祝日・休日月日,国民の祝日・休日名称\n1988/1/1,元日\n1988/1/15,成人の日\n1988/2/11,建国記念の日\n1988/3/20,春分の日\n1988/3/21,休日\n1988/4/29,天皇誕生日\n1988/5/3,憲法記念日\n1988/5/4,休日\n1988/5/5,こどもの日\n1988/9/15,敬老の日\n1988/9/23,秋分の日\n1988/10/10,体育の日\n1988/11/3,文化の日\n1988/11/23,勤労感謝の日",1989:"国民の祝日・休日月日,国民の祝日・休日名称\n1989/1/1,元日\n1989/1/2,休日\n1989/1/15,成人の日\n1989/1/16,休日\n1989/2/11,建国記念の日\n1989/2/24,大喪の礼\n1989/3/21,春分の日\n1989/4/29,みどりの日\n1989/5/3,憲法記念日\n1989/5/4,休日\n1989/5/5,こどもの日\n1989/9/15,敬老の日\n1989/9/23,秋分の日\n1989/10/10,体育の日\n1989/11/3,文化の日\n1989/11/23,勤労感謝の日\n1989/12/23,天皇誕生日",1990:"国民の祝日・休日月日,国民の祝日・休日名称\n1990/1/1,元日\n1990/1/15,成人の日\n1990/2/11,建国記念の日\n1990/2/12,休日\n1990/3/21,春分の日\n1990/4/29,みどりの日\n1990/4/30,休日\n1990/5/3,憲法記念日\n1990/5/4,休日\n1990/5/5,こどもの日\n1990/9/15,敬老の日\n1990/9/23,秋分の日\n1990/9/24,休日\n1990/10/10,体育の日\n1990/11/3,文化の日\n1990/11/12,即位礼正殿の儀\n1990/11/23,勤労感謝の日\n1990/12/23,天皇誕生日\n1990/12/24,休日",1991:"国民の祝日・休日月日,国民の祝日・休日名称\n1991/1/1,元日\n1991/1/15,成人の日\n1991/2/11,建国記念の日\n1991/3/21,春分の日\n1991/4/29,みどりの日\n1991/5/3,憲法記念日\n1991/5/4,休日\n1991/5/5,こどもの日\n1991/5/6,休日\n1991/9/15,敬老の日\n1991/9/16,休日\n1991/9/23,秋分の日\n1991/10/10,体育の日\n1991/11/3,文化の日\n1991/11/4,休日\n1991/11/23,勤労感謝の日\n1991/12/23,天皇誕生日",1992:"国民の祝日・休日月日,国民の祝日・休日名称\n1992/1/1,元日\n1992/1/15,成人の日\n1992/2/11,建国記念の日\n1992/3/20,春分の日\n1992/4/29,みどりの日\n1992/5/3,憲法記念日\n1992/5/4,休日\n1992/5/5,こどもの日\n1992/9/15,敬老の日\n1992/9/23,秋分の日\n1992/10/10,体育の日\n1992/11/3,文化の日\n1992/11/23,勤労感謝の日\n1992/12/23,天皇誕生日",1993:"国民の祝日・休日月日,国民の祝日・休日名称\n1993/1/1,元日\n1993/1/15,成人の日\n1993/2/11,建国記念の日\n1993/3/20,春分の日\n1993/4/29,みどりの日\n1993/5/3,憲法記念日\n1993/5/4,休日\n1993/5/5,こどもの日\n1993/6/9,結婚の儀\n1993/9/15,敬老の日\n1993/9/23,秋分の日\n1993/10/10,体育の日\n1993/10/11,休日\n1993/11/3,文化の日\n1993/11/23,勤労感謝の日\n1993/12/23,天皇誕生日",1994:"国民の祝日・休日月日,国民の祝日・休日名称\n1994/1/1,元日\n1994/1/15,成人の日\n1994/2/11,建国記念の日\n1994/3/21,春分の日\n1994/4/29,みどりの日\n1994/5/3,憲法記念日\n1994/5/4,休日\n1994/5/5,こどもの日\n1994/9/15,敬老の日\n1994/9/23,秋分の日\n1994/10/10,体育の日\n1994/11/3,文化の日\n1994/11/23,勤労感謝の日\n1994/12/23,天皇誕生日",1995:"国民の祝日・休日月日,国民の祝日・休日名称\n1995/1/1,元日\n1995/1/2,休日\n1995/1/15,成人の日\n1995/1/16,休日\n1995/2/11,建国記念の日\n1995/3/21,春分の日\n1995/4/29,みどりの日\n1995/5/3,憲法記念日\n1995/5/4,休日\n1995/5/5,こどもの日\n1995/9/15,敬老の日\n1995/9/23,秋分の日\n1995/10/10,体育の日\n1995/11/3,文化の日\n1995/11/23,勤労感謝の日\n1995/12/23,天皇誕生日",1996:"国民の祝日・休日月日,国民の祝日・休日名称\n1996/1/1,元日\n1996/1/15,成人の日\n1996/2/11,建国記念の日\n1996/2/12,休日\n1996/3/20,春分の日\n1996/4/29,みどりの日\n1996/5/3,憲法記念日\n1996/5/4,休日\n1996/5/5,こどもの日\n1996/5/6,休日\n1996/7/20,海の日\n1996/9/15,敬老の日\n1996/9/16,休日\n1996/9/23,秋分の日\n1996/10/10,体育の日\n1996/11/3,文化の日\n1996/11/4,休日\n1996/11/23,勤労感謝の日\n1996/12/23,天皇誕生日",1997:"国民の祝日・休日月日,国民の祝日・休日名称\n1997/1/1,元日\n1997/1/15,成人の日\n1997/2/11,建国記念の日\n1997/3/20,春分の日\n1997/4/29,みどりの日\n1997/5/3,憲法記念日\n1997/5/5,こどもの日\n1997/7/20,海の日\n1997/7/21,休日\n1997/9/15,敬老の日\n1997/9/23,秋分の日\n1997/10/10,体育の日\n1997/11/3,文化の日\n1997/11/23,勤労感謝の日\n1997/11/24,休日\n1997/12/23,天皇誕生日",1998:"国民の祝日・休日月日,国民の祝日・休日名称\n1998/1/1,元日\n1998/1/15,成人の日\n1998/2/11,建国記念の日\n1998/3/21,春分の日\n1998/4/29,みどりの日\n1998/5/3,憲法記念日\n1998/5/4,休日\n1998/5/5,こどもの日\n1998/7/20,海の日\n1998/9/15,敬老の日\n1998/9/23,秋分の日\n1998/10/10,体育の日\n1998/11/3,文化の日\n1998/11/23,勤労感謝の日\n1998/12/23,天皇誕生日",1999:"国民の祝日・休日月日,国民の祝日・休日名称\n1999/1/1,元日\n1999/1/15,成人の日\n1999/2/11,建国記念の日\n1999/3/21,春分の日\n1999/3/22,休日\n1999/4/29,みどりの日\n1999/5/3,憲法記念日\n1999/5/4,休日\n1999/5/5,こどもの日\n1999/7/20,海の日\n1999/9/15,敬老の日\n1999/9/23,秋分の日\n1999/10/10,体育の日\n1999/10/11,休日\n1999/11/3,文化の日\n1999/11/23,勤労感謝の日\n1999/12/23,天皇誕生日",2e3:"国民の祝日・休日月日,国民の祝日・休日名称\n2000/1/1,元日\n2000/1/10,成人の日\n2000/2/11,建国記念の日\n2000/3/20,春分の日\n2000/4/29,みどりの日\n2000/5/3,憲法記念日\n2000/5/4,休日\n2000/5/5,こどもの日\n2000/7/20,海の日\n2000/9/15,敬老の日\n2000/9/23,秋分の日\n2000/10/9,体育の日\n2000/11/3,文化の日\n2000/11/23,勤労感謝の日\n2000/12/23,天皇誕生日",2001:"国民の祝日・休日月日,国民の祝日・休日名称\n2001/1/1,元日\n2001/1/8,成人の日\n2001/2/11,建国記念の日\n2001/2/12,休日\n2001/3/20,春分の日\n2001/4/29,みどりの日\n2001/4/30,休日\n2001/5/3,憲法記念日\n2001/5/4,休日\n2001/5/5,こどもの日\n2001/7/20,海の日\n2001/9/15,敬老の日\n2001/9/23,秋分の日\n2001/9/24,休日\n2001/10/8,体育の日\n2001/11/3,文化の日\n2001/11/23,勤労感謝の日\n2001/12/23,天皇誕生日\n2001/12/24,休日",2002:"国民の祝日・休日月日,国民の祝日・休日名称\n2002/1/1,元日\n2002/1/14,成人の日\n2002/2/11,建国記念の日\n2002/3/21,春分の日\n2002/4/29,みどりの日\n2002/5/3,憲法記念日\n2002/5/4,休日\n2002/5/5,こどもの日\n2002/5/6,休日\n2002/7/20,海の日\n2002/9/15,敬老の日\n2002/9/16,休日\n2002/9/23,秋分の日\n2002/10/14,体育の日\n2002/11/3,文化の日\n2002/11/4,休日\n2002/11/23,勤労感謝の日\n2002/12/23,天皇誕生日",2003:"国民の祝日・休日月日,国民の祝日・休日名称\n2003/1/1,元日\n2003/1/13,成人の日\n2003/2/11,建国記念の日\n2003/3/21,春分の日\n2003/4/29,みどりの日\n2003/5/3,憲法記念日\n2003/5/5,こどもの日\n2003/7/21,海の日\n2003/9/15,敬老の日\n2003/9/23,秋分の日\n2003/10/13,体育の日\n2003/11/3,文化の日\n2003/11/23,勤労感謝の日\n2003/11/24,休日\n2003/12/23,天皇誕生日",2004:"国民の祝日・休日月日,国民の祝日・休日名称\n2004/1/1,元日\n2004/1/12,成人の日\n2004/2/11,建国記念の日\n2004/3/20,春分の日\n2004/4/29,みどりの日\n2004/5/3,憲法記念日\n2004/5/4,休日\n2004/5/5,こどもの日\n2004/7/19,海の日\n2004/9/20,敬老の日\n2004/9/23,秋分の日\n2004/10/11,体育の日\n2004/11/3,文化の日\n2004/11/23,勤労感謝の日\n2004/12/23,天皇誕生日",2005:"国民の祝日・休日月日,国民の祝日・休日名称\n2005/1/1,元日\n2005/1/10,成人の日\n2005/2/11,建国記念の日\n2005/3/20,春分の日\n2005/3/21,休日\n2005/4/29,みどりの日\n2005/5/3,憲法記念日\n2005/5/4,休日\n2005/5/5,こどもの日\n2005/7/18,海の日\n2005/9/19,敬老の日\n2005/9/23,秋分の日\n2005/10/10,体育の日\n2005/11/3,文化の日\n2005/11/23,勤労感謝の日\n2005/12/23,天皇誕生日",2006:"国民の祝日・休日月日,国民の祝日・休日名称\n2006/1/1,元日\n2006/1/2,休日\n2006/1/9,成人の日\n2006/2/11,建国記念の日\n2006/3/21,春分の日\n2006/4/29,みどりの日\n2006/5/3,憲法記念日\n2006/5/4,休日\n2006/5/5,こどもの日\n2006/7/17,海の日\n2006/9/18,敬老の日\n2006/9/23,秋分の日\n2006/10/9,体育の日\n2006/11/3,文化の日\n2006/11/23,勤労感謝の日\n2006/12/23,天皇誕生日",2007:"国民の祝日・休日月日,国民の祝日・休日名称\n2007/1/1,元日\n2007/1/8,成人の日\n2007/2/11,建国記念の日\n2007/2/12,休日\n2007/3/21,春分の日\n2007/4/29,昭和の日\n2007/4/30,休日\n2007/5/3,憲法記念日\n2007/5/4,みどりの日\n2007/5/5,こどもの日\n2007/7/16,海の日\n2007/9/17,敬老の日\n2007/9/23,秋分の日\n2007/9/24,休日\n2007/10/8,体育の日\n2007/11/3,文化の日\n2007/11/23,勤労感謝の日\n2007/12/23,天皇誕生日\n2007/12/24,休日",2008:"国民の祝日・休日月日,国民の祝日・休日名称\n2008/1/1,元日\n2008/1/14,成人の日\n2008/2/11,建国記念の日\n2008/3/20,春分の日\n2008/4/29,昭和の日\n2008/5/3,憲法記念日\n2008/5/4,みどりの日\n2008/5/5,こどもの日\n2008/5/6,休日\n2008/7/21,海の日\n2008/9/15,敬老の日\n2008/9/23,秋分の日\n2008/10/13,体育の日\n2008/11/3,文化の日\n2008/11/23,勤労感謝の日\n2008/11/24,休日\n2008/12/23,天皇誕生日",2009:"国民の祝日・休日月日,国民の祝日・休日名称\n2009/1/1,元日\n2009/1/12,成人の日\n2009/2/11,建国記念の日\n2009/3/20,春分の日\n2009/4/29,昭和の日\n2009/5/3,憲法記念日\n2009/5/4,みどりの日\n2009/5/5,こどもの日\n2009/5/6,休日\n2009/7/20,海の日\n2009/9/21,敬老の日\n2009/9/22,休日\n2009/9/23,秋分の日\n2009/10/12,体育の日\n2009/11/3,文化の日\n2009/11/23,勤労感謝の日\n2009/12/23,天皇誕生日",2010:"国民の祝日・休日月日,国民の祝日・休日名称\n2010/1/1,元日\n2010/1/11,成人の日\n2010/2/11,建国記念の日\n2010/3/21,春分の日\n2010/3/22,休日\n2010/4/29,昭和の日\n2010/5/3,憲法記念日\n2010/5/4,みどりの日\n2010/5/5,こどもの日\n2010/7/19,海の日\n2010/9/20,敬老の日\n2010/9/23,秋分の日\n2010/10/11,体育の日\n2010/11/3,文化の日\n2010/11/23,勤労感謝の日\n2010/12/23,天皇誕生日",2011:"国民の祝日・休日月日,国民の祝日・休日名称\n2011/1/1,元日\n2011/1/10,成人の日\n2011/2/11,建国記念の日\n2011/3/21,春分の日\n2011/4/29,昭和の日\n2011/5/3,憲法記念日\n2011/5/4,みどりの日\n2011/5/5,こどもの日\n2011/7/18,海の日\n2011/9/19,敬老の日\n2011/9/23,秋分の日\n2011/10/10,体育の日\n2011/11/3,文化の日\n2011/11/23,勤労感謝の日\n2011/12/23,天皇誕生日",2012:"国民の祝日・休日月日,国民の祝日・休日名称\n2012/1/1,元日\n2012/1/2,休日\n2012/1/9,成人の日\n2012/2/11,建国記念の日\n2012/3/20,春分の日\n2012/4/29,昭和の日\n2012/4/30,休日\n2012/5/3,憲法記念日\n2012/5/4,みどりの日\n2012/5/5,こどもの日\n2012/7/16,海の日\n2012/9/17,敬老の日\n2012/9/22,秋分の日\n2012/10/8,体育の日\n2012/11/3,文化の日\n2012/11/23,勤労感謝の日\n2012/12/23,天皇誕生日\n2012/12/24,休日",2013:"国民の祝日・休日月日,国民の祝日・休日名称\n2013/1/1,元日\n2013/1/14,成人の日\n2013/2/11,建国記念の日\n2013/3/20,春分の日\n2013/4/29,昭和の日\n2013/5/3,憲法記念日\n2013/5/4,みどりの日\n2013/5/5,こどもの日\n2013/5/6,休日\n2013/7/15,海の日\n2013/9/16,敬老の日\n2013/9/23,秋分の日\n2013/10/14,体育の日\n2013/11/3,文化の日\n2013/11/4,休日\n2013/11/23,勤労感謝の日\n2013/12/23,天皇誕生日",2014:"国民の祝日・休日月日,国民の祝日・休日名称\n2014/1/1,元日\n2014/1/13,成人の日\n2014/2/11,建国記念の日\n2014/3/21,春分の日\n2014/4/29,昭和の日\n2014/5/3,憲法記念日\n2014/5/4,みどりの日\n2014/5/5,こどもの日\n2014/5/6,休日\n2014/7/21,海の日\n2014/9/15,敬老の日\n2014/9/23,秋分の日\n2014/10/13,体育の日\n2014/11/3,文化の日\n2014/11/23,勤労感謝の日\n2014/11/24,休日\n2014/12/23,天皇誕生日",2015:"国民の祝日・休日月日,国民の祝日・休日名称\n2015/1/1,元日\n2015/1/12,成人の日\n2015/2/11,建国記念の日\n2015/3/21,春分の日\n2015/4/29,昭和の日\n2015/5/3,憲法記念日\n2015/5/4,みどりの日\n2015/5/5,こどもの日\n2015/5/6,休日\n2015/7/20,海の日\n2015/9/21,敬老の日\n2015/9/22,休日\n2015/9/23,秋分の日\n2015/10/12,体育の日\n2015/11/3,文化の日\n2015/11/23,勤労感謝の日\n2015/12/23,天皇誕生日",2016:"国民の祝日・休日月日,国民の祝日・休日名称\n2016/1/1,元日\n2016/1/11,成人の日\n2016/2/11,建国記念の日\n2016/3/20,春分の日\n2016/3/21,休日\n2016/4/29,昭和の日\n2016/5/3,憲法記念日\n2016/5/4,みどりの日\n2016/5/5,こどもの日\n2016/7/18,海の日\n2016/8/11,山の日\n2016/9/19,敬老の日\n2016/9/22,秋分の日\n2016/10/10,体育の日\n2016/11/3,文化の日\n2016/11/23,勤労感謝の日\n2016/12/23,天皇誕生日",2017:"国民の祝日・休日月日,国民の祝日・休日名称\n2017/1/1,元日\n2017/1/2,休日\n2017/1/9,成人の日\n2017/2/11,建国記念の日\n2017/3/20,春分の日\n2017/4/29,昭和の日\n2017/5/3,憲法記念日\n2017/5/4,みどりの日\n2017/5/5,こどもの日\n2017/7/17,海の日\n2017/8/11,山の日\n2017/9/18,敬老の日\n2017/9/23,秋分の日\n2017/10/9,体育の日\n2017/11/3,文化の日\n2017/11/23,勤労感謝の日\n2017/12/23,天皇誕生日",2018:"国民の祝日・休日月日,国民の祝日・休日名称\n2018/1/1,元日\n2018/1/8,成人の日\n2018/2/11,建国記念の日\n2018/2/12,休日\n2018/3/21,春分の日\n2018/4/29,昭和の日\n2018/4/30,休日\n2018/5/3,憲法記念日\n2018/5/4,みどりの日\n2018/5/5,こどもの日\n2018/7/16,海の日\n2018/8/11,山の日\n2018/9/17,敬老の日\n2018/9/23,秋分の日\n2018/9/24,休日\n2018/10/8,体育の日\n2018/11/3,文化の日\n2018/11/23,勤労感謝の日\n2018/12/23,天皇誕生日\n2018/12/24,休日",2019:"国民の祝日・休日月日,国民の祝日・休日名称\n2019/1/1,元日\n2019/1/14,成人の日\n2019/2/11,建国記念の日\n2019/3/21,春分の日\n2019/4/29,昭和の日\n2019/4/30,休日\n2019/5/1,休日(祝日扱い)\n2019/5/2,休日\n2019/5/3,憲法記念日\n2019/5/4,みどりの日\n2019/5/5,こどもの日\n2019/5/6,休日\n2019/7/15,海の日\n2019/8/11,山の日\n2019/8/12,休日\n2019/9/16,敬老の日\n2019/9/23,秋分の日\n2019/10/14,体育の日(スポーツの日)\n2019/10/22,休日(祝日扱い)\n2019/11/3,文化の日\n2019/11/4,休日\n2019/11/23,勤労感謝の日",2020:"国民の祝日・休日月日,国民の祝日・休日名称\n2020/1/1,元日\n2020/1/13,成人の日\n2020/2/11,建国記念の日\n2020/2/23,天皇誕生日\n2020/2/24,休日\n2020/3/20,春分の日\n2020/4/29,昭和の日\n2020/5/3,憲法記念日\n2020/5/4,みどりの日\n2020/5/5,こどもの日\n2020/5/6,休日\n2020/7/23,海の日\n2020/7/24,スポーツの日\n2020/8/10,山の日\n2020/9/21,敬老の日\n2020/9/22,秋分の日\n2020/11/3,文化の日\n2020/11/23,勤労感謝の日",2021:"国民の祝日・休日月日,国民の祝日・休日名称\n2021/1/1,元日\n2021/1/11,成人の日\n2021/2/11,建国記念の日\n2021/2/23,天皇誕生日\n2021/3/20,春分の日\n2021/4/29,昭和の日\n2021/5/3,憲法記念日\n2021/5/4,みどりの日\n2021/5/5,こどもの日\n2021/7/22,海の日\n2021/7/23,スポーツの日\n2021/8/8,山の日\n2021/8/9,休日\n2021/9/20,敬老の日\n2021/9/23,秋分の日\n2021/11/3,文化の日\n2021/11/23,勤労感謝の日",2022:"国民の祝日・休日月日,国民の祝日・休日名称\n2022/1/1,元日\n2022/1/10,成人の日\n2022/2/11,建国記念の日\n2022/2/23,天皇誕生日\n2022/3/21,春分の日\n2022/4/29,昭和の日\n2022/5/3,憲法記念日\n2022/5/4,みどりの日\n2022/5/5,こどもの日\n2022/7/18,海の日\n2022/8/11,山の日\n2022/9/19,敬老の日\n2022/9/23,秋分の日\n2022/10/10,スポーツの日\n2022/11/3,文化の日\n2022/11/23,勤労感謝の日",2023:"国民の祝日・休日月日,国民の祝日・休日名称\n2023/1/1,元日\n2023/1/2,休日\n2023/1/9,成人の日\n2023/2/11,建国記念の日\n2023/2/23,天皇誕生日\n2023/3/21,春分の日\n2023/4/29,昭和の日\n2023/5/3,憲法記念日\n2023/5/4,みどりの日\n2023/5/5,こどもの日\n2023/7/17,海の日\n2023/8/11,山の日\n2023/9/18,敬老の日\n2023/9/23,秋分の日\n2023/10/9,スポーツの日\n2023/11/3,文化の日\n2023/11/23,勤労感謝の日",2024:"国民の祝日・休日月日,国民の祝日・休日名称\n2024/1/1,元日\n2024/1/8,成人の日\n2024/2/11,建国記念の日\n2024/2/12,休日\n2024/2/23,天皇誕生日\n2024/3/20,春分の日\n2024/4/29,昭和の日\n2024/5/3,憲法記念日\n2024/5/4,みどりの日\n2024/5/5,こどもの日\n2024/5/6,休日\n2024/7/15,海の日\n2024/8/11,山の日\n2024/8/12,休日\n2024/9/16,敬老の日\n2024/9/22,秋分の日\n2024/9/23,休日\n2024/10/14,スポーツの日\n2024/11/3,文化の日\n2024/11/4,休日\n2024/11/23,勤労感謝の日",2025:"国民の祝日・休日月日,国民の祝日・休日名称\n2025/1/1,元日\n2025/1/13,成人の日\n2025/2/11,建国記念の日\n2025/2/23,天皇誕生日\n2025/2/24,休日\n2025/3/20,春分の日\n2025/4/29,昭和の日\n2025/5/3,憲法記念日\n2025/5/4,みどりの日\n2025/5/5,こどもの日\n2025/5/6,休日\n2025/7/21,海の日\n2025/8/11,山の日\n2025/9/15,敬老の日\n2025/9/23,秋分の日\n2025/10/13,スポーツの日\n2025/11/3,文化の日\n2025/11/23,勤労感謝の日\n2025/11/24,休日",2026:"国民の祝日・休日月日,国民の祝日・休日名称\n2026/1/1,元日\n2026/1/12,成人の日\n2026/2/11,建国記念の日\n2026/2/23,天皇誕生日\n2026/3/20,春分の日\n2026/4/29,昭和の日\n2026/5/3,憲法記念日\n2026/5/4,みどりの日\n2026/5/5,こどもの日\n2026/5/6,休日\n2026/7/20,海の日\n2026/8/11,山の日\n2026/9/21,敬老の日\n2026/9/22,休日\n2026/9/23,秋分の日\n2026/10/12,スポーツの日\n2026/11/3,文化の日\n2026/11/23,勤労感謝の日",2027:"国民の祝日・休日月日,国民の祝日・休日名称\n2027/1/1,元日\n2027/1/11,成人の日\n2027/2/11,建国記念の日\n2027/2/23,天皇誕生日\n2027/3/21,春分の日\n2027/3/22,休日\n2027/4/29,昭和の日\n2027/5/3,憲法記念日\n2027/5/4,みどりの日\n2027/5/5,こどもの日\n2027/7/19,海の日\n2027/8/11,山の日\n2027/9/20,敬老の日\n2027/9/23,秋分の日\n2027/10/11,スポーツの日\n2027/11/3,文化の日\n2027/11/23,勤労感謝の日"},rs={},as=e=>{const t=e||(new Date).getFullYear(),n=t.toString();if(rs[n])return rs[n];const r=(e=>{const t=(e||(new Date).getFullYear()).toString();return ns[t]?ns[t]:"国民の祝日・休日月日,国民の祝日・休日名称"})(t),a=r.split("\n"),i=[];for(let e=1;e<a.length;e++){const t=a[e].trim();if(t){const[e,n]=t.split(",");e&&n&&i.push({date:e.trim(),name:n.trim()})}}return rs[n]=i,i};var is="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},os=[],ls=[],ss="undefined"!=typeof Uint8Array?Uint8Array:Array,cs=!1;function us(){cs=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)os[t]=e[t],ls[e.charCodeAt(t)]=t;ls["-".charCodeAt(0)]=62,ls["_".charCodeAt(0)]=63}function ds(e,t,n){for(var r,a,i=[],o=t;o<n;o+=3)r=(e[o]<<16)+(e[o+1]<<8)+e[o+2],i.push(os[(a=r)>>18&63]+os[a>>12&63]+os[a>>6&63]+os[63&a]);return i.join("")}function ps(e){var t;cs||us();for(var n=e.length,r=n%3,a="",i=[],o=16383,l=0,s=n-r;l<s;l+=o)i.push(ds(e,l,l+o>s?s:l+o));return 1===r?(t=e[n-1],a+=os[t>>2],a+=os[t<<4&63],a+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],a+=os[t>>10],a+=os[t>>4&63],a+=os[t<<2&63],a+="="),i.push(a),i.join("")}function fs(e,t,n,r,a){var i,o,l=8*a-r-1,s=(1<<l)-1,c=s>>1,u=-7,d=n?a-1:0,p=n?-1:1,f=e[t+d];for(d+=p,i=f&(1<<-u)-1,f>>=-u,u+=l;u>0;i=256*i+e[t+d],d+=p,u-=8);for(o=i&(1<<-u)-1,i>>=-u,u+=r;u>0;o=256*o+e[t+d],d+=p,u-=8);if(0===i)i=1-c;else{if(i===s)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,r),i-=c}return(f?-1:1)*o*Math.pow(2,i-r)}function ms(e,t,n,r,a,i){var o,l,s,c=8*i-a-1,u=(1<<c)-1,d=u>>1,p=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:i-1,m=r?1:-1,h=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-o))<1&&(o--,s*=2),(t+=o+d>=1?p/s:p*Math.pow(2,1-d))*s>=2&&(o++,s/=2),o+d>=u?(l=0,o=u):o+d>=1?(l=(t*s-1)*Math.pow(2,a),o+=d):(l=t*Math.pow(2,d-1)*Math.pow(2,a),o=0));a>=8;e[n+f]=255&l,f+=m,l/=256,a-=8);for(o=o<<a|l,c+=a;c>0;e[n+f]=255&o,f+=m,o/=256,c-=8);e[n+f-m]|=128*h}var hs={}.toString,gs=Array.isArray||function(e){return"[object Array]"==hs.call(e)};function bs(){return xs.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function vs(e,t){if(bs()<t)throw new RangeError("Invalid typed array length");return xs.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=xs.prototype:(null===e&&(e=new xs(t)),e.length=t),e}function xs(e,t,n){if(!(xs.TYPED_ARRAY_SUPPORT||this instanceof xs))return new xs(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return Cs(this,e)}return ys(this,e,t,n)}function ys(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);xs.TYPED_ARRAY_SUPPORT?(e=t).__proto__=xs.prototype:e=Es(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!xs.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|Ms(t,n);e=vs(e,r);var a=e.write(t,n);a!==r&&(e=e.slice(0,a));return e}(e,t,n):function(e,t){if(ks(t)){var n=0|Is(t.length);return 0===(e=vs(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?vs(e,0):Es(e,t);if("Buffer"===t.type&&gs(t.data))return Es(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function ws(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function Cs(e,t){if(ws(t),e=vs(e,t<0?0:0|Is(t)),!xs.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function Es(e,t){var n=t.length<0?0:0|Is(t.length);e=vs(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function Is(e){if(e>=bs())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+bs().toString(16)+" bytes");return 0|e}function ks(e){return!(null==e||!e._isBuffer)}function Ms(e,t){if(ks(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Ks(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return ec(e).length;default:if(r)return Ks(e).length;t=(""+t).toLowerCase(),r=!0}}function As(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Ps(this,t,n);case"utf8":case"utf-8":return Zs(this,t,n);case"ascii":return Bs(this,t,n);case"latin1":case"binary":return _s(this,t,n);case"base64":return Ts(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Fs(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function Ss(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function Ls(e,t,n,r,a){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=a?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(a)return-1;n=e.length-1}else if(n<0){if(!a)return-1;n=0}if("string"==typeof t&&(t=xs.from(t,r)),ks(t))return 0===t.length?-1:$s(e,t,n,r,a);if("number"==typeof t)return t&=255,xs.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?a?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):$s(e,[t],n,r,a);throw new TypeError("val must be string, number or Buffer")}function $s(e,t,n,r,a){var i,o=1,l=e.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,l/=2,s/=2,n/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(a){var u=-1;for(i=n;i<l;i++)if(c(e,i)===c(t,-1===u?0:i-u)){if(-1===u&&(u=i),i-u+1===s)return u*o}else-1!==u&&(i-=i-u),u=-1}else for(n+s>l&&(n=l-s),i=n;i>=0;i--){for(var d=!0,p=0;p<s;p++)if(c(e,i+p)!==c(t,p)){d=!1;break}if(d)return i}return-1}function Ds(e,t,n,r){n=Number(n)||0;var a=e.length-n;r?(r=Number(r))>a&&(r=a):r=a;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var o=0;o<r;++o){var l=parseInt(t.substr(2*o,2),16);if(isNaN(l))return o;e[n+o]=l}return o}function Vs(e,t,n,r){return tc(Ks(t,e.length-n),e,n,r)}function Os(e,t,n,r){return tc(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function Hs(e,t,n,r){return Os(e,t,n,r)}function Ns(e,t,n,r){return tc(ec(t),e,n,r)}function Rs(e,t,n,r){return tc(function(e,t){for(var n,r,a,i=[],o=0;o<e.length&&!((t-=2)<0);++o)r=(n=e.charCodeAt(o))>>8,a=n%256,i.push(a),i.push(r);return i}(t,e.length-n),e,n,r)}function Ts(e,t,n){return 0===t&&n===e.length?ps(e):ps(e.slice(t,n))}function Zs(e,t,n){n=Math.min(e.length,n);for(var r=[],a=t;a<n;){var i,o,l,s,c=e[a],u=null,d=c>239?4:c>223?3:c>191?2:1;if(a+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(i=e[a+1]))&&(s=(31&c)<<6|63&i)>127&&(u=s);break;case 3:i=e[a+1],o=e[a+2],128==(192&i)&&128==(192&o)&&(s=(15&c)<<12|(63&i)<<6|63&o)>2047&&(s<55296||s>57343)&&(u=s);break;case 4:i=e[a+1],o=e[a+2],l=e[a+3],128==(192&i)&&128==(192&o)&&128==(192&l)&&(s=(15&c)<<18|(63&i)<<12|(63&o)<<6|63&l)>65535&&s<1114112&&(u=s)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),a+=d}return function(e){var t=e.length;if(t<=zs)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=zs));return n}(r)}xs.TYPED_ARRAY_SUPPORT=void 0===is.TYPED_ARRAY_SUPPORT||is.TYPED_ARRAY_SUPPORT,bs(),xs.poolSize=8192,xs._augment=function(e){return e.__proto__=xs.prototype,e},xs.from=function(e,t,n){return ys(null,e,t,n)},xs.TYPED_ARRAY_SUPPORT&&(xs.prototype.__proto__=Uint8Array.prototype,xs.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&xs[Symbol.species]),xs.alloc=function(e,t,n){return function(e,t,n,r){return ws(t),t<=0?vs(e,t):void 0!==n?"string"==typeof r?vs(e,t).fill(n,r):vs(e,t).fill(n):vs(e,t)}(null,e,t,n)},xs.allocUnsafe=function(e){return Cs(null,e)},xs.allocUnsafeSlow=function(e){return Cs(null,e)},xs.isBuffer=nc,xs.compare=function(e,t){if(!ks(e)||!ks(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,a=0,i=Math.min(n,r);a<i;++a)if(e[a]!==t[a]){n=e[a],r=t[a];break}return n<r?-1:r<n?1:0},xs.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},xs.concat=function(e,t){if(!gs(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return xs.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=xs.allocUnsafe(t),a=0;for(n=0;n<e.length;++n){var i=e[n];if(!ks(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,a),a+=i.length}return r},xs.byteLength=Ms,xs.prototype._isBuffer=!0,xs.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)Ss(this,t,t+1);return this},xs.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)Ss(this,t,t+3),Ss(this,t+1,t+2);return this},xs.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)Ss(this,t,t+7),Ss(this,t+1,t+6),Ss(this,t+2,t+5),Ss(this,t+3,t+4);return this},xs.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?Zs(this,0,e):As.apply(this,arguments)},xs.prototype.equals=function(e){if(!ks(e))throw new TypeError("Argument must be a Buffer");return this===e||0===xs.compare(this,e)},xs.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},xs.prototype.compare=function(e,t,n,r,a){if(!ks(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===a&&(a=this.length),t<0||n>e.length||r<0||a>this.length)throw new RangeError("out of range index");if(r>=a&&t>=n)return 0;if(r>=a)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(a>>>=0)-(r>>>=0),o=(n>>>=0)-(t>>>=0),l=Math.min(i,o),s=this.slice(r,a),c=e.slice(t,n),u=0;u<l;++u)if(s[u]!==c[u]){i=s[u],o=c[u];break}return i<o?-1:o<i?1:0},xs.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},xs.prototype.indexOf=function(e,t,n){return Ls(this,e,t,n,!0)},xs.prototype.lastIndexOf=function(e,t,n){return Ls(this,e,t,n,!1)},xs.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var a=this.length-t;if((void 0===n||n>a)&&(n=a),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return Ds(this,e,t,n);case"utf8":case"utf-8":return Vs(this,e,t,n);case"ascii":return Os(this,e,t,n);case"latin1":case"binary":return Hs(this,e,t,n);case"base64":return Ns(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Rs(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},xs.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var zs=4096;function Bs(e,t,n){var r="";n=Math.min(e.length,n);for(var a=t;a<n;++a)r+=String.fromCharCode(127&e[a]);return r}function _s(e,t,n){var r="";n=Math.min(e.length,n);for(var a=t;a<n;++a)r+=String.fromCharCode(e[a]);return r}function Ps(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var a="",i=t;i<n;++i)a+=qs(e[i]);return a}function Fs(e,t,n){for(var r=e.slice(t,n),a="",i=0;i<r.length;i+=2)a+=String.fromCharCode(r[i]+256*r[i+1]);return a}function Gs(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function js(e,t,n,r,a,i){if(!ks(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>a||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function Ws(e,t,n,r){t<0&&(t=65535+t+1);for(var a=0,i=Math.min(e.length-n,2);a<i;++a)e[n+a]=(t&255<<8*(r?a:1-a))>>>8*(r?a:1-a)}function Ys(e,t,n,r){t<0&&(t=4294967295+t+1);for(var a=0,i=Math.min(e.length-n,4);a<i;++a)e[n+a]=t>>>8*(r?a:3-a)&255}function Xs(e,t,n,r,a,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Js(e,t,n,r,a){return a||Xs(e,0,n,4),ms(e,t,n,r,23,4),n+4}function Us(e,t,n,r,a){return a||Xs(e,0,n,8),ms(e,t,n,r,52,8),n+8}xs.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),xs.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=xs.prototype;else{var a=t-e;n=new xs(a,void 0);for(var i=0;i<a;++i)n[i]=this[i+e]}return n},xs.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||Gs(e,t,this.length);for(var r=this[e],a=1,i=0;++i<t&&(a*=256);)r+=this[e+i]*a;return r},xs.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||Gs(e,t,this.length);for(var r=this[e+--t],a=1;t>0&&(a*=256);)r+=this[e+--t]*a;return r},xs.prototype.readUInt8=function(e,t){return t||Gs(e,1,this.length),this[e]},xs.prototype.readUInt16LE=function(e,t){return t||Gs(e,2,this.length),this[e]|this[e+1]<<8},xs.prototype.readUInt16BE=function(e,t){return t||Gs(e,2,this.length),this[e]<<8|this[e+1]},xs.prototype.readUInt32LE=function(e,t){return t||Gs(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},xs.prototype.readUInt32BE=function(e,t){return t||Gs(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},xs.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Gs(e,t,this.length);for(var r=this[e],a=1,i=0;++i<t&&(a*=256);)r+=this[e+i]*a;return r>=(a*=128)&&(r-=Math.pow(2,8*t)),r},xs.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Gs(e,t,this.length);for(var r=t,a=1,i=this[e+--r];r>0&&(a*=256);)i+=this[e+--r]*a;return i>=(a*=128)&&(i-=Math.pow(2,8*t)),i},xs.prototype.readInt8=function(e,t){return t||Gs(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},xs.prototype.readInt16LE=function(e,t){t||Gs(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},xs.prototype.readInt16BE=function(e,t){t||Gs(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},xs.prototype.readInt32LE=function(e,t){return t||Gs(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},xs.prototype.readInt32BE=function(e,t){return t||Gs(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},xs.prototype.readFloatLE=function(e,t){return t||Gs(e,4,this.length),fs(this,e,!0,23,4)},xs.prototype.readFloatBE=function(e,t){return t||Gs(e,4,this.length),fs(this,e,!1,23,4)},xs.prototype.readDoubleLE=function(e,t){return t||Gs(e,8,this.length),fs(this,e,!0,52,8)},xs.prototype.readDoubleBE=function(e,t){return t||Gs(e,8,this.length),fs(this,e,!1,52,8)},xs.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||js(this,e,t,n,Math.pow(2,8*n)-1,0);var a=1,i=0;for(this[t]=255&e;++i<n&&(a*=256);)this[t+i]=e/a&255;return t+n},xs.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||js(this,e,t,n,Math.pow(2,8*n)-1,0);var a=n-1,i=1;for(this[t+a]=255&e;--a>=0&&(i*=256);)this[t+a]=e/i&255;return t+n},xs.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||js(this,e,t,1,255,0),xs.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},xs.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||js(this,e,t,2,65535,0),xs.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Ws(this,e,t,!0),t+2},xs.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||js(this,e,t,2,65535,0),xs.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Ws(this,e,t,!1),t+2},xs.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||js(this,e,t,4,4294967295,0),xs.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Ys(this,e,t,!0),t+4},xs.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||js(this,e,t,4,4294967295,0),xs.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Ys(this,e,t,!1),t+4},xs.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var a=Math.pow(2,8*n-1);js(this,e,t,n,a-1,-a)}var i=0,o=1,l=0;for(this[t]=255&e;++i<n&&(o*=256);)e<0&&0===l&&0!==this[t+i-1]&&(l=1),this[t+i]=(e/o>>0)-l&255;return t+n},xs.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var a=Math.pow(2,8*n-1);js(this,e,t,n,a-1,-a)}var i=n-1,o=1,l=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===l&&0!==this[t+i+1]&&(l=1),this[t+i]=(e/o>>0)-l&255;return t+n},xs.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||js(this,e,t,1,127,-128),xs.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},xs.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||js(this,e,t,2,32767,-32768),xs.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Ws(this,e,t,!0),t+2},xs.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||js(this,e,t,2,32767,-32768),xs.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Ws(this,e,t,!1),t+2},xs.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||js(this,e,t,4,2147483647,-2147483648),xs.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Ys(this,e,t,!0),t+4},xs.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||js(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),xs.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Ys(this,e,t,!1),t+4},xs.prototype.writeFloatLE=function(e,t,n){return Js(this,e,t,!0,n)},xs.prototype.writeFloatBE=function(e,t,n){return Js(this,e,t,!1,n)},xs.prototype.writeDoubleLE=function(e,t,n){return Us(this,e,t,!0,n)},xs.prototype.writeDoubleBE=function(e,t,n){return Us(this,e,t,!1,n)},xs.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var a,i=r-n;if(this===e&&n<t&&t<r)for(a=i-1;a>=0;--a)e[a+t]=this[a+n];else if(i<1e3||!xs.TYPED_ARRAY_SUPPORT)for(a=0;a<i;++a)e[a+t]=this[a+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+i),t);return i},xs.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var a=e.charCodeAt(0);a<256&&(e=a)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!xs.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var o=ks(e)?e:Ks(new xs(e,r).toString()),l=o.length;for(i=0;i<n-t;++i)this[i+t]=o[i%l]}return this};var Qs=/[^+\/0-9A-Za-z-_]/g;function qs(e){return e<16?"0"+e.toString(16):e.toString(16)}function Ks(e,t){var n;t=t||1/0;for(var r=e.length,a=null,i=[],o=0;o<r;++o){if((n=e.charCodeAt(o))>55295&&n<57344){if(!a){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&i.push(239,191,189);continue}a=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),a=n;continue}n=65536+(a-55296<<10|n-56320)}else a&&(t-=3)>-1&&i.push(239,191,189);if(a=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function ec(e){return function(e){var t,n,r,a,i,o;cs||us();var l=e.length;if(l%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===e[l-2]?2:"="===e[l-1]?1:0,o=new ss(3*l/4-i),r=i>0?l-4:l;var s=0;for(t=0,n=0;t<r;t+=4,n+=3)a=ls[e.charCodeAt(t)]<<18|ls[e.charCodeAt(t+1)]<<12|ls[e.charCodeAt(t+2)]<<6|ls[e.charCodeAt(t+3)],o[s++]=a>>16&255,o[s++]=a>>8&255,o[s++]=255&a;return 2===i?(a=ls[e.charCodeAt(t)]<<2|ls[e.charCodeAt(t+1)]>>4,o[s++]=255&a):1===i&&(a=ls[e.charCodeAt(t)]<<10|ls[e.charCodeAt(t+1)]<<4|ls[e.charCodeAt(t+2)]>>2,o[s++]=a>>8&255,o[s++]=255&a),o}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Qs,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function tc(e,t,n,r){for(var a=0;a<r&&!(a+n>=t.length||a>=e.length);++a)t[a+n]=e[a];return a}function nc(e){return null!=e&&(!!e._isBuffer||rc(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&rc(e.slice(0,0))}(e))}function rc(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}class ac extends Error{constructor(e,t,n,...r){Array.isArray(t)&&(t=t.join(" ").trim()),super(t),void 0!==Error.captureStackTrace&&Error.captureStackTrace(this,ac),this.code=e;for(const e of r)for(const t in e){const r=e[t];this[t]=nc(r)?r.toString(n.encoding):null==r?r:JSON.parse(JSON.stringify(r))}}}const ic=function(e){const t=[];for(let r=0,a=e.length;r<a;r++){const a=e[r];if(null==a||!1===a)t[r]={disabled:!0};else if("string"==typeof a)t[r]={name:a};else{if("object"!=typeof(n=a)||null===n||Array.isArray(n))throw new ac("CSV_INVALID_COLUMN_DEFINITION",["Invalid column definition:","expect a string or a literal object,",`got ${JSON.stringify(a)} at position ${r}`]);if("string"!=typeof a.name)throw new ac("CSV_OPTION_COLUMNS_MISSING_NAME",["Option columns missing name:",`property "name" is required at position ${r}`,"when column is an object literal"]);t[r]=a}}var n;return t};class oc{constructor(e=100){this.size=e,this.length=0,this.buf=xs.allocUnsafe(e)}prepend(e){if(nc(e)){const t=this.length+e.length;if(t>=this.size&&(this.resize(),t>=this.size))throw Error("INVALID_BUFFER_STATE");const n=this.buf;this.buf=xs.allocUnsafe(this.size),e.copy(this.buf,0),n.copy(this.buf,e.length),this.length+=e.length}else{const t=this.length++;t===this.size&&this.resize();const n=this.clone();this.buf[0]=e,n.copy(this.buf,1,0,t)}}append(e){const t=this.length++;t===this.size&&this.resize(),this.buf[t]=e}clone(){return xs.from(this.buf.slice(0,this.length))}resize(){const e=this.length;this.size=2*this.size;const t=xs.allocUnsafe(this.size);this.buf.copy(t,0,0,e),this.buf=t}toString(e){return e?this.buf.slice(0,this.length).toString(e):Uint8Array.prototype.slice.call(this.buf.slice(0,this.length))}toJSON(){return this.toString("utf8")}reset(){this.length=0}}const lc=function(e){return{bomSkipped:!1,bufBytesStart:0,castField:e.cast_function,commenting:!1,error:void 0,enabled:1===e.from_line,escaping:!1,escapeIsQuote:nc(e.escape)&&nc(e.quote)&&0===xs.compare(e.escape,e.quote),expectedRecordLength:Array.isArray(e.columns)?e.columns.length:void 0,field:new oc(20),firstLineToHeaders:e.cast_first_line_to_header,needMoreDataSize:Math.max(null!==e.comment?e.comment.length:0,...e.delimiter.map((e=>e.length)),null!==e.quote?e.quote.length:0),previousBuf:void 0,quoting:!1,stop:!1,rawBuffer:new oc(100),record:[],recordHasError:!1,record_length:0,recordDelimiterMaxLength:0===e.record_delimiter.length?0:Math.max(...e.record_delimiter.map((e=>e.length))),trimChars:[xs.from(" ",e.encoding)[0],xs.from("\t",e.encoding)[0]],wasQuoting:!1,wasRowDelimiter:!1,timchars:[xs.from(xs.from([13],"utf8").toString(),e.encoding),xs.from(xs.from([10],"utf8").toString(),e.encoding),xs.from(xs.from([12],"utf8").toString(),e.encoding),xs.from(xs.from([32],"utf8").toString(),e.encoding),xs.from(xs.from([9],"utf8").toString(),e.encoding)]}},sc=function(e){const t={};for(const r in e)t[(n=r,n.replace(/([A-Z])/g,(function(e,t){return"_"+t.toLowerCase()})))]=e[r];var n;if(void 0===t.encoding||!0===t.encoding)t.encoding="utf8";else if(null===t.encoding||!1===t.encoding)t.encoding=null;else if("string"!=typeof t.encoding&&null!==t.encoding)throw new ac("CSV_INVALID_OPTION_ENCODING",["Invalid option encoding:","encoding must be a string or null to return a buffer,",`got ${JSON.stringify(t.encoding)}`],t);if(void 0===t.bom||null===t.bom||!1===t.bom)t.bom=!1;else if(!0!==t.bom)throw new ac("CSV_INVALID_OPTION_BOM",["Invalid option bom:","bom must be true,",`got ${JSON.stringify(t.bom)}`],t);if(t.cast_function=null,void 0===t.cast||null===t.cast||!1===t.cast||""===t.cast)t.cast=void 0;else if("function"==typeof t.cast)t.cast_function=t.cast,t.cast=!0;else if(!0!==t.cast)throw new ac("CSV_INVALID_OPTION_CAST",["Invalid option cast:","cast must be true or a function,",`got ${JSON.stringify(t.cast)}`],t);if(void 0===t.cast_date||null===t.cast_date||!1===t.cast_date||""===t.cast_date)t.cast_date=!1;else if(!0===t.cast_date)t.cast_date=function(e){const t=Date.parse(e);return isNaN(t)?e:new Date(t)};else if("function"!=typeof t.cast_date)throw new ac("CSV_INVALID_OPTION_CAST_DATE",["Invalid option cast_date:","cast_date must be true or a function,",`got ${JSON.stringify(t.cast_date)}`],t);if(t.cast_first_line_to_header=void 0,!0===t.columns)t.cast_first_line_to_header=void 0;else if("function"==typeof t.columns)t.cast_first_line_to_header=t.columns,t.columns=!0;else if(Array.isArray(t.columns))t.columns=ic(t.columns);else{if(void 0!==t.columns&&null!==t.columns&&!1!==t.columns)throw new ac("CSV_INVALID_OPTION_COLUMNS",["Invalid option columns:","expect an array, a function or true,",`got ${JSON.stringify(t.columns)}`],t);t.columns=!1}if(void 0===t.group_columns_by_name||null===t.group_columns_by_name||!1===t.group_columns_by_name)t.group_columns_by_name=!1;else{if(!0!==t.group_columns_by_name)throw new ac("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","expect an boolean,",`got ${JSON.stringify(t.group_columns_by_name)}`],t);if(!1===t.columns)throw new ac("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","the `columns` mode must be activated."],t)}if(void 0===t.comment||null===t.comment||!1===t.comment||""===t.comment)t.comment=null;else if("string"==typeof t.comment&&(t.comment=xs.from(t.comment,t.encoding)),!nc(t.comment))throw new ac("CSV_INVALID_OPTION_COMMENT",["Invalid option comment:","comment must be a buffer or a string,",`got ${JSON.stringify(t.comment)}`],t);if(void 0===t.comment_no_infix||null===t.comment_no_infix||!1===t.comment_no_infix)t.comment_no_infix=!1;else if(!0!==t.comment_no_infix)throw new ac("CSV_INVALID_OPTION_COMMENT",["Invalid option comment_no_infix:","value must be a boolean,",`got ${JSON.stringify(t.comment_no_infix)}`],t);const r=JSON.stringify(t.delimiter);if(Array.isArray(t.delimiter)||(t.delimiter=[t.delimiter]),0===t.delimiter.length)throw new ac("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${r}`],t);if(t.delimiter=t.delimiter.map((function(e){if(null==e||!1===e)return xs.from(",",t.encoding);if("string"==typeof e&&(e=xs.from(e,t.encoding)),!nc(e)||0===e.length)throw new ac("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${r}`],t);return e})),void 0===t.escape||!0===t.escape?t.escape=xs.from('"',t.encoding):"string"==typeof t.escape?t.escape=xs.from(t.escape,t.encoding):null!==t.escape&&!1!==t.escape||(t.escape=null),null!==t.escape&&!nc(t.escape))throw new Error(`Invalid Option: escape must be a buffer, a string or a boolean, got ${JSON.stringify(t.escape)}`);if(void 0===t.from||null===t.from)t.from=1;else{if("string"==typeof t.from&&/\d+/.test(t.from)&&(t.from=parseInt(t.from)),!Number.isInteger(t.from))throw new Error(`Invalid Option: from must be an integer, got ${JSON.stringify(t.from)}`);if(t.from<0)throw new Error(`Invalid Option: from must be a positive integer, got ${JSON.stringify(e.from)}`)}if(void 0===t.from_line||null===t.from_line)t.from_line=1;else{if("string"==typeof t.from_line&&/\d+/.test(t.from_line)&&(t.from_line=parseInt(t.from_line)),!Number.isInteger(t.from_line))throw new Error(`Invalid Option: from_line must be an integer, got ${JSON.stringify(e.from_line)}`);if(t.from_line<=0)throw new Error(`Invalid Option: from_line must be a positive integer greater than 0, got ${JSON.stringify(e.from_line)}`)}if(void 0===t.ignore_last_delimiters||null===t.ignore_last_delimiters)t.ignore_last_delimiters=!1;else if("number"==typeof t.ignore_last_delimiters)t.ignore_last_delimiters=Math.floor(t.ignore_last_delimiters),0===t.ignore_last_delimiters&&(t.ignore_last_delimiters=!1);else if("boolean"!=typeof t.ignore_last_delimiters)throw new ac("CSV_INVALID_OPTION_IGNORE_LAST_DELIMITERS",["Invalid option `ignore_last_delimiters`:","the value must be a boolean value or an integer,",`got ${JSON.stringify(t.ignore_last_delimiters)}`],t);if(!0===t.ignore_last_delimiters&&!1===t.columns)throw new ac("CSV_IGNORE_LAST_DELIMITERS_REQUIRES_COLUMNS",["The option `ignore_last_delimiters`","requires the activation of the `columns` option"],t);if(void 0===t.info||null===t.info||!1===t.info)t.info=!1;else if(!0!==t.info)throw new Error(`Invalid Option: info must be true, got ${JSON.stringify(t.info)}`);if(void 0===t.max_record_size||null===t.max_record_size||!1===t.max_record_size)t.max_record_size=0;else if(Number.isInteger(t.max_record_size)&&t.max_record_size>=0);else{if("string"!=typeof t.max_record_size||!/\d+/.test(t.max_record_size))throw new Error(`Invalid Option: max_record_size must be a positive integer, got ${JSON.stringify(t.max_record_size)}`);t.max_record_size=parseInt(t.max_record_size)}if(void 0===t.objname||null===t.objname||!1===t.objname)t.objname=void 0;else if(nc(t.objname)){if(0===t.objname.length)throw new Error("Invalid Option: objname must be a non empty buffer");null===t.encoding||(t.objname=t.objname.toString(t.encoding))}else if("string"==typeof t.objname){if(0===t.objname.length)throw new Error("Invalid Option: objname must be a non empty string")}else if("number"!=typeof t.objname)throw new Error(`Invalid Option: objname must be a string or a buffer, got ${t.objname}`);if(void 0!==t.objname)if("number"==typeof t.objname){if(!1!==t.columns)throw Error("Invalid Option: objname index cannot be combined with columns or be defined as a field")}else if(!1===t.columns)throw Error("Invalid Option: objname field must be combined with columns or be defined as an index");if(void 0===t.on_record||null===t.on_record)t.on_record=void 0;else if("function"!=typeof t.on_record)throw new ac("CSV_INVALID_OPTION_ON_RECORD",["Invalid option `on_record`:","expect a function,",`got ${JSON.stringify(t.on_record)}`],t);if(void 0!==t.on_skip&&null!==t.on_skip&&"function"!=typeof t.on_skip)throw new Error(`Invalid Option: on_skip must be a function, got ${JSON.stringify(t.on_skip)}`);if(null===t.quote||!1===t.quote||""===t.quote)t.quote=null;else if(void 0===t.quote||!0===t.quote?t.quote=xs.from('"',t.encoding):"string"==typeof t.quote&&(t.quote=xs.from(t.quote,t.encoding)),!nc(t.quote))throw new Error(`Invalid Option: quote must be a buffer or a string, got ${JSON.stringify(t.quote)}`);if(void 0===t.raw||null===t.raw||!1===t.raw)t.raw=!1;else if(!0!==t.raw)throw new Error(`Invalid Option: raw must be true, got ${JSON.stringify(t.raw)}`);if(void 0===t.record_delimiter)t.record_delimiter=[];else if("string"==typeof t.record_delimiter||nc(t.record_delimiter)){if(0===t.record_delimiter.length)throw new ac("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer,",`got ${JSON.stringify(t.record_delimiter)}`],t);t.record_delimiter=[t.record_delimiter]}else if(!Array.isArray(t.record_delimiter))throw new ac("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer,",`got ${JSON.stringify(t.record_delimiter)}`],t);if(t.record_delimiter=t.record_delimiter.map((function(e,n){if("string"!=typeof e&&!nc(e))throw new ac("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer",`at index ${n},`,`got ${JSON.stringify(e)}`],t);if(0===e.length)throw new ac("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer",`at index ${n},`,`got ${JSON.stringify(e)}`],t);return"string"==typeof e&&(e=xs.from(e,t.encoding)),e})),"boolean"==typeof t.relax_column_count);else{if(void 0!==t.relax_column_count&&null!==t.relax_column_count)throw new Error(`Invalid Option: relax_column_count must be a boolean, got ${JSON.stringify(t.relax_column_count)}`);t.relax_column_count=!1}if("boolean"==typeof t.relax_column_count_less);else{if(void 0!==t.relax_column_count_less&&null!==t.relax_column_count_less)throw new Error(`Invalid Option: relax_column_count_less must be a boolean, got ${JSON.stringify(t.relax_column_count_less)}`);t.relax_column_count_less=!1}if("boolean"==typeof t.relax_column_count_more);else{if(void 0!==t.relax_column_count_more&&null!==t.relax_column_count_more)throw new Error(`Invalid Option: relax_column_count_more must be a boolean, got ${JSON.stringify(t.relax_column_count_more)}`);t.relax_column_count_more=!1}if("boolean"==typeof t.relax_quotes);else{if(void 0!==t.relax_quotes&&null!==t.relax_quotes)throw new Error(`Invalid Option: relax_quotes must be a boolean, got ${JSON.stringify(t.relax_quotes)}`);t.relax_quotes=!1}if("boolean"==typeof t.skip_empty_lines);else{if(void 0!==t.skip_empty_lines&&null!==t.skip_empty_lines)throw new Error(`Invalid Option: skip_empty_lines must be a boolean, got ${JSON.stringify(t.skip_empty_lines)}`);t.skip_empty_lines=!1}if("boolean"==typeof t.skip_records_with_empty_values);else{if(void 0!==t.skip_records_with_empty_values&&null!==t.skip_records_with_empty_values)throw new Error(`Invalid Option: skip_records_with_empty_values must be a boolean, got ${JSON.stringify(t.skip_records_with_empty_values)}`);t.skip_records_with_empty_values=!1}if("boolean"==typeof t.skip_records_with_error);else{if(void 0!==t.skip_records_with_error&&null!==t.skip_records_with_error)throw new Error(`Invalid Option: skip_records_with_error must be a boolean, got ${JSON.stringify(t.skip_records_with_error)}`);t.skip_records_with_error=!1}if(void 0===t.rtrim||null===t.rtrim||!1===t.rtrim)t.rtrim=!1;else if(!0!==t.rtrim)throw new Error(`Invalid Option: rtrim must be a boolean, got ${JSON.stringify(t.rtrim)}`);if(void 0===t.ltrim||null===t.ltrim||!1===t.ltrim)t.ltrim=!1;else if(!0!==t.ltrim)throw new Error(`Invalid Option: ltrim must be a boolean, got ${JSON.stringify(t.ltrim)}`);if(void 0===t.trim||null===t.trim||!1===t.trim)t.trim=!1;else if(!0!==t.trim)throw new Error(`Invalid Option: trim must be a boolean, got ${JSON.stringify(t.trim)}`);if(!0===t.trim&&!1!==e.ltrim?t.ltrim=!0:!0!==t.ltrim&&(t.ltrim=!1),!0===t.trim&&!1!==e.rtrim?t.rtrim=!0:!0!==t.rtrim&&(t.rtrim=!1),void 0===t.to||null===t.to)t.to=-1;else if(-1!==t.to){if("string"==typeof t.to&&/\d+/.test(t.to)&&(t.to=parseInt(t.to)),!Number.isInteger(t.to))throw new Error(`Invalid Option: to must be an integer, got ${JSON.stringify(e.to)}`);if(t.to<=0)throw new Error(`Invalid Option: to must be a positive integer greater than 0, got ${JSON.stringify(e.to)}`)}if(void 0===t.to_line||null===t.to_line)t.to_line=-1;else if(-1!==t.to_line){if("string"==typeof t.to_line&&/\d+/.test(t.to_line)&&(t.to_line=parseInt(t.to_line)),!Number.isInteger(t.to_line))throw new Error(`Invalid Option: to_line must be an integer, got ${JSON.stringify(e.to_line)}`);if(t.to_line<=0)throw new Error(`Invalid Option: to_line must be a positive integer greater than 0, got ${JSON.stringify(e.to_line)}`)}return t},cc=function(e){return e.every((e=>null==e||e.toString&&""===e.toString().trim()))},uc={utf8:xs.from([239,187,191]),utf16le:xs.from([255,254])},dc=function(e,t={}){"string"==typeof e&&(e=xs.from(e));const n=t&&t.objname?{}:[],r=function(e={}){const t=sc(e);return{info:{bytes:0,comment_lines:0,empty_lines:0,invalid_field_length:0,lines:1,records:0},original_options:e,options:t,state:lc(t),__needMoreData:function(e,t,n){if(n)return!1;const{encoding:r,escape:a,quote:i}=this.options,{quoting:o,needMoreDataSize:l,recordDelimiterMaxLength:s}=this.state;return t-e-1<Math.max(l,0===s?xs.from("\r\n",r).length:s,o?(null===a?0:a.length)+i.length:0,o?i.length+s:0)},parse:function(e,t,n,r){const{bom:a,comment_no_infix:i,encoding:o,from_line:l,ltrim:s,max_record_size:c,raw:u,relax_quotes:d,rtrim:p,skip_empty_lines:f,to:m,to_line:h}=this.options;let{comment:g,escape:b,quote:v,record_delimiter:x}=this.options;const{bomSkipped:y,previousBuf:w,rawBuffer:C,escapeIsQuote:E}=this.state;let I;if(void 0===w){if(void 0===e)return void r();I=e}else I=void 0!==w&&void 0===e?w:xs.concat([w,e]);if(!1===y)if(!1===a)this.state.bomSkipped=!0;else if(I.length<3){if(!1===t)return void(this.state.previousBuf=I)}else{for(const e in uc)if(0===uc[e].compare(I,0,uc[e].length)){const t=uc[e].length;this.state.bufBytesStart+=t,I=I.slice(t);const n=sc({...this.original_options,encoding:e});for(const e in n)this.options[e]=n[e];({comment:g,escape:b,quote:v}=this.options);break}this.state.bomSkipped=!0}const k=I.length;let M;for(M=0;M<k&&!this.__needMoreData(M,k,t);M++){if(!0===this.state.wasRowDelimiter&&(this.info.lines++,this.state.wasRowDelimiter=!1),-1!==h&&this.info.lines>h)return this.state.stop=!0,void r();!1===this.state.quoting&&0===x.length&&this.__autoDiscoverRecordDelimiter(I,M)&&(x=this.options.record_delimiter);const e=I[M];if(!0===u&&C.append(e),13!==e&&10!==e||!1!==this.state.wasRowDelimiter||(this.state.wasRowDelimiter=!0),!0===this.state.escaping)this.state.escaping=!1;else{if(null!==b&&!0===this.state.quoting&&this.__isEscape(I,M,e)&&M+b.length<k){if(!E){this.state.escaping=!0,M+=b.length-1;continue}if(this.__isQuote(I,M+b.length)){this.state.escaping=!0,M+=b.length-1;continue}}if(!1===this.state.commenting&&this.__isQuote(I,M))if(!0===this.state.quoting){const t=I[M+v.length],n=p&&this.__isCharTrimable(I,M+v.length),r=null!==g&&this.__compareBytes(g,I,M+v.length,t),a=this.__isDelimiter(I,M+v.length,t),i=0===x.length?this.__autoDiscoverRecordDelimiter(I,M+v.length):this.__isRecordDelimiter(t,I,M+v.length);if(null!==b&&this.__isEscape(I,M,e)&&this.__isQuote(I,M+b.length))M+=b.length-1;else{if(!t||a||i||r||n){this.state.quoting=!1,this.state.wasQuoting=!0,M+=v.length-1;continue}if(!1===d){const e=this.__error(new ac("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(t)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(void 0!==e)return e}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(v),M+=v.length-1}}else{if(0===this.state.field.length){this.state.quoting=!0,M+=v.length-1;continue}if(!1===d){const e=this.__infoField(),t=Object.keys(uc).map((e=>!!uc[e].equals(this.state.field.toString())&&e)).filter(Boolean)[0],n=this.__error(new ac("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(e.column)} at line ${e.lines}, value is ${JSON.stringify(this.state.field.toString(o))}`,t?`(${t} bom)`:void 0],this.options,e,{field:this.state.field}));if(void 0!==n)return n}}if(!1===this.state.quoting){const t=this.__isRecordDelimiter(e,I,M);if(0!==t){if(this.state.commenting&&!1===this.state.wasQuoting&&0===this.state.record.length&&0===this.state.field.length)this.info.comment_lines++;else{if(!1===this.state.enabled&&this.info.lines+(!0===this.state.wasRowDelimiter?1:0)>=l){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),M+=t-1;continue}if(!0===f&&!1===this.state.wasQuoting&&0===this.state.record.length&&0===this.state.field.length){this.info.empty_lines++,M+=t-1;continue}this.info.bytes=this.state.bufBytesStart+M;const e=this.__onField();if(void 0!==e)return e;this.info.bytes=this.state.bufBytesStart+M+t;const a=this.__onRecord(n);if(void 0!==a)return a;if(-1!==m&&this.info.records>=m)return this.state.stop=!0,void r()}this.state.commenting=!1,M+=t-1;continue}if(this.state.commenting)continue;if(null!==g&&(!1===i||0===this.state.record.length&&0===this.state.field.length)&&0!==this.__compareBytes(g,I,M,e)){this.state.commenting=!0;continue}const a=this.__isDelimiter(I,M,e);if(0!==a){this.info.bytes=this.state.bufBytesStart+M;const e=this.__onField();if(void 0!==e)return e;M+=a-1;continue}}}if(!1===this.state.commenting&&0!==c&&this.state.record_length+this.state.field.length>c)return this.__error(new ac("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${c}`,`at line ${this.info.lines}`],this.options,this.__infoField()));const t=!1===s||!0===this.state.quoting||0!==this.state.field.length||!this.__isCharTrimable(I,M),a=!1===p||!1===this.state.wasQuoting;if(!0!==t||!0!==a){if(!0!==p||this.__isCharTrimable(I,M)){!1===t&&(M+=this.__isCharTrimable(I,M)-1);continue}return this.__error(new ac("CSV_NON_TRIMABLE_CHAR_AFTER_CLOSING_QUOTE",["Invalid Closing Quote:","found non trimable byte after quote",`at line ${this.info.lines}`],this.options,this.__infoField()))}this.state.field.append(e)}if(!0===t)if(!0===this.state.quoting){const e=this.__error(new ac("CSV_QUOTE_NOT_CLOSED",["Quote Not Closed:",`the parsing is finished with an opening quote at line ${this.info.lines}`],this.options,this.__infoField()));if(void 0!==e)return e}else if(!0===this.state.wasQuoting||0!==this.state.record.length||0!==this.state.field.length){this.info.bytes=this.state.bufBytesStart+M;const e=this.__onField();if(void 0!==e)return e;const t=this.__onRecord(n);if(void 0!==t)return t}else!0===this.state.wasRowDelimiter?this.info.empty_lines++:!0===this.state.commenting&&this.info.comment_lines++;else this.state.bufBytesStart+=M,this.state.previousBuf=I.slice(M);!0===this.state.wasRowDelimiter&&(this.info.lines++,this.state.wasRowDelimiter=!1)},__onRecord:function(e){const{columns:t,group_columns_by_name:n,encoding:r,info:a,from:i,relax_column_count:o,relax_column_count_less:l,relax_column_count_more:s,raw:c,skip_records_with_empty_values:u}=this.options,{enabled:d,record:p}=this.state;if(!1===d)return this.__resetRecord();const f=p.length;if(!0===t)return!0===u&&cc(p)?void this.__resetRecord():this.__firstLineToColumns(p);if(!1===t&&0===this.info.records&&(this.state.expectedRecordLength=f),f!==this.state.expectedRecordLength){const e=!1===t?new ac("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${f} on line ${this.info.lines}`],this.options,this.__infoField(),{record:p}):new ac("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${t.length},`,`got ${f} on line ${this.info.lines}`],this.options,this.__infoField(),{record:p});if(!0===o||!0===l&&f<this.state.expectedRecordLength||!0===s&&f>this.state.expectedRecordLength)this.info.invalid_field_length++,this.state.error=e;else{const t=this.__error(e);if(t)return t}}if(!0===u&&cc(p))this.__resetRecord();else{if(!0===this.state.recordHasError)return this.__resetRecord(),void(this.state.recordHasError=!1);if(this.info.records++,1===i||this.info.records>=i){const{objname:i}=this.options;if(!1!==t){const o={};for(let e=0,r=p.length;e<r;e++)void 0===t[e]||t[e].disabled||(!0===n&&void 0!==o[t[e].name]?Array.isArray(o[t[e].name])?o[t[e].name]=o[t[e].name].concat(p[e]):o[t[e].name]=[o[t[e].name],p[e]]:o[t[e].name]=p[e]);if(!0===c||!0===a){const t=Object.assign({record:o},!0===c?{raw:this.state.rawBuffer.toString(r)}:{},!0===a?{info:this.__infoRecord()}:{}),n=this.__push(void 0===i?t:[o[i],t],e);if(n)return n}else{const t=this.__push(void 0===i?o:[o[i],o],e);if(t)return t}}else if(!0===c||!0===a){const t=Object.assign({record:p},!0===c?{raw:this.state.rawBuffer.toString(r)}:{},!0===a?{info:this.__infoRecord()}:{}),n=this.__push(void 0===i?t:[p[i],t],e);if(n)return n}else{const t=this.__push(void 0===i?p:[p[i],p],e);if(t)return t}}this.__resetRecord()}},__firstLineToColumns:function(e){const{firstLineToHeaders:t}=this.state;try{const n=void 0===t?e:t.call(null,e);if(!Array.isArray(n))return this.__error(new ac("CSV_INVALID_COLUMN_MAPPING",["Invalid Column Mapping:","expect an array from column function,",`got ${JSON.stringify(n)}`],this.options,this.__infoField(),{headers:n}));const r=ic(n);return this.state.expectedRecordLength=r.length,this.options.columns=r,void this.__resetRecord()}catch(e){return e}},__resetRecord:function(){!0===this.options.raw&&this.state.rawBuffer.reset(),this.state.error=void 0,this.state.record=[],this.state.record_length=0},__onField:function(){const{cast:e,encoding:t,rtrim:n,max_record_size:r}=this.options,{enabled:a,wasQuoting:i}=this.state;if(!1===a)return this.__resetField();let o=this.state.field.toString(t);if(!0===n&&!1===i&&(o=o.trimRight()),!0===e){const[e,t]=this.__cast(o);if(void 0!==e)return e;o=t}this.state.record.push(o),0!==r&&"string"==typeof o&&(this.state.record_length+=o.length),this.__resetField()},__resetField:function(){this.state.field.reset(),this.state.wasQuoting=!1},__push:function(e,t){const{on_record:n}=this.options;if(void 0!==n){const t=this.__infoRecord();try{e=n.call(null,e,t)}catch(e){return e}if(null==e)return}t(e)},__cast:function(e){const{columns:t,relax_column_count:n}=this.options;if(!0===Array.isArray(t)&&n&&this.options.columns.length<=this.state.record.length)return[void 0,void 0];if(null!==this.state.castField)try{const t=this.__infoField();return[void 0,this.state.castField.call(null,e,t)]}catch(e){return[e]}if(this.__isFloat(e))return[void 0,parseFloat(e)];if(!1!==this.options.cast_date){const t=this.__infoField();return[void 0,this.options.cast_date.call(null,e,t)]}return[void 0,e]},__isCharTrimable:function(e,t){return((e,t)=>{const{timchars:n}=this.state;e:for(let r=0;r<n.length;r++){const a=n[r];for(let n=0;n<a.length;n++)if(a[n]!==e[t+n])continue e;return a.length}return 0})(e,t)},__isFloat:function(e){return e-parseFloat(e)+1>=0},__compareBytes:function(e,t,n,r){if(e[0]!==r)return 0;const a=e.length;for(let r=1;r<a;r++)if(e[r]!==t[n+r])return 0;return a},__isDelimiter:function(e,t,n){const{delimiter:r,ignore_last_delimiters:a}=this.options;if(!0===a&&this.state.record.length===this.options.columns.length-1)return 0;if(!1!==a&&"number"==typeof a&&this.state.record.length===a-1)return 0;e:for(let a=0;a<r.length;a++){const i=r[a];if(i[0]===n){for(let n=1;n<i.length;n++)if(i[n]!==e[t+n])continue e;return i.length}}return 0},__isRecordDelimiter:function(e,t,n){const{record_delimiter:r}=this.options,a=r.length;e:for(let i=0;i<a;i++){const a=r[i],o=a.length;if(a[0]===e){for(let e=1;e<o;e++)if(a[e]!==t[n+e])continue e;return a.length}}return 0},__isEscape:function(e,t,n){const{escape:r}=this.options;if(null===r)return!1;const a=r.length;if(r[0]===n){for(let n=0;n<a;n++)if(r[n]!==e[t+n])return!1;return!0}return!1},__isQuote:function(e,t){const{quote:n}=this.options;if(null===n)return!1;const r=n.length;for(let a=0;a<r;a++)if(n[a]!==e[t+a])return!1;return!0},__autoDiscoverRecordDelimiter:function(e,t){const{encoding:n}=this.options,r=[xs.from("\r\n",n),xs.from("\n",n),xs.from("\r",n)];e:for(let n=0;n<r.length;n++){const a=r[n].length;for(let i=0;i<a;i++)if(r[n][i]!==e[t+i])continue e;return this.options.record_delimiter.push(r[n]),this.state.recordDelimiterMaxLength=r[n].length,r[n].length}return 0},__error:function(e){const{encoding:t,raw:n,skip_records_with_error:r}=this.options,a="string"==typeof e?new Error(e):e;if(!r)return a;if(this.state.recordHasError=!0,void 0!==this.options.on_skip)try{this.options.on_skip(a,n?this.state.rawBuffer.toString(t):void 0)}catch(a){return a}},__infoDataSet:function(){return{...this.info,columns:this.options.columns}},__infoRecord:function(){const{columns:e,raw:t,encoding:n}=this.options;return{...this.__infoDataSet(),error:this.state.error,header:!0===e,index:this.state.record.length,raw:t?this.state.rawBuffer.toString(n):void 0}},__infoField:function(){const{columns:e}=this.options,t=Array.isArray(e);return{...this.__infoRecord(),column:!0===t?e.length>this.state.record.length?e[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}}}}(t),a=r.parse(e,!0,(e=>{void 0===r.options.objname?n.push(e):n[e[0]]=e[1]}),(()=>{}));if(void 0!==a)throw a;return n},pc=e=>{var t;const n=e.trim();if(!n)return[];let r;const a=n.includes(","),i=n.startsWith('"')&&n.endsWith('"');if(a||i)try{r=null!==(t=dc(n,{columns:!1})[0])&&void 0!==t?t:[]}catch(e){r=n.split(",")}else r=[n];return r.filter((e=>e&&"string"==typeof e)).map((e=>e.trim())).filter((e=>e))},fc=o.default.div`
757
757
  display: flex;
758
758
  align-items: center;
759
759
  align-content: center;
@@ -2142,9 +2142,8 @@ object-assign
2142
2142
  width: max-content;
2143
2143
  min-width: 100%;
2144
2144
  table-layout: fixed;
2145
- /* collapse だと th/td position: sticky が効かない環境がある */
2146
- border-collapse: separate;
2147
- border-spacing: 0;
2145
+ /* separate + sticky は安全側だが tr の下線が出ない。collapse で行境界を tr に任せる */
2146
+ border-collapse: collapse;
2148
2147
  }
2149
2148
  `,Cy=o.default.div`
2150
2149
  display: flex;
@@ -2269,7 +2268,6 @@ object-assign
2269
2268
  position: relative;
2270
2269
  z-index: 2;
2271
2270
  background: transparent;
2272
- box-shadow: 0px 4px 0px ${({theme:e})=>e.palette.action.shadowBase}0A;
2273
2271
  `,Ly=o.default.th`
2274
2272
  height: 1px; /* 子要素の高さ 100% を有効にする。table-layout: fixed になっている必要がある */
2275
2273
  text-align: left;
@@ -2283,6 +2281,7 @@ object-assign
2283
2281
  top: 0;
2284
2282
  z-index: 2;
2285
2283
  background: ${({theme:e})=>e.palette.background.default};
2284
+ /* border-collapse: collapse では border が潰れやすいので区切りは inset box-shadow(装飾用の影は付けない) */
2286
2285
  box-shadow:
2287
2286
  inset 0 1px 0 0 ${({theme:e})=>e.palette.divider},
2288
2287
  inset 0 -1px 0 0 ${({theme:e})=>e.palette.divider};
@@ -2311,23 +2310,10 @@ object-assign
2311
2310
  `}
2312
2311
 
2313
2312
  ${({$stickyRightOffset:e,theme:n,$showStickyEdgeDecoration:r})=>void 0!==e&&!1!==r&&t.css`
2314
- /* border は collapse で潰れやすい。内側の 1px は inset で確実に */
2315
2313
  box-shadow:
2316
2314
  inset 0 1px 0 0 ${n.palette.divider},
2317
2315
  inset 0 -1px 0 0 ${n.palette.divider},
2318
2316
  inset 1px 0 0 0 ${n.palette.divider};
2319
- /* box-shadow は隣セル上に乗らない。thead の下影(4px・blur 0・…0A)に合わせ均一帯で重ねる */
2320
- &::after {
2321
- content: "";
2322
- position: absolute;
2323
- top: 0;
2324
- bottom: 0;
2325
- right: 100%;
2326
- width: 4px;
2327
- pointer-events: none;
2328
- z-index: 1;
2329
- background: ${n.palette.action.shadowBase}0A;
2330
- }
2331
2317
  `}
2332
2318
  `,$y=o.default.td`
2333
2319
  ${({$stickyRightOffset:e,theme:n,$stickyZIndex:r,$showStickyEdgeDecoration:a})=>void 0!==e&&t.css`
@@ -2339,20 +2325,6 @@ object-assign
2339
2325
  box-shadow: inset 1px 0 0 0 ${n.palette.divider};
2340
2326
  `}
2341
2327
 
2342
- ${!1!==a&&t.css`
2343
- &::after {
2344
- content: "";
2345
- position: absolute;
2346
- top: 0;
2347
- bottom: 0;
2348
- right: 100%;
2349
- width: 4px;
2350
- pointer-events: none;
2351
- z-index: 2;
2352
- background: ${n.palette.action.shadowBase}0A;
2353
- }
2354
- `}
2355
-
2356
2328
  tr[data-highlighted="true"] & {
2357
2329
  background: ${n.palette.primary.highlight};
2358
2330
  }
@@ -2368,13 +2340,15 @@ object-assign
2368
2340
  justify-content: center;
2369
2341
  gap: 4px;
2370
2342
  box-sizing: border-box;
2371
- padding: 8px ${({isSmallLayout:e})=>e?6:10}px;
2343
+ /* ハンドル調整で中身を左に 3px ずらす。左右の合計 padding は従来の 6 / 2×10 のまま */
2344
+ padding: 8px ${({isSmallLayout:e})=>3+(e?6:10)}px 8px
2345
+ ${({isSmallLayout:e})=>(e?6:10)-3}px;
2372
2346
  height: 100%;
2373
2347
  margin: 0 5px;
2374
2348
  `,Vy=o.default.button`
2375
2349
  --color: ${({theme:e})=>e.palette.divider};
2376
2350
  position: absolute;
2377
- inset: 0 -10px 0 auto;
2351
+ inset: 0 -6px 0 auto;
2378
2352
  width: 10px;
2379
2353
  padding: 0;
2380
2354
  border: 0;