Gazebo_simulation-Frontend/node_modules/.cache/babel-loader/bb5bae71c941fa5474e5effa4d4...

1 line
1.4 KiB
JSON

{"ast":null,"code":"var __extends = this && this.__extends || function () {\n var _extendStatics = function extendStatics(d, b) {\n _extendStatics = Object.setPrototypeOf || {\n __proto__: []\n } instanceof Array && function (d, b) {\n d.__proto__ = b;\n } || function (d, b) {\n for (var p in b) {\n if (b.hasOwnProperty(p)) d[p] = b[p];\n }\n };\n\n return _extendStatics(d, b);\n };\n\n return function (d, b) {\n _extendStatics(d, b);\n\n function __() {\n this.constructor = d;\n }\n\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n}();\n\nimport * as React from 'react';\nimport Cookies from 'universal-cookie';\nimport { Provider } from './CookiesContext';\n\nvar CookiesProvider =\n/** @class */\nfunction (_super) {\n __extends(CookiesProvider, _super);\n\n function CookiesProvider(props) {\n var _this = _super.call(this, props) || this;\n\n if (props.cookies) {\n _this.cookies = props.cookies;\n } else {\n _this.cookies = new Cookies();\n }\n\n return _this;\n }\n\n CookiesProvider.prototype.render = function () {\n return React.createElement(Provider, {\n value: this.cookies\n }, this.props.children);\n };\n\n return CookiesProvider;\n}(React.Component);\n\nexport default CookiesProvider;","map":null,"metadata":{},"sourceType":"module"}