{"version":3,"file":"createBreakpoint.cjs","sources":["../../src/themes/createBreakpoint.ts"],"sourcesContent":["import { merge } from '../libs/lodash'\n\nexport type BreakpointProperty = {\n  SP?: number\n  TABLET?: number\n}\n\nexport type CreatedBreakpointTheme = {\n  SP: number\n  TABLET: number\n}\n\nexport const defaultBreakpoint: CreatedBreakpointTheme = { SP: 599, TABLET: 959 }\n\nexport const createBreakpoint = (userBreakpoint?: BreakpointProperty): CreatedBreakpointTheme => {\n  if (!userBreakpoint) {\n    return defaultBreakpoint\n  }\n\n  return merge({ ...defaultBreakpoint }, userBreakpoint)\n}\n"],"names":["merge"],"mappings":";;;;AAYO,MAAM,iBAAiB,GAA2B,EAAE,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG;AAExE,MAAM,gBAAgB,GAAG,CAAC,cAAmC,KAA4B;IAC9F,IAAI,CAAC,cAAc,EAAE;AACnB,QAAA,OAAO,iBAAiB;IAC1B;IAEA,OAAOA,iBAAK,CAAC,EAAE,GAAG,iBAAiB,EAAE,EAAE,cAAc,CAAC;AACxD;;;;;"}