mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
1 line
3.4 KiB
JSON
1 line
3.4 KiB
JSON
{"ast":null,"code":"import _asyncToGenerator from \"C:/Users/eudes.inacio/GabineteDigital/gabinete-digital-fo/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\";\nimport { _nullishCoalesce } from './_nullishCoalesce.js';\n\n// adapted from Sucrase (https://github.com/alangpierce/sucrase)\n\n/**\n * Polyfill for the nullish coalescing operator (`??`), when used in situations where at least one of the values is the\n * result of an async operation.\n *\n * Note that the RHS is wrapped in a function so that if it's a computed value, that evaluation won't happen unless the\n * LHS evaluates to a nullish value, to mimic the operator's short-circuiting behavior.\n *\n * Adapted from Sucrase (https://github.com/alangpierce/sucrase)\n *\n * @param lhs The value of the expression to the left of the `??`\n * @param rhsFn A function returning the value of the expression to the right of the `??`\n * @returns The LHS value, unless it's `null` or `undefined`, in which case, the RHS value\n */\nfunction _asyncNullishCoalesce(_x, _x2) {\n return _asyncNullishCoalesce2.apply(this, arguments);\n} // Sucrase version:\n// async function _asyncNullishCoalesce(lhs, rhsFn) {\n// if (lhs != null) {\n// return lhs;\n// } else {\n// return await rhsFn();\n// }\n// }\nfunction _asyncNullishCoalesce2() {\n _asyncNullishCoalesce2 = _asyncToGenerator(function* (lhs, rhsFn) {\n return _nullishCoalesce(lhs, rhsFn);\n });\n return _asyncNullishCoalesce2.apply(this, arguments);\n}\nexport { _asyncNullishCoalesce };","map":{"version":3,"names":["_nullishCoalesce","_asyncNullishCoalesce","_x","_x2","_asyncNullishCoalesce2","apply","arguments","_asyncToGenerator","lhs","rhsFn"],"sources":["C:/Users/eudes.inacio/GabineteDigital/gabinete-digital-fo/node_modules/@sentry/utils/esm/buildPolyfills/_asyncNullishCoalesce.js"],"sourcesContent":["import { _nullishCoalesce } from './_nullishCoalesce.js';\n\n// adapted from Sucrase (https://github.com/alangpierce/sucrase)\n\n/**\n * Polyfill for the nullish coalescing operator (`??`), when used in situations where at least one of the values is the\n * result of an async operation.\n *\n * Note that the RHS is wrapped in a function so that if it's a computed value, that evaluation won't happen unless the\n * LHS evaluates to a nullish value, to mimic the operator's short-circuiting behavior.\n *\n * Adapted from Sucrase (https://github.com/alangpierce/sucrase)\n *\n * @param lhs The value of the expression to the left of the `??`\n * @param rhsFn A function returning the value of the expression to the right of the `??`\n * @returns The LHS value, unless it's `null` or `undefined`, in which case, the RHS value\n */\nasync function _asyncNullishCoalesce(lhs, rhsFn) {\n return _nullishCoalesce(lhs, rhsFn);\n}\n\n// Sucrase version:\n// async function _asyncNullishCoalesce(lhs, rhsFn) {\n// if (lhs != null) {\n// return lhs;\n// } else {\n// return await rhsFn();\n// }\n// }\n\nexport { _asyncNullishCoalesce };\n"],"mappings":";AAAA,SAASA,gBAAgB,QAAQ,uBAAuB;;AAExD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAZA,SAaeC,qBAAqBA,CAAAC,EAAA,EAAAC,GAAA;EAAA,OAAAC,sBAAA,CAAAC,KAAA,OAAAC,SAAA;AAAA,EAIpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA,SAAAF,uBAAA;EAAAA,sBAAA,GAAAG,iBAAA,CAXA,WAAqCC,GAAG,EAAEC,KAAK,EAAE;IAC/C,OAAOT,gBAAgB,CAACQ,GAAG,EAAEC,KAAK,CAAC;EACrC,CAAC;EAAA,OAAAL,sBAAA,CAAAC,KAAA,OAAAC,SAAA;AAAA;AAWD,SAASL,qBAAqB"},"metadata":{},"sourceType":"module"} |