{"ast":null,"code":"import { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nvar _jsxFileName = \"/home/gkkdzdg/www/src/contexts/LocaleContextProvider.js\";\nimport LocaleContext from './LocaleContext';\nimport { useRef } from 'react';\n\nconst AppProviderContext = ({\n  children,\n  strings,\n  lang\n}) => {\n  const state = useRef({\n    strings,\n    lang\n  });\n  return /*#__PURE__*/_jsxDEV(LocaleContext.Provider, {\n    value: state.current,\n    children: children\n  }, void 0, false, {\n    fileName: _jsxFileName,\n    lineNumber: 8,\n    columnNumber: 3\n  }, this);\n};\n\nexport default AppProviderContext;","map":{"version":3,"sources":["/home/gkkdzdg/www/src/contexts/LocaleContextProvider.js"],"names":["LocaleContext","useRef","AppProviderContext","children","strings","lang","state","current"],"mappings":";;AAAA,OAAOA,aAAP,MAA0B,iBAA1B;AACA,SAASC,MAAT,QAAuB,OAAvB;;AAEA,MAAMC,kBAAkB,GAAG,CAAC;AAAEC,EAAAA,QAAF;AAAYC,EAAAA,OAAZ;AAAqBC,EAAAA;AAArB,CAAD,KAAkC;AAC5D,QAAMC,KAAK,GAAGL,MAAM,CAAC;AAAEG,IAAAA,OAAF;AAAWC,IAAAA;AAAX,GAAD,CAApB;AAEA,sBACC,QAAC,aAAD,CAAe,QAAf;AAAwB,IAAA,KAAK,EAAEC,KAAK,CAACC,OAArC;AAAA,cACEJ;AADF;AAAA;AAAA;AAAA;AAAA,UADD;AAKA,CARD;;AAUA,eAAeD,kBAAf","sourcesContent":["import LocaleContext from './LocaleContext'\nimport { useRef } from 'react'\n\nconst AppProviderContext = ({ children, strings, lang, }) => {\n\tconst state = useRef({ strings, lang })\n\n\treturn (\n\t\t<LocaleContext.Provider value={state.current}>\n\t\t\t{children}\n\t\t</LocaleContext.Provider>\n\t)\n}\n\nexport default AppProviderContext\n"]},"metadata":{},"sourceType":"module"}