UNPKG

skypager-project

Version:
1,677 lines (1,656 loc) 400 kB
module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModules[moduleId].exports; /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ // Flag the module as loaded /******/ module.l = true; /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ // identity function for calling harmory imports with the correct context /******/ __webpack_require__.i = function(value) { return value; }; /******/ // define getter function for harmory exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ Object.defineProperty(exports, name, { /******/ configurable: false, /******/ enumerable: true, /******/ get: getter /******/ }); /******/ }; /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ // __webpack_public_path__ /******/ __webpack_require__.p = "/"; /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 144); /******/ }) /************************************************************************/ /******/ ({ /***/ 144: /***/ function(module, exports, __webpack_require__) { module.exports = __webpack_require__(53); /***/ }, /***/ 53: /***/ function(module, exports) { module.exports = { "path": "/Users/jonathan/Skypager/packages/skypager-project/src/helpers/config-builder.js", "ast": { "type": "File", "start": 0, "end": 1566, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 64, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 1566, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 64, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "Object" }, "property": { "type": "Identifier", "name": "defineProperty" }, "computed": false }, "arguments": [ { "type": "Identifier", "name": "exports" }, { "type": "StringLiteral", "extra": { "rawValue": "__esModule", "raw": "\"__esModule\"" }, "value": "__esModule" }, { "type": "ObjectExpression", "properties": [ { "type": "ObjectProperty", "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "name": "value" }, "value": { "type": "BooleanLiteral", "value": true } } ] } ] } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "exports" }, "property": { "type": "Identifier", "name": "ConfigBuilder", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": false }, "right": { "type": "Identifier", "name": "undefined", "trailingComments": [], "leadingComments": [], "innerComments": [] } } }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_extends2" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require" }, "arguments": [ { "type": "StringLiteral", "value": "babel-runtime/helpers/extends", "trailingComments": [], "leadingComments": [], "innerComments": [] } ] } } ] }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_extends3" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault" }, "arguments": [ { "type": "Identifier", "name": "_extends2" } ] } } ] }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_defineEnumerableProperties2" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require" }, "arguments": [ { "type": "StringLiteral", "value": "babel-runtime/helpers/defineEnumerableProperties", "trailingComments": [], "leadingComments": [], "innerComments": [] } ] } } ] }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_defineEnumerableProperties3" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault" }, "arguments": [ { "type": "Identifier", "name": "_defineEnumerableProperties2" } ] } } ] }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_assign" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require" }, "arguments": [ { "type": "StringLiteral", "value": "babel-runtime/core-js/object/assign", "trailingComments": [], "leadingComments": [], "innerComments": [] } ] } } ] }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_assign2" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault" }, "arguments": [ { "type": "Identifier", "name": "_assign" } ] } } ] }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_keys" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require" }, "arguments": [ { "type": "StringLiteral", "value": "babel-runtime/core-js/object/keys", "trailingComments": [], "leadingComments": [], "innerComments": [] } ] } } ] }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_keys2" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault" }, "arguments": [ { "type": "Identifier", "name": "_keys" } ] } } ] }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_getPrototypeOf" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require" }, "arguments": [ { "type": "StringLiteral", "value": "babel-runtime/core-js/object/get-prototype-of", "trailingComments": [], "leadingComments": [], "innerComments": [] } ] } } ] }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_getPrototypeOf2" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault" }, "arguments": [ { "type": "Identifier", "name": "_getPrototypeOf" } ] } } ] }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_classCallCheck2" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require" }, "arguments": [ { "type": "StringLiteral", "value": "babel-runtime/helpers/classCallCheck", "trailingComments": [], "leadingComments": [], "innerComments": [] } ] } } ] }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_classCallCheck3" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault" }, "arguments": [ { "type": "Identifier", "name": "_classCallCheck2" } ] } } ] }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_createClass2" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require" }, "arguments": [ { "type": "StringLiteral", "value": "babel-runtime/helpers/createClass", "trailingComments": [], "leadingComments": [], "innerComments": [] } ] } } ] }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_createClass3" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault" }, "arguments": [ { "type": "Identifier", "name": "_createClass2" } ] } } ] }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_possibleConstructorReturn2" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require" }, "arguments": [ { "type": "StringLiteral", "value": "babel-runtime/helpers/possibleConstructorReturn", "trailingComments": [], "leadingComments": [], "innerComments": [] } ] } } ] }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_possibleConstructorReturn3" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault" }, "arguments": [ { "type": "Identifier", "name": "_possibleConstructorReturn2" } ] } } ] }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_inherits2" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require" }, "arguments": [ { "type": "StringLiteral", "value": "babel-runtime/helpers/inherits", "trailingComments": [], "leadingComments": [], "innerComments": [] } ] } } ] }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_inherits3" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault" }, "arguments": [ { "type": "Identifier", "name": "_inherits2" } ] } } ] }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_class" }, "init": null }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_temp" }, "init": null } ] }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_skypagerRegistry" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require" }, "arguments": [ { "type": "StringLiteral", "value": "skypager-registry", "trailingComments": [], "leadingComments": [], "innerComments": [] } ] } } ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 43 } } }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_helper" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require" }, "arguments": [ { "type": "StringLiteral", "value": "../helper", "trailingComments": [], "leadingComments": [], "innerComments": [] } ] } } ], "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 30 } } }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_helper2" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault" }, "arguments": [ { "type": "Identifier", "name": "_helper" } ] } } ] }, { "type": "FunctionDeclaration", "id": { "type": "Identifier", "name": "_interopRequireDefault" }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "name": "obj" } ], "body": { "type": "BlockStatement", "body": [ { "type": "ReturnStatement", "argument": { "type": "ConditionalExpression", "test": { "type": "LogicalExpression", "left": { "type": "Identifier", "name": "obj" }, "operator": "&&", "right": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "obj" }, "property": { "type": "Identifier", "name": "__esModule" }, "computed": false } }, "consequent": { "type": "Identifier", "name": "obj" }, "alternate": { "type": "ObjectExpression", "properties": [ { "type": "ObjectProperty", "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "name": "default" }, "value": { "type": "Identifier", "name": "obj" } } ] } } } ], "directives": [] }, "extra": { "parenthesized": true, "parenStart": 3 } }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "start": 89, "end": 102, "loc": { "start": { "line": 4, "column": 13 }, "end": { "line": 4, "column": 26 }, "identifierName": "ConfigBuilder" }, "name": "ConfigBuilder", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "init": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "exports" }, "property": { "type": "Identifier", "start": 89, "end": 102, "loc": { "start": { "line": 4, "column": 13 }, "end": { "line": 4, "column": 26 }, "identifierName": "ConfigBuilder" }, "name": "ConfigBuilder", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": false }, "right": { "type": "SequenceExpression", "expressions": [ { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "_temp" }, "right": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "_class" }, "right": { "type": "CallExpression", "callee": { "type": "FunctionExpression", "id": null, "params": [ { "type": "Identifier", "name": "_Helper" } ], "body": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "SequenceExpression", "expressions": [ { "type": "NumericLiteral", "value": 0 }, { "type": "MemberExpression", "object": { "type": "Identifier", "name": "_inherits3" }, "property": { "type": "Identifier", "name": "default" }, "computed": false } ], "trailingComments": [], "leadingComments": [], "innerComments": [] }, "arguments": [ { "type": "Identifier", "name": "ConfigBuilder" }, { "type": "Identifier", "name": "_Helper" } ] } }, { "type": "FunctionDeclaration", "id": { "type": "Identifier", "name": "ConfigBuilder" }, "params": [], "body": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "SequenceExpression", "expressions": [ { "type": "NumericLiteral", "value": 0 }, { "type": "MemberExpression", "object": { "type": "Identifier", "name": "_classCallCheck3" }, "property": { "type": "Identifier", "name": "default" }, "computed": false } ], "trailingComments": [], "leadingComments": [], "innerComments": [] }, "arguments": [ { "type": "ThisExpression" }, { "type": "Identifier", "name": "ConfigBuilder" } ] } }, { "type": "ReturnStatement", "argument": { "type": "CallExpression", "callee": { "type": "SequenceExpression", "expressions": [ { "type": "NumericLiteral", "value": 0 }, { "type": "MemberExpression", "object": { "type": "Identifier", "name": "_possibleConstructorReturn3" }, "property": { "type": "Identifier", "name": "default" }, "computed": false } ], "trailingComments": [], "leadingComments": [], "innerComments": [] }, "arguments": [ { "type": "ThisExpression" }, { "type": "CallExpression", "callee": { "type": "MemberExpression", "object": { "type": "LogicalExpression", "operator": "||", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "ConfigBuilder" }, "property": { "type": "Identifier", "name": "__proto__" }, "computed": false }, "right": { "type": "CallExpression", "callee": { "type": "SequenceExpression", "expressions": [ { "type": "NumericLiteral", "value": 0 }, { "type": "MemberExpression", "object": { "type": "Identifier", "name": "_getPrototypeOf2" }, "property": { "type": "Identifier", "name": "default" }, "computed": false } ], "trailingComments": [], "leadingComments": [], "innerComments": [] }, "arguments": [ { "type": "Identifier", "name": "ConfigBuilder" } ] } }, "property": { "type": "Identifier", "name": "apply" }, "computed": false }, "arguments": [ { "type": "ThisExpression" }, { "type": "Identifier", "name": "arguments" } ] } ] }, "trailingComments": [], "leadingComments": [], "innerComments": [] } ], "directives": [], "trailingComments": [], "leadingComments": [], "innerComments": [] }, "generator": false, "async": false, "trailingComments": [], "leadingComments": [], "innerComments": [] }, { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "SequenceExpression", "expressions": [ { "type": "NumericLiteral", "value": 0 }, { "type": "MemberExpression", "object": { "type": "Identifier", "name": "_createClass3" }, "property": { "type": "Identifier", "name": "default" }, "computed": false } ], "trailingComments": [], "leadingComments": [], "innerComments": [] }, "arguments": [ { "type": "Identifier", "name": "ConfigBuilder" }, { "type": "ArrayExpression", "elements": [ { "type": "ObjectExpression", "properties": [ { "type": "ObjectProperty", "key": { "type": "Identifier", "name": "key" }, "value": { "type": "StringLiteral", "value": "initialize" }, "computed": false, "shorthand": false, "decorators": null }, { "type": "ObjectProperty", "key": { "type": "Identifier", "name": "value" }, "value": { "type": "FunctionExpression", "id": { "type": "Identifier", "name": "initialize" }, "params": [], "body": { "type": "BlockStatement", "start": 833, "end": 1036, "loc": { "start": { "line": 30, "column": 15 }, "end": { "line": 40, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_this2", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "init": { "type": "ThisExpression" } } ] }, { "type": "VariableDeclaration", "start": 839, "end": 886, "loc": { "start": { "line": 31, "column": 4 }, "end": { "line": 31, "column": 51 } }, "declarations": [ { "type": "VariableDeclarator", "start": 845, "end": 886, "loc": { "start": { "line": 31, "column": 10 }, "end": { "line": 31, "column": 51 } }, "id": { "type": "Identifier", "start": 845, "end": 848, "loc": { "start": { "line": 31, "column": 10 }, "end": { "line": 31, "column": 13 }, "identifierName": "api" }, "name": "api" }, "init": { "type": "AssignmentExpression", "start": 851, "end": 886, "loc": { "start": { "line": 31, "column": 16 }, "end": { "line": 31, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 851, "end": 859, "loc": { "start": { "line": 31, "column": 16 }, "end": { "line": 31, "column": 24 } }, "object": { "type": "ThisExpression", "start": 851, "end": 855, "loc": { "start": { "line": 31, "column": 16 }, "end": { "line": 31, "column": 20 } } }, "property": { "type": "Identifier", "start": 856, "end": 859, "loc": { "start": { "line": 31, "column": 21 }, "end": { "line": 31, "column": 24 }, "identifierName": "api" }, "name": "api" }, "computed": false }, "right": { "type": "CallExpression", "start": 862, "end": 886, "loc": { "start": { "line": 31, "column": 27 }, "end": { "line": 31, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 862, "end": 872, "loc": { "start": { "line": 31, "column": 27 }, "end": { "line": 31, "column": 37 } }, "object": { "type": "ThisExpression", "start": 862, "end": 866, "loc": { "start": { "line": 31, "column": 27 }, "end": { "line": 31, "column": 31 } } }, "property": { "type": "Identifier", "start": 867, "end": 872, "loc": { "start": { "line": 31, "column": 32 }, "end": { "line": 31, "column": 37 }, "identifierName": "build" }, "name": "build" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 873, "end": 885, "loc": { "start": { "line": 31, "column": 38 }, "end": { "line": 31, "column": 50 } }, "object": { "type": "ThisExpression", "start": 873, "end": 877, "loc": { "start": { "line": 31, "column": 38 }, "end": { "line": 31, "column": 42 } } }, "property": { "type": "Identifier", "start": 878, "end": 885, "loc": { "start": { "line": 31, "column": 43 }, "end": { "line": 31, "column": 50 }, "identifierName": "options" }, "name": "options" }, "computed": false } ] } } } ], "kind": "var" }, { "type": "ExpressionStatement", "start": 892, "end": 1032, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 39, "column": 6 } }, "expression": { "type": "CallExpression", "start": 892, "end": 1032, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 39, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 892, "end": 921, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 33, "column": 33 } }, "object": { "type": "CallExpression", "start": 892, "end": 913, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 33, "column": 25 } }, "callee": { "type": "SequenceExpression", "expressions": [ { "type": "NumericLiteral", "value": 0 }, { "type": "MemberExpression", "object": { "type": "Identifier", "name": "_keys2" }, "property": { "type": "Identifier", "name": "default" }, "computed": false } ], "trailingComments": [], "leadingComments": [], "innerComments": [] }, "arguments": [ { "type": "MemberExpression", "start": 904, "end": 912, "loc": { "start": { "line": 33, "column": 16 }, "end": { "line": 33, "column": 24 } }, "object": { "type": "ThisExpression", "start": 904, "end": 908, "loc": { "start": { "line": 33, "column": 16 }, "end": { "line": 33, "column": 20 } } }, "property": { "type": "Identifier", "start": 909, "end": 912, "loc": { "start": { "line": 33, "column": 21 }, "end": { "line": 33, "column": 24 }, "identifierName": "api" }, "name": "api" }, "computed": false } ] }, "property": { "type": "Identifier", "start": 914, "end": 921, "loc": { "start": { "line": 33, "column": 26 }, "end": { "line": 33, "column": 33 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "FunctionExpression", "start": 922, "end": 1031, "loc": { "start": { "line": 33, "column": 34 }, "end": { "line": 39, "column": 5 } }, "id":