mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 04:11:02 +00:00
1 line
5.5 KiB
Plaintext
1 line
5.5 KiB
Plaintext
{"dependencies":[{"name":"react","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":10,"column":0,"index":181},"end":{"line":10,"column":57,"index":238}}],"key":"RtGiGa+/H7VrI7GDQDLhO1UbpU8=","exportNames":["*"],"imports":1}},{"name":"./isLocaleRTL","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":11,"column":0,"index":239},"end":{"line":11,"column":44,"index":283}}],"key":"h40HbjjsM+r5kbOCDq6LExi+on4=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n function _interopDefault(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n exports.getLocaleDirection = getLocaleDirection;\n exports.LocaleProvider = LocaleProvider;\n exports.useLocaleContext = useLocaleContext;\n var _react = require(_dependencyMap[0], \"react\");\n var React = _interopDefault(_react);\n var _isLocaleRTL = require(_dependencyMap[1], \"./isLocaleRTL\");\n /**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n var defaultLocale = {\n direction: 'ltr',\n locale: 'en-US'\n };\n var LocaleContext = /*#__PURE__*/(0, _react.createContext)(defaultLocale);\n function getLocaleDirection(locale) {\n return (0, _isLocaleRTL.isLocaleRTL)(locale) ? 'rtl' : 'ltr';\n }\n function LocaleProvider(props) {\n var direction = props.direction,\n locale = props.locale,\n children = props.children;\n var needsContext = direction || locale;\n return needsContext ? /*#__PURE__*/React.default.createElement(LocaleContext.Provider, {\n children: children,\n value: {\n direction: locale ? getLocaleDirection(locale) : direction,\n locale\n }\n }) : children;\n }\n function useLocaleContext() {\n return (0, _react.useContext)(LocaleContext);\n }\n});","lineCount":51,"map":[[12,2,17,0,"exports"],[12,9,17,0],[12,10,17,0,"getLocaleDirection"],[12,28,17,0],[12,31,17,0,"getLocaleDirection"],[12,49,17,0],[13,2,20,0,"exports"],[13,9,20,0],[13,10,20,0,"LocaleProvider"],[13,24,20,0],[13,27,20,0,"LocaleProvider"],[13,41,20,0],[14,2,33,0,"exports"],[14,9,33,0],[14,10,33,0,"useLocaleContext"],[14,26,33,0],[14,29,33,0,"useLocaleContext"],[14,45,33,0],[15,2,10,0],[15,6,10,0,"_react"],[15,12,10,0],[15,15,10,0,"require"],[15,22,10,0],[15,23,10,0,"_dependencyMap"],[15,37,10,0],[16,2,10,0],[16,6,10,0,"React"],[16,11,10,0],[16,14,10,0,"_interopDefault"],[16,29,10,0],[16,30,10,0,"_react"],[16,36,10,0],[17,2,11,0],[17,6,11,0,"_isLocaleRTL"],[17,18,11,0],[17,21,11,0,"require"],[17,28,11,0],[17,29,11,0,"_dependencyMap"],[17,43,11,0],[18,2,1,0],[19,0,2,0],[20,0,3,0],[21,0,4,0],[22,0,5,0],[23,0,6,0],[24,0,7,0],[25,0,8,0],[27,2,12,0],[27,6,12,4,"defaultLocale"],[27,19,12,17],[27,22,12,20],[28,4,13,2,"direction"],[28,13,13,11],[28,15,13,13],[28,20,13,18],[29,4,14,2,"locale"],[29,10,14,8],[29,12,14,10],[30,2,15,0],[30,3,15,1],[31,2,16,0],[31,6,16,4,"LocaleContext"],[31,19,16,17],[31,22,16,20],[31,35,16,33],[31,39,16,33,"createContext"],[31,45,16,46],[31,46,16,46,"createContext"],[31,59,16,46],[31,61,16,47,"defaultLocale"],[31,74,16,60],[31,75,16,61],[32,2,17,7],[32,11,17,16,"getLocaleDirection"],[32,29,17,34,"getLocaleDirection"],[32,30,17,35,"locale"],[32,36,17,41],[32,38,17,43],[33,4,18,2],[33,11,18,9],[33,15,18,9,"isLocaleRTL"],[33,27,18,20],[33,28,18,20,"isLocaleRTL"],[33,39,18,20],[33,41,18,21,"locale"],[33,47,18,27],[33,48,18,28],[33,51,18,31],[33,56,18,36],[33,59,18,39],[33,64,18,44],[34,2,19,0],[35,2,20,7],[35,11,20,16,"LocaleProvider"],[35,25,20,30,"LocaleProvider"],[35,26,20,31,"props"],[35,31,20,36],[35,33,20,38],[36,4,21,2],[36,8,21,6,"direction"],[36,17,21,15],[36,20,21,18,"props"],[36,25,21,23],[36,26,21,24,"direction"],[36,35,21,33],[37,6,22,4,"locale"],[37,12,22,10],[37,15,22,13,"props"],[37,20,22,18],[37,21,22,19,"locale"],[37,27,22,25],[38,6,23,4,"children"],[38,14,23,12],[38,17,23,15,"props"],[38,22,23,20],[38,23,23,21,"children"],[38,31,23,29],[39,4,24,2],[39,8,24,6,"needsContext"],[39,20,24,18],[39,23,24,21,"direction"],[39,32,24,30],[39,36,24,34,"locale"],[39,42,24,40],[40,4,25,2],[40,11,25,9,"needsContext"],[40,23,25,21],[40,26,25,24],[40,39,25,37,"React"],[40,44,25,42],[40,45,25,42,"default"],[40,52,25,42],[40,53,25,43,"createElement"],[40,66,25,56],[40,67,25,57,"LocaleContext"],[40,80,25,70],[40,81,25,71,"Provider"],[40,89,25,79],[40,91,25,81],[41,6,26,4,"children"],[41,14,26,12],[41,16,26,14,"children"],[41,24,26,22],[42,6,27,4,"value"],[42,11,27,9],[42,13,27,11],[43,8,28,6,"direction"],[43,17,28,15],[43,19,28,17,"locale"],[43,25,28,23],[43,28,28,26,"getLocaleDirection"],[43,46,28,44],[43,47,28,45,"locale"],[43,53,28,51],[43,54,28,52],[43,57,28,55,"direction"],[43,66,28,64],[44,8,29,6,"locale"],[45,6,30,4],[46,4,31,2],[46,5,31,3],[46,6,31,4],[46,9,31,7,"children"],[46,17,31,15],[47,2,32,0],[48,2,33,7],[48,11,33,16,"useLocaleContext"],[48,27,33,32,"useLocaleContext"],[48,28,33,32],[48,30,33,35],[49,4,34,2],[49,11,34,9],[49,15,34,9,"useContext"],[49,21,34,19],[49,22,34,19,"useContext"],[49,32,34,19],[49,34,34,20,"LocaleContext"],[49,47,34,33],[49,48,34,34],[50,2,35,0],[51,0,35,1],[51,3]],"functionMap":{"names":["<global>","getLocaleDirection","LocaleProvider","useLocaleContext"],"mappings":"AAA;OCgB;CDE;OEC;CFY;OGC"},"hasCjsExports":false},"type":"js/module"}]} |