diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000..ed22774 --- /dev/null +++ b/.babelrc @@ -0,0 +1,8 @@ +{ + "presets": ["@babel/preset-env"], + "env": { + "production": { + "presets": ["minify"] + } + } +} diff --git a/.esdoc.json b/.esdoc.json index ba57e20..6cc2f6a 100644 --- a/.esdoc.json +++ b/.esdoc.json @@ -1,6 +1,6 @@ { "source": "./src", - "destination": "./public", + "destination": "./docs", "plugins": [ { "name": "esdoc-standard-plugin" diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 88d6a27..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,13 +0,0 @@ -image: node:7.10 - -pages: - stage: deploy - script: - - npm install esdoc - - npm install esdoc-standard-plugin - - ./node_modules/.bin/esdoc - artifacts: - paths: - - public - tags: - - docker \ No newline at end of file diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..85de9cf --- /dev/null +++ b/.npmignore @@ -0,0 +1 @@ +src diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..a98d997 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,15 @@ +language: node_js +env: + - FORCE_COLOR=true +node_js: + - "8" + - "9" + - "10" + - "11" + - "12" +cache: + directories: + - node_modules +before_script: + - | + echo -e "{\"kkbox_sdk\": {\"client_id\": \"$CLIENT_ID\", \"client_secret\": \"$CLIENT_SECRET\"}}" > client_secrets.json diff --git a/LICENSE.txt b/LICENSE.txt index d29938b..aedc8e7 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2017 KKBOX Technologies Limited + Copyright 2018 KKBOX Technologies Limited Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/README.md b/README.md index 60acc77..79c6ecc 100644 --- a/README.md +++ b/README.md @@ -1,123 +1,114 @@ # KKBOX Open API Developer SDK for JavaScript -The SDK for accessing various metadata of KKBOX tracks, albums, artists, playlists and stations. -### npm install -``` -npm install @kkboxorg/kkbox-javascript-developer-sdk -``` +[![npm (scoped)](https://img.shields.io/npm/v/@kkbox/kkbox-js-sdk.svg)](https://www.npmjs.com/package/@kkbox/kkbox-js-sdk) +[![Build Status](https://travis-ci.org/KKBOX/OpenAPI-JavaScript.svg?branch=master)](https://travis-ci.org/KKBOX/OpenAPI-JavaScript) +[![License Apache](https://img.shields.io/badge/license-Apache-green.svg?style=flat)](https://raw.githubusercontent.com/KKBOX/OpenAPI-JavaScript/master/LICENSE.txt) -### Source Install -``` -npm install -``` +The SDK helps you to access various metadata from KKBOX, including tracks, albums, artists, playlists and stations. -### Build SDK -``` -npm run build +## Getting Started + +Install the SDK using npm + +```bash +$ npm install @kkbox/kkbox-js-sdk ``` -### Test -For testing, you should first browse [https://developer.kkbox.com/](https://developer.kkbox.com/) and create an developer account, then create an app to get client id and client secret for that account. +## Usage example +```js +import { Auth, Api } from '@kkbox/kkbox-js-sdk'; -Then, create a file name `client_secrets.json`, put it in the `test` directory and write the client id and client secret in it. The content will be like: +// Create an auth object with client id and secret +const auth = new Auth(client_id, client_secret); -``` -{ - "kkbox_sdk": { - "client_id": "YOUR CLIENT ID", - "client_secret": "YOUR CLIENT SECRET" - } -} -``` +// Fetch your access token +auth.clientCredentialsFlow + .fetchAccessToken() + .then(response => { + const access_token = response.data.access_token; -And then we can run the tests. + // Create an API object with your access token + const api = new Api(access_token); -``` -npm run test -``` + // Fetch content with various fetchers + api.searchFetcher + .setSearchCriteria('五月天 派對動物', 'track') + .fetchSearchResult() + .then(response => { -### SDK Documentation -Please browse [https://kkbox.github.io/OpenAPI-JavaScript/](https://kkbox.github.io/OpenAPI-JavaScript/) + // Content from the KKBOX Open API + console.log(response.data); -## How to use the SDK -There are two classes Auth and Api and you should initialize an Auth object by client id and secret. + // Continue to the next page + api.searchFetcher.fetchNextPage(response).then(response => { + console.log(response.data); + }); + }); + }); ``` -import {Auth} from 'kkbox-javascript-developer-sdk' -const auth = new Auth(client_id, client_secret) -``` +## Test -Then use the auth object to get access token. +To test the SDK, a valid client ID and client secret are required. -``` -auth.clientCredentialsFlow.fetchAccessToken().then(response => { - const access_token = response.data.access_token -}) -``` +Please visit [https://developer.kkbox.com/](https://developer.kkbox.com/), create a new developer account, and obtain the client ID and client secret of your app. + +Then, create a file named `client_secrets.json`, put it into the `test` directory, and fill your client ID and client secret into it. -After getting access token, use it to initialize Api object. +It may look like +```json +{ + "kkbox_sdk": { + "client_id": "YOUR CLIENT ID", + "client_secret": "YOUR CLIENT SECRET" + } +} ``` -import {Api} from 'kkbox-javascript-developer-sdk' -const api = new Api(access_token) +Run the test: +``` bash +$ npm test ``` -Now you can use various fetcher object to fetch data. +## Documentation -``` -api.searchFetcher.setSearchCriteria('五月天 派對動物', 'track').fetchSearchResult().then(response => { - console.log(response.data) -}) -``` +See [https://kkbox.github.io/OpenAPI-JavaScript/](https://kkbox.github.io/OpenAPI-JavaScript/) for full documentation. -Most methods return paged result and we can use the `fetchNextPage` method to get the next page of result. +## Use the SDK in Web Browsers -``` -api.searchFetcher.setSearchCriteria('五月天 派對動物', 'track').fetchSearchResult().then(response => { - console.log(response.data) - api.searchFetcher.fetchNextPage(response).then(response => { - console.log(response.data) - }) -}) -``` +The SDK plays fine with Node.js, but works partially in web browsers. -All the code. +You can use the SDK in your Web and [Electron](https://electronjs.org) apps, but you need to prepare a middle man server to help you to obtain access tokens. That's because KKBOX's Open API server supports [Cross-Origin Resource Sharing (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS), but the Auth server does not. +In other words, your JavaScript code hosted on your own website could access data from KKBOX, but direct access to the Auth server is forbidden by the security policy of modern web browsers. + +When developing an Electron app, you can choose to turn web security off to make you app able to fetch access tokens. You can do this while creating browser windows. + +```js +mainWindow = new BrowserWindow({ + width: 500, + height: 500, + useContentSize: true, + webPreferences: { + webSecurity: false + } +}); ``` -import {Auth} from 'kkbox-javascript-developer-sdk' -import {Api} from 'kkbox-javascript-developer-sdk' - -const auth = new Auth(client_id, client_secret) -auth.clientCredentialsFlow.fetchAccessToken().then(response => { - const access_token = response.data.access_token - const api = new Api(access_token) - api.searchFetcher.setSearchCriteria('五月天 派對動物', 'track').fetchSearchResult().then(response => { - console.log(response.data) - api.searchFetcher.fetchNextPage(response).then(response => { - console.log(response.data) - }) - }) -}) -``` -### Generate the SDK Documentation - npm run build-doc -Then open the the file `public/index.html` -### [API Documentation](https://kkbox.gelato.io) +## License -### License -Copyright 2017 KKBOX Technologies Limited +Copyright 2018 KKBOX Technologies Limited - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. diff --git a/docs/ast/source/.external-ecmascript.js.json b/docs/ast/source/.external-ecmascript.js.json new file mode 100644 index 0000000..21893b9 --- /dev/null +++ b/docs/ast/source/.external-ecmascript.js.json @@ -0,0 +1,2802 @@ +{ + "type": "File", + "start": 0, + "end": 6058, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 193, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 6058, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 193, + "column": 0 + } + }, + "sourceType": "module", + "body": [], + "directives": [], + "leadingComments": null, + "innerComments": [ + { + "type": "CommentLine", + "value": " https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects", + "start": 0, + "end": 83, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 83 + } + } + }, + { + "type": "CommentLine", + "value": " Value properties", + "start": 85, + "end": 104, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 19 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Infinity} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity\n ", + "start": 105, + "end": 226, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {NaN} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN\n ", + "start": 228, + "end": 339, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {undefined} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined\n ", + "start": 341, + "end": 464, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {null} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null\n ", + "start": 466, + "end": 579, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Fundamental objects", + "start": 581, + "end": 603, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 22 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", + "start": 604, + "end": 721, + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 23, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", + "start": 722, + "end": 839, + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", + "start": 841, + "end": 962, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 30, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", + "start": 963, + "end": 1084, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", + "start": 1086, + "end": 1205, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 37, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", + "start": 1206, + "end": 1325, + "loc": { + "start": { + "line": 38, + "column": 0 + }, + "end": { + "line": 40, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Symbol} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol\n ", + "start": 1327, + "end": 1444, + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 44, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Error} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error\n ", + "start": 1446, + "end": 1561, + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 48, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {EvalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError\n ", + "start": 1563, + "end": 1686, + "loc": { + "start": { + "line": 50, + "column": 0 + }, + "end": { + "line": 52, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {InternalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError\n ", + "start": 1688, + "end": 1819, + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 56, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {RangeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError\n ", + "start": 1821, + "end": 1946, + "loc": { + "start": { + "line": 58, + "column": 0 + }, + "end": { + "line": 60, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {ReferenceError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError\n ", + "start": 1948, + "end": 2081, + "loc": { + "start": { + "line": 62, + "column": 0 + }, + "end": { + "line": 64, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {SyntaxError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError\n ", + "start": 2083, + "end": 2210, + "loc": { + "start": { + "line": 66, + "column": 0 + }, + "end": { + "line": 68, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {TypeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError\n ", + "start": 2212, + "end": 2335, + "loc": { + "start": { + "line": 70, + "column": 0 + }, + "end": { + "line": 72, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {URIError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError\n ", + "start": 2337, + "end": 2458, + "loc": { + "start": { + "line": 74, + "column": 0 + }, + "end": { + "line": 76, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Numbers and dates", + "start": 2460, + "end": 2480, + "loc": { + "start": { + "line": 78, + "column": 0 + }, + "end": { + "line": 78, + "column": 20 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", + "start": 2481, + "end": 2598, + "loc": { + "start": { + "line": 79, + "column": 0 + }, + "end": { + "line": 81, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", + "start": 2599, + "end": 2716, + "loc": { + "start": { + "line": 82, + "column": 0 + }, + "end": { + "line": 84, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Date} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date\n ", + "start": 2718, + "end": 2831, + "loc": { + "start": { + "line": 86, + "column": 0 + }, + "end": { + "line": 88, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Text processing", + "start": 2833, + "end": 2851, + "loc": { + "start": { + "line": 90, + "column": 0 + }, + "end": { + "line": 90, + "column": 18 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {String} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", + "start": 2852, + "end": 2969, + "loc": { + "start": { + "line": 91, + "column": 0 + }, + "end": { + "line": 93, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {string} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", + "start": 2970, + "end": 3087, + "loc": { + "start": { + "line": 94, + "column": 0 + }, + "end": { + "line": 96, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {RegExp} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp\n ", + "start": 3089, + "end": 3206, + "loc": { + "start": { + "line": 98, + "column": 0 + }, + "end": { + "line": 100, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Indexed collections", + "start": 3208, + "end": 3230, + "loc": { + "start": { + "line": 102, + "column": 0 + }, + "end": { + "line": 102, + "column": 22 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array\n ", + "start": 3231, + "end": 3346, + "loc": { + "start": { + "line": 103, + "column": 0 + }, + "end": { + "line": 105, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Int8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array\n ", + "start": 3348, + "end": 3471, + "loc": { + "start": { + "line": 107, + "column": 0 + }, + "end": { + "line": 109, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array\n ", + "start": 3472, + "end": 3597, + "loc": { + "start": { + "line": 110, + "column": 0 + }, + "end": { + "line": 112, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint8ClampedArray} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray\n ", + "start": 3599, + "end": 3738, + "loc": { + "start": { + "line": 114, + "column": 0 + }, + "end": { + "line": 116, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Int16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array\n ", + "start": 3740, + "end": 3865, + "loc": { + "start": { + "line": 118, + "column": 0 + }, + "end": { + "line": 120, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array\n ", + "start": 3867, + "end": 3994, + "loc": { + "start": { + "line": 122, + "column": 0 + }, + "end": { + "line": 124, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Int32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array\n ", + "start": 3996, + "end": 4121, + "loc": { + "start": { + "line": 126, + "column": 0 + }, + "end": { + "line": 128, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array\n ", + "start": 4123, + "end": 4250, + "loc": { + "start": { + "line": 130, + "column": 0 + }, + "end": { + "line": 132, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Float32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array\n ", + "start": 4252, + "end": 4381, + "loc": { + "start": { + "line": 134, + "column": 0 + }, + "end": { + "line": 136, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Float64Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array\n ", + "start": 4383, + "end": 4512, + "loc": { + "start": { + "line": 138, + "column": 0 + }, + "end": { + "line": 140, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Keyed collections", + "start": 4514, + "end": 4534, + "loc": { + "start": { + "line": 142, + "column": 0 + }, + "end": { + "line": 142, + "column": 20 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Map} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n ", + "start": 4535, + "end": 4646, + "loc": { + "start": { + "line": 143, + "column": 0 + }, + "end": { + "line": 145, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Set} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set\n ", + "start": 4648, + "end": 4759, + "loc": { + "start": { + "line": 147, + "column": 0 + }, + "end": { + "line": 149, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {WeakMap} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap\n ", + "start": 4761, + "end": 4880, + "loc": { + "start": { + "line": 151, + "column": 0 + }, + "end": { + "line": 153, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {WeakSet} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet\n ", + "start": 4882, + "end": 5001, + "loc": { + "start": { + "line": 155, + "column": 0 + }, + "end": { + "line": 157, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Structured data", + "start": 5003, + "end": 5021, + "loc": { + "start": { + "line": 159, + "column": 0 + }, + "end": { + "line": 159, + "column": 18 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {ArrayBuffer} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer\n ", + "start": 5022, + "end": 5149, + "loc": { + "start": { + "line": 160, + "column": 0 + }, + "end": { + "line": 162, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {DataView} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView\n ", + "start": 5151, + "end": 5272, + "loc": { + "start": { + "line": 164, + "column": 0 + }, + "end": { + "line": 166, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {JSON} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON\n ", + "start": 5274, + "end": 5387, + "loc": { + "start": { + "line": 168, + "column": 0 + }, + "end": { + "line": 170, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Control abstraction objects", + "start": 5389, + "end": 5419, + "loc": { + "start": { + "line": 172, + "column": 0 + }, + "end": { + "line": 172, + "column": 30 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Promise} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n ", + "start": 5420, + "end": 5539, + "loc": { + "start": { + "line": 173, + "column": 0 + }, + "end": { + "line": 175, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Generator} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator\n ", + "start": 5541, + "end": 5664, + "loc": { + "start": { + "line": 177, + "column": 0 + }, + "end": { + "line": 179, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {GeneratorFunction} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction\n ", + "start": 5666, + "end": 5805, + "loc": { + "start": { + "line": 181, + "column": 0 + }, + "end": { + "line": 183, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Reflection", + "start": 5807, + "end": 5820, + "loc": { + "start": { + "line": 185, + "column": 0 + }, + "end": { + "line": 185, + "column": 13 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Reflect} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect\n ", + "start": 5821, + "end": 5940, + "loc": { + "start": { + "line": 186, + "column": 0 + }, + "end": { + "line": 188, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Proxy} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy\n ", + "start": 5942, + "end": 6057, + "loc": { + "start": { + "line": 190, + "column": 0 + }, + "end": { + "line": 192, + "column": 3 + } + } + } + ] + }, + "comments": [ + { + "type": "CommentLine", + "value": " https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects", + "start": 0, + "end": 83, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 83 + } + } + }, + { + "type": "CommentLine", + "value": " Value properties", + "start": 85, + "end": 104, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 19 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Infinity} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity\n ", + "start": 105, + "end": 226, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {NaN} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN\n ", + "start": 228, + "end": 339, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {undefined} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined\n ", + "start": 341, + "end": 464, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {null} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null\n ", + "start": 466, + "end": 579, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Fundamental objects", + "start": 581, + "end": 603, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 22 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", + "start": 604, + "end": 721, + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 23, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", + "start": 722, + "end": 839, + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", + "start": 841, + "end": 962, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 30, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", + "start": 963, + "end": 1084, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", + "start": 1086, + "end": 1205, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 37, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", + "start": 1206, + "end": 1325, + "loc": { + "start": { + "line": 38, + "column": 0 + }, + "end": { + "line": 40, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Symbol} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol\n ", + "start": 1327, + "end": 1444, + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 44, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Error} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error\n ", + "start": 1446, + "end": 1561, + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 48, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {EvalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError\n ", + "start": 1563, + "end": 1686, + "loc": { + "start": { + "line": 50, + "column": 0 + }, + "end": { + "line": 52, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {InternalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError\n ", + "start": 1688, + "end": 1819, + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 56, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {RangeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError\n ", + "start": 1821, + "end": 1946, + "loc": { + "start": { + "line": 58, + "column": 0 + }, + "end": { + "line": 60, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {ReferenceError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError\n ", + "start": 1948, + "end": 2081, + "loc": { + "start": { + "line": 62, + "column": 0 + }, + "end": { + "line": 64, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {SyntaxError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError\n ", + "start": 2083, + "end": 2210, + "loc": { + "start": { + "line": 66, + "column": 0 + }, + "end": { + "line": 68, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {TypeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError\n ", + "start": 2212, + "end": 2335, + "loc": { + "start": { + "line": 70, + "column": 0 + }, + "end": { + "line": 72, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {URIError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError\n ", + "start": 2337, + "end": 2458, + "loc": { + "start": { + "line": 74, + "column": 0 + }, + "end": { + "line": 76, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Numbers and dates", + "start": 2460, + "end": 2480, + "loc": { + "start": { + "line": 78, + "column": 0 + }, + "end": { + "line": 78, + "column": 20 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", + "start": 2481, + "end": 2598, + "loc": { + "start": { + "line": 79, + "column": 0 + }, + "end": { + "line": 81, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", + "start": 2599, + "end": 2716, + "loc": { + "start": { + "line": 82, + "column": 0 + }, + "end": { + "line": 84, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Date} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date\n ", + "start": 2718, + "end": 2831, + "loc": { + "start": { + "line": 86, + "column": 0 + }, + "end": { + "line": 88, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Text processing", + "start": 2833, + "end": 2851, + "loc": { + "start": { + "line": 90, + "column": 0 + }, + "end": { + "line": 90, + "column": 18 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {String} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", + "start": 2852, + "end": 2969, + "loc": { + "start": { + "line": 91, + "column": 0 + }, + "end": { + "line": 93, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {string} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", + "start": 2970, + "end": 3087, + "loc": { + "start": { + "line": 94, + "column": 0 + }, + "end": { + "line": 96, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {RegExp} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp\n ", + "start": 3089, + "end": 3206, + "loc": { + "start": { + "line": 98, + "column": 0 + }, + "end": { + "line": 100, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Indexed collections", + "start": 3208, + "end": 3230, + "loc": { + "start": { + "line": 102, + "column": 0 + }, + "end": { + "line": 102, + "column": 22 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array\n ", + "start": 3231, + "end": 3346, + "loc": { + "start": { + "line": 103, + "column": 0 + }, + "end": { + "line": 105, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Int8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array\n ", + "start": 3348, + "end": 3471, + "loc": { + "start": { + "line": 107, + "column": 0 + }, + "end": { + "line": 109, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array\n ", + "start": 3472, + "end": 3597, + "loc": { + "start": { + "line": 110, + "column": 0 + }, + "end": { + "line": 112, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint8ClampedArray} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray\n ", + "start": 3599, + "end": 3738, + "loc": { + "start": { + "line": 114, + "column": 0 + }, + "end": { + "line": 116, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Int16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array\n ", + "start": 3740, + "end": 3865, + "loc": { + "start": { + "line": 118, + "column": 0 + }, + "end": { + "line": 120, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array\n ", + "start": 3867, + "end": 3994, + "loc": { + "start": { + "line": 122, + "column": 0 + }, + "end": { + "line": 124, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Int32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array\n ", + "start": 3996, + "end": 4121, + "loc": { + "start": { + "line": 126, + "column": 0 + }, + "end": { + "line": 128, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array\n ", + "start": 4123, + "end": 4250, + "loc": { + "start": { + "line": 130, + "column": 0 + }, + "end": { + "line": 132, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Float32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array\n ", + "start": 4252, + "end": 4381, + "loc": { + "start": { + "line": 134, + "column": 0 + }, + "end": { + "line": 136, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Float64Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array\n ", + "start": 4383, + "end": 4512, + "loc": { + "start": { + "line": 138, + "column": 0 + }, + "end": { + "line": 140, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Keyed collections", + "start": 4514, + "end": 4534, + "loc": { + "start": { + "line": 142, + "column": 0 + }, + "end": { + "line": 142, + "column": 20 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Map} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n ", + "start": 4535, + "end": 4646, + "loc": { + "start": { + "line": 143, + "column": 0 + }, + "end": { + "line": 145, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Set} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set\n ", + "start": 4648, + "end": 4759, + "loc": { + "start": { + "line": 147, + "column": 0 + }, + "end": { + "line": 149, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {WeakMap} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap\n ", + "start": 4761, + "end": 4880, + "loc": { + "start": { + "line": 151, + "column": 0 + }, + "end": { + "line": 153, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {WeakSet} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet\n ", + "start": 4882, + "end": 5001, + "loc": { + "start": { + "line": 155, + "column": 0 + }, + "end": { + "line": 157, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Structured data", + "start": 5003, + "end": 5021, + "loc": { + "start": { + "line": 159, + "column": 0 + }, + "end": { + "line": 159, + "column": 18 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {ArrayBuffer} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer\n ", + "start": 5022, + "end": 5149, + "loc": { + "start": { + "line": 160, + "column": 0 + }, + "end": { + "line": 162, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {DataView} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView\n ", + "start": 5151, + "end": 5272, + "loc": { + "start": { + "line": 164, + "column": 0 + }, + "end": { + "line": 166, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {JSON} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON\n ", + "start": 5274, + "end": 5387, + "loc": { + "start": { + "line": 168, + "column": 0 + }, + "end": { + "line": 170, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Control abstraction objects", + "start": 5389, + "end": 5419, + "loc": { + "start": { + "line": 172, + "column": 0 + }, + "end": { + "line": 172, + "column": 30 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Promise} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n ", + "start": 5420, + "end": 5539, + "loc": { + "start": { + "line": 173, + "column": 0 + }, + "end": { + "line": 175, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Generator} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator\n ", + "start": 5541, + "end": 5664, + "loc": { + "start": { + "line": 177, + "column": 0 + }, + "end": { + "line": 179, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {GeneratorFunction} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction\n ", + "start": 5666, + "end": 5805, + "loc": { + "start": { + "line": 181, + "column": 0 + }, + "end": { + "line": 183, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Reflection", + "start": 5807, + "end": 5820, + "loc": { + "start": { + "line": 185, + "column": 0 + }, + "end": { + "line": 185, + "column": 13 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Reflect} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect\n ", + "start": 5821, + "end": 5940, + "loc": { + "start": { + "line": 186, + "column": 0 + }, + "end": { + "line": 188, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Proxy} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy\n ", + "start": 5942, + "end": 6057, + "loc": { + "start": { + "line": 190, + "column": 0 + }, + "end": { + "line": 192, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": "CommentLine", + "value": " https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects", + "start": 0, + "end": 83, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 83 + } + } + }, + { + "type": "CommentLine", + "value": " Value properties", + "start": 85, + "end": 104, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 19 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Infinity} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity\n ", + "start": 105, + "end": 226, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {NaN} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN\n ", + "start": 228, + "end": 339, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {undefined} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined\n ", + "start": 341, + "end": 464, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {null} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null\n ", + "start": 466, + "end": 579, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Fundamental objects", + "start": 581, + "end": 603, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 22 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", + "start": 604, + "end": 721, + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 23, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", + "start": 722, + "end": 839, + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", + "start": 841, + "end": 962, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 30, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", + "start": 963, + "end": 1084, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", + "start": 1086, + "end": 1205, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 37, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", + "start": 1206, + "end": 1325, + "loc": { + "start": { + "line": 38, + "column": 0 + }, + "end": { + "line": 40, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Symbol} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol\n ", + "start": 1327, + "end": 1444, + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 44, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Error} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error\n ", + "start": 1446, + "end": 1561, + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 48, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {EvalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError\n ", + "start": 1563, + "end": 1686, + "loc": { + "start": { + "line": 50, + "column": 0 + }, + "end": { + "line": 52, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {InternalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError\n ", + "start": 1688, + "end": 1819, + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 56, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {RangeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError\n ", + "start": 1821, + "end": 1946, + "loc": { + "start": { + "line": 58, + "column": 0 + }, + "end": { + "line": 60, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {ReferenceError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError\n ", + "start": 1948, + "end": 2081, + "loc": { + "start": { + "line": 62, + "column": 0 + }, + "end": { + "line": 64, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {SyntaxError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError\n ", + "start": 2083, + "end": 2210, + "loc": { + "start": { + "line": 66, + "column": 0 + }, + "end": { + "line": 68, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {TypeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError\n ", + "start": 2212, + "end": 2335, + "loc": { + "start": { + "line": 70, + "column": 0 + }, + "end": { + "line": 72, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {URIError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError\n ", + "start": 2337, + "end": 2458, + "loc": { + "start": { + "line": 74, + "column": 0 + }, + "end": { + "line": 76, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Numbers and dates", + "start": 2460, + "end": 2480, + "loc": { + "start": { + "line": 78, + "column": 0 + }, + "end": { + "line": 78, + "column": 20 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", + "start": 2481, + "end": 2598, + "loc": { + "start": { + "line": 79, + "column": 0 + }, + "end": { + "line": 81, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", + "start": 2599, + "end": 2716, + "loc": { + "start": { + "line": 82, + "column": 0 + }, + "end": { + "line": 84, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Date} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date\n ", + "start": 2718, + "end": 2831, + "loc": { + "start": { + "line": 86, + "column": 0 + }, + "end": { + "line": 88, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Text processing", + "start": 2833, + "end": 2851, + "loc": { + "start": { + "line": 90, + "column": 0 + }, + "end": { + "line": 90, + "column": 18 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {String} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", + "start": 2852, + "end": 2969, + "loc": { + "start": { + "line": 91, + "column": 0 + }, + "end": { + "line": 93, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {string} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", + "start": 2970, + "end": 3087, + "loc": { + "start": { + "line": 94, + "column": 0 + }, + "end": { + "line": 96, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {RegExp} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp\n ", + "start": 3089, + "end": 3206, + "loc": { + "start": { + "line": 98, + "column": 0 + }, + "end": { + "line": 100, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Indexed collections", + "start": 3208, + "end": 3230, + "loc": { + "start": { + "line": 102, + "column": 0 + }, + "end": { + "line": 102, + "column": 22 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array\n ", + "start": 3231, + "end": 3346, + "loc": { + "start": { + "line": 103, + "column": 0 + }, + "end": { + "line": 105, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Int8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array\n ", + "start": 3348, + "end": 3471, + "loc": { + "start": { + "line": 107, + "column": 0 + }, + "end": { + "line": 109, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array\n ", + "start": 3472, + "end": 3597, + "loc": { + "start": { + "line": 110, + "column": 0 + }, + "end": { + "line": 112, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint8ClampedArray} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray\n ", + "start": 3599, + "end": 3738, + "loc": { + "start": { + "line": 114, + "column": 0 + }, + "end": { + "line": 116, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Int16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array\n ", + "start": 3740, + "end": 3865, + "loc": { + "start": { + "line": 118, + "column": 0 + }, + "end": { + "line": 120, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array\n ", + "start": 3867, + "end": 3994, + "loc": { + "start": { + "line": 122, + "column": 0 + }, + "end": { + "line": 124, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Int32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array\n ", + "start": 3996, + "end": 4121, + "loc": { + "start": { + "line": 126, + "column": 0 + }, + "end": { + "line": 128, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array\n ", + "start": 4123, + "end": 4250, + "loc": { + "start": { + "line": 130, + "column": 0 + }, + "end": { + "line": 132, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Float32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array\n ", + "start": 4252, + "end": 4381, + "loc": { + "start": { + "line": 134, + "column": 0 + }, + "end": { + "line": 136, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Float64Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array\n ", + "start": 4383, + "end": 4512, + "loc": { + "start": { + "line": 138, + "column": 0 + }, + "end": { + "line": 140, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Keyed collections", + "start": 4514, + "end": 4534, + "loc": { + "start": { + "line": 142, + "column": 0 + }, + "end": { + "line": 142, + "column": 20 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Map} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n ", + "start": 4535, + "end": 4646, + "loc": { + "start": { + "line": 143, + "column": 0 + }, + "end": { + "line": 145, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Set} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set\n ", + "start": 4648, + "end": 4759, + "loc": { + "start": { + "line": 147, + "column": 0 + }, + "end": { + "line": 149, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {WeakMap} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap\n ", + "start": 4761, + "end": 4880, + "loc": { + "start": { + "line": 151, + "column": 0 + }, + "end": { + "line": 153, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {WeakSet} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet\n ", + "start": 4882, + "end": 5001, + "loc": { + "start": { + "line": 155, + "column": 0 + }, + "end": { + "line": 157, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Structured data", + "start": 5003, + "end": 5021, + "loc": { + "start": { + "line": 159, + "column": 0 + }, + "end": { + "line": 159, + "column": 18 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {ArrayBuffer} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer\n ", + "start": 5022, + "end": 5149, + "loc": { + "start": { + "line": 160, + "column": 0 + }, + "end": { + "line": 162, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {DataView} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView\n ", + "start": 5151, + "end": 5272, + "loc": { + "start": { + "line": 164, + "column": 0 + }, + "end": { + "line": 166, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {JSON} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON\n ", + "start": 5274, + "end": 5387, + "loc": { + "start": { + "line": 168, + "column": 0 + }, + "end": { + "line": 170, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Control abstraction objects", + "start": 5389, + "end": 5419, + "loc": { + "start": { + "line": 172, + "column": 0 + }, + "end": { + "line": 172, + "column": 30 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Promise} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n ", + "start": 5420, + "end": 5539, + "loc": { + "start": { + "line": 173, + "column": 0 + }, + "end": { + "line": 175, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Generator} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator\n ", + "start": 5541, + "end": 5664, + "loc": { + "start": { + "line": 177, + "column": 0 + }, + "end": { + "line": 179, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {GeneratorFunction} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction\n ", + "start": 5666, + "end": 5805, + "loc": { + "start": { + "line": 181, + "column": 0 + }, + "end": { + "line": 183, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Reflection", + "start": 5807, + "end": 5820, + "loc": { + "start": { + "line": 185, + "column": 0 + }, + "end": { + "line": 185, + "column": 13 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Reflect} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect\n ", + "start": 5821, + "end": 5940, + "loc": { + "start": { + "line": 186, + "column": 0 + }, + "end": { + "line": 188, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Proxy} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy\n ", + "start": 5942, + "end": 6057, + "loc": { + "start": { + "line": 190, + "column": 0 + }, + "end": { + "line": 192, + "column": 3 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6058, + "end": 6058, + "loc": { + "start": { + "line": 193, + "column": 0 + }, + "end": { + "line": 193, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/Endpoint.js.json b/docs/ast/source/Endpoint.js.json index 231f673..ad60391 100644 --- a/docs/ast/source/Endpoint.js.json +++ b/docs/ast/source/Endpoint.js.json @@ -1,29 +1,29 @@ { "type": "File", "start": 0, - "end": 1446, + "end": 783, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 84, - "column": 56 + "line": 20, + "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 1446, + "end": 783, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 84, - "column": 56 + "line": 20, + "column": 0 } }, "sourceType": "module", @@ -31,30 +31,30 @@ { "type": "VariableDeclaration", "start": 0, - "end": 150, + "end": 49, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 3, - "column": 4 + "line": 1, + "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6, - "end": 150, + "end": 48, "loc": { "start": { "line": 1, "column": 6 }, "end": { - "line": 3, - "column": 4 + "line": 1, + "column": 48 } }, "id": { @@ -75,4768 +75,1434 @@ "name": "API_DOMAIN" }, "init": { - "type": "CallExpression", + "type": "StringLiteral", "start": 19, - "end": 150, + "end": 48, "loc": { "start": { "line": 1, "column": 19 }, "end": { - "line": 3, - "column": 4 + "line": 1, + "column": 48 } }, - "callee": { - "type": "ArrowFunctionExpression", - "start": 20, - "end": 147, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 3, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 26, - "end": 147, - "loc": { - "start": { - "line": 1, - "column": 26 - }, - "end": { - "line": 3, - "column": 1 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 32, - "end": 145, - "loc": { - "start": { - "line": 2, - "column": 4 - }, - "end": { - "line": 2, - "column": 117 - } - }, - "argument": { - "type": "ConditionalExpression", - "start": 39, - "end": 145, - "loc": { - "start": { - "line": 2, - "column": 11 - }, - "end": { - "line": 2, - "column": 117 - } - }, - "test": { - "type": "BinaryExpression", - "start": 39, - "end": 73, - "loc": { - "start": { - "line": 2, - "column": 11 - }, - "end": { - "line": 2, - "column": 45 - } - }, - "left": { - "type": "MemberExpression", - "start": 39, - "end": 59, - "loc": { - "start": { - "line": 2, - "column": 11 - }, - "end": { - "line": 2, - "column": 31 - } - }, - "object": { - "type": "MemberExpression", - "start": 39, - "end": 50, - "loc": { - "start": { - "line": 2, - "column": 11 - }, - "end": { - "line": 2, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 39, - "end": 46, - "loc": { - "start": { - "line": 2, - "column": 11 - }, - "end": { - "line": 2, - "column": 18 - }, - "identifierName": "process" - }, - "name": "process" - }, - "property": { - "type": "Identifier", - "start": 47, - "end": 50, - "loc": { - "start": { - "line": 2, - "column": 19 - }, - "end": { - "line": 2, - "column": 22 - }, - "identifierName": "env" - }, - "name": "env" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 51, - "end": 59, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 31 - }, - "identifierName": "NODE_ENV" - }, - "name": "NODE_ENV" - }, - "computed": false - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 64, - "end": 73, - "loc": { - "start": { - "line": 2, - "column": 36 - }, - "end": { - "line": 2, - "column": 45 - } - }, - "extra": { - "rawValue": "staging", - "raw": "'staging'" - }, - "value": "staging" - } - }, - "consequent": { - "type": "StringLiteral", - "start": 76, - "end": 113, - "loc": { - "start": { - "line": 2, - "column": 48 - }, - "end": { - "line": 2, - "column": 85 - } - }, - "extra": { - "rawValue": "https://api.kkbox-staging.com/v1.1/", - "raw": "'https://api.kkbox-staging.com/v1.1/'" - }, - "value": "https://api.kkbox-staging.com/v1.1/" - }, - "alternate": { - "type": "StringLiteral", - "start": 116, - "end": 145, - "loc": { - "start": { - "line": 2, - "column": 88 - }, - "end": { - "line": 2, - "column": 117 - } - }, - "extra": { - "rawValue": "https://api.kkbox.com/v1.1/", - "raw": "'https://api.kkbox.com/v1.1/'" - }, - "value": "https://api.kkbox.com/v1.1/" - } - } - } - ], - "directives": [] - }, - "extra": { - "parenthesized": true, - "parenStart": 19 - } + "extra": { + "rawValue": "https://api.kkbox.com/v1.1/", + "raw": "'https://api.kkbox.com/v1.1/'" }, - "arguments": [], - "trailingComments": null - }, - "trailingComments": null + "value": "https://api.kkbox.com/v1.1/" + } } ], - "kind": "const", - "trailingComments": [ + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 50, + "end": 107, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 57 + } + }, + "declarations": [ { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 151, - "end": 169, + "type": "VariableDeclarator", + "start": 56, + "end": 106, "loc": { "start": { - "line": 4, - "column": 0 + "line": 2, + "column": 6 }, "end": { - "line": 6, - "column": 3 + "line": 2, + "column": 56 } + }, + "id": { + "type": "Identifier", + "start": 56, + "end": 68, + "loc": { + "start": { + "line": 2, + "column": 6 + }, + "end": { + "line": 2, + "column": 18 + }, + "identifierName": "OAUTH_DOMAIN" + }, + "name": "OAUTH_DOMAIN" + }, + "init": { + "type": "StringLiteral", + "start": 71, + "end": 106, + "loc": { + "start": { + "line": 2, + "column": 21 + }, + "end": { + "line": 2, + "column": 56 + } + }, + "extra": { + "rawValue": "https://account.kkbox.com/oauth2/", + "raw": "'https://account.kkbox.com/oauth2/'" + }, + "value": "https://account.kkbox.com/oauth2/" } } - ] + ], + "kind": "const" }, { - "type": "ExportNamedDeclaration", - "start": 170, - "end": 214, + "type": "ExpressionStatement", + "start": 109, + "end": 782, "loc": { "start": { - "line": 7, + "line": 4, "column": 0 }, "end": { - "line": 7, - "column": 44 + "line": 19, + "column": 2 } }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 177, - "end": 214, + "expression": { + "type": "AssignmentExpression", + "start": 109, + "end": 781, "loc": { "start": { - "line": 7, - "column": 7 + "line": 4, + "column": 0 }, "end": { - "line": 7, - "column": 44 + "line": 19, + "column": 1 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 183, - "end": 214, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 109, + "end": 123, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 14 + } + }, + "object": { + "type": "Identifier", + "start": 109, + "end": 115, "loc": { "start": { - "line": 7, - "column": 13 + "line": 4, + "column": 0 }, "end": { - "line": 7, - "column": 44 - } + "line": 4, + "column": 6 + }, + "identifierName": "module" }, - "id": { - "type": "Identifier", - "start": 183, - "end": 189, - "loc": { - "start": { - "line": 7, - "column": 13 - }, - "end": { - "line": 7, - "column": 19 - }, - "identifierName": "SEARCH" + "name": "module" + }, + "property": { + "type": "Identifier", + "start": 116, + "end": 123, + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 14 }, - "name": "SEARCH", - "leadingComments": null + "identifierName": "exports" + }, + "name": "exports" + }, + "computed": false + }, + "right": { + "type": "ObjectExpression", + "start": 126, + "end": 781, + "loc": { + "start": { + "line": 4, + "column": 17 }, - "init": { - "type": "BinaryExpression", - "start": 192, - "end": 214, + "end": { + "line": 19, + "column": 1 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 130, + "end": 159, "loc": { "start": { - "line": 7, - "column": 22 + "line": 5, + "column": 2 }, "end": { - "line": 7, - "column": 44 + "line": 5, + "column": 31 } }, - "left": { + "method": false, + "shorthand": false, + "computed": false, + "key": { "type": "Identifier", - "start": 192, - "end": 202, + "start": 130, + "end": 136, "loc": { "start": { - "line": 7, - "column": 22 + "line": 5, + "column": 2 }, "end": { - "line": 7, - "column": 32 + "line": 5, + "column": 8 }, - "identifierName": "API_DOMAIN" + "identifierName": "SEARCH" }, - "name": "API_DOMAIN" + "name": "SEARCH" }, - "operator": "+", - "right": { - "type": "StringLiteral", - "start": 205, - "end": 214, + "value": { + "type": "BinaryExpression", + "start": 138, + "end": 159, "loc": { "start": { - "line": 7, - "column": 35 + "line": 5, + "column": 10 }, "end": { - "line": 7, - "column": 44 + "line": 5, + "column": 31 } }, - "extra": { - "rawValue": "search/", - "raw": "'search/'" + "left": { + "type": "Identifier", + "start": 138, + "end": 148, + "loc": { + "start": { + "line": 5, + "column": 10 + }, + "end": { + "line": 5, + "column": 20 + }, + "identifierName": "API_DOMAIN" + }, + "name": "API_DOMAIN" }, - "value": "search/", - "leadingComments": null, - "trailingComments": null - }, - "trailingComments": null - }, - "leadingComments": null, - "trailingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 151, - "end": 169, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 216, - "end": 234, - "loc": { - "start": { - "line": 9, - "column": 0 - }, - "end": { - "line": 11, - "column": 3 - } - } - } - ] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 151, - "end": 169, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 216, - "end": 234, - "loc": { - "start": { - "line": 9, - "column": 0 - }, - "end": { - "line": 11, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "start": 235, - "end": 279, - "loc": { - "start": { - "line": 12, - "column": 0 - }, - "end": { - "line": 12, - "column": 44 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 242, - "end": 279, - "loc": { - "start": { - "line": 12, - "column": 7 - }, - "end": { - "line": 12, - "column": 44 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 248, - "end": 279, - "loc": { - "start": { - "line": 12, - "column": 13 - }, - "end": { - "line": 12, - "column": 44 + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 151, + "end": 159, + "loc": { + "start": { + "line": 5, + "column": 23 + }, + "end": { + "line": 5, + "column": 31 + } + }, + "extra": { + "rawValue": "search", + "raw": "'search'" + }, + "value": "search" + } } }, - "id": { - "type": "Identifier", - "start": 248, - "end": 254, + { + "type": "ObjectProperty", + "start": 163, + "end": 192, "loc": { "start": { - "line": 12, - "column": 13 + "line": 6, + "column": 2 }, "end": { - "line": 12, - "column": 19 + "line": 6, + "column": 31 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 163, + "end": 169, + "loc": { + "start": { + "line": 6, + "column": 2 + }, + "end": { + "line": 6, + "column": 8 + }, + "identifierName": "TRACKS" }, - "identifierName": "TRACKS" + "name": "TRACKS" }, - "name": "TRACKS", - "leadingComments": null + "value": { + "type": "BinaryExpression", + "start": 171, + "end": 192, + "loc": { + "start": { + "line": 6, + "column": 10 + }, + "end": { + "line": 6, + "column": 31 + } + }, + "left": { + "type": "Identifier", + "start": 171, + "end": 181, + "loc": { + "start": { + "line": 6, + "column": 10 + }, + "end": { + "line": 6, + "column": 20 + }, + "identifierName": "API_DOMAIN" + }, + "name": "API_DOMAIN" + }, + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 184, + "end": 192, + "loc": { + "start": { + "line": 6, + "column": 23 + }, + "end": { + "line": 6, + "column": 31 + } + }, + "extra": { + "rawValue": "tracks", + "raw": "'tracks'" + }, + "value": "tracks" + } + } }, - "init": { - "type": "BinaryExpression", - "start": 257, - "end": 279, + { + "type": "ObjectProperty", + "start": 196, + "end": 227, "loc": { "start": { - "line": 12, - "column": 22 + "line": 7, + "column": 2 }, "end": { - "line": 12, - "column": 44 + "line": 7, + "column": 33 } }, - "left": { + "method": false, + "shorthand": false, + "computed": false, + "key": { "type": "Identifier", - "start": 257, - "end": 267, + "start": 196, + "end": 203, "loc": { "start": { - "line": 12, - "column": 22 + "line": 7, + "column": 2 }, "end": { - "line": 12, - "column": 32 + "line": 7, + "column": 9 }, - "identifierName": "API_DOMAIN" + "identifierName": "ARTISTS" }, - "name": "API_DOMAIN" + "name": "ARTISTS" }, - "operator": "+", - "right": { - "type": "StringLiteral", - "start": 270, - "end": 279, + "value": { + "type": "BinaryExpression", + "start": 205, + "end": 227, "loc": { "start": { - "line": 12, - "column": 35 + "line": 7, + "column": 11 }, "end": { - "line": 12, - "column": 44 + "line": 7, + "column": 33 } }, - "extra": { - "rawValue": "tracks/", - "raw": "'tracks/'" - }, - "value": "tracks/", - "leadingComments": null, - "trailingComments": null - }, - "trailingComments": null - }, - "leadingComments": null, - "trailingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 216, - "end": 234, - "loc": { - "start": { - "line": 9, - "column": 0 - }, - "end": { - "line": 11, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 281, - "end": 299, - "loc": { - "start": { - "line": 14, - "column": 0 - }, - "end": { - "line": 16, - "column": 3 - } - } - } - ] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 216, - "end": 234, - "loc": { - "start": { - "line": 9, - "column": 0 - }, - "end": { - "line": 11, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 281, - "end": 299, - "loc": { - "start": { - "line": 14, - "column": 0 - }, - "end": { - "line": 16, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "start": 300, - "end": 346, - "loc": { - "start": { - "line": 17, - "column": 0 - }, - "end": { - "line": 17, - "column": 46 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 307, - "end": 346, - "loc": { - "start": { - "line": 17, - "column": 7 - }, - "end": { - "line": 17, - "column": 46 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 313, - "end": 346, - "loc": { - "start": { - "line": 17, - "column": 13 - }, - "end": { - "line": 17, - "column": 46 - } - }, - "id": { - "type": "Identifier", - "start": 313, - "end": 320, - "loc": { - "start": { - "line": 17, - "column": 13 - }, - "end": { - "line": 17, - "column": 20 + "left": { + "type": "Identifier", + "start": 205, + "end": 215, + "loc": { + "start": { + "line": 7, + "column": 11 + }, + "end": { + "line": 7, + "column": 21 + }, + "identifierName": "API_DOMAIN" + }, + "name": "API_DOMAIN" }, - "identifierName": "ARTISTS" - }, - "name": "ARTISTS", - "leadingComments": null + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 218, + "end": 227, + "loc": { + "start": { + "line": 7, + "column": 24 + }, + "end": { + "line": 7, + "column": 33 + } + }, + "extra": { + "rawValue": "artists", + "raw": "'artists'" + }, + "value": "artists" + } + } }, - "init": { - "type": "BinaryExpression", - "start": 323, - "end": 346, + { + "type": "ObjectProperty", + "start": 231, + "end": 260, "loc": { "start": { - "line": 17, - "column": 23 + "line": 8, + "column": 2 }, "end": { - "line": 17, - "column": 46 + "line": 8, + "column": 31 } }, - "left": { + "method": false, + "shorthand": false, + "computed": false, + "key": { "type": "Identifier", - "start": 323, - "end": 333, + "start": 231, + "end": 237, "loc": { "start": { - "line": 17, - "column": 23 + "line": 8, + "column": 2 }, "end": { - "line": 17, - "column": 33 + "line": 8, + "column": 8 }, - "identifierName": "API_DOMAIN" + "identifierName": "ALBUMS" }, - "name": "API_DOMAIN" + "name": "ALBUMS" }, - "operator": "+", - "right": { - "type": "StringLiteral", - "start": 336, - "end": 346, + "value": { + "type": "BinaryExpression", + "start": 239, + "end": 260, "loc": { "start": { - "line": 17, - "column": 36 + "line": 8, + "column": 10 }, "end": { - "line": 17, - "column": 46 + "line": 8, + "column": 31 } }, - "extra": { - "rawValue": "artists/", - "raw": "'artists/'" + "left": { + "type": "Identifier", + "start": 239, + "end": 249, + "loc": { + "start": { + "line": 8, + "column": 10 + }, + "end": { + "line": 8, + "column": 20 + }, + "identifierName": "API_DOMAIN" + }, + "name": "API_DOMAIN" }, - "value": "artists/", - "leadingComments": null, - "trailingComments": null - }, - "trailingComments": null - }, - "leadingComments": null, - "trailingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 281, - "end": 299, - "loc": { - "start": { - "line": 14, - "column": 0 - }, - "end": { - "line": 16, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 348, - "end": 366, - "loc": { - "start": { - "line": 19, - "column": 0 - }, - "end": { - "line": 21, - "column": 3 - } - } - } - ] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 281, - "end": 299, - "loc": { - "start": { - "line": 14, - "column": 0 - }, - "end": { - "line": 16, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 348, - "end": 366, - "loc": { - "start": { - "line": 19, - "column": 0 - }, - "end": { - "line": 21, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "start": 367, - "end": 411, - "loc": { - "start": { - "line": 22, - "column": 0 - }, - "end": { - "line": 22, - "column": 44 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 374, - "end": 411, - "loc": { - "start": { - "line": 22, - "column": 7 - }, - "end": { - "line": 22, - "column": 44 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 380, - "end": 411, - "loc": { - "start": { - "line": 22, - "column": 13 - }, - "end": { - "line": 22, - "column": 44 + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 252, + "end": 260, + "loc": { + "start": { + "line": 8, + "column": 23 + }, + "end": { + "line": 8, + "column": 31 + } + }, + "extra": { + "rawValue": "albums", + "raw": "'albums'" + }, + "value": "albums" + } } }, - "id": { - "type": "Identifier", - "start": 380, - "end": 386, + { + "type": "ObjectProperty", + "start": 264, + "end": 313, "loc": { "start": { - "line": 22, - "column": 13 + "line": 9, + "column": 2 }, "end": { - "line": 22, - "column": 19 - }, - "identifierName": "ALBUMS" - }, - "name": "ALBUMS", - "leadingComments": null - }, - "init": { - "type": "BinaryExpression", - "start": 389, - "end": 411, - "loc": { - "start": { - "line": 22, - "column": 22 - }, - "end": { - "line": 22, - "column": 44 + "line": 9, + "column": 51 } }, - "left": { + "method": false, + "shorthand": false, + "computed": false, + "key": { "type": "Identifier", - "start": 389, - "end": 399, + "start": 264, + "end": 280, "loc": { "start": { - "line": 22, - "column": 22 + "line": 9, + "column": 2 }, "end": { - "line": 22, - "column": 32 + "line": 9, + "column": 18 }, - "identifierName": "API_DOMAIN" + "identifierName": "SHARED_PLAYLISTS" }, - "name": "API_DOMAIN" + "name": "SHARED_PLAYLISTS" }, - "operator": "+", - "right": { - "type": "StringLiteral", - "start": 402, - "end": 411, + "value": { + "type": "BinaryExpression", + "start": 282, + "end": 313, "loc": { "start": { - "line": 22, - "column": 35 + "line": 9, + "column": 20 }, "end": { - "line": 22, - "column": 44 + "line": 9, + "column": 51 } }, - "extra": { - "rawValue": "albums/", - "raw": "'albums/'" + "left": { + "type": "Identifier", + "start": 282, + "end": 292, + "loc": { + "start": { + "line": 9, + "column": 20 + }, + "end": { + "line": 9, + "column": 30 + }, + "identifierName": "API_DOMAIN" + }, + "name": "API_DOMAIN" }, - "value": "albums/", - "leadingComments": null, - "trailingComments": null - }, - "trailingComments": null - }, - "leadingComments": null, - "trailingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 348, - "end": 366, - "loc": { - "start": { - "line": 19, - "column": 0 - }, - "end": { - "line": 21, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 413, - "end": 431, - "loc": { - "start": { - "line": 24, - "column": 0 - }, - "end": { - "line": 26, - "column": 3 - } - } - } - ] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 348, - "end": 366, - "loc": { - "start": { - "line": 19, - "column": 0 - }, - "end": { - "line": 21, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 413, - "end": 431, - "loc": { - "start": { - "line": 24, - "column": 0 - }, - "end": { - "line": 26, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "start": 432, - "end": 496, - "loc": { - "start": { - "line": 27, - "column": 0 - }, - "end": { - "line": 27, - "column": 64 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 439, - "end": 496, - "loc": { - "start": { - "line": 27, - "column": 7 - }, - "end": { - "line": 27, - "column": 64 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 445, - "end": 496, - "loc": { - "start": { - "line": 27, - "column": 13 - }, - "end": { - "line": 27, - "column": 64 + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 295, + "end": 313, + "loc": { + "start": { + "line": 9, + "column": 33 + }, + "end": { + "line": 9, + "column": 51 + } + }, + "extra": { + "rawValue": "shared-playlists", + "raw": "'shared-playlists'" + }, + "value": "shared-playlists" + } } }, - "id": { - "type": "Identifier", - "start": 445, - "end": 461, - "loc": { - "start": { - "line": 27, - "column": 13 - }, - "end": { - "line": 27, - "column": 29 - }, - "identifierName": "SHARED_PLAYLISTS" - }, - "name": "SHARED_PLAYLISTS", - "leadingComments": null - }, - "init": { - "type": "BinaryExpression", - "start": 464, - "end": 496, + { + "type": "ObjectProperty", + "start": 317, + "end": 360, "loc": { "start": { - "line": 27, - "column": 32 + "line": 10, + "column": 2 }, "end": { - "line": 27, - "column": 64 + "line": 10, + "column": 45 } }, - "left": { + "method": false, + "shorthand": false, + "computed": false, + "key": { "type": "Identifier", - "start": 464, - "end": 474, + "start": 317, + "end": 330, "loc": { "start": { - "line": 27, - "column": 32 + "line": 10, + "column": 2 }, "end": { - "line": 27, - "column": 42 + "line": 10, + "column": 15 }, - "identifierName": "API_DOMAIN" + "identifierName": "MOOD_STATIONS" }, - "name": "API_DOMAIN" + "name": "MOOD_STATIONS" }, - "operator": "+", - "right": { - "type": "StringLiteral", - "start": 477, - "end": 496, + "value": { + "type": "BinaryExpression", + "start": 332, + "end": 360, "loc": { "start": { - "line": 27, - "column": 45 + "line": 10, + "column": 17 }, "end": { - "line": 27, - "column": 64 + "line": 10, + "column": 45 } }, - "extra": { - "rawValue": "shared-playlists/", - "raw": "'shared-playlists/'" + "left": { + "type": "Identifier", + "start": 332, + "end": 342, + "loc": { + "start": { + "line": 10, + "column": 17 + }, + "end": { + "line": 10, + "column": 27 + }, + "identifierName": "API_DOMAIN" + }, + "name": "API_DOMAIN" }, - "value": "shared-playlists/", - "leadingComments": null, - "trailingComments": null - }, - "trailingComments": null - }, - "leadingComments": null, - "trailingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 413, - "end": 431, - "loc": { - "start": { - "line": 24, - "column": 0 - }, - "end": { - "line": 26, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 498, - "end": 516, - "loc": { - "start": { - "line": 29, - "column": 0 - }, - "end": { - "line": 31, - "column": 3 - } - } - } - ] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 413, - "end": 431, - "loc": { - "start": { - "line": 24, - "column": 0 - }, - "end": { - "line": 26, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 498, - "end": 516, - "loc": { - "start": { - "line": 29, - "column": 0 - }, - "end": { - "line": 31, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "start": 517, - "end": 575, - "loc": { - "start": { - "line": 32, - "column": 0 - }, - "end": { - "line": 32, - "column": 58 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 524, - "end": 575, - "loc": { - "start": { - "line": 32, - "column": 7 - }, - "end": { - "line": 32, - "column": 58 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 530, - "end": 575, - "loc": { - "start": { - "line": 32, - "column": 13 - }, - "end": { - "line": 32, - "column": 58 + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 345, + "end": 360, + "loc": { + "start": { + "line": 10, + "column": 30 + }, + "end": { + "line": 10, + "column": 45 + } + }, + "extra": { + "rawValue": "mood-stations", + "raw": "'mood-stations'" + }, + "value": "mood-stations" + } } }, - "id": { - "type": "Identifier", - "start": 530, - "end": 543, - "loc": { - "start": { - "line": 32, - "column": 13 - }, - "end": { - "line": 32, - "column": 26 - }, - "identifierName": "MOOD_STATIONS" - }, - "name": "MOOD_STATIONS", - "leadingComments": null - }, - "init": { - "type": "BinaryExpression", - "start": 546, - "end": 575, + { + "type": "ObjectProperty", + "start": 364, + "end": 417, "loc": { "start": { - "line": 32, - "column": 29 + "line": 11, + "column": 2 }, "end": { - "line": 32, - "column": 58 + "line": 11, + "column": 55 } }, - "left": { + "method": false, + "shorthand": false, + "computed": false, + "key": { "type": "Identifier", - "start": 546, - "end": 556, + "start": 364, + "end": 382, "loc": { "start": { - "line": 32, - "column": 29 + "line": 11, + "column": 2 }, "end": { - "line": 32, - "column": 39 + "line": 11, + "column": 20 }, - "identifierName": "API_DOMAIN" + "identifierName": "FEATURED_PLAYLISTS" }, - "name": "API_DOMAIN" + "name": "FEATURED_PLAYLISTS" }, - "operator": "+", - "right": { - "type": "StringLiteral", - "start": 559, - "end": 575, + "value": { + "type": "BinaryExpression", + "start": 384, + "end": 417, "loc": { "start": { - "line": 32, - "column": 42 + "line": 11, + "column": 22 }, "end": { - "line": 32, - "column": 58 + "line": 11, + "column": 55 } }, - "extra": { - "rawValue": "mood-stations/", - "raw": "'mood-stations/'" + "left": { + "type": "Identifier", + "start": 384, + "end": 394, + "loc": { + "start": { + "line": 11, + "column": 22 + }, + "end": { + "line": 11, + "column": 32 + }, + "identifierName": "API_DOMAIN" + }, + "name": "API_DOMAIN" }, - "value": "mood-stations/", - "leadingComments": null, - "trailingComments": null - }, - "trailingComments": null - }, - "leadingComments": null, - "trailingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 498, - "end": 516, - "loc": { - "start": { - "line": 29, - "column": 0 - }, - "end": { - "line": 31, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 577, - "end": 595, - "loc": { - "start": { - "line": 34, - "column": 0 - }, - "end": { - "line": 36, - "column": 3 - } - } - } - ] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 498, - "end": 516, - "loc": { - "start": { - "line": 29, - "column": 0 - }, - "end": { - "line": 31, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 577, - "end": 595, - "loc": { - "start": { - "line": 34, - "column": 0 - }, - "end": { - "line": 36, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "start": 596, - "end": 664, - "loc": { - "start": { - "line": 37, - "column": 0 - }, - "end": { - "line": 37, - "column": 68 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 603, - "end": 664, - "loc": { - "start": { - "line": 37, - "column": 7 - }, - "end": { - "line": 37, - "column": 68 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 609, - "end": 664, - "loc": { - "start": { - "line": 37, - "column": 13 - }, - "end": { - "line": 37, - "column": 68 + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 397, + "end": 417, + "loc": { + "start": { + "line": 11, + "column": 35 + }, + "end": { + "line": 11, + "column": 55 + } + }, + "extra": { + "rawValue": "featured-playlists", + "raw": "'featured-playlists'" + }, + "value": "featured-playlists" + } } }, - "id": { - "type": "Identifier", - "start": 609, - "end": 627, - "loc": { - "start": { - "line": 37, - "column": 13 - }, - "end": { - "line": 37, - "column": 31 - }, - "identifierName": "FEATURED_PLAYLISTS" - }, - "name": "FEATURED_PLAYLISTS", - "leadingComments": null - }, - "init": { - "type": "BinaryExpression", - "start": 630, - "end": 664, + { + "type": "ObjectProperty", + "start": 421, + "end": 495, "loc": { "start": { - "line": 37, - "column": 34 + "line": 12, + "column": 2 }, "end": { - "line": 37, - "column": 68 + "line": 12, + "column": 76 } }, - "left": { + "method": false, + "shorthand": false, + "computed": false, + "key": { "type": "Identifier", - "start": 630, - "end": 640, + "start": 421, + "end": 450, "loc": { "start": { - "line": 37, - "column": 34 + "line": 12, + "column": 2 }, "end": { - "line": 37, - "column": 44 + "line": 12, + "column": 31 }, - "identifierName": "API_DOMAIN" + "identifierName": "FEATURED_PLAYLISTS_CATEGORIES" }, - "name": "API_DOMAIN" + "name": "FEATURED_PLAYLISTS_CATEGORIES" }, - "operator": "+", - "right": { - "type": "StringLiteral", - "start": 643, - "end": 664, + "value": { + "type": "BinaryExpression", + "start": 452, + "end": 495, "loc": { "start": { - "line": 37, - "column": 47 + "line": 12, + "column": 33 }, "end": { - "line": 37, - "column": 68 + "line": 12, + "column": 76 } }, - "extra": { - "rawValue": "featured-playlists/", - "raw": "'featured-playlists/'" + "left": { + "type": "Identifier", + "start": 452, + "end": 462, + "loc": { + "start": { + "line": 12, + "column": 33 + }, + "end": { + "line": 12, + "column": 43 + }, + "identifierName": "API_DOMAIN" + }, + "name": "API_DOMAIN" }, - "value": "featured-playlists/", - "leadingComments": null, - "trailingComments": null - }, - "trailingComments": null - }, - "leadingComments": null, - "trailingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 577, - "end": 595, - "loc": { - "start": { - "line": 34, - "column": 0 - }, - "end": { - "line": 36, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 666, - "end": 684, - "loc": { - "start": { - "line": 39, - "column": 0 - }, - "end": { - "line": 41, - "column": 3 - } - } - } - ] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 577, - "end": 595, - "loc": { - "start": { - "line": 34, - "column": 0 - }, - "end": { - "line": 36, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 666, - "end": 684, - "loc": { - "start": { - "line": 39, - "column": 0 - }, - "end": { - "line": 41, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "start": 685, - "end": 774, - "loc": { - "start": { - "line": 42, - "column": 0 - }, - "end": { - "line": 42, - "column": 89 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 692, - "end": 774, - "loc": { - "start": { - "line": 42, - "column": 7 - }, - "end": { - "line": 42, - "column": 89 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 698, - "end": 774, - "loc": { - "start": { - "line": 42, - "column": 13 - }, - "end": { - "line": 42, - "column": 89 + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 465, + "end": 495, + "loc": { + "start": { + "line": 12, + "column": 46 + }, + "end": { + "line": 12, + "column": 76 + } + }, + "extra": { + "rawValue": "featured-playlist-categories", + "raw": "'featured-playlist-categories'" + }, + "value": "featured-playlist-categories" + } } }, - "id": { - "type": "Identifier", - "start": 698, - "end": 727, - "loc": { - "start": { - "line": 42, - "column": 13 - }, - "end": { - "line": 42, - "column": 42 - }, - "identifierName": "FEATURED_PLAYLISTS_CATEGORIES" - }, - "name": "FEATURED_PLAYLISTS_CATEGORIES", - "leadingComments": null - }, - "init": { - "type": "BinaryExpression", - "start": 730, - "end": 774, + { + "type": "ObjectProperty", + "start": 499, + "end": 560, "loc": { "start": { - "line": 42, - "column": 45 + "line": 13, + "column": 2 }, "end": { - "line": 42, - "column": 89 + "line": 13, + "column": 63 } }, - "left": { + "method": false, + "shorthand": false, + "computed": false, + "key": { "type": "Identifier", - "start": 730, - "end": 740, + "start": 499, + "end": 521, "loc": { "start": { - "line": 42, - "column": 45 + "line": 13, + "column": 2 }, "end": { - "line": 42, - "column": 55 + "line": 13, + "column": 24 }, - "identifierName": "API_DOMAIN" + "identifierName": "NEW_RELEASE_CATEGORIES" }, - "name": "API_DOMAIN" + "name": "NEW_RELEASE_CATEGORIES" }, - "operator": "+", - "right": { - "type": "StringLiteral", - "start": 743, - "end": 774, + "value": { + "type": "BinaryExpression", + "start": 523, + "end": 560, "loc": { "start": { - "line": 42, - "column": 58 + "line": 13, + "column": 26 }, "end": { - "line": 42, - "column": 89 + "line": 13, + "column": 63 } }, - "extra": { - "rawValue": "featured-playlist-categories/", - "raw": "'featured-playlist-categories/'" + "left": { + "type": "Identifier", + "start": 523, + "end": 533, + "loc": { + "start": { + "line": 13, + "column": 26 + }, + "end": { + "line": 13, + "column": 36 + }, + "identifierName": "API_DOMAIN" + }, + "name": "API_DOMAIN" }, - "value": "featured-playlist-categories/", - "leadingComments": null, - "trailingComments": null - }, - "trailingComments": null - }, - "leadingComments": null, - "trailingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 666, - "end": 684, - "loc": { - "start": { - "line": 39, - "column": 0 - }, - "end": { - "line": 41, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 776, - "end": 794, - "loc": { - "start": { - "line": 44, - "column": 0 - }, - "end": { - "line": 46, - "column": 3 - } - } - } - ] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 666, - "end": 684, - "loc": { - "start": { - "line": 39, - "column": 0 - }, - "end": { - "line": 41, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 776, - "end": 794, - "loc": { - "start": { - "line": 44, - "column": 0 - }, - "end": { - "line": 46, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "start": 795, - "end": 871, - "loc": { - "start": { - "line": 47, - "column": 0 - }, - "end": { - "line": 47, - "column": 76 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 802, - "end": 871, - "loc": { - "start": { - "line": 47, - "column": 7 - }, - "end": { - "line": 47, - "column": 76 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 808, - "end": 871, - "loc": { - "start": { - "line": 47, - "column": 13 - }, - "end": { - "line": 47, - "column": 76 + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 536, + "end": 560, + "loc": { + "start": { + "line": 13, + "column": 39 + }, + "end": { + "line": 13, + "column": 63 + } + }, + "extra": { + "rawValue": "new-release-categories", + "raw": "'new-release-categories'" + }, + "value": "new-release-categories" + } } }, - "id": { - "type": "Identifier", - "start": 808, - "end": 830, - "loc": { - "start": { - "line": 47, - "column": 13 - }, - "end": { - "line": 47, - "column": 35 - }, - "identifierName": "NEW_RELEASE_CATEGORIES" - }, - "name": "NEW_RELEASE_CATEGORIES", - "leadingComments": null - }, - "init": { - "type": "BinaryExpression", - "start": 833, - "end": 871, + { + "type": "ObjectProperty", + "start": 564, + "end": 617, "loc": { "start": { - "line": 47, - "column": 38 + "line": 14, + "column": 2 }, "end": { - "line": 47, - "column": 76 + "line": 14, + "column": 55 } }, - "left": { + "method": false, + "shorthand": false, + "computed": false, + "key": { "type": "Identifier", - "start": 833, - "end": 843, + "start": 564, + "end": 582, "loc": { "start": { - "line": 47, - "column": 38 + "line": 14, + "column": 2 }, "end": { - "line": 47, - "column": 48 + "line": 14, + "column": 20 }, - "identifierName": "API_DOMAIN" + "identifierName": "NEW_HITS_PLAYLISTS" }, - "name": "API_DOMAIN" + "name": "NEW_HITS_PLAYLISTS" }, - "operator": "+", - "right": { - "type": "StringLiteral", - "start": 846, - "end": 871, + "value": { + "type": "BinaryExpression", + "start": 584, + "end": 617, "loc": { "start": { - "line": 47, - "column": 51 + "line": 14, + "column": 22 }, "end": { - "line": 47, - "column": 76 + "line": 14, + "column": 55 } }, - "extra": { - "rawValue": "new-release-categories/", - "raw": "'new-release-categories/'" + "left": { + "type": "Identifier", + "start": 584, + "end": 594, + "loc": { + "start": { + "line": 14, + "column": 22 + }, + "end": { + "line": 14, + "column": 32 + }, + "identifierName": "API_DOMAIN" + }, + "name": "API_DOMAIN" }, - "value": "new-release-categories/", - "leadingComments": null, - "trailingComments": null - }, - "trailingComments": null - }, - "leadingComments": null, - "trailingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 776, - "end": 794, - "loc": { - "start": { - "line": 44, - "column": 0 - }, - "end": { - "line": 46, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 873, - "end": 891, - "loc": { - "start": { - "line": 49, - "column": 0 - }, - "end": { - "line": 51, - "column": 3 - } - } - } - ] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 776, - "end": 794, - "loc": { - "start": { - "line": 44, - "column": 0 - }, - "end": { - "line": 46, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 873, - "end": 891, - "loc": { - "start": { - "line": 49, - "column": 0 - }, - "end": { - "line": 51, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "start": 892, - "end": 960, - "loc": { - "start": { - "line": 52, - "column": 0 - }, - "end": { - "line": 52, - "column": 68 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 899, - "end": 960, - "loc": { - "start": { - "line": 52, - "column": 7 - }, - "end": { - "line": 52, - "column": 68 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 905, - "end": 960, - "loc": { - "start": { - "line": 52, - "column": 13 - }, - "end": { - "line": 52, - "column": 68 + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 597, + "end": 617, + "loc": { + "start": { + "line": 14, + "column": 35 + }, + "end": { + "line": 14, + "column": 55 + } + }, + "extra": { + "rawValue": "new-hits-playlists", + "raw": "'new-hits-playlists'" + }, + "value": "new-hits-playlists" + } } }, - "id": { - "type": "Identifier", - "start": 905, - "end": 923, - "loc": { - "start": { - "line": 52, - "column": 13 - }, - "end": { - "line": 52, - "column": 31 - }, - "identifierName": "NEW_HITS_PLAYLISTS" - }, - "name": "NEW_HITS_PLAYLISTS", - "leadingComments": null - }, - "init": { - "type": "BinaryExpression", - "start": 926, - "end": 960, + { + "type": "ObjectProperty", + "start": 621, + "end": 666, "loc": { "start": { - "line": 52, - "column": 34 + "line": 15, + "column": 2 }, "end": { - "line": 52, - "column": 68 + "line": 15, + "column": 47 } }, - "left": { + "method": false, + "shorthand": false, + "computed": false, + "key": { "type": "Identifier", - "start": 926, - "end": 936, + "start": 621, + "end": 635, "loc": { "start": { - "line": 52, - "column": 34 + "line": 15, + "column": 2 }, "end": { - "line": 52, - "column": 44 + "line": 15, + "column": 16 }, - "identifierName": "API_DOMAIN" + "identifierName": "GENRE_STATIONS" }, - "name": "API_DOMAIN" + "name": "GENRE_STATIONS" }, - "operator": "+", - "right": { - "type": "StringLiteral", - "start": 939, - "end": 960, + "value": { + "type": "BinaryExpression", + "start": 637, + "end": 666, "loc": { "start": { - "line": 52, - "column": 47 + "line": 15, + "column": 18 }, "end": { - "line": 52, - "column": 68 + "line": 15, + "column": 47 } }, - "extra": { - "rawValue": "new-hits-playlists/", - "raw": "'new-hits-playlists/'" + "left": { + "type": "Identifier", + "start": 637, + "end": 647, + "loc": { + "start": { + "line": 15, + "column": 18 + }, + "end": { + "line": 15, + "column": 28 + }, + "identifierName": "API_DOMAIN" + }, + "name": "API_DOMAIN" }, - "value": "new-hits-playlists/", - "leadingComments": null, - "trailingComments": null - }, - "trailingComments": null - }, - "leadingComments": null, - "trailingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 873, - "end": 891, - "loc": { - "start": { - "line": 49, - "column": 0 - }, - "end": { - "line": 51, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 962, - "end": 980, - "loc": { - "start": { - "line": 54, - "column": 0 - }, - "end": { - "line": 56, - "column": 3 - } - } - } - ] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 873, - "end": 891, - "loc": { - "start": { - "line": 49, - "column": 0 - }, - "end": { - "line": 51, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 962, - "end": 980, - "loc": { - "start": { - "line": 54, - "column": 0 - }, - "end": { - "line": 56, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "start": 981, - "end": 1041, - "loc": { - "start": { - "line": 57, - "column": 0 - }, - "end": { - "line": 57, - "column": 60 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 988, - "end": 1041, - "loc": { - "start": { - "line": 57, - "column": 7 - }, - "end": { - "line": 57, - "column": 60 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 994, - "end": 1041, - "loc": { - "start": { - "line": 57, - "column": 13 - }, - "end": { - "line": 57, - "column": 60 + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 650, + "end": 666, + "loc": { + "start": { + "line": 15, + "column": 31 + }, + "end": { + "line": 15, + "column": 47 + } + }, + "extra": { + "rawValue": "genre-stations", + "raw": "'genre-stations'" + }, + "value": "genre-stations" + } } }, - "id": { - "type": "Identifier", - "start": 994, - "end": 1008, - "loc": { - "start": { - "line": 57, - "column": 13 - }, - "end": { - "line": 57, - "column": 27 - }, - "identifierName": "GENRE_STATIONS" - }, - "name": "GENRE_STATIONS", - "leadingComments": null - }, - "init": { - "type": "BinaryExpression", - "start": 1011, - "end": 1041, + { + "type": "ObjectProperty", + "start": 670, + "end": 699, "loc": { "start": { - "line": 57, - "column": 30 + "line": 16, + "column": 2 }, "end": { - "line": 57, - "column": 60 + "line": 16, + "column": 31 } }, - "left": { + "method": false, + "shorthand": false, + "computed": false, + "key": { "type": "Identifier", - "start": 1011, - "end": 1021, + "start": 670, + "end": 676, "loc": { "start": { - "line": 57, - "column": 30 + "line": 16, + "column": 2 }, "end": { - "line": 57, - "column": 40 + "line": 16, + "column": 8 }, - "identifierName": "API_DOMAIN" + "identifierName": "CHARTS" }, - "name": "API_DOMAIN" + "name": "CHARTS" }, - "operator": "+", - "right": { - "type": "StringLiteral", - "start": 1024, - "end": 1041, + "value": { + "type": "BinaryExpression", + "start": 678, + "end": 699, "loc": { "start": { - "line": 57, - "column": 43 + "line": 16, + "column": 10 }, "end": { - "line": 57, - "column": 60 + "line": 16, + "column": 31 } }, - "extra": { - "rawValue": "genre-stations/", - "raw": "'genre-stations/'" + "left": { + "type": "Identifier", + "start": 678, + "end": 688, + "loc": { + "start": { + "line": 16, + "column": 10 + }, + "end": { + "line": 16, + "column": 20 + }, + "identifierName": "API_DOMAIN" + }, + "name": "API_DOMAIN" }, - "value": "genre-stations/", - "leadingComments": null, - "trailingComments": null - }, - "trailingComments": null - }, - "leadingComments": null, - "trailingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 962, - "end": 980, - "loc": { - "start": { - "line": 54, - "column": 0 - }, - "end": { - "line": 56, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 1043, - "end": 1061, - "loc": { - "start": { - "line": 59, - "column": 0 - }, - "end": { - "line": 61, - "column": 3 - } - } - } - ] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 962, - "end": 980, - "loc": { - "start": { - "line": 54, - "column": 0 - }, - "end": { - "line": 56, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 1043, - "end": 1061, - "loc": { - "start": { - "line": 59, - "column": 0 - }, - "end": { - "line": 61, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "start": 1062, - "end": 1106, - "loc": { - "start": { - "line": 62, - "column": 0 - }, - "end": { - "line": 62, - "column": 44 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 1069, - "end": 1106, - "loc": { - "start": { - "line": 62, - "column": 7 - }, - "end": { - "line": 62, - "column": 44 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1075, - "end": 1106, - "loc": { - "start": { - "line": 62, - "column": 13 - }, - "end": { - "line": 62, - "column": 44 - } - }, - "id": { - "type": "Identifier", - "start": 1075, - "end": 1081, - "loc": { - "start": { - "line": 62, - "column": 13 - }, - "end": { - "line": 62, - "column": 19 - }, - "identifierName": "CHARTS" - }, - "name": "CHARTS", - "leadingComments": null - }, - "init": { - "type": "BinaryExpression", - "start": 1084, - "end": 1106, - "loc": { - "start": { - "line": 62, - "column": 22 - }, - "end": { - "line": 62, - "column": 44 - } - }, - "left": { - "type": "Identifier", - "start": 1084, - "end": 1094, - "loc": { - "start": { - "line": 62, - "column": 22 - }, - "end": { - "line": 62, - "column": 32 - }, - "identifierName": "API_DOMAIN" - }, - "name": "API_DOMAIN" - }, - "operator": "+", - "right": { - "type": "StringLiteral", - "start": 1097, - "end": 1106, - "loc": { - "start": { - "line": 62, - "column": 35 - }, - "end": { - "line": 62, - "column": 44 - } - }, - "extra": { - "rawValue": "charts/", - "raw": "'charts/'" - }, - "value": "charts/", - "leadingComments": null, - "trailingComments": null - }, - "trailingComments": null - }, - "leadingComments": null, - "trailingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 1043, - "end": 1061, - "loc": { - "start": { - "line": 59, - "column": 0 - }, - "end": { - "line": 61, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 1108, - "end": 1126, - "loc": { - "start": { - "line": 64, - "column": 0 - }, - "end": { - "line": 66, - "column": 3 - } - } - } - ] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 1043, - "end": 1061, - "loc": { - "start": { - "line": 59, - "column": 0 - }, - "end": { - "line": 61, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 1108, - "end": 1126, - "loc": { - "start": { - "line": 64, - "column": 0 - }, - "end": { - "line": 66, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "start": 1127, - "end": 1246, - "loc": { - "start": { - "line": 67, - "column": 0 - }, - "end": { - "line": 72, - "column": 1 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 1134, - "end": 1246, - "loc": { - "start": { - "line": 67, - "column": 7 - }, - "end": { - "line": 72, - "column": 1 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1140, - "end": 1246, - "loc": { - "start": { - "line": 67, - "column": 13 - }, - "end": { - "line": 72, - "column": 1 - } - }, - "id": { - "type": "Identifier", - "start": 1140, - "end": 1152, - "loc": { - "start": { - "line": 67, - "column": 13 - }, - "end": { - "line": 67, - "column": 25 - }, - "identifierName": "SEARCH_TYPES" - }, - "name": "SEARCH_TYPES", - "leadingComments": null - }, - "init": { - "type": "ObjectExpression", - "start": 1155, - "end": 1246, - "loc": { - "start": { - "line": 67, - "column": 28 - }, - "end": { - "line": 72, - "column": 1 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 1161, - "end": 1177, - "loc": { - "start": { - "line": 68, - "column": 4 - }, - "end": { - "line": 68, - "column": 20 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1161, - "end": 1167, - "loc": { - "start": { - "line": 68, - "column": 4 - }, - "end": { - "line": 68, - "column": 10 - }, - "identifierName": "ARTIST" - }, - "name": "ARTIST" - }, - "value": { - "type": "StringLiteral", - "start": 1169, - "end": 1177, - "loc": { - "start": { - "line": 68, - "column": 12 - }, - "end": { - "line": 68, - "column": 20 - } - }, - "extra": { - "rawValue": "artist", - "raw": "'artist'" - }, - "value": "artist" - } - }, - { - "type": "ObjectProperty", - "start": 1183, - "end": 1197, - "loc": { - "start": { - "line": 69, - "column": 4 - }, - "end": { - "line": 69, - "column": 18 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1183, - "end": 1188, - "loc": { - "start": { - "line": 69, - "column": 4 - }, - "end": { - "line": 69, - "column": 9 - }, - "identifierName": "ALBUM" - }, - "name": "ALBUM" - }, - "value": { - "type": "StringLiteral", - "start": 1190, - "end": 1197, - "loc": { - "start": { - "line": 69, - "column": 11 - }, - "end": { - "line": 69, - "column": 18 - } - }, - "extra": { - "rawValue": "album", - "raw": "'album'" - }, - "value": "album" - } - }, - { - "type": "ObjectProperty", - "start": 1203, - "end": 1217, + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 691, + "end": 699, "loc": { "start": { - "line": 70, - "column": 4 - }, - "end": { - "line": 70, - "column": 18 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1203, - "end": 1208, - "loc": { - "start": { - "line": 70, - "column": 4 - }, - "end": { - "line": 70, - "column": 9 - }, - "identifierName": "TRACK" - }, - "name": "TRACK" - }, - "value": { - "type": "StringLiteral", - "start": 1210, - "end": 1217, - "loc": { - "start": { - "line": 70, - "column": 11 - }, - "end": { - "line": 70, - "column": 18 - } - }, - "extra": { - "rawValue": "track", - "raw": "'track'" - }, - "value": "track" - } - }, - { - "type": "ObjectProperty", - "start": 1223, - "end": 1244, - "loc": { - "start": { - "line": 71, - "column": 4 - }, - "end": { - "line": 71, - "column": 25 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1223, - "end": 1232, - "loc": { - "start": { - "line": 71, - "column": 4 - }, - "end": { - "line": 71, - "column": 13 - }, - "identifierName": "PLAY_LIST" - }, - "name": "PLAY_LIST" - }, - "value": { - "type": "StringLiteral", - "start": 1234, - "end": 1244, - "loc": { - "start": { - "line": 71, - "column": 15 - }, - "end": { - "line": 71, - "column": 25 - } - }, - "extra": { - "rawValue": "playlist", - "raw": "'playlist'" - }, - "value": "playlist" - } - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 1108, - "end": 1126, - "loc": { - "start": { - "line": 64, - "column": 0 - }, - "end": { - "line": 66, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 1108, - "end": 1126, - "loc": { - "start": { - "line": 64, - "column": 0 - }, - "end": { - "line": 66, - "column": 3 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 1248, - "end": 1304, - "loc": { - "start": { - "line": 74, - "column": 0 - }, - "end": { - "line": 74, - "column": 56 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1254, - "end": 1304, - "loc": { - "start": { - "line": 74, - "column": 6 - }, - "end": { - "line": 74, - "column": 56 - } - }, - "id": { - "type": "Identifier", - "start": 1254, - "end": 1266, - "loc": { - "start": { - "line": 74, - "column": 6 - }, - "end": { - "line": 74, - "column": 18 - }, - "identifierName": "OAuth_DOMAIN" - }, - "name": "OAuth_DOMAIN" - }, - "init": { - "type": "StringLiteral", - "start": 1269, - "end": 1304, - "loc": { - "start": { - "line": 74, - "column": 21 - }, - "end": { - "line": 74, - "column": 56 - } - }, - "extra": { - "rawValue": "https://account.kkbox.com/oauth2/", - "raw": "'https://account.kkbox.com/oauth2/'" - }, - "value": "https://account.kkbox.com/oauth2/", - "leadingComments": null, - "trailingComments": null - }, - "trailingComments": null - } - ], - "kind": "const", - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 1306, - "end": 1324, - "loc": { - "start": { - "line": 76, - "column": 0 - }, - "end": { - "line": 78, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "start": 1325, - "end": 1369, - "loc": { - "start": { - "line": 79, - "column": 0 - }, - "end": { - "line": 79, - "column": 44 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 1332, - "end": 1369, - "loc": { - "start": { - "line": 79, - "column": 7 - }, - "end": { - "line": 79, - "column": 44 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1338, - "end": 1369, - "loc": { - "start": { - "line": 79, - "column": 13 - }, - "end": { - "line": 79, - "column": 44 - } - }, - "id": { - "type": "Identifier", - "start": 1338, - "end": 1343, - "loc": { - "start": { - "line": 79, - "column": 13 - }, - "end": { - "line": 79, - "column": 18 - }, - "identifierName": "Token" - }, - "name": "Token", - "leadingComments": null - }, - "init": { - "type": "BinaryExpression", - "start": 1346, - "end": 1369, - "loc": { - "start": { - "line": 79, - "column": 21 - }, - "end": { - "line": 79, - "column": 44 - } - }, - "left": { - "type": "Identifier", - "start": 1346, - "end": 1358, - "loc": { - "start": { - "line": 79, - "column": 21 - }, - "end": { - "line": 79, - "column": 33 - }, - "identifierName": "OAuth_DOMAIN" - }, - "name": "OAuth_DOMAIN" - }, - "operator": "+", - "right": { - "type": "StringLiteral", - "start": 1361, - "end": 1369, - "loc": { - "start": { - "line": 79, - "column": 36 - }, - "end": { - "line": 79, - "column": 44 - } - }, - "extra": { - "rawValue": "token/", - "raw": "'token/'" - }, - "value": "token/", - "leadingComments": null, - "trailingComments": null - }, - "trailingComments": null - }, - "leadingComments": null, - "trailingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 1306, - "end": 1324, - "loc": { - "start": { - "line": 76, - "column": 0 - }, - "end": { - "line": 78, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 1371, - "end": 1389, - "loc": { - "start": { - "line": 81, - "column": 0 - }, - "end": { - "line": 83, - "column": 3 - } - } - } - ] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 1306, - "end": 1324, - "loc": { - "start": { - "line": 76, - "column": 0 - }, - "end": { - "line": 78, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 1371, - "end": 1389, - "loc": { - "start": { - "line": 81, - "column": 0 - }, - "end": { - "line": 83, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "start": 1390, - "end": 1446, - "loc": { - "start": { - "line": 84, - "column": 0 - }, - "end": { - "line": 84, - "column": 56 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 1397, - "end": 1446, - "loc": { - "start": { - "line": 84, - "column": 7 - }, - "end": { - "line": 84, - "column": 56 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1403, - "end": 1446, - "loc": { - "start": { - "line": 84, - "column": 13 - }, - "end": { - "line": 84, - "column": 56 - } - }, - "id": { - "type": "Identifier", - "start": 1403, - "end": 1416, - "loc": { - "start": { - "line": 84, - "column": 13 - }, - "end": { - "line": 84, - "column": 26 - }, - "identifierName": "Authorization" - }, - "name": "Authorization", - "leadingComments": null - }, - "init": { - "type": "BinaryExpression", - "start": 1419, - "end": 1446, - "loc": { - "start": { - "line": 84, - "column": 29 - }, - "end": { - "line": 84, - "column": 56 - } - }, - "left": { - "type": "Identifier", - "start": 1419, - "end": 1431, - "loc": { - "start": { - "line": 84, - "column": 29 - }, - "end": { - "line": 84, - "column": 41 - }, - "identifierName": "OAuth_DOMAIN" - }, - "name": "OAuth_DOMAIN" - }, - "operator": "+", - "right": { - "type": "StringLiteral", - "start": 1434, - "end": 1446, - "loc": { - "start": { - "line": 84, - "column": 44 - }, - "end": { - "line": 84, - "column": 56 - } - }, - "extra": { - "rawValue": "authorize/", - "raw": "'authorize/'" - }, - "value": "authorize/" - } - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 1371, - "end": 1389, - "loc": { - "start": { - "line": 81, - "column": 0 - }, - "end": { - "line": 83, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 1371, - "end": 1389, - "loc": { - "start": { - "line": 81, - "column": 0 - }, - "end": { - "line": 83, - "column": 3 - } - } - } - ] - } - ], - "directives": [] - }, - "comments": [ - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 151, - "end": 169, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 216, - "end": 234, - "loc": { - "start": { - "line": 9, - "column": 0 - }, - "end": { - "line": 11, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 281, - "end": 299, - "loc": { - "start": { - "line": 14, - "column": 0 - }, - "end": { - "line": 16, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 348, - "end": 366, - "loc": { - "start": { - "line": 19, - "column": 0 - }, - "end": { - "line": 21, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 413, - "end": 431, - "loc": { - "start": { - "line": 24, - "column": 0 - }, - "end": { - "line": 26, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 498, - "end": 516, - "loc": { - "start": { - "line": 29, - "column": 0 - }, - "end": { - "line": 31, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 577, - "end": 595, - "loc": { - "start": { - "line": 34, - "column": 0 - }, - "end": { - "line": 36, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 666, - "end": 684, - "loc": { - "start": { - "line": 39, - "column": 0 - }, - "end": { - "line": 41, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 776, - "end": 794, - "loc": { - "start": { - "line": 44, - "column": 0 - }, - "end": { - "line": 46, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 873, - "end": 891, - "loc": { - "start": { - "line": 49, - "column": 0 - }, - "end": { - "line": 51, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 962, - "end": 980, - "loc": { - "start": { - "line": 54, - "column": 0 - }, - "end": { - "line": 56, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 1043, - "end": 1061, - "loc": { - "start": { - "line": 59, - "column": 0 - }, - "end": { - "line": 61, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 1108, - "end": 1126, - "loc": { - "start": { - "line": 64, - "column": 0 - }, - "end": { - "line": 66, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 1306, - "end": 1324, - "loc": { - "start": { - "line": 76, - "column": 0 - }, - "end": { - "line": 78, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 1371, - "end": 1389, - "loc": { - "start": { - "line": 81, - "column": 0 - }, - "end": { - "line": 83, - "column": 3 - } - } - } - ], - "tokens": [ - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 0, - "end": 5, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "API_DOMAIN", - "start": 6, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 6 - }, - "end": { - "line": 1, - "column": 16 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 17, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 19, - "end": 20, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 20, - "end": 21, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 21, - "end": 22, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 22 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 23, - "end": 25, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 26, - "end": 27, - "loc": { - "start": { - "line": 1, - "column": 26 - }, - "end": { - "line": 1, - "column": 27 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 32, - "end": 38, - "loc": { - "start": { - "line": 2, - "column": 4 - }, - "end": { - "line": 2, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "process", - "start": 39, - "end": 46, - "loc": { - "start": { - "line": 2, - "column": 11 - }, - "end": { - "line": 2, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 46, - "end": 47, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "env", - "start": 47, - "end": 50, - "loc": { - "start": { - "line": 2, - "column": 19 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 22 - }, - "end": { - "line": 2, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "NODE_ENV", - "start": 51, - "end": 59, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 31 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 60, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 32 - }, - "end": { - "line": 2, - "column": 35 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "staging", - "start": 64, - "end": 73, - "loc": { - "start": { - "line": 2, - "column": 36 - }, - "end": { - "line": 2, - "column": 45 - } - } - }, - { - "type": { - "label": "?", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 74, - "end": 75, - "loc": { - "start": { - "line": 2, - "column": 46 - }, - "end": { - "line": 2, - "column": 47 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "https://api.kkbox-staging.com/v1.1/", - "start": 76, - "end": 113, - "loc": { - "start": { - "line": 2, - "column": 48 - }, - "end": { - "line": 2, - "column": 85 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 114, - "end": 115, - "loc": { - "start": { - "line": 2, - "column": 86 - }, - "end": { - "line": 2, - "column": 87 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "https://api.kkbox.com/v1.1/", - "start": 116, - "end": 145, - "loc": { - "start": { - "line": 2, - "column": 88 - }, - "end": { - "line": 2, - "column": 117 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 146, - "end": 147, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 147, - "end": 148, - "loc": { - "start": { - "line": 3, - "column": 1 - }, - "end": { - "line": 3, - "column": 2 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 148, - "end": 149, - "loc": { - "start": { - "line": 3, - "column": 2 - }, - "end": { - "line": 3, - "column": 3 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 149, - "end": 150, - "loc": { - "start": { - "line": 3, - "column": 3 - }, - "end": { - "line": 3, - "column": 4 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 151, - "end": 169, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 170, - "end": 176, - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 6 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 177, - "end": 182, - "loc": { - "start": { - "line": 7, - "column": 7 - }, - "end": { - "line": 7, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "SEARCH", - "start": 183, - "end": 189, - "loc": { - "start": { - "line": 7, - "column": 13 - }, - "end": { - "line": 7, - "column": 19 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 190, - "end": 191, - "loc": { - "start": { - "line": 7, - "column": 20 - }, - "end": { - "line": 7, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "API_DOMAIN", - "start": 192, - "end": 202, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 7, - "column": 32 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 203, - "end": 204, - "loc": { - "start": { - "line": 7, - "column": 33 - }, - "end": { - "line": 7, - "column": 34 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "search/", - "start": 205, - "end": 214, - "loc": { - "start": { - "line": 7, - "column": 35 - }, - "end": { - "line": 7, - "column": 44 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 216, - "end": 234, - "loc": { - "start": { - "line": 9, - "column": 0 - }, - "end": { - "line": 11, - "column": 3 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 235, - "end": 241, - "loc": { - "start": { - "line": 12, - "column": 0 - }, - "end": { - "line": 12, - "column": 6 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 242, - "end": 247, - "loc": { - "start": { - "line": 12, - "column": 7 - }, - "end": { - "line": 12, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "TRACKS", - "start": 248, - "end": 254, - "loc": { - "start": { - "line": 12, - "column": 13 - }, - "end": { - "line": 12, - "column": 19 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 255, - "end": 256, - "loc": { - "start": { - "line": 12, - "column": 20 - }, - "end": { - "line": 12, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "API_DOMAIN", - "start": 257, - "end": 267, - "loc": { - "start": { - "line": 12, - "column": 22 - }, - "end": { - "line": 12, - "column": 32 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 268, - "end": 269, - "loc": { - "start": { - "line": 12, - "column": 33 - }, - "end": { - "line": 12, - "column": 34 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tracks/", - "start": 270, - "end": 279, - "loc": { - "start": { - "line": 12, - "column": 35 - }, - "end": { - "line": 12, - "column": 44 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 281, - "end": 299, - "loc": { - "start": { - "line": 14, - "column": 0 - }, - "end": { - "line": 16, - "column": 3 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 300, - "end": 306, - "loc": { - "start": { - "line": 17, - "column": 0 - }, - "end": { - "line": 17, - "column": 6 + "line": 16, + "column": 23 + }, + "end": { + "line": 16, + "column": 31 + } + }, + "extra": { + "rawValue": "charts", + "raw": "'charts'" + }, + "value": "charts" + } + } + }, + { + "type": "ObjectProperty", + "start": 703, + "end": 733, + "loc": { + "start": { + "line": 17, + "column": 2 + }, + "end": { + "line": 17, + "column": 32 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 703, + "end": 708, + "loc": { + "start": { + "line": 17, + "column": 2 + }, + "end": { + "line": 17, + "column": 7 + }, + "identifierName": "Token" + }, + "name": "Token" + }, + "value": { + "type": "BinaryExpression", + "start": 710, + "end": 733, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 32 + } + }, + "left": { + "type": "Identifier", + "start": 710, + "end": 722, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 21 + }, + "identifierName": "OAUTH_DOMAIN" + }, + "name": "OAUTH_DOMAIN" + }, + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 725, + "end": 733, + "loc": { + "start": { + "line": 17, + "column": 24 + }, + "end": { + "line": 17, + "column": 32 + } + }, + "extra": { + "rawValue": "token/", + "raw": "'token/'" + }, + "value": "token/" + } + } + }, + { + "type": "ObjectProperty", + "start": 737, + "end": 779, + "loc": { + "start": { + "line": 18, + "column": 2 + }, + "end": { + "line": 18, + "column": 44 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 737, + "end": 750, + "loc": { + "start": { + "line": 18, + "column": 2 + }, + "end": { + "line": 18, + "column": 15 + }, + "identifierName": "Authorization" + }, + "name": "Authorization" + }, + "value": { + "type": "BinaryExpression", + "start": 752, + "end": 779, + "loc": { + "start": { + "line": 18, + "column": 17 + }, + "end": { + "line": 18, + "column": 44 + } + }, + "left": { + "type": "Identifier", + "start": 752, + "end": 764, + "loc": { + "start": { + "line": 18, + "column": 17 + }, + "end": { + "line": 18, + "column": 29 + }, + "identifierName": "OAUTH_DOMAIN" + }, + "name": "OAUTH_DOMAIN" + }, + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 767, + "end": 779, + "loc": { + "start": { + "line": 18, + "column": 32 + }, + "end": { + "line": 18, + "column": 44 + } + }, + "extra": { + "rawValue": "authorize/", + "raw": "'authorize/'" + }, + "value": "authorize/" + } + } + } + ] + } } } - }, + ], + "directives": [] + }, + "comments": [], + "tokens": [ { "type": { "label": "const", @@ -4852,16 +1518,16 @@ "updateContext": null }, "value": "const", - "start": 307, - "end": 312, + "start": 0, + "end": 5, "loc": { "start": { - "line": 17, - "column": 7 + "line": 1, + "column": 0 }, "end": { - "line": 17, - "column": 12 + "line": 1, + "column": 5 } } }, @@ -4877,17 +1543,17 @@ "postfix": false, "binop": null }, - "value": "ARTISTS", - "start": 313, - "end": 320, + "value": "API_DOMAIN", + "start": 6, + "end": 16, "loc": { "start": { - "line": 17, - "column": 13 + "line": 1, + "column": 6 }, "end": { - "line": 17, - "column": 20 + "line": 1, + "column": 16 } } }, @@ -4905,22 +1571,22 @@ "updateContext": null }, "value": "=", - "start": 321, - "end": 322, + "start": 17, + "end": 18, "loc": { "start": { - "line": 17, - "column": 21 + "line": 1, + "column": 17 }, "end": { - "line": 17, - "column": 22 + "line": 1, + "column": 18 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -4928,54 +1594,55 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "API_DOMAIN", - "start": 323, - "end": 333, + "value": "https://api.kkbox.com/v1.1/", + "start": 19, + "end": 48, "loc": { "start": { - "line": 17, - "column": 23 + "line": 1, + "column": 19 }, "end": { - "line": 17, - "column": 33 + "line": 1, + "column": 48 } } }, { "type": { - "label": "+/-", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "+", - "start": 334, - "end": 335, + "start": 48, + "end": 49, "loc": { "start": { - "line": 17, - "column": 34 + "line": 1, + "column": 48 }, "end": { - "line": 17, - "column": 35 + "line": 1, + "column": 49 } } }, { "type": { - "label": "string", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4984,95 +1651,76 @@ "binop": null, "updateContext": null }, - "value": "artists/", - "start": 336, - "end": 346, - "loc": { - "start": { - "line": 17, - "column": 36 - }, - "end": { - "line": 17, - "column": 46 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 348, - "end": 366, + "value": "const", + "start": 50, + "end": 55, "loc": { "start": { - "line": 19, + "line": 2, "column": 0 }, "end": { - "line": 21, - "column": 3 + "line": 2, + "column": 5 } } }, { "type": { - "label": "export", - "keyword": "export", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "export", - "start": 367, - "end": 373, + "value": "OAUTH_DOMAIN", + "start": 56, + "end": 68, "loc": { "start": { - "line": 22, - "column": 0 + "line": 2, + "column": 6 }, "end": { - "line": 22, - "column": 6 + "line": 2, + "column": 18 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "const", - "start": 374, - "end": 379, + "value": "=", + "start": 69, + "end": 70, "loc": { "start": { - "line": 22, - "column": 7 + "line": 2, + "column": 19 }, "end": { - "line": 22, - "column": 12 + "line": 2, + "column": 20 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -5080,46 +1728,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "ALBUMS", - "start": 380, - "end": 386, + "value": "https://account.kkbox.com/oauth2/", + "start": 71, + "end": 106, "loc": { "start": { - "line": 22, - "column": 13 + "line": 2, + "column": 21 }, "end": { - "line": 22, - "column": 19 + "line": 2, + "column": 56 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 387, - "end": 388, + "start": 106, + "end": 107, "loc": { "start": { - "line": 22, - "column": 20 + "line": 2, + "column": 56 }, "end": { - "line": 22, - "column": 21 + "line": 2, + "column": 57 } } }, @@ -5133,54 +1781,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "value": "API_DOMAIN", - "start": 389, - "end": 399, - "loc": { - "start": { - "line": 22, - "column": 22 - }, - "end": { - "line": 22, - "column": 32 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null + "binop": null }, - "value": "+", - "start": 400, - "end": 401, + "value": "module", + "start": 109, + "end": 115, "loc": { "start": { - "line": 22, - "column": 33 + "line": 4, + "column": 0 }, "end": { - "line": 22, - "column": 34 + "line": 4, + "column": 6 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5189,89 +1810,94 @@ "binop": null, "updateContext": null }, - "value": "albums/", - "start": 402, - "end": 411, + "start": 115, + "end": 116, "loc": { "start": { - "line": 22, - "column": 35 + "line": 4, + "column": 6 }, "end": { - "line": 22, - "column": 44 + "line": 4, + "column": 7 } } }, { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 413, - "end": 431, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exports", + "start": 116, + "end": 123, "loc": { "start": { - "line": 24, - "column": 0 + "line": 4, + "column": 7 }, "end": { - "line": 26, - "column": 3 + "line": 4, + "column": 14 } } }, { "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "export", - "start": 432, - "end": 438, + "value": "=", + "start": 124, + "end": 125, "loc": { "start": { - "line": 27, - "column": 0 + "line": 4, + "column": 15 }, "end": { - "line": 27, - "column": 6 + "line": 4, + "column": 16 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 439, - "end": 444, + "start": 126, + "end": 127, "loc": { "start": { - "line": 27, - "column": 7 + "line": 4, + "column": 17 }, "end": { - "line": 27, - "column": 12 + "line": 4, + "column": 18 } } }, @@ -5287,44 +1913,43 @@ "postfix": false, "binop": null }, - "value": "SHARED_PLAYLISTS", - "start": 445, - "end": 461, + "value": "SEARCH", + "start": 130, + "end": 136, "loc": { "start": { - "line": 27, - "column": 13 + "line": 5, + "column": 2 }, "end": { - "line": 27, - "column": 29 + "line": 5, + "column": 8 } } }, { "type": { - "label": "=", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 462, - "end": 463, + "start": 136, + "end": 137, "loc": { "start": { - "line": 27, - "column": 30 + "line": 5, + "column": 8 }, "end": { - "line": 27, - "column": 31 + "line": 5, + "column": 9 } } }, @@ -5341,16 +1966,16 @@ "binop": null }, "value": "API_DOMAIN", - "start": 464, - "end": 474, + "start": 138, + "end": 148, "loc": { "start": { - "line": 27, - "column": 32 + "line": 5, + "column": 10 }, "end": { - "line": 27, - "column": 42 + "line": 5, + "column": 20 } } }, @@ -5368,16 +1993,16 @@ "updateContext": null }, "value": "+", - "start": 475, - "end": 476, + "start": 149, + "end": 150, "loc": { "start": { - "line": 27, - "column": 43 + "line": 5, + "column": 21 }, "end": { - "line": 27, - "column": 44 + "line": 5, + "column": 22 } } }, @@ -5394,69 +2019,24 @@ "binop": null, "updateContext": null }, - "value": "shared-playlists/", - "start": 477, - "end": 496, - "loc": { - "start": { - "line": 27, - "column": 45 - }, - "end": { - "line": 27, - "column": 64 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 498, - "end": 516, - "loc": { - "start": { - "line": 29, - "column": 0 - }, - "end": { - "line": 31, - "column": 3 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 517, - "end": 523, + "value": "search", + "start": 151, + "end": 159, "loc": { "start": { - "line": 32, - "column": 0 + "line": 5, + "column": 23 }, "end": { - "line": 32, - "column": 6 + "line": 5, + "column": 31 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -5466,17 +2046,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 524, - "end": 529, + "start": 159, + "end": 160, "loc": { "start": { - "line": 32, - "column": 7 + "line": 5, + "column": 31 }, "end": { - "line": 32, - "column": 12 + "line": 5, + "column": 32 } } }, @@ -5492,44 +2071,43 @@ "postfix": false, "binop": null }, - "value": "MOOD_STATIONS", - "start": 530, - "end": 543, + "value": "TRACKS", + "start": 163, + "end": 169, "loc": { "start": { - "line": 32, - "column": 13 + "line": 6, + "column": 2 }, "end": { - "line": 32, - "column": 26 + "line": 6, + "column": 8 } } }, { "type": { - "label": "=", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 544, - "end": 545, + "start": 169, + "end": 170, "loc": { "start": { - "line": 32, - "column": 27 + "line": 6, + "column": 8 }, "end": { - "line": 32, - "column": 28 + "line": 6, + "column": 9 } } }, @@ -5546,16 +2124,16 @@ "binop": null }, "value": "API_DOMAIN", - "start": 546, - "end": 556, + "start": 171, + "end": 181, "loc": { "start": { - "line": 32, - "column": 29 + "line": 6, + "column": 10 }, "end": { - "line": 32, - "column": 39 + "line": 6, + "column": 20 } } }, @@ -5573,16 +2151,16 @@ "updateContext": null }, "value": "+", - "start": 557, - "end": 558, + "start": 182, + "end": 183, "loc": { "start": { - "line": 32, - "column": 40 + "line": 6, + "column": 21 }, "end": { - "line": 32, - "column": 41 + "line": 6, + "column": 22 } } }, @@ -5599,69 +2177,24 @@ "binop": null, "updateContext": null }, - "value": "mood-stations/", - "start": 559, - "end": 575, - "loc": { - "start": { - "line": 32, - "column": 42 - }, - "end": { - "line": 32, - "column": 58 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 577, - "end": 595, - "loc": { - "start": { - "line": 34, - "column": 0 - }, - "end": { - "line": 36, - "column": 3 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 596, - "end": 602, + "value": "tracks", + "start": 184, + "end": 192, "loc": { "start": { - "line": 37, - "column": 0 + "line": 6, + "column": 23 }, "end": { - "line": 37, - "column": 6 + "line": 6, + "column": 31 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -5671,17 +2204,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 603, - "end": 608, + "start": 192, + "end": 193, "loc": { "start": { - "line": 37, - "column": 7 + "line": 6, + "column": 31 }, "end": { - "line": 37, - "column": 12 + "line": 6, + "column": 32 } } }, @@ -5697,44 +2229,43 @@ "postfix": false, "binop": null }, - "value": "FEATURED_PLAYLISTS", - "start": 609, - "end": 627, + "value": "ARTISTS", + "start": 196, + "end": 203, "loc": { "start": { - "line": 37, - "column": 13 + "line": 7, + "column": 2 }, "end": { - "line": 37, - "column": 31 + "line": 7, + "column": 9 } } }, { "type": { - "label": "=", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 628, - "end": 629, + "start": 203, + "end": 204, "loc": { "start": { - "line": 37, - "column": 32 + "line": 7, + "column": 9 }, "end": { - "line": 37, - "column": 33 + "line": 7, + "column": 10 } } }, @@ -5751,95 +2282,51 @@ "binop": null }, "value": "API_DOMAIN", - "start": 630, - "end": 640, - "loc": { - "start": { - "line": 37, - "column": 34 - }, - "end": { - "line": 37, - "column": 44 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 641, - "end": 642, + "start": 205, + "end": 215, "loc": { "start": { - "line": 37, - "column": 45 + "line": 7, + "column": 11 }, "end": { - "line": 37, - "column": 46 + "line": 7, + "column": 21 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "+/-", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "value": "featured-playlists/", - "start": 643, - "end": 664, - "loc": { - "start": { - "line": 37, - "column": 47 - }, - "end": { - "line": 37, - "column": 68 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 666, - "end": 684, + "value": "+", + "start": 216, + "end": 217, "loc": { "start": { - "line": 39, - "column": 0 + "line": 7, + "column": 22 }, "end": { - "line": 41, - "column": 3 + "line": 7, + "column": 23 } } }, { "type": { - "label": "export", - "keyword": "export", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5848,25 +2335,24 @@ "binop": null, "updateContext": null }, - "value": "export", - "start": 685, - "end": 691, + "value": "artists", + "start": 218, + "end": 227, "loc": { "start": { - "line": 42, - "column": 0 + "line": 7, + "column": 24 }, "end": { - "line": 42, - "column": 6 + "line": 7, + "column": 33 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -5876,17 +2362,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 692, - "end": 697, + "start": 227, + "end": 228, "loc": { "start": { - "line": 42, - "column": 7 + "line": 7, + "column": 33 }, "end": { - "line": 42, - "column": 12 + "line": 7, + "column": 34 } } }, @@ -5902,44 +2387,43 @@ "postfix": false, "binop": null }, - "value": "FEATURED_PLAYLISTS_CATEGORIES", - "start": 698, - "end": 727, + "value": "ALBUMS", + "start": 231, + "end": 237, "loc": { "start": { - "line": 42, - "column": 13 + "line": 8, + "column": 2 }, "end": { - "line": 42, - "column": 42 + "line": 8, + "column": 8 } } }, { "type": { - "label": "=", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 728, - "end": 729, + "start": 237, + "end": 238, "loc": { "start": { - "line": 42, - "column": 43 + "line": 8, + "column": 8 }, "end": { - "line": 42, - "column": 44 + "line": 8, + "column": 9 } } }, @@ -5956,16 +2440,16 @@ "binop": null }, "value": "API_DOMAIN", - "start": 730, - "end": 740, + "start": 239, + "end": 249, "loc": { "start": { - "line": 42, - "column": 45 + "line": 8, + "column": 10 }, "end": { - "line": 42, - "column": 55 + "line": 8, + "column": 20 } } }, @@ -5983,16 +2467,16 @@ "updateContext": null }, "value": "+", - "start": 741, - "end": 742, + "start": 250, + "end": 251, "loc": { "start": { - "line": 42, - "column": 56 + "line": 8, + "column": 21 }, "end": { - "line": 42, - "column": 57 + "line": 8, + "column": 22 } } }, @@ -6009,69 +2493,24 @@ "binop": null, "updateContext": null }, - "value": "featured-playlist-categories/", - "start": 743, - "end": 774, - "loc": { - "start": { - "line": 42, - "column": 58 - }, - "end": { - "line": 42, - "column": 89 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 776, - "end": 794, - "loc": { - "start": { - "line": 44, - "column": 0 - }, - "end": { - "line": 46, - "column": 3 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 795, - "end": 801, + "value": "albums", + "start": 252, + "end": 260, "loc": { "start": { - "line": 47, - "column": 0 + "line": 8, + "column": 23 }, "end": { - "line": 47, - "column": 6 + "line": 8, + "column": 31 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -6081,17 +2520,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 802, - "end": 807, + "start": 260, + "end": 261, "loc": { "start": { - "line": 47, - "column": 7 + "line": 8, + "column": 31 }, "end": { - "line": 47, - "column": 12 + "line": 8, + "column": 32 } } }, @@ -6107,44 +2545,43 @@ "postfix": false, "binop": null }, - "value": "NEW_RELEASE_CATEGORIES", - "start": 808, - "end": 830, + "value": "SHARED_PLAYLISTS", + "start": 264, + "end": 280, "loc": { "start": { - "line": 47, - "column": 13 + "line": 9, + "column": 2 }, "end": { - "line": 47, - "column": 35 + "line": 9, + "column": 18 } } }, { "type": { - "label": "=", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 831, - "end": 832, + "start": 280, + "end": 281, "loc": { "start": { - "line": 47, - "column": 36 + "line": 9, + "column": 18 }, "end": { - "line": 47, - "column": 37 + "line": 9, + "column": 19 } } }, @@ -6161,16 +2598,16 @@ "binop": null }, "value": "API_DOMAIN", - "start": 833, - "end": 843, + "start": 282, + "end": 292, "loc": { "start": { - "line": 47, - "column": 38 + "line": 9, + "column": 20 }, "end": { - "line": 47, - "column": 48 + "line": 9, + "column": 30 } } }, @@ -6188,16 +2625,16 @@ "updateContext": null }, "value": "+", - "start": 844, - "end": 845, + "start": 293, + "end": 294, "loc": { "start": { - "line": 47, - "column": 49 + "line": 9, + "column": 31 }, "end": { - "line": 47, - "column": 50 + "line": 9, + "column": 32 } } }, @@ -6214,69 +2651,24 @@ "binop": null, "updateContext": null }, - "value": "new-release-categories/", - "start": 846, - "end": 871, - "loc": { - "start": { - "line": 47, - "column": 51 - }, - "end": { - "line": 47, - "column": 76 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 873, - "end": 891, - "loc": { - "start": { - "line": 49, - "column": 0 - }, - "end": { - "line": 51, - "column": 3 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 892, - "end": 898, + "value": "shared-playlists", + "start": 295, + "end": 313, "loc": { "start": { - "line": 52, - "column": 0 + "line": 9, + "column": 33 }, "end": { - "line": 52, - "column": 6 + "line": 9, + "column": 51 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -6286,17 +2678,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 899, - "end": 904, + "start": 313, + "end": 314, "loc": { "start": { - "line": 52, - "column": 7 + "line": 9, + "column": 51 }, "end": { - "line": 52, - "column": 12 + "line": 9, + "column": 52 } } }, @@ -6312,44 +2703,43 @@ "postfix": false, "binop": null }, - "value": "NEW_HITS_PLAYLISTS", - "start": 905, - "end": 923, + "value": "MOOD_STATIONS", + "start": 317, + "end": 330, "loc": { "start": { - "line": 52, - "column": 13 + "line": 10, + "column": 2 }, "end": { - "line": 52, - "column": 31 + "line": 10, + "column": 15 } } }, { "type": { - "label": "=", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 924, - "end": 925, + "start": 330, + "end": 331, "loc": { "start": { - "line": 52, - "column": 32 + "line": 10, + "column": 15 }, "end": { - "line": 52, - "column": 33 + "line": 10, + "column": 16 } } }, @@ -6366,16 +2756,16 @@ "binop": null }, "value": "API_DOMAIN", - "start": 926, - "end": 936, + "start": 332, + "end": 342, "loc": { "start": { - "line": 52, - "column": 34 + "line": 10, + "column": 17 }, "end": { - "line": 52, - "column": 44 + "line": 10, + "column": 27 } } }, @@ -6393,16 +2783,16 @@ "updateContext": null }, "value": "+", - "start": 937, - "end": 938, + "start": 343, + "end": 344, "loc": { "start": { - "line": 52, - "column": 45 + "line": 10, + "column": 28 }, "end": { - "line": 52, - "column": 46 + "line": 10, + "column": 29 } } }, @@ -6419,69 +2809,24 @@ "binop": null, "updateContext": null }, - "value": "new-hits-playlists/", - "start": 939, - "end": 960, - "loc": { - "start": { - "line": 52, - "column": 47 - }, - "end": { - "line": 52, - "column": 68 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 962, - "end": 980, - "loc": { - "start": { - "line": 54, - "column": 0 - }, - "end": { - "line": 56, - "column": 3 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 981, - "end": 987, + "value": "mood-stations", + "start": 345, + "end": 360, "loc": { "start": { - "line": 57, - "column": 0 + "line": 10, + "column": 30 }, "end": { - "line": 57, - "column": 6 + "line": 10, + "column": 45 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -6491,17 +2836,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 988, - "end": 993, + "start": 360, + "end": 361, "loc": { "start": { - "line": 57, - "column": 7 + "line": 10, + "column": 45 }, "end": { - "line": 57, - "column": 12 + "line": 10, + "column": 46 } } }, @@ -6517,44 +2861,43 @@ "postfix": false, "binop": null }, - "value": "GENRE_STATIONS", - "start": 994, - "end": 1008, + "value": "FEATURED_PLAYLISTS", + "start": 364, + "end": 382, "loc": { "start": { - "line": 57, - "column": 13 + "line": 11, + "column": 2 }, "end": { - "line": 57, - "column": 27 + "line": 11, + "column": 20 } } }, { "type": { - "label": "=", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1009, - "end": 1010, + "start": 382, + "end": 383, "loc": { "start": { - "line": 57, - "column": 28 + "line": 11, + "column": 20 }, "end": { - "line": 57, - "column": 29 + "line": 11, + "column": 21 } } }, @@ -6571,16 +2914,16 @@ "binop": null }, "value": "API_DOMAIN", - "start": 1011, - "end": 1021, + "start": 384, + "end": 394, "loc": { "start": { - "line": 57, - "column": 30 + "line": 11, + "column": 22 }, "end": { - "line": 57, - "column": 40 + "line": 11, + "column": 32 } } }, @@ -6598,16 +2941,16 @@ "updateContext": null }, "value": "+", - "start": 1022, - "end": 1023, + "start": 395, + "end": 396, "loc": { "start": { - "line": 57, - "column": 41 + "line": 11, + "column": 33 }, "end": { - "line": 57, - "column": 42 + "line": 11, + "column": 34 } } }, @@ -6624,69 +2967,24 @@ "binop": null, "updateContext": null }, - "value": "genre-stations/", - "start": 1024, - "end": 1041, - "loc": { - "start": { - "line": 57, - "column": 43 - }, - "end": { - "line": 57, - "column": 60 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 1043, - "end": 1061, - "loc": { - "start": { - "line": 59, - "column": 0 - }, - "end": { - "line": 61, - "column": 3 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 1062, - "end": 1068, + "value": "featured-playlists", + "start": 397, + "end": 417, "loc": { "start": { - "line": 62, - "column": 0 + "line": 11, + "column": 35 }, "end": { - "line": 62, - "column": 6 + "line": 11, + "column": 55 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -6696,17 +2994,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 1069, - "end": 1074, + "start": 417, + "end": 418, "loc": { "start": { - "line": 62, - "column": 7 + "line": 11, + "column": 55 }, "end": { - "line": 62, - "column": 12 + "line": 11, + "column": 56 } } }, @@ -6722,44 +3019,43 @@ "postfix": false, "binop": null }, - "value": "CHARTS", - "start": 1075, - "end": 1081, + "value": "FEATURED_PLAYLISTS_CATEGORIES", + "start": 421, + "end": 450, "loc": { "start": { - "line": 62, - "column": 13 + "line": 12, + "column": 2 }, "end": { - "line": 62, - "column": 19 + "line": 12, + "column": 31 } } }, { "type": { - "label": "=", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1082, - "end": 1083, + "start": 450, + "end": 451, "loc": { "start": { - "line": 62, - "column": 20 + "line": 12, + "column": 31 }, "end": { - "line": 62, - "column": 21 + "line": 12, + "column": 32 } } }, @@ -6776,16 +3072,16 @@ "binop": null }, "value": "API_DOMAIN", - "start": 1084, - "end": 1094, + "start": 452, + "end": 462, "loc": { "start": { - "line": 62, - "column": 22 + "line": 12, + "column": 33 }, "end": { - "line": 62, - "column": 32 + "line": 12, + "column": 43 } } }, @@ -6803,16 +3099,16 @@ "updateContext": null }, "value": "+", - "start": 1095, - "end": 1096, + "start": 463, + "end": 464, "loc": { "start": { - "line": 62, - "column": 33 + "line": 12, + "column": 44 }, "end": { - "line": 62, - "column": 34 + "line": 12, + "column": 45 } } }, @@ -6829,69 +3125,24 @@ "binop": null, "updateContext": null }, - "value": "charts/", - "start": 1097, - "end": 1106, - "loc": { - "start": { - "line": 62, - "column": 35 - }, - "end": { - "line": 62, - "column": 44 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 1108, - "end": 1126, - "loc": { - "start": { - "line": 64, - "column": 0 - }, - "end": { - "line": 66, - "column": 3 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 1127, - "end": 1133, + "value": "featured-playlist-categories", + "start": 465, + "end": 495, "loc": { "start": { - "line": 67, - "column": 0 + "line": 12, + "column": 46 }, "end": { - "line": 67, - "column": 6 + "line": 12, + "column": 76 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -6901,17 +3152,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 1134, - "end": 1139, + "start": 495, + "end": 496, "loc": { "start": { - "line": 67, - "column": 7 + "line": 12, + "column": 76 }, "end": { - "line": 67, - "column": 12 + "line": 12, + "column": 77 } } }, @@ -6927,69 +3177,43 @@ "postfix": false, "binop": null }, - "value": "SEARCH_TYPES", - "start": 1140, - "end": 1152, + "value": "NEW_RELEASE_CATEGORIES", + "start": 499, + "end": 521, "loc": { "start": { - "line": 67, - "column": 13 + "line": 13, + "column": 2 }, "end": { - "line": 67, - "column": 25 + "line": 13, + "column": 24 } } }, { "type": { - "label": "=", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1153, - "end": 1154, - "loc": { - "start": { - "line": 67, - "column": 26 - }, - "end": { - "line": 67, - "column": 27 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1155, - "end": 1156, + "start": 521, + "end": 522, "loc": { "start": { - "line": 67, - "column": 28 + "line": 13, + "column": 24 }, "end": { - "line": 67, - "column": 29 + "line": 13, + "column": 25 } } }, @@ -7005,43 +3229,44 @@ "postfix": false, "binop": null }, - "value": "ARTIST", - "start": 1161, - "end": 1167, + "value": "API_DOMAIN", + "start": 523, + "end": 533, "loc": { "start": { - "line": 68, - "column": 4 + "line": 13, + "column": 26 }, "end": { - "line": 68, - "column": 10 + "line": 13, + "column": 36 } } }, { "type": { - "label": ":", + "label": "+/-", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "start": 1167, - "end": 1168, + "value": "+", + "start": 534, + "end": 535, "loc": { "start": { - "line": 68, - "column": 10 + "line": 13, + "column": 37 }, "end": { - "line": 68, - "column": 11 + "line": 13, + "column": 38 } } }, @@ -7058,17 +3283,17 @@ "binop": null, "updateContext": null }, - "value": "artist", - "start": 1169, - "end": 1177, + "value": "new-release-categories", + "start": 536, + "end": 560, "loc": { "start": { - "line": 68, - "column": 12 + "line": 13, + "column": 39 }, "end": { - "line": 68, - "column": 20 + "line": 13, + "column": 63 } } }, @@ -7085,16 +3310,16 @@ "binop": null, "updateContext": null }, - "start": 1177, - "end": 1178, + "start": 560, + "end": 561, "loc": { "start": { - "line": 68, - "column": 20 + "line": 13, + "column": 63 }, "end": { - "line": 68, - "column": 21 + "line": 13, + "column": 64 } } }, @@ -7110,17 +3335,17 @@ "postfix": false, "binop": null }, - "value": "ALBUM", - "start": 1183, - "end": 1188, + "value": "NEW_HITS_PLAYLISTS", + "start": 564, + "end": 582, "loc": { "start": { - "line": 69, - "column": 4 + "line": 14, + "column": 2 }, "end": { - "line": 69, - "column": 9 + "line": 14, + "column": 20 } } }, @@ -7137,22 +3362,22 @@ "binop": null, "updateContext": null }, - "start": 1188, - "end": 1189, + "start": 582, + "end": 583, "loc": { "start": { - "line": 69, - "column": 9 + "line": 14, + "column": 20 }, "end": { - "line": 69, - "column": 10 + "line": 14, + "column": 21 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -7160,52 +3385,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "album", - "start": 1190, - "end": 1197, + "value": "API_DOMAIN", + "start": 584, + "end": 594, "loc": { "start": { - "line": 69, - "column": 11 + "line": 14, + "column": 22 }, "end": { - "line": 69, - "column": 18 + "line": 14, + "column": 32 } } }, { "type": { - "label": ",", + "label": "+/-", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "start": 1197, - "end": 1198, + "value": "+", + "start": 595, + "end": 596, "loc": { "start": { - "line": 69, - "column": 18 + "line": 14, + "column": 33 }, "end": { - "line": 69, - "column": 19 + "line": 14, + "column": 34 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -7213,25 +3438,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "TRACK", - "start": 1203, - "end": 1208, + "value": "new-hits-playlists", + "start": 597, + "end": 617, "loc": { "start": { - "line": 70, - "column": 4 + "line": 14, + "column": 35 }, "end": { - "line": 70, - "column": 9 + "line": 14, + "column": 55 } } }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -7242,22 +3468,22 @@ "binop": null, "updateContext": null }, - "start": 1208, - "end": 1209, + "start": 617, + "end": 618, "loc": { "start": { - "line": 70, - "column": 9 + "line": 14, + "column": 55 }, "end": { - "line": 70, - "column": 10 + "line": 14, + "column": 56 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -7265,26 +3491,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "track", - "start": 1210, - "end": 1217, + "value": "GENRE_STATIONS", + "start": 621, + "end": 635, "loc": { "start": { - "line": 70, - "column": 11 + "line": 15, + "column": 2 }, "end": { - "line": 70, - "column": 18 + "line": 15, + "column": 16 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -7295,16 +3520,16 @@ "binop": null, "updateContext": null }, - "start": 1217, - "end": 1218, + "start": 635, + "end": 636, "loc": { "start": { - "line": 70, - "column": 18 + "line": 15, + "column": 16 }, "end": { - "line": 70, - "column": 19 + "line": 15, + "column": 17 } } }, @@ -7320,43 +3545,44 @@ "postfix": false, "binop": null }, - "value": "PLAY_LIST", - "start": 1223, - "end": 1232, + "value": "API_DOMAIN", + "start": 637, + "end": 647, "loc": { "start": { - "line": 71, - "column": 4 + "line": 15, + "column": 18 }, "end": { - "line": 71, - "column": 13 + "line": 15, + "column": 28 } } }, { "type": { - "label": ":", + "label": "+/-", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "start": 1232, - "end": 1233, + "value": "+", + "start": 648, + "end": 649, "loc": { "start": { - "line": 71, - "column": 13 + "line": 15, + "column": 29 }, "end": { - "line": 71, - "column": 14 + "line": 15, + "column": 30 } } }, @@ -7373,50 +3599,24 @@ "binop": null, "updateContext": null }, - "value": "playlist", - "start": 1234, - "end": 1244, - "loc": { - "start": { - "line": 71, - "column": 15 - }, - "end": { - "line": 71, - "column": 25 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1245, - "end": 1246, + "value": "genre-stations", + "start": 650, + "end": 666, "loc": { "start": { - "line": 72, - "column": 0 + "line": 15, + "column": 31 }, "end": { - "line": 72, - "column": 1 + "line": 15, + "column": 47 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -7426,17 +3626,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 1248, - "end": 1253, + "start": 666, + "end": 667, "loc": { "start": { - "line": 74, - "column": 0 + "line": 15, + "column": 47 }, "end": { - "line": 74, - "column": 5 + "line": 15, + "column": 48 } } }, @@ -7452,50 +3651,49 @@ "postfix": false, "binop": null }, - "value": "OAuth_DOMAIN", - "start": 1254, - "end": 1266, + "value": "CHARTS", + "start": 670, + "end": 676, "loc": { "start": { - "line": 74, - "column": 6 + "line": 16, + "column": 2 }, "end": { - "line": 74, - "column": 18 + "line": 16, + "column": 8 } } }, { "type": { - "label": "=", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1267, - "end": 1268, + "start": 676, + "end": 677, "loc": { "start": { - "line": 74, - "column": 19 + "line": 16, + "column": 8 }, "end": { - "line": 74, - "column": 20 + "line": 16, + "column": 9 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -7503,45 +3701,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "https://account.kkbox.com/oauth2/", - "start": 1269, - "end": 1304, + "value": "API_DOMAIN", + "start": 678, + "end": 688, "loc": { "start": { - "line": 74, - "column": 21 + "line": 16, + "column": 10 }, "end": { - "line": 74, - "column": 56 + "line": 16, + "column": 20 } } }, { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 1306, - "end": 1324, + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 689, + "end": 690, "loc": { "start": { - "line": 76, - "column": 0 + "line": 16, + "column": 21 }, "end": { - "line": 78, - "column": 3 + "line": 16, + "column": 22 } } }, { "type": { - "label": "export", - "keyword": "export", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7550,25 +3757,24 @@ "binop": null, "updateContext": null }, - "value": "export", - "start": 1325, - "end": 1331, + "value": "charts", + "start": 691, + "end": 699, "loc": { "start": { - "line": 79, - "column": 0 + "line": 16, + "column": 23 }, "end": { - "line": 79, - "column": 6 + "line": 16, + "column": 31 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -7578,17 +3784,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 1332, - "end": 1337, + "start": 699, + "end": 700, "loc": { "start": { - "line": 79, - "column": 7 + "line": 16, + "column": 31 }, "end": { - "line": 79, - "column": 12 + "line": 16, + "column": 32 } } }, @@ -7605,43 +3810,42 @@ "binop": null }, "value": "Token", - "start": 1338, - "end": 1343, + "start": 703, + "end": 708, "loc": { "start": { - "line": 79, - "column": 13 + "line": 17, + "column": 2 }, "end": { - "line": 79, - "column": 18 + "line": 17, + "column": 7 } } }, { "type": { - "label": "=", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1344, - "end": 1345, + "start": 708, + "end": 709, "loc": { "start": { - "line": 79, - "column": 19 + "line": 17, + "column": 7 }, "end": { - "line": 79, - "column": 20 + "line": 17, + "column": 8 } } }, @@ -7657,17 +3861,17 @@ "postfix": false, "binop": null }, - "value": "OAuth_DOMAIN", - "start": 1346, - "end": 1358, + "value": "OAUTH_DOMAIN", + "start": 710, + "end": 722, "loc": { "start": { - "line": 79, - "column": 21 + "line": 17, + "column": 9 }, "end": { - "line": 79, - "column": 33 + "line": 17, + "column": 21 } } }, @@ -7685,16 +3889,16 @@ "updateContext": null }, "value": "+", - "start": 1359, - "end": 1360, + "start": 723, + "end": 724, "loc": { "start": { - "line": 79, - "column": 34 + "line": 17, + "column": 22 }, "end": { - "line": 79, - "column": 35 + "line": 17, + "column": 23 } } }, @@ -7712,68 +3916,75 @@ "updateContext": null }, "value": "token/", - "start": 1361, - "end": 1369, + "start": 725, + "end": 733, "loc": { "start": { - "line": 79, - "column": 36 + "line": 17, + "column": 24 }, "end": { - "line": 79, - "column": 44 + "line": 17, + "column": 32 } } }, { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 1371, - "end": 1389, + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 733, + "end": 734, "loc": { "start": { - "line": 81, - "column": 0 + "line": 17, + "column": 32 }, "end": { - "line": 83, - "column": 3 + "line": 17, + "column": 33 } } }, { "type": { - "label": "export", - "keyword": "export", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "export", - "start": 1390, - "end": 1396, + "value": "Authorization", + "start": 737, + "end": 750, "loc": { "start": { - "line": 84, - "column": 0 + "line": 18, + "column": 2 }, "end": { - "line": 84, - "column": 6 + "line": 18, + "column": 15 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -7783,17 +3994,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 1397, - "end": 1402, + "start": 750, + "end": 751, "loc": { "start": { - "line": 84, - "column": 7 + "line": 18, + "column": 15 }, "end": { - "line": 84, - "column": 12 + "line": 18, + "column": 16 } } }, @@ -7809,50 +4019,50 @@ "postfix": false, "binop": null }, - "value": "Authorization", - "start": 1403, - "end": 1416, + "value": "OAUTH_DOMAIN", + "start": 752, + "end": 764, "loc": { "start": { - "line": 84, - "column": 13 + "line": 18, + "column": 17 }, "end": { - "line": 84, - "column": 26 + "line": 18, + "column": 29 } } }, { "type": { - "label": "=", + "label": "+/-", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, - "prefix": false, + "isAssign": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "value": "=", - "start": 1417, - "end": 1418, + "value": "+", + "start": 765, + "end": 766, "loc": { "start": { - "line": 84, - "column": 27 + "line": 18, + "column": 30 }, "end": { - "line": 84, - "column": 28 + "line": 18, + "column": 31 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -7860,54 +4070,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "OAuth_DOMAIN", - "start": 1419, - "end": 1431, + "value": "authorize/", + "start": 767, + "end": 779, "loc": { "start": { - "line": 84, - "column": 29 + "line": 18, + "column": 32 }, "end": { - "line": 84, - "column": 41 + "line": 18, + "column": 44 } } }, { "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, - "updateContext": null + "binop": null }, - "value": "+", - "start": 1432, - "end": 1433, + "start": 780, + "end": 781, "loc": { "start": { - "line": 84, - "column": 42 + "line": 19, + "column": 0 }, "end": { - "line": 84, - "column": 43 + "line": 19, + "column": 1 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7916,17 +4125,16 @@ "binop": null, "updateContext": null }, - "value": "authorize/", - "start": 1434, - "end": 1446, + "start": 781, + "end": 782, "loc": { "start": { - "line": 84, - "column": 44 + "line": 19, + "column": 1 }, "end": { - "line": 84, - "column": 56 + "line": 19, + "column": 2 } } }, @@ -7943,16 +4151,16 @@ "binop": null, "updateContext": null }, - "start": 1446, - "end": 1446, + "start": 783, + "end": 783, "loc": { "start": { - "line": 84, - "column": 56 + "line": 20, + "column": 0 }, "end": { - "line": 84, - "column": 56 + "line": 20, + "column": 0 } } } diff --git a/docs/ast/source/api/AlbumFetcher.js.json b/docs/ast/source/api/AlbumFetcher.js.json index 7b7e82c..0c6b2c1 100644 --- a/docs/ast/source/api/AlbumFetcher.js.json +++ b/docs/ast/source/api/AlbumFetcher.js.json @@ -1,29 +1,29 @@ { "type": "File", "start": 0, - "end": 2105, + "end": 1877, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 69, - "column": 1 + "line": 72, + "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 2105, + "end": 1877, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 69, - "column": 1 + "line": 72, + "column": 0 } }, "sourceType": "module", @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 46, + "end": 49, "loc": { "start": { "line": 1, @@ -39,36 +39,36 @@ }, "end": { "line": 1, - "column": 46 + "column": 49 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 8, - "end": 26, + "start": 9, + "end": 27, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 26 + "column": 27 } }, "imported": { "type": "Identifier", - "start": 8, - "end": 14, + "start": 9, + "end": 15, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 14 + "column": 15 }, "identifierName": "ALBUMS" }, @@ -76,16 +76,16 @@ }, "local": { "type": "Identifier", - "start": 18, - "end": 26, + "start": 19, + "end": 27, "loc": { "start": { "line": 1, - "column": 18 + "column": 19 }, "end": { "line": 1, - "column": 26 + "column": 27 }, "identifierName": "ENDPOINT" }, @@ -95,16 +95,16 @@ ], "source": { "type": "StringLiteral", - "start": 33, - "end": 46, + "start": 35, + "end": 48, "loc": { "start": { "line": 1, - "column": 33 + "column": 35 }, "end": { "line": 1, - "column": 46 + "column": 48 } }, "extra": { @@ -116,8 +116,8 @@ }, { "type": "ImportDeclaration", - "start": 47, - "end": 78, + "start": 50, + "end": 82, "loc": { "start": { "line": 2, @@ -125,14 +125,14 @@ }, "end": { "line": 2, - "column": 31 + "column": 32 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 54, - "end": 61, + "start": 57, + "end": 64, "loc": { "start": { "line": 2, @@ -145,8 +145,8 @@ }, "local": { "type": "Identifier", - "start": 54, - "end": 61, + "start": 57, + "end": 64, "loc": { "start": { "line": 2, @@ -164,8 +164,8 @@ ], "source": { "type": "StringLiteral", - "start": 67, - "end": 78, + "start": 70, + "end": 81, "loc": { "start": { "line": 2, @@ -180,16 +180,14 @@ "rawValue": "./Fetcher", "raw": "'./Fetcher'" }, - "value": "./Fetcher", - "leadingComments": null, - "trailingComments": null + "value": "./Fetcher" }, "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch metadata and tracks of a album.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums\n ", - "start": 80, - "end": 196, + "value": "*\n * Fetch metadata and tracks of a album.\n * @see https://docs-en.kkbox.codes/v1.1/reference#albums\n ", + "start": 84, + "end": 190, "loc": { "start": { "line": 4, @@ -205,36 +203,36 @@ }, { "type": "ExportDefaultDeclaration", - "start": 197, - "end": 2105, + "start": 191, + "end": 1876, "loc": { "start": { "line": 8, "column": 0 }, "end": { - "line": 69, + "line": 71, "column": 1 } }, "declaration": { "type": "ClassDeclaration", - "start": 212, - "end": 2105, + "start": 206, + "end": 1876, "loc": { "start": { "line": 8, "column": 15 }, "end": { - "line": 69, + "line": 71, "column": 1 } }, "id": { "type": "Identifier", - "start": 218, - "end": 230, + "start": 212, + "end": 224, "loc": { "start": { "line": 8, @@ -251,8 +249,8 @@ }, "superClass": { "type": "Identifier", - "start": 239, - "end": 246, + "start": 233, + "end": 240, "loc": { "start": { "line": 8, @@ -268,53 +266,53 @@ }, "body": { "type": "ClassBody", - "start": 247, - "end": 2105, + "start": 241, + "end": 1876, "loc": { "start": { "line": 8, "column": 50 }, "end": { - "line": 69, + "line": 71, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 288, - "end": 440, + "start": 270, + "end": 401, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 19, - "column": 5 + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 288, - "end": 299, + "start": 270, + "end": 281, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 12, - "column": 15 + "column": 13 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, - "static": false, "kind": "constructor", "id": null, "generator": false, @@ -323,16 +321,16 @@ "params": [ { "type": "Identifier", - "start": 300, - "end": 304, + "start": 282, + "end": 286, "loc": { "start": { "line": 12, - "column": 16 + "column": 14 }, "end": { "line": 12, - "column": 20 + "column": 18 }, "identifierName": "http" }, @@ -340,30 +338,30 @@ }, { "type": "AssignmentPattern", - "start": 306, - "end": 322, + "start": 288, + "end": 304, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 38 + "column": 36 } }, "left": { "type": "Identifier", - "start": 306, - "end": 315, + "start": 288, + "end": 297, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 31 + "column": 29 }, "identifierName": "territory" }, @@ -371,16 +369,16 @@ }, "right": { "type": "StringLiteral", - "start": 318, - "end": 322, + "start": 300, + "end": 304, "loc": { "start": { "line": 12, - "column": 34 + "column": 32 }, "end": { "line": 12, - "column": 38 + "column": 36 } }, "extra": { @@ -393,75 +391,75 @@ ], "body": { "type": "BlockStatement", - "start": 324, - "end": 440, + "start": 306, + "end": 401, "loc": { "start": { "line": 12, - "column": 40 + "column": 38 }, "end": { "line": 19, - "column": 5 + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 334, - "end": 356, + "start": 312, + "end": 335, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 30 + "column": 27 } }, "expression": { "type": "CallExpression", - "start": 334, - "end": 356, + "start": 312, + "end": 334, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 30 + "column": 26 } }, "callee": { "type": "Super", - "start": 334, - "end": 339, + "start": 312, + "end": 317, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 13 + "column": 9 } } }, "arguments": [ { "type": "Identifier", - "start": 340, - "end": 344, + "start": 318, + "end": 322, "loc": { "start": { "line": 13, - "column": 14 + "column": 10 }, "end": { "line": 13, - "column": 18 + "column": 14 }, "identifierName": "http" }, @@ -469,38 +467,37 @@ }, { "type": "Identifier", - "start": 346, - "end": 355, + "start": 324, + "end": 333, "loc": { "start": { "line": 13, - "column": 20 + "column": 16 }, "end": { "line": 13, - "column": 29 + "column": 25 }, "identifierName": "territory" }, "name": "territory" } - ], - "trailingComments": null + ] }, "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 366, - "end": 400, + "value": "*\n * @ignore\n ", + "start": 341, + "end": 367, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } } @@ -508,95 +505,95 @@ }, { "type": "ExpressionStatement", - "start": 409, - "end": 434, + "start": 372, + "end": 397, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 33 + "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 409, - "end": 434, + "start": 372, + "end": 396, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 33 + "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 409, - "end": 422, + "start": 372, + "end": 384, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 21 + "column": 16 } }, "object": { "type": "ThisExpression", - "start": 409, - "end": 413, + "start": 372, + "end": 376, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 12 + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 414, - "end": 422, + "start": 377, + "end": 384, "loc": { "start": { "line": 18, - "column": 13 + "column": 9 }, "end": { "line": 18, - "column": 21 + "column": 16 }, - "identifierName": "album_id" + "identifierName": "albumID" }, - "name": "album_id" + "name": "albumID" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", - "start": 425, - "end": 434, + "start": 387, + "end": 396, "loc": { "start": { "line": 18, - "column": 24 + "column": 19 }, "end": { "line": 18, - "column": 33 + "column": 28 }, "identifierName": "undefined" }, @@ -607,17 +604,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 366, - "end": 400, + "value": "*\n * @ignore\n ", + "start": 341, + "end": 367, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } } @@ -630,17 +627,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 257, - "end": 283, + "value": "*\n * @ignore\n ", + "start": 245, + "end": 267, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } } @@ -648,17 +645,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Set the album fetcher.\n *\n * @param {string} album_id - The ID of an album.\n * @return {AlbumFetcher}\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums/endpoints/get-albums-album_id\n ", - "start": 446, - "end": 680, + "value": "*\n * Set the album fetcher.\n *\n * @param {string} albumID - The ID of an album.\n * @return {AlbumFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#albums-album_id\n ", + "start": 405, + "end": 595, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 27, - "column": 7 + "column": 5 } } } @@ -666,38 +663,38 @@ }, { "type": "ClassMethod", - "start": 685, - "end": 774, + "start": 598, + "end": 668, "loc": { "start": { "line": 28, - "column": 4 + "column": 2 }, "end": { "line": 31, - "column": 5 + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 685, - "end": 695, + "start": 598, + "end": 608, "loc": { "start": { "line": 28, - "column": 4 + "column": 2 }, "end": { "line": 28, - "column": 14 + "column": 12 }, "identifierName": "setAlbumID" }, "name": "setAlbumID", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -706,159 +703,159 @@ "params": [ { "type": "Identifier", - "start": 696, - "end": 704, + "start": 609, + "end": 616, "loc": { "start": { "line": 28, - "column": 15 + "column": 13 }, "end": { "line": 28, - "column": 23 + "column": 20 }, - "identifierName": "album_id" + "identifierName": "albumID" }, - "name": "album_id" + "name": "albumID" } ], "body": { "type": "BlockStatement", - "start": 706, - "end": 774, + "start": 618, + "end": 668, "loc": { "start": { "line": 28, - "column": 25 + "column": 22 }, "end": { "line": 31, - "column": 5 + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 716, - "end": 740, + "start": 624, + "end": 647, "loc": { "start": { "line": 29, - "column": 8 + "column": 4 }, "end": { "line": 29, - "column": 32 + "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 716, - "end": 740, + "start": 624, + "end": 646, "loc": { "start": { "line": 29, - "column": 8 + "column": 4 }, "end": { "line": 29, - "column": 32 + "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 716, - "end": 729, + "start": 624, + "end": 636, "loc": { "start": { "line": 29, - "column": 8 + "column": 4 }, "end": { "line": 29, - "column": 21 + "column": 16 } }, "object": { "type": "ThisExpression", - "start": 716, - "end": 720, + "start": 624, + "end": 628, "loc": { "start": { "line": 29, - "column": 8 + "column": 4 }, "end": { "line": 29, - "column": 12 + "column": 8 } } }, "property": { "type": "Identifier", - "start": 721, - "end": 729, + "start": 629, + "end": 636, "loc": { "start": { "line": 29, - "column": 13 + "column": 9 }, "end": { "line": 29, - "column": 21 + "column": 16 }, - "identifierName": "album_id" + "identifierName": "albumID" }, - "name": "album_id" + "name": "albumID" }, "computed": false }, "right": { "type": "Identifier", - "start": 732, - "end": 740, + "start": 639, + "end": 646, "loc": { "start": { "line": 29, - "column": 24 + "column": 19 }, "end": { "line": 29, - "column": 32 + "column": 26 }, - "identifierName": "album_id" + "identifierName": "albumID" }, - "name": "album_id" + "name": "albumID" } } }, { "type": "ReturnStatement", - "start": 757, - "end": 768, + "start": 652, + "end": 664, "loc": { "start": { "line": 30, - "column": 8 + "column": 4 }, "end": { "line": 30, - "column": 19 + "column": 16 } }, "argument": { "type": "ThisExpression", - "start": 764, - "end": 768, + "start": 659, + "end": 663, "loc": { "start": { "line": 30, - "column": 15 + "column": 11 }, "end": { "line": 30, - "column": 19 + "column": 15 } } } @@ -870,17 +867,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Set the album fetcher.\n *\n * @param {string} album_id - The ID of an album.\n * @return {AlbumFetcher}\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums/endpoints/get-albums-album_id\n ", - "start": 446, - "end": 680, + "value": "*\n * Set the album fetcher.\n *\n * @param {string} albumID - The ID of an album.\n * @return {AlbumFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#albums-album_id\n ", + "start": 405, + "end": 595, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 27, - "column": 7 + "column": 5 } } } @@ -888,17 +885,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetcy metadata of the album you create.\n *\n * @return {Promise}\n * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums/endpoints/get-albums-album_id\n ", - "start": 780, - "end": 1054, + "value": "*\n * Fetch metadata of the album you create.\n *\n * @return {Promise}\n * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#albums-album_id\n ", + "start": 672, + "end": 904, "loc": { "start": { "line": 33, - "column": 4 + "column": 2 }, "end": { "line": 39, - "column": 7 + "column": 5 } } } @@ -906,38 +903,38 @@ }, { "type": "ClassMethod", - "start": 1059, - "end": 1166, + "start": 907, + "end": 1026, "loc": { "start": { "line": 40, - "column": 4 + "column": 2 }, "end": { - "line": 42, - "column": 5 + "line": 44, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 1059, - "end": 1072, + "start": 907, + "end": 920, "loc": { "start": { "line": 40, - "column": 4 + "column": 2 }, "end": { "line": 40, - "column": 17 + "column": 15 }, "identifierName": "fetchMetadata" }, "name": "fetchMetadata", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -946,102 +943,102 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1075, - "end": 1166, + "start": 923, + "end": 1026, "loc": { "start": { "line": 40, - "column": 20 + "column": 18 }, "end": { - "line": 42, - "column": 5 + "line": 44, + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 1085, - "end": 1160, + "start": 929, + "end": 1022, "loc": { "start": { "line": 41, - "column": 8 + "column": 4 }, "end": { - "line": 41, - "column": 83 + "line": 43, + "column": 7 } }, "argument": { "type": "CallExpression", - "start": 1092, - "end": 1160, + "start": 936, + "end": 1021, "loc": { "start": { "line": 41, - "column": 15 + "column": 11 }, "end": { - "line": 41, - "column": 83 + "line": 43, + "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 1092, - "end": 1105, + "start": 936, + "end": 949, "loc": { "start": { "line": 41, - "column": 15 + "column": 11 }, "end": { "line": 41, - "column": 28 + "column": 24 } }, "object": { "type": "MemberExpression", - "start": 1092, - "end": 1101, + "start": 936, + "end": 945, "loc": { "start": { "line": 41, - "column": 15 + "column": 11 }, "end": { "line": 41, - "column": 24 + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 1092, - "end": 1096, + "start": 936, + "end": 940, "loc": { "start": { "line": 41, - "column": 15 + "column": 11 }, "end": { "line": 41, - "column": 19 + "column": 15 } } }, "property": { "type": "Identifier", - "start": 1097, - "end": 1101, + "start": 941, + "end": 945, "loc": { "start": { "line": 41, - "column": 20 + "column": 16 }, "end": { "line": 41, - "column": 24 + "column": 20 }, "identifierName": "http" }, @@ -1051,16 +1048,16 @@ }, "property": { "type": "Identifier", - "start": 1102, - "end": 1105, + "start": 946, + "end": 949, "loc": { "start": { "line": 41, - "column": 25 + "column": 21 }, "end": { "line": 41, - "column": 28 + "column": 24 }, "identifierName": "get" }, @@ -1071,112 +1068,148 @@ "arguments": [ { "type": "BinaryExpression", - "start": 1106, - "end": 1130, + "start": 950, + "end": 979, "loc": { "start": { "line": 41, - "column": 29 + "column": 25 }, "end": { "line": 41, - "column": 53 + "column": 54 } }, "left": { - "type": "Identifier", - "start": 1106, - "end": 1114, + "type": "BinaryExpression", + "start": 950, + "end": 964, "loc": { "start": { "line": 41, - "column": 29 + "column": 25 }, "end": { "line": 41, - "column": 37 + "column": 39 + } + }, + "left": { + "type": "Identifier", + "start": 950, + "end": 958, + "loc": { + "start": { + "line": 41, + "column": 25 + }, + "end": { + "line": 41, + "column": 33 + }, + "identifierName": "ENDPOINT" }, - "identifierName": "ENDPOINT" + "name": "ENDPOINT" }, - "name": "ENDPOINT" + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 961, + "end": 964, + "loc": { + "start": { + "line": 41, + "column": 36 + }, + "end": { + "line": 41, + "column": 39 + } + }, + "extra": { + "rawValue": "/", + "raw": "'/'" + }, + "value": "/" + } }, "operator": "+", "right": { "type": "MemberExpression", - "start": 1117, - "end": 1130, + "start": 967, + "end": 979, "loc": { "start": { "line": 41, - "column": 40 + "column": 42 }, "end": { "line": 41, - "column": 53 + "column": 54 } }, "object": { "type": "ThisExpression", - "start": 1117, - "end": 1121, + "start": 967, + "end": 971, "loc": { "start": { "line": 41, - "column": 40 + "column": 42 }, "end": { "line": 41, - "column": 44 + "column": 46 } } }, "property": { "type": "Identifier", - "start": 1122, - "end": 1130, + "start": 972, + "end": 979, "loc": { "start": { "line": 41, - "column": 45 + "column": 47 }, "end": { "line": 41, - "column": 53 + "column": 54 }, - "identifierName": "album_id" + "identifierName": "albumID" }, - "name": "album_id" + "name": "albumID" }, "computed": false } }, { "type": "ObjectExpression", - "start": 1132, - "end": 1159, + "start": 981, + "end": 1020, "loc": { "start": { "line": 41, - "column": 55 + "column": 56 }, "end": { - "line": 41, - "column": 82 + "line": 43, + "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 1133, - "end": 1158, + "start": 989, + "end": 1014, "loc": { "start": { - "line": 41, - "column": 56 + "line": 42, + "column": 6 }, "end": { - "line": 41, - "column": 81 + "line": 42, + "column": 31 } }, "method": false, @@ -1184,16 +1217,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 1133, - "end": 1142, + "start": 989, + "end": 998, "loc": { "start": { - "line": 41, - "column": 56 + "line": 42, + "column": 6 }, "end": { - "line": 41, - "column": 65 + "line": 42, + "column": 15 }, "identifierName": "territory" }, @@ -1201,45 +1234,45 @@ }, "value": { "type": "MemberExpression", - "start": 1144, - "end": 1158, + "start": 1000, + "end": 1014, "loc": { "start": { - "line": 41, - "column": 67 + "line": 42, + "column": 17 }, "end": { - "line": 41, - "column": 81 + "line": 42, + "column": 31 } }, "object": { "type": "ThisExpression", - "start": 1144, - "end": 1148, + "start": 1000, + "end": 1004, "loc": { "start": { - "line": 41, - "column": 67 + "line": 42, + "column": 17 }, "end": { - "line": 41, - "column": 71 + "line": 42, + "column": 21 } } }, "property": { "type": "Identifier", - "start": 1149, - "end": 1158, + "start": 1005, + "end": 1014, "loc": { "start": { - "line": 41, - "column": 72 + "line": 42, + "column": 22 }, "end": { - "line": 41, - "column": 81 + "line": 42, + "column": 31 }, "identifierName": "territory" }, @@ -1260,17 +1293,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetcy metadata of the album you create.\n *\n * @return {Promise}\n * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums/endpoints/get-albums-album_id\n ", - "start": 780, - "end": 1054, + "value": "*\n * Fetch metadata of the album you create.\n *\n * @return {Promise}\n * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#albums-album_id\n ", + "start": 672, + "end": 904, "loc": { "start": { "line": 33, - "column": 4 + "column": 2 }, "end": { "line": 39, - "column": 7 + "column": 5 } } } @@ -1278,17 +1311,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Get KKBOX web widget uri of the album.\n * @example https://widget.kkbox.com/v1/?id=4qtXcj31wYJTRZbb23&type=album\n * @return {string}\n ", - "start": 1172, - "end": 1331, + "value": "*\n * Get KKBOX web widget uri of the album.\n * @example https://widget.kkbox.com/v1/?id=4qtXcj31wYJTRZbb23&type=album\n * @return {string}\n ", + "start": 1030, + "end": 1181, "loc": { "start": { - "line": 44, - "column": 4 + "line": 46, + "column": 2 }, "end": { - "line": 48, - "column": 7 + "line": 50, + "column": 5 } } } @@ -1296,38 +1329,38 @@ }, { "type": "ClassMethod", - "start": 1336, - "end": 1434, + "start": 1184, + "end": 1277, "loc": { "start": { - "line": 49, - "column": 4 + "line": 51, + "column": 2 }, "end": { - "line": 51, - "column": 5 + "line": 53, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 1336, - "end": 1348, + "start": 1184, + "end": 1196, "loc": { "start": { - "line": 49, - "column": 4 + "line": 51, + "column": 2 }, "end": { - "line": 49, - "column": 16 + "line": 51, + "column": 14 }, "identifierName": "getWidgetUri" }, "name": "getWidgetUri", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -1336,93 +1369,93 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1350, - "end": 1434, + "start": 1199, + "end": 1277, "loc": { "start": { - "line": 49, - "column": 18 + "line": 51, + "column": 17 }, "end": { - "line": 51, - "column": 5 + "line": 53, + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 1360, - "end": 1428, + "start": 1205, + "end": 1273, "loc": { "start": { - "line": 50, - "column": 8 + "line": 52, + "column": 4 }, "end": { - "line": 50, - "column": 76 + "line": 52, + "column": 72 } }, "argument": { "type": "TemplateLiteral", - "start": 1367, - "end": 1428, + "start": 1212, + "end": 1272, "loc": { "start": { - "line": 50, - "column": 15 + "line": 52, + "column": 11 }, "end": { - "line": 50, - "column": 76 + "line": 52, + "column": 71 } }, "expressions": [ { "type": "MemberExpression", - "start": 1402, - "end": 1415, + "start": 1247, + "end": 1259, "loc": { "start": { - "line": 50, - "column": 50 + "line": 52, + "column": 46 }, "end": { - "line": 50, - "column": 63 + "line": 52, + "column": 58 } }, "object": { "type": "ThisExpression", - "start": 1402, - "end": 1406, + "start": 1247, + "end": 1251, "loc": { "start": { - "line": 50, - "column": 50 + "line": 52, + "column": 46 }, "end": { - "line": 50, - "column": 54 + "line": 52, + "column": 50 } } }, "property": { "type": "Identifier", - "start": 1407, - "end": 1415, + "start": 1252, + "end": 1259, "loc": { "start": { - "line": 50, - "column": 55 + "line": 52, + "column": 51 }, "end": { - "line": 50, - "column": 63 + "line": 52, + "column": 58 }, - "identifierName": "album_id" + "identifierName": "albumID" }, - "name": "album_id" + "name": "albumID" }, "computed": false } @@ -1430,16 +1463,16 @@ "quasis": [ { "type": "TemplateElement", - "start": 1368, - "end": 1400, + "start": 1213, + "end": 1245, "loc": { "start": { - "line": 50, - "column": 16 + "line": 52, + "column": 12 }, "end": { - "line": 50, - "column": 48 + "line": 52, + "column": 44 } }, "value": { @@ -1450,16 +1483,16 @@ }, { "type": "TemplateElement", - "start": 1416, - "end": 1427, + "start": 1260, + "end": 1271, "loc": { "start": { - "line": 50, - "column": 64 + "line": 52, + "column": 59 }, "end": { - "line": 50, - "column": 75 + "line": 52, + "column": 70 } }, "value": { @@ -1478,17 +1511,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Get KKBOX web widget uri of the album.\n * @example https://widget.kkbox.com/v1/?id=4qtXcj31wYJTRZbb23&type=album\n * @return {string}\n ", - "start": 1172, - "end": 1331, + "value": "*\n * Get KKBOX web widget uri of the album.\n * @example https://widget.kkbox.com/v1/?id=4qtXcj31wYJTRZbb23&type=album\n * @return {string}\n ", + "start": 1030, + "end": 1181, "loc": { "start": { - "line": 44, - "column": 4 + "line": 46, + "column": 2 }, "end": { - "line": 48, - "column": 7 + "line": 50, + "column": 5 } } } @@ -1496,17 +1529,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Get tracks in an album. Result will be return with pagination.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums/endpoints/get-albums-album_id-tracks\n ", - "start": 1440, - "end": 1868, + "value": "*\n * Get tracks in an album. Result will be return with pagination.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks();\n * @see https://docs-en.kkbox.codes/v1.1/reference#albums-album_id-tracks\n ", + "start": 1281, + "end": 1663, "loc": { "start": { - "line": 53, - "column": 4 + "line": 55, + "column": 2 }, "end": { - "line": 61, - "column": 7 + "line": 63, + "column": 5 } } } @@ -1514,38 +1547,38 @@ }, { "type": "ClassMethod", - "start": 1873, - "end": 2103, + "start": 1666, + "end": 1874, "loc": { "start": { - "line": 62, - "column": 4 + "line": 64, + "column": 2 }, "end": { - "line": 68, - "column": 5 + "line": 70, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 1873, - "end": 1884, + "start": 1666, + "end": 1677, "loc": { "start": { - "line": 62, - "column": 4 + "line": 64, + "column": 2 }, "end": { - "line": 62, - "column": 15 + "line": 64, + "column": 13 }, "identifierName": "fetchTracks" }, "name": "fetchTracks", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -1554,30 +1587,30 @@ "params": [ { "type": "AssignmentPattern", - "start": 1885, - "end": 1902, + "start": 1678, + "end": 1695, "loc": { "start": { - "line": 62, - "column": 16 + "line": 64, + "column": 14 }, "end": { - "line": 62, - "column": 33 + "line": 64, + "column": 31 } }, "left": { "type": "Identifier", - "start": 1885, - "end": 1890, + "start": 1678, + "end": 1683, "loc": { "start": { - "line": 62, - "column": 16 + "line": 64, + "column": 14 }, "end": { - "line": 62, - "column": 21 + "line": 64, + "column": 19 }, "identifierName": "limit" }, @@ -1585,16 +1618,16 @@ }, "right": { "type": "Identifier", - "start": 1893, - "end": 1902, + "start": 1686, + "end": 1695, "loc": { "start": { - "line": 62, - "column": 24 + "line": 64, + "column": 22 }, "end": { - "line": 62, - "column": 33 + "line": 64, + "column": 31 }, "identifierName": "undefined" }, @@ -1603,30 +1636,30 @@ }, { "type": "AssignmentPattern", - "start": 1904, - "end": 1922, + "start": 1697, + "end": 1715, "loc": { "start": { - "line": 62, - "column": 35 + "line": 64, + "column": 33 }, "end": { - "line": 62, - "column": 53 + "line": 64, + "column": 51 } }, "left": { "type": "Identifier", - "start": 1904, - "end": 1910, + "start": 1697, + "end": 1703, "loc": { "start": { - "line": 62, - "column": 35 + "line": 64, + "column": 33 }, "end": { - "line": 62, - "column": 41 + "line": 64, + "column": 39 }, "identifierName": "offset" }, @@ -1634,16 +1667,16 @@ }, "right": { "type": "Identifier", - "start": 1913, - "end": 1922, + "start": 1706, + "end": 1715, "loc": { "start": { - "line": 62, - "column": 44 + "line": 64, + "column": 42 }, "end": { - "line": 62, - "column": 53 + "line": 64, + "column": 51 }, "identifierName": "undefined" }, @@ -1653,102 +1686,102 @@ ], "body": { "type": "BlockStatement", - "start": 1924, - "end": 2103, + "start": 1717, + "end": 1874, "loc": { "start": { - "line": 62, - "column": 55 + "line": 64, + "column": 53 }, "end": { - "line": 68, - "column": 5 + "line": 70, + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 1934, - "end": 2097, + "start": 1723, + "end": 1870, "loc": { "start": { - "line": 63, - "column": 8 + "line": 65, + "column": 4 }, "end": { - "line": 67, - "column": 10 + "line": 69, + "column": 7 } }, "argument": { "type": "CallExpression", - "start": 1941, - "end": 2097, + "start": 1730, + "end": 1869, "loc": { "start": { - "line": 63, - "column": 15 + "line": 65, + "column": 11 }, "end": { - "line": 67, - "column": 10 + "line": 69, + "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 1941, - "end": 1954, + "start": 1730, + "end": 1743, "loc": { "start": { - "line": 63, - "column": 15 + "line": 65, + "column": 11 }, "end": { - "line": 63, - "column": 28 + "line": 65, + "column": 24 } }, "object": { "type": "MemberExpression", - "start": 1941, - "end": 1950, + "start": 1730, + "end": 1739, "loc": { "start": { - "line": 63, - "column": 15 + "line": 65, + "column": 11 }, "end": { - "line": 63, - "column": 24 + "line": 65, + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 1941, - "end": 1945, + "start": 1730, + "end": 1734, "loc": { "start": { - "line": 63, - "column": 15 + "line": 65, + "column": 11 }, "end": { - "line": 63, - "column": 19 + "line": 65, + "column": 15 } } }, "property": { "type": "Identifier", - "start": 1946, - "end": 1950, + "start": 1735, + "end": 1739, "loc": { "start": { - "line": 63, - "column": 20 + "line": 65, + "column": 16 }, "end": { - "line": 63, - "column": 24 + "line": 65, + "column": 20 }, "identifierName": "http" }, @@ -1758,16 +1791,16 @@ }, "property": { "type": "Identifier", - "start": 1951, - "end": 1954, + "start": 1740, + "end": 1743, "loc": { "start": { - "line": 63, - "column": 25 + "line": 65, + "column": 21 }, "end": { - "line": 63, - "column": 28 + "line": 65, + "column": 24 }, "identifierName": "get" }, @@ -1778,95 +1811,131 @@ "arguments": [ { "type": "BinaryExpression", - "start": 1955, - "end": 1991, + "start": 1744, + "end": 1785, "loc": { "start": { - "line": 63, - "column": 29 + "line": 65, + "column": 25 }, "end": { - "line": 63, - "column": 65 + "line": 65, + "column": 66 } }, "left": { "type": "BinaryExpression", - "start": 1955, - "end": 1979, + "start": 1744, + "end": 1773, "loc": { "start": { - "line": 63, - "column": 29 + "line": 65, + "column": 25 }, "end": { - "line": 63, - "column": 53 + "line": 65, + "column": 54 } }, "left": { - "type": "Identifier", - "start": 1955, - "end": 1963, + "type": "BinaryExpression", + "start": 1744, + "end": 1758, "loc": { "start": { - "line": 63, - "column": 29 + "line": 65, + "column": 25 }, "end": { - "line": 63, - "column": 37 + "line": 65, + "column": 39 + } + }, + "left": { + "type": "Identifier", + "start": 1744, + "end": 1752, + "loc": { + "start": { + "line": 65, + "column": 25 + }, + "end": { + "line": 65, + "column": 33 + }, + "identifierName": "ENDPOINT" }, - "identifierName": "ENDPOINT" + "name": "ENDPOINT" }, - "name": "ENDPOINT" + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 1755, + "end": 1758, + "loc": { + "start": { + "line": 65, + "column": 36 + }, + "end": { + "line": 65, + "column": 39 + } + }, + "extra": { + "rawValue": "/", + "raw": "'/'" + }, + "value": "/" + } }, "operator": "+", "right": { "type": "MemberExpression", - "start": 1966, - "end": 1979, + "start": 1761, + "end": 1773, "loc": { "start": { - "line": 63, - "column": 40 + "line": 65, + "column": 42 }, "end": { - "line": 63, - "column": 53 + "line": 65, + "column": 54 } }, "object": { "type": "ThisExpression", - "start": 1966, - "end": 1970, + "start": 1761, + "end": 1765, "loc": { "start": { - "line": 63, - "column": 40 + "line": 65, + "column": 42 }, "end": { - "line": 63, - "column": 44 + "line": 65, + "column": 46 } } }, "property": { "type": "Identifier", - "start": 1971, - "end": 1979, + "start": 1766, + "end": 1773, "loc": { "start": { - "line": 63, - "column": 45 + "line": 65, + "column": 47 }, "end": { - "line": 63, - "column": 53 + "line": 65, + "column": 54 }, - "identifierName": "album_id" + "identifierName": "albumID" }, - "name": "album_id" + "name": "albumID" }, "computed": false } @@ -1874,16 +1943,16 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 1982, - "end": 1991, + "start": 1776, + "end": 1785, "loc": { "start": { - "line": 63, - "column": 56 + "line": 65, + "column": 57 }, "end": { - "line": 63, - "column": 65 + "line": 65, + "column": 66 } }, "extra": { @@ -1895,31 +1964,31 @@ }, { "type": "ObjectExpression", - "start": 1993, - "end": 2096, + "start": 1787, + "end": 1868, "loc": { "start": { - "line": 63, - "column": 67 + "line": 65, + "column": 68 }, "end": { - "line": 67, - "column": 9 + "line": 69, + "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 2007, - "end": 2032, + "start": 1795, + "end": 1820, "loc": { "start": { - "line": 64, - "column": 12 + "line": 66, + "column": 6 }, "end": { - "line": 64, - "column": 37 + "line": 66, + "column": 31 } }, "method": false, @@ -1927,16 +1996,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 2007, - "end": 2016, + "start": 1795, + "end": 1804, "loc": { "start": { - "line": 64, - "column": 12 + "line": 66, + "column": 6 }, "end": { - "line": 64, - "column": 21 + "line": 66, + "column": 15 }, "identifierName": "territory" }, @@ -1944,45 +2013,45 @@ }, "value": { "type": "MemberExpression", - "start": 2018, - "end": 2032, + "start": 1806, + "end": 1820, "loc": { "start": { - "line": 64, - "column": 23 + "line": 66, + "column": 17 }, "end": { - "line": 64, - "column": 37 + "line": 66, + "column": 31 } }, "object": { "type": "ThisExpression", - "start": 2018, - "end": 2022, + "start": 1806, + "end": 1810, "loc": { "start": { - "line": 64, - "column": 23 + "line": 66, + "column": 17 }, "end": { - "line": 64, - "column": 27 + "line": 66, + "column": 21 } } }, "property": { "type": "Identifier", - "start": 2023, - "end": 2032, + "start": 1811, + "end": 1820, "loc": { "start": { - "line": 64, - "column": 28 + "line": 66, + "column": 22 }, "end": { - "line": 64, - "column": 37 + "line": 66, + "column": 31 }, "identifierName": "territory" }, @@ -1993,16 +2062,16 @@ }, { "type": "ObjectProperty", - "start": 2046, - "end": 2058, + "start": 1828, + "end": 1840, "loc": { "start": { - "line": 65, - "column": 12 + "line": 67, + "column": 6 }, "end": { - "line": 65, - "column": 24 + "line": 67, + "column": 18 } }, "method": false, @@ -2010,16 +2079,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 2046, - "end": 2051, + "start": 1828, + "end": 1833, "loc": { "start": { - "line": 65, - "column": 12 + "line": 67, + "column": 6 }, "end": { - "line": 65, - "column": 17 + "line": 67, + "column": 11 }, "identifierName": "limit" }, @@ -2027,16 +2096,16 @@ }, "value": { "type": "Identifier", - "start": 2053, - "end": 2058, + "start": 1835, + "end": 1840, "loc": { "start": { - "line": 65, - "column": 19 + "line": 67, + "column": 13 }, "end": { - "line": 65, - "column": 24 + "line": 67, + "column": 18 }, "identifierName": "limit" }, @@ -2045,16 +2114,16 @@ }, { "type": "ObjectProperty", - "start": 2072, - "end": 2086, + "start": 1848, + "end": 1862, "loc": { "start": { - "line": 66, - "column": 12 + "line": 68, + "column": 6 }, "end": { - "line": 66, - "column": 26 + "line": 68, + "column": 20 } }, "method": false, @@ -2062,16 +2131,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 2072, - "end": 2078, + "start": 1848, + "end": 1854, "loc": { "start": { - "line": 66, - "column": 12 + "line": 68, + "column": 6 }, "end": { - "line": 66, - "column": 18 + "line": 68, + "column": 12 }, "identifierName": "offset" }, @@ -2079,16 +2148,16 @@ }, "value": { "type": "Identifier", - "start": 2080, - "end": 2086, + "start": 1856, + "end": 1862, "loc": { "start": { - "line": 66, - "column": 20 + "line": 68, + "column": 14 }, "end": { - "line": 66, - "column": 26 + "line": 68, + "column": 20 }, "identifierName": "offset" }, @@ -2106,17 +2175,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Get tracks in an album. Result will be return with pagination.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums/endpoints/get-albums-album_id-tracks\n ", - "start": 1440, - "end": 1868, + "value": "*\n * Get tracks in an album. Result will be return with pagination.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks();\n * @see https://docs-en.kkbox.codes/v1.1/reference#albums-album_id-tracks\n ", + "start": 1281, + "end": 1663, "loc": { "start": { - "line": 53, - "column": 4 + "line": 55, + "column": 2 }, "end": { - "line": 61, - "column": 7 + "line": 63, + "column": 5 } } } @@ -2127,9 +2196,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch metadata and tracks of a album.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums\n ", - "start": 80, - "end": 196, + "value": "*\n * Fetch metadata and tracks of a album.\n * @see https://docs-en.kkbox.codes/v1.1/reference#albums\n ", + "start": 84, + "end": 190, "loc": { "start": { "line": 4, @@ -2147,9 +2216,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch metadata and tracks of a album.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums\n ", - "start": 80, - "end": 196, + "value": "*\n * Fetch metadata and tracks of a album.\n * @see https://docs-en.kkbox.codes/v1.1/reference#albums\n ", + "start": 84, + "end": 190, "loc": { "start": { "line": 4, @@ -2169,9 +2238,9 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * Fetch metadata and tracks of a album.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums\n ", - "start": 80, - "end": 196, + "value": "*\n * Fetch metadata and tracks of a album.\n * @see https://docs-en.kkbox.codes/v1.1/reference#albums\n ", + "start": 84, + "end": 190, "loc": { "start": { "line": 4, @@ -2185,97 +2254,97 @@ }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 257, - "end": 283, + "value": "*\n * @ignore\n ", + "start": 245, + "end": 267, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 366, - "end": 400, + "value": "*\n * @ignore\n ", + "start": 341, + "end": 367, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } }, { "type": "CommentBlock", - "value": "*\n * Set the album fetcher.\n *\n * @param {string} album_id - The ID of an album.\n * @return {AlbumFetcher}\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums/endpoints/get-albums-album_id\n ", - "start": 446, - "end": 680, + "value": "*\n * Set the album fetcher.\n *\n * @param {string} albumID - The ID of an album.\n * @return {AlbumFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#albums-album_id\n ", + "start": 405, + "end": 595, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 27, - "column": 7 + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Fetcy metadata of the album you create.\n *\n * @return {Promise}\n * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums/endpoints/get-albums-album_id\n ", - "start": 780, - "end": 1054, + "value": "*\n * Fetch metadata of the album you create.\n *\n * @return {Promise}\n * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#albums-album_id\n ", + "start": 672, + "end": 904, "loc": { "start": { "line": 33, - "column": 4 + "column": 2 }, "end": { "line": 39, - "column": 7 + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Get KKBOX web widget uri of the album.\n * @example https://widget.kkbox.com/v1/?id=4qtXcj31wYJTRZbb23&type=album\n * @return {string}\n ", - "start": 1172, - "end": 1331, + "value": "*\n * Get KKBOX web widget uri of the album.\n * @example https://widget.kkbox.com/v1/?id=4qtXcj31wYJTRZbb23&type=album\n * @return {string}\n ", + "start": 1030, + "end": 1181, "loc": { "start": { - "line": 44, - "column": 4 + "line": 46, + "column": 2 }, "end": { - "line": 48, - "column": 7 + "line": 50, + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Get tracks in an album. Result will be return with pagination.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums/endpoints/get-albums-album_id-tracks\n ", - "start": 1440, - "end": 1868, + "value": "*\n * Get tracks in an album. Result will be return with pagination.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks();\n * @see https://docs-en.kkbox.codes/v1.1/reference#albums-album_id-tracks\n ", + "start": 1281, + "end": 1663, "loc": { "start": { - "line": 53, - "column": 4 + "line": 55, + "column": 2 }, "end": { - "line": 61, - "column": 7 + "line": 63, + "column": 5 } } } @@ -2286,7 +2355,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2347,16 +2416,16 @@ "binop": null }, "value": "ALBUMS", - "start": 8, - "end": 14, + "start": 9, + "end": 15, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 14 + "column": 15 } } }, @@ -2373,16 +2442,16 @@ "binop": null }, "value": "as", - "start": 15, - "end": 17, + "start": 16, + "end": 18, "loc": { "start": { "line": 1, - "column": 15 + "column": 16 }, "end": { "line": 1, - "column": 17 + "column": 18 } } }, @@ -2399,16 +2468,16 @@ "binop": null }, "value": "ENDPOINT", - "start": 18, - "end": 26, + "start": 19, + "end": 27, "loc": { "start": { "line": 1, - "column": 18 + "column": 19 }, "end": { "line": 1, - "column": 26 + "column": 27 } } }, @@ -2424,16 +2493,16 @@ "postfix": false, "binop": null }, - "start": 26, - "end": 27, + "start": 28, + "end": 29, "loc": { "start": { "line": 1, - "column": 26 + "column": 28 }, "end": { "line": 1, - "column": 27 + "column": 29 } } }, @@ -2450,16 +2519,16 @@ "binop": null }, "value": "from", - "start": 28, - "end": 32, + "start": 30, + "end": 34, "loc": { "start": { "line": 1, - "column": 28 + "column": 30 }, "end": { "line": 1, - "column": 32 + "column": 34 } } }, @@ -2477,16 +2546,42 @@ "updateContext": null }, "value": "../Endpoint", - "start": 33, - "end": 46, + "start": 35, + "end": 48, "loc": { "start": { "line": 1, - "column": 33 + "column": 35 }, "end": { "line": 1, - "column": 46 + "column": 48 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 48, + "end": 49, + "loc": { + "start": { + "line": 1, + "column": 48 + }, + "end": { + "line": 1, + "column": 49 } } }, @@ -2495,7 +2590,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2505,8 +2600,8 @@ "updateContext": null }, "value": "import", - "start": 47, - "end": 53, + "start": 50, + "end": 56, "loc": { "start": { "line": 2, @@ -2531,8 +2626,8 @@ "binop": null }, "value": "Fetcher", - "start": 54, - "end": 61, + "start": 57, + "end": 64, "loc": { "start": { "line": 2, @@ -2557,8 +2652,8 @@ "binop": null }, "value": "from", - "start": 62, - "end": 66, + "start": 65, + "end": 69, "loc": { "start": { "line": 2, @@ -2584,8 +2679,8 @@ "updateContext": null }, "value": "./Fetcher", - "start": 67, - "end": 78, + "start": 70, + "end": 81, "loc": { "start": { "line": 2, @@ -2597,11 +2692,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 81, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 32 + } + } + }, { "type": "CommentBlock", - "value": "*\n * Fetch metadata and tracks of a album.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums\n ", - "start": 80, - "end": 196, + "value": "*\n * Fetch metadata and tracks of a album.\n * @see https://docs-en.kkbox.codes/v1.1/reference#albums\n ", + "start": 84, + "end": 190, "loc": { "start": { "line": 4, @@ -2628,8 +2749,8 @@ "updateContext": null }, "value": "export", - "start": 197, - "end": 203, + "start": 191, + "end": 197, "loc": { "start": { "line": 8, @@ -2656,8 +2777,8 @@ "updateContext": null }, "value": "default", - "start": 204, - "end": 211, + "start": 198, + "end": 205, "loc": { "start": { "line": 8, @@ -2684,8 +2805,8 @@ "updateContext": null }, "value": "class", - "start": 212, - "end": 217, + "start": 206, + "end": 211, "loc": { "start": { "line": 8, @@ -2710,8 +2831,8 @@ "binop": null }, "value": "AlbumFetcher", - "start": 218, - "end": 230, + "start": 212, + "end": 224, "loc": { "start": { "line": 8, @@ -2738,8 +2859,8 @@ "updateContext": null }, "value": "extends", - "start": 231, - "end": 238, + "start": 225, + "end": 232, "loc": { "start": { "line": 8, @@ -2764,8 +2885,8 @@ "binop": null }, "value": "Fetcher", - "start": 239, - "end": 246, + "start": 233, + "end": 240, "loc": { "start": { "line": 8, @@ -2789,8 +2910,8 @@ "postfix": false, "binop": null }, - "start": 247, - "end": 248, + "start": 241, + "end": 242, "loc": { "start": { "line": 8, @@ -2804,17 +2925,17 @@ }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 257, - "end": 283, + "value": "*\n * @ignore\n ", + "start": 245, + "end": 267, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } }, @@ -2831,16 +2952,16 @@ "binop": null }, "value": "constructor", - "start": 288, - "end": 299, + "start": 270, + "end": 281, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 12, - "column": 15 + "column": 13 } } }, @@ -2856,16 +2977,16 @@ "postfix": false, "binop": null }, - "start": 299, - "end": 300, + "start": 281, + "end": 282, "loc": { "start": { "line": 12, - "column": 15 + "column": 13 }, "end": { "line": 12, - "column": 16 + "column": 14 } } }, @@ -2882,16 +3003,16 @@ "binop": null }, "value": "http", - "start": 300, - "end": 304, + "start": 282, + "end": 286, "loc": { "start": { "line": 12, - "column": 16 + "column": 14 }, "end": { "line": 12, - "column": 20 + "column": 18 } } }, @@ -2908,16 +3029,16 @@ "binop": null, "updateContext": null }, - "start": 304, - "end": 305, + "start": 286, + "end": 287, "loc": { "start": { "line": 12, - "column": 20 + "column": 18 }, "end": { "line": 12, - "column": 21 + "column": 19 } } }, @@ -2934,16 +3055,16 @@ "binop": null }, "value": "territory", - "start": 306, - "end": 315, + "start": 288, + "end": 297, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 31 + "column": 29 } } }, @@ -2961,16 +3082,16 @@ "updateContext": null }, "value": "=", - "start": 316, - "end": 317, + "start": 298, + "end": 299, "loc": { "start": { "line": 12, - "column": 32 + "column": 30 }, "end": { "line": 12, - "column": 33 + "column": 31 } } }, @@ -2988,16 +3109,16 @@ "updateContext": null }, "value": "TW", - "start": 318, - "end": 322, + "start": 300, + "end": 304, "loc": { "start": { "line": 12, - "column": 34 + "column": 32 }, "end": { "line": 12, - "column": 38 + "column": 36 } } }, @@ -3013,16 +3134,16 @@ "postfix": false, "binop": null }, - "start": 322, - "end": 323, + "start": 304, + "end": 305, "loc": { "start": { "line": 12, - "column": 38 + "column": 36 }, "end": { "line": 12, - "column": 39 + "column": 37 } } }, @@ -3038,16 +3159,16 @@ "postfix": false, "binop": null }, - "start": 324, - "end": 325, + "start": 306, + "end": 307, "loc": { "start": { "line": 12, - "column": 40 + "column": 38 }, "end": { "line": 12, - "column": 41 + "column": 39 } } }, @@ -3066,16 +3187,16 @@ "updateContext": null }, "value": "super", - "start": 334, - "end": 339, + "start": 312, + "end": 317, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 13 + "column": 9 } } }, @@ -3091,16 +3212,16 @@ "postfix": false, "binop": null }, - "start": 339, - "end": 340, + "start": 317, + "end": 318, "loc": { "start": { "line": 13, - "column": 13 + "column": 9 }, "end": { "line": 13, - "column": 14 + "column": 10 } } }, @@ -3117,16 +3238,16 @@ "binop": null }, "value": "http", - "start": 340, - "end": 344, + "start": 318, + "end": 322, "loc": { "start": { "line": 13, - "column": 14 + "column": 10 }, "end": { "line": 13, - "column": 18 + "column": 14 } } }, @@ -3143,16 +3264,16 @@ "binop": null, "updateContext": null }, - "start": 344, - "end": 345, + "start": 322, + "end": 323, "loc": { "start": { "line": 13, - "column": 18 + "column": 14 }, "end": { "line": 13, - "column": 19 + "column": 15 } } }, @@ -3169,16 +3290,16 @@ "binop": null }, "value": "territory", - "start": 346, - "end": 355, + "start": 324, + "end": 333, "loc": { "start": { "line": 13, - "column": 20 + "column": 16 }, "end": { "line": 13, - "column": 29 + "column": 25 } } }, @@ -3194,32 +3315,58 @@ "postfix": false, "binop": null }, - "start": 355, - "end": 356, + "start": 333, + "end": 334, "loc": { "start": { "line": 13, - "column": 29 + "column": 25 }, "end": { "line": 13, - "column": 30 + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 334, + "end": 335, + "loc": { + "start": { + "line": 13, + "column": 26 + }, + "end": { + "line": 13, + "column": 27 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 366, - "end": 400, + "value": "*\n * @ignore\n ", + "start": 341, + "end": 367, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } }, @@ -3238,16 +3385,16 @@ "updateContext": null }, "value": "this", - "start": 409, - "end": 413, + "start": 372, + "end": 376, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 12 + "column": 8 } } }, @@ -3264,16 +3411,16 @@ "binop": null, "updateContext": null }, - "start": 413, - "end": 414, + "start": 376, + "end": 377, "loc": { "start": { "line": 18, - "column": 12 + "column": 8 }, "end": { "line": 18, - "column": 13 + "column": 9 } } }, @@ -3289,17 +3436,17 @@ "postfix": false, "binop": null }, - "value": "album_id", - "start": 414, - "end": 422, + "value": "albumID", + "start": 377, + "end": 384, "loc": { "start": { "line": 18, - "column": 13 + "column": 9 }, "end": { "line": 18, - "column": 21 + "column": 16 } } }, @@ -3317,16 +3464,16 @@ "updateContext": null }, "value": "=", - "start": 423, - "end": 424, + "start": 385, + "end": 386, "loc": { "start": { "line": 18, - "column": 22 + "column": 17 }, "end": { "line": 18, - "column": 23 + "column": 18 } } }, @@ -3343,16 +3490,42 @@ "binop": null }, "value": "undefined", - "start": 425, - "end": 434, + "start": 387, + "end": 396, "loc": { "start": { "line": 18, - "column": 24 + "column": 19 }, "end": { "line": 18, - "column": 33 + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 396, + "end": 397, + "loc": { + "start": { + "line": 18, + "column": 28 + }, + "end": { + "line": 18, + "column": 29 } } }, @@ -3368,32 +3541,32 @@ "postfix": false, "binop": null }, - "start": 439, - "end": 440, + "start": 400, + "end": 401, "loc": { "start": { "line": 19, - "column": 4 + "column": 2 }, "end": { "line": 19, - "column": 5 + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Set the album fetcher.\n *\n * @param {string} album_id - The ID of an album.\n * @return {AlbumFetcher}\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums/endpoints/get-albums-album_id\n ", - "start": 446, - "end": 680, + "value": "*\n * Set the album fetcher.\n *\n * @param {string} albumID - The ID of an album.\n * @return {AlbumFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#albums-album_id\n ", + "start": 405, + "end": 595, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 27, - "column": 7 + "column": 5 } } }, @@ -3410,16 +3583,16 @@ "binop": null }, "value": "setAlbumID", - "start": 685, - "end": 695, + "start": 598, + "end": 608, "loc": { "start": { "line": 28, - "column": 4 + "column": 2 }, "end": { "line": 28, - "column": 14 + "column": 12 } } }, @@ -3435,16 +3608,16 @@ "postfix": false, "binop": null }, - "start": 695, - "end": 696, + "start": 608, + "end": 609, "loc": { "start": { "line": 28, - "column": 14 + "column": 12 }, "end": { "line": 28, - "column": 15 + "column": 13 } } }, @@ -3460,17 +3633,17 @@ "postfix": false, "binop": null }, - "value": "album_id", - "start": 696, - "end": 704, + "value": "albumID", + "start": 609, + "end": 616, "loc": { "start": { "line": 28, - "column": 15 + "column": 13 }, "end": { "line": 28, - "column": 23 + "column": 20 } } }, @@ -3486,16 +3659,16 @@ "postfix": false, "binop": null }, - "start": 704, - "end": 705, + "start": 616, + "end": 617, "loc": { "start": { "line": 28, - "column": 23 + "column": 20 }, "end": { "line": 28, - "column": 24 + "column": 21 } } }, @@ -3511,16 +3684,16 @@ "postfix": false, "binop": null }, - "start": 706, - "end": 707, + "start": 618, + "end": 619, "loc": { "start": { "line": 28, - "column": 25 + "column": 22 }, "end": { "line": 28, - "column": 26 + "column": 23 } } }, @@ -3539,16 +3712,16 @@ "updateContext": null }, "value": "this", - "start": 716, - "end": 720, + "start": 624, + "end": 628, "loc": { "start": { "line": 29, - "column": 8 + "column": 4 }, "end": { "line": 29, - "column": 12 + "column": 8 } } }, @@ -3565,16 +3738,16 @@ "binop": null, "updateContext": null }, - "start": 720, - "end": 721, + "start": 628, + "end": 629, "loc": { "start": { "line": 29, - "column": 12 + "column": 8 }, "end": { "line": 29, - "column": 13 + "column": 9 } } }, @@ -3590,17 +3763,17 @@ "postfix": false, "binop": null }, - "value": "album_id", - "start": 721, - "end": 729, + "value": "albumID", + "start": 629, + "end": 636, "loc": { "start": { "line": 29, - "column": 13 + "column": 9 }, "end": { "line": 29, - "column": 21 + "column": 16 } } }, @@ -3618,16 +3791,16 @@ "updateContext": null }, "value": "=", - "start": 730, - "end": 731, + "start": 637, + "end": 638, "loc": { "start": { "line": 29, - "column": 22 + "column": 17 }, "end": { "line": 29, - "column": 23 + "column": 18 } } }, @@ -3643,17 +3816,43 @@ "postfix": false, "binop": null }, - "value": "album_id", - "start": 732, - "end": 740, + "value": "albumID", + "start": 639, + "end": 646, "loc": { "start": { "line": 29, - "column": 24 + "column": 19 }, "end": { "line": 29, - "column": 32 + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 646, + "end": 647, + "loc": { + "start": { + "line": 29, + "column": 26 + }, + "end": { + "line": 29, + "column": 27 } } }, @@ -3672,16 +3871,16 @@ "updateContext": null }, "value": "return", - "start": 757, - "end": 763, + "start": 652, + "end": 658, "loc": { "start": { "line": 30, - "column": 8 + "column": 4 }, "end": { "line": 30, - "column": 14 + "column": 10 } } }, @@ -3700,8 +3899,34 @@ "updateContext": null }, "value": "this", - "start": 764, - "end": 768, + "start": 659, + "end": 663, + "loc": { + "start": { + "line": 30, + "column": 11 + }, + "end": { + "line": 30, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 663, + "end": 664, "loc": { "start": { "line": 30, @@ -3709,7 +3934,7 @@ }, "end": { "line": 30, - "column": 19 + "column": 16 } } }, @@ -3725,32 +3950,32 @@ "postfix": false, "binop": null }, - "start": 773, - "end": 774, + "start": 667, + "end": 668, "loc": { "start": { "line": 31, - "column": 4 + "column": 2 }, "end": { "line": 31, - "column": 5 + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Fetcy metadata of the album you create.\n *\n * @return {Promise}\n * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums/endpoints/get-albums-album_id\n ", - "start": 780, - "end": 1054, + "value": "*\n * Fetch metadata of the album you create.\n *\n * @return {Promise}\n * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#albums-album_id\n ", + "start": 672, + "end": 904, "loc": { "start": { "line": 33, - "column": 4 + "column": 2 }, "end": { "line": 39, - "column": 7 + "column": 5 } } }, @@ -3767,16 +3992,16 @@ "binop": null }, "value": "fetchMetadata", - "start": 1059, - "end": 1072, + "start": 907, + "end": 920, "loc": { "start": { "line": 40, - "column": 4 + "column": 2 }, "end": { "line": 40, - "column": 17 + "column": 15 } } }, @@ -3792,16 +4017,16 @@ "postfix": false, "binop": null }, - "start": 1072, - "end": 1073, + "start": 920, + "end": 921, "loc": { "start": { "line": 40, - "column": 17 + "column": 15 }, "end": { "line": 40, - "column": 18 + "column": 16 } } }, @@ -3817,16 +4042,16 @@ "postfix": false, "binop": null }, - "start": 1073, - "end": 1074, + "start": 921, + "end": 922, "loc": { "start": { "line": 40, - "column": 18 + "column": 16 }, "end": { "line": 40, - "column": 19 + "column": 17 } } }, @@ -3842,16 +4067,16 @@ "postfix": false, "binop": null }, - "start": 1075, - "end": 1076, + "start": 923, + "end": 924, "loc": { "start": { "line": 40, - "column": 20 + "column": 18 }, "end": { "line": 40, - "column": 21 + "column": 19 } } }, @@ -3870,16 +4095,16 @@ "updateContext": null }, "value": "return", - "start": 1085, - "end": 1091, + "start": 929, + "end": 935, "loc": { "start": { "line": 41, - "column": 8 + "column": 4 }, "end": { "line": 41, - "column": 14 + "column": 10 } } }, @@ -3898,16 +4123,16 @@ "updateContext": null }, "value": "this", - "start": 1092, - "end": 1096, + "start": 936, + "end": 940, "loc": { "start": { "line": 41, - "column": 15 + "column": 11 }, "end": { "line": 41, - "column": 19 + "column": 15 } } }, @@ -3924,16 +4149,16 @@ "binop": null, "updateContext": null }, - "start": 1096, - "end": 1097, + "start": 940, + "end": 941, "loc": { "start": { "line": 41, - "column": 19 + "column": 15 }, "end": { "line": 41, - "column": 20 + "column": 16 } } }, @@ -3950,16 +4175,16 @@ "binop": null }, "value": "http", - "start": 1097, - "end": 1101, + "start": 941, + "end": 945, "loc": { "start": { "line": 41, - "column": 20 + "column": 16 }, "end": { "line": 41, - "column": 24 + "column": 20 } } }, @@ -3976,16 +4201,16 @@ "binop": null, "updateContext": null }, - "start": 1101, - "end": 1102, + "start": 945, + "end": 946, "loc": { "start": { "line": 41, - "column": 24 + "column": 20 }, "end": { "line": 41, - "column": 25 + "column": 21 } } }, @@ -4002,16 +4227,16 @@ "binop": null }, "value": "get", - "start": 1102, - "end": 1105, + "start": 946, + "end": 949, "loc": { "start": { "line": 41, - "column": 25 + "column": 21 }, "end": { "line": 41, - "column": 28 + "column": 24 } } }, @@ -4027,16 +4252,16 @@ "postfix": false, "binop": null }, - "start": 1105, - "end": 1106, + "start": 949, + "end": 950, "loc": { "start": { "line": 41, - "column": 28 + "column": 24 }, "end": { "line": 41, - "column": 29 + "column": 25 } } }, @@ -4053,16 +4278,16 @@ "binop": null }, "value": "ENDPOINT", - "start": 1106, - "end": 1114, + "start": 950, + "end": 958, "loc": { "start": { "line": 41, - "column": 29 + "column": 25 }, "end": { "line": 41, - "column": 37 + "column": 33 } } }, @@ -4080,12 +4305,39 @@ "updateContext": null }, "value": "+", - "start": 1115, - "end": 1116, + "start": 959, + "end": 960, "loc": { "start": { "line": 41, - "column": 38 + "column": 34 + }, + "end": { + "line": 41, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "/", + "start": 961, + "end": 964, + "loc": { + "start": { + "line": 41, + "column": 36 }, "end": { "line": 41, @@ -4093,6 +4345,33 @@ } } }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 965, + "end": 966, + "loc": { + "start": { + "line": 41, + "column": 40 + }, + "end": { + "line": 41, + "column": 41 + } + } + }, { "type": { "label": "this", @@ -4108,16 +4387,16 @@ "updateContext": null }, "value": "this", - "start": 1117, - "end": 1121, + "start": 967, + "end": 971, "loc": { "start": { "line": 41, - "column": 40 + "column": 42 }, "end": { "line": 41, - "column": 44 + "column": 46 } } }, @@ -4134,16 +4413,16 @@ "binop": null, "updateContext": null }, - "start": 1121, - "end": 1122, + "start": 971, + "end": 972, "loc": { "start": { "line": 41, - "column": 44 + "column": 46 }, "end": { "line": 41, - "column": 45 + "column": 47 } } }, @@ -4159,17 +4438,17 @@ "postfix": false, "binop": null }, - "value": "album_id", - "start": 1122, - "end": 1130, + "value": "albumID", + "start": 972, + "end": 979, "loc": { "start": { "line": 41, - "column": 45 + "column": 47 }, "end": { "line": 41, - "column": 53 + "column": 54 } } }, @@ -4186,16 +4465,16 @@ "binop": null, "updateContext": null }, - "start": 1130, - "end": 1131, + "start": 979, + "end": 980, "loc": { "start": { "line": 41, - "column": 53 + "column": 54 }, "end": { "line": 41, - "column": 54 + "column": 55 } } }, @@ -4211,16 +4490,16 @@ "postfix": false, "binop": null }, - "start": 1132, - "end": 1133, + "start": 981, + "end": 982, "loc": { "start": { "line": 41, - "column": 55 + "column": 56 }, "end": { "line": 41, - "column": 56 + "column": 57 } } }, @@ -4237,16 +4516,16 @@ "binop": null }, "value": "territory", - "start": 1133, - "end": 1142, + "start": 989, + "end": 998, "loc": { "start": { - "line": 41, - "column": 56 + "line": 42, + "column": 6 }, "end": { - "line": 41, - "column": 65 + "line": 42, + "column": 15 } } }, @@ -4263,16 +4542,16 @@ "binop": null, "updateContext": null }, - "start": 1142, - "end": 1143, + "start": 998, + "end": 999, "loc": { "start": { - "line": 41, - "column": 65 + "line": 42, + "column": 15 }, "end": { - "line": 41, - "column": 66 + "line": 42, + "column": 16 } } }, @@ -4291,16 +4570,16 @@ "updateContext": null }, "value": "this", - "start": 1144, - "end": 1148, + "start": 1000, + "end": 1004, "loc": { "start": { - "line": 41, - "column": 67 + "line": 42, + "column": 17 }, "end": { - "line": 41, - "column": 71 + "line": 42, + "column": 21 } } }, @@ -4317,16 +4596,16 @@ "binop": null, "updateContext": null }, - "start": 1148, - "end": 1149, + "start": 1004, + "end": 1005, "loc": { "start": { - "line": 41, - "column": 71 + "line": 42, + "column": 21 }, "end": { - "line": 41, - "column": 72 + "line": 42, + "column": 22 } } }, @@ -4343,16 +4622,16 @@ "binop": null }, "value": "territory", - "start": 1149, - "end": 1158, + "start": 1005, + "end": 1014, "loc": { "start": { - "line": 41, - "column": 72 + "line": 42, + "column": 22 }, "end": { - "line": 41, - "column": 81 + "line": 42, + "column": 31 } } }, @@ -4368,16 +4647,16 @@ "postfix": false, "binop": null }, - "start": 1158, - "end": 1159, + "start": 1019, + "end": 1020, "loc": { "start": { - "line": 41, - "column": 81 + "line": 43, + "column": 4 }, "end": { - "line": 41, - "column": 82 + "line": 43, + "column": 5 } } }, @@ -4393,16 +4672,42 @@ "postfix": false, "binop": null }, - "start": 1159, - "end": 1160, + "start": 1020, + "end": 1021, "loc": { "start": { - "line": 41, - "column": 82 + "line": 43, + "column": 5 }, "end": { - "line": 41, - "column": 83 + "line": 43, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1021, + "end": 1022, + "loc": { + "start": { + "line": 43, + "column": 6 + }, + "end": { + "line": 43, + "column": 7 } } }, @@ -4418,32 +4723,32 @@ "postfix": false, "binop": null }, - "start": 1165, - "end": 1166, + "start": 1025, + "end": 1026, "loc": { "start": { - "line": 42, - "column": 4 + "line": 44, + "column": 2 }, "end": { - "line": 42, - "column": 5 + "line": 44, + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Get KKBOX web widget uri of the album.\n * @example https://widget.kkbox.com/v1/?id=4qtXcj31wYJTRZbb23&type=album\n * @return {string}\n ", - "start": 1172, - "end": 1331, + "value": "*\n * Get KKBOX web widget uri of the album.\n * @example https://widget.kkbox.com/v1/?id=4qtXcj31wYJTRZbb23&type=album\n * @return {string}\n ", + "start": 1030, + "end": 1181, "loc": { "start": { - "line": 44, - "column": 4 + "line": 46, + "column": 2 }, "end": { - "line": 48, - "column": 7 + "line": 50, + "column": 5 } } }, @@ -4460,17 +4765,17 @@ "binop": null }, "value": "getWidgetUri", - "start": 1336, - "end": 1348, + "start": 1184, + "end": 1196, "loc": { "start": { - "line": 49, - "column": 4 + "line": 51, + "column": 2 }, "end": { - "line": 49, - "column": 16 - } + "line": 51, + "column": 14 + } } }, { @@ -4485,16 +4790,16 @@ "postfix": false, "binop": null }, - "start": 1348, - "end": 1349, + "start": 1196, + "end": 1197, "loc": { "start": { - "line": 49, - "column": 16 + "line": 51, + "column": 14 }, "end": { - "line": 49, - "column": 17 + "line": 51, + "column": 15 } } }, @@ -4510,16 +4815,16 @@ "postfix": false, "binop": null }, - "start": 1349, - "end": 1350, + "start": 1197, + "end": 1198, "loc": { "start": { - "line": 49, - "column": 17 + "line": 51, + "column": 15 }, "end": { - "line": 49, - "column": 18 + "line": 51, + "column": 16 } } }, @@ -4535,16 +4840,16 @@ "postfix": false, "binop": null }, - "start": 1350, - "end": 1351, + "start": 1199, + "end": 1200, "loc": { "start": { - "line": 49, - "column": 18 + "line": 51, + "column": 17 }, "end": { - "line": 49, - "column": 19 + "line": 51, + "column": 18 } } }, @@ -4563,16 +4868,16 @@ "updateContext": null }, "value": "return", - "start": 1360, - "end": 1366, + "start": 1205, + "end": 1211, "loc": { "start": { - "line": 50, - "column": 8 + "line": 52, + "column": 4 }, "end": { - "line": 50, - "column": 14 + "line": 52, + "column": 10 } } }, @@ -4588,16 +4893,16 @@ "postfix": false, "binop": null }, - "start": 1367, - "end": 1368, + "start": 1212, + "end": 1213, "loc": { "start": { - "line": 50, - "column": 15 + "line": 52, + "column": 11 }, "end": { - "line": 50, - "column": 16 + "line": 52, + "column": 12 } } }, @@ -4615,16 +4920,16 @@ "updateContext": null }, "value": "https://widget.kkbox.com/v1/?id=", - "start": 1368, - "end": 1400, + "start": 1213, + "end": 1245, "loc": { "start": { - "line": 50, - "column": 16 + "line": 52, + "column": 12 }, "end": { - "line": 50, - "column": 48 + "line": 52, + "column": 44 } } }, @@ -4640,16 +4945,16 @@ "postfix": false, "binop": null }, - "start": 1400, - "end": 1402, + "start": 1245, + "end": 1247, "loc": { "start": { - "line": 50, - "column": 48 + "line": 52, + "column": 44 }, "end": { - "line": 50, - "column": 50 + "line": 52, + "column": 46 } } }, @@ -4668,16 +4973,16 @@ "updateContext": null }, "value": "this", - "start": 1402, - "end": 1406, + "start": 1247, + "end": 1251, "loc": { "start": { - "line": 50, - "column": 50 + "line": 52, + "column": 46 }, "end": { - "line": 50, - "column": 54 + "line": 52, + "column": 50 } } }, @@ -4694,16 +4999,16 @@ "binop": null, "updateContext": null }, - "start": 1406, - "end": 1407, + "start": 1251, + "end": 1252, "loc": { "start": { - "line": 50, - "column": 54 + "line": 52, + "column": 50 }, "end": { - "line": 50, - "column": 55 + "line": 52, + "column": 51 } } }, @@ -4719,17 +5024,17 @@ "postfix": false, "binop": null }, - "value": "album_id", - "start": 1407, - "end": 1415, + "value": "albumID", + "start": 1252, + "end": 1259, "loc": { "start": { - "line": 50, - "column": 55 + "line": 52, + "column": 51 }, "end": { - "line": 50, - "column": 63 + "line": 52, + "column": 58 } } }, @@ -4745,16 +5050,16 @@ "postfix": false, "binop": null }, - "start": 1415, - "end": 1416, + "start": 1259, + "end": 1260, "loc": { "start": { - "line": 50, - "column": 63 + "line": 52, + "column": 58 }, "end": { - "line": 50, - "column": 64 + "line": 52, + "column": 59 } } }, @@ -4772,16 +5077,16 @@ "updateContext": null }, "value": "&type=album", - "start": 1416, - "end": 1427, + "start": 1260, + "end": 1271, "loc": { "start": { - "line": 50, - "column": 64 + "line": 52, + "column": 59 }, "end": { - "line": 50, - "column": 75 + "line": 52, + "column": 70 } } }, @@ -4797,16 +5102,42 @@ "postfix": false, "binop": null }, - "start": 1427, - "end": 1428, + "start": 1271, + "end": 1272, "loc": { "start": { - "line": 50, - "column": 75 + "line": 52, + "column": 70 }, "end": { - "line": 50, - "column": 76 + "line": 52, + "column": 71 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1272, + "end": 1273, + "loc": { + "start": { + "line": 52, + "column": 71 + }, + "end": { + "line": 52, + "column": 72 } } }, @@ -4822,32 +5153,32 @@ "postfix": false, "binop": null }, - "start": 1433, - "end": 1434, + "start": 1276, + "end": 1277, "loc": { "start": { - "line": 51, - "column": 4 + "line": 53, + "column": 2 }, "end": { - "line": 51, - "column": 5 + "line": 53, + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Get tracks in an album. Result will be return with pagination.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums/endpoints/get-albums-album_id-tracks\n ", - "start": 1440, - "end": 1868, + "value": "*\n * Get tracks in an album. Result will be return with pagination.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks();\n * @see https://docs-en.kkbox.codes/v1.1/reference#albums-album_id-tracks\n ", + "start": 1281, + "end": 1663, "loc": { "start": { - "line": 53, - "column": 4 + "line": 55, + "column": 2 }, "end": { - "line": 61, - "column": 7 + "line": 63, + "column": 5 } } }, @@ -4864,16 +5195,16 @@ "binop": null }, "value": "fetchTracks", - "start": 1873, - "end": 1884, + "start": 1666, + "end": 1677, "loc": { "start": { - "line": 62, - "column": 4 + "line": 64, + "column": 2 }, "end": { - "line": 62, - "column": 15 + "line": 64, + "column": 13 } } }, @@ -4889,16 +5220,16 @@ "postfix": false, "binop": null }, - "start": 1884, - "end": 1885, + "start": 1677, + "end": 1678, "loc": { "start": { - "line": 62, - "column": 15 + "line": 64, + "column": 13 }, "end": { - "line": 62, - "column": 16 + "line": 64, + "column": 14 } } }, @@ -4915,16 +5246,16 @@ "binop": null }, "value": "limit", - "start": 1885, - "end": 1890, + "start": 1678, + "end": 1683, "loc": { "start": { - "line": 62, - "column": 16 + "line": 64, + "column": 14 }, "end": { - "line": 62, - "column": 21 + "line": 64, + "column": 19 } } }, @@ -4942,16 +5273,16 @@ "updateContext": null }, "value": "=", - "start": 1891, - "end": 1892, + "start": 1684, + "end": 1685, "loc": { "start": { - "line": 62, - "column": 22 + "line": 64, + "column": 20 }, "end": { - "line": 62, - "column": 23 + "line": 64, + "column": 21 } } }, @@ -4968,16 +5299,16 @@ "binop": null }, "value": "undefined", - "start": 1893, - "end": 1902, + "start": 1686, + "end": 1695, "loc": { "start": { - "line": 62, - "column": 24 + "line": 64, + "column": 22 }, "end": { - "line": 62, - "column": 33 + "line": 64, + "column": 31 } } }, @@ -4994,16 +5325,16 @@ "binop": null, "updateContext": null }, - "start": 1902, - "end": 1903, + "start": 1695, + "end": 1696, "loc": { "start": { - "line": 62, - "column": 33 + "line": 64, + "column": 31 }, "end": { - "line": 62, - "column": 34 + "line": 64, + "column": 32 } } }, @@ -5020,16 +5351,16 @@ "binop": null }, "value": "offset", - "start": 1904, - "end": 1910, + "start": 1697, + "end": 1703, "loc": { "start": { - "line": 62, - "column": 35 + "line": 64, + "column": 33 }, "end": { - "line": 62, - "column": 41 + "line": 64, + "column": 39 } } }, @@ -5047,16 +5378,16 @@ "updateContext": null }, "value": "=", - "start": 1911, - "end": 1912, + "start": 1704, + "end": 1705, "loc": { "start": { - "line": 62, - "column": 42 + "line": 64, + "column": 40 }, "end": { - "line": 62, - "column": 43 + "line": 64, + "column": 41 } } }, @@ -5073,16 +5404,16 @@ "binop": null }, "value": "undefined", - "start": 1913, - "end": 1922, + "start": 1706, + "end": 1715, "loc": { "start": { - "line": 62, - "column": 44 + "line": 64, + "column": 42 }, "end": { - "line": 62, - "column": 53 + "line": 64, + "column": 51 } } }, @@ -5098,16 +5429,16 @@ "postfix": false, "binop": null }, - "start": 1922, - "end": 1923, + "start": 1715, + "end": 1716, "loc": { "start": { - "line": 62, - "column": 53 + "line": 64, + "column": 51 }, "end": { - "line": 62, - "column": 54 + "line": 64, + "column": 52 } } }, @@ -5123,16 +5454,16 @@ "postfix": false, "binop": null }, - "start": 1924, - "end": 1925, + "start": 1717, + "end": 1718, "loc": { "start": { - "line": 62, - "column": 55 + "line": 64, + "column": 53 }, "end": { - "line": 62, - "column": 56 + "line": 64, + "column": 54 } } }, @@ -5151,16 +5482,16 @@ "updateContext": null }, "value": "return", - "start": 1934, - "end": 1940, + "start": 1723, + "end": 1729, "loc": { "start": { - "line": 63, - "column": 8 + "line": 65, + "column": 4 }, "end": { - "line": 63, - "column": 14 + "line": 65, + "column": 10 } } }, @@ -5179,16 +5510,16 @@ "updateContext": null }, "value": "this", - "start": 1941, - "end": 1945, + "start": 1730, + "end": 1734, "loc": { "start": { - "line": 63, - "column": 15 + "line": 65, + "column": 11 }, "end": { - "line": 63, - "column": 19 + "line": 65, + "column": 15 } } }, @@ -5205,16 +5536,16 @@ "binop": null, "updateContext": null }, - "start": 1945, - "end": 1946, + "start": 1734, + "end": 1735, "loc": { "start": { - "line": 63, - "column": 19 + "line": 65, + "column": 15 }, "end": { - "line": 63, - "column": 20 + "line": 65, + "column": 16 } } }, @@ -5231,16 +5562,16 @@ "binop": null }, "value": "http", - "start": 1946, - "end": 1950, + "start": 1735, + "end": 1739, "loc": { "start": { - "line": 63, - "column": 20 + "line": 65, + "column": 16 }, "end": { - "line": 63, - "column": 24 + "line": 65, + "column": 20 } } }, @@ -5257,16 +5588,16 @@ "binop": null, "updateContext": null }, - "start": 1950, - "end": 1951, + "start": 1739, + "end": 1740, "loc": { "start": { - "line": 63, - "column": 24 + "line": 65, + "column": 20 }, "end": { - "line": 63, - "column": 25 + "line": 65, + "column": 21 } } }, @@ -5283,16 +5614,16 @@ "binop": null }, "value": "get", - "start": 1951, - "end": 1954, + "start": 1740, + "end": 1743, "loc": { "start": { - "line": 63, - "column": 25 + "line": 65, + "column": 21 }, "end": { - "line": 63, - "column": 28 + "line": 65, + "column": 24 } } }, @@ -5308,16 +5639,16 @@ "postfix": false, "binop": null }, - "start": 1954, - "end": 1955, + "start": 1743, + "end": 1744, "loc": { "start": { - "line": 63, - "column": 28 + "line": 65, + "column": 24 }, "end": { - "line": 63, - "column": 29 + "line": 65, + "column": 25 } } }, @@ -5334,16 +5665,16 @@ "binop": null }, "value": "ENDPOINT", - "start": 1955, - "end": 1963, + "start": 1744, + "end": 1752, "loc": { "start": { - "line": 63, - "column": 29 + "line": 65, + "column": 25 }, "end": { - "line": 63, - "column": 37 + "line": 65, + "column": 33 } } }, @@ -5361,19 +5692,73 @@ "updateContext": null }, "value": "+", - "start": 1964, - "end": 1965, + "start": 1753, + "end": 1754, "loc": { "start": { - "line": 63, - "column": 38 + "line": 65, + "column": 34 }, "end": { - "line": 63, + "line": 65, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "/", + "start": 1755, + "end": 1758, + "loc": { + "start": { + "line": 65, + "column": 36 + }, + "end": { + "line": 65, "column": 39 } } }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 1759, + "end": 1760, + "loc": { + "start": { + "line": 65, + "column": 40 + }, + "end": { + "line": 65, + "column": 41 + } + } + }, { "type": { "label": "this", @@ -5389,16 +5774,16 @@ "updateContext": null }, "value": "this", - "start": 1966, - "end": 1970, + "start": 1761, + "end": 1765, "loc": { "start": { - "line": 63, - "column": 40 + "line": 65, + "column": 42 }, "end": { - "line": 63, - "column": 44 + "line": 65, + "column": 46 } } }, @@ -5415,16 +5800,16 @@ "binop": null, "updateContext": null }, - "start": 1970, - "end": 1971, + "start": 1765, + "end": 1766, "loc": { "start": { - "line": 63, - "column": 44 + "line": 65, + "column": 46 }, "end": { - "line": 63, - "column": 45 + "line": 65, + "column": 47 } } }, @@ -5440,17 +5825,17 @@ "postfix": false, "binop": null }, - "value": "album_id", - "start": 1971, - "end": 1979, + "value": "albumID", + "start": 1766, + "end": 1773, "loc": { "start": { - "line": 63, - "column": 45 + "line": 65, + "column": 47 }, "end": { - "line": 63, - "column": 53 + "line": 65, + "column": 54 } } }, @@ -5468,16 +5853,16 @@ "updateContext": null }, "value": "+", - "start": 1980, - "end": 1981, + "start": 1774, + "end": 1775, "loc": { "start": { - "line": 63, - "column": 54 + "line": 65, + "column": 55 }, "end": { - "line": 63, - "column": 55 + "line": 65, + "column": 56 } } }, @@ -5495,16 +5880,16 @@ "updateContext": null }, "value": "/tracks", - "start": 1982, - "end": 1991, + "start": 1776, + "end": 1785, "loc": { "start": { - "line": 63, - "column": 56 + "line": 65, + "column": 57 }, "end": { - "line": 63, - "column": 65 + "line": 65, + "column": 66 } } }, @@ -5521,16 +5906,16 @@ "binop": null, "updateContext": null }, - "start": 1991, - "end": 1992, + "start": 1785, + "end": 1786, "loc": { "start": { - "line": 63, - "column": 65 + "line": 65, + "column": 66 }, "end": { - "line": 63, - "column": 66 + "line": 65, + "column": 67 } } }, @@ -5546,16 +5931,16 @@ "postfix": false, "binop": null }, - "start": 1993, - "end": 1994, + "start": 1787, + "end": 1788, "loc": { "start": { - "line": 63, - "column": 67 + "line": 65, + "column": 68 }, "end": { - "line": 63, - "column": 68 + "line": 65, + "column": 69 } } }, @@ -5572,16 +5957,16 @@ "binop": null }, "value": "territory", - "start": 2007, - "end": 2016, + "start": 1795, + "end": 1804, "loc": { "start": { - "line": 64, - "column": 12 + "line": 66, + "column": 6 }, "end": { - "line": 64, - "column": 21 + "line": 66, + "column": 15 } } }, @@ -5598,16 +5983,16 @@ "binop": null, "updateContext": null }, - "start": 2016, - "end": 2017, + "start": 1804, + "end": 1805, "loc": { "start": { - "line": 64, - "column": 21 + "line": 66, + "column": 15 }, "end": { - "line": 64, - "column": 22 + "line": 66, + "column": 16 } } }, @@ -5626,16 +6011,16 @@ "updateContext": null }, "value": "this", - "start": 2018, - "end": 2022, + "start": 1806, + "end": 1810, "loc": { "start": { - "line": 64, - "column": 23 + "line": 66, + "column": 17 }, "end": { - "line": 64, - "column": 27 + "line": 66, + "column": 21 } } }, @@ -5652,16 +6037,16 @@ "binop": null, "updateContext": null }, - "start": 2022, - "end": 2023, + "start": 1810, + "end": 1811, "loc": { "start": { - "line": 64, - "column": 27 + "line": 66, + "column": 21 }, "end": { - "line": 64, - "column": 28 + "line": 66, + "column": 22 } } }, @@ -5678,16 +6063,16 @@ "binop": null }, "value": "territory", - "start": 2023, - "end": 2032, + "start": 1811, + "end": 1820, "loc": { "start": { - "line": 64, - "column": 28 + "line": 66, + "column": 22 }, "end": { - "line": 64, - "column": 37 + "line": 66, + "column": 31 } } }, @@ -5704,16 +6089,16 @@ "binop": null, "updateContext": null }, - "start": 2032, - "end": 2033, + "start": 1820, + "end": 1821, "loc": { "start": { - "line": 64, - "column": 37 + "line": 66, + "column": 31 }, "end": { - "line": 64, - "column": 38 + "line": 66, + "column": 32 } } }, @@ -5730,16 +6115,16 @@ "binop": null }, "value": "limit", - "start": 2046, - "end": 2051, + "start": 1828, + "end": 1833, "loc": { "start": { - "line": 65, - "column": 12 + "line": 67, + "column": 6 }, "end": { - "line": 65, - "column": 17 + "line": 67, + "column": 11 } } }, @@ -5756,16 +6141,16 @@ "binop": null, "updateContext": null }, - "start": 2051, - "end": 2052, + "start": 1833, + "end": 1834, "loc": { "start": { - "line": 65, - "column": 17 + "line": 67, + "column": 11 }, "end": { - "line": 65, - "column": 18 + "line": 67, + "column": 12 } } }, @@ -5782,16 +6167,16 @@ "binop": null }, "value": "limit", - "start": 2053, - "end": 2058, + "start": 1835, + "end": 1840, "loc": { "start": { - "line": 65, - "column": 19 + "line": 67, + "column": 13 }, "end": { - "line": 65, - "column": 24 + "line": 67, + "column": 18 } } }, @@ -5808,16 +6193,16 @@ "binop": null, "updateContext": null }, - "start": 2058, - "end": 2059, + "start": 1840, + "end": 1841, "loc": { "start": { - "line": 65, - "column": 24 + "line": 67, + "column": 18 }, "end": { - "line": 65, - "column": 25 + "line": 67, + "column": 19 } } }, @@ -5834,16 +6219,16 @@ "binop": null }, "value": "offset", - "start": 2072, - "end": 2078, + "start": 1848, + "end": 1854, "loc": { "start": { - "line": 66, - "column": 12 + "line": 68, + "column": 6 }, "end": { - "line": 66, - "column": 18 + "line": 68, + "column": 12 } } }, @@ -5860,16 +6245,16 @@ "binop": null, "updateContext": null }, - "start": 2078, - "end": 2079, + "start": 1854, + "end": 1855, "loc": { "start": { - "line": 66, - "column": 18 + "line": 68, + "column": 12 }, "end": { - "line": 66, - "column": 19 + "line": 68, + "column": 13 } } }, @@ -5886,16 +6271,16 @@ "binop": null }, "value": "offset", - "start": 2080, - "end": 2086, + "start": 1856, + "end": 1862, "loc": { "start": { - "line": 66, - "column": 20 + "line": 68, + "column": 14 }, "end": { - "line": 66, - "column": 26 + "line": 68, + "column": 20 } } }, @@ -5911,16 +6296,16 @@ "postfix": false, "binop": null }, - "start": 2095, - "end": 2096, + "start": 1867, + "end": 1868, "loc": { "start": { - "line": 67, - "column": 8 + "line": 69, + "column": 4 }, "end": { - "line": 67, - "column": 9 + "line": 69, + "column": 5 } } }, @@ -5936,16 +6321,42 @@ "postfix": false, "binop": null }, - "start": 2096, - "end": 2097, + "start": 1868, + "end": 1869, "loc": { "start": { - "line": 67, - "column": 9 + "line": 69, + "column": 5 }, "end": { - "line": 67, - "column": 10 + "line": 69, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1869, + "end": 1870, + "loc": { + "start": { + "line": 69, + "column": 6 + }, + "end": { + "line": 69, + "column": 7 } } }, @@ -5961,16 +6372,16 @@ "postfix": false, "binop": null }, - "start": 2102, - "end": 2103, + "start": 1873, + "end": 1874, "loc": { "start": { - "line": 68, - "column": 4 + "line": 70, + "column": 2 }, "end": { - "line": 68, - "column": 5 + "line": 70, + "column": 3 } } }, @@ -5986,15 +6397,15 @@ "postfix": false, "binop": null }, - "start": 2104, - "end": 2105, + "start": 1875, + "end": 1876, "loc": { "start": { - "line": 69, + "line": 71, "column": 0 }, "end": { - "line": 69, + "line": 71, "column": 1 } } @@ -6012,16 +6423,16 @@ "binop": null, "updateContext": null }, - "start": 2105, - "end": 2105, + "start": 1877, + "end": 1877, "loc": { "start": { - "line": 69, - "column": 1 + "line": 72, + "column": 0 }, "end": { - "line": 69, - "column": 1 + "line": 72, + "column": 0 } } } diff --git a/docs/ast/source/api/Api.js.json b/docs/ast/source/api/Api.js.json index 6f1d7dd..48f0d6d 100644 --- a/docs/ast/source/api/Api.js.json +++ b/docs/ast/source/api/Api.js.json @@ -1,29 +1,29 @@ { "type": "File", "start": 0, - "end": 3101, + "end": 3198, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 96, - "column": 1 + "line": 124, + "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 3101, + "end": 3198, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 96, - "column": 1 + "line": 124, + "column": 0 } }, "sourceType": "module", @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 37, + "end": 38, "loc": { "start": { "line": 1, @@ -39,7 +39,7 @@ }, "end": { "line": 1, - "column": 37 + "column": 38 } }, "specifiers": [ @@ -99,8 +99,8 @@ }, { "type": "ImportDeclaration", - "start": 38, - "end": 81, + "start": 39, + "end": 83, "loc": { "start": { "line": 2, @@ -108,14 +108,14 @@ }, "end": { "line": 2, - "column": 43 + "column": 44 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 45, - "end": 58, + "start": 46, + "end": 59, "loc": { "start": { "line": 2, @@ -128,8 +128,8 @@ }, "local": { "type": "Identifier", - "start": 45, - "end": 58, + "start": 46, + "end": 59, "loc": { "start": { "line": 2, @@ -147,8 +147,8 @@ ], "source": { "type": "StringLiteral", - "start": 64, - "end": 81, + "start": 65, + "end": 82, "loc": { "start": { "line": 2, @@ -168,8 +168,8 @@ }, { "type": "ImportDeclaration", - "start": 82, - "end": 123, + "start": 84, + "end": 126, "loc": { "start": { "line": 3, @@ -177,14 +177,14 @@ }, "end": { "line": 3, - "column": 41 + "column": 42 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 89, - "end": 101, + "start": 91, + "end": 103, "loc": { "start": { "line": 3, @@ -197,8 +197,8 @@ }, "local": { "type": "Identifier", - "start": 89, - "end": 101, + "start": 91, + "end": 103, "loc": { "start": { "line": 3, @@ -216,8 +216,8 @@ ], "source": { "type": "StringLiteral", - "start": 107, - "end": 123, + "start": 109, + "end": 125, "loc": { "start": { "line": 3, @@ -237,8 +237,8 @@ }, { "type": "ImportDeclaration", - "start": 124, - "end": 165, + "start": 127, + "end": 169, "loc": { "start": { "line": 4, @@ -246,14 +246,14 @@ }, "end": { "line": 4, - "column": 41 + "column": 42 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 131, - "end": 143, + "start": 134, + "end": 146, "loc": { "start": { "line": 4, @@ -266,8 +266,8 @@ }, "local": { "type": "Identifier", - "start": 131, - "end": 143, + "start": 134, + "end": 146, "loc": { "start": { "line": 4, @@ -285,8 +285,8 @@ ], "source": { "type": "StringLiteral", - "start": 149, - "end": 165, + "start": 152, + "end": 168, "loc": { "start": { "line": 4, @@ -306,8 +306,8 @@ }, { "type": "ImportDeclaration", - "start": 166, - "end": 209, + "start": 170, + "end": 214, "loc": { "start": { "line": 5, @@ -315,14 +315,14 @@ }, "end": { "line": 5, - "column": 43 + "column": 44 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 173, - "end": 186, + "start": 177, + "end": 190, "loc": { "start": { "line": 5, @@ -335,8 +335,8 @@ }, "local": { "type": "Identifier", - "start": 173, - "end": 186, + "start": 177, + "end": 190, "loc": { "start": { "line": 5, @@ -354,8 +354,8 @@ ], "source": { "type": "StringLiteral", - "start": 192, - "end": 209, + "start": 196, + "end": 213, "loc": { "start": { "line": 5, @@ -375,8 +375,8 @@ }, { "type": "ImportDeclaration", - "start": 210, - "end": 273, + "start": 215, + "end": 279, "loc": { "start": { "line": 6, @@ -384,14 +384,14 @@ }, "end": { "line": 6, - "column": 63 + "column": 64 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 217, - "end": 240, + "start": 222, + "end": 245, "loc": { "start": { "line": 6, @@ -404,8 +404,8 @@ }, "local": { "type": "Identifier", - "start": 217, - "end": 240, + "start": 222, + "end": 245, "loc": { "start": { "line": 6, @@ -423,8 +423,8 @@ ], "source": { "type": "StringLiteral", - "start": 246, - "end": 273, + "start": 251, + "end": 278, "loc": { "start": { "line": 6, @@ -444,8 +444,8 @@ }, { "type": "ImportDeclaration", - "start": 274, - "end": 353, + "start": 280, + "end": 360, "loc": { "start": { "line": 7, @@ -453,14 +453,14 @@ }, "end": { "line": 7, - "column": 79 + "column": 80 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 281, - "end": 312, + "start": 287, + "end": 318, "loc": { "start": { "line": 7, @@ -473,8 +473,8 @@ }, "local": { "type": "Identifier", - "start": 281, - "end": 312, + "start": 287, + "end": 318, "loc": { "start": { "line": 7, @@ -492,8 +492,8 @@ ], "source": { "type": "StringLiteral", - "start": 318, - "end": 353, + "start": 324, + "end": 359, "loc": { "start": { "line": 7, @@ -513,8 +513,8 @@ }, { "type": "ImportDeclaration", - "start": 354, - "end": 421, + "start": 361, + "end": 429, "loc": { "start": { "line": 8, @@ -522,14 +522,14 @@ }, "end": { "line": 8, - "column": 67 + "column": 68 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 361, - "end": 386, + "start": 368, + "end": 393, "loc": { "start": { "line": 8, @@ -542,8 +542,8 @@ }, "local": { "type": "Identifier", - "start": 361, - "end": 386, + "start": 368, + "end": 393, "loc": { "start": { "line": 8, @@ -561,8 +561,8 @@ ], "source": { "type": "StringLiteral", - "start": 392, - "end": 421, + "start": 399, + "end": 428, "loc": { "start": { "line": 8, @@ -582,8 +582,8 @@ }, { "type": "ImportDeclaration", - "start": 422, - "end": 483, + "start": 430, + "end": 492, "loc": { "start": { "line": 9, @@ -591,14 +591,14 @@ }, "end": { "line": 9, - "column": 61 + "column": 62 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 429, - "end": 451, + "start": 437, + "end": 459, "loc": { "start": { "line": 9, @@ -611,8 +611,8 @@ }, "local": { "type": "Identifier", - "start": 429, - "end": 451, + "start": 437, + "end": 459, "loc": { "start": { "line": 9, @@ -630,8 +630,8 @@ ], "source": { "type": "StringLiteral", - "start": 457, - "end": 483, + "start": 465, + "end": 491, "loc": { "start": { "line": 9, @@ -651,8 +651,8 @@ }, { "type": "ImportDeclaration", - "start": 484, - "end": 539, + "start": 493, + "end": 549, "loc": { "start": { "line": 10, @@ -660,14 +660,14 @@ }, "end": { "line": 10, - "column": 55 + "column": 56 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 491, - "end": 510, + "start": 500, + "end": 519, "loc": { "start": { "line": 10, @@ -680,8 +680,8 @@ }, "local": { "type": "Identifier", - "start": 491, - "end": 510, + "start": 500, + "end": 519, "loc": { "start": { "line": 10, @@ -699,8 +699,8 @@ ], "source": { "type": "StringLiteral", - "start": 516, - "end": 539, + "start": 525, + "end": 548, "loc": { "start": { "line": 10, @@ -720,8 +720,8 @@ }, { "type": "ImportDeclaration", - "start": 540, - "end": 593, + "start": 550, + "end": 604, "loc": { "start": { "line": 11, @@ -729,14 +729,14 @@ }, "end": { "line": 11, - "column": 53 + "column": 54 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 547, - "end": 565, + "start": 557, + "end": 575, "loc": { "start": { "line": 11, @@ -749,8 +749,8 @@ }, "local": { "type": "Identifier", - "start": 547, - "end": 565, + "start": 557, + "end": 575, "loc": { "start": { "line": 11, @@ -768,8 +768,8 @@ ], "source": { "type": "StringLiteral", - "start": 571, - "end": 593, + "start": 581, + "end": 603, "loc": { "start": { "line": 11, @@ -789,8 +789,8 @@ }, { "type": "ImportDeclaration", - "start": 594, - "end": 635, + "start": 605, + "end": 647, "loc": { "start": { "line": 12, @@ -798,14 +798,14 @@ }, "end": { "line": 12, - "column": 41 + "column": 42 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 601, - "end": 613, + "start": 612, + "end": 624, "loc": { "start": { "line": 12, @@ -818,8 +818,8 @@ }, "local": { "type": "Identifier", - "start": 601, - "end": 613, + "start": 612, + "end": 624, "loc": { "start": { "line": 12, @@ -837,8 +837,8 @@ ], "source": { "type": "StringLiteral", - "start": 619, - "end": 635, + "start": 630, + "end": 646, "loc": { "start": { "line": 12, @@ -853,23 +853,90 @@ "rawValue": "./ChartFetcher", "raw": "'./ChartFetcher'" }, - "value": "./ChartFetcher", - "leadingComments": null, - "trailingComments": null + "value": "./ChartFetcher" + } + }, + { + "type": "ImportDeclaration", + "start": 648, + "end": 708, + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 13, + "column": 60 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 655, + "end": 676, + "loc": { + "start": { + "line": 13, + "column": 7 + }, + "end": { + "line": 13, + "column": 28 + } + }, + "local": { + "type": "Identifier", + "start": 655, + "end": 676, + "loc": { + "start": { + "line": 13, + "column": 7 + }, + "end": { + "line": 13, + "column": 28 + }, + "identifierName": "SharedPlaylistFetcher" + }, + "name": "SharedPlaylistFetcher" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 682, + "end": 707, + "loc": { + "start": { + "line": 13, + "column": 34 + }, + "end": { + "line": 13, + "column": 59 + } + }, + "extra": { + "rawValue": "./SharedPlaylistFetcher", + "raw": "'./SharedPlaylistFetcher'" + }, + "value": "./SharedPlaylistFetcher" }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Fetch KKBOX resources.\n ", - "start": 637, - "end": 670, + "start": 710, + "end": 743, "loc": { "start": { - "line": 14, + "line": 15, "column": 0 }, "end": { - "line": 16, + "line": 17, "column": 3 } } @@ -878,43 +945,43 @@ }, { "type": "ExportDefaultDeclaration", - "start": 671, - "end": 3101, + "start": 744, + "end": 3197, "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 96, + "line": 123, "column": 1 } }, "declaration": { "type": "ClassDeclaration", - "start": 686, - "end": 3101, + "start": 759, + "end": 3197, "loc": { "start": { - "line": 17, + "line": 18, "column": 15 }, "end": { - "line": 96, + "line": 123, "column": 1 } }, "id": { "type": "Identifier", - "start": 692, - "end": 695, + "start": 765, + "end": 768, "loc": { "start": { - "line": 17, + "line": 18, "column": 21 }, "end": { - "line": 17, + "line": 18, "column": 24 }, "identifierName": "Api" @@ -925,53 +992,53 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 696, - "end": 3101, + "start": 769, + "end": 3197, "loc": { "start": { - "line": 17, + "line": 18, "column": 25 }, "end": { - "line": 96, + "line": 123, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 984, - "end": 1136, + "start": 1041, + "end": 1174, "loc": { "start": { - "line": 26, - "column": 4 + "line": 27, + "column": 2 }, "end": { - "line": 30, - "column": 5 + "line": 31, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 984, - "end": 995, + "start": 1041, + "end": 1052, "loc": { "start": { - "line": 26, - "column": 4 + "line": 27, + "column": 2 }, "end": { - "line": 26, - "column": 15 + "line": 27, + "column": 13 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, - "static": false, "kind": "constructor", "id": null, "generator": false, @@ -980,16 +1047,16 @@ "params": [ { "type": "Identifier", - "start": 996, - "end": 1001, + "start": 1053, + "end": 1058, "loc": { "start": { - "line": 26, - "column": 16 + "line": 27, + "column": 14 }, "end": { - "line": 26, - "column": 21 + "line": 27, + "column": 19 }, "identifierName": "token" }, @@ -997,30 +1064,30 @@ }, { "type": "AssignmentPattern", - "start": 1003, - "end": 1019, + "start": 1060, + "end": 1076, "loc": { "start": { - "line": 26, - "column": 23 + "line": 27, + "column": 21 }, "end": { - "line": 26, - "column": 39 + "line": 27, + "column": 37 } }, "left": { "type": "Identifier", - "start": 1003, - "end": 1012, + "start": 1060, + "end": 1069, "loc": { "start": { - "line": 26, - "column": 23 + "line": 27, + "column": 21 }, "end": { - "line": 26, - "column": 32 + "line": 27, + "column": 30 }, "identifierName": "territory" }, @@ -1028,16 +1095,16 @@ }, "right": { "type": "StringLiteral", - "start": 1015, - "end": 1019, + "start": 1072, + "end": 1076, "loc": { "start": { - "line": 26, - "column": 35 + "line": 27, + "column": 33 }, "end": { - "line": 26, - "column": 39 + "line": 27, + "column": 37 } }, "extra": { @@ -1050,89 +1117,89 @@ ], "body": { "type": "BlockStatement", - "start": 1021, - "end": 1136, + "start": 1078, + "end": 1174, "loc": { "start": { - "line": 26, - "column": 41 + "line": 27, + "column": 39 }, "end": { - "line": 30, - "column": 5 + "line": 31, + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 1039, - "end": 1065, + "start": 1084, + "end": 1111, "loc": { "start": { - "line": 27, - "column": 8 + "line": 28, + "column": 4 }, "end": { - "line": 27, - "column": 34 + "line": 28, + "column": 31 } }, "expression": { "type": "AssignmentExpression", - "start": 1039, - "end": 1065, + "start": 1084, + "end": 1110, "loc": { "start": { - "line": 27, - "column": 8 + "line": 28, + "column": 4 }, "end": { - "line": 27, - "column": 34 + "line": 28, + "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1039, - "end": 1053, + "start": 1084, + "end": 1098, "loc": { "start": { - "line": 27, - "column": 8 + "line": 28, + "column": 4 }, "end": { - "line": 27, - "column": 22 + "line": 28, + "column": 18 } }, "object": { "type": "ThisExpression", - "start": 1039, - "end": 1043, + "start": 1084, + "end": 1088, "loc": { "start": { - "line": 27, - "column": 8 + "line": 28, + "column": 4 }, "end": { - "line": 27, - "column": 12 + "line": 28, + "column": 8 } } }, "property": { "type": "Identifier", - "start": 1044, - "end": 1053, + "start": 1089, + "end": 1098, "loc": { "start": { - "line": 27, - "column": 13 + "line": 28, + "column": 9 }, "end": { - "line": 27, - "column": 22 + "line": 28, + "column": 18 }, "identifierName": "territory" }, @@ -1142,16 +1209,16 @@ }, "right": { "type": "Identifier", - "start": 1056, - "end": 1065, + "start": 1101, + "end": 1110, "loc": { "start": { - "line": 27, - "column": 25 + "line": 28, + "column": 21 }, "end": { - "line": 27, - "column": 34 + "line": 28, + "column": 30 }, "identifierName": "territory" }, @@ -1161,74 +1228,74 @@ }, { "type": "ExpressionStatement", - "start": 1074, - "end": 1101, + "start": 1116, + "end": 1144, "loc": { "start": { - "line": 28, - "column": 8 + "line": 29, + "column": 4 }, "end": { - "line": 28, - "column": 35 + "line": 29, + "column": 32 } }, "expression": { "type": "AssignmentExpression", - "start": 1074, - "end": 1101, + "start": 1116, + "end": 1143, "loc": { "start": { - "line": 28, - "column": 8 + "line": 29, + "column": 4 }, "end": { - "line": 28, - "column": 35 + "line": 29, + "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1074, - "end": 1089, + "start": 1116, + "end": 1131, "loc": { "start": { - "line": 28, - "column": 8 + "line": 29, + "column": 4 }, "end": { - "line": 28, - "column": 23 + "line": 29, + "column": 19 } }, "object": { "type": "ThisExpression", - "start": 1074, - "end": 1078, + "start": 1116, + "end": 1120, "loc": { "start": { - "line": 28, - "column": 8 + "line": 29, + "column": 4 }, "end": { - "line": 28, - "column": 12 + "line": 29, + "column": 8 } } }, "property": { "type": "Identifier", - "start": 1079, - "end": 1089, + "start": 1121, + "end": 1131, "loc": { "start": { - "line": 28, - "column": 13 + "line": 29, + "column": 9 }, "end": { - "line": 28, - "column": 23 + "line": 29, + "column": 19 }, "identifierName": "httpClient" }, @@ -1238,16 +1305,16 @@ }, "right": { "type": "Identifier", - "start": 1092, - "end": 1101, + "start": 1134, + "end": 1143, "loc": { "start": { - "line": 28, - "column": 26 + "line": 29, + "column": 22 }, "end": { - "line": 28, - "column": 35 + "line": 29, + "column": 31 }, "identifierName": "undefined" }, @@ -1257,73 +1324,73 @@ }, { "type": "ExpressionStatement", - "start": 1110, - "end": 1130, + "start": 1149, + "end": 1170, "loc": { "start": { - "line": 29, - "column": 8 + "line": 30, + "column": 4 }, "end": { - "line": 29, - "column": 28 + "line": 30, + "column": 25 } }, "expression": { "type": "CallExpression", - "start": 1110, - "end": 1130, + "start": 1149, + "end": 1169, "loc": { "start": { - "line": 29, - "column": 8 + "line": 30, + "column": 4 }, "end": { - "line": 29, - "column": 28 + "line": 30, + "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 1110, - "end": 1123, + "start": 1149, + "end": 1162, "loc": { "start": { - "line": 29, - "column": 8 + "line": 30, + "column": 4 }, "end": { - "line": 29, - "column": 21 + "line": 30, + "column": 17 } }, "object": { "type": "ThisExpression", - "start": 1110, - "end": 1114, + "start": 1149, + "end": 1153, "loc": { "start": { - "line": 29, - "column": 8 + "line": 30, + "column": 4 }, "end": { - "line": 29, - "column": 12 + "line": 30, + "column": 8 } } }, "property": { "type": "Identifier", - "start": 1115, - "end": 1123, + "start": 1154, + "end": 1162, "loc": { "start": { - "line": 29, - "column": 13 + "line": 30, + "column": 9 }, "end": { - "line": 29, - "column": 21 + "line": 30, + "column": 17 }, "identifierName": "setToken" }, @@ -1334,16 +1401,16 @@ "arguments": [ { "type": "Identifier", - "start": 1124, - "end": 1129, + "start": 1163, + "end": 1168, "loc": { "start": { - "line": 29, - "column": 22 + "line": 30, + "column": 18 }, "end": { - "line": 29, - "column": 27 + "line": 30, + "column": 23 }, "identifierName": "token" }, @@ -1359,17 +1426,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Need access token to initialize.\n *\n * @param {string} token - Get via Auth.\n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.\n * @example new Api(token)\n * @example new Api(token, 'TW')\n ", - "start": 702, - "end": 979, + "value": "*\n * Need access token to initialize.\n *\n * @param {string} token - Get via Auth.\n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.\n * @example new Api(token);\n * @example new Api(token, 'TW');\n ", + "start": 773, + "end": 1038, "loc": { "start": { - "line": 18, - "column": 4 + "line": 19, + "column": 2 }, "end": { - "line": 25, - "column": 7 + "line": 26, + "column": 5 } } } @@ -1377,17 +1444,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Set new token and create fetchers with the new token.\n *\n * @param {string} token - Get via Auth.\n * @example api.setToken(token)\n ", - "start": 1142, - "end": 1302, + "value": "*\n * Set new token and create fetchers with the new token.\n *\n * @param {string} token - Get via Auth.\n * @example api.setToken(token);\n ", + "start": 1178, + "end": 1329, "loc": { "start": { - "line": 32, - "column": 4 + "line": 33, + "column": 2 }, "end": { - "line": 37, - "column": 7 + "line": 38, + "column": 5 } } } @@ -1395,38 +1462,38 @@ }, { "type": "ClassMethod", - "start": 1307, - "end": 3099, + "start": 1332, + "end": 3195, "loc": { "start": { - "line": 38, - "column": 4 + "line": 39, + "column": 2 }, "end": { - "line": 95, - "column": 5 + "line": 122, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 1307, - "end": 1315, + "start": 1332, + "end": 1340, "loc": { "start": { - "line": 38, - "column": 4 + "line": 39, + "column": 2 }, "end": { - "line": 38, - "column": 12 + "line": 39, + "column": 10 }, "identifierName": "setToken" }, "name": "setToken", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -1435,16 +1502,16 @@ "params": [ { "type": "Identifier", - "start": 1316, - "end": 1321, + "start": 1341, + "end": 1346, "loc": { "start": { - "line": 38, - "column": 13 + "line": 39, + "column": 11 }, "end": { - "line": 38, - "column": 18 + "line": 39, + "column": 16 }, "identifierName": "token" }, @@ -1453,89 +1520,89 @@ ], "body": { "type": "BlockStatement", - "start": 1323, - "end": 3099, + "start": 1348, + "end": 3195, "loc": { "start": { - "line": 38, - "column": 20 + "line": 39, + "column": 18 }, "end": { - "line": 95, - "column": 5 + "line": 122, + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 1333, - "end": 1372, + "start": 1354, + "end": 1394, "loc": { "start": { - "line": 39, - "column": 8 + "line": 40, + "column": 4 }, "end": { - "line": 39, - "column": 47 + "line": 40, + "column": 44 } }, "expression": { "type": "AssignmentExpression", - "start": 1333, - "end": 1372, + "start": 1354, + "end": 1393, "loc": { "start": { - "line": 39, - "column": 8 + "line": 40, + "column": 4 }, "end": { - "line": 39, - "column": 47 + "line": 40, + "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1333, - "end": 1348, + "start": 1354, + "end": 1369, "loc": { "start": { - "line": 39, - "column": 8 + "line": 40, + "column": 4 }, "end": { - "line": 39, - "column": 23 + "line": 40, + "column": 19 } }, "object": { "type": "ThisExpression", - "start": 1333, - "end": 1337, + "start": 1354, + "end": 1358, "loc": { "start": { - "line": 39, - "column": 8 + "line": 40, + "column": 4 }, "end": { - "line": 39, - "column": 12 + "line": 40, + "column": 8 } } }, "property": { "type": "Identifier", - "start": 1338, - "end": 1348, + "start": 1359, + "end": 1369, "loc": { "start": { - "line": 39, - "column": 13 + "line": 40, + "column": 9 }, "end": { - "line": 39, - "column": 23 + "line": 40, + "column": 19 }, "identifierName": "httpClient" }, @@ -1545,30 +1612,30 @@ }, "right": { "type": "NewExpression", - "start": 1351, - "end": 1372, + "start": 1372, + "end": 1393, "loc": { "start": { - "line": 39, - "column": 26 + "line": 40, + "column": 22 }, "end": { - "line": 39, - "column": 47 + "line": 40, + "column": 43 } }, "callee": { "type": "Identifier", - "start": 1355, - "end": 1365, + "start": 1376, + "end": 1386, "loc": { "start": { - "line": 39, - "column": 30 + "line": 40, + "column": 26 }, "end": { - "line": 39, - "column": 40 + "line": 40, + "column": 36 }, "identifierName": "HttpClient" }, @@ -1577,40 +1644,38 @@ "arguments": [ { "type": "Identifier", - "start": 1366, - "end": 1371, + "start": 1387, + "end": 1392, "loc": { "start": { - "line": 39, - "column": 41 + "line": 40, + "column": 37 }, "end": { - "line": 39, - "column": 46 + "line": 40, + "column": 42 }, "identifierName": "token" }, "name": "token" } - ], - "trailingComments": null - }, - "trailingComments": null + ] + } }, "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * @type {SearchFetcher}\n ", - "start": 1382, - "end": 1430, + "value": "*\n * @type {SearchFetcher}\n ", + "start": 1400, + "end": 1440, "loc": { "start": { - "line": 41, - "column": 8 + "line": 42, + "column": 4 }, "end": { - "line": 43, - "column": 11 + "line": 44, + "column": 7 } } } @@ -1618,75 +1683,75 @@ }, { "type": "ExpressionStatement", - "start": 1439, - "end": 1510, + "start": 1445, + "end": 1517, "loc": { "start": { - "line": 44, - "column": 8 + "line": 45, + "column": 4 }, "end": { - "line": 44, - "column": 79 + "line": 45, + "column": 76 } }, "expression": { "type": "AssignmentExpression", - "start": 1439, - "end": 1510, + "start": 1445, + "end": 1516, "loc": { "start": { - "line": 44, - "column": 8 + "line": 45, + "column": 4 }, "end": { - "line": 44, - "column": 79 + "line": 45, + "column": 75 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1439, - "end": 1457, + "start": 1445, + "end": 1463, "loc": { "start": { - "line": 44, - "column": 8 + "line": 45, + "column": 4 }, "end": { - "line": 44, - "column": 26 + "line": 45, + "column": 22 } }, "object": { "type": "ThisExpression", - "start": 1439, - "end": 1443, + "start": 1445, + "end": 1449, "loc": { "start": { - "line": 44, - "column": 8 + "line": 45, + "column": 4 }, "end": { - "line": 44, - "column": 12 + "line": 45, + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 1444, - "end": 1457, + "start": 1450, + "end": 1463, "loc": { "start": { - "line": 44, - "column": 13 + "line": 45, + "column": 9 }, "end": { - "line": 44, - "column": 26 + "line": 45, + "column": 22 }, "identifierName": "searchFetcher" }, @@ -1697,30 +1762,30 @@ }, "right": { "type": "NewExpression", - "start": 1460, - "end": 1510, + "start": 1466, + "end": 1516, "loc": { "start": { - "line": 44, - "column": 29 + "line": 45, + "column": 25 }, "end": { - "line": 44, - "column": 79 + "line": 45, + "column": 75 } }, "callee": { "type": "Identifier", - "start": 1464, - "end": 1477, + "start": 1470, + "end": 1483, "loc": { "start": { - "line": 44, - "column": 33 + "line": 45, + "column": 29 }, "end": { - "line": 44, - "column": 46 + "line": 45, + "column": 42 }, "identifierName": "SearchFetcher" }, @@ -1729,45 +1794,45 @@ "arguments": [ { "type": "MemberExpression", - "start": 1478, - "end": 1493, + "start": 1484, + "end": 1499, "loc": { "start": { - "line": 44, - "column": 47 + "line": 45, + "column": 43 }, "end": { - "line": 44, - "column": 62 + "line": 45, + "column": 58 } }, "object": { "type": "ThisExpression", - "start": 1478, - "end": 1482, + "start": 1484, + "end": 1488, "loc": { "start": { - "line": 44, - "column": 47 + "line": 45, + "column": 43 }, "end": { - "line": 44, - "column": 51 + "line": 45, + "column": 47 } } }, "property": { "type": "Identifier", - "start": 1483, - "end": 1493, + "start": 1489, + "end": 1499, "loc": { "start": { - "line": 44, - "column": 52 + "line": 45, + "column": 48 }, "end": { - "line": 44, - "column": 62 + "line": 45, + "column": 58 }, "identifierName": "httpClient" }, @@ -1777,45 +1842,45 @@ }, { "type": "MemberExpression", - "start": 1495, - "end": 1509, + "start": 1501, + "end": 1515, "loc": { "start": { - "line": 44, - "column": 64 + "line": 45, + "column": 60 }, "end": { - "line": 44, - "column": 78 + "line": 45, + "column": 74 } }, "object": { "type": "ThisExpression", - "start": 1495, - "end": 1499, + "start": 1501, + "end": 1505, "loc": { "start": { - "line": 44, - "column": 64 + "line": 45, + "column": 60 }, "end": { - "line": 44, - "column": 68 + "line": 45, + "column": 64 } } }, "property": { "type": "Identifier", - "start": 1500, - "end": 1509, + "start": 1506, + "end": 1515, "loc": { "start": { - "line": 44, - "column": 69 + "line": 45, + "column": 65 }, "end": { - "line": 44, - "column": 78 + "line": 45, + "column": 74 }, "identifierName": "territory" }, @@ -1823,26 +1888,24 @@ }, "computed": false } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @type {SearchFetcher}\n ", - "start": 1382, - "end": 1430, + "value": "*\n * @type {SearchFetcher}\n ", + "start": 1400, + "end": 1440, "loc": { "start": { - "line": 41, - "column": 8 + "line": 42, + "column": 4 }, "end": { - "line": 43, - "column": 11 + "line": 44, + "column": 7 } } } @@ -1850,17 +1913,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * @type {TrackFetcher}\n ", - "start": 1520, - "end": 1567, + "value": "*\n * @type {TrackFetcher}\n ", + "start": 1523, + "end": 1562, "loc": { "start": { - "line": 46, - "column": 8 + "line": 47, + "column": 4 }, "end": { - "line": 48, - "column": 11 + "line": 49, + "column": 7 } } } @@ -1868,75 +1931,75 @@ }, { "type": "ExpressionStatement", - "start": 1576, - "end": 1645, + "start": 1567, + "end": 1637, "loc": { "start": { - "line": 49, - "column": 8 + "line": 50, + "column": 4 }, "end": { - "line": 49, - "column": 77 + "line": 50, + "column": 74 } }, "expression": { "type": "AssignmentExpression", - "start": 1576, - "end": 1645, + "start": 1567, + "end": 1636, "loc": { "start": { - "line": 49, - "column": 8 + "line": 50, + "column": 4 }, "end": { - "line": 49, - "column": 77 + "line": 50, + "column": 73 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1576, - "end": 1593, + "start": 1567, + "end": 1584, "loc": { "start": { - "line": 49, - "column": 8 + "line": 50, + "column": 4 }, "end": { - "line": 49, - "column": 25 + "line": 50, + "column": 21 } }, "object": { "type": "ThisExpression", - "start": 1576, - "end": 1580, + "start": 1567, + "end": 1571, "loc": { "start": { - "line": 49, - "column": 8 + "line": 50, + "column": 4 }, "end": { - "line": 49, - "column": 12 + "line": 50, + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 1581, - "end": 1593, + "start": 1572, + "end": 1584, "loc": { "start": { - "line": 49, - "column": 13 + "line": 50, + "column": 9 }, "end": { - "line": 49, - "column": 25 + "line": 50, + "column": 21 }, "identifierName": "trackFetcher" }, @@ -1947,30 +2010,30 @@ }, "right": { "type": "NewExpression", - "start": 1596, - "end": 1645, + "start": 1587, + "end": 1636, "loc": { "start": { - "line": 49, - "column": 28 + "line": 50, + "column": 24 }, "end": { - "line": 49, - "column": 77 + "line": 50, + "column": 73 } }, "callee": { "type": "Identifier", - "start": 1600, - "end": 1612, + "start": 1591, + "end": 1603, "loc": { "start": { - "line": 49, - "column": 32 + "line": 50, + "column": 28 }, "end": { - "line": 49, - "column": 44 + "line": 50, + "column": 40 }, "identifierName": "TrackFetcher" }, @@ -1979,45 +2042,45 @@ "arguments": [ { "type": "MemberExpression", - "start": 1613, - "end": 1628, + "start": 1604, + "end": 1619, "loc": { "start": { - "line": 49, - "column": 45 + "line": 50, + "column": 41 }, "end": { - "line": 49, - "column": 60 + "line": 50, + "column": 56 } }, "object": { "type": "ThisExpression", - "start": 1613, - "end": 1617, + "start": 1604, + "end": 1608, "loc": { "start": { - "line": 49, - "column": 45 + "line": 50, + "column": 41 }, "end": { - "line": 49, - "column": 49 + "line": 50, + "column": 45 } } }, "property": { "type": "Identifier", - "start": 1618, - "end": 1628, + "start": 1609, + "end": 1619, "loc": { "start": { - "line": 49, - "column": 50 + "line": 50, + "column": 46 }, "end": { - "line": 49, - "column": 60 + "line": 50, + "column": 56 }, "identifierName": "httpClient" }, @@ -2027,45 +2090,45 @@ }, { "type": "MemberExpression", - "start": 1630, - "end": 1644, + "start": 1621, + "end": 1635, "loc": { "start": { - "line": 49, - "column": 62 + "line": 50, + "column": 58 }, "end": { - "line": 49, - "column": 76 + "line": 50, + "column": 72 } }, "object": { "type": "ThisExpression", - "start": 1630, - "end": 1634, + "start": 1621, + "end": 1625, "loc": { "start": { - "line": 49, - "column": 62 + "line": 50, + "column": 58 }, "end": { - "line": 49, - "column": 66 + "line": 50, + "column": 62 } } }, "property": { "type": "Identifier", - "start": 1635, - "end": 1644, + "start": 1626, + "end": 1635, "loc": { "start": { - "line": 49, - "column": 67 + "line": 50, + "column": 63 }, "end": { - "line": 49, - "column": 76 + "line": 50, + "column": 72 }, "identifierName": "territory" }, @@ -2073,26 +2136,24 @@ }, "computed": false } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @type {TrackFetcher}\n ", - "start": 1520, - "end": 1567, + "value": "*\n * @type {TrackFetcher}\n ", + "start": 1523, + "end": 1562, "loc": { "start": { - "line": 46, - "column": 8 + "line": 47, + "column": 4 }, "end": { - "line": 48, - "column": 11 + "line": 49, + "column": 7 } } } @@ -2100,17 +2161,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * @type {AlbumFetcher}\n ", - "start": 1655, - "end": 1702, + "value": "*\n * @type {AlbumFetcher}\n ", + "start": 1643, + "end": 1682, "loc": { "start": { - "line": 51, - "column": 8 + "line": 52, + "column": 4 }, "end": { - "line": 53, - "column": 11 + "line": 54, + "column": 7 } } } @@ -2118,75 +2179,75 @@ }, { "type": "ExpressionStatement", - "start": 1711, - "end": 1780, + "start": 1687, + "end": 1757, "loc": { "start": { - "line": 54, - "column": 8 + "line": 55, + "column": 4 }, "end": { - "line": 54, - "column": 77 + "line": 55, + "column": 74 } }, "expression": { "type": "AssignmentExpression", - "start": 1711, - "end": 1780, + "start": 1687, + "end": 1756, "loc": { "start": { - "line": 54, - "column": 8 + "line": 55, + "column": 4 }, "end": { - "line": 54, - "column": 77 + "line": 55, + "column": 73 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1711, - "end": 1728, + "start": 1687, + "end": 1704, "loc": { "start": { - "line": 54, - "column": 8 + "line": 55, + "column": 4 }, "end": { - "line": 54, - "column": 25 + "line": 55, + "column": 21 } }, "object": { "type": "ThisExpression", - "start": 1711, - "end": 1715, + "start": 1687, + "end": 1691, "loc": { "start": { - "line": 54, - "column": 8 + "line": 55, + "column": 4 }, "end": { - "line": 54, - "column": 12 + "line": 55, + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 1716, - "end": 1728, + "start": 1692, + "end": 1704, "loc": { "start": { - "line": 54, - "column": 13 + "line": 55, + "column": 9 }, "end": { - "line": 54, - "column": 25 + "line": 55, + "column": 21 }, "identifierName": "albumFetcher" }, @@ -2197,30 +2258,30 @@ }, "right": { "type": "NewExpression", - "start": 1731, - "end": 1780, + "start": 1707, + "end": 1756, "loc": { "start": { - "line": 54, - "column": 28 + "line": 55, + "column": 24 }, "end": { - "line": 54, - "column": 77 + "line": 55, + "column": 73 } }, "callee": { "type": "Identifier", - "start": 1735, - "end": 1747, + "start": 1711, + "end": 1723, "loc": { "start": { - "line": 54, - "column": 32 + "line": 55, + "column": 28 }, "end": { - "line": 54, - "column": 44 + "line": 55, + "column": 40 }, "identifierName": "AlbumFetcher" }, @@ -2229,45 +2290,45 @@ "arguments": [ { "type": "MemberExpression", - "start": 1748, - "end": 1763, + "start": 1724, + "end": 1739, "loc": { "start": { - "line": 54, - "column": 45 + "line": 55, + "column": 41 }, "end": { - "line": 54, - "column": 60 + "line": 55, + "column": 56 } }, "object": { "type": "ThisExpression", - "start": 1748, - "end": 1752, + "start": 1724, + "end": 1728, "loc": { "start": { - "line": 54, - "column": 45 + "line": 55, + "column": 41 }, "end": { - "line": 54, - "column": 49 + "line": 55, + "column": 45 } } }, "property": { "type": "Identifier", - "start": 1753, - "end": 1763, + "start": 1729, + "end": 1739, "loc": { "start": { - "line": 54, - "column": 50 + "line": 55, + "column": 46 }, "end": { - "line": 54, - "column": 60 + "line": 55, + "column": 56 }, "identifierName": "httpClient" }, @@ -2277,45 +2338,45 @@ }, { "type": "MemberExpression", - "start": 1765, - "end": 1779, + "start": 1741, + "end": 1755, "loc": { "start": { - "line": 54, - "column": 62 + "line": 55, + "column": 58 }, "end": { - "line": 54, - "column": 76 + "line": 55, + "column": 72 } }, "object": { "type": "ThisExpression", - "start": 1765, - "end": 1769, + "start": 1741, + "end": 1745, "loc": { "start": { - "line": 54, - "column": 62 + "line": 55, + "column": 58 }, "end": { - "line": 54, - "column": 66 + "line": 55, + "column": 62 } } }, "property": { "type": "Identifier", - "start": 1770, - "end": 1779, + "start": 1746, + "end": 1755, "loc": { "start": { - "line": 54, - "column": 67 + "line": 55, + "column": 63 }, "end": { - "line": 54, - "column": 76 + "line": 55, + "column": 72 }, "identifierName": "territory" }, @@ -2323,26 +2384,24 @@ }, "computed": false } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @type {AlbumFetcher}\n ", - "start": 1655, - "end": 1702, + "value": "*\n * @type {AlbumFetcher}\n ", + "start": 1643, + "end": 1682, "loc": { "start": { - "line": 51, - "column": 8 + "line": 52, + "column": 4 }, "end": { - "line": 53, - "column": 11 + "line": 54, + "column": 7 } } } @@ -2350,17 +2409,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * @type {ArtistFetcher}\n ", - "start": 1790, - "end": 1838, + "value": "*\n * @type {ArtistFetcher}\n ", + "start": 1763, + "end": 1803, "loc": { "start": { - "line": 56, - "column": 8 + "line": 57, + "column": 4 }, "end": { - "line": 58, - "column": 11 + "line": 59, + "column": 7 } } } @@ -2368,75 +2427,75 @@ }, { "type": "ExpressionStatement", - "start": 1847, - "end": 1918, + "start": 1808, + "end": 1880, "loc": { "start": { - "line": 59, - "column": 8 + "line": 60, + "column": 4 }, "end": { - "line": 59, - "column": 79 + "line": 60, + "column": 76 } }, "expression": { "type": "AssignmentExpression", - "start": 1847, - "end": 1918, + "start": 1808, + "end": 1879, "loc": { "start": { - "line": 59, - "column": 8 + "line": 60, + "column": 4 }, "end": { - "line": 59, - "column": 79 + "line": 60, + "column": 75 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1847, - "end": 1865, + "start": 1808, + "end": 1826, "loc": { "start": { - "line": 59, - "column": 8 + "line": 60, + "column": 4 }, "end": { - "line": 59, - "column": 26 + "line": 60, + "column": 22 } }, "object": { "type": "ThisExpression", - "start": 1847, - "end": 1851, + "start": 1808, + "end": 1812, "loc": { "start": { - "line": 59, - "column": 8 + "line": 60, + "column": 4 }, "end": { - "line": 59, - "column": 12 + "line": 60, + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 1852, - "end": 1865, + "start": 1813, + "end": 1826, "loc": { "start": { - "line": 59, - "column": 13 + "line": 60, + "column": 9 }, "end": { - "line": 59, - "column": 26 + "line": 60, + "column": 22 }, "identifierName": "artistFetcher" }, @@ -2447,30 +2506,30 @@ }, "right": { "type": "NewExpression", - "start": 1868, - "end": 1918, + "start": 1829, + "end": 1879, "loc": { "start": { - "line": 59, - "column": 29 + "line": 60, + "column": 25 }, "end": { - "line": 59, - "column": 79 + "line": 60, + "column": 75 } }, "callee": { "type": "Identifier", - "start": 1872, - "end": 1885, + "start": 1833, + "end": 1846, "loc": { "start": { - "line": 59, - "column": 33 + "line": 60, + "column": 29 }, "end": { - "line": 59, - "column": 46 + "line": 60, + "column": 42 }, "identifierName": "ArtistFetcher" }, @@ -2479,45 +2538,45 @@ "arguments": [ { "type": "MemberExpression", - "start": 1886, - "end": 1901, + "start": 1847, + "end": 1862, "loc": { "start": { - "line": 59, - "column": 47 + "line": 60, + "column": 43 }, "end": { - "line": 59, - "column": 62 + "line": 60, + "column": 58 } }, "object": { "type": "ThisExpression", - "start": 1886, - "end": 1890, + "start": 1847, + "end": 1851, "loc": { "start": { - "line": 59, - "column": 47 + "line": 60, + "column": 43 }, "end": { - "line": 59, - "column": 51 + "line": 60, + "column": 47 } } }, "property": { "type": "Identifier", - "start": 1891, - "end": 1901, + "start": 1852, + "end": 1862, "loc": { "start": { - "line": 59, - "column": 52 + "line": 60, + "column": 48 }, "end": { - "line": 59, - "column": 62 + "line": 60, + "column": 58 }, "identifierName": "httpClient" }, @@ -2527,45 +2586,45 @@ }, { "type": "MemberExpression", - "start": 1903, - "end": 1917, + "start": 1864, + "end": 1878, "loc": { "start": { - "line": 59, - "column": 64 + "line": 60, + "column": 60 }, "end": { - "line": 59, - "column": 78 + "line": 60, + "column": 74 } }, "object": { "type": "ThisExpression", - "start": 1903, - "end": 1907, + "start": 1864, + "end": 1868, "loc": { "start": { - "line": 59, - "column": 64 + "line": 60, + "column": 60 }, "end": { - "line": 59, - "column": 68 + "line": 60, + "column": 64 } } }, "property": { "type": "Identifier", - "start": 1908, - "end": 1917, + "start": 1869, + "end": 1878, "loc": { "start": { - "line": 59, - "column": 69 + "line": 60, + "column": 65 }, "end": { - "line": 59, - "column": 78 + "line": 60, + "column": 74 }, "identifierName": "territory" }, @@ -2573,26 +2632,24 @@ }, "computed": false } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @type {ArtistFetcher}\n ", - "start": 1790, - "end": 1838, + "value": "*\n * @type {ArtistFetcher}\n ", + "start": 1763, + "end": 1803, "loc": { "start": { - "line": 56, - "column": 8 + "line": 57, + "column": 4 }, "end": { - "line": 58, - "column": 11 + "line": 59, + "column": 7 } } } @@ -2600,17 +2657,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * @type {FeaturedPlaylistFetcher}\n ", - "start": 1928, - "end": 1986, + "value": "*\n * @type {FeaturedPlaylistFetcher}\n ", + "start": 1886, + "end": 1936, "loc": { "start": { - "line": 61, - "column": 8 + "line": 62, + "column": 4 }, "end": { - "line": 63, - "column": 11 + "line": 64, + "column": 7 } } } @@ -2618,75 +2675,75 @@ }, { "type": "ExpressionStatement", - "start": 1995, - "end": 2086, + "start": 1941, + "end": 2051, "loc": { "start": { - "line": 64, - "column": 8 + "line": 65, + "column": 4 }, "end": { - "line": 64, - "column": 99 + "line": 68, + "column": 6 } }, "expression": { "type": "AssignmentExpression", - "start": 1995, - "end": 2086, + "start": 1941, + "end": 2050, "loc": { "start": { - "line": 64, - "column": 8 + "line": 65, + "column": 4 }, "end": { - "line": 64, - "column": 99 + "line": 68, + "column": 5 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1995, - "end": 2023, + "start": 1941, + "end": 1969, "loc": { "start": { - "line": 64, - "column": 8 + "line": 65, + "column": 4 }, "end": { - "line": 64, - "column": 36 + "line": 65, + "column": 32 } }, "object": { "type": "ThisExpression", - "start": 1995, - "end": 1999, + "start": 1941, + "end": 1945, "loc": { "start": { - "line": 64, - "column": 8 + "line": 65, + "column": 4 }, "end": { - "line": 64, - "column": 12 + "line": 65, + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 2000, - "end": 2023, + "start": 1946, + "end": 1969, "loc": { "start": { - "line": 64, - "column": 13 + "line": 65, + "column": 9 }, "end": { - "line": 64, - "column": 36 + "line": 65, + "column": 32 }, "identifierName": "featuredPlaylistFetcher" }, @@ -2697,30 +2754,30 @@ }, "right": { "type": "NewExpression", - "start": 2026, - "end": 2086, + "start": 1972, + "end": 2050, "loc": { "start": { - "line": 64, - "column": 39 + "line": 65, + "column": 35 }, "end": { - "line": 64, - "column": 99 + "line": 68, + "column": 5 } }, "callee": { "type": "Identifier", - "start": 2030, - "end": 2053, + "start": 1976, + "end": 1999, "loc": { "start": { - "line": 64, - "column": 43 + "line": 65, + "column": 39 }, "end": { - "line": 64, - "column": 66 + "line": 65, + "column": 62 }, "identifierName": "FeaturedPlaylistFetcher" }, @@ -2729,45 +2786,45 @@ "arguments": [ { "type": "MemberExpression", - "start": 2054, - "end": 2069, + "start": 2007, + "end": 2022, "loc": { "start": { - "line": 64, - "column": 67 + "line": 66, + "column": 6 }, "end": { - "line": 64, - "column": 82 + "line": 66, + "column": 21 } }, "object": { "type": "ThisExpression", - "start": 2054, - "end": 2058, + "start": 2007, + "end": 2011, "loc": { "start": { - "line": 64, - "column": 67 + "line": 66, + "column": 6 }, "end": { - "line": 64, - "column": 71 + "line": 66, + "column": 10 } } }, "property": { "type": "Identifier", - "start": 2059, - "end": 2069, + "start": 2012, + "end": 2022, "loc": { "start": { - "line": 64, - "column": 72 + "line": 66, + "column": 11 }, "end": { - "line": 64, - "column": 82 + "line": 66, + "column": 21 }, "identifierName": "httpClient" }, @@ -2777,45 +2834,45 @@ }, { "type": "MemberExpression", - "start": 2071, - "end": 2085, + "start": 2030, + "end": 2044, "loc": { "start": { - "line": 64, - "column": 84 + "line": 67, + "column": 6 }, "end": { - "line": 64, - "column": 98 + "line": 67, + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 2071, - "end": 2075, + "start": 2030, + "end": 2034, "loc": { "start": { - "line": 64, - "column": 84 + "line": 67, + "column": 6 }, "end": { - "line": 64, - "column": 88 + "line": 67, + "column": 10 } } }, "property": { "type": "Identifier", - "start": 2076, - "end": 2085, + "start": 2035, + "end": 2044, "loc": { "start": { - "line": 64, - "column": 89 + "line": 67, + "column": 11 }, "end": { - "line": 64, - "column": 98 + "line": 67, + "column": 20 }, "identifierName": "territory" }, @@ -2823,26 +2880,24 @@ }, "computed": false } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @type {FeaturedPlaylistFetcher}\n ", - "start": 1928, - "end": 1986, + "value": "*\n * @type {FeaturedPlaylistFetcher}\n ", + "start": 1886, + "end": 1936, "loc": { "start": { - "line": 61, - "column": 8 + "line": 62, + "column": 4 }, "end": { - "line": 63, - "column": 11 + "line": 64, + "column": 7 } } } @@ -2850,17 +2905,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * @type {FeaturedPlaylistCategoryFetcher}\n ", - "start": 2096, - "end": 2162, + "value": "*\n * @type {FeaturedPlaylistCategoryFetcher}\n ", + "start": 2057, + "end": 2115, "loc": { "start": { - "line": 66, - "column": 8 + "line": 70, + "column": 4 }, "end": { - "line": 68, - "column": 11 + "line": 72, + "column": 7 } } } @@ -2868,75 +2923,75 @@ }, { "type": "ExpressionStatement", - "start": 2171, - "end": 2278, + "start": 2120, + "end": 2246, "loc": { "start": { - "line": 69, - "column": 8 + "line": 73, + "column": 4 }, "end": { - "line": 69, - "column": 115 + "line": 76, + "column": 6 } }, "expression": { "type": "AssignmentExpression", - "start": 2171, - "end": 2278, + "start": 2120, + "end": 2245, "loc": { "start": { - "line": 69, - "column": 8 + "line": 73, + "column": 4 }, "end": { - "line": 69, - "column": 115 + "line": 76, + "column": 5 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 2171, - "end": 2207, + "start": 2120, + "end": 2156, "loc": { "start": { - "line": 69, - "column": 8 + "line": 73, + "column": 4 }, "end": { - "line": 69, - "column": 44 + "line": 73, + "column": 40 } }, "object": { "type": "ThisExpression", - "start": 2171, - "end": 2175, + "start": 2120, + "end": 2124, "loc": { "start": { - "line": 69, - "column": 8 + "line": 73, + "column": 4 }, "end": { - "line": 69, - "column": 12 + "line": 73, + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 2176, - "end": 2207, + "start": 2125, + "end": 2156, "loc": { "start": { - "line": 69, - "column": 13 + "line": 73, + "column": 9 }, "end": { - "line": 69, - "column": 44 + "line": 73, + "column": 40 }, "identifierName": "featuredPlaylistCategoryFetcher" }, @@ -2947,30 +3002,30 @@ }, "right": { "type": "NewExpression", - "start": 2210, - "end": 2278, + "start": 2159, + "end": 2245, "loc": { "start": { - "line": 69, - "column": 47 + "line": 73, + "column": 43 }, "end": { - "line": 69, - "column": 115 + "line": 76, + "column": 5 } }, "callee": { "type": "Identifier", - "start": 2214, - "end": 2245, + "start": 2163, + "end": 2194, "loc": { "start": { - "line": 69, - "column": 51 + "line": 73, + "column": 47 }, "end": { - "line": 69, - "column": 82 + "line": 73, + "column": 78 }, "identifierName": "FeaturedPlaylistCategoryFetcher" }, @@ -2979,45 +3034,45 @@ "arguments": [ { "type": "MemberExpression", - "start": 2246, - "end": 2261, + "start": 2202, + "end": 2217, "loc": { "start": { - "line": 69, - "column": 83 + "line": 74, + "column": 6 }, "end": { - "line": 69, - "column": 98 + "line": 74, + "column": 21 } }, "object": { "type": "ThisExpression", - "start": 2246, - "end": 2250, + "start": 2202, + "end": 2206, "loc": { "start": { - "line": 69, - "column": 83 + "line": 74, + "column": 6 }, "end": { - "line": 69, - "column": 87 + "line": 74, + "column": 10 } } }, "property": { "type": "Identifier", - "start": 2251, - "end": 2261, + "start": 2207, + "end": 2217, "loc": { "start": { - "line": 69, - "column": 88 + "line": 74, + "column": 11 }, "end": { - "line": 69, - "column": 98 + "line": 74, + "column": 21 }, "identifierName": "httpClient" }, @@ -3027,45 +3082,45 @@ }, { "type": "MemberExpression", - "start": 2263, - "end": 2277, + "start": 2225, + "end": 2239, "loc": { "start": { - "line": 69, - "column": 100 + "line": 75, + "column": 6 }, "end": { - "line": 69, - "column": 114 + "line": 75, + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 2263, - "end": 2267, + "start": 2225, + "end": 2229, "loc": { "start": { - "line": 69, - "column": 100 + "line": 75, + "column": 6 }, "end": { - "line": 69, - "column": 104 + "line": 75, + "column": 10 } } }, "property": { "type": "Identifier", - "start": 2268, - "end": 2277, + "start": 2230, + "end": 2239, "loc": { "start": { - "line": 69, - "column": 105 + "line": 75, + "column": 11 }, "end": { - "line": 69, - "column": 114 + "line": 75, + "column": 20 }, "identifierName": "territory" }, @@ -3073,26 +3128,24 @@ }, "computed": false } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @type {FeaturedPlaylistCategoryFetcher}\n ", - "start": 2096, - "end": 2162, + "value": "*\n * @type {FeaturedPlaylistCategoryFetcher}\n ", + "start": 2057, + "end": 2115, "loc": { "start": { - "line": 66, - "column": 8 + "line": 70, + "column": 4 }, "end": { - "line": 68, - "column": 11 + "line": 72, + "column": 7 } } } @@ -3100,17 +3153,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * @type {NewReleaseCategoryFetcher}\n ", - "start": 2288, - "end": 2348, + "value": "*\n * @type {NewReleaseCategoryFetcher}\n ", + "start": 2252, + "end": 2304, "loc": { "start": { - "line": 71, - "column": 8 + "line": 78, + "column": 4 }, "end": { - "line": 73, - "column": 11 + "line": 80, + "column": 7 } } } @@ -3118,75 +3171,75 @@ }, { "type": "ExpressionStatement", - "start": 2365, - "end": 2460, + "start": 2309, + "end": 2423, "loc": { "start": { - "line": 74, - "column": 8 + "line": 81, + "column": 4 }, "end": { - "line": 74, - "column": 103 + "line": 84, + "column": 6 } }, "expression": { "type": "AssignmentExpression", - "start": 2365, - "end": 2460, + "start": 2309, + "end": 2422, "loc": { "start": { - "line": 74, - "column": 8 + "line": 81, + "column": 4 }, "end": { - "line": 74, - "column": 103 + "line": 84, + "column": 5 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 2365, - "end": 2395, + "start": 2309, + "end": 2339, "loc": { "start": { - "line": 74, - "column": 8 + "line": 81, + "column": 4 }, "end": { - "line": 74, - "column": 38 + "line": 81, + "column": 34 } }, "object": { "type": "ThisExpression", - "start": 2365, - "end": 2369, + "start": 2309, + "end": 2313, "loc": { "start": { - "line": 74, - "column": 8 + "line": 81, + "column": 4 }, "end": { - "line": 74, - "column": 12 + "line": 81, + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 2370, - "end": 2395, + "start": 2314, + "end": 2339, "loc": { "start": { - "line": 74, - "column": 13 + "line": 81, + "column": 9 }, "end": { - "line": 74, - "column": 38 + "line": 81, + "column": 34 }, "identifierName": "newReleaseCategoryFetcher" }, @@ -3197,30 +3250,30 @@ }, "right": { "type": "NewExpression", - "start": 2398, - "end": 2460, + "start": 2342, + "end": 2422, "loc": { "start": { - "line": 74, - "column": 41 + "line": 81, + "column": 37 }, "end": { - "line": 74, - "column": 103 + "line": 84, + "column": 5 } }, "callee": { "type": "Identifier", - "start": 2402, - "end": 2427, + "start": 2346, + "end": 2371, "loc": { "start": { - "line": 74, - "column": 45 + "line": 81, + "column": 41 }, "end": { - "line": 74, - "column": 70 + "line": 81, + "column": 66 }, "identifierName": "NewReleaseCategoryFetcher" }, @@ -3229,45 +3282,45 @@ "arguments": [ { "type": "MemberExpression", - "start": 2428, - "end": 2443, + "start": 2379, + "end": 2394, "loc": { "start": { - "line": 74, - "column": 71 + "line": 82, + "column": 6 }, "end": { - "line": 74, - "column": 86 + "line": 82, + "column": 21 } }, "object": { "type": "ThisExpression", - "start": 2428, - "end": 2432, + "start": 2379, + "end": 2383, "loc": { "start": { - "line": 74, - "column": 71 + "line": 82, + "column": 6 }, "end": { - "line": 74, - "column": 75 + "line": 82, + "column": 10 } } }, "property": { "type": "Identifier", - "start": 2433, - "end": 2443, + "start": 2384, + "end": 2394, "loc": { "start": { - "line": 74, - "column": 76 + "line": 82, + "column": 11 }, "end": { - "line": 74, - "column": 86 + "line": 82, + "column": 21 }, "identifierName": "httpClient" }, @@ -3277,45 +3330,45 @@ }, { "type": "MemberExpression", - "start": 2445, - "end": 2459, + "start": 2402, + "end": 2416, "loc": { "start": { - "line": 74, - "column": 88 + "line": 83, + "column": 6 }, "end": { - "line": 74, - "column": 102 + "line": 83, + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 2445, - "end": 2449, + "start": 2402, + "end": 2406, "loc": { "start": { - "line": 74, - "column": 88 + "line": 83, + "column": 6 }, "end": { - "line": 74, - "column": 92 + "line": 83, + "column": 10 } } }, "property": { "type": "Identifier", - "start": 2450, - "end": 2459, + "start": 2407, + "end": 2416, "loc": { "start": { - "line": 74, - "column": 93 + "line": 83, + "column": 11 }, "end": { - "line": 74, - "column": 102 + "line": 83, + "column": 20 }, "identifierName": "territory" }, @@ -3323,26 +3376,24 @@ }, "computed": false } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @type {NewReleaseCategoryFetcher}\n ", - "start": 2288, - "end": 2348, + "value": "*\n * @type {NewReleaseCategoryFetcher}\n ", + "start": 2252, + "end": 2304, "loc": { "start": { - "line": 71, - "column": 8 + "line": 78, + "column": 4 }, "end": { - "line": 73, - "column": 11 + "line": 80, + "column": 7 } } } @@ -3350,17 +3401,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * @type {NewHitsPlaylistFetcher}\n ", - "start": 2470, - "end": 2527, + "value": "*\n * @type {NewHitsPlaylistFetcher}\n ", + "start": 2429, + "end": 2478, "loc": { "start": { - "line": 76, - "column": 8 + "line": 86, + "column": 4 }, "end": { - "line": 78, - "column": 11 + "line": 88, + "column": 7 } } } @@ -3368,75 +3419,75 @@ }, { "type": "ExpressionStatement", - "start": 2544, - "end": 2633, + "start": 2483, + "end": 2591, "loc": { "start": { - "line": 79, - "column": 8 + "line": 89, + "column": 4 }, "end": { - "line": 79, - "column": 97 + "line": 92, + "column": 6 } }, "expression": { "type": "AssignmentExpression", - "start": 2544, - "end": 2633, + "start": 2483, + "end": 2590, "loc": { "start": { - "line": 79, - "column": 8 + "line": 89, + "column": 4 }, "end": { - "line": 79, - "column": 97 + "line": 92, + "column": 5 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 2544, - "end": 2571, + "start": 2483, + "end": 2510, "loc": { "start": { - "line": 79, - "column": 8 + "line": 89, + "column": 4 }, "end": { - "line": 79, - "column": 35 + "line": 89, + "column": 31 } }, "object": { "type": "ThisExpression", - "start": 2544, - "end": 2548, + "start": 2483, + "end": 2487, "loc": { "start": { - "line": 79, - "column": 8 + "line": 89, + "column": 4 }, "end": { - "line": 79, - "column": 12 + "line": 89, + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 2549, - "end": 2571, + "start": 2488, + "end": 2510, "loc": { "start": { - "line": 79, - "column": 13 + "line": 89, + "column": 9 }, "end": { - "line": 79, - "column": 35 + "line": 89, + "column": 31 }, "identifierName": "newHitsPlaylistFetcher" }, @@ -3447,30 +3498,30 @@ }, "right": { "type": "NewExpression", - "start": 2574, - "end": 2633, + "start": 2513, + "end": 2590, "loc": { "start": { - "line": 79, - "column": 38 + "line": 89, + "column": 34 }, "end": { - "line": 79, - "column": 97 + "line": 92, + "column": 5 } }, "callee": { "type": "Identifier", - "start": 2578, - "end": 2600, + "start": 2517, + "end": 2539, "loc": { "start": { - "line": 79, - "column": 42 + "line": 89, + "column": 38 }, "end": { - "line": 79, - "column": 64 + "line": 89, + "column": 60 }, "identifierName": "NewHitsPlaylistFetcher" }, @@ -3479,45 +3530,45 @@ "arguments": [ { "type": "MemberExpression", - "start": 2601, - "end": 2616, + "start": 2547, + "end": 2562, "loc": { "start": { - "line": 79, - "column": 65 + "line": 90, + "column": 6 }, "end": { - "line": 79, - "column": 80 + "line": 90, + "column": 21 } }, "object": { "type": "ThisExpression", - "start": 2601, - "end": 2605, + "start": 2547, + "end": 2551, "loc": { "start": { - "line": 79, - "column": 65 + "line": 90, + "column": 6 }, "end": { - "line": 79, - "column": 69 + "line": 90, + "column": 10 } } }, "property": { "type": "Identifier", - "start": 2606, - "end": 2616, + "start": 2552, + "end": 2562, "loc": { "start": { - "line": 79, - "column": 70 + "line": 90, + "column": 11 }, "end": { - "line": 79, - "column": 80 + "line": 90, + "column": 21 }, "identifierName": "httpClient" }, @@ -3527,45 +3578,45 @@ }, { "type": "MemberExpression", - "start": 2618, - "end": 2632, + "start": 2570, + "end": 2584, "loc": { "start": { - "line": 79, - "column": 82 + "line": 91, + "column": 6 }, "end": { - "line": 79, - "column": 96 + "line": 91, + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 2618, - "end": 2622, + "start": 2570, + "end": 2574, "loc": { "start": { - "line": 79, - "column": 82 + "line": 91, + "column": 6 }, "end": { - "line": 79, - "column": 86 + "line": 91, + "column": 10 } } }, "property": { "type": "Identifier", - "start": 2623, - "end": 2632, + "start": 2575, + "end": 2584, "loc": { "start": { - "line": 79, - "column": 87 + "line": 91, + "column": 11 }, "end": { - "line": 79, - "column": 96 + "line": 91, + "column": 20 }, "identifierName": "territory" }, @@ -3573,26 +3624,24 @@ }, "computed": false } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @type {NewHitsPlaylistFetcher}\n ", - "start": 2470, - "end": 2527, + "value": "*\n * @type {NewHitsPlaylistFetcher}\n ", + "start": 2429, + "end": 2478, "loc": { "start": { - "line": 76, - "column": 8 + "line": 86, + "column": 4 }, "end": { - "line": 78, - "column": 11 + "line": 88, + "column": 7 } } } @@ -3600,17 +3649,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * @type {GenreStationFetcher}\n ", - "start": 2651, - "end": 2705, + "value": "*\n * @type {GenreStationFetcher}\n ", + "start": 2597, + "end": 2643, "loc": { "start": { - "line": 81, - "column": 8 + "line": 94, + "column": 4 }, "end": { - "line": 83, - "column": 11 + "line": 96, + "column": 7 } } } @@ -3618,75 +3667,75 @@ }, { "type": "ExpressionStatement", - "start": 2714, - "end": 2797, + "start": 2648, + "end": 2750, "loc": { "start": { - "line": 84, - "column": 8 + "line": 97, + "column": 4 }, "end": { - "line": 84, - "column": 91 + "line": 100, + "column": 6 } }, "expression": { "type": "AssignmentExpression", - "start": 2714, - "end": 2797, + "start": 2648, + "end": 2749, "loc": { "start": { - "line": 84, - "column": 8 + "line": 97, + "column": 4 }, "end": { - "line": 84, - "column": 91 + "line": 100, + "column": 5 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 2714, - "end": 2738, + "start": 2648, + "end": 2672, "loc": { "start": { - "line": 84, - "column": 8 + "line": 97, + "column": 4 }, "end": { - "line": 84, - "column": 32 + "line": 97, + "column": 28 } }, "object": { "type": "ThisExpression", - "start": 2714, - "end": 2718, + "start": 2648, + "end": 2652, "loc": { "start": { - "line": 84, - "column": 8 + "line": 97, + "column": 4 }, "end": { - "line": 84, - "column": 12 + "line": 97, + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 2719, - "end": 2738, + "start": 2653, + "end": 2672, "loc": { "start": { - "line": 84, - "column": 13 + "line": 97, + "column": 9 }, "end": { - "line": 84, - "column": 32 + "line": 97, + "column": 28 }, "identifierName": "genreStationFetcher" }, @@ -3697,30 +3746,30 @@ }, "right": { "type": "NewExpression", - "start": 2741, - "end": 2797, + "start": 2675, + "end": 2749, "loc": { "start": { - "line": 84, - "column": 35 + "line": 97, + "column": 31 }, "end": { - "line": 84, - "column": 91 + "line": 100, + "column": 5 } }, "callee": { "type": "Identifier", - "start": 2745, - "end": 2764, + "start": 2679, + "end": 2698, "loc": { "start": { - "line": 84, - "column": 39 + "line": 97, + "column": 35 }, "end": { - "line": 84, - "column": 58 + "line": 97, + "column": 54 }, "identifierName": "GenreStationFetcher" }, @@ -3729,45 +3778,45 @@ "arguments": [ { "type": "MemberExpression", - "start": 2765, - "end": 2780, + "start": 2706, + "end": 2721, "loc": { "start": { - "line": 84, - "column": 59 + "line": 98, + "column": 6 }, "end": { - "line": 84, - "column": 74 + "line": 98, + "column": 21 } }, "object": { "type": "ThisExpression", - "start": 2765, - "end": 2769, + "start": 2706, + "end": 2710, "loc": { "start": { - "line": 84, - "column": 59 + "line": 98, + "column": 6 }, "end": { - "line": 84, - "column": 63 + "line": 98, + "column": 10 } } }, "property": { "type": "Identifier", - "start": 2770, - "end": 2780, + "start": 2711, + "end": 2721, "loc": { "start": { - "line": 84, - "column": 64 + "line": 98, + "column": 11 }, "end": { - "line": 84, - "column": 74 + "line": 98, + "column": 21 }, "identifierName": "httpClient" }, @@ -3777,45 +3826,45 @@ }, { "type": "MemberExpression", - "start": 2782, - "end": 2796, + "start": 2729, + "end": 2743, "loc": { "start": { - "line": 84, - "column": 76 + "line": 99, + "column": 6 }, "end": { - "line": 84, - "column": 90 + "line": 99, + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 2782, - "end": 2786, + "start": 2729, + "end": 2733, "loc": { "start": { - "line": 84, - "column": 76 + "line": 99, + "column": 6 }, "end": { - "line": 84, - "column": 80 + "line": 99, + "column": 10 } } }, "property": { "type": "Identifier", - "start": 2787, - "end": 2796, + "start": 2734, + "end": 2743, "loc": { "start": { - "line": 84, - "column": 81 + "line": 99, + "column": 11 }, "end": { - "line": 84, - "column": 90 + "line": 99, + "column": 20 }, "identifierName": "territory" }, @@ -3823,26 +3872,24 @@ }, "computed": false } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @type {GenreStationFetcher}\n ", - "start": 2651, - "end": 2705, + "value": "*\n * @type {GenreStationFetcher}\n ", + "start": 2597, + "end": 2643, "loc": { "start": { - "line": 81, - "column": 8 + "line": 94, + "column": 4 }, "end": { - "line": 83, - "column": 11 + "line": 96, + "column": 7 } } } @@ -3850,17 +3897,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * @type {MoodStationFetcher}\n ", - "start": 2807, - "end": 2860, + "value": "*\n * @type {MoodStationFetcher}\n ", + "start": 2756, + "end": 2801, "loc": { "start": { - "line": 86, - "column": 8 + "line": 102, + "column": 4 }, "end": { - "line": 88, - "column": 11 + "line": 104, + "column": 7 } } } @@ -3868,75 +3915,75 @@ }, { "type": "ExpressionStatement", - "start": 2869, - "end": 2950, + "start": 2806, + "end": 2906, "loc": { "start": { - "line": 89, - "column": 8 + "line": 105, + "column": 4 }, "end": { - "line": 89, - "column": 89 + "line": 108, + "column": 6 } }, "expression": { "type": "AssignmentExpression", - "start": 2869, - "end": 2950, + "start": 2806, + "end": 2905, "loc": { "start": { - "line": 89, - "column": 8 + "line": 105, + "column": 4 }, "end": { - "line": 89, - "column": 89 + "line": 108, + "column": 5 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 2869, - "end": 2892, + "start": 2806, + "end": 2829, "loc": { "start": { - "line": 89, - "column": 8 + "line": 105, + "column": 4 }, "end": { - "line": 89, - "column": 31 + "line": 105, + "column": 27 } }, "object": { "type": "ThisExpression", - "start": 2869, - "end": 2873, + "start": 2806, + "end": 2810, "loc": { "start": { - "line": 89, - "column": 8 + "line": 105, + "column": 4 }, "end": { - "line": 89, - "column": 12 + "line": 105, + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 2874, - "end": 2892, + "start": 2811, + "end": 2829, "loc": { "start": { - "line": 89, - "column": 13 + "line": 105, + "column": 9 }, "end": { - "line": 89, - "column": 31 + "line": 105, + "column": 27 }, "identifierName": "moodStationFetcher" }, @@ -3947,30 +3994,30 @@ }, "right": { "type": "NewExpression", - "start": 2895, - "end": 2950, + "start": 2832, + "end": 2905, "loc": { "start": { - "line": 89, - "column": 34 + "line": 105, + "column": 30 }, "end": { - "line": 89, - "column": 89 + "line": 108, + "column": 5 } }, "callee": { "type": "Identifier", - "start": 2899, - "end": 2917, + "start": 2836, + "end": 2854, "loc": { "start": { - "line": 89, - "column": 38 + "line": 105, + "column": 34 }, "end": { - "line": 89, - "column": 56 + "line": 105, + "column": 52 }, "identifierName": "MoodStationFetcher" }, @@ -3979,45 +4026,45 @@ "arguments": [ { "type": "MemberExpression", - "start": 2918, - "end": 2933, + "start": 2862, + "end": 2877, "loc": { "start": { - "line": 89, - "column": 57 + "line": 106, + "column": 6 }, "end": { - "line": 89, - "column": 72 + "line": 106, + "column": 21 } }, "object": { "type": "ThisExpression", - "start": 2918, - "end": 2922, + "start": 2862, + "end": 2866, "loc": { "start": { - "line": 89, - "column": 57 + "line": 106, + "column": 6 }, "end": { - "line": 89, - "column": 61 + "line": 106, + "column": 10 } } }, "property": { "type": "Identifier", - "start": 2923, - "end": 2933, + "start": 2867, + "end": 2877, "loc": { "start": { - "line": 89, - "column": 62 + "line": 106, + "column": 11 }, "end": { - "line": 89, - "column": 72 + "line": 106, + "column": 21 }, "identifierName": "httpClient" }, @@ -4027,45 +4074,45 @@ }, { "type": "MemberExpression", - "start": 2935, - "end": 2949, + "start": 2885, + "end": 2899, "loc": { "start": { - "line": 89, - "column": 74 + "line": 107, + "column": 6 }, "end": { - "line": 89, - "column": 88 + "line": 107, + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 2935, - "end": 2939, + "start": 2885, + "end": 2889, "loc": { "start": { - "line": 89, - "column": 74 + "line": 107, + "column": 6 }, "end": { - "line": 89, - "column": 78 + "line": 107, + "column": 10 } } }, "property": { "type": "Identifier", - "start": 2940, - "end": 2949, + "start": 2890, + "end": 2899, "loc": { "start": { - "line": 89, - "column": 79 + "line": 107, + "column": 11 }, "end": { - "line": 89, - "column": 88 + "line": 107, + "column": 20 }, "identifierName": "territory" }, @@ -4073,26 +4120,24 @@ }, "computed": false } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @type {MoodStationFetcher}\n ", - "start": 2807, - "end": 2860, + "value": "*\n * @type {MoodStationFetcher}\n ", + "start": 2756, + "end": 2801, "loc": { "start": { - "line": 86, - "column": 8 + "line": 102, + "column": 4 }, "end": { - "line": 88, - "column": 11 + "line": 104, + "column": 7 } } } @@ -4100,17 +4145,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * @type {ChartFetcher}\n ", - "start": 2960, - "end": 3007, + "value": "*\n * @type {ChartFetcher}\n ", + "start": 2912, + "end": 2951, "loc": { "start": { - "line": 91, - "column": 8 + "line": 110, + "column": 4 }, "end": { - "line": 93, - "column": 11 + "line": 112, + "column": 7 } } } @@ -4118,75 +4163,75 @@ }, { "type": "ExpressionStatement", - "start": 3016, - "end": 3085, + "start": 2956, + "end": 3026, "loc": { "start": { - "line": 94, - "column": 8 + "line": 113, + "column": 4 }, "end": { - "line": 94, - "column": 77 + "line": 113, + "column": 74 } }, "expression": { "type": "AssignmentExpression", - "start": 3016, - "end": 3085, + "start": 2956, + "end": 3025, "loc": { "start": { - "line": 94, - "column": 8 + "line": 113, + "column": 4 }, "end": { - "line": 94, - "column": 77 + "line": 113, + "column": 73 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 3016, - "end": 3033, + "start": 2956, + "end": 2973, "loc": { "start": { - "line": 94, - "column": 8 + "line": 113, + "column": 4 }, "end": { - "line": 94, - "column": 25 + "line": 113, + "column": 21 } }, "object": { "type": "ThisExpression", - "start": 3016, - "end": 3020, + "start": 2956, + "end": 2960, "loc": { "start": { - "line": 94, - "column": 8 + "line": 113, + "column": 4 }, "end": { - "line": 94, - "column": 12 + "line": 113, + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 3021, - "end": 3033, + "start": 2961, + "end": 2973, "loc": { "start": { - "line": 94, - "column": 13 + "line": 113, + "column": 9 }, "end": { - "line": 94, - "column": 25 + "line": 113, + "column": 21 }, "identifierName": "chartFetcher" }, @@ -4197,30 +4242,30 @@ }, "right": { "type": "NewExpression", - "start": 3036, - "end": 3085, + "start": 2976, + "end": 3025, "loc": { "start": { - "line": 94, - "column": 28 + "line": 113, + "column": 24 }, "end": { - "line": 94, - "column": 77 + "line": 113, + "column": 73 } }, "callee": { "type": "Identifier", - "start": 3040, - "end": 3052, + "start": 2980, + "end": 2992, "loc": { "start": { - "line": 94, - "column": 32 + "line": 113, + "column": 28 }, "end": { - "line": 94, - "column": 44 + "line": 113, + "column": 40 }, "identifierName": "ChartFetcher" }, @@ -4229,45 +4274,45 @@ "arguments": [ { "type": "MemberExpression", - "start": 3053, - "end": 3068, + "start": 2993, + "end": 3008, "loc": { "start": { - "line": 94, - "column": 45 + "line": 113, + "column": 41 }, "end": { - "line": 94, - "column": 60 + "line": 113, + "column": 56 } }, "object": { "type": "ThisExpression", - "start": 3053, - "end": 3057, + "start": 2993, + "end": 2997, "loc": { "start": { - "line": 94, - "column": 45 + "line": 113, + "column": 41 }, "end": { - "line": 94, - "column": 49 + "line": 113, + "column": 45 } } }, "property": { "type": "Identifier", - "start": 3058, - "end": 3068, + "start": 2998, + "end": 3008, "loc": { "start": { - "line": 94, - "column": 50 + "line": 113, + "column": 46 }, "end": { - "line": 94, - "column": 60 + "line": 113, + "column": 56 }, "identifierName": "httpClient" }, @@ -4277,45 +4322,45 @@ }, { "type": "MemberExpression", - "start": 3070, - "end": 3084, + "start": 3010, + "end": 3024, "loc": { "start": { - "line": 94, - "column": 62 + "line": 113, + "column": 58 }, "end": { - "line": 94, - "column": 76 + "line": 113, + "column": 72 } }, "object": { "type": "ThisExpression", - "start": 3070, - "end": 3074, + "start": 3010, + "end": 3014, "loc": { "start": { - "line": 94, - "column": 62 + "line": 113, + "column": 58 }, "end": { - "line": 94, - "column": 66 + "line": 113, + "column": 62 } } }, "property": { "type": "Identifier", - "start": 3075, - "end": 3084, + "start": 3015, + "end": 3024, "loc": { "start": { - "line": 94, - "column": 67 + "line": 113, + "column": 63 }, "end": { - "line": 94, - "column": 76 + "line": 113, + "column": 72 }, "identifierName": "territory" }, @@ -4330,321 +4375,1383 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @type {ChartFetcher}\n ", - "start": 2960, - "end": 3007, + "value": "*\n * @type {ChartFetcher}\n ", + "start": 2912, + "end": 2951, + "loc": { + "start": { + "line": 110, + "column": 4 + }, + "end": { + "line": 112, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @type {SharedPlaylistFetcher}\n ", + "start": 3032, + "end": 3080, "loc": { "start": { - "line": 91, - "column": 8 + "line": 115, + "column": 4 }, "end": { - "line": 93, - "column": 11 + "line": 117, + "column": 7 } } } ] - } - ], - "directives": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set new token and create fetchers with the new token.\n *\n * @param {string} token - Get via Auth.\n * @example api.setToken(token)\n ", - "start": 1142, - "end": 1302, - "loc": { - "start": { - "line": 32, - "column": 4 + }, + { + "type": "ExpressionStatement", + "start": 3085, + "end": 3191, + "loc": { + "start": { + "line": 118, + "column": 4 + }, + "end": { + "line": 121, + "column": 6 + } }, - "end": { - "line": 37, - "column": 7 - } - } - } - ] - } - ] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Fetch KKBOX resources.\n ", - "start": 637, - "end": 670, - "loc": { - "start": { - "line": 14, - "column": 0 - }, - "end": { - "line": 16, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Fetch KKBOX resources.\n ", - "start": 637, - "end": 670, - "loc": { - "start": { - "line": 14, - "column": 0 - }, - "end": { - "line": 16, - "column": 3 - } - } - } - ] - } - ], - "directives": [] - }, - "comments": [ - { - "type": "CommentBlock", - "value": "*\n * Fetch KKBOX resources.\n ", - "start": 637, - "end": 670, + "expression": { + "type": "AssignmentExpression", + "start": 3085, + "end": 3190, + "loc": { + "start": { + "line": 118, + "column": 4 + }, + "end": { + "line": 121, + "column": 5 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 3085, + "end": 3111, + "loc": { + "start": { + "line": 118, + "column": 4 + }, + "end": { + "line": 118, + "column": 30 + } + }, + "object": { + "type": "ThisExpression", + "start": 3085, + "end": 3089, + "loc": { + "start": { + "line": 118, + "column": 4 + }, + "end": { + "line": 118, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 3090, + "end": 3111, + "loc": { + "start": { + "line": 118, + "column": 9 + }, + "end": { + "line": 118, + "column": 30 + }, + "identifierName": "sharedPlaylistFetcher" + }, + "name": "sharedPlaylistFetcher" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "NewExpression", + "start": 3114, + "end": 3190, + "loc": { + "start": { + "line": 118, + "column": 33 + }, + "end": { + "line": 121, + "column": 5 + } + }, + "callee": { + "type": "Identifier", + "start": 3118, + "end": 3139, + "loc": { + "start": { + "line": 118, + "column": 37 + }, + "end": { + "line": 118, + "column": 58 + }, + "identifierName": "SharedPlaylistFetcher" + }, + "name": "SharedPlaylistFetcher" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 3147, + "end": 3162, + "loc": { + "start": { + "line": 119, + "column": 6 + }, + "end": { + "line": 119, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 3147, + "end": 3151, + "loc": { + "start": { + "line": 119, + "column": 6 + }, + "end": { + "line": 119, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 3152, + "end": 3162, + "loc": { + "start": { + "line": 119, + "column": 11 + }, + "end": { + "line": 119, + "column": 21 + }, + "identifierName": "httpClient" + }, + "name": "httpClient" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 3170, + "end": 3184, + "loc": { + "start": { + "line": 120, + "column": 6 + }, + "end": { + "line": 120, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 3170, + "end": 3174, + "loc": { + "start": { + "line": 120, + "column": 6 + }, + "end": { + "line": 120, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 3175, + "end": 3184, + "loc": { + "start": { + "line": 120, + "column": 11 + }, + "end": { + "line": 120, + "column": 20 + }, + "identifierName": "territory" + }, + "name": "territory" + }, + "computed": false + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @type {SharedPlaylistFetcher}\n ", + "start": 3032, + "end": 3080, + "loc": { + "start": { + "line": 115, + "column": 4 + }, + "end": { + "line": 117, + "column": 7 + } + } + } + ] + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set new token and create fetchers with the new token.\n *\n * @param {string} token - Get via Auth.\n * @example api.setToken(token);\n ", + "start": 1178, + "end": 1329, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 38, + "column": 5 + } + } + } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Fetch KKBOX resources.\n ", + "start": 710, + "end": 743, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 17, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Fetch KKBOX resources.\n ", + "start": 710, + "end": 743, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 17, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * Fetch KKBOX resources.\n ", + "start": 710, + "end": 743, "loc": { "start": { - "line": 14, + "line": 15, "column": 0 }, "end": { - "line": 16, + "line": 17, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Need access token to initialize.\n *\n * @param {string} token - Get via Auth.\n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.\n * @example new Api(token)\n * @example new Api(token, 'TW')\n ", - "start": 702, - "end": 979, + "value": "*\n * Need access token to initialize.\n *\n * @param {string} token - Get via Auth.\n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.\n * @example new Api(token);\n * @example new Api(token, 'TW');\n ", + "start": 773, + "end": 1038, "loc": { "start": { - "line": 18, + "line": 19, + "column": 2 + }, + "end": { + "line": 26, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Set new token and create fetchers with the new token.\n *\n * @param {string} token - Get via Auth.\n * @example api.setToken(token);\n ", + "start": 1178, + "end": 1329, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 38, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @type {SearchFetcher}\n ", + "start": 1400, + "end": 1440, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 44, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @type {TrackFetcher}\n ", + "start": 1523, + "end": 1562, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 49, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @type {AlbumFetcher}\n ", + "start": 1643, + "end": 1682, + "loc": { + "start": { + "line": 52, + "column": 4 + }, + "end": { + "line": 54, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @type {ArtistFetcher}\n ", + "start": 1763, + "end": 1803, + "loc": { + "start": { + "line": 57, "column": 4 }, "end": { - "line": 25, + "line": 59, "column": 7 } } }, { "type": "CommentBlock", - "value": "*\n * Set new token and create fetchers with the new token.\n *\n * @param {string} token - Get via Auth.\n * @example api.setToken(token)\n ", - "start": 1142, - "end": 1302, + "value": "*\n * @type {FeaturedPlaylistFetcher}\n ", + "start": 1886, + "end": 1936, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 64, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @type {FeaturedPlaylistCategoryFetcher}\n ", + "start": 2057, + "end": 2115, + "loc": { + "start": { + "line": 70, + "column": 4 + }, + "end": { + "line": 72, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @type {NewReleaseCategoryFetcher}\n ", + "start": 2252, + "end": 2304, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 80, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @type {NewHitsPlaylistFetcher}\n ", + "start": 2429, + "end": 2478, + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 88, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @type {GenreStationFetcher}\n ", + "start": 2597, + "end": 2643, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 96, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @type {MoodStationFetcher}\n ", + "start": 2756, + "end": 2801, + "loc": { + "start": { + "line": 102, + "column": 4 + }, + "end": { + "line": 104, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @type {ChartFetcher}\n ", + "start": 2912, + "end": 2951, + "loc": { + "start": { + "line": 110, + "column": 4 + }, + "end": { + "line": 112, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @type {SharedPlaylistFetcher}\n ", + "start": 3032, + "end": 3080, + "loc": { + "start": { + "line": 115, + "column": 4 + }, + "end": { + "line": 117, + "column": 7 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "HttpClient", + "start": 7, + "end": 17, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 18, + "end": 22, + "loc": { + "start": { + "line": 1, + "column": 18 + }, + "end": { + "line": 1, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./HttpClient", + "start": 23, + "end": 37, + "loc": { + "start": { + "line": 1, + "column": 23 + }, + "end": { + "line": 1, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 37, + "end": 38, + "loc": { + "start": { + "line": 1, + "column": 37 + }, + "end": { + "line": 1, + "column": 38 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 39, + "end": 45, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SearchFetcher", + "start": 46, + "end": 59, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 60, + "end": 64, + "loc": { + "start": { + "line": 2, + "column": 21 + }, + "end": { + "line": 2, + "column": 25 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./SearchFetcher", + "start": 65, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 26 + }, + "end": { + "line": 2, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 82, + "end": 83, + "loc": { + "start": { + "line": 2, + "column": 43 + }, + "end": { + "line": 2, + "column": 44 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 84, + "end": 90, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "TrackFetcher", + "start": 91, + "end": 103, + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 104, + "end": 108, + "loc": { + "start": { + "line": 3, + "column": 20 + }, + "end": { + "line": 3, + "column": 24 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./TrackFetcher", + "start": 109, + "end": 125, + "loc": { + "start": { + "line": 3, + "column": 25 + }, + "end": { + "line": 3, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 125, + "end": 126, + "loc": { + "start": { + "line": 3, + "column": 41 + }, + "end": { + "line": 3, + "column": 42 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 127, + "end": 133, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "AlbumFetcher", + "start": 134, + "end": 146, + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 147, + "end": 151, + "loc": { + "start": { + "line": 4, + "column": 20 + }, + "end": { + "line": 4, + "column": 24 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./AlbumFetcher", + "start": 152, + "end": 168, + "loc": { + "start": { + "line": 4, + "column": 25 + }, + "end": { + "line": 4, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 168, + "end": 169, "loc": { "start": { - "line": 32, - "column": 4 + "line": 4, + "column": 41 }, "end": { - "line": 37, - "column": 7 + "line": 4, + "column": 42 } } }, { - "type": "CommentBlock", - "value": "*\n * @type {SearchFetcher}\n ", - "start": 1382, - "end": 1430, + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 170, + "end": 176, "loc": { "start": { - "line": 41, - "column": 8 + "line": 5, + "column": 0 }, "end": { - "line": 43, - "column": 11 + "line": 5, + "column": 6 } } }, { - "type": "CommentBlock", - "value": "*\n * @type {TrackFetcher}\n ", - "start": 1520, - "end": 1567, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ArtistFetcher", + "start": 177, + "end": 190, "loc": { "start": { - "line": 46, - "column": 8 + "line": 5, + "column": 7 }, "end": { - "line": 48, - "column": 11 + "line": 5, + "column": 20 } } }, { - "type": "CommentBlock", - "value": "*\n * @type {AlbumFetcher}\n ", - "start": 1655, - "end": 1702, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 191, + "end": 195, "loc": { "start": { - "line": 51, - "column": 8 + "line": 5, + "column": 21 }, "end": { - "line": 53, - "column": 11 + "line": 5, + "column": 25 } } }, { - "type": "CommentBlock", - "value": "*\n * @type {ArtistFetcher}\n ", - "start": 1790, - "end": 1838, + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./ArtistFetcher", + "start": 196, + "end": 213, "loc": { "start": { - "line": 56, - "column": 8 + "line": 5, + "column": 26 }, "end": { - "line": 58, - "column": 11 + "line": 5, + "column": 43 } } }, { - "type": "CommentBlock", - "value": "*\n * @type {FeaturedPlaylistFetcher}\n ", - "start": 1928, - "end": 1986, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 213, + "end": 214, "loc": { "start": { - "line": 61, - "column": 8 + "line": 5, + "column": 43 }, "end": { - "line": 63, - "column": 11 + "line": 5, + "column": 44 } } }, { - "type": "CommentBlock", - "value": "*\n * @type {FeaturedPlaylistCategoryFetcher}\n ", - "start": 2096, - "end": 2162, + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 215, + "end": 221, "loc": { "start": { - "line": 66, - "column": 8 + "line": 6, + "column": 0 }, "end": { - "line": 68, - "column": 11 + "line": 6, + "column": 6 } } }, { - "type": "CommentBlock", - "value": "*\n * @type {NewReleaseCategoryFetcher}\n ", - "start": 2288, - "end": 2348, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "FeaturedPlaylistFetcher", + "start": 222, + "end": 245, "loc": { "start": { - "line": 71, - "column": 8 + "line": 6, + "column": 7 }, "end": { - "line": 73, - "column": 11 + "line": 6, + "column": 30 } } }, { - "type": "CommentBlock", - "value": "*\n * @type {NewHitsPlaylistFetcher}\n ", - "start": 2470, - "end": 2527, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 246, + "end": 250, "loc": { "start": { - "line": 76, - "column": 8 + "line": 6, + "column": 31 }, "end": { - "line": 78, - "column": 11 + "line": 6, + "column": 35 } } }, { - "type": "CommentBlock", - "value": "*\n * @type {GenreStationFetcher}\n ", - "start": 2651, - "end": 2705, + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./FeaturedPlaylistFetcher", + "start": 251, + "end": 278, "loc": { "start": { - "line": 81, - "column": 8 + "line": 6, + "column": 36 }, "end": { - "line": 83, - "column": 11 + "line": 6, + "column": 63 } } }, { - "type": "CommentBlock", - "value": "*\n * @type {MoodStationFetcher}\n ", - "start": 2807, - "end": 2860, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 278, + "end": 279, "loc": { "start": { - "line": 86, - "column": 8 + "line": 6, + "column": 63 }, "end": { - "line": 88, - "column": 11 + "line": 6, + "column": 64 } } }, - { - "type": "CommentBlock", - "value": "*\n * @type {ChartFetcher}\n ", - "start": 2960, - "end": 3007, - "loc": { - "start": { - "line": 91, - "column": 8 - }, - "end": { - "line": 93, - "column": 11 - } - } - } - ], - "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4654,15 +5761,15 @@ "updateContext": null }, "value": "import", - "start": 0, - "end": 6, + "start": 280, + "end": 286, "loc": { "start": { - "line": 1, + "line": 7, "column": 0 }, "end": { - "line": 1, + "line": 7, "column": 6 } } @@ -4679,23 +5786,49 @@ "postfix": false, "binop": null }, - "value": "HttpClient", - "start": 7, - "end": 17, + "value": "FeaturedPlaylistCategoryFetcher", + "start": 287, + "end": 318, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 319, + "end": 323, "loc": { "start": { - "line": 1, - "column": 7 + "line": 7, + "column": 39 }, "end": { - "line": 1, - "column": 17 + "line": 7, + "column": 43 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -4703,27 +5836,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "from", - "start": 18, - "end": 22, + "value": "./FeaturedPlaylistCategoryFetcher", + "start": 324, + "end": 359, "loc": { "start": { - "line": 1, - "column": 18 + "line": 7, + "column": 44 }, "end": { - "line": 1, - "column": 22 + "line": 7, + "column": 79 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4732,17 +5866,16 @@ "binop": null, "updateContext": null }, - "value": "./HttpClient", - "start": 23, - "end": 37, + "start": 359, + "end": 360, "loc": { "start": { - "line": 1, - "column": 23 + "line": 7, + "column": 79 }, "end": { - "line": 1, - "column": 37 + "line": 7, + "column": 80 } } }, @@ -4751,7 +5884,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4761,15 +5894,15 @@ "updateContext": null }, "value": "import", - "start": 38, - "end": 44, + "start": 361, + "end": 367, "loc": { "start": { - "line": 2, + "line": 8, "column": 0 }, "end": { - "line": 2, + "line": 8, "column": 6 } } @@ -4786,17 +5919,17 @@ "postfix": false, "binop": null }, - "value": "SearchFetcher", - "start": 45, - "end": 58, + "value": "NewReleaseCategoryFetcher", + "start": 368, + "end": 393, "loc": { "start": { - "line": 2, + "line": 8, "column": 7 }, "end": { - "line": 2, - "column": 20 + "line": 8, + "column": 32 } } }, @@ -4813,16 +5946,16 @@ "binop": null }, "value": "from", - "start": 59, - "end": 63, + "start": 394, + "end": 398, "loc": { "start": { - "line": 2, - "column": 21 + "line": 8, + "column": 33 }, "end": { - "line": 2, - "column": 25 + "line": 8, + "column": 37 } } }, @@ -4839,17 +5972,43 @@ "binop": null, "updateContext": null }, - "value": "./SearchFetcher", - "start": 64, - "end": 81, + "value": "./NewReleaseCategoryFetcher", + "start": 399, + "end": 428, "loc": { "start": { - "line": 2, - "column": 26 + "line": 8, + "column": 38 }, "end": { - "line": 2, - "column": 43 + "line": 8, + "column": 67 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 428, + "end": 429, + "loc": { + "start": { + "line": 8, + "column": 67 + }, + "end": { + "line": 8, + "column": 68 } } }, @@ -4858,7 +6017,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4868,15 +6027,15 @@ "updateContext": null }, "value": "import", - "start": 82, - "end": 88, + "start": 430, + "end": 436, "loc": { "start": { - "line": 3, + "line": 9, "column": 0 }, "end": { - "line": 3, + "line": 9, "column": 6 } } @@ -4893,17 +6052,17 @@ "postfix": false, "binop": null }, - "value": "TrackFetcher", - "start": 89, - "end": 101, + "value": "NewHitsPlaylistFetcher", + "start": 437, + "end": 459, "loc": { "start": { - "line": 3, + "line": 9, "column": 7 }, "end": { - "line": 3, - "column": 19 + "line": 9, + "column": 29 } } }, @@ -4920,16 +6079,16 @@ "binop": null }, "value": "from", - "start": 102, - "end": 106, + "start": 460, + "end": 464, "loc": { "start": { - "line": 3, - "column": 20 + "line": 9, + "column": 30 }, "end": { - "line": 3, - "column": 24 + "line": 9, + "column": 34 } } }, @@ -4946,17 +6105,43 @@ "binop": null, "updateContext": null }, - "value": "./TrackFetcher", - "start": 107, - "end": 123, + "value": "./NewHitsPlaylistFetcher", + "start": 465, + "end": 491, "loc": { "start": { - "line": 3, - "column": 25 + "line": 9, + "column": 35 }, "end": { - "line": 3, - "column": 41 + "line": 9, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 491, + "end": 492, + "loc": { + "start": { + "line": 9, + "column": 61 + }, + "end": { + "line": 9, + "column": 62 } } }, @@ -4965,7 +6150,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4975,15 +6160,15 @@ "updateContext": null }, "value": "import", - "start": 124, - "end": 130, + "start": 493, + "end": 499, "loc": { "start": { - "line": 4, + "line": 10, "column": 0 }, "end": { - "line": 4, + "line": 10, "column": 6 } } @@ -5000,17 +6185,17 @@ "postfix": false, "binop": null }, - "value": "AlbumFetcher", - "start": 131, - "end": 143, + "value": "GenreStationFetcher", + "start": 500, + "end": 519, "loc": { "start": { - "line": 4, + "line": 10, "column": 7 }, "end": { - "line": 4, - "column": 19 + "line": 10, + "column": 26 } } }, @@ -5027,16 +6212,16 @@ "binop": null }, "value": "from", - "start": 144, - "end": 148, + "start": 520, + "end": 524, "loc": { "start": { - "line": 4, - "column": 20 + "line": 10, + "column": 27 }, "end": { - "line": 4, - "column": 24 + "line": 10, + "column": 31 } } }, @@ -5053,17 +6238,43 @@ "binop": null, "updateContext": null }, - "value": "./AlbumFetcher", - "start": 149, - "end": 165, + "value": "./GenreStationFetcher", + "start": 525, + "end": 548, "loc": { "start": { - "line": 4, - "column": 25 + "line": 10, + "column": 32 }, "end": { - "line": 4, - "column": 41 + "line": 10, + "column": 55 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 548, + "end": 549, + "loc": { + "start": { + "line": 10, + "column": 55 + }, + "end": { + "line": 10, + "column": 56 } } }, @@ -5072,7 +6283,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5082,15 +6293,15 @@ "updateContext": null }, "value": "import", - "start": 166, - "end": 172, + "start": 550, + "end": 556, "loc": { "start": { - "line": 5, + "line": 11, "column": 0 }, "end": { - "line": 5, + "line": 11, "column": 6 } } @@ -5107,17 +6318,17 @@ "postfix": false, "binop": null }, - "value": "ArtistFetcher", - "start": 173, - "end": 186, + "value": "MoodStationFetcher", + "start": 557, + "end": 575, "loc": { "start": { - "line": 5, + "line": 11, "column": 7 }, "end": { - "line": 5, - "column": 20 + "line": 11, + "column": 25 } } }, @@ -5134,24 +6345,51 @@ "binop": null }, "value": "from", - "start": 187, - "end": 191, + "start": 576, + "end": 580, + "loc": { + "start": { + "line": 11, + "column": 26 + }, + "end": { + "line": 11, + "column": 30 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./MoodStationFetcher", + "start": 581, + "end": 603, "loc": { "start": { - "line": 5, - "column": 21 + "line": 11, + "column": 31 }, "end": { - "line": 5, - "column": 25 + "line": 11, + "column": 53 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5160,17 +6398,16 @@ "binop": null, "updateContext": null }, - "value": "./ArtistFetcher", - "start": 192, - "end": 209, + "start": 603, + "end": 604, "loc": { "start": { - "line": 5, - "column": 26 + "line": 11, + "column": 53 }, "end": { - "line": 5, - "column": 43 + "line": 11, + "column": 54 } } }, @@ -5179,7 +6416,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5189,15 +6426,15 @@ "updateContext": null }, "value": "import", - "start": 210, - "end": 216, + "start": 605, + "end": 611, "loc": { "start": { - "line": 6, + "line": 12, "column": 0 }, "end": { - "line": 6, + "line": 12, "column": 6 } } @@ -5214,17 +6451,17 @@ "postfix": false, "binop": null }, - "value": "FeaturedPlaylistFetcher", - "start": 217, - "end": 240, + "value": "ChartFetcher", + "start": 612, + "end": 624, "loc": { "start": { - "line": 6, + "line": 12, "column": 7 }, "end": { - "line": 6, - "column": 30 + "line": 12, + "column": 19 } } }, @@ -5241,16 +6478,16 @@ "binop": null }, "value": "from", - "start": 241, - "end": 245, + "start": 625, + "end": 629, "loc": { "start": { - "line": 6, - "column": 31 + "line": 12, + "column": 20 }, "end": { - "line": 6, - "column": 35 + "line": 12, + "column": 24 } } }, @@ -5267,17 +6504,43 @@ "binop": null, "updateContext": null }, - "value": "./FeaturedPlaylistFetcher", - "start": 246, - "end": 273, + "value": "./ChartFetcher", + "start": 630, + "end": 646, "loc": { "start": { - "line": 6, - "column": 36 + "line": 12, + "column": 25 }, "end": { - "line": 6, - "column": 63 + "line": 12, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 646, + "end": 647, + "loc": { + "start": { + "line": 12, + "column": 41 + }, + "end": { + "line": 12, + "column": 42 } } }, @@ -5286,7 +6549,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5296,15 +6559,15 @@ "updateContext": null }, "value": "import", - "start": 274, - "end": 280, + "start": 648, + "end": 654, "loc": { "start": { - "line": 7, + "line": 13, "column": 0 }, "end": { - "line": 7, + "line": 13, "column": 6 } } @@ -5321,17 +6584,17 @@ "postfix": false, "binop": null }, - "value": "FeaturedPlaylistCategoryFetcher", - "start": 281, - "end": 312, + "value": "SharedPlaylistFetcher", + "start": 655, + "end": 676, "loc": { "start": { - "line": 7, + "line": 13, "column": 7 }, "end": { - "line": 7, - "column": 38 + "line": 13, + "column": 28 } } }, @@ -5348,16 +6611,16 @@ "binop": null }, "value": "from", - "start": 313, - "end": 317, + "start": 677, + "end": 681, "loc": { "start": { - "line": 7, - "column": 39 + "line": 13, + "column": 29 }, "end": { - "line": 7, - "column": 43 + "line": 13, + "column": 33 } } }, @@ -5374,25 +6637,24 @@ "binop": null, "updateContext": null }, - "value": "./FeaturedPlaylistCategoryFetcher", - "start": 318, - "end": 353, + "value": "./SharedPlaylistFetcher", + "start": 682, + "end": 707, "loc": { "start": { - "line": 7, - "column": 44 + "line": 13, + "column": 34 }, "end": { - "line": 7, - "column": 79 + "line": 13, + "column": 59 } } }, { "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -5402,77 +6664,97 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 354, - "end": 360, + "start": 707, + "end": 708, "loc": { "start": { - "line": 8, + "line": 13, + "column": 59 + }, + "end": { + "line": 13, + "column": 60 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Fetch KKBOX resources.\n ", + "start": 710, + "end": 743, + "loc": { + "start": { + "line": 15, "column": 0 }, "end": { - "line": 8, - "column": 6 + "line": 17, + "column": 3 } } }, { "type": { - "label": "name", + "label": "export", + "keyword": "export", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "NewReleaseCategoryFetcher", - "start": 361, - "end": 386, + "value": "export", + "start": 744, + "end": 750, "loc": { "start": { - "line": 8, - "column": 7 + "line": 18, + "column": 0 }, "end": { - "line": 8, - "column": 32 + "line": 18, + "column": 6 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "from", - "start": 387, - "end": 391, + "value": "default", + "start": 751, + "end": 758, "loc": { "start": { - "line": 8, - "column": 33 + "line": 18, + "column": 7 }, "end": { - "line": 8, - "column": 37 + "line": 18, + "column": 14 } } }, { "type": { - "label": "string", + "label": "class", + "keyword": "class", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5481,52 +6763,50 @@ "binop": null, "updateContext": null }, - "value": "./NewReleaseCategoryFetcher", - "start": 392, - "end": 421, + "value": "class", + "start": 759, + "end": 764, "loc": { "start": { - "line": 8, - "column": 38 + "line": 18, + "column": 15 }, "end": { - "line": 8, - "column": 67 + "line": 18, + "column": 20 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "import", - "start": 422, - "end": 428, + "value": "Api", + "start": 765, + "end": 768, "loc": { "start": { - "line": 9, - "column": 0 + "line": 18, + "column": 21 }, "end": { - "line": 9, - "column": 6 + "line": 18, + "column": 24 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -5535,17 +6815,32 @@ "postfix": false, "binop": null }, - "value": "NewHitsPlaylistFetcher", - "start": 429, - "end": 451, + "start": 769, + "end": 770, "loc": { "start": { - "line": 9, - "column": 7 + "line": 18, + "column": 25 }, "end": { - "line": 9, - "column": 29 + "line": 18, + "column": 26 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Need access token to initialize.\n *\n * @param {string} token - Get via Auth.\n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.\n * @example new Api(token);\n * @example new Api(token, 'TW');\n ", + "start": 773, + "end": 1038, + "loc": { + "start": { + "line": 19, + "column": 2 + }, + "end": { + "line": 26, + "column": 5 } } }, @@ -5561,98 +6856,94 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 452, - "end": 456, + "value": "constructor", + "start": 1041, + "end": 1052, "loc": { "start": { - "line": 9, - "column": 30 + "line": 27, + "column": 2 }, "end": { - "line": 9, - "column": 34 + "line": 27, + "column": 13 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./NewHitsPlaylistFetcher", - "start": 457, - "end": 483, + "start": 1052, + "end": 1053, "loc": { "start": { - "line": 9, - "column": 35 + "line": 27, + "column": 13 }, "end": { - "line": 9, - "column": 61 + "line": 27, + "column": 14 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "import", - "start": 484, - "end": 490, + "value": "token", + "start": 1053, + "end": 1058, "loc": { "start": { - "line": 10, - "column": 0 + "line": 27, + "column": 14 }, "end": { - "line": 10, - "column": 6 + "line": 27, + "column": 19 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "GenreStationFetcher", - "start": 491, - "end": 510, + "start": 1058, + "end": 1059, "loc": { "start": { - "line": 10, - "column": 7 + "line": 27, + "column": 19 }, "end": { - "line": 10, - "column": 26 + "line": 27, + "column": 20 } } }, @@ -5668,53 +6959,52 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 511, - "end": 515, + "value": "territory", + "start": 1060, + "end": 1069, "loc": { "start": { - "line": 10, - "column": 27 + "line": 27, + "column": 21 }, "end": { - "line": 10, - "column": 31 + "line": 27, + "column": 30 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "./GenreStationFetcher", - "start": 516, - "end": 539, + "value": "=", + "start": 1070, + "end": 1071, "loc": { "start": { - "line": 10, - "column": 32 + "line": 27, + "column": 31 }, "end": { - "line": 10, - "column": 55 + "line": 27, + "column": 32 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5723,25 +7013,25 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 540, - "end": 546, + "value": "TW", + "start": 1072, + "end": 1076, "loc": { "start": { - "line": 11, - "column": 0 + "line": 27, + "column": 33 }, "end": { - "line": 11, - "column": 6 + "line": 27, + "column": 37 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5749,24 +7039,23 @@ "postfix": false, "binop": null }, - "value": "MoodStationFetcher", - "start": 547, - "end": 565, + "start": 1076, + "end": 1077, "loc": { "start": { - "line": 11, - "column": 7 + "line": 27, + "column": 37 }, "end": { - "line": 11, - "column": 25 + "line": 27, + "column": 38 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -5775,23 +7064,23 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 566, - "end": 570, + "start": 1078, + "end": 1079, "loc": { "start": { - "line": 11, - "column": 26 + "line": 27, + "column": 39 }, "end": { - "line": 11, - "column": 30 + "line": 27, + "column": 40 } } }, { "type": { - "label": "string", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -5802,24 +7091,23 @@ "binop": null, "updateContext": null }, - "value": "./MoodStationFetcher", - "start": 571, - "end": 593, + "value": "this", + "start": 1084, + "end": 1088, "loc": { "start": { - "line": 11, - "column": 31 + "line": 28, + "column": 4 }, "end": { - "line": 11, - "column": 53 + "line": 28, + "column": 8 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -5830,17 +7118,16 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 594, - "end": 600, + "start": 1088, + "end": 1089, "loc": { "start": { - "line": 12, - "column": 0 + "line": 28, + "column": 8 }, "end": { - "line": 12, - "column": 6 + "line": 28, + "column": 9 } } }, @@ -5856,49 +7143,50 @@ "postfix": false, "binop": null }, - "value": "ChartFetcher", - "start": 601, - "end": 613, + "value": "territory", + "start": 1089, + "end": 1098, "loc": { "start": { - "line": 12, - "column": 7 + "line": 28, + "column": 9 }, "end": { - "line": 12, - "column": 19 + "line": 28, + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "from", - "start": 614, - "end": 618, + "value": "=", + "start": 1099, + "end": 1100, "loc": { "start": { - "line": 12, - "column": 20 + "line": 28, + "column": 19 }, "end": { - "line": 12, - "column": 24 + "line": 28, + "column": 20 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -5906,44 +7194,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./ChartFetcher", - "start": 619, - "end": 635, - "loc": { - "start": { - "line": 12, - "column": 25 - }, - "end": { - "line": 12, - "column": 41 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Fetch KKBOX resources.\n ", - "start": 637, - "end": 670, + "value": "territory", + "start": 1101, + "end": 1110, "loc": { "start": { - "line": 14, - "column": 0 + "line": 28, + "column": 21 }, "end": { - "line": 16, - "column": 3 + "line": 28, + "column": 30 } } }, { "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -5953,26 +7223,25 @@ "binop": null, "updateContext": null }, - "value": "export", - "start": 671, - "end": 677, + "start": 1110, + "end": 1111, "loc": { "start": { - "line": 17, - "column": 0 + "line": 28, + "column": 30 }, "end": { - "line": 17, - "column": 6 + "line": 28, + "column": 31 } } }, { "type": { - "label": "default", - "keyword": "default", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5981,24 +7250,23 @@ "binop": null, "updateContext": null }, - "value": "default", - "start": 678, - "end": 685, + "value": "this", + "start": 1116, + "end": 1120, "loc": { "start": { - "line": 17, - "column": 7 + "line": 29, + "column": 4 }, "end": { - "line": 17, - "column": 14 + "line": 29, + "column": 8 } } }, { "type": { - "label": "class", - "keyword": "class", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -6009,17 +7277,16 @@ "binop": null, "updateContext": null }, - "value": "class", - "start": 686, - "end": 691, + "start": 1120, + "end": 1121, "loc": { "start": { - "line": 17, - "column": 15 + "line": 29, + "column": 8 }, "end": { - "line": 17, - "column": 20 + "line": 29, + "column": 9 } } }, @@ -6035,58 +7302,44 @@ "postfix": false, "binop": null }, - "value": "Api", - "start": 692, - "end": 695, + "value": "httpClient", + "start": 1121, + "end": 1131, "loc": { "start": { - "line": 17, - "column": 21 + "line": 29, + "column": 9 }, "end": { - "line": 17, - "column": 24 + "line": 29, + "column": 19 } } }, { "type": { - "label": "{", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 696, - "end": 697, - "loc": { - "start": { - "line": 17, - "column": 25 - }, - "end": { - "line": 17, - "column": 26 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Need access token to initialize.\n *\n * @param {string} token - Get via Auth.\n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.\n * @example new Api(token)\n * @example new Api(token, 'TW')\n ", - "start": 702, - "end": 979, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1132, + "end": 1133, "loc": { "start": { - "line": 18, - "column": 4 + "line": 29, + "column": 20 }, "end": { - "line": 25, - "column": 7 + "line": 29, + "column": 21 } } }, @@ -6102,48 +7355,50 @@ "postfix": false, "binop": null }, - "value": "constructor", - "start": 984, - "end": 995, + "value": "undefined", + "start": 1134, + "end": 1143, "loc": { "start": { - "line": 26, - "column": 4 + "line": 29, + "column": 22 }, "end": { - "line": 26, - "column": 15 + "line": 29, + "column": 31 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 995, - "end": 996, + "start": 1143, + "end": 1144, "loc": { "start": { - "line": 26, - "column": 15 + "line": 29, + "column": 31 }, "end": { - "line": 26, - "column": 16 + "line": 29, + "column": 32 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -6151,26 +7406,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "token", - "start": 996, - "end": 1001, + "value": "this", + "start": 1149, + "end": 1153, "loc": { "start": { - "line": 26, - "column": 16 + "line": 30, + "column": 4 }, "end": { - "line": 26, - "column": 21 + "line": 30, + "column": 8 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -6180,16 +7436,16 @@ "binop": null, "updateContext": null }, - "start": 1001, - "end": 1002, + "start": 1153, + "end": 1154, "loc": { "start": { - "line": 26, - "column": 21 + "line": 30, + "column": 8 }, "end": { - "line": 26, - "column": 22 + "line": 30, + "column": 9 } } }, @@ -6205,50 +7461,48 @@ "postfix": false, "binop": null }, - "value": "territory", - "start": 1003, - "end": 1012, + "value": "setToken", + "start": 1154, + "end": 1162, "loc": { "start": { - "line": 26, - "column": 23 + "line": 30, + "column": 9 }, "end": { - "line": 26, - "column": 32 + "line": 30, + "column": 17 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1013, - "end": 1014, + "start": 1162, + "end": 1163, "loc": { "start": { - "line": 26, - "column": 33 + "line": 30, + "column": 17 }, "end": { - "line": 26, - "column": 34 + "line": 30, + "column": 18 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -6256,20 +7510,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "TW", - "start": 1015, - "end": 1019, + "value": "token", + "start": 1163, + "end": 1168, "loc": { "start": { - "line": 26, - "column": 35 + "line": 30, + "column": 18 }, "end": { - "line": 26, - "column": 39 + "line": 30, + "column": 23 } } }, @@ -6285,95 +7538,83 @@ "postfix": false, "binop": null }, - "start": 1019, - "end": 1020, + "start": 1168, + "end": 1169, "loc": { "start": { - "line": 26, - "column": 39 + "line": 30, + "column": 23 }, "end": { - "line": 26, - "column": 40 + "line": 30, + "column": 24 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1021, - "end": 1022, + "start": 1169, + "end": 1170, "loc": { "start": { - "line": 26, - "column": 41 + "line": 30, + "column": 24 }, "end": { - "line": 26, - "column": 42 + "line": 30, + "column": 25 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1039, - "end": 1043, + "start": 1173, + "end": 1174, "loc": { "start": { - "line": 27, - "column": 8 + "line": 31, + "column": 2 }, "end": { - "line": 27, - "column": 12 + "line": 31, + "column": 3 } } }, { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1043, - "end": 1044, + "type": "CommentBlock", + "value": "*\n * Set new token and create fetchers with the new token.\n *\n * @param {string} token - Get via Auth.\n * @example api.setToken(token);\n ", + "start": 1178, + "end": 1329, "loc": { "start": { - "line": 27, - "column": 12 + "line": 33, + "column": 2 }, "end": { - "line": 27, - "column": 13 + "line": 38, + "column": 5 } } }, @@ -6389,44 +7630,42 @@ "postfix": false, "binop": null }, - "value": "territory", - "start": 1044, - "end": 1053, + "value": "setToken", + "start": 1332, + "end": 1340, "loc": { "start": { - "line": 27, - "column": 13 + "line": 39, + "column": 2 }, "end": { - "line": 27, - "column": 22 + "line": 39, + "column": 10 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1054, - "end": 1055, + "start": 1340, + "end": 1341, "loc": { "start": { - "line": 27, - "column": 23 + "line": 39, + "column": 10 }, "end": { - "line": 27, - "column": 24 + "line": 39, + "column": 11 } } }, @@ -6442,77 +7681,74 @@ "postfix": false, "binop": null }, - "value": "territory", - "start": 1056, - "end": 1065, + "value": "token", + "start": 1341, + "end": 1346, "loc": { "start": { - "line": 27, - "column": 25 + "line": 39, + "column": 11 }, "end": { - "line": 27, - "column": 34 + "line": 39, + "column": 16 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1074, - "end": 1078, + "start": 1346, + "end": 1347, "loc": { "start": { - "line": 28, - "column": 8 + "line": 39, + "column": 16 }, "end": { - "line": 28, - "column": 12 + "line": 39, + "column": 17 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1078, - "end": 1079, + "start": 1348, + "end": 1349, "loc": { "start": { - "line": 28, - "column": 12 + "line": 39, + "column": 18 }, "end": { - "line": 28, - "column": 13 + "line": 39, + "column": 19 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -6520,46 +7756,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "httpClient", - "start": 1079, - "end": 1089, + "value": "this", + "start": 1354, + "end": 1358, "loc": { "start": { - "line": 28, - "column": 13 + "line": 40, + "column": 4 }, "end": { - "line": 28, - "column": 23 + "line": 40, + "column": 8 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1090, - "end": 1091, + "start": 1358, + "end": 1359, "loc": { "start": { - "line": 28, - "column": 24 + "line": 40, + "column": 8 }, "end": { - "line": 28, - "column": 25 + "line": 40, + "column": 9 } } }, @@ -6575,53 +7811,53 @@ "postfix": false, "binop": null }, - "value": "undefined", - "start": 1092, - "end": 1101, + "value": "httpClient", + "start": 1359, + "end": 1369, "loc": { "start": { - "line": 28, - "column": 26 + "line": 40, + "column": 9 }, "end": { - "line": 28, - "column": 35 + "line": 40, + "column": 19 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "this", - "start": 1110, - "end": 1114, + "value": "=", + "start": 1370, + "end": 1371, "loc": { "start": { - "line": 29, - "column": 8 + "line": 40, + "column": 20 }, "end": { - "line": 29, - "column": 12 + "line": 40, + "column": 21 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -6630,16 +7866,17 @@ "binop": null, "updateContext": null }, - "start": 1114, - "end": 1115, + "value": "new", + "start": 1372, + "end": 1375, "loc": { "start": { - "line": 29, - "column": 12 + "line": 40, + "column": 22 }, "end": { - "line": 29, - "column": 13 + "line": 40, + "column": 25 } } }, @@ -6655,17 +7892,17 @@ "postfix": false, "binop": null }, - "value": "setToken", - "start": 1115, - "end": 1123, + "value": "HttpClient", + "start": 1376, + "end": 1386, "loc": { "start": { - "line": 29, - "column": 13 + "line": 40, + "column": 26 }, "end": { - "line": 29, - "column": 21 + "line": 40, + "column": 36 } } }, @@ -6681,16 +7918,16 @@ "postfix": false, "binop": null }, - "start": 1123, - "end": 1124, + "start": 1386, + "end": 1387, "loc": { "start": { - "line": 29, - "column": 21 + "line": 40, + "column": 36 }, "end": { - "line": 29, - "column": 22 + "line": 40, + "column": 37 } } }, @@ -6707,16 +7944,16 @@ "binop": null }, "value": "token", - "start": 1124, - "end": 1129, + "start": 1387, + "end": 1392, "loc": { "start": { - "line": 29, - "column": 22 + "line": 40, + "column": 37 }, "end": { - "line": 29, - "column": 27 + "line": 40, + "column": 42 } } }, @@ -6732,63 +7969,65 @@ "postfix": false, "binop": null }, - "start": 1129, - "end": 1130, + "start": 1392, + "end": 1393, "loc": { "start": { - "line": 29, - "column": 27 + "line": 40, + "column": 42 }, "end": { - "line": 29, - "column": 28 + "line": 40, + "column": 43 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1135, - "end": 1136, + "start": 1393, + "end": 1394, "loc": { "start": { - "line": 30, - "column": 4 + "line": 40, + "column": 43 }, "end": { - "line": 30, - "column": 5 + "line": 40, + "column": 44 } } }, { "type": "CommentBlock", - "value": "*\n * Set new token and create fetchers with the new token.\n *\n * @param {string} token - Get via Auth.\n * @example api.setToken(token)\n ", - "start": 1142, - "end": 1302, + "value": "*\n * @type {SearchFetcher}\n ", + "start": 1400, + "end": 1440, "loc": { "start": { - "line": 32, + "line": 42, "column": 4 }, "end": { - "line": 37, + "line": 44, "column": 7 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -6796,44 +8035,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "setToken", - "start": 1307, - "end": 1315, + "value": "this", + "start": 1445, + "end": 1449, "loc": { "start": { - "line": 38, + "line": 45, "column": 4 }, "end": { - "line": 38, - "column": 12 + "line": 45, + "column": 8 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1315, - "end": 1316, + "start": 1449, + "end": 1450, "loc": { "start": { - "line": 38, - "column": 12 + "line": 45, + "column": 8 }, "end": { - "line": 38, - "column": 13 + "line": 45, + "column": 9 } } }, @@ -6849,48 +8090,104 @@ "postfix": false, "binop": null }, - "value": "token", - "start": 1316, - "end": 1321, + "value": "searchFetcher", + "start": 1450, + "end": 1463, "loc": { "start": { - "line": 38, - "column": 13 + "line": 45, + "column": 9 }, "end": { - "line": 38, - "column": 18 + "line": 45, + "column": 22 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1464, + "end": 1465, + "loc": { + "start": { + "line": 45, + "column": 23 + }, + "end": { + "line": 45, + "column": 24 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 1466, + "end": 1469, + "loc": { + "start": { + "line": 45, + "column": 25 + }, + "end": { + "line": 45, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, - "start": 1321, - "end": 1322, + "value": "SearchFetcher", + "start": 1470, + "end": 1483, "loc": { "start": { - "line": 38, - "column": 18 + "line": 45, + "column": 29 }, "end": { - "line": 38, - "column": 19 + "line": 45, + "column": 42 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -6900,16 +8197,16 @@ "postfix": false, "binop": null }, - "start": 1323, - "end": 1324, + "start": 1483, + "end": 1484, "loc": { "start": { - "line": 38, - "column": 20 + "line": 45, + "column": 42 }, "end": { - "line": 38, - "column": 21 + "line": 45, + "column": 43 } } }, @@ -6928,16 +8225,16 @@ "updateContext": null }, "value": "this", - "start": 1333, - "end": 1337, + "start": 1484, + "end": 1488, "loc": { "start": { - "line": 39, - "column": 8 + "line": 45, + "column": 43 }, "end": { - "line": 39, - "column": 12 + "line": 45, + "column": 47 } } }, @@ -6954,16 +8251,16 @@ "binop": null, "updateContext": null }, - "start": 1337, - "end": 1338, + "start": 1488, + "end": 1489, "loc": { "start": { - "line": 39, - "column": 12 + "line": 45, + "column": 47 }, "end": { - "line": 39, - "column": 13 + "line": 45, + "column": 48 } } }, @@ -6980,51 +8277,50 @@ "binop": null }, "value": "httpClient", - "start": 1338, - "end": 1348, + "start": 1489, + "end": 1499, "loc": { "start": { - "line": 39, - "column": 13 + "line": 45, + "column": 48 }, "end": { - "line": 39, - "column": 23 + "line": 45, + "column": 58 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1349, - "end": 1350, + "start": 1499, + "end": 1500, "loc": { "start": { - "line": 39, - "column": 24 + "line": 45, + "column": 58 }, "end": { - "line": 39, - "column": 25 + "line": 45, + "column": 59 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -7034,50 +8330,50 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 1351, - "end": 1354, + "value": "this", + "start": 1501, + "end": 1505, "loc": { "start": { - "line": 39, - "column": 26 + "line": 45, + "column": 60 }, "end": { - "line": 39, - "column": 29 + "line": 45, + "column": 64 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "HttpClient", - "start": 1355, - "end": 1365, + "start": 1505, + "end": 1506, "loc": { "start": { - "line": 39, - "column": 30 + "line": 45, + "column": 64 }, "end": { - "line": 39, - "column": 40 + "line": 45, + "column": 65 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -7086,24 +8382,25 @@ "postfix": false, "binop": null }, - "start": 1365, - "end": 1366, + "value": "territory", + "start": 1506, + "end": 1515, "loc": { "start": { - "line": 39, - "column": 40 + "line": 45, + "column": 65 }, "end": { - "line": 39, - "column": 41 + "line": 45, + "column": 74 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7111,58 +8408,58 @@ "postfix": false, "binop": null }, - "value": "token", - "start": 1366, - "end": 1371, + "start": 1515, + "end": 1516, "loc": { - "start": { - "line": 39, - "column": 41 + "start": { + "line": 45, + "column": 74 }, "end": { - "line": 39, - "column": 46 + "line": 45, + "column": 75 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1371, - "end": 1372, + "start": 1516, + "end": 1517, "loc": { "start": { - "line": 39, - "column": 46 + "line": 45, + "column": 75 }, "end": { - "line": 39, - "column": 47 + "line": 45, + "column": 76 } } }, { "type": "CommentBlock", - "value": "*\n * @type {SearchFetcher}\n ", - "start": 1382, - "end": 1430, + "value": "*\n * @type {TrackFetcher}\n ", + "start": 1523, + "end": 1562, "loc": { "start": { - "line": 41, - "column": 8 + "line": 47, + "column": 4 }, "end": { - "line": 43, - "column": 11 + "line": 49, + "column": 7 } } }, @@ -7181,16 +8478,16 @@ "updateContext": null }, "value": "this", - "start": 1439, - "end": 1443, + "start": 1567, + "end": 1571, "loc": { "start": { - "line": 44, - "column": 8 + "line": 50, + "column": 4 }, "end": { - "line": 44, - "column": 12 + "line": 50, + "column": 8 } } }, @@ -7207,16 +8504,16 @@ "binop": null, "updateContext": null }, - "start": 1443, - "end": 1444, + "start": 1571, + "end": 1572, "loc": { "start": { - "line": 44, - "column": 12 + "line": 50, + "column": 8 }, "end": { - "line": 44, - "column": 13 + "line": 50, + "column": 9 } } }, @@ -7232,17 +8529,17 @@ "postfix": false, "binop": null }, - "value": "searchFetcher", - "start": 1444, - "end": 1457, + "value": "trackFetcher", + "start": 1572, + "end": 1584, "loc": { "start": { - "line": 44, - "column": 13 + "line": 50, + "column": 9 }, "end": { - "line": 44, - "column": 26 + "line": 50, + "column": 21 } } }, @@ -7260,16 +8557,16 @@ "updateContext": null }, "value": "=", - "start": 1458, - "end": 1459, + "start": 1585, + "end": 1586, "loc": { "start": { - "line": 44, - "column": 27 + "line": 50, + "column": 22 }, "end": { - "line": 44, - "column": 28 + "line": 50, + "column": 23 } } }, @@ -7288,16 +8585,16 @@ "updateContext": null }, "value": "new", - "start": 1460, - "end": 1463, + "start": 1587, + "end": 1590, "loc": { "start": { - "line": 44, - "column": 29 + "line": 50, + "column": 24 }, "end": { - "line": 44, - "column": 32 + "line": 50, + "column": 27 } } }, @@ -7313,17 +8610,17 @@ "postfix": false, "binop": null }, - "value": "SearchFetcher", - "start": 1464, - "end": 1477, + "value": "TrackFetcher", + "start": 1591, + "end": 1603, "loc": { "start": { - "line": 44, - "column": 33 + "line": 50, + "column": 28 }, "end": { - "line": 44, - "column": 46 + "line": 50, + "column": 40 } } }, @@ -7339,16 +8636,16 @@ "postfix": false, "binop": null }, - "start": 1477, - "end": 1478, + "start": 1603, + "end": 1604, "loc": { "start": { - "line": 44, - "column": 46 + "line": 50, + "column": 40 }, "end": { - "line": 44, - "column": 47 + "line": 50, + "column": 41 } } }, @@ -7367,16 +8664,16 @@ "updateContext": null }, "value": "this", - "start": 1478, - "end": 1482, + "start": 1604, + "end": 1608, "loc": { "start": { - "line": 44, - "column": 47 + "line": 50, + "column": 41 }, "end": { - "line": 44, - "column": 51 + "line": 50, + "column": 45 } } }, @@ -7393,16 +8690,16 @@ "binop": null, "updateContext": null }, - "start": 1482, - "end": 1483, + "start": 1608, + "end": 1609, "loc": { "start": { - "line": 44, - "column": 51 + "line": 50, + "column": 45 }, "end": { - "line": 44, - "column": 52 + "line": 50, + "column": 46 } } }, @@ -7419,16 +8716,16 @@ "binop": null }, "value": "httpClient", - "start": 1483, - "end": 1493, + "start": 1609, + "end": 1619, "loc": { "start": { - "line": 44, - "column": 52 + "line": 50, + "column": 46 }, "end": { - "line": 44, - "column": 62 + "line": 50, + "column": 56 } } }, @@ -7445,16 +8742,16 @@ "binop": null, "updateContext": null }, - "start": 1493, - "end": 1494, + "start": 1619, + "end": 1620, "loc": { "start": { - "line": 44, - "column": 62 + "line": 50, + "column": 56 }, "end": { - "line": 44, - "column": 63 + "line": 50, + "column": 57 } } }, @@ -7473,16 +8770,16 @@ "updateContext": null }, "value": "this", - "start": 1495, - "end": 1499, + "start": 1621, + "end": 1625, "loc": { "start": { - "line": 44, - "column": 64 + "line": 50, + "column": 58 }, "end": { - "line": 44, - "column": 68 + "line": 50, + "column": 62 } } }, @@ -7499,16 +8796,16 @@ "binop": null, "updateContext": null }, - "start": 1499, - "end": 1500, + "start": 1625, + "end": 1626, "loc": { "start": { - "line": 44, - "column": 68 + "line": 50, + "column": 62 }, "end": { - "line": 44, - "column": 69 + "line": 50, + "column": 63 } } }, @@ -7525,16 +8822,16 @@ "binop": null }, "value": "territory", - "start": 1500, - "end": 1509, + "start": 1626, + "end": 1635, "loc": { "start": { - "line": 44, - "column": 69 + "line": 50, + "column": 63 }, "end": { - "line": 44, - "column": 78 + "line": 50, + "column": 72 } } }, @@ -7550,32 +8847,58 @@ "postfix": false, "binop": null }, - "start": 1509, - "end": 1510, + "start": 1635, + "end": 1636, "loc": { "start": { - "line": 44, - "column": 78 + "line": 50, + "column": 72 }, "end": { - "line": 44, - "column": 79 + "line": 50, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1636, + "end": 1637, + "loc": { + "start": { + "line": 50, + "column": 73 + }, + "end": { + "line": 50, + "column": 74 } } }, { "type": "CommentBlock", - "value": "*\n * @type {TrackFetcher}\n ", - "start": 1520, - "end": 1567, + "value": "*\n * @type {AlbumFetcher}\n ", + "start": 1643, + "end": 1682, "loc": { "start": { - "line": 46, - "column": 8 + "line": 52, + "column": 4 }, "end": { - "line": 48, - "column": 11 + "line": 54, + "column": 7 } } }, @@ -7594,16 +8917,16 @@ "updateContext": null }, "value": "this", - "start": 1576, - "end": 1580, + "start": 1687, + "end": 1691, "loc": { "start": { - "line": 49, - "column": 8 + "line": 55, + "column": 4 }, "end": { - "line": 49, - "column": 12 + "line": 55, + "column": 8 } } }, @@ -7620,16 +8943,16 @@ "binop": null, "updateContext": null }, - "start": 1580, - "end": 1581, + "start": 1691, + "end": 1692, "loc": { "start": { - "line": 49, - "column": 12 + "line": 55, + "column": 8 }, "end": { - "line": 49, - "column": 13 + "line": 55, + "column": 9 } } }, @@ -7645,17 +8968,17 @@ "postfix": false, "binop": null }, - "value": "trackFetcher", - "start": 1581, - "end": 1593, + "value": "albumFetcher", + "start": 1692, + "end": 1704, "loc": { "start": { - "line": 49, - "column": 13 + "line": 55, + "column": 9 }, "end": { - "line": 49, - "column": 25 + "line": 55, + "column": 21 } } }, @@ -7673,16 +8996,16 @@ "updateContext": null }, "value": "=", - "start": 1594, - "end": 1595, + "start": 1705, + "end": 1706, "loc": { "start": { - "line": 49, - "column": 26 + "line": 55, + "column": 22 }, "end": { - "line": 49, - "column": 27 + "line": 55, + "column": 23 } } }, @@ -7701,16 +9024,16 @@ "updateContext": null }, "value": "new", - "start": 1596, - "end": 1599, + "start": 1707, + "end": 1710, "loc": { "start": { - "line": 49, - "column": 28 + "line": 55, + "column": 24 }, "end": { - "line": 49, - "column": 31 + "line": 55, + "column": 27 } } }, @@ -7726,17 +9049,17 @@ "postfix": false, "binop": null }, - "value": "TrackFetcher", - "start": 1600, - "end": 1612, + "value": "AlbumFetcher", + "start": 1711, + "end": 1723, "loc": { "start": { - "line": 49, - "column": 32 + "line": 55, + "column": 28 }, "end": { - "line": 49, - "column": 44 + "line": 55, + "column": 40 } } }, @@ -7752,16 +9075,16 @@ "postfix": false, "binop": null }, - "start": 1612, - "end": 1613, + "start": 1723, + "end": 1724, "loc": { "start": { - "line": 49, - "column": 44 + "line": 55, + "column": 40 }, "end": { - "line": 49, - "column": 45 + "line": 55, + "column": 41 } } }, @@ -7780,16 +9103,16 @@ "updateContext": null }, "value": "this", - "start": 1613, - "end": 1617, + "start": 1724, + "end": 1728, "loc": { "start": { - "line": 49, - "column": 45 + "line": 55, + "column": 41 }, "end": { - "line": 49, - "column": 49 + "line": 55, + "column": 45 } } }, @@ -7806,16 +9129,16 @@ "binop": null, "updateContext": null }, - "start": 1617, - "end": 1618, + "start": 1728, + "end": 1729, "loc": { "start": { - "line": 49, - "column": 49 + "line": 55, + "column": 45 }, "end": { - "line": 49, - "column": 50 + "line": 55, + "column": 46 } } }, @@ -7832,16 +9155,16 @@ "binop": null }, "value": "httpClient", - "start": 1618, - "end": 1628, + "start": 1729, + "end": 1739, "loc": { "start": { - "line": 49, - "column": 50 + "line": 55, + "column": 46 }, "end": { - "line": 49, - "column": 60 + "line": 55, + "column": 56 } } }, @@ -7858,16 +9181,16 @@ "binop": null, "updateContext": null }, - "start": 1628, - "end": 1629, + "start": 1739, + "end": 1740, "loc": { "start": { - "line": 49, - "column": 60 + "line": 55, + "column": 56 }, "end": { - "line": 49, - "column": 61 + "line": 55, + "column": 57 } } }, @@ -7886,16 +9209,16 @@ "updateContext": null }, "value": "this", - "start": 1630, - "end": 1634, + "start": 1741, + "end": 1745, "loc": { "start": { - "line": 49, - "column": 62 + "line": 55, + "column": 58 }, "end": { - "line": 49, - "column": 66 + "line": 55, + "column": 62 } } }, @@ -7912,16 +9235,16 @@ "binop": null, "updateContext": null }, - "start": 1634, - "end": 1635, + "start": 1745, + "end": 1746, "loc": { "start": { - "line": 49, - "column": 66 + "line": 55, + "column": 62 }, "end": { - "line": 49, - "column": 67 + "line": 55, + "column": 63 } } }, @@ -7938,16 +9261,16 @@ "binop": null }, "value": "territory", - "start": 1635, - "end": 1644, + "start": 1746, + "end": 1755, "loc": { "start": { - "line": 49, - "column": 67 + "line": 55, + "column": 63 }, "end": { - "line": 49, - "column": 76 + "line": 55, + "column": 72 } } }, @@ -7963,32 +9286,58 @@ "postfix": false, "binop": null }, - "start": 1644, - "end": 1645, + "start": 1755, + "end": 1756, "loc": { "start": { - "line": 49, - "column": 76 + "line": 55, + "column": 72 }, "end": { - "line": 49, - "column": 77 + "line": 55, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1756, + "end": 1757, + "loc": { + "start": { + "line": 55, + "column": 73 + }, + "end": { + "line": 55, + "column": 74 } } }, { "type": "CommentBlock", - "value": "*\n * @type {AlbumFetcher}\n ", - "start": 1655, - "end": 1702, + "value": "*\n * @type {ArtistFetcher}\n ", + "start": 1763, + "end": 1803, "loc": { "start": { - "line": 51, - "column": 8 + "line": 57, + "column": 4 }, "end": { - "line": 53, - "column": 11 + "line": 59, + "column": 7 } } }, @@ -8007,16 +9356,16 @@ "updateContext": null }, "value": "this", - "start": 1711, - "end": 1715, + "start": 1808, + "end": 1812, "loc": { "start": { - "line": 54, - "column": 8 + "line": 60, + "column": 4 }, "end": { - "line": 54, - "column": 12 + "line": 60, + "column": 8 } } }, @@ -8033,16 +9382,16 @@ "binop": null, "updateContext": null }, - "start": 1715, - "end": 1716, + "start": 1812, + "end": 1813, "loc": { "start": { - "line": 54, - "column": 12 + "line": 60, + "column": 8 }, "end": { - "line": 54, - "column": 13 + "line": 60, + "column": 9 } } }, @@ -8058,17 +9407,17 @@ "postfix": false, "binop": null }, - "value": "albumFetcher", - "start": 1716, - "end": 1728, + "value": "artistFetcher", + "start": 1813, + "end": 1826, "loc": { "start": { - "line": 54, - "column": 13 + "line": 60, + "column": 9 }, "end": { - "line": 54, - "column": 25 + "line": 60, + "column": 22 } } }, @@ -8086,16 +9435,16 @@ "updateContext": null }, "value": "=", - "start": 1729, - "end": 1730, + "start": 1827, + "end": 1828, "loc": { "start": { - "line": 54, - "column": 26 + "line": 60, + "column": 23 }, "end": { - "line": 54, - "column": 27 + "line": 60, + "column": 24 } } }, @@ -8114,16 +9463,16 @@ "updateContext": null }, "value": "new", - "start": 1731, - "end": 1734, + "start": 1829, + "end": 1832, "loc": { "start": { - "line": 54, - "column": 28 + "line": 60, + "column": 25 }, "end": { - "line": 54, - "column": 31 + "line": 60, + "column": 28 } } }, @@ -8139,17 +9488,17 @@ "postfix": false, "binop": null }, - "value": "AlbumFetcher", - "start": 1735, - "end": 1747, + "value": "ArtistFetcher", + "start": 1833, + "end": 1846, "loc": { "start": { - "line": 54, - "column": 32 + "line": 60, + "column": 29 }, "end": { - "line": 54, - "column": 44 + "line": 60, + "column": 42 } } }, @@ -8165,16 +9514,16 @@ "postfix": false, "binop": null }, - "start": 1747, - "end": 1748, + "start": 1846, + "end": 1847, "loc": { "start": { - "line": 54, - "column": 44 + "line": 60, + "column": 42 }, "end": { - "line": 54, - "column": 45 + "line": 60, + "column": 43 } } }, @@ -8193,16 +9542,16 @@ "updateContext": null }, "value": "this", - "start": 1748, - "end": 1752, + "start": 1847, + "end": 1851, "loc": { "start": { - "line": 54, - "column": 45 + "line": 60, + "column": 43 }, "end": { - "line": 54, - "column": 49 + "line": 60, + "column": 47 } } }, @@ -8219,16 +9568,16 @@ "binop": null, "updateContext": null }, - "start": 1752, - "end": 1753, + "start": 1851, + "end": 1852, "loc": { "start": { - "line": 54, - "column": 49 + "line": 60, + "column": 47 }, "end": { - "line": 54, - "column": 50 + "line": 60, + "column": 48 } } }, @@ -8245,16 +9594,16 @@ "binop": null }, "value": "httpClient", - "start": 1753, - "end": 1763, + "start": 1852, + "end": 1862, "loc": { "start": { - "line": 54, - "column": 50 + "line": 60, + "column": 48 }, "end": { - "line": 54, - "column": 60 + "line": 60, + "column": 58 } } }, @@ -8271,16 +9620,16 @@ "binop": null, "updateContext": null }, - "start": 1763, - "end": 1764, + "start": 1862, + "end": 1863, "loc": { "start": { - "line": 54, - "column": 60 + "line": 60, + "column": 58 }, "end": { - "line": 54, - "column": 61 + "line": 60, + "column": 59 } } }, @@ -8299,16 +9648,16 @@ "updateContext": null }, "value": "this", - "start": 1765, - "end": 1769, + "start": 1864, + "end": 1868, "loc": { "start": { - "line": 54, - "column": 62 + "line": 60, + "column": 60 }, "end": { - "line": 54, - "column": 66 + "line": 60, + "column": 64 } } }, @@ -8325,16 +9674,16 @@ "binop": null, "updateContext": null }, - "start": 1769, - "end": 1770, + "start": 1868, + "end": 1869, "loc": { "start": { - "line": 54, - "column": 66 + "line": 60, + "column": 64 }, "end": { - "line": 54, - "column": 67 + "line": 60, + "column": 65 } } }, @@ -8351,16 +9700,16 @@ "binop": null }, "value": "territory", - "start": 1770, - "end": 1779, + "start": 1869, + "end": 1878, "loc": { "start": { - "line": 54, - "column": 67 + "line": 60, + "column": 65 }, "end": { - "line": 54, - "column": 76 + "line": 60, + "column": 74 } } }, @@ -8376,32 +9725,58 @@ "postfix": false, "binop": null }, - "start": 1779, - "end": 1780, + "start": 1878, + "end": 1879, "loc": { "start": { - "line": 54, - "column": 76 + "line": 60, + "column": 74 }, "end": { - "line": 54, - "column": 77 + "line": 60, + "column": 75 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1879, + "end": 1880, + "loc": { + "start": { + "line": 60, + "column": 75 + }, + "end": { + "line": 60, + "column": 76 } } }, { "type": "CommentBlock", - "value": "*\n * @type {ArtistFetcher}\n ", - "start": 1790, - "end": 1838, + "value": "*\n * @type {FeaturedPlaylistFetcher}\n ", + "start": 1886, + "end": 1936, "loc": { "start": { - "line": 56, - "column": 8 + "line": 62, + "column": 4 }, "end": { - "line": 58, - "column": 11 + "line": 64, + "column": 7 } } }, @@ -8420,16 +9795,16 @@ "updateContext": null }, "value": "this", - "start": 1847, - "end": 1851, + "start": 1941, + "end": 1945, "loc": { "start": { - "line": 59, - "column": 8 + "line": 65, + "column": 4 }, "end": { - "line": 59, - "column": 12 + "line": 65, + "column": 8 } } }, @@ -8446,16 +9821,16 @@ "binop": null, "updateContext": null }, - "start": 1851, - "end": 1852, + "start": 1945, + "end": 1946, "loc": { "start": { - "line": 59, - "column": 12 + "line": 65, + "column": 8 }, "end": { - "line": 59, - "column": 13 + "line": 65, + "column": 9 } } }, @@ -8471,17 +9846,17 @@ "postfix": false, "binop": null }, - "value": "artistFetcher", - "start": 1852, - "end": 1865, + "value": "featuredPlaylistFetcher", + "start": 1946, + "end": 1969, "loc": { "start": { - "line": 59, - "column": 13 + "line": 65, + "column": 9 }, "end": { - "line": 59, - "column": 26 + "line": 65, + "column": 32 } } }, @@ -8499,16 +9874,16 @@ "updateContext": null }, "value": "=", - "start": 1866, - "end": 1867, + "start": 1970, + "end": 1971, "loc": { "start": { - "line": 59, - "column": 27 + "line": 65, + "column": 33 }, "end": { - "line": 59, - "column": 28 + "line": 65, + "column": 34 } } }, @@ -8527,16 +9902,16 @@ "updateContext": null }, "value": "new", - "start": 1868, - "end": 1871, + "start": 1972, + "end": 1975, "loc": { "start": { - "line": 59, - "column": 29 + "line": 65, + "column": 35 }, "end": { - "line": 59, - "column": 32 + "line": 65, + "column": 38 } } }, @@ -8552,17 +9927,17 @@ "postfix": false, "binop": null }, - "value": "ArtistFetcher", - "start": 1872, - "end": 1885, + "value": "FeaturedPlaylistFetcher", + "start": 1976, + "end": 1999, "loc": { "start": { - "line": 59, - "column": 33 + "line": 65, + "column": 39 }, "end": { - "line": 59, - "column": 46 + "line": 65, + "column": 62 } } }, @@ -8578,16 +9953,16 @@ "postfix": false, "binop": null }, - "start": 1885, - "end": 1886, + "start": 1999, + "end": 2000, "loc": { "start": { - "line": 59, - "column": 46 + "line": 65, + "column": 62 }, "end": { - "line": 59, - "column": 47 + "line": 65, + "column": 63 } } }, @@ -8606,16 +9981,16 @@ "updateContext": null }, "value": "this", - "start": 1886, - "end": 1890, + "start": 2007, + "end": 2011, "loc": { "start": { - "line": 59, - "column": 47 + "line": 66, + "column": 6 }, "end": { - "line": 59, - "column": 51 + "line": 66, + "column": 10 } } }, @@ -8632,16 +10007,16 @@ "binop": null, "updateContext": null }, - "start": 1890, - "end": 1891, + "start": 2011, + "end": 2012, "loc": { "start": { - "line": 59, - "column": 51 + "line": 66, + "column": 10 }, "end": { - "line": 59, - "column": 52 + "line": 66, + "column": 11 } } }, @@ -8658,16 +10033,16 @@ "binop": null }, "value": "httpClient", - "start": 1891, - "end": 1901, + "start": 2012, + "end": 2022, "loc": { "start": { - "line": 59, - "column": 52 + "line": 66, + "column": 11 }, "end": { - "line": 59, - "column": 62 + "line": 66, + "column": 21 } } }, @@ -8684,16 +10059,16 @@ "binop": null, "updateContext": null }, - "start": 1901, - "end": 1902, + "start": 2022, + "end": 2023, "loc": { "start": { - "line": 59, - "column": 62 + "line": 66, + "column": 21 }, "end": { - "line": 59, - "column": 63 + "line": 66, + "column": 22 } } }, @@ -8712,16 +10087,16 @@ "updateContext": null }, "value": "this", - "start": 1903, - "end": 1907, + "start": 2030, + "end": 2034, "loc": { "start": { - "line": 59, - "column": 64 + "line": 67, + "column": 6 }, "end": { - "line": 59, - "column": 68 + "line": 67, + "column": 10 } } }, @@ -8738,16 +10113,16 @@ "binop": null, "updateContext": null }, - "start": 1907, - "end": 1908, + "start": 2034, + "end": 2035, "loc": { "start": { - "line": 59, - "column": 68 + "line": 67, + "column": 10 }, "end": { - "line": 59, - "column": 69 + "line": 67, + "column": 11 } } }, @@ -8764,16 +10139,16 @@ "binop": null }, "value": "territory", - "start": 1908, - "end": 1917, + "start": 2035, + "end": 2044, "loc": { "start": { - "line": 59, - "column": 69 + "line": 67, + "column": 11 }, "end": { - "line": 59, - "column": 78 + "line": 67, + "column": 20 } } }, @@ -8789,32 +10164,58 @@ "postfix": false, "binop": null }, - "start": 1917, - "end": 1918, + "start": 2049, + "end": 2050, "loc": { "start": { - "line": 59, - "column": 78 + "line": 68, + "column": 4 }, "end": { - "line": 59, - "column": 79 + "line": 68, + "column": 5 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2050, + "end": 2051, + "loc": { + "start": { + "line": 68, + "column": 5 + }, + "end": { + "line": 68, + "column": 6 } } }, { "type": "CommentBlock", - "value": "*\n * @type {FeaturedPlaylistFetcher}\n ", - "start": 1928, - "end": 1986, + "value": "*\n * @type {FeaturedPlaylistCategoryFetcher}\n ", + "start": 2057, + "end": 2115, "loc": { "start": { - "line": 61, - "column": 8 + "line": 70, + "column": 4 }, "end": { - "line": 63, - "column": 11 + "line": 72, + "column": 7 } } }, @@ -8833,16 +10234,16 @@ "updateContext": null }, "value": "this", - "start": 1995, - "end": 1999, + "start": 2120, + "end": 2124, "loc": { "start": { - "line": 64, - "column": 8 + "line": 73, + "column": 4 }, "end": { - "line": 64, - "column": 12 + "line": 73, + "column": 8 } } }, @@ -8859,16 +10260,16 @@ "binop": null, "updateContext": null }, - "start": 1999, - "end": 2000, + "start": 2124, + "end": 2125, "loc": { "start": { - "line": 64, - "column": 12 + "line": 73, + "column": 8 }, "end": { - "line": 64, - "column": 13 + "line": 73, + "column": 9 } } }, @@ -8884,17 +10285,17 @@ "postfix": false, "binop": null }, - "value": "featuredPlaylistFetcher", - "start": 2000, - "end": 2023, + "value": "featuredPlaylistCategoryFetcher", + "start": 2125, + "end": 2156, "loc": { "start": { - "line": 64, - "column": 13 + "line": 73, + "column": 9 }, "end": { - "line": 64, - "column": 36 + "line": 73, + "column": 40 } } }, @@ -8912,16 +10313,16 @@ "updateContext": null }, "value": "=", - "start": 2024, - "end": 2025, + "start": 2157, + "end": 2158, "loc": { "start": { - "line": 64, - "column": 37 + "line": 73, + "column": 41 }, "end": { - "line": 64, - "column": 38 + "line": 73, + "column": 42 } } }, @@ -8940,16 +10341,16 @@ "updateContext": null }, "value": "new", - "start": 2026, - "end": 2029, + "start": 2159, + "end": 2162, "loc": { "start": { - "line": 64, - "column": 39 + "line": 73, + "column": 43 }, "end": { - "line": 64, - "column": 42 + "line": 73, + "column": 46 } } }, @@ -8965,17 +10366,17 @@ "postfix": false, "binop": null }, - "value": "FeaturedPlaylistFetcher", - "start": 2030, - "end": 2053, + "value": "FeaturedPlaylistCategoryFetcher", + "start": 2163, + "end": 2194, "loc": { "start": { - "line": 64, - "column": 43 + "line": 73, + "column": 47 }, "end": { - "line": 64, - "column": 66 + "line": 73, + "column": 78 } } }, @@ -8991,16 +10392,16 @@ "postfix": false, "binop": null }, - "start": 2053, - "end": 2054, + "start": 2194, + "end": 2195, "loc": { "start": { - "line": 64, - "column": 66 + "line": 73, + "column": 78 }, "end": { - "line": 64, - "column": 67 + "line": 73, + "column": 79 } } }, @@ -9019,16 +10420,16 @@ "updateContext": null }, "value": "this", - "start": 2054, - "end": 2058, + "start": 2202, + "end": 2206, "loc": { "start": { - "line": 64, - "column": 67 + "line": 74, + "column": 6 }, "end": { - "line": 64, - "column": 71 + "line": 74, + "column": 10 } } }, @@ -9045,16 +10446,16 @@ "binop": null, "updateContext": null }, - "start": 2058, - "end": 2059, + "start": 2206, + "end": 2207, "loc": { "start": { - "line": 64, - "column": 71 + "line": 74, + "column": 10 }, "end": { - "line": 64, - "column": 72 + "line": 74, + "column": 11 } } }, @@ -9071,16 +10472,16 @@ "binop": null }, "value": "httpClient", - "start": 2059, - "end": 2069, + "start": 2207, + "end": 2217, "loc": { "start": { - "line": 64, - "column": 72 + "line": 74, + "column": 11 }, "end": { - "line": 64, - "column": 82 + "line": 74, + "column": 21 } } }, @@ -9097,16 +10498,16 @@ "binop": null, "updateContext": null }, - "start": 2069, - "end": 2070, + "start": 2217, + "end": 2218, "loc": { "start": { - "line": 64, - "column": 82 + "line": 74, + "column": 21 }, "end": { - "line": 64, - "column": 83 + "line": 74, + "column": 22 } } }, @@ -9125,16 +10526,16 @@ "updateContext": null }, "value": "this", - "start": 2071, - "end": 2075, + "start": 2225, + "end": 2229, "loc": { "start": { - "line": 64, - "column": 84 + "line": 75, + "column": 6 }, "end": { - "line": 64, - "column": 88 + "line": 75, + "column": 10 } } }, @@ -9151,16 +10552,16 @@ "binop": null, "updateContext": null }, - "start": 2075, - "end": 2076, + "start": 2229, + "end": 2230, "loc": { "start": { - "line": 64, - "column": 88 + "line": 75, + "column": 10 }, "end": { - "line": 64, - "column": 89 + "line": 75, + "column": 11 } } }, @@ -9177,16 +10578,16 @@ "binop": null }, "value": "territory", - "start": 2076, - "end": 2085, + "start": 2230, + "end": 2239, "loc": { "start": { - "line": 64, - "column": 89 + "line": 75, + "column": 11 }, "end": { - "line": 64, - "column": 98 + "line": 75, + "column": 20 } } }, @@ -9202,32 +10603,58 @@ "postfix": false, "binop": null }, - "start": 2085, - "end": 2086, + "start": 2244, + "end": 2245, "loc": { "start": { - "line": 64, - "column": 98 + "line": 76, + "column": 4 }, "end": { - "line": 64, - "column": 99 + "line": 76, + "column": 5 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2245, + "end": 2246, + "loc": { + "start": { + "line": 76, + "column": 5 + }, + "end": { + "line": 76, + "column": 6 } } }, { "type": "CommentBlock", - "value": "*\n * @type {FeaturedPlaylistCategoryFetcher}\n ", - "start": 2096, - "end": 2162, + "value": "*\n * @type {NewReleaseCategoryFetcher}\n ", + "start": 2252, + "end": 2304, "loc": { "start": { - "line": 66, - "column": 8 + "line": 78, + "column": 4 }, "end": { - "line": 68, - "column": 11 + "line": 80, + "column": 7 } } }, @@ -9246,16 +10673,16 @@ "updateContext": null }, "value": "this", - "start": 2171, - "end": 2175, + "start": 2309, + "end": 2313, "loc": { "start": { - "line": 69, - "column": 8 + "line": 81, + "column": 4 }, "end": { - "line": 69, - "column": 12 + "line": 81, + "column": 8 } } }, @@ -9272,16 +10699,16 @@ "binop": null, "updateContext": null }, - "start": 2175, - "end": 2176, + "start": 2313, + "end": 2314, "loc": { "start": { - "line": 69, - "column": 12 + "line": 81, + "column": 8 }, "end": { - "line": 69, - "column": 13 + "line": 81, + "column": 9 } } }, @@ -9297,17 +10724,17 @@ "postfix": false, "binop": null }, - "value": "featuredPlaylistCategoryFetcher", - "start": 2176, - "end": 2207, + "value": "newReleaseCategoryFetcher", + "start": 2314, + "end": 2339, "loc": { "start": { - "line": 69, - "column": 13 + "line": 81, + "column": 9 }, "end": { - "line": 69, - "column": 44 + "line": 81, + "column": 34 } } }, @@ -9325,16 +10752,16 @@ "updateContext": null }, "value": "=", - "start": 2208, - "end": 2209, + "start": 2340, + "end": 2341, "loc": { "start": { - "line": 69, - "column": 45 + "line": 81, + "column": 35 }, "end": { - "line": 69, - "column": 46 + "line": 81, + "column": 36 } } }, @@ -9353,16 +10780,16 @@ "updateContext": null }, "value": "new", - "start": 2210, - "end": 2213, + "start": 2342, + "end": 2345, "loc": { "start": { - "line": 69, - "column": 47 + "line": 81, + "column": 37 }, "end": { - "line": 69, - "column": 50 + "line": 81, + "column": 40 } } }, @@ -9378,17 +10805,17 @@ "postfix": false, "binop": null }, - "value": "FeaturedPlaylistCategoryFetcher", - "start": 2214, - "end": 2245, + "value": "NewReleaseCategoryFetcher", + "start": 2346, + "end": 2371, "loc": { "start": { - "line": 69, - "column": 51 + "line": 81, + "column": 41 }, "end": { - "line": 69, - "column": 82 + "line": 81, + "column": 66 } } }, @@ -9404,16 +10831,16 @@ "postfix": false, "binop": null }, - "start": 2245, - "end": 2246, + "start": 2371, + "end": 2372, "loc": { "start": { - "line": 69, - "column": 82 + "line": 81, + "column": 66 }, "end": { - "line": 69, - "column": 83 + "line": 81, + "column": 67 } } }, @@ -9432,16 +10859,16 @@ "updateContext": null }, "value": "this", - "start": 2246, - "end": 2250, + "start": 2379, + "end": 2383, "loc": { "start": { - "line": 69, - "column": 83 + "line": 82, + "column": 6 }, "end": { - "line": 69, - "column": 87 + "line": 82, + "column": 10 } } }, @@ -9458,16 +10885,16 @@ "binop": null, "updateContext": null }, - "start": 2250, - "end": 2251, + "start": 2383, + "end": 2384, "loc": { "start": { - "line": 69, - "column": 87 + "line": 82, + "column": 10 }, "end": { - "line": 69, - "column": 88 + "line": 82, + "column": 11 } } }, @@ -9484,16 +10911,16 @@ "binop": null }, "value": "httpClient", - "start": 2251, - "end": 2261, + "start": 2384, + "end": 2394, "loc": { "start": { - "line": 69, - "column": 88 + "line": 82, + "column": 11 }, "end": { - "line": 69, - "column": 98 + "line": 82, + "column": 21 } } }, @@ -9510,16 +10937,16 @@ "binop": null, "updateContext": null }, - "start": 2261, - "end": 2262, + "start": 2394, + "end": 2395, "loc": { "start": { - "line": 69, - "column": 98 + "line": 82, + "column": 21 }, "end": { - "line": 69, - "column": 99 + "line": 82, + "column": 22 } } }, @@ -9538,16 +10965,16 @@ "updateContext": null }, "value": "this", - "start": 2263, - "end": 2267, + "start": 2402, + "end": 2406, "loc": { "start": { - "line": 69, - "column": 100 + "line": 83, + "column": 6 }, "end": { - "line": 69, - "column": 104 + "line": 83, + "column": 10 } } }, @@ -9564,16 +10991,16 @@ "binop": null, "updateContext": null }, - "start": 2267, - "end": 2268, + "start": 2406, + "end": 2407, "loc": { "start": { - "line": 69, - "column": 104 + "line": 83, + "column": 10 }, "end": { - "line": 69, - "column": 105 + "line": 83, + "column": 11 } } }, @@ -9590,16 +11017,16 @@ "binop": null }, "value": "territory", - "start": 2268, - "end": 2277, + "start": 2407, + "end": 2416, "loc": { "start": { - "line": 69, - "column": 105 + "line": 83, + "column": 11 }, "end": { - "line": 69, - "column": 114 + "line": 83, + "column": 20 } } }, @@ -9615,32 +11042,58 @@ "postfix": false, "binop": null }, - "start": 2277, - "end": 2278, + "start": 2421, + "end": 2422, + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 84, + "column": 5 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2422, + "end": 2423, "loc": { "start": { - "line": 69, - "column": 114 + "line": 84, + "column": 5 }, "end": { - "line": 69, - "column": 115 + "line": 84, + "column": 6 } } }, { "type": "CommentBlock", - "value": "*\n * @type {NewReleaseCategoryFetcher}\n ", - "start": 2288, - "end": 2348, + "value": "*\n * @type {NewHitsPlaylistFetcher}\n ", + "start": 2429, + "end": 2478, "loc": { "start": { - "line": 71, - "column": 8 + "line": 86, + "column": 4 }, "end": { - "line": 73, - "column": 11 + "line": 88, + "column": 7 } } }, @@ -9659,16 +11112,16 @@ "updateContext": null }, "value": "this", - "start": 2365, - "end": 2369, + "start": 2483, + "end": 2487, "loc": { "start": { - "line": 74, - "column": 8 + "line": 89, + "column": 4 }, "end": { - "line": 74, - "column": 12 + "line": 89, + "column": 8 } } }, @@ -9685,16 +11138,16 @@ "binop": null, "updateContext": null }, - "start": 2369, - "end": 2370, + "start": 2487, + "end": 2488, "loc": { "start": { - "line": 74, - "column": 12 + "line": 89, + "column": 8 }, "end": { - "line": 74, - "column": 13 + "line": 89, + "column": 9 } } }, @@ -9710,17 +11163,17 @@ "postfix": false, "binop": null }, - "value": "newReleaseCategoryFetcher", - "start": 2370, - "end": 2395, + "value": "newHitsPlaylistFetcher", + "start": 2488, + "end": 2510, "loc": { "start": { - "line": 74, - "column": 13 + "line": 89, + "column": 9 }, "end": { - "line": 74, - "column": 38 + "line": 89, + "column": 31 } } }, @@ -9738,16 +11191,16 @@ "updateContext": null }, "value": "=", - "start": 2396, - "end": 2397, + "start": 2511, + "end": 2512, "loc": { "start": { - "line": 74, - "column": 39 + "line": 89, + "column": 32 }, "end": { - "line": 74, - "column": 40 + "line": 89, + "column": 33 } } }, @@ -9766,16 +11219,16 @@ "updateContext": null }, "value": "new", - "start": 2398, - "end": 2401, + "start": 2513, + "end": 2516, "loc": { "start": { - "line": 74, - "column": 41 + "line": 89, + "column": 34 }, "end": { - "line": 74, - "column": 44 + "line": 89, + "column": 37 } } }, @@ -9791,17 +11244,17 @@ "postfix": false, "binop": null }, - "value": "NewReleaseCategoryFetcher", - "start": 2402, - "end": 2427, + "value": "NewHitsPlaylistFetcher", + "start": 2517, + "end": 2539, "loc": { "start": { - "line": 74, - "column": 45 + "line": 89, + "column": 38 }, "end": { - "line": 74, - "column": 70 + "line": 89, + "column": 60 } } }, @@ -9817,16 +11270,16 @@ "postfix": false, "binop": null }, - "start": 2427, - "end": 2428, + "start": 2539, + "end": 2540, "loc": { "start": { - "line": 74, - "column": 70 + "line": 89, + "column": 60 }, "end": { - "line": 74, - "column": 71 + "line": 89, + "column": 61 } } }, @@ -9845,16 +11298,16 @@ "updateContext": null }, "value": "this", - "start": 2428, - "end": 2432, + "start": 2547, + "end": 2551, "loc": { "start": { - "line": 74, - "column": 71 + "line": 90, + "column": 6 }, "end": { - "line": 74, - "column": 75 + "line": 90, + "column": 10 } } }, @@ -9871,16 +11324,16 @@ "binop": null, "updateContext": null }, - "start": 2432, - "end": 2433, + "start": 2551, + "end": 2552, "loc": { "start": { - "line": 74, - "column": 75 + "line": 90, + "column": 10 }, "end": { - "line": 74, - "column": 76 + "line": 90, + "column": 11 } } }, @@ -9897,16 +11350,16 @@ "binop": null }, "value": "httpClient", - "start": 2433, - "end": 2443, + "start": 2552, + "end": 2562, "loc": { "start": { - "line": 74, - "column": 76 + "line": 90, + "column": 11 }, "end": { - "line": 74, - "column": 86 + "line": 90, + "column": 21 } } }, @@ -9923,16 +11376,16 @@ "binop": null, "updateContext": null }, - "start": 2443, - "end": 2444, + "start": 2562, + "end": 2563, "loc": { "start": { - "line": 74, - "column": 86 + "line": 90, + "column": 21 }, "end": { - "line": 74, - "column": 87 + "line": 90, + "column": 22 } } }, @@ -9951,16 +11404,16 @@ "updateContext": null }, "value": "this", - "start": 2445, - "end": 2449, + "start": 2570, + "end": 2574, "loc": { "start": { - "line": 74, - "column": 88 + "line": 91, + "column": 6 }, "end": { - "line": 74, - "column": 92 + "line": 91, + "column": 10 } } }, @@ -9977,16 +11430,16 @@ "binop": null, "updateContext": null }, - "start": 2449, - "end": 2450, + "start": 2574, + "end": 2575, "loc": { "start": { - "line": 74, - "column": 92 + "line": 91, + "column": 10 }, "end": { - "line": 74, - "column": 93 + "line": 91, + "column": 11 } } }, @@ -10003,16 +11456,16 @@ "binop": null }, "value": "territory", - "start": 2450, - "end": 2459, + "start": 2575, + "end": 2584, "loc": { "start": { - "line": 74, - "column": 93 + "line": 91, + "column": 11 }, "end": { - "line": 74, - "column": 102 + "line": 91, + "column": 20 } } }, @@ -10028,32 +11481,58 @@ "postfix": false, "binop": null }, - "start": 2459, - "end": 2460, + "start": 2589, + "end": 2590, "loc": { "start": { - "line": 74, - "column": 102 + "line": 92, + "column": 4 }, "end": { - "line": 74, - "column": 103 + "line": 92, + "column": 5 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2590, + "end": 2591, + "loc": { + "start": { + "line": 92, + "column": 5 + }, + "end": { + "line": 92, + "column": 6 } } }, { "type": "CommentBlock", - "value": "*\n * @type {NewHitsPlaylistFetcher}\n ", - "start": 2470, - "end": 2527, + "value": "*\n * @type {GenreStationFetcher}\n ", + "start": 2597, + "end": 2643, "loc": { "start": { - "line": 76, - "column": 8 + "line": 94, + "column": 4 }, "end": { - "line": 78, - "column": 11 + "line": 96, + "column": 7 } } }, @@ -10072,16 +11551,16 @@ "updateContext": null }, "value": "this", - "start": 2544, - "end": 2548, + "start": 2648, + "end": 2652, "loc": { "start": { - "line": 79, - "column": 8 + "line": 97, + "column": 4 }, "end": { - "line": 79, - "column": 12 + "line": 97, + "column": 8 } } }, @@ -10098,16 +11577,16 @@ "binop": null, "updateContext": null }, - "start": 2548, - "end": 2549, + "start": 2652, + "end": 2653, "loc": { "start": { - "line": 79, - "column": 12 + "line": 97, + "column": 8 }, "end": { - "line": 79, - "column": 13 + "line": 97, + "column": 9 } } }, @@ -10123,17 +11602,17 @@ "postfix": false, "binop": null }, - "value": "newHitsPlaylistFetcher", - "start": 2549, - "end": 2571, + "value": "genreStationFetcher", + "start": 2653, + "end": 2672, "loc": { "start": { - "line": 79, - "column": 13 + "line": 97, + "column": 9 }, "end": { - "line": 79, - "column": 35 + "line": 97, + "column": 28 } } }, @@ -10151,16 +11630,16 @@ "updateContext": null }, "value": "=", - "start": 2572, - "end": 2573, + "start": 2673, + "end": 2674, "loc": { "start": { - "line": 79, - "column": 36 + "line": 97, + "column": 29 }, "end": { - "line": 79, - "column": 37 + "line": 97, + "column": 30 } } }, @@ -10179,16 +11658,16 @@ "updateContext": null }, "value": "new", - "start": 2574, - "end": 2577, + "start": 2675, + "end": 2678, "loc": { "start": { - "line": 79, - "column": 38 + "line": 97, + "column": 31 }, "end": { - "line": 79, - "column": 41 + "line": 97, + "column": 34 } } }, @@ -10204,17 +11683,17 @@ "postfix": false, "binop": null }, - "value": "NewHitsPlaylistFetcher", - "start": 2578, - "end": 2600, + "value": "GenreStationFetcher", + "start": 2679, + "end": 2698, "loc": { "start": { - "line": 79, - "column": 42 + "line": 97, + "column": 35 }, "end": { - "line": 79, - "column": 64 + "line": 97, + "column": 54 } } }, @@ -10230,16 +11709,16 @@ "postfix": false, "binop": null }, - "start": 2600, - "end": 2601, + "start": 2698, + "end": 2699, "loc": { "start": { - "line": 79, - "column": 64 + "line": 97, + "column": 54 }, "end": { - "line": 79, - "column": 65 + "line": 97, + "column": 55 } } }, @@ -10258,16 +11737,16 @@ "updateContext": null }, "value": "this", - "start": 2601, - "end": 2605, + "start": 2706, + "end": 2710, "loc": { "start": { - "line": 79, - "column": 65 + "line": 98, + "column": 6 }, "end": { - "line": 79, - "column": 69 + "line": 98, + "column": 10 } } }, @@ -10284,16 +11763,16 @@ "binop": null, "updateContext": null }, - "start": 2605, - "end": 2606, + "start": 2710, + "end": 2711, "loc": { "start": { - "line": 79, - "column": 69 + "line": 98, + "column": 10 }, "end": { - "line": 79, - "column": 70 + "line": 98, + "column": 11 } } }, @@ -10310,16 +11789,16 @@ "binop": null }, "value": "httpClient", - "start": 2606, - "end": 2616, + "start": 2711, + "end": 2721, "loc": { "start": { - "line": 79, - "column": 70 + "line": 98, + "column": 11 }, "end": { - "line": 79, - "column": 80 + "line": 98, + "column": 21 } } }, @@ -10336,16 +11815,16 @@ "binop": null, "updateContext": null }, - "start": 2616, - "end": 2617, + "start": 2721, + "end": 2722, "loc": { "start": { - "line": 79, - "column": 80 + "line": 98, + "column": 21 }, "end": { - "line": 79, - "column": 81 + "line": 98, + "column": 22 } } }, @@ -10364,16 +11843,16 @@ "updateContext": null }, "value": "this", - "start": 2618, - "end": 2622, + "start": 2729, + "end": 2733, "loc": { "start": { - "line": 79, - "column": 82 + "line": 99, + "column": 6 }, "end": { - "line": 79, - "column": 86 + "line": 99, + "column": 10 } } }, @@ -10390,16 +11869,16 @@ "binop": null, "updateContext": null }, - "start": 2622, - "end": 2623, + "start": 2733, + "end": 2734, "loc": { "start": { - "line": 79, - "column": 86 + "line": 99, + "column": 10 }, "end": { - "line": 79, - "column": 87 + "line": 99, + "column": 11 } } }, @@ -10416,16 +11895,16 @@ "binop": null }, "value": "territory", - "start": 2623, - "end": 2632, + "start": 2734, + "end": 2743, "loc": { "start": { - "line": 79, - "column": 87 + "line": 99, + "column": 11 }, "end": { - "line": 79, - "column": 96 + "line": 99, + "column": 20 } } }, @@ -10441,32 +11920,58 @@ "postfix": false, "binop": null }, - "start": 2632, - "end": 2633, + "start": 2748, + "end": 2749, + "loc": { + "start": { + "line": 100, + "column": 4 + }, + "end": { + "line": 100, + "column": 5 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2749, + "end": 2750, "loc": { "start": { - "line": 79, - "column": 96 + "line": 100, + "column": 5 }, "end": { - "line": 79, - "column": 97 + "line": 100, + "column": 6 } } }, { "type": "CommentBlock", - "value": "*\n * @type {GenreStationFetcher}\n ", - "start": 2651, - "end": 2705, + "value": "*\n * @type {MoodStationFetcher}\n ", + "start": 2756, + "end": 2801, "loc": { "start": { - "line": 81, - "column": 8 + "line": 102, + "column": 4 }, "end": { - "line": 83, - "column": 11 + "line": 104, + "column": 7 } } }, @@ -10485,16 +11990,16 @@ "updateContext": null }, "value": "this", - "start": 2714, - "end": 2718, + "start": 2806, + "end": 2810, "loc": { "start": { - "line": 84, - "column": 8 + "line": 105, + "column": 4 }, "end": { - "line": 84, - "column": 12 + "line": 105, + "column": 8 } } }, @@ -10511,16 +12016,16 @@ "binop": null, "updateContext": null }, - "start": 2718, - "end": 2719, + "start": 2810, + "end": 2811, "loc": { "start": { - "line": 84, - "column": 12 + "line": 105, + "column": 8 }, "end": { - "line": 84, - "column": 13 + "line": 105, + "column": 9 } } }, @@ -10536,17 +12041,17 @@ "postfix": false, "binop": null }, - "value": "genreStationFetcher", - "start": 2719, - "end": 2738, + "value": "moodStationFetcher", + "start": 2811, + "end": 2829, "loc": { "start": { - "line": 84, - "column": 13 + "line": 105, + "column": 9 }, "end": { - "line": 84, - "column": 32 + "line": 105, + "column": 27 } } }, @@ -10564,16 +12069,16 @@ "updateContext": null }, "value": "=", - "start": 2739, - "end": 2740, + "start": 2830, + "end": 2831, "loc": { "start": { - "line": 84, - "column": 33 + "line": 105, + "column": 28 }, "end": { - "line": 84, - "column": 34 + "line": 105, + "column": 29 } } }, @@ -10592,16 +12097,16 @@ "updateContext": null }, "value": "new", - "start": 2741, - "end": 2744, + "start": 2832, + "end": 2835, "loc": { "start": { - "line": 84, - "column": 35 + "line": 105, + "column": 30 }, "end": { - "line": 84, - "column": 38 + "line": 105, + "column": 33 } } }, @@ -10617,17 +12122,17 @@ "postfix": false, "binop": null }, - "value": "GenreStationFetcher", - "start": 2745, - "end": 2764, + "value": "MoodStationFetcher", + "start": 2836, + "end": 2854, "loc": { "start": { - "line": 84, - "column": 39 + "line": 105, + "column": 34 }, "end": { - "line": 84, - "column": 58 + "line": 105, + "column": 52 } } }, @@ -10643,16 +12148,16 @@ "postfix": false, "binop": null }, - "start": 2764, - "end": 2765, + "start": 2854, + "end": 2855, "loc": { "start": { - "line": 84, - "column": 58 + "line": 105, + "column": 52 }, "end": { - "line": 84, - "column": 59 + "line": 105, + "column": 53 } } }, @@ -10671,16 +12176,16 @@ "updateContext": null }, "value": "this", - "start": 2765, - "end": 2769, + "start": 2862, + "end": 2866, "loc": { "start": { - "line": 84, - "column": 59 + "line": 106, + "column": 6 }, "end": { - "line": 84, - "column": 63 + "line": 106, + "column": 10 } } }, @@ -10697,16 +12202,16 @@ "binop": null, "updateContext": null }, - "start": 2769, - "end": 2770, + "start": 2866, + "end": 2867, "loc": { "start": { - "line": 84, - "column": 63 + "line": 106, + "column": 10 }, "end": { - "line": 84, - "column": 64 + "line": 106, + "column": 11 } } }, @@ -10723,16 +12228,16 @@ "binop": null }, "value": "httpClient", - "start": 2770, - "end": 2780, + "start": 2867, + "end": 2877, "loc": { "start": { - "line": 84, - "column": 64 + "line": 106, + "column": 11 }, "end": { - "line": 84, - "column": 74 + "line": 106, + "column": 21 } } }, @@ -10749,16 +12254,16 @@ "binop": null, "updateContext": null }, - "start": 2780, - "end": 2781, + "start": 2877, + "end": 2878, "loc": { "start": { - "line": 84, - "column": 74 + "line": 106, + "column": 21 }, "end": { - "line": 84, - "column": 75 + "line": 106, + "column": 22 } } }, @@ -10777,16 +12282,16 @@ "updateContext": null }, "value": "this", - "start": 2782, - "end": 2786, + "start": 2885, + "end": 2889, "loc": { "start": { - "line": 84, - "column": 76 + "line": 107, + "column": 6 }, "end": { - "line": 84, - "column": 80 + "line": 107, + "column": 10 } } }, @@ -10803,24 +12308,50 @@ "binop": null, "updateContext": null }, - "start": 2786, - "end": 2787, + "start": 2889, + "end": 2890, + "loc": { + "start": { + "line": 107, + "column": 10 + }, + "end": { + "line": 107, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "territory", + "start": 2890, + "end": 2899, "loc": { "start": { - "line": 84, - "column": 80 + "line": 107, + "column": 11 }, "end": { - "line": 84, - "column": 81 + "line": 107, + "column": 20 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10828,58 +12359,58 @@ "postfix": false, "binop": null }, - "value": "territory", - "start": 2787, - "end": 2796, + "start": 2904, + "end": 2905, "loc": { "start": { - "line": 84, - "column": 81 + "line": 108, + "column": 4 }, "end": { - "line": 84, - "column": 90 + "line": 108, + "column": 5 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2796, - "end": 2797, + "start": 2905, + "end": 2906, "loc": { "start": { - "line": 84, - "column": 90 + "line": 108, + "column": 5 }, "end": { - "line": 84, - "column": 91 + "line": 108, + "column": 6 } } }, { "type": "CommentBlock", - "value": "*\n * @type {MoodStationFetcher}\n ", - "start": 2807, - "end": 2860, + "value": "*\n * @type {ChartFetcher}\n ", + "start": 2912, + "end": 2951, "loc": { "start": { - "line": 86, - "column": 8 + "line": 110, + "column": 4 }, "end": { - "line": 88, - "column": 11 + "line": 112, + "column": 7 } } }, @@ -10898,16 +12429,16 @@ "updateContext": null }, "value": "this", - "start": 2869, - "end": 2873, + "start": 2956, + "end": 2960, "loc": { "start": { - "line": 89, - "column": 8 + "line": 113, + "column": 4 }, "end": { - "line": 89, - "column": 12 + "line": 113, + "column": 8 } } }, @@ -10924,16 +12455,16 @@ "binop": null, "updateContext": null }, - "start": 2873, - "end": 2874, + "start": 2960, + "end": 2961, "loc": { "start": { - "line": 89, - "column": 12 + "line": 113, + "column": 8 }, "end": { - "line": 89, - "column": 13 + "line": 113, + "column": 9 } } }, @@ -10949,17 +12480,17 @@ "postfix": false, "binop": null }, - "value": "moodStationFetcher", - "start": 2874, - "end": 2892, + "value": "chartFetcher", + "start": 2961, + "end": 2973, "loc": { "start": { - "line": 89, - "column": 13 + "line": 113, + "column": 9 }, "end": { - "line": 89, - "column": 31 + "line": 113, + "column": 21 } } }, @@ -10977,16 +12508,16 @@ "updateContext": null }, "value": "=", - "start": 2893, - "end": 2894, + "start": 2974, + "end": 2975, "loc": { "start": { - "line": 89, - "column": 32 + "line": 113, + "column": 22 }, "end": { - "line": 89, - "column": 33 + "line": 113, + "column": 23 } } }, @@ -11005,16 +12536,16 @@ "updateContext": null }, "value": "new", - "start": 2895, - "end": 2898, + "start": 2976, + "end": 2979, "loc": { "start": { - "line": 89, - "column": 34 + "line": 113, + "column": 24 }, "end": { - "line": 89, - "column": 37 + "line": 113, + "column": 27 } } }, @@ -11030,17 +12561,17 @@ "postfix": false, "binop": null }, - "value": "MoodStationFetcher", - "start": 2899, - "end": 2917, + "value": "ChartFetcher", + "start": 2980, + "end": 2992, "loc": { "start": { - "line": 89, - "column": 38 + "line": 113, + "column": 28 }, "end": { - "line": 89, - "column": 56 + "line": 113, + "column": 40 } } }, @@ -11056,16 +12587,16 @@ "postfix": false, "binop": null }, - "start": 2917, - "end": 2918, + "start": 2992, + "end": 2993, "loc": { "start": { - "line": 89, - "column": 56 + "line": 113, + "column": 40 }, "end": { - "line": 89, - "column": 57 + "line": 113, + "column": 41 } } }, @@ -11084,16 +12615,16 @@ "updateContext": null }, "value": "this", - "start": 2918, - "end": 2922, + "start": 2993, + "end": 2997, "loc": { "start": { - "line": 89, - "column": 57 + "line": 113, + "column": 41 }, "end": { - "line": 89, - "column": 61 + "line": 113, + "column": 45 } } }, @@ -11110,16 +12641,16 @@ "binop": null, "updateContext": null }, - "start": 2922, - "end": 2923, + "start": 2997, + "end": 2998, "loc": { "start": { - "line": 89, - "column": 61 + "line": 113, + "column": 45 }, "end": { - "line": 89, - "column": 62 + "line": 113, + "column": 46 } } }, @@ -11136,16 +12667,16 @@ "binop": null }, "value": "httpClient", - "start": 2923, - "end": 2933, + "start": 2998, + "end": 3008, "loc": { "start": { - "line": 89, - "column": 62 + "line": 113, + "column": 46 }, "end": { - "line": 89, - "column": 72 + "line": 113, + "column": 56 } } }, @@ -11162,16 +12693,16 @@ "binop": null, "updateContext": null }, - "start": 2933, - "end": 2934, + "start": 3008, + "end": 3009, "loc": { "start": { - "line": 89, - "column": 72 + "line": 113, + "column": 56 }, "end": { - "line": 89, - "column": 73 + "line": 113, + "column": 57 } } }, @@ -11190,16 +12721,16 @@ "updateContext": null }, "value": "this", - "start": 2935, - "end": 2939, + "start": 3010, + "end": 3014, "loc": { "start": { - "line": 89, - "column": 74 + "line": 113, + "column": 58 }, "end": { - "line": 89, - "column": 78 + "line": 113, + "column": 62 } } }, @@ -11216,16 +12747,16 @@ "binop": null, "updateContext": null }, - "start": 2939, - "end": 2940, + "start": 3014, + "end": 3015, "loc": { "start": { - "line": 89, - "column": 78 + "line": 113, + "column": 62 }, "end": { - "line": 89, - "column": 79 + "line": 113, + "column": 63 } } }, @@ -11242,16 +12773,16 @@ "binop": null }, "value": "territory", - "start": 2940, - "end": 2949, + "start": 3015, + "end": 3024, "loc": { "start": { - "line": 89, - "column": 79 + "line": 113, + "column": 63 }, "end": { - "line": 89, - "column": 88 + "line": 113, + "column": 72 } } }, @@ -11267,32 +12798,58 @@ "postfix": false, "binop": null }, - "start": 2949, - "end": 2950, + "start": 3024, + "end": 3025, "loc": { "start": { - "line": 89, - "column": 88 + "line": 113, + "column": 72 }, "end": { - "line": 89, - "column": 89 + "line": 113, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3025, + "end": 3026, + "loc": { + "start": { + "line": 113, + "column": 73 + }, + "end": { + "line": 113, + "column": 74 } } }, { "type": "CommentBlock", - "value": "*\n * @type {ChartFetcher}\n ", - "start": 2960, - "end": 3007, + "value": "*\n * @type {SharedPlaylistFetcher}\n ", + "start": 3032, + "end": 3080, "loc": { "start": { - "line": 91, - "column": 8 + "line": 115, + "column": 4 }, "end": { - "line": 93, - "column": 11 + "line": 117, + "column": 7 } } }, @@ -11311,16 +12868,16 @@ "updateContext": null }, "value": "this", - "start": 3016, - "end": 3020, + "start": 3085, + "end": 3089, "loc": { "start": { - "line": 94, - "column": 8 + "line": 118, + "column": 4 }, "end": { - "line": 94, - "column": 12 + "line": 118, + "column": 8 } } }, @@ -11337,16 +12894,16 @@ "binop": null, "updateContext": null }, - "start": 3020, - "end": 3021, + "start": 3089, + "end": 3090, "loc": { "start": { - "line": 94, - "column": 12 + "line": 118, + "column": 8 }, "end": { - "line": 94, - "column": 13 + "line": 118, + "column": 9 } } }, @@ -11362,17 +12919,17 @@ "postfix": false, "binop": null }, - "value": "chartFetcher", - "start": 3021, - "end": 3033, + "value": "sharedPlaylistFetcher", + "start": 3090, + "end": 3111, "loc": { "start": { - "line": 94, - "column": 13 + "line": 118, + "column": 9 }, "end": { - "line": 94, - "column": 25 + "line": 118, + "column": 30 } } }, @@ -11390,16 +12947,16 @@ "updateContext": null }, "value": "=", - "start": 3034, - "end": 3035, + "start": 3112, + "end": 3113, "loc": { "start": { - "line": 94, - "column": 26 + "line": 118, + "column": 31 }, "end": { - "line": 94, - "column": 27 + "line": 118, + "column": 32 } } }, @@ -11418,16 +12975,16 @@ "updateContext": null }, "value": "new", - "start": 3036, - "end": 3039, + "start": 3114, + "end": 3117, "loc": { "start": { - "line": 94, - "column": 28 + "line": 118, + "column": 33 }, "end": { - "line": 94, - "column": 31 + "line": 118, + "column": 36 } } }, @@ -11443,17 +13000,17 @@ "postfix": false, "binop": null }, - "value": "ChartFetcher", - "start": 3040, - "end": 3052, + "value": "SharedPlaylistFetcher", + "start": 3118, + "end": 3139, "loc": { "start": { - "line": 94, - "column": 32 + "line": 118, + "column": 37 }, "end": { - "line": 94, - "column": 44 + "line": 118, + "column": 58 } } }, @@ -11469,16 +13026,16 @@ "postfix": false, "binop": null }, - "start": 3052, - "end": 3053, + "start": 3139, + "end": 3140, "loc": { "start": { - "line": 94, - "column": 44 + "line": 118, + "column": 58 }, "end": { - "line": 94, - "column": 45 + "line": 118, + "column": 59 } } }, @@ -11497,16 +13054,16 @@ "updateContext": null }, "value": "this", - "start": 3053, - "end": 3057, + "start": 3147, + "end": 3151, "loc": { "start": { - "line": 94, - "column": 45 + "line": 119, + "column": 6 }, "end": { - "line": 94, - "column": 49 + "line": 119, + "column": 10 } } }, @@ -11523,16 +13080,16 @@ "binop": null, "updateContext": null }, - "start": 3057, - "end": 3058, + "start": 3151, + "end": 3152, "loc": { "start": { - "line": 94, - "column": 49 + "line": 119, + "column": 10 }, "end": { - "line": 94, - "column": 50 + "line": 119, + "column": 11 } } }, @@ -11549,16 +13106,16 @@ "binop": null }, "value": "httpClient", - "start": 3058, - "end": 3068, + "start": 3152, + "end": 3162, "loc": { "start": { - "line": 94, - "column": 50 + "line": 119, + "column": 11 }, "end": { - "line": 94, - "column": 60 + "line": 119, + "column": 21 } } }, @@ -11575,16 +13132,16 @@ "binop": null, "updateContext": null }, - "start": 3068, - "end": 3069, + "start": 3162, + "end": 3163, "loc": { "start": { - "line": 94, - "column": 60 + "line": 119, + "column": 21 }, "end": { - "line": 94, - "column": 61 + "line": 119, + "column": 22 } } }, @@ -11603,16 +13160,16 @@ "updateContext": null }, "value": "this", - "start": 3070, - "end": 3074, + "start": 3170, + "end": 3174, "loc": { "start": { - "line": 94, - "column": 62 + "line": 120, + "column": 6 }, "end": { - "line": 94, - "column": 66 + "line": 120, + "column": 10 } } }, @@ -11629,16 +13186,16 @@ "binop": null, "updateContext": null }, - "start": 3074, - "end": 3075, + "start": 3174, + "end": 3175, "loc": { "start": { - "line": 94, - "column": 66 + "line": 120, + "column": 10 }, "end": { - "line": 94, - "column": 67 + "line": 120, + "column": 11 } } }, @@ -11655,16 +13212,16 @@ "binop": null }, "value": "territory", - "start": 3075, - "end": 3084, + "start": 3175, + "end": 3184, "loc": { "start": { - "line": 94, - "column": 67 + "line": 120, + "column": 11 }, "end": { - "line": 94, - "column": 76 + "line": 120, + "column": 20 } } }, @@ -11680,16 +13237,42 @@ "postfix": false, "binop": null }, - "start": 3084, - "end": 3085, + "start": 3189, + "end": 3190, "loc": { "start": { - "line": 94, - "column": 76 + "line": 121, + "column": 4 }, "end": { - "line": 94, - "column": 77 + "line": 121, + "column": 5 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3190, + "end": 3191, + "loc": { + "start": { + "line": 121, + "column": 5 + }, + "end": { + "line": 121, + "column": 6 } } }, @@ -11705,16 +13288,16 @@ "postfix": false, "binop": null }, - "start": 3098, - "end": 3099, + "start": 3194, + "end": 3195, "loc": { "start": { - "line": 95, - "column": 4 + "line": 122, + "column": 2 }, "end": { - "line": 95, - "column": 5 + "line": 122, + "column": 3 } } }, @@ -11730,15 +13313,15 @@ "postfix": false, "binop": null }, - "start": 3100, - "end": 3101, + "start": 3196, + "end": 3197, "loc": { "start": { - "line": 96, + "line": 123, "column": 0 }, "end": { - "line": 96, + "line": 123, "column": 1 } } @@ -11756,16 +13339,16 @@ "binop": null, "updateContext": null }, - "start": 3101, - "end": 3101, + "start": 3198, + "end": 3198, "loc": { "start": { - "line": 96, - "column": 1 + "line": 124, + "column": 0 }, "end": { - "line": 96, - "column": 1 + "line": 124, + "column": 0 } } } diff --git a/docs/ast/source/api/ArtistFetcher.js.json b/docs/ast/source/api/ArtistFetcher.js.json index ead004e..c767ee4 100644 --- a/docs/ast/source/api/ArtistFetcher.js.json +++ b/docs/ast/source/api/ArtistFetcher.js.json @@ -1,29 +1,29 @@ { "type": "File", "start": 0, - "end": 2448, + "end": 2780, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 77, - "column": 1 + "line": 97, + "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 2448, + "end": 2780, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 77, - "column": 1 + "line": 97, + "column": 0 } }, "sourceType": "module", @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 47, + "end": 50, "loc": { "start": { "line": 1, @@ -39,36 +39,36 @@ }, "end": { "line": 1, - "column": 47 + "column": 50 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 8, - "end": 27, + "start": 9, + "end": 28, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 27 + "column": 28 } }, "imported": { "type": "Identifier", - "start": 8, - "end": 15, + "start": 9, + "end": 16, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 15 + "column": 16 }, "identifierName": "ARTISTS" }, @@ -76,16 +76,16 @@ }, "local": { "type": "Identifier", - "start": 19, - "end": 27, + "start": 20, + "end": 28, "loc": { "start": { "line": 1, - "column": 19 + "column": 20 }, "end": { "line": 1, - "column": 27 + "column": 28 }, "identifierName": "ENDPOINT" }, @@ -95,16 +95,16 @@ ], "source": { "type": "StringLiteral", - "start": 34, - "end": 47, + "start": 36, + "end": 49, "loc": { "start": { "line": 1, - "column": 34 + "column": 36 }, "end": { "line": 1, - "column": 47 + "column": 49 } }, "extra": { @@ -116,8 +116,8 @@ }, { "type": "ImportDeclaration", - "start": 48, - "end": 79, + "start": 51, + "end": 83, "loc": { "start": { "line": 2, @@ -125,14 +125,14 @@ }, "end": { "line": 2, - "column": 31 + "column": 32 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 55, - "end": 62, + "start": 58, + "end": 65, "loc": { "start": { "line": 2, @@ -145,8 +145,8 @@ }, "local": { "type": "Identifier", - "start": 55, - "end": 62, + "start": 58, + "end": 65, "loc": { "start": { "line": 2, @@ -164,8 +164,8 @@ ], "source": { "type": "StringLiteral", - "start": 68, - "end": 79, + "start": 71, + "end": 82, "loc": { "start": { "line": 2, @@ -180,16 +180,14 @@ "rawValue": "./Fetcher", "raw": "'./Fetcher'" }, - "value": "./Fetcher", - "leadingComments": null, - "trailingComments": null + "value": "./Fetcher" }, "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Get artist metadata.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists\n ", - "start": 81, - "end": 181, + "value": "*\n * Get artist metadata.\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists\n ", + "start": 85, + "end": 175, "loc": { "start": { "line": 4, @@ -205,36 +203,36 @@ }, { "type": "ExportDefaultDeclaration", - "start": 182, - "end": 2448, + "start": 176, + "end": 2779, "loc": { "start": { "line": 8, "column": 0 }, "end": { - "line": 77, + "line": 96, "column": 1 } }, "declaration": { "type": "ClassDeclaration", - "start": 197, - "end": 2448, + "start": 191, + "end": 2779, "loc": { "start": { "line": 8, "column": 15 }, "end": { - "line": 77, + "line": 96, "column": 1 } }, "id": { "type": "Identifier", - "start": 203, - "end": 216, + "start": 197, + "end": 210, "loc": { "start": { "line": 8, @@ -251,8 +249,8 @@ }, "superClass": { "type": "Identifier", - "start": 225, - "end": 232, + "start": 219, + "end": 226, "loc": { "start": { "line": 8, @@ -268,53 +266,53 @@ }, "body": { "type": "ClassBody", - "start": 233, - "end": 2448, + "start": 227, + "end": 2779, "loc": { "start": { "line": 8, "column": 51 }, "end": { - "line": 77, + "line": 96, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 270, - "end": 423, + "start": 256, + "end": 388, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 19, - "column": 5 + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 270, - "end": 281, + "start": 256, + "end": 267, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 12, - "column": 15 + "column": 13 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, - "static": false, "kind": "constructor", "id": null, "generator": false, @@ -323,16 +321,16 @@ "params": [ { "type": "Identifier", - "start": 282, - "end": 286, + "start": 268, + "end": 272, "loc": { "start": { "line": 12, - "column": 16 + "column": 14 }, "end": { "line": 12, - "column": 20 + "column": 18 }, "identifierName": "http" }, @@ -340,30 +338,30 @@ }, { "type": "AssignmentPattern", - "start": 288, - "end": 304, + "start": 274, + "end": 290, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 38 + "column": 36 } }, "left": { "type": "Identifier", - "start": 288, - "end": 297, + "start": 274, + "end": 283, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 31 + "column": 29 }, "identifierName": "territory" }, @@ -371,16 +369,16 @@ }, "right": { "type": "StringLiteral", - "start": 300, - "end": 304, + "start": 286, + "end": 290, "loc": { "start": { "line": 12, - "column": 34 + "column": 32 }, "end": { "line": 12, - "column": 38 + "column": 36 } }, "extra": { @@ -393,75 +391,75 @@ ], "body": { "type": "BlockStatement", - "start": 306, - "end": 423, + "start": 292, + "end": 388, "loc": { "start": { "line": 12, - "column": 40 + "column": 38 }, "end": { "line": 19, - "column": 5 + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 316, - "end": 338, + "start": 298, + "end": 321, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 30 + "column": 27 } }, "expression": { "type": "CallExpression", - "start": 316, - "end": 338, + "start": 298, + "end": 320, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 30 + "column": 26 } }, "callee": { "type": "Super", - "start": 316, - "end": 321, + "start": 298, + "end": 303, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 13 + "column": 9 } } }, "arguments": [ { "type": "Identifier", - "start": 322, - "end": 326, + "start": 304, + "end": 308, "loc": { "start": { "line": 13, - "column": 14 + "column": 10 }, "end": { "line": 13, - "column": 18 + "column": 14 }, "identifierName": "http" }, @@ -469,38 +467,37 @@ }, { "type": "Identifier", - "start": 328, - "end": 337, + "start": 310, + "end": 319, "loc": { "start": { "line": 13, - "column": 20 + "column": 16 }, "end": { "line": 13, - "column": 29 + "column": 25 }, "identifierName": "territory" }, "name": "territory" } - ], - "trailingComments": null + ] }, "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 348, - "end": 382, + "value": "*\n * @ignore\n ", + "start": 327, + "end": 353, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } } @@ -508,95 +505,95 @@ }, { "type": "ExpressionStatement", - "start": 391, - "end": 417, + "start": 358, + "end": 384, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 34 + "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 391, - "end": 417, + "start": 358, + "end": 383, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 34 + "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 391, - "end": 405, + "start": 358, + "end": 371, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 22 + "column": 17 } }, "object": { "type": "ThisExpression", - "start": 391, - "end": 395, + "start": 358, + "end": 362, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 12 + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 396, - "end": 405, + "start": 363, + "end": 371, "loc": { "start": { "line": 18, - "column": 13 + "column": 9 }, "end": { "line": 18, - "column": 22 + "column": 17 }, - "identifierName": "artist_id" + "identifierName": "artistID" }, - "name": "artist_id" + "name": "artistID" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", - "start": 408, - "end": 417, + "start": 374, + "end": 383, "loc": { "start": { "line": 18, - "column": 25 + "column": 20 }, "end": { "line": 18, - "column": 34 + "column": 29 }, "identifierName": "undefined" }, @@ -607,17 +604,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 348, - "end": 382, + "value": "*\n * @ignore\n ", + "start": 327, + "end": 353, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } } @@ -630,17 +627,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 239, - "end": 265, + "value": "*\n * @ignore\n ", + "start": 231, + "end": 253, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } } @@ -648,17 +645,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Init the artist object.\n *\n * @param {string} artist_id - The ID of an artist.\n * @return {Artist}\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id\n ", - "start": 429, - "end": 663, + "value": "*\n * Init the artist object.\n *\n * @param {string} artistID - The ID of an artist.\n * @return {Artist}\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id\n ", + "start": 392, + "end": 581, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 27, - "column": 7 + "column": 5 } } } @@ -666,38 +663,38 @@ }, { "type": "ClassMethod", - "start": 668, - "end": 753, + "start": 584, + "end": 658, "loc": { "start": { "line": 28, - "column": 4 + "column": 2 }, "end": { "line": 31, - "column": 5 + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 668, - "end": 679, + "start": 584, + "end": 595, "loc": { "start": { "line": 28, - "column": 4 + "column": 2 }, "end": { "line": 28, - "column": 15 + "column": 13 }, "identifierName": "setArtistID" }, "name": "setArtistID", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -706,159 +703,159 @@ "params": [ { "type": "Identifier", - "start": 680, - "end": 689, + "start": 596, + "end": 604, "loc": { "start": { "line": 28, - "column": 16 + "column": 14 }, "end": { "line": 28, - "column": 25 + "column": 22 }, - "identifierName": "artist_id" + "identifierName": "artistID" }, - "name": "artist_id" + "name": "artistID" } ], "body": { "type": "BlockStatement", - "start": 691, - "end": 753, + "start": 606, + "end": 658, "loc": { "start": { "line": 28, - "column": 27 + "column": 24 }, "end": { "line": 31, - "column": 5 + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 701, - "end": 727, + "start": 612, + "end": 637, "loc": { "start": { "line": 29, - "column": 8 + "column": 4 }, "end": { "line": 29, - "column": 34 + "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 701, - "end": 727, + "start": 612, + "end": 636, "loc": { "start": { "line": 29, - "column": 8 + "column": 4 }, "end": { "line": 29, - "column": 34 + "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 701, - "end": 715, + "start": 612, + "end": 625, "loc": { "start": { "line": 29, - "column": 8 + "column": 4 }, "end": { "line": 29, - "column": 22 + "column": 17 } }, "object": { "type": "ThisExpression", - "start": 701, - "end": 705, + "start": 612, + "end": 616, "loc": { "start": { "line": 29, - "column": 8 + "column": 4 }, "end": { "line": 29, - "column": 12 + "column": 8 } } }, "property": { "type": "Identifier", - "start": 706, - "end": 715, + "start": 617, + "end": 625, "loc": { "start": { "line": 29, - "column": 13 + "column": 9 }, "end": { "line": 29, - "column": 22 + "column": 17 }, - "identifierName": "artist_id" + "identifierName": "artistID" }, - "name": "artist_id" + "name": "artistID" }, "computed": false }, "right": { "type": "Identifier", - "start": 718, - "end": 727, + "start": 628, + "end": 636, "loc": { "start": { "line": 29, - "column": 25 + "column": 20 }, "end": { "line": 29, - "column": 34 + "column": 28 }, - "identifierName": "artist_id" + "identifierName": "artistID" }, - "name": "artist_id" + "name": "artistID" } } }, { "type": "ReturnStatement", - "start": 736, - "end": 747, + "start": 642, + "end": 654, "loc": { "start": { "line": 30, - "column": 8 + "column": 4 }, "end": { "line": 30, - "column": 19 + "column": 16 } }, "argument": { "type": "ThisExpression", - "start": 743, - "end": 747, + "start": 649, + "end": 653, "loc": { "start": { "line": 30, - "column": 15 + "column": 11 }, "end": { "line": 30, - "column": 19 + "column": 15 } } } @@ -870,17 +867,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Init the artist object.\n *\n * @param {string} artist_id - The ID of an artist.\n * @return {Artist}\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id\n ", - "start": 429, - "end": 663, + "value": "*\n * Init the artist object.\n *\n * @param {string} artistID - The ID of an artist.\n * @return {Artist}\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id\n ", + "start": 392, + "end": 581, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 27, - "column": 7 + "column": 5 } } } @@ -888,17 +885,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch metadata of the artist you find.\n *\n * @return {Promise}\n * @example api.Artist.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id\n ", - "start": 759, - "end": 1030, + "value": "*\n * Fetch metadata of the artist you find.\n *\n * @return {Promise}\n * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id\n ", + "start": 662, + "end": 897, "loc": { "start": { "line": 33, - "column": 4 + "column": 2 }, "end": { "line": 39, - "column": 7 + "column": 5 } } } @@ -906,38 +903,38 @@ }, { "type": "ClassMethod", - "start": 1035, - "end": 1143, + "start": 900, + "end": 1020, "loc": { "start": { "line": 40, - "column": 4 + "column": 2 }, "end": { - "line": 42, - "column": 5 + "line": 44, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 1035, - "end": 1048, + "start": 900, + "end": 913, "loc": { "start": { "line": 40, - "column": 4 + "column": 2 }, "end": { "line": 40, - "column": 17 + "column": 15 }, "identifierName": "fetchMetadata" }, "name": "fetchMetadata", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -946,102 +943,102 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1051, - "end": 1143, + "start": 916, + "end": 1020, "loc": { "start": { "line": 40, - "column": 20 + "column": 18 }, "end": { - "line": 42, - "column": 5 + "line": 44, + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 1061, - "end": 1137, + "start": 922, + "end": 1016, "loc": { "start": { "line": 41, - "column": 8 + "column": 4 }, "end": { - "line": 41, - "column": 84 + "line": 43, + "column": 7 } }, "argument": { "type": "CallExpression", - "start": 1068, - "end": 1137, + "start": 929, + "end": 1015, "loc": { "start": { "line": 41, - "column": 15 + "column": 11 }, "end": { - "line": 41, - "column": 84 + "line": 43, + "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 1068, - "end": 1081, + "start": 929, + "end": 942, "loc": { "start": { "line": 41, - "column": 15 + "column": 11 }, "end": { "line": 41, - "column": 28 + "column": 24 } }, "object": { "type": "MemberExpression", - "start": 1068, - "end": 1077, + "start": 929, + "end": 938, "loc": { "start": { "line": 41, - "column": 15 + "column": 11 }, "end": { "line": 41, - "column": 24 + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 1068, - "end": 1072, + "start": 929, + "end": 933, "loc": { "start": { "line": 41, - "column": 15 + "column": 11 }, "end": { "line": 41, - "column": 19 + "column": 15 } } }, "property": { "type": "Identifier", - "start": 1073, - "end": 1077, + "start": 934, + "end": 938, "loc": { "start": { "line": 41, - "column": 20 + "column": 16 }, "end": { "line": 41, - "column": 24 + "column": 20 }, "identifierName": "http" }, @@ -1051,16 +1048,16 @@ }, "property": { "type": "Identifier", - "start": 1078, - "end": 1081, + "start": 939, + "end": 942, "loc": { "start": { "line": 41, - "column": 25 + "column": 21 }, "end": { "line": 41, - "column": 28 + "column": 24 }, "identifierName": "get" }, @@ -1071,112 +1068,148 @@ "arguments": [ { "type": "BinaryExpression", - "start": 1082, - "end": 1107, + "start": 943, + "end": 973, "loc": { "start": { "line": 41, - "column": 29 + "column": 25 }, "end": { "line": 41, - "column": 54 + "column": 55 } }, "left": { - "type": "Identifier", - "start": 1082, - "end": 1090, + "type": "BinaryExpression", + "start": 943, + "end": 957, "loc": { "start": { "line": 41, - "column": 29 + "column": 25 }, "end": { "line": 41, - "column": 37 + "column": 39 + } + }, + "left": { + "type": "Identifier", + "start": 943, + "end": 951, + "loc": { + "start": { + "line": 41, + "column": 25 + }, + "end": { + "line": 41, + "column": 33 + }, + "identifierName": "ENDPOINT" }, - "identifierName": "ENDPOINT" + "name": "ENDPOINT" }, - "name": "ENDPOINT" + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 954, + "end": 957, + "loc": { + "start": { + "line": 41, + "column": 36 + }, + "end": { + "line": 41, + "column": 39 + } + }, + "extra": { + "rawValue": "/", + "raw": "'/'" + }, + "value": "/" + } }, "operator": "+", "right": { "type": "MemberExpression", - "start": 1093, - "end": 1107, + "start": 960, + "end": 973, "loc": { "start": { "line": 41, - "column": 40 + "column": 42 }, "end": { "line": 41, - "column": 54 + "column": 55 } }, "object": { "type": "ThisExpression", - "start": 1093, - "end": 1097, + "start": 960, + "end": 964, "loc": { "start": { "line": 41, - "column": 40 + "column": 42 }, "end": { "line": 41, - "column": 44 + "column": 46 } } }, "property": { "type": "Identifier", - "start": 1098, - "end": 1107, + "start": 965, + "end": 973, "loc": { "start": { "line": 41, - "column": 45 + "column": 47 }, "end": { "line": 41, - "column": 54 + "column": 55 }, - "identifierName": "artist_id" + "identifierName": "artistID" }, - "name": "artist_id" + "name": "artistID" }, "computed": false } }, { "type": "ObjectExpression", - "start": 1109, - "end": 1136, + "start": 975, + "end": 1014, "loc": { "start": { "line": 41, - "column": 56 + "column": 57 }, "end": { - "line": 41, - "column": 83 + "line": 43, + "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 1110, - "end": 1135, + "start": 983, + "end": 1008, "loc": { "start": { - "line": 41, - "column": 57 + "line": 42, + "column": 6 }, "end": { - "line": 41, - "column": 82 + "line": 42, + "column": 31 } }, "method": false, @@ -1184,16 +1217,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 1110, - "end": 1119, + "start": 983, + "end": 992, "loc": { "start": { - "line": 41, - "column": 57 + "line": 42, + "column": 6 }, "end": { - "line": 41, - "column": 66 + "line": 42, + "column": 15 }, "identifierName": "territory" }, @@ -1201,45 +1234,45 @@ }, "value": { "type": "MemberExpression", - "start": 1121, - "end": 1135, + "start": 994, + "end": 1008, "loc": { "start": { - "line": 41, - "column": 68 + "line": 42, + "column": 17 }, "end": { - "line": 41, - "column": 82 + "line": 42, + "column": 31 } }, "object": { "type": "ThisExpression", - "start": 1121, - "end": 1125, + "start": 994, + "end": 998, "loc": { "start": { - "line": 41, - "column": 68 + "line": 42, + "column": 17 }, "end": { - "line": 41, - "column": 72 + "line": 42, + "column": 21 } } }, "property": { "type": "Identifier", - "start": 1126, - "end": 1135, + "start": 999, + "end": 1008, "loc": { "start": { - "line": 41, - "column": 73 + "line": 42, + "column": 22 }, "end": { - "line": 41, - "column": 82 + "line": 42, + "column": 31 }, "identifierName": "territory" }, @@ -1260,17 +1293,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch metadata of the artist you find.\n *\n * @return {Promise}\n * @example api.Artist.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id\n ", - "start": 759, - "end": 1030, + "value": "*\n * Fetch metadata of the artist you find.\n *\n * @return {Promise}\n * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id\n ", + "start": 662, + "end": 897, "loc": { "start": { "line": 33, - "column": 4 + "column": 2 }, "end": { "line": 39, - "column": 7 + "column": 5 } } } @@ -1278,17 +1311,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch albums belong to an artist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchAlbums()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id-albums\n ", - "start": 1149, - "end": 1553, + "value": "*\n * Fetch albums belong to an artist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchAlbums();\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id-albums\n ", + "start": 1024, + "end": 1381, "loc": { "start": { - "line": 44, - "column": 4 + "line": 46, + "column": 2 }, "end": { - "line": 52, - "column": 7 + "line": 54, + "column": 5 } } } @@ -1296,38 +1329,38 @@ }, { "type": "ClassMethod", - "start": 1558, - "end": 1789, + "start": 1384, + "end": 1593, "loc": { "start": { - "line": 53, - "column": 4 + "line": 55, + "column": 2 }, "end": { - "line": 59, - "column": 5 + "line": 61, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 1558, - "end": 1569, + "start": 1384, + "end": 1395, "loc": { "start": { - "line": 53, - "column": 4 + "line": 55, + "column": 2 }, "end": { - "line": 53, - "column": 15 + "line": 55, + "column": 13 }, "identifierName": "fetchAlbums" }, "name": "fetchAlbums", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -1336,30 +1369,30 @@ "params": [ { "type": "AssignmentPattern", - "start": 1570, - "end": 1587, + "start": 1396, + "end": 1413, "loc": { "start": { - "line": 53, - "column": 16 + "line": 55, + "column": 14 }, "end": { - "line": 53, - "column": 33 + "line": 55, + "column": 31 } }, "left": { "type": "Identifier", - "start": 1570, - "end": 1575, + "start": 1396, + "end": 1401, "loc": { "start": { - "line": 53, - "column": 16 + "line": 55, + "column": 14 }, "end": { - "line": 53, - "column": 21 + "line": 55, + "column": 19 }, "identifierName": "limit" }, @@ -1367,16 +1400,16 @@ }, "right": { "type": "Identifier", - "start": 1578, - "end": 1587, + "start": 1404, + "end": 1413, "loc": { "start": { - "line": 53, - "column": 24 + "line": 55, + "column": 22 }, "end": { - "line": 53, - "column": 33 + "line": 55, + "column": 31 }, "identifierName": "undefined" }, @@ -1385,30 +1418,30 @@ }, { "type": "AssignmentPattern", - "start": 1589, - "end": 1607, + "start": 1415, + "end": 1433, "loc": { "start": { - "line": 53, - "column": 35 + "line": 55, + "column": 33 }, "end": { - "line": 53, - "column": 53 + "line": 55, + "column": 51 } }, "left": { "type": "Identifier", - "start": 1589, - "end": 1595, + "start": 1415, + "end": 1421, "loc": { "start": { - "line": 53, - "column": 35 + "line": 55, + "column": 33 }, "end": { - "line": 53, - "column": 41 + "line": 55, + "column": 39 }, "identifierName": "offset" }, @@ -1416,16 +1449,16 @@ }, "right": { "type": "Identifier", - "start": 1598, - "end": 1607, + "start": 1424, + "end": 1433, "loc": { "start": { - "line": 53, - "column": 44 + "line": 55, + "column": 42 }, "end": { - "line": 53, - "column": 53 + "line": 55, + "column": 51 }, "identifierName": "undefined" }, @@ -1435,102 +1468,102 @@ ], "body": { "type": "BlockStatement", - "start": 1609, - "end": 1789, + "start": 1435, + "end": 1593, "loc": { "start": { - "line": 53, - "column": 55 + "line": 55, + "column": 53 }, "end": { - "line": 59, - "column": 5 + "line": 61, + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 1619, - "end": 1783, + "start": 1441, + "end": 1589, "loc": { "start": { - "line": 54, - "column": 8 + "line": 56, + "column": 4 }, "end": { - "line": 58, - "column": 10 + "line": 60, + "column": 7 } }, "argument": { "type": "CallExpression", - "start": 1626, - "end": 1783, + "start": 1448, + "end": 1588, "loc": { "start": { - "line": 54, - "column": 15 + "line": 56, + "column": 11 }, "end": { - "line": 58, - "column": 10 + "line": 60, + "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 1626, - "end": 1639, + "start": 1448, + "end": 1461, "loc": { "start": { - "line": 54, - "column": 15 + "line": 56, + "column": 11 }, "end": { - "line": 54, - "column": 28 + "line": 56, + "column": 24 } }, "object": { "type": "MemberExpression", - "start": 1626, - "end": 1635, + "start": 1448, + "end": 1457, "loc": { "start": { - "line": 54, - "column": 15 + "line": 56, + "column": 11 }, "end": { - "line": 54, - "column": 24 + "line": 56, + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 1626, - "end": 1630, + "start": 1448, + "end": 1452, "loc": { "start": { - "line": 54, - "column": 15 + "line": 56, + "column": 11 }, "end": { - "line": 54, - "column": 19 + "line": 56, + "column": 15 } } }, "property": { "type": "Identifier", - "start": 1631, - "end": 1635, + "start": 1453, + "end": 1457, "loc": { "start": { - "line": 54, - "column": 20 + "line": 56, + "column": 16 }, "end": { - "line": 54, - "column": 24 + "line": 56, + "column": 20 }, "identifierName": "http" }, @@ -1540,16 +1573,16 @@ }, "property": { "type": "Identifier", - "start": 1636, - "end": 1639, + "start": 1458, + "end": 1461, "loc": { "start": { - "line": 54, - "column": 25 + "line": 56, + "column": 21 }, "end": { - "line": 54, - "column": 28 + "line": 56, + "column": 24 }, "identifierName": "get" }, @@ -1560,95 +1593,131 @@ "arguments": [ { "type": "BinaryExpression", - "start": 1640, - "end": 1677, + "start": 1462, + "end": 1504, "loc": { "start": { - "line": 54, - "column": 29 + "line": 56, + "column": 25 }, "end": { - "line": 54, - "column": 66 + "line": 56, + "column": 67 } }, "left": { "type": "BinaryExpression", - "start": 1640, - "end": 1665, + "start": 1462, + "end": 1492, "loc": { "start": { - "line": 54, - "column": 29 + "line": 56, + "column": 25 }, "end": { - "line": 54, - "column": 54 + "line": 56, + "column": 55 } }, "left": { - "type": "Identifier", - "start": 1640, - "end": 1648, + "type": "BinaryExpression", + "start": 1462, + "end": 1476, "loc": { "start": { - "line": 54, - "column": 29 + "line": 56, + "column": 25 }, "end": { - "line": 54, - "column": 37 + "line": 56, + "column": 39 + } + }, + "left": { + "type": "Identifier", + "start": 1462, + "end": 1470, + "loc": { + "start": { + "line": 56, + "column": 25 + }, + "end": { + "line": 56, + "column": 33 + }, + "identifierName": "ENDPOINT" }, - "identifierName": "ENDPOINT" + "name": "ENDPOINT" }, - "name": "ENDPOINT" + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 1473, + "end": 1476, + "loc": { + "start": { + "line": 56, + "column": 36 + }, + "end": { + "line": 56, + "column": 39 + } + }, + "extra": { + "rawValue": "/", + "raw": "'/'" + }, + "value": "/" + } }, "operator": "+", "right": { "type": "MemberExpression", - "start": 1651, - "end": 1665, + "start": 1479, + "end": 1492, "loc": { "start": { - "line": 54, - "column": 40 + "line": 56, + "column": 42 }, "end": { - "line": 54, - "column": 54 + "line": 56, + "column": 55 } }, "object": { "type": "ThisExpression", - "start": 1651, - "end": 1655, + "start": 1479, + "end": 1483, "loc": { "start": { - "line": 54, - "column": 40 + "line": 56, + "column": 42 }, "end": { - "line": 54, - "column": 44 + "line": 56, + "column": 46 } } }, "property": { "type": "Identifier", - "start": 1656, - "end": 1665, + "start": 1484, + "end": 1492, "loc": { "start": { - "line": 54, - "column": 45 + "line": 56, + "column": 47 }, "end": { - "line": 54, - "column": 54 + "line": 56, + "column": 55 }, - "identifierName": "artist_id" + "identifierName": "artistID" }, - "name": "artist_id" + "name": "artistID" }, "computed": false } @@ -1656,16 +1725,16 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 1668, - "end": 1677, + "start": 1495, + "end": 1504, "loc": { "start": { - "line": 54, - "column": 57 + "line": 56, + "column": 58 }, "end": { - "line": 54, - "column": 66 + "line": 56, + "column": 67 } }, "extra": { @@ -1677,31 +1746,31 @@ }, { "type": "ObjectExpression", - "start": 1679, - "end": 1782, + "start": 1506, + "end": 1587, "loc": { "start": { - "line": 54, - "column": 68 + "line": 56, + "column": 69 }, "end": { - "line": 58, - "column": 9 + "line": 60, + "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 1693, - "end": 1718, + "start": 1514, + "end": 1539, "loc": { "start": { - "line": 55, - "column": 12 + "line": 57, + "column": 6 }, "end": { - "line": 55, - "column": 37 + "line": 57, + "column": 31 } }, "method": false, @@ -1709,16 +1778,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 1693, - "end": 1702, + "start": 1514, + "end": 1523, "loc": { "start": { - "line": 55, - "column": 12 + "line": 57, + "column": 6 }, "end": { - "line": 55, - "column": 21 + "line": 57, + "column": 15 }, "identifierName": "territory" }, @@ -1726,45 +1795,45 @@ }, "value": { "type": "MemberExpression", - "start": 1704, - "end": 1718, + "start": 1525, + "end": 1539, "loc": { "start": { - "line": 55, - "column": 23 + "line": 57, + "column": 17 }, "end": { - "line": 55, - "column": 37 + "line": 57, + "column": 31 } }, "object": { "type": "ThisExpression", - "start": 1704, - "end": 1708, + "start": 1525, + "end": 1529, "loc": { "start": { - "line": 55, - "column": 23 + "line": 57, + "column": 17 }, "end": { - "line": 55, - "column": 27 + "line": 57, + "column": 21 } } }, "property": { "type": "Identifier", - "start": 1709, - "end": 1718, + "start": 1530, + "end": 1539, "loc": { "start": { - "line": 55, - "column": 28 + "line": 57, + "column": 22 }, "end": { - "line": 55, - "column": 37 + "line": 57, + "column": 31 }, "identifierName": "territory" }, @@ -1775,16 +1844,16 @@ }, { "type": "ObjectProperty", - "start": 1732, - "end": 1744, + "start": 1547, + "end": 1559, "loc": { "start": { - "line": 56, - "column": 12 + "line": 58, + "column": 6 }, "end": { - "line": 56, - "column": 24 + "line": 58, + "column": 18 } }, "method": false, @@ -1792,16 +1861,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 1732, - "end": 1737, + "start": 1547, + "end": 1552, "loc": { "start": { - "line": 56, - "column": 12 + "line": 58, + "column": 6 }, "end": { - "line": 56, - "column": 17 + "line": 58, + "column": 11 }, "identifierName": "limit" }, @@ -1809,16 +1878,16 @@ }, "value": { "type": "Identifier", - "start": 1739, - "end": 1744, + "start": 1554, + "end": 1559, "loc": { "start": { - "line": 56, - "column": 19 + "line": 58, + "column": 13 }, "end": { - "line": 56, - "column": 24 + "line": 58, + "column": 18 }, "identifierName": "limit" }, @@ -1827,16 +1896,16 @@ }, { "type": "ObjectProperty", - "start": 1758, - "end": 1772, + "start": 1567, + "end": 1581, "loc": { "start": { - "line": 57, - "column": 12 + "line": 59, + "column": 6 }, "end": { - "line": 57, - "column": 26 + "line": 59, + "column": 20 } }, "method": false, @@ -1844,16 +1913,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 1758, - "end": 1764, + "start": 1567, + "end": 1573, "loc": { "start": { - "line": 57, - "column": 12 + "line": 59, + "column": 6 }, "end": { - "line": 57, - "column": 18 + "line": 59, + "column": 12 }, "identifierName": "offset" }, @@ -1861,16 +1930,16 @@ }, "value": { "type": "Identifier", - "start": 1766, - "end": 1772, + "start": 1575, + "end": 1581, "loc": { "start": { - "line": 57, - "column": 20 + "line": 59, + "column": 14 }, "end": { - "line": 57, - "column": 26 + "line": 59, + "column": 20 }, "identifierName": "offset" }, @@ -1889,17 +1958,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch albums belong to an artist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchAlbums()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id-albums\n ", - "start": 1149, - "end": 1553, + "value": "*\n * Fetch albums belong to an artist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchAlbums();\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id-albums\n ", + "start": 1024, + "end": 1381, "loc": { "start": { - "line": 44, - "column": 4 + "line": 46, + "column": 2 }, "end": { - "line": 52, - "column": 7 + "line": 54, + "column": 5 } } } @@ -1907,17 +1976,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch top tracks belong to an artist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.Artist.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchTopTracks()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id-top-tracks\n ", - "start": 1795, - "end": 2203, + "value": "*\n * Fetch top tracks belong to an artist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchTopTracks();\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id-toptracks\n ", + "start": 1597, + "end": 1964, "loc": { "start": { - "line": 61, - "column": 4 + "line": 63, + "column": 2 }, "end": { - "line": 69, - "column": 7 + "line": 71, + "column": 5 } } } @@ -1925,38 +1994,38 @@ }, { "type": "ClassMethod", - "start": 2208, - "end": 2446, + "start": 1967, + "end": 2183, "loc": { "start": { - "line": 70, - "column": 4 + "line": 72, + "column": 2 }, "end": { - "line": 76, - "column": 5 + "line": 78, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 2208, - "end": 2222, + "start": 1967, + "end": 1981, "loc": { "start": { - "line": 70, - "column": 4 + "line": 72, + "column": 2 }, "end": { - "line": 70, - "column": 18 + "line": 72, + "column": 16 }, "identifierName": "fetchTopTracks" }, "name": "fetchTopTracks", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -1965,30 +2034,30 @@ "params": [ { "type": "AssignmentPattern", - "start": 2223, - "end": 2240, + "start": 1982, + "end": 1999, "loc": { "start": { - "line": 70, - "column": 19 + "line": 72, + "column": 17 }, "end": { - "line": 70, - "column": 36 + "line": 72, + "column": 34 } }, "left": { "type": "Identifier", - "start": 2223, - "end": 2228, + "start": 1982, + "end": 1987, "loc": { "start": { - "line": 70, - "column": 19 + "line": 72, + "column": 17 }, "end": { - "line": 70, - "column": 24 + "line": 72, + "column": 22 }, "identifierName": "limit" }, @@ -1996,16 +2065,16 @@ }, "right": { "type": "Identifier", - "start": 2231, - "end": 2240, + "start": 1990, + "end": 1999, "loc": { "start": { - "line": 70, - "column": 27 + "line": 72, + "column": 25 }, "end": { - "line": 70, - "column": 36 + "line": 72, + "column": 34 }, "identifierName": "undefined" }, @@ -2014,30 +2083,30 @@ }, { "type": "AssignmentPattern", - "start": 2242, - "end": 2260, + "start": 2001, + "end": 2019, "loc": { "start": { - "line": 70, - "column": 38 + "line": 72, + "column": 36 }, "end": { - "line": 70, - "column": 56 + "line": 72, + "column": 54 } }, "left": { "type": "Identifier", - "start": 2242, - "end": 2248, + "start": 2001, + "end": 2007, "loc": { "start": { - "line": 70, - "column": 38 + "line": 72, + "column": 36 }, "end": { - "line": 70, - "column": 44 + "line": 72, + "column": 42 }, "identifierName": "offset" }, @@ -2045,16 +2114,16 @@ }, "right": { "type": "Identifier", - "start": 2251, - "end": 2260, + "start": 2010, + "end": 2019, "loc": { "start": { - "line": 70, - "column": 47 + "line": 72, + "column": 45 }, "end": { - "line": 70, - "column": 56 + "line": 72, + "column": 54 }, "identifierName": "undefined" }, @@ -2064,102 +2133,102 @@ ], "body": { "type": "BlockStatement", - "start": 2262, - "end": 2446, + "start": 2021, + "end": 2183, "loc": { "start": { - "line": 70, - "column": 58 + "line": 72, + "column": 56 }, "end": { - "line": 76, - "column": 5 + "line": 78, + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 2272, - "end": 2440, + "start": 2027, + "end": 2179, "loc": { "start": { - "line": 71, - "column": 8 + "line": 73, + "column": 4 }, "end": { - "line": 75, - "column": 10 + "line": 77, + "column": 7 } }, "argument": { "type": "CallExpression", - "start": 2279, - "end": 2440, + "start": 2034, + "end": 2178, "loc": { "start": { - "line": 71, - "column": 15 + "line": 73, + "column": 11 }, "end": { - "line": 75, - "column": 10 + "line": 77, + "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 2279, - "end": 2292, + "start": 2034, + "end": 2047, "loc": { "start": { - "line": 71, - "column": 15 + "line": 73, + "column": 11 }, "end": { - "line": 71, - "column": 28 + "line": 73, + "column": 24 } }, "object": { "type": "MemberExpression", - "start": 2279, - "end": 2288, + "start": 2034, + "end": 2043, "loc": { "start": { - "line": 71, - "column": 15 + "line": 73, + "column": 11 }, "end": { - "line": 71, - "column": 24 + "line": 73, + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 2279, - "end": 2283, + "start": 2034, + "end": 2038, "loc": { "start": { - "line": 71, - "column": 15 + "line": 73, + "column": 11 }, "end": { - "line": 71, - "column": 19 + "line": 73, + "column": 15 } } }, "property": { "type": "Identifier", - "start": 2284, - "end": 2288, + "start": 2039, + "end": 2043, "loc": { "start": { - "line": 71, - "column": 20 + "line": 73, + "column": 16 }, "end": { - "line": 71, - "column": 24 + "line": 73, + "column": 20 }, "identifierName": "http" }, @@ -2169,16 +2238,16 @@ }, "property": { "type": "Identifier", - "start": 2289, - "end": 2292, + "start": 2044, + "end": 2047, "loc": { "start": { - "line": 71, - "column": 25 + "line": 73, + "column": 21 }, "end": { - "line": 71, - "column": 28 + "line": 73, + "column": 24 }, "identifierName": "get" }, @@ -2189,95 +2258,131 @@ "arguments": [ { "type": "BinaryExpression", - "start": 2293, - "end": 2334, + "start": 2048, + "end": 2094, "loc": { "start": { - "line": 71, - "column": 29 + "line": 73, + "column": 25 }, "end": { - "line": 71, - "column": 70 + "line": 73, + "column": 71 } }, "left": { "type": "BinaryExpression", - "start": 2293, - "end": 2318, + "start": 2048, + "end": 2078, "loc": { "start": { - "line": 71, - "column": 29 + "line": 73, + "column": 25 }, "end": { - "line": 71, - "column": 54 + "line": 73, + "column": 55 } }, "left": { - "type": "Identifier", - "start": 2293, - "end": 2301, + "type": "BinaryExpression", + "start": 2048, + "end": 2062, "loc": { "start": { - "line": 71, - "column": 29 + "line": 73, + "column": 25 }, "end": { - "line": 71, - "column": 37 + "line": 73, + "column": 39 + } + }, + "left": { + "type": "Identifier", + "start": 2048, + "end": 2056, + "loc": { + "start": { + "line": 73, + "column": 25 + }, + "end": { + "line": 73, + "column": 33 + }, + "identifierName": "ENDPOINT" }, - "identifierName": "ENDPOINT" + "name": "ENDPOINT" }, - "name": "ENDPOINT" + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 2059, + "end": 2062, + "loc": { + "start": { + "line": 73, + "column": 36 + }, + "end": { + "line": 73, + "column": 39 + } + }, + "extra": { + "rawValue": "/", + "raw": "'/'" + }, + "value": "/" + } }, "operator": "+", "right": { "type": "MemberExpression", - "start": 2304, - "end": 2318, + "start": 2065, + "end": 2078, "loc": { "start": { - "line": 71, - "column": 40 + "line": 73, + "column": 42 }, "end": { - "line": 71, - "column": 54 + "line": 73, + "column": 55 } }, "object": { "type": "ThisExpression", - "start": 2304, - "end": 2308, + "start": 2065, + "end": 2069, "loc": { "start": { - "line": 71, - "column": 40 + "line": 73, + "column": 42 }, "end": { - "line": 71, - "column": 44 + "line": 73, + "column": 46 } } }, "property": { "type": "Identifier", - "start": 2309, - "end": 2318, + "start": 2070, + "end": 2078, "loc": { "start": { - "line": 71, - "column": 45 + "line": 73, + "column": 47 }, "end": { - "line": 71, - "column": 54 + "line": 73, + "column": 55 }, - "identifierName": "artist_id" + "identifierName": "artistID" }, - "name": "artist_id" + "name": "artistID" }, "computed": false } @@ -2285,16 +2390,16 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 2321, - "end": 2334, + "start": 2081, + "end": 2094, "loc": { "start": { - "line": 71, - "column": 57 + "line": 73, + "column": 58 }, "end": { - "line": 71, - "column": 70 + "line": 73, + "column": 71 } }, "extra": { @@ -2306,31 +2411,31 @@ }, { "type": "ObjectExpression", - "start": 2336, - "end": 2439, + "start": 2096, + "end": 2177, "loc": { "start": { - "line": 71, - "column": 72 + "line": 73, + "column": 73 }, "end": { - "line": 75, - "column": 9 + "line": 77, + "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 2350, - "end": 2375, + "start": 2104, + "end": 2129, "loc": { "start": { - "line": 72, - "column": 12 + "line": 74, + "column": 6 }, "end": { - "line": 72, - "column": 37 + "line": 74, + "column": 31 } }, "method": false, @@ -2338,16 +2443,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 2350, - "end": 2359, + "start": 2104, + "end": 2113, "loc": { "start": { - "line": 72, - "column": 12 + "line": 74, + "column": 6 }, "end": { - "line": 72, - "column": 21 + "line": 74, + "column": 15 }, "identifierName": "territory" }, @@ -2355,45 +2460,45 @@ }, "value": { "type": "MemberExpression", - "start": 2361, - "end": 2375, + "start": 2115, + "end": 2129, "loc": { "start": { - "line": 72, - "column": 23 + "line": 74, + "column": 17 }, "end": { - "line": 72, - "column": 37 + "line": 74, + "column": 31 } }, "object": { "type": "ThisExpression", - "start": 2361, - "end": 2365, + "start": 2115, + "end": 2119, "loc": { "start": { - "line": 72, - "column": 23 + "line": 74, + "column": 17 }, "end": { - "line": 72, - "column": 27 + "line": 74, + "column": 21 } } }, "property": { "type": "Identifier", - "start": 2366, - "end": 2375, + "start": 2120, + "end": 2129, "loc": { "start": { - "line": 72, - "column": 28 + "line": 74, + "column": 22 }, "end": { - "line": 72, - "column": 37 + "line": 74, + "column": 31 }, "identifierName": "territory" }, @@ -2404,16 +2509,16 @@ }, { "type": "ObjectProperty", - "start": 2389, - "end": 2401, + "start": 2137, + "end": 2149, "loc": { "start": { - "line": 73, - "column": 12 + "line": 75, + "column": 6 }, "end": { - "line": 73, - "column": 24 + "line": 75, + "column": 18 } }, "method": false, @@ -2421,16 +2526,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 2389, - "end": 2394, + "start": 2137, + "end": 2142, "loc": { "start": { - "line": 73, - "column": 12 + "line": 75, + "column": 6 }, "end": { - "line": 73, - "column": 17 + "line": 75, + "column": 11 }, "identifierName": "limit" }, @@ -2438,16 +2543,16 @@ }, "value": { "type": "Identifier", - "start": 2396, - "end": 2401, + "start": 2144, + "end": 2149, "loc": { "start": { - "line": 73, - "column": 19 + "line": 75, + "column": 13 }, "end": { - "line": 73, - "column": 24 + "line": 75, + "column": 18 }, "identifierName": "limit" }, @@ -2456,16 +2561,16 @@ }, { "type": "ObjectProperty", - "start": 2415, - "end": 2429, + "start": 2157, + "end": 2171, "loc": { "start": { - "line": 74, - "column": 12 + "line": 76, + "column": 6 }, "end": { - "line": 74, - "column": 26 + "line": 76, + "column": 20 } }, "method": false, @@ -2473,16 +2578,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 2415, - "end": 2421, + "start": 2157, + "end": 2163, "loc": { "start": { - "line": 74, - "column": 12 + "line": 76, + "column": 6 }, "end": { - "line": 74, - "column": 18 + "line": 76, + "column": 12 }, "identifierName": "offset" }, @@ -2490,16 +2595,16 @@ }, "value": { "type": "Identifier", - "start": 2423, - "end": 2429, + "start": 2165, + "end": 2171, "loc": { "start": { - "line": 74, - "column": 20 + "line": 76, + "column": 14 }, "end": { - "line": 74, - "column": 26 + "line": 76, + "column": 20 }, "identifierName": "offset" }, @@ -2512,218 +2617,2325 @@ } } ], - "directives": [] + "directives": [], + "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch top tracks belong to an artist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.Artist.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchTopTracks()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id-top-tracks\n ", - "start": 1795, - "end": 2203, + "value": "*\n * Fetch top tracks belong to an artist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchTopTracks();\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id-toptracks\n ", + "start": 1597, + "end": 1964, + "loc": { + "start": { + "line": 63, + "column": 2 + }, + "end": { + "line": 71, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Fetch related artists\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchRelatedArtists();\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id-relatedartists\n ", + "start": 2187, + "end": 2548, "loc": { "start": { - "line": 61, - "column": 4 + "line": 80, + "column": 2 }, "end": { - "line": 69, - "column": 7 + "line": 88, + "column": 5 } } } ] - } - ] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Get artist metadata.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists\n ", - "start": 81, - "end": 181, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 7, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Get artist metadata.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists\n ", - "start": 81, - "end": 181, - "loc": { - "start": { - "line": 4, - "column": 0 }, - "end": { - "line": 7, - "column": 3 - } - } - } - ] - } - ], - "directives": [] - }, - "comments": [ - { - "type": "CommentBlock", - "value": "*\n * Get artist metadata.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists\n ", - "start": 81, - "end": 181, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 7, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 239, - "end": 265, - "loc": { - "start": { - "line": 9, - "column": 4 - }, - "end": { - "line": 11, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 348, - "end": 382, + { + "type": "ClassMethod", + "start": 2551, + "end": 2777, + "loc": { + "start": { + "line": 89, + "column": 2 + }, + "end": { + "line": 95, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2551, + "end": 2570, + "loc": { + "start": { + "line": 89, + "column": 2 + }, + "end": { + "line": 89, + "column": 21 + }, + "identifierName": "fetchRelatedArtists" + }, + "name": "fetchRelatedArtists", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "AssignmentPattern", + "start": 2571, + "end": 2588, + "loc": { + "start": { + "line": 89, + "column": 22 + }, + "end": { + "line": 89, + "column": 39 + } + }, + "left": { + "type": "Identifier", + "start": 2571, + "end": 2576, + "loc": { + "start": { + "line": 89, + "column": 22 + }, + "end": { + "line": 89, + "column": 27 + }, + "identifierName": "limit" + }, + "name": "limit" + }, + "right": { + "type": "Identifier", + "start": 2579, + "end": 2588, + "loc": { + "start": { + "line": 89, + "column": 30 + }, + "end": { + "line": 89, + "column": 39 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } + }, + { + "type": "AssignmentPattern", + "start": 2590, + "end": 2608, + "loc": { + "start": { + "line": 89, + "column": 41 + }, + "end": { + "line": 89, + "column": 59 + } + }, + "left": { + "type": "Identifier", + "start": 2590, + "end": 2596, + "loc": { + "start": { + "line": 89, + "column": 41 + }, + "end": { + "line": 89, + "column": 47 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "right": { + "type": "Identifier", + "start": 2599, + "end": 2608, + "loc": { + "start": { + "line": 89, + "column": 50 + }, + "end": { + "line": 89, + "column": 59 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 2610, + "end": 2777, + "loc": { + "start": { + "line": 89, + "column": 61 + }, + "end": { + "line": 95, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2616, + "end": 2773, + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 94, + "column": 7 + } + }, + "argument": { + "type": "CallExpression", + "start": 2623, + "end": 2772, + "loc": { + "start": { + "line": 90, + "column": 11 + }, + "end": { + "line": 94, + "column": 6 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2623, + "end": 2636, + "loc": { + "start": { + "line": 90, + "column": 11 + }, + "end": { + "line": 90, + "column": 24 + } + }, + "object": { + "type": "MemberExpression", + "start": 2623, + "end": 2632, + "loc": { + "start": { + "line": 90, + "column": 11 + }, + "end": { + "line": 90, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 2623, + "end": 2627, + "loc": { + "start": { + "line": 90, + "column": 11 + }, + "end": { + "line": 90, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 2628, + "end": 2632, + "loc": { + "start": { + "line": 90, + "column": 16 + }, + "end": { + "line": 90, + "column": 20 + }, + "identifierName": "http" + }, + "name": "http" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2633, + "end": 2636, + "loc": { + "start": { + "line": 90, + "column": 21 + }, + "end": { + "line": 90, + "column": 24 + }, + "identifierName": "get" + }, + "name": "get" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 2637, + "end": 2688, + "loc": { + "start": { + "line": 90, + "column": 25 + }, + "end": { + "line": 90, + "column": 76 + } + }, + "left": { + "type": "BinaryExpression", + "start": 2637, + "end": 2667, + "loc": { + "start": { + "line": 90, + "column": 25 + }, + "end": { + "line": 90, + "column": 55 + } + }, + "left": { + "type": "BinaryExpression", + "start": 2637, + "end": 2651, + "loc": { + "start": { + "line": 90, + "column": 25 + }, + "end": { + "line": 90, + "column": 39 + } + }, + "left": { + "type": "Identifier", + "start": 2637, + "end": 2645, + "loc": { + "start": { + "line": 90, + "column": 25 + }, + "end": { + "line": 90, + "column": 33 + }, + "identifierName": "ENDPOINT" + }, + "name": "ENDPOINT" + }, + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 2648, + "end": 2651, + "loc": { + "start": { + "line": 90, + "column": 36 + }, + "end": { + "line": 90, + "column": 39 + } + }, + "extra": { + "rawValue": "/", + "raw": "'/'" + }, + "value": "/" + } + }, + "operator": "+", + "right": { + "type": "MemberExpression", + "start": 2654, + "end": 2667, + "loc": { + "start": { + "line": 90, + "column": 42 + }, + "end": { + "line": 90, + "column": 55 + } + }, + "object": { + "type": "ThisExpression", + "start": 2654, + "end": 2658, + "loc": { + "start": { + "line": 90, + "column": 42 + }, + "end": { + "line": 90, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "start": 2659, + "end": 2667, + "loc": { + "start": { + "line": 90, + "column": 47 + }, + "end": { + "line": 90, + "column": 55 + }, + "identifierName": "artistID" + }, + "name": "artistID" + }, + "computed": false + } + }, + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 2670, + "end": 2688, + "loc": { + "start": { + "line": 90, + "column": 58 + }, + "end": { + "line": 90, + "column": 76 + } + }, + "extra": { + "rawValue": "/related-artists", + "raw": "'/related-artists'" + }, + "value": "/related-artists" + } + }, + { + "type": "ObjectExpression", + "start": 2690, + "end": 2771, + "loc": { + "start": { + "line": 90, + "column": 78 + }, + "end": { + "line": 94, + "column": 5 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 2698, + "end": 2723, + "loc": { + "start": { + "line": 91, + "column": 6 + }, + "end": { + "line": 91, + "column": 31 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2698, + "end": 2707, + "loc": { + "start": { + "line": 91, + "column": 6 + }, + "end": { + "line": 91, + "column": 15 + }, + "identifierName": "territory" + }, + "name": "territory" + }, + "value": { + "type": "MemberExpression", + "start": 2709, + "end": 2723, + "loc": { + "start": { + "line": 91, + "column": 17 + }, + "end": { + "line": 91, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 2709, + "end": 2713, + "loc": { + "start": { + "line": 91, + "column": 17 + }, + "end": { + "line": 91, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "start": 2714, + "end": 2723, + "loc": { + "start": { + "line": 91, + "column": 22 + }, + "end": { + "line": 91, + "column": 31 + }, + "identifierName": "territory" + }, + "name": "territory" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 2731, + "end": 2743, + "loc": { + "start": { + "line": 92, + "column": 6 + }, + "end": { + "line": 92, + "column": 18 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2731, + "end": 2736, + "loc": { + "start": { + "line": 92, + "column": 6 + }, + "end": { + "line": 92, + "column": 11 + }, + "identifierName": "limit" + }, + "name": "limit" + }, + "value": { + "type": "Identifier", + "start": 2738, + "end": 2743, + "loc": { + "start": { + "line": 92, + "column": 13 + }, + "end": { + "line": 92, + "column": 18 + }, + "identifierName": "limit" + }, + "name": "limit" + } + }, + { + "type": "ObjectProperty", + "start": 2751, + "end": 2765, + "loc": { + "start": { + "line": 93, + "column": 6 + }, + "end": { + "line": 93, + "column": 20 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2751, + "end": 2757, + "loc": { + "start": { + "line": 93, + "column": 6 + }, + "end": { + "line": 93, + "column": 12 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "value": { + "type": "Identifier", + "start": 2759, + "end": 2765, + "loc": { + "start": { + "line": 93, + "column": 14 + }, + "end": { + "line": 93, + "column": 20 + }, + "identifierName": "offset" + }, + "name": "offset" + } + } + ] + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Fetch related artists\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchRelatedArtists();\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id-relatedartists\n ", + "start": 2187, + "end": 2548, + "loc": { + "start": { + "line": 80, + "column": 2 + }, + "end": { + "line": 88, + "column": 5 + } + } + } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get artist metadata.\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists\n ", + "start": 85, + "end": 175, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get artist metadata.\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists\n ", + "start": 85, + "end": 175, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * Get artist metadata.\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists\n ", + "start": 85, + "end": 175, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @ignore\n ", + "start": 231, + "end": 253, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 11, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @ignore\n ", + "start": 327, + "end": 353, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Init the artist object.\n *\n * @param {string} artistID - The ID of an artist.\n * @return {Artist}\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id\n ", + "start": 392, + "end": 581, + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 27, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Fetch metadata of the artist you find.\n *\n * @return {Promise}\n * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id\n ", + "start": 662, + "end": 897, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 39, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Fetch albums belong to an artist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchAlbums();\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id-albums\n ", + "start": 1024, + "end": 1381, + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 54, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Fetch top tracks belong to an artist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchTopTracks();\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id-toptracks\n ", + "start": 1597, + "end": 1964, + "loc": { + "start": { + "line": 63, + "column": 2 + }, + "end": { + "line": 71, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Fetch related artists\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchRelatedArtists();\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id-relatedartists\n ", + "start": 2187, + "end": 2548, + "loc": { + "start": { + "line": 80, + "column": 2 + }, + "end": { + "line": 88, + "column": 5 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ARTISTS", + "start": 9, + "end": 16, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "as", + "start": 17, + "end": 19, + "loc": { + "start": { + "line": 1, + "column": 17 + }, + "end": { + "line": 1, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ENDPOINT", + "start": 20, + "end": 28, + "loc": { + "start": { + "line": 1, + "column": 20 + }, + "end": { + "line": 1, + "column": 28 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 29, + "end": 30, + "loc": { + "start": { + "line": 1, + "column": 29 + }, + "end": { + "line": 1, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 31, + "end": 35, + "loc": { + "start": { + "line": 1, + "column": 31 + }, + "end": { + "line": 1, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../Endpoint", + "start": 36, + "end": 49, + "loc": { + "start": { + "line": 1, + "column": 36 + }, + "end": { + "line": 1, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 49, + "end": 50, + "loc": { + "start": { + "line": 1, + "column": 49 + }, + "end": { + "line": 1, + "column": 50 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 51, + "end": 57, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Fetcher", + "start": 58, + "end": 65, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 66, + "end": 70, + "loc": { + "start": { + "line": 2, + "column": 15 + }, + "end": { + "line": 2, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./Fetcher", + "start": 71, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 20 + }, + "end": { + "line": 2, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 82, + "end": 83, + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 32 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Get artist metadata.\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists\n ", + "start": 85, + "end": 175, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 176, + "end": 182, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 183, + "end": 190, + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 14 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 191, + "end": 196, + "loc": { + "start": { + "line": 8, + "column": 15 + }, + "end": { + "line": 8, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ArtistFetcher", + "start": 197, + "end": 210, + "loc": { + "start": { + "line": 8, + "column": 21 + }, + "end": { + "line": 8, + "column": 34 + } + } + }, + { + "type": { + "label": "extends", + "keyword": "extends", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "extends", + "start": 211, + "end": 218, + "loc": { + "start": { + "line": 8, + "column": 35 + }, + "end": { + "line": 8, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Fetcher", + "start": 219, + "end": 226, + "loc": { + "start": { + "line": 8, + "column": 43 + }, + "end": { + "line": 8, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 227, + "end": 228, + "loc": { + "start": { + "line": 8, + "column": 51 + }, + "end": { + "line": 8, + "column": 52 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @ignore\n ", + "start": 231, + "end": 253, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 11, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 256, + "end": 267, + "loc": { + "start": { + "line": 12, + "column": 2 + }, + "end": { + "line": 12, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 267, + "end": 268, + "loc": { + "start": { + "line": 12, + "column": 13 + }, + "end": { + "line": 12, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "http", + "start": 268, + "end": 272, + "loc": { + "start": { + "line": 12, + "column": 14 + }, + "end": { + "line": 12, + "column": 18 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 272, + "end": 273, + "loc": { + "start": { + "line": 12, + "column": 18 + }, + "end": { + "line": 12, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "territory", + "start": 274, + "end": 283, + "loc": { + "start": { + "line": 12, + "column": 20 + }, + "end": { + "line": 12, + "column": 29 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 284, + "end": 285, + "loc": { + "start": { + "line": 12, + "column": 30 + }, + "end": { + "line": 12, + "column": 31 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "TW", + "start": 286, + "end": 290, + "loc": { + "start": { + "line": 12, + "column": 32 + }, + "end": { + "line": 12, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 290, + "end": 291, + "loc": { + "start": { + "line": 12, + "column": 36 + }, + "end": { + "line": 12, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 292, + "end": 293, + "loc": { + "start": { + "line": 12, + "column": 38 + }, + "end": { + "line": 12, + "column": 39 + } + } + }, + { + "type": { + "label": "super", + "keyword": "super", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "super", + "start": 298, + "end": 303, + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 13, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 303, + "end": 304, + "loc": { + "start": { + "line": 13, + "column": 9 + }, + "end": { + "line": 13, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "http", + "start": 304, + "end": 308, + "loc": { + "start": { + "line": 13, + "column": 10 + }, + "end": { + "line": 13, + "column": 14 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 308, + "end": 309, + "loc": { + "start": { + "line": 13, + "column": 14 + }, + "end": { + "line": 13, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "territory", + "start": 310, + "end": 319, + "loc": { + "start": { + "line": 13, + "column": 16 + }, + "end": { + "line": 13, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 319, + "end": 320, + "loc": { + "start": { + "line": 13, + "column": 25 + }, + "end": { + "line": 13, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 320, + "end": 321, + "loc": { + "start": { + "line": 13, + "column": 26 + }, + "end": { + "line": 13, + "column": 27 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @ignore\n ", + "start": 327, + "end": 353, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 358, + "end": 362, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 362, + "end": 363, + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "artistID", + "start": 363, + "end": 371, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 372, + "end": 373, + "loc": { + "start": { + "line": 18, + "column": 18 + }, + "end": { + "line": 18, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "undefined", + "start": 374, + "end": 383, + "loc": { + "start": { + "line": 18, + "column": 20 + }, + "end": { + "line": 18, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 383, + "end": 384, + "loc": { + "start": { + "line": 18, + "column": 29 + }, + "end": { + "line": 18, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 387, + "end": 388, + "loc": { + "start": { + "line": 19, + "column": 2 + }, + "end": { + "line": 19, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Init the artist object.\n *\n * @param {string} artistID - The ID of an artist.\n * @return {Artist}\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id\n ", + "start": 392, + "end": 581, + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 27, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setArtistID", + "start": 584, + "end": 595, + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 28, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 595, + "end": 596, + "loc": { + "start": { + "line": 28, + "column": 13 + }, + "end": { + "line": 28, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "artistID", + "start": 596, + "end": 604, + "loc": { + "start": { + "line": 28, + "column": 14 + }, + "end": { + "line": 28, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 604, + "end": 605, "loc": { "start": { - "line": 15, - "column": 8 + "line": 28, + "column": 22 }, "end": { - "line": 17, - "column": 11 + "line": 28, + "column": 23 } } }, { - "type": "CommentBlock", - "value": "*\n * Init the artist object.\n *\n * @param {string} artist_id - The ID of an artist.\n * @return {Artist}\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id\n ", - "start": 429, - "end": 663, + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 606, + "end": 607, "loc": { "start": { - "line": 21, - "column": 4 + "line": 28, + "column": 24 }, "end": { - "line": 27, - "column": 7 + "line": 28, + "column": 25 } } }, { - "type": "CommentBlock", - "value": "*\n * Fetch metadata of the artist you find.\n *\n * @return {Promise}\n * @example api.Artist.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id\n ", - "start": 759, - "end": 1030, + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 612, + "end": 616, "loc": { "start": { - "line": 33, + "line": 29, "column": 4 }, "end": { - "line": 39, - "column": 7 + "line": 29, + "column": 8 } } }, { - "type": "CommentBlock", - "value": "*\n * Fetch albums belong to an artist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchAlbums()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id-albums\n ", - "start": 1149, - "end": 1553, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 616, + "end": 617, "loc": { "start": { - "line": 44, - "column": 4 + "line": 29, + "column": 8 }, "end": { - "line": 52, - "column": 7 + "line": 29, + "column": 9 } } }, { - "type": "CommentBlock", - "value": "*\n * Fetch top tracks belong to an artist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.Artist.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchTopTracks()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id-top-tracks\n ", - "start": 1795, - "end": 2203, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "artistID", + "start": 617, + "end": 625, "loc": { "start": { - "line": 61, - "column": 4 + "line": 29, + "column": 9 }, "end": { - "line": 69, - "column": 7 + "line": 29, + "column": 17 } } - } - ], - "tokens": [ + }, { "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "import", - "start": 0, - "end": 6, + "value": "=", + "start": 626, + "end": 627, "loc": { "start": { - "line": 1, - "column": 0 + "line": 29, + "column": 18 }, "end": { - "line": 1, - "column": 6 + "line": 29, + "column": 19 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -2732,74 +4944,78 @@ "postfix": false, "binop": null }, - "start": 7, - "end": 8, + "value": "artistID", + "start": 628, + "end": 636, "loc": { "start": { - "line": 1, - "column": 7 + "line": 29, + "column": 20 }, "end": { - "line": 1, - "column": 8 + "line": 29, + "column": 28 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "ARTISTS", - "start": 8, - "end": 15, + "start": 636, + "end": 637, "loc": { "start": { - "line": 1, - "column": 8 + "line": 29, + "column": 28 }, "end": { - "line": 1, - "column": 15 + "line": 29, + "column": 29 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "as", - "start": 16, - "end": 18, + "value": "return", + "start": 642, + "end": 648, "loc": { "start": { - "line": 1, - "column": 16 + "line": 30, + "column": 4 }, "end": { - "line": 1, - "column": 18 + "line": 30, + "column": 10 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2807,52 +5023,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "ENDPOINT", - "start": 19, - "end": 27, + "value": "this", + "start": 649, + "end": 653, "loc": { "start": { - "line": 1, - "column": 19 + "line": 30, + "column": 11 }, "end": { - "line": 1, - "column": 27 + "line": 30, + "column": 15 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 27, - "end": 28, + "start": 653, + "end": 654, "loc": { "start": { - "line": 1, - "column": 27 + "line": 30, + "column": 15 }, "end": { - "line": 1, - "column": 28 + "line": 30, + "column": 16 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2860,23 +5078,38 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 29, - "end": 33, + "start": 657, + "end": 658, "loc": { "start": { - "line": 1, - "column": 29 + "line": 31, + "column": 2 }, "end": { - "line": 1, - "column": 33 + "line": 31, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Fetch metadata of the artist you find.\n *\n * @return {Promise}\n * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id\n ", + "start": 662, + "end": 897, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 39, + "column": 5 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2884,56 +5117,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "../Endpoint", - "start": 34, - "end": 47, + "value": "fetchMetadata", + "start": 900, + "end": 913, "loc": { "start": { - "line": 1, - "column": 34 + "line": 40, + "column": 2 }, "end": { - "line": 1, - "column": 47 + "line": 40, + "column": 15 } } }, { "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "import", - "start": 48, - "end": 54, + "start": 913, + "end": 914, "loc": { "start": { - "line": 2, - "column": 0 + "line": 40, + "column": 15 }, "end": { - "line": 2, - "column": 6 + "line": 40, + "column": 16 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2941,24 +5170,23 @@ "postfix": false, "binop": null }, - "value": "Fetcher", - "start": 55, - "end": 62, + "start": 914, + "end": 915, "loc": { "start": { - "line": 2, - "column": 7 + "line": 40, + "column": 16 }, "end": { - "line": 2, - "column": 14 + "line": 40, + "column": 17 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -2967,25 +5195,25 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 63, - "end": 67, + "start": 916, + "end": 917, "loc": { "start": { - "line": 2, - "column": 15 + "line": 40, + "column": 18 }, "end": { - "line": 2, + "line": 40, "column": 19 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2994,40 +5222,51 @@ "binop": null, "updateContext": null }, - "value": "./Fetcher", - "start": 68, - "end": 79, + "value": "return", + "start": 922, + "end": 928, "loc": { "start": { - "line": 2, - "column": 20 + "line": 41, + "column": 4 }, "end": { - "line": 2, - "column": 31 + "line": 41, + "column": 10 } } }, { - "type": "CommentBlock", - "value": "*\n * Get artist metadata.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists\n ", - "start": 81, - "end": 181, + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 929, + "end": 933, "loc": { "start": { - "line": 4, - "column": 0 + "line": 41, + "column": 11 }, "end": { - "line": 7, - "column": 3 + "line": 41, + "column": 15 } } }, { "type": { - "label": "export", - "keyword": "export", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -3038,52 +5277,48 @@ "binop": null, "updateContext": null }, - "value": "export", - "start": 182, - "end": 188, + "start": 933, + "end": 934, "loc": { "start": { - "line": 8, - "column": 0 + "line": 41, + "column": 15 }, "end": { - "line": 8, - "column": 6 + "line": 41, + "column": 16 } } }, { "type": { - "label": "default", - "keyword": "default", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "default", - "start": 189, - "end": 196, + "value": "http", + "start": 934, + "end": 938, "loc": { "start": { - "line": 8, - "column": 7 + "line": 41, + "column": 16 }, "end": { - "line": 8, - "column": 14 + "line": 41, + "column": 20 } } }, { "type": { - "label": "class", - "keyword": "class", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -3094,17 +5329,16 @@ "binop": null, "updateContext": null }, - "value": "class", - "start": 197, - "end": 202, + "start": 938, + "end": 939, "loc": { "start": { - "line": 8, - "column": 15 + "line": 41, + "column": 20 }, "end": { - "line": 8, - "column": 20 + "line": 41, + "column": 21 } } }, @@ -3120,45 +5354,42 @@ "postfix": false, "binop": null }, - "value": "ArtistFetcher", - "start": 203, - "end": 216, + "value": "get", + "start": 939, + "end": 942, "loc": { "start": { - "line": 8, + "line": 41, "column": 21 }, "end": { - "line": 8, - "column": 34 + "line": 41, + "column": 24 } } }, { "type": { - "label": "extends", - "keyword": "extends", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "extends", - "start": 217, - "end": 224, + "start": 942, + "end": 943, "loc": { "start": { - "line": 8, - "column": 35 + "line": 41, + "column": 24 }, "end": { - "line": 8, - "column": 42 + "line": 41, + "column": 25 } } }, @@ -3174,64 +5405,50 @@ "postfix": false, "binop": null }, - "value": "Fetcher", - "start": 225, - "end": 232, + "value": "ENDPOINT", + "start": 943, + "end": 951, "loc": { "start": { - "line": 8, - "column": 43 + "line": 41, + "column": 25 }, "end": { - "line": 8, - "column": 50 + "line": 41, + "column": 33 } } }, { "type": { - "label": "{", + "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "start": 233, - "end": 234, - "loc": { - "start": { - "line": 8, - "column": 51 - }, - "end": { - "line": 8, - "column": 52 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 239, - "end": 265, + "value": "+", + "start": 952, + "end": 953, "loc": { "start": { - "line": 9, - "column": 4 + "line": 41, + "column": 34 }, "end": { - "line": 11, - "column": 7 + "line": 41, + "column": 35 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3239,50 +5456,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "constructor", - "start": 270, - "end": 281, + "value": "/", + "start": 954, + "end": 957, "loc": { "start": { - "line": 12, - "column": 4 + "line": 41, + "column": 36 }, "end": { - "line": 12, - "column": 15 + "line": 41, + "column": 39 } } }, { "type": { - "label": "(", + "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "start": 281, - "end": 282, + "value": "+", + "start": 958, + "end": 959, "loc": { "start": { - "line": 12, - "column": 15 + "line": 41, + "column": 40 }, "end": { - "line": 12, - "column": 16 + "line": 41, + "column": 41 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3290,26 +5511,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "http", - "start": 282, - "end": 286, + "value": "this", + "start": 960, + "end": 964, "loc": { "start": { - "line": 12, - "column": 16 + "line": 41, + "column": 42 }, "end": { - "line": 12, - "column": 20 + "line": 41, + "column": 46 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -3319,16 +5541,16 @@ "binop": null, "updateContext": null }, - "start": 286, - "end": 287, + "start": 964, + "end": 965, "loc": { "start": { - "line": 12, - "column": 20 + "line": 41, + "column": 46 }, "end": { - "line": 12, - "column": 21 + "line": 41, + "column": 47 } } }, @@ -3342,52 +5564,76 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null + }, + "value": "artistID", + "start": 965, + "end": 973, + "loc": { + "start": { + "line": 41, + "column": 47 + }, + "end": { + "line": 41, + "column": 55 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null }, - "value": "territory", - "start": 288, - "end": 297, + "start": 973, + "end": 974, "loc": { "start": { - "line": 12, - "column": 22 + "line": 41, + "column": 55 }, "end": { - "line": 12, - "column": 31 + "line": 41, + "column": 56 } } }, { "type": { - "label": "=", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 298, - "end": 299, + "start": 975, + "end": 976, "loc": { "start": { - "line": 12, - "column": 32 + "line": 41, + "column": 57 }, "end": { - "line": 12, - "column": 33 + "line": 41, + "column": 58 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3395,79 +5641,81 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "TW", - "start": 300, - "end": 304, + "value": "territory", + "start": 983, + "end": 992, "loc": { "start": { - "line": 12, - "column": 34 + "line": 42, + "column": 6 }, "end": { - "line": 12, - "column": 38 + "line": 42, + "column": 15 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 304, - "end": 305, + "start": 992, + "end": 993, "loc": { "start": { - "line": 12, - "column": 38 + "line": 42, + "column": 15 }, "end": { - "line": 12, - "column": 39 + "line": 42, + "column": 16 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 306, - "end": 307, + "value": "this", + "start": 994, + "end": 998, "loc": { "start": { - "line": 12, - "column": 40 + "line": 42, + "column": 17 }, "end": { - "line": 12, - "column": 41 + "line": 42, + "column": 21 } } }, { "type": { - "label": "super", - "keyword": "super", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3476,24 +5724,23 @@ "binop": null, "updateContext": null }, - "value": "super", - "start": 316, - "end": 321, + "start": 998, + "end": 999, "loc": { "start": { - "line": 13, - "column": 8 + "line": 42, + "column": 21 }, "end": { - "line": 13, - "column": 13 + "line": 42, + "column": 22 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3502,24 +5749,25 @@ "postfix": false, "binop": null }, - "start": 321, - "end": 322, + "value": "territory", + "start": 999, + "end": 1008, "loc": { "start": { - "line": 13, - "column": 13 + "line": 42, + "column": 22 }, "end": { - "line": 13, - "column": 14 + "line": 42, + "column": 31 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3527,75 +5775,73 @@ "postfix": false, "binop": null }, - "value": "http", - "start": 322, - "end": 326, + "start": 1013, + "end": 1014, "loc": { "start": { - "line": 13, - "column": 14 + "line": 43, + "column": 4 }, "end": { - "line": 13, - "column": 18 + "line": 43, + "column": 5 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 326, - "end": 327, + "start": 1014, + "end": 1015, "loc": { "start": { - "line": 13, - "column": 18 + "line": 43, + "column": 5 }, "end": { - "line": 13, - "column": 19 + "line": 43, + "column": 6 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "territory", - "start": 328, - "end": 337, + "start": 1015, + "end": 1016, "loc": { "start": { - "line": 13, - "column": 20 + "line": 43, + "column": 6 }, "end": { - "line": 13, - "column": 29 + "line": 43, + "column": 7 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -3605,39 +5851,38 @@ "postfix": false, "binop": null }, - "start": 337, - "end": 338, + "start": 1019, + "end": 1020, "loc": { "start": { - "line": 13, - "column": 29 + "line": 44, + "column": 2 }, "end": { - "line": 13, - "column": 30 + "line": 44, + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 348, - "end": 382, + "value": "*\n * Fetch albums belong to an artist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchAlbums();\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id-albums\n ", + "start": 1024, + "end": 1381, "loc": { "start": { - "line": 15, - "column": 8 + "line": 46, + "column": 2 }, "end": { - "line": 17, - "column": 11 + "line": 54, + "column": 5 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3645,46 +5890,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 391, - "end": 395, + "value": "fetchAlbums", + "start": 1384, + "end": 1395, "loc": { "start": { - "line": 18, - "column": 8 + "line": 55, + "column": 2 }, "end": { - "line": 18, - "column": 12 + "line": 55, + "column": 13 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 395, - "end": 396, + "start": 1395, + "end": 1396, "loc": { "start": { - "line": 18, - "column": 12 + "line": 55, + "column": 13 }, "end": { - "line": 18, - "column": 13 + "line": 55, + "column": 14 } } }, @@ -3700,17 +5943,17 @@ "postfix": false, "binop": null }, - "value": "artist_id", - "start": 396, - "end": 405, + "value": "limit", + "start": 1396, + "end": 1401, "loc": { "start": { - "line": 18, - "column": 13 + "line": 55, + "column": 14 }, "end": { - "line": 18, - "column": 22 + "line": 55, + "column": 19 } } }, @@ -3728,16 +5971,16 @@ "updateContext": null }, "value": "=", - "start": 406, - "end": 407, + "start": 1402, + "end": 1403, "loc": { "start": { - "line": 18, - "column": 23 + "line": 55, + "column": 20 }, "end": { - "line": 18, - "column": 24 + "line": 55, + "column": 21 } } }, @@ -3754,57 +5997,42 @@ "binop": null }, "value": "undefined", - "start": 408, - "end": 417, + "start": 1404, + "end": 1413, "loc": { "start": { - "line": 18, - "column": 25 + "line": 55, + "column": 22 }, "end": { - "line": 18, - "column": 34 + "line": 55, + "column": 31 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 422, - "end": 423, - "loc": { - "start": { - "line": 19, - "column": 4 - }, - "end": { - "line": 19, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Init the artist object.\n *\n * @param {string} artist_id - The ID of an artist.\n * @return {Artist}\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id\n ", - "start": 429, - "end": 663, + "start": 1413, + "end": 1414, "loc": { "start": { - "line": 21, - "column": 4 + "line": 55, + "column": 31 }, "end": { - "line": 27, - "column": 7 + "line": 55, + "column": 32 } } }, @@ -3820,42 +6048,44 @@ "postfix": false, "binop": null }, - "value": "setArtistID", - "start": 668, - "end": 679, + "value": "offset", + "start": 1415, + "end": 1421, "loc": { "start": { - "line": 28, - "column": 4 + "line": 55, + "column": 33 }, "end": { - "line": 28, - "column": 15 + "line": 55, + "column": 39 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 679, - "end": 680, + "value": "=", + "start": 1422, + "end": 1423, "loc": { "start": { - "line": 28, - "column": 15 + "line": 55, + "column": 40 }, "end": { - "line": 28, - "column": 16 + "line": 55, + "column": 41 } } }, @@ -3871,17 +6101,17 @@ "postfix": false, "binop": null }, - "value": "artist_id", - "start": 680, - "end": 689, + "value": "undefined", + "start": 1424, + "end": 1433, "loc": { "start": { - "line": 28, - "column": 16 + "line": 55, + "column": 42 }, "end": { - "line": 28, - "column": 25 + "line": 55, + "column": 51 } } }, @@ -3897,16 +6127,16 @@ "postfix": false, "binop": null }, - "start": 689, - "end": 690, + "start": 1433, + "end": 1434, "loc": { "start": { - "line": 28, - "column": 25 + "line": 55, + "column": 51 }, "end": { - "line": 28, - "column": 26 + "line": 55, + "column": 52 } } }, @@ -3922,25 +6152,25 @@ "postfix": false, "binop": null }, - "start": 691, - "end": 692, + "start": 1435, + "end": 1436, "loc": { "start": { - "line": 28, - "column": 27 + "line": 55, + "column": 53 }, "end": { - "line": 28, - "column": 28 + "line": 55, + "column": 54 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3949,25 +6179,26 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 701, - "end": 705, + "value": "return", + "start": 1441, + "end": 1447, "loc": { "start": { - "line": 29, - "column": 8 + "line": 56, + "column": 4 }, "end": { - "line": 29, - "column": 12 + "line": 56, + "column": 10 } } }, { "type": { - "label": ".", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3976,69 +6207,43 @@ "binop": null, "updateContext": null }, - "start": 705, - "end": 706, + "value": "this", + "start": 1448, + "end": 1452, "loc": { "start": { - "line": 29, - "column": 12 + "line": 56, + "column": 11 }, "end": { - "line": 29, - "column": 13 + "line": 56, + "column": 15 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "artist_id", - "start": 706, - "end": 715, - "loc": { - "start": { - "line": 29, - "column": 13 - }, - "end": { - "line": 29, - "column": 22 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 716, - "end": 717, + "start": 1452, + "end": 1453, "loc": { "start": { - "line": 29, - "column": 23 + "line": 56, + "column": 15 }, "end": { - "line": 29, - "column": 24 + "line": 56, + "column": 16 } } }, @@ -4054,25 +6259,24 @@ "postfix": false, "binop": null }, - "value": "artist_id", - "start": 718, - "end": 727, + "value": "http", + "start": 1453, + "end": 1457, "loc": { "start": { - "line": 29, - "column": 25 + "line": 56, + "column": 16 }, "end": { - "line": 29, - "column": 34 + "line": 56, + "column": 20 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4082,24 +6286,22 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 736, - "end": 742, + "start": 1457, + "end": 1458, "loc": { "start": { - "line": 30, - "column": 8 + "line": 56, + "column": 20 }, "end": { - "line": 30, - "column": 14 + "line": 56, + "column": 21 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -4107,28 +6309,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 743, - "end": 747, + "value": "get", + "start": 1458, + "end": 1461, "loc": { "start": { - "line": 30, - "column": 15 + "line": 56, + "column": 21 }, "end": { - "line": 30, - "column": 19 + "line": 56, + "column": 24 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4136,32 +6337,16 @@ "postfix": false, "binop": null }, - "start": 752, - "end": 753, - "loc": { - "start": { - "line": 31, - "column": 4 - }, - "end": { - "line": 31, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Fetch metadata of the artist you find.\n *\n * @return {Promise}\n * @example api.Artist.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id\n ", - "start": 759, - "end": 1030, + "start": 1461, + "end": 1462, "loc": { "start": { - "line": 33, - "column": 4 + "line": 56, + "column": 24 }, "end": { - "line": 39, - "column": 7 + "line": 56, + "column": 25 } } }, @@ -4177,101 +6362,107 @@ "postfix": false, "binop": null }, - "value": "fetchMetadata", - "start": 1035, - "end": 1048, + "value": "ENDPOINT", + "start": 1462, + "end": 1470, "loc": { "start": { - "line": 40, - "column": 4 + "line": 56, + "column": 25 }, "end": { - "line": 40, - "column": 17 + "line": 56, + "column": 33 } } }, { "type": { - "label": "(", + "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "start": 1048, - "end": 1049, + "value": "+", + "start": 1471, + "end": 1472, "loc": { "start": { - "line": 40, - "column": 17 + "line": 56, + "column": 34 }, "end": { - "line": 40, - "column": 18 + "line": 56, + "column": 35 } } }, { "type": { - "label": ")", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1049, - "end": 1050, + "value": "/", + "start": 1473, + "end": 1476, "loc": { "start": { - "line": 40, - "column": 18 + "line": 56, + "column": 36 }, "end": { - "line": 40, - "column": 19 + "line": 56, + "column": 39 } } }, { "type": { - "label": "{", + "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "start": 1051, - "end": 1052, + "value": "+", + "start": 1477, + "end": 1478, "loc": { "start": { - "line": 40, - "column": 20 + "line": 56, + "column": 40 }, "end": { - "line": 40, - "column": 21 + "line": 56, + "column": 41 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4280,26 +6471,25 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 1061, - "end": 1067, + "value": "this", + "start": 1479, + "end": 1483, "loc": { "start": { - "line": 41, - "column": 8 + "line": 56, + "column": 42 }, "end": { - "line": 41, - "column": 14 + "line": 56, + "column": 46 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4308,77 +6498,77 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 1068, - "end": 1072, + "start": 1483, + "end": 1484, "loc": { "start": { - "line": 41, - "column": 15 + "line": 56, + "column": 46 }, "end": { - "line": 41, - "column": 19 + "line": 56, + "column": 47 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1072, - "end": 1073, + "value": "artistID", + "start": 1484, + "end": 1492, "loc": { "start": { - "line": 41, - "column": 19 + "line": 56, + "column": 47 }, "end": { - "line": 41, - "column": 20 + "line": 56, + "column": 55 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "+/-", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "value": "http", - "start": 1073, - "end": 1077, + "value": "+", + "start": 1493, + "end": 1494, "loc": { "start": { - "line": 41, - "column": 20 + "line": 56, + "column": 56 }, "end": { - "line": 41, - "column": 24 + "line": 56, + "column": 57 } } }, { "type": { - "label": ".", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4387,48 +6577,49 @@ "binop": null, "updateContext": null }, - "start": 1077, - "end": 1078, + "value": "/albums", + "start": 1495, + "end": 1504, "loc": { "start": { - "line": 41, - "column": 24 + "line": 56, + "column": 58 }, "end": { - "line": 41, - "column": 25 + "line": 56, + "column": 67 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "get", - "start": 1078, - "end": 1081, + "start": 1504, + "end": 1505, "loc": { "start": { - "line": 41, - "column": 25 + "line": 56, + "column": 67 }, "end": { - "line": 41, - "column": 28 + "line": 56, + "column": 68 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -4438,16 +6629,16 @@ "postfix": false, "binop": null }, - "start": 1081, - "end": 1082, + "start": 1506, + "end": 1507, "loc": { "start": { - "line": 41, - "column": 28 + "line": 56, + "column": 69 }, "end": { - "line": 41, - "column": 29 + "line": 56, + "column": 70 } } }, @@ -4463,44 +6654,43 @@ "postfix": false, "binop": null }, - "value": "ENDPOINT", - "start": 1082, - "end": 1090, + "value": "territory", + "start": 1514, + "end": 1523, "loc": { "start": { - "line": 41, - "column": 29 + "line": 57, + "column": 6 }, "end": { - "line": 41, - "column": 37 + "line": 57, + "column": 15 } } }, { "type": { - "label": "+/-", + "label": ":", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "+", - "start": 1091, - "end": 1092, + "start": 1523, + "end": 1524, "loc": { "start": { - "line": 41, - "column": 38 + "line": 57, + "column": 15 }, "end": { - "line": 41, - "column": 39 + "line": 57, + "column": 16 } } }, @@ -4519,16 +6709,16 @@ "updateContext": null }, "value": "this", - "start": 1093, - "end": 1097, + "start": 1525, + "end": 1529, "loc": { "start": { - "line": 41, - "column": 40 + "line": 57, + "column": 17 }, "end": { - "line": 41, - "column": 44 + "line": 57, + "column": 21 } } }, @@ -4545,16 +6735,16 @@ "binop": null, "updateContext": null }, - "start": 1097, - "end": 1098, + "start": 1529, + "end": 1530, "loc": { "start": { - "line": 41, - "column": 44 + "line": 57, + "column": 21 }, "end": { - "line": 41, - "column": 45 + "line": 57, + "column": 22 } } }, @@ -4570,17 +6760,17 @@ "postfix": false, "binop": null }, - "value": "artist_id", - "start": 1098, - "end": 1107, + "value": "territory", + "start": 1530, + "end": 1539, "loc": { "start": { - "line": 41, - "column": 45 + "line": 57, + "column": 22 }, "end": { - "line": 41, - "column": 54 + "line": 57, + "column": 31 } } }, @@ -4597,23 +6787,23 @@ "binop": null, "updateContext": null }, - "start": 1107, - "end": 1108, + "start": 1539, + "end": 1540, "loc": { "start": { - "line": 41, - "column": 54 + "line": 57, + "column": 31 }, "end": { - "line": 41, - "column": 55 + "line": 57, + "column": 32 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -4622,16 +6812,43 @@ "postfix": false, "binop": null }, - "start": 1109, - "end": 1110, + "value": "limit", + "start": 1547, + "end": 1552, "loc": { "start": { - "line": 41, - "column": 56 + "line": 58, + "column": 6 }, "end": { - "line": 41, - "column": 57 + "line": 58, + "column": 11 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1552, + "end": 1553, + "loc": { + "start": { + "line": 58, + "column": 11 + }, + "end": { + "line": 58, + "column": 12 } } }, @@ -4647,23 +6864,23 @@ "postfix": false, "binop": null }, - "value": "territory", - "start": 1110, - "end": 1119, + "value": "limit", + "start": 1554, + "end": 1559, "loc": { "start": { - "line": 41, - "column": 57 + "line": 58, + "column": 13 }, "end": { - "line": 41, - "column": 66 + "line": 58, + "column": 18 } } }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -4674,23 +6891,22 @@ "binop": null, "updateContext": null }, - "start": 1119, - "end": 1120, + "start": 1559, + "end": 1560, "loc": { "start": { - "line": 41, - "column": 66 + "line": 58, + "column": 18 }, "end": { - "line": 41, - "column": 67 + "line": 58, + "column": 19 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -4698,27 +6914,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1121, - "end": 1125, + "value": "offset", + "start": 1567, + "end": 1573, "loc": { "start": { - "line": 41, - "column": 68 + "line": 59, + "column": 6 }, "end": { - "line": 41, - "column": 72 + "line": 59, + "column": 12 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4728,16 +6943,16 @@ "binop": null, "updateContext": null }, - "start": 1125, - "end": 1126, + "start": 1573, + "end": 1574, "loc": { "start": { - "line": 41, - "column": 72 + "line": 59, + "column": 12 }, "end": { - "line": 41, - "column": 73 + "line": 59, + "column": 13 } } }, @@ -4753,23 +6968,48 @@ "postfix": false, "binop": null }, - "value": "territory", - "start": 1126, - "end": 1135, + "value": "offset", + "start": 1575, + "end": 1581, + "loc": { + "start": { + "line": 59, + "column": 14 + }, + "end": { + "line": 59, + "column": 20 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1586, + "end": 1587, "loc": { "start": { - "line": 41, - "column": 73 + "line": 60, + "column": 4 }, "end": { - "line": 41, - "column": 82 + "line": 60, + "column": 5 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -4779,41 +7019,42 @@ "postfix": false, "binop": null }, - "start": 1135, - "end": 1136, + "start": 1587, + "end": 1588, "loc": { "start": { - "line": 41, - "column": 82 + "line": 60, + "column": 5 }, "end": { - "line": 41, - "column": 83 + "line": 60, + "column": 6 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1136, - "end": 1137, + "start": 1588, + "end": 1589, "loc": { "start": { - "line": 41, - "column": 83 + "line": 60, + "column": 6 }, "end": { - "line": 41, - "column": 84 + "line": 60, + "column": 7 } } }, @@ -4829,32 +7070,32 @@ "postfix": false, "binop": null }, - "start": 1142, - "end": 1143, + "start": 1592, + "end": 1593, "loc": { "start": { - "line": 42, - "column": 4 + "line": 61, + "column": 2 }, "end": { - "line": 42, - "column": 5 + "line": 61, + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch albums belong to an artist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchAlbums()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id-albums\n ", - "start": 1149, - "end": 1553, + "value": "*\n * Fetch top tracks belong to an artist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchTopTracks();\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id-toptracks\n ", + "start": 1597, + "end": 1964, "loc": { "start": { - "line": 44, - "column": 4 + "line": 63, + "column": 2 }, "end": { - "line": 52, - "column": 7 + "line": 71, + "column": 5 } } }, @@ -4870,17 +7111,17 @@ "postfix": false, "binop": null }, - "value": "fetchAlbums", - "start": 1558, - "end": 1569, + "value": "fetchTopTracks", + "start": 1967, + "end": 1981, "loc": { "start": { - "line": 53, - "column": 4 + "line": 72, + "column": 2 }, "end": { - "line": 53, - "column": 15 + "line": 72, + "column": 16 } } }, @@ -4896,16 +7137,16 @@ "postfix": false, "binop": null }, - "start": 1569, - "end": 1570, + "start": 1981, + "end": 1982, "loc": { "start": { - "line": 53, - "column": 15 + "line": 72, + "column": 16 }, "end": { - "line": 53, - "column": 16 + "line": 72, + "column": 17 } } }, @@ -4922,16 +7163,16 @@ "binop": null }, "value": "limit", - "start": 1570, - "end": 1575, + "start": 1982, + "end": 1987, "loc": { "start": { - "line": 53, - "column": 16 + "line": 72, + "column": 17 }, "end": { - "line": 53, - "column": 21 + "line": 72, + "column": 22 } } }, @@ -4949,16 +7190,16 @@ "updateContext": null }, "value": "=", - "start": 1576, - "end": 1577, + "start": 1988, + "end": 1989, "loc": { "start": { - "line": 53, - "column": 22 + "line": 72, + "column": 23 }, "end": { - "line": 53, - "column": 23 + "line": 72, + "column": 24 } } }, @@ -4975,16 +7216,16 @@ "binop": null }, "value": "undefined", - "start": 1578, - "end": 1587, + "start": 1990, + "end": 1999, "loc": { "start": { - "line": 53, - "column": 24 + "line": 72, + "column": 25 }, "end": { - "line": 53, - "column": 33 + "line": 72, + "column": 34 } } }, @@ -5001,16 +7242,16 @@ "binop": null, "updateContext": null }, - "start": 1587, - "end": 1588, + "start": 1999, + "end": 2000, "loc": { "start": { - "line": 53, - "column": 33 + "line": 72, + "column": 34 }, "end": { - "line": 53, - "column": 34 + "line": 72, + "column": 35 } } }, @@ -5027,16 +7268,16 @@ "binop": null }, "value": "offset", - "start": 1589, - "end": 1595, + "start": 2001, + "end": 2007, "loc": { "start": { - "line": 53, - "column": 35 + "line": 72, + "column": 36 }, "end": { - "line": 53, - "column": 41 + "line": 72, + "column": 42 } } }, @@ -5054,16 +7295,16 @@ "updateContext": null }, "value": "=", - "start": 1596, - "end": 1597, + "start": 2008, + "end": 2009, "loc": { "start": { - "line": 53, - "column": 42 + "line": 72, + "column": 43 }, "end": { - "line": 53, - "column": 43 + "line": 72, + "column": 44 } } }, @@ -5080,16 +7321,16 @@ "binop": null }, "value": "undefined", - "start": 1598, - "end": 1607, + "start": 2010, + "end": 2019, "loc": { "start": { - "line": 53, - "column": 44 + "line": 72, + "column": 45 }, "end": { - "line": 53, - "column": 53 + "line": 72, + "column": 54 } } }, @@ -5105,16 +7346,16 @@ "postfix": false, "binop": null }, - "start": 1607, - "end": 1608, + "start": 2019, + "end": 2020, "loc": { "start": { - "line": 53, - "column": 53 + "line": 72, + "column": 54 }, "end": { - "line": 53, - "column": 54 + "line": 72, + "column": 55 } } }, @@ -5130,16 +7371,16 @@ "postfix": false, "binop": null }, - "start": 1609, - "end": 1610, + "start": 2021, + "end": 2022, "loc": { "start": { - "line": 53, - "column": 55 + "line": 72, + "column": 56 }, "end": { - "line": 53, - "column": 56 + "line": 72, + "column": 57 } } }, @@ -5158,16 +7399,16 @@ "updateContext": null }, "value": "return", - "start": 1619, - "end": 1625, + "start": 2027, + "end": 2033, "loc": { "start": { - "line": 54, - "column": 8 + "line": 73, + "column": 4 }, "end": { - "line": 54, - "column": 14 + "line": 73, + "column": 10 } } }, @@ -5186,16 +7427,16 @@ "updateContext": null }, "value": "this", - "start": 1626, - "end": 1630, + "start": 2034, + "end": 2038, "loc": { "start": { - "line": 54, - "column": 15 + "line": 73, + "column": 11 }, "end": { - "line": 54, - "column": 19 + "line": 73, + "column": 15 } } }, @@ -5212,16 +7453,16 @@ "binop": null, "updateContext": null }, - "start": 1630, - "end": 1631, + "start": 2038, + "end": 2039, "loc": { "start": { - "line": 54, - "column": 19 + "line": 73, + "column": 15 }, "end": { - "line": 54, - "column": 20 + "line": 73, + "column": 16 } } }, @@ -5238,16 +7479,16 @@ "binop": null }, "value": "http", - "start": 1631, - "end": 1635, + "start": 2039, + "end": 2043, "loc": { "start": { - "line": 54, - "column": 20 + "line": 73, + "column": 16 }, "end": { - "line": 54, - "column": 24 + "line": 73, + "column": 20 } } }, @@ -5264,16 +7505,16 @@ "binop": null, "updateContext": null }, - "start": 1635, - "end": 1636, + "start": 2043, + "end": 2044, "loc": { "start": { - "line": 54, - "column": 24 + "line": 73, + "column": 20 }, "end": { - "line": 54, - "column": 25 + "line": 73, + "column": 21 } } }, @@ -5290,16 +7531,16 @@ "binop": null }, "value": "get", - "start": 1636, - "end": 1639, + "start": 2044, + "end": 2047, "loc": { "start": { - "line": 54, - "column": 25 + "line": 73, + "column": 21 }, "end": { - "line": 54, - "column": 28 + "line": 73, + "column": 24 } } }, @@ -5315,16 +7556,16 @@ "postfix": false, "binop": null }, - "start": 1639, - "end": 1640, + "start": 2047, + "end": 2048, "loc": { "start": { - "line": 54, - "column": 28 + "line": 73, + "column": 24 }, "end": { - "line": 54, - "column": 29 + "line": 73, + "column": 25 } } }, @@ -5341,16 +7582,16 @@ "binop": null }, "value": "ENDPOINT", - "start": 1640, - "end": 1648, + "start": 2048, + "end": 2056, "loc": { "start": { - "line": 54, - "column": 29 + "line": 73, + "column": 25 }, "end": { - "line": 54, - "column": 37 + "line": 73, + "column": 33 } } }, @@ -5368,19 +7609,73 @@ "updateContext": null }, "value": "+", - "start": 1649, - "end": 1650, + "start": 2057, + "end": 2058, "loc": { "start": { - "line": 54, - "column": 38 + "line": 73, + "column": 34 }, "end": { - "line": 54, + "line": 73, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "/", + "start": 2059, + "end": 2062, + "loc": { + "start": { + "line": 73, + "column": 36 + }, + "end": { + "line": 73, "column": 39 } } }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2063, + "end": 2064, + "loc": { + "start": { + "line": 73, + "column": 40 + }, + "end": { + "line": 73, + "column": 41 + } + } + }, { "type": { "label": "this", @@ -5396,16 +7691,16 @@ "updateContext": null }, "value": "this", - "start": 1651, - "end": 1655, + "start": 2065, + "end": 2069, "loc": { "start": { - "line": 54, - "column": 40 + "line": 73, + "column": 42 }, "end": { - "line": 54, - "column": 44 + "line": 73, + "column": 46 } } }, @@ -5422,16 +7717,16 @@ "binop": null, "updateContext": null }, - "start": 1655, - "end": 1656, + "start": 2069, + "end": 2070, "loc": { "start": { - "line": 54, - "column": 44 + "line": 73, + "column": 46 }, "end": { - "line": 54, - "column": 45 + "line": 73, + "column": 47 } } }, @@ -5447,17 +7742,17 @@ "postfix": false, "binop": null }, - "value": "artist_id", - "start": 1656, - "end": 1665, + "value": "artistID", + "start": 2070, + "end": 2078, "loc": { "start": { - "line": 54, - "column": 45 + "line": 73, + "column": 47 }, "end": { - "line": 54, - "column": 54 + "line": 73, + "column": 55 } } }, @@ -5475,16 +7770,16 @@ "updateContext": null }, "value": "+", - "start": 1666, - "end": 1667, + "start": 2079, + "end": 2080, "loc": { "start": { - "line": 54, - "column": 55 + "line": 73, + "column": 56 }, "end": { - "line": 54, - "column": 56 + "line": 73, + "column": 57 } } }, @@ -5501,17 +7796,17 @@ "binop": null, "updateContext": null }, - "value": "/albums", - "start": 1668, - "end": 1677, + "value": "/top-tracks", + "start": 2081, + "end": 2094, "loc": { "start": { - "line": 54, - "column": 57 + "line": 73, + "column": 58 }, "end": { - "line": 54, - "column": 66 + "line": 73, + "column": 71 } } }, @@ -5528,16 +7823,16 @@ "binop": null, "updateContext": null }, - "start": 1677, - "end": 1678, + "start": 2094, + "end": 2095, "loc": { "start": { - "line": 54, - "column": 66 + "line": 73, + "column": 71 }, "end": { - "line": 54, - "column": 67 + "line": 73, + "column": 72 } } }, @@ -5553,16 +7848,16 @@ "postfix": false, "binop": null }, - "start": 1679, - "end": 1680, + "start": 2096, + "end": 2097, "loc": { "start": { - "line": 54, - "column": 68 + "line": 73, + "column": 73 }, "end": { - "line": 54, - "column": 69 + "line": 73, + "column": 74 } } }, @@ -5579,16 +7874,16 @@ "binop": null }, "value": "territory", - "start": 1693, - "end": 1702, + "start": 2104, + "end": 2113, "loc": { "start": { - "line": 55, - "column": 12 + "line": 74, + "column": 6 }, "end": { - "line": 55, - "column": 21 + "line": 74, + "column": 15 } } }, @@ -5605,16 +7900,16 @@ "binop": null, "updateContext": null }, - "start": 1702, - "end": 1703, + "start": 2113, + "end": 2114, "loc": { "start": { - "line": 55, - "column": 21 + "line": 74, + "column": 15 }, "end": { - "line": 55, - "column": 22 + "line": 74, + "column": 16 } } }, @@ -5633,16 +7928,16 @@ "updateContext": null }, "value": "this", - "start": 1704, - "end": 1708, + "start": 2115, + "end": 2119, "loc": { "start": { - "line": 55, - "column": 23 + "line": 74, + "column": 17 }, "end": { - "line": 55, - "column": 27 + "line": 74, + "column": 21 } } }, @@ -5659,16 +7954,16 @@ "binop": null, "updateContext": null }, - "start": 1708, - "end": 1709, + "start": 2119, + "end": 2120, "loc": { "start": { - "line": 55, - "column": 27 + "line": 74, + "column": 21 }, "end": { - "line": 55, - "column": 28 + "line": 74, + "column": 22 } } }, @@ -5685,16 +7980,16 @@ "binop": null }, "value": "territory", - "start": 1709, - "end": 1718, + "start": 2120, + "end": 2129, "loc": { "start": { - "line": 55, - "column": 28 + "line": 74, + "column": 22 }, "end": { - "line": 55, - "column": 37 + "line": 74, + "column": 31 } } }, @@ -5711,16 +8006,16 @@ "binop": null, "updateContext": null }, - "start": 1718, - "end": 1719, + "start": 2129, + "end": 2130, "loc": { "start": { - "line": 55, - "column": 37 + "line": 74, + "column": 31 }, "end": { - "line": 55, - "column": 38 + "line": 74, + "column": 32 } } }, @@ -5737,16 +8032,16 @@ "binop": null }, "value": "limit", - "start": 1732, - "end": 1737, + "start": 2137, + "end": 2142, "loc": { "start": { - "line": 56, - "column": 12 + "line": 75, + "column": 6 }, "end": { - "line": 56, - "column": 17 + "line": 75, + "column": 11 } } }, @@ -5763,16 +8058,16 @@ "binop": null, "updateContext": null }, - "start": 1737, - "end": 1738, + "start": 2142, + "end": 2143, "loc": { "start": { - "line": 56, - "column": 17 + "line": 75, + "column": 11 }, "end": { - "line": 56, - "column": 18 + "line": 75, + "column": 12 } } }, @@ -5789,16 +8084,16 @@ "binop": null }, "value": "limit", - "start": 1739, - "end": 1744, + "start": 2144, + "end": 2149, "loc": { "start": { - "line": 56, - "column": 19 + "line": 75, + "column": 13 }, "end": { - "line": 56, - "column": 24 + "line": 75, + "column": 18 } } }, @@ -5815,16 +8110,16 @@ "binop": null, "updateContext": null }, - "start": 1744, - "end": 1745, + "start": 2149, + "end": 2150, "loc": { "start": { - "line": 56, - "column": 24 + "line": 75, + "column": 18 }, "end": { - "line": 56, - "column": 25 + "line": 75, + "column": 19 } } }, @@ -5841,16 +8136,16 @@ "binop": null }, "value": "offset", - "start": 1758, - "end": 1764, + "start": 2157, + "end": 2163, "loc": { "start": { - "line": 57, - "column": 12 + "line": 76, + "column": 6 }, "end": { - "line": 57, - "column": 18 + "line": 76, + "column": 12 } } }, @@ -5867,16 +8162,16 @@ "binop": null, "updateContext": null }, - "start": 1764, - "end": 1765, + "start": 2163, + "end": 2164, "loc": { "start": { - "line": 57, - "column": 18 + "line": 76, + "column": 12 }, "end": { - "line": 57, - "column": 19 + "line": 76, + "column": 13 } } }, @@ -5893,16 +8188,16 @@ "binop": null }, "value": "offset", - "start": 1766, - "end": 1772, + "start": 2165, + "end": 2171, "loc": { "start": { - "line": 57, - "column": 20 + "line": 76, + "column": 14 }, "end": { - "line": 57, - "column": 26 + "line": 76, + "column": 20 } } }, @@ -5918,16 +8213,16 @@ "postfix": false, "binop": null }, - "start": 1781, - "end": 1782, + "start": 2176, + "end": 2177, "loc": { "start": { - "line": 58, - "column": 8 + "line": 77, + "column": 4 }, "end": { - "line": 58, - "column": 9 + "line": 77, + "column": 5 } } }, @@ -5943,16 +8238,42 @@ "postfix": false, "binop": null }, - "start": 1782, - "end": 1783, + "start": 2177, + "end": 2178, "loc": { "start": { - "line": 58, - "column": 9 + "line": 77, + "column": 5 }, "end": { - "line": 58, - "column": 10 + "line": 77, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2178, + "end": 2179, + "loc": { + "start": { + "line": 77, + "column": 6 + }, + "end": { + "line": 77, + "column": 7 } } }, @@ -5968,32 +8289,32 @@ "postfix": false, "binop": null }, - "start": 1788, - "end": 1789, + "start": 2182, + "end": 2183, "loc": { "start": { - "line": 59, - "column": 4 + "line": 78, + "column": 2 }, "end": { - "line": 59, - "column": 5 + "line": 78, + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch top tracks belong to an artist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.Artist.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchTopTracks()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id-top-tracks\n ", - "start": 1795, - "end": 2203, + "value": "*\n * Fetch related artists\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchRelatedArtists();\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id-relatedartists\n ", + "start": 2187, + "end": 2548, "loc": { "start": { - "line": 61, - "column": 4 + "line": 80, + "column": 2 }, "end": { - "line": 69, - "column": 7 + "line": 88, + "column": 5 } } }, @@ -6009,17 +8330,17 @@ "postfix": false, "binop": null }, - "value": "fetchTopTracks", - "start": 2208, - "end": 2222, + "value": "fetchRelatedArtists", + "start": 2551, + "end": 2570, "loc": { "start": { - "line": 70, - "column": 4 + "line": 89, + "column": 2 }, "end": { - "line": 70, - "column": 18 + "line": 89, + "column": 21 } } }, @@ -6035,16 +8356,16 @@ "postfix": false, "binop": null }, - "start": 2222, - "end": 2223, + "start": 2570, + "end": 2571, "loc": { "start": { - "line": 70, - "column": 18 + "line": 89, + "column": 21 }, "end": { - "line": 70, - "column": 19 + "line": 89, + "column": 22 } } }, @@ -6061,16 +8382,16 @@ "binop": null }, "value": "limit", - "start": 2223, - "end": 2228, + "start": 2571, + "end": 2576, "loc": { "start": { - "line": 70, - "column": 19 + "line": 89, + "column": 22 }, "end": { - "line": 70, - "column": 24 + "line": 89, + "column": 27 } } }, @@ -6088,16 +8409,16 @@ "updateContext": null }, "value": "=", - "start": 2229, - "end": 2230, + "start": 2577, + "end": 2578, "loc": { "start": { - "line": 70, - "column": 25 + "line": 89, + "column": 28 }, "end": { - "line": 70, - "column": 26 + "line": 89, + "column": 29 } } }, @@ -6114,16 +8435,16 @@ "binop": null }, "value": "undefined", - "start": 2231, - "end": 2240, + "start": 2579, + "end": 2588, "loc": { "start": { - "line": 70, - "column": 27 + "line": 89, + "column": 30 }, "end": { - "line": 70, - "column": 36 + "line": 89, + "column": 39 } } }, @@ -6140,16 +8461,16 @@ "binop": null, "updateContext": null }, - "start": 2240, - "end": 2241, + "start": 2588, + "end": 2589, "loc": { "start": { - "line": 70, - "column": 36 + "line": 89, + "column": 39 }, "end": { - "line": 70, - "column": 37 + "line": 89, + "column": 40 } } }, @@ -6166,16 +8487,16 @@ "binop": null }, "value": "offset", - "start": 2242, - "end": 2248, + "start": 2590, + "end": 2596, "loc": { "start": { - "line": 70, - "column": 38 + "line": 89, + "column": 41 }, "end": { - "line": 70, - "column": 44 + "line": 89, + "column": 47 } } }, @@ -6193,16 +8514,16 @@ "updateContext": null }, "value": "=", - "start": 2249, - "end": 2250, + "start": 2597, + "end": 2598, "loc": { "start": { - "line": 70, - "column": 45 + "line": 89, + "column": 48 }, "end": { - "line": 70, - "column": 46 + "line": 89, + "column": 49 } } }, @@ -6219,16 +8540,16 @@ "binop": null }, "value": "undefined", - "start": 2251, - "end": 2260, + "start": 2599, + "end": 2608, "loc": { "start": { - "line": 70, - "column": 47 + "line": 89, + "column": 50 }, "end": { - "line": 70, - "column": 56 + "line": 89, + "column": 59 } } }, @@ -6244,16 +8565,16 @@ "postfix": false, "binop": null }, - "start": 2260, - "end": 2261, + "start": 2608, + "end": 2609, "loc": { "start": { - "line": 70, - "column": 56 + "line": 89, + "column": 59 }, "end": { - "line": 70, - "column": 57 + "line": 89, + "column": 60 } } }, @@ -6269,24 +8590,79 @@ "postfix": false, "binop": null }, - "start": 2262, - "end": 2263, + "start": 2610, + "end": 2611, + "loc": { + "start": { + "line": 89, + "column": 61 + }, + "end": { + "line": 89, + "column": 62 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2616, + "end": 2622, + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 90, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2623, + "end": 2627, "loc": { "start": { - "line": 70, - "column": 58 + "line": 90, + "column": 11 }, "end": { - "line": 70, - "column": 59 + "line": 90, + "column": 15 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -6296,24 +8672,22 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 2272, - "end": 2278, + "start": 2627, + "end": 2628, "loc": { "start": { - "line": 71, - "column": 8 + "line": 90, + "column": 15 }, "end": { - "line": 71, - "column": 14 + "line": 90, + "column": 16 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -6321,20 +8695,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2279, - "end": 2283, + "value": "http", + "start": 2628, + "end": 2632, "loc": { "start": { - "line": 71, - "column": 15 + "line": 90, + "column": 16 }, "end": { - "line": 71, - "column": 19 + "line": 90, + "column": 20 } } }, @@ -6351,16 +8724,16 @@ "binop": null, "updateContext": null }, - "start": 2283, - "end": 2284, + "start": 2632, + "end": 2633, "loc": { "start": { - "line": 71, - "column": 19 + "line": 90, + "column": 20 }, "end": { - "line": 71, - "column": 20 + "line": 90, + "column": 21 } } }, @@ -6376,42 +8749,41 @@ "postfix": false, "binop": null }, - "value": "http", - "start": 2284, - "end": 2288, + "value": "get", + "start": 2633, + "end": 2636, "loc": { "start": { - "line": 71, - "column": 20 + "line": 90, + "column": 21 }, "end": { - "line": 71, + "line": 90, "column": 24 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2288, - "end": 2289, + "start": 2636, + "end": 2637, "loc": { "start": { - "line": 71, + "line": 90, "column": 24 }, "end": { - "line": 71, + "line": 90, "column": 25 } } @@ -6428,48 +8800,50 @@ "postfix": false, "binop": null }, - "value": "get", - "start": 2289, - "end": 2292, + "value": "ENDPOINT", + "start": 2637, + "end": 2645, "loc": { "start": { - "line": 71, + "line": 90, "column": 25 }, "end": { - "line": 71, - "column": 28 + "line": 90, + "column": 33 } } }, { "type": { - "label": "(", + "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "start": 2292, - "end": 2293, + "value": "+", + "start": 2646, + "end": 2647, "loc": { "start": { - "line": 71, - "column": 28 + "line": 90, + "column": 34 }, "end": { - "line": 71, - "column": 29 + "line": 90, + "column": 35 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -6477,19 +8851,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "ENDPOINT", - "start": 2293, - "end": 2301, + "value": "/", + "start": 2648, + "end": 2651, "loc": { "start": { - "line": 71, - "column": 29 + "line": 90, + "column": 36 }, "end": { - "line": 71, - "column": 37 + "line": 90, + "column": 39 } } }, @@ -6507,16 +8882,16 @@ "updateContext": null }, "value": "+", - "start": 2302, - "end": 2303, + "start": 2652, + "end": 2653, "loc": { "start": { - "line": 71, - "column": 38 + "line": 90, + "column": 40 }, "end": { - "line": 71, - "column": 39 + "line": 90, + "column": 41 } } }, @@ -6535,16 +8910,16 @@ "updateContext": null }, "value": "this", - "start": 2304, - "end": 2308, + "start": 2654, + "end": 2658, "loc": { "start": { - "line": 71, - "column": 40 + "line": 90, + "column": 42 }, "end": { - "line": 71, - "column": 44 + "line": 90, + "column": 46 } } }, @@ -6561,16 +8936,16 @@ "binop": null, "updateContext": null }, - "start": 2308, - "end": 2309, + "start": 2658, + "end": 2659, "loc": { "start": { - "line": 71, - "column": 44 + "line": 90, + "column": 46 }, "end": { - "line": 71, - "column": 45 + "line": 90, + "column": 47 } } }, @@ -6586,17 +8961,17 @@ "postfix": false, "binop": null }, - "value": "artist_id", - "start": 2309, - "end": 2318, + "value": "artistID", + "start": 2659, + "end": 2667, "loc": { "start": { - "line": 71, - "column": 45 + "line": 90, + "column": 47 }, "end": { - "line": 71, - "column": 54 + "line": 90, + "column": 55 } } }, @@ -6614,16 +8989,16 @@ "updateContext": null }, "value": "+", - "start": 2319, - "end": 2320, + "start": 2668, + "end": 2669, "loc": { "start": { - "line": 71, - "column": 55 + "line": 90, + "column": 56 }, "end": { - "line": 71, - "column": 56 + "line": 90, + "column": 57 } } }, @@ -6640,17 +9015,17 @@ "binop": null, "updateContext": null }, - "value": "/top-tracks", - "start": 2321, - "end": 2334, + "value": "/related-artists", + "start": 2670, + "end": 2688, "loc": { "start": { - "line": 71, - "column": 57 + "line": 90, + "column": 58 }, "end": { - "line": 71, - "column": 70 + "line": 90, + "column": 76 } } }, @@ -6667,16 +9042,16 @@ "binop": null, "updateContext": null }, - "start": 2334, - "end": 2335, + "start": 2688, + "end": 2689, "loc": { "start": { - "line": 71, - "column": 70 + "line": 90, + "column": 76 }, "end": { - "line": 71, - "column": 71 + "line": 90, + "column": 77 } } }, @@ -6692,16 +9067,16 @@ "postfix": false, "binop": null }, - "start": 2336, - "end": 2337, + "start": 2690, + "end": 2691, "loc": { "start": { - "line": 71, - "column": 72 + "line": 90, + "column": 78 }, "end": { - "line": 71, - "column": 73 + "line": 90, + "column": 79 } } }, @@ -6718,16 +9093,16 @@ "binop": null }, "value": "territory", - "start": 2350, - "end": 2359, + "start": 2698, + "end": 2707, "loc": { "start": { - "line": 72, - "column": 12 + "line": 91, + "column": 6 }, "end": { - "line": 72, - "column": 21 + "line": 91, + "column": 15 } } }, @@ -6744,16 +9119,16 @@ "binop": null, "updateContext": null }, - "start": 2359, - "end": 2360, + "start": 2707, + "end": 2708, "loc": { "start": { - "line": 72, - "column": 21 + "line": 91, + "column": 15 }, "end": { - "line": 72, - "column": 22 + "line": 91, + "column": 16 } } }, @@ -6772,16 +9147,16 @@ "updateContext": null }, "value": "this", - "start": 2361, - "end": 2365, + "start": 2709, + "end": 2713, "loc": { "start": { - "line": 72, - "column": 23 + "line": 91, + "column": 17 }, "end": { - "line": 72, - "column": 27 + "line": 91, + "column": 21 } } }, @@ -6798,16 +9173,16 @@ "binop": null, "updateContext": null }, - "start": 2365, - "end": 2366, + "start": 2713, + "end": 2714, "loc": { "start": { - "line": 72, - "column": 27 + "line": 91, + "column": 21 }, "end": { - "line": 72, - "column": 28 + "line": 91, + "column": 22 } } }, @@ -6824,16 +9199,16 @@ "binop": null }, "value": "territory", - "start": 2366, - "end": 2375, + "start": 2714, + "end": 2723, "loc": { "start": { - "line": 72, - "column": 28 + "line": 91, + "column": 22 }, "end": { - "line": 72, - "column": 37 + "line": 91, + "column": 31 } } }, @@ -6850,16 +9225,16 @@ "binop": null, "updateContext": null }, - "start": 2375, - "end": 2376, + "start": 2723, + "end": 2724, "loc": { "start": { - "line": 72, - "column": 37 + "line": 91, + "column": 31 }, "end": { - "line": 72, - "column": 38 + "line": 91, + "column": 32 } } }, @@ -6876,16 +9251,16 @@ "binop": null }, "value": "limit", - "start": 2389, - "end": 2394, + "start": 2731, + "end": 2736, "loc": { "start": { - "line": 73, - "column": 12 + "line": 92, + "column": 6 }, "end": { - "line": 73, - "column": 17 + "line": 92, + "column": 11 } } }, @@ -6902,16 +9277,16 @@ "binop": null, "updateContext": null }, - "start": 2394, - "end": 2395, + "start": 2736, + "end": 2737, "loc": { "start": { - "line": 73, - "column": 17 + "line": 92, + "column": 11 }, "end": { - "line": 73, - "column": 18 + "line": 92, + "column": 12 } } }, @@ -6928,16 +9303,16 @@ "binop": null }, "value": "limit", - "start": 2396, - "end": 2401, + "start": 2738, + "end": 2743, "loc": { "start": { - "line": 73, - "column": 19 + "line": 92, + "column": 13 }, "end": { - "line": 73, - "column": 24 + "line": 92, + "column": 18 } } }, @@ -6954,16 +9329,16 @@ "binop": null, "updateContext": null }, - "start": 2401, - "end": 2402, + "start": 2743, + "end": 2744, "loc": { "start": { - "line": 73, - "column": 24 + "line": 92, + "column": 18 }, "end": { - "line": 73, - "column": 25 + "line": 92, + "column": 19 } } }, @@ -6980,16 +9355,16 @@ "binop": null }, "value": "offset", - "start": 2415, - "end": 2421, + "start": 2751, + "end": 2757, "loc": { "start": { - "line": 74, - "column": 12 + "line": 93, + "column": 6 }, "end": { - "line": 74, - "column": 18 + "line": 93, + "column": 12 } } }, @@ -7006,16 +9381,16 @@ "binop": null, "updateContext": null }, - "start": 2421, - "end": 2422, + "start": 2757, + "end": 2758, "loc": { "start": { - "line": 74, - "column": 18 + "line": 93, + "column": 12 }, "end": { - "line": 74, - "column": 19 + "line": 93, + "column": 13 } } }, @@ -7032,16 +9407,16 @@ "binop": null }, "value": "offset", - "start": 2423, - "end": 2429, + "start": 2759, + "end": 2765, "loc": { "start": { - "line": 74, - "column": 20 + "line": 93, + "column": 14 }, "end": { - "line": 74, - "column": 26 + "line": 93, + "column": 20 } } }, @@ -7057,16 +9432,16 @@ "postfix": false, "binop": null }, - "start": 2438, - "end": 2439, + "start": 2770, + "end": 2771, "loc": { "start": { - "line": 75, - "column": 8 + "line": 94, + "column": 4 }, "end": { - "line": 75, - "column": 9 + "line": 94, + "column": 5 } } }, @@ -7082,16 +9457,42 @@ "postfix": false, "binop": null }, - "start": 2439, - "end": 2440, + "start": 2771, + "end": 2772, "loc": { "start": { - "line": 75, - "column": 9 + "line": 94, + "column": 5 }, "end": { - "line": 75, - "column": 10 + "line": 94, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2772, + "end": 2773, + "loc": { + "start": { + "line": 94, + "column": 6 + }, + "end": { + "line": 94, + "column": 7 } } }, @@ -7107,16 +9508,16 @@ "postfix": false, "binop": null }, - "start": 2445, - "end": 2446, + "start": 2776, + "end": 2777, "loc": { "start": { - "line": 76, - "column": 4 + "line": 95, + "column": 2 }, "end": { - "line": 76, - "column": 5 + "line": 95, + "column": 3 } } }, @@ -7132,15 +9533,15 @@ "postfix": false, "binop": null }, - "start": 2447, - "end": 2448, + "start": 2778, + "end": 2779, "loc": { "start": { - "line": 77, + "line": 96, "column": 0 }, "end": { - "line": 77, + "line": 96, "column": 1 } } @@ -7158,16 +9559,16 @@ "binop": null, "updateContext": null }, - "start": 2448, - "end": 2448, + "start": 2780, + "end": 2780, "loc": { "start": { - "line": 77, - "column": 1 + "line": 97, + "column": 0 }, "end": { - "line": 77, - "column": 1 + "line": 97, + "column": 0 } } } diff --git a/docs/ast/source/api/ChartFetcher.js.json b/docs/ast/source/api/ChartFetcher.js.json index 21a4032..1dbcaba 100644 --- a/docs/ast/source/api/ChartFetcher.js.json +++ b/docs/ast/source/api/ChartFetcher.js.json @@ -1,29 +1,29 @@ { "type": "File", "start": 0, - "end": 706, + "end": 1962, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 28, - "column": 1 + "line": 76, + "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 706, + "end": 1962, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 28, - "column": 1 + "line": 76, + "column": 0 } }, "sourceType": "module", @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 46, + "end": 49, "loc": { "start": { "line": 1, @@ -39,36 +39,36 @@ }, "end": { "line": 1, - "column": 46 + "column": 49 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 8, - "end": 26, + "start": 9, + "end": 27, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 26 + "column": 27 } }, "imported": { "type": "Identifier", - "start": 8, - "end": 14, + "start": 9, + "end": 15, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 14 + "column": 15 }, "identifierName": "CHARTS" }, @@ -76,16 +76,16 @@ }, "local": { "type": "Identifier", - "start": 18, - "end": 26, + "start": 19, + "end": 27, "loc": { "start": { "line": 1, - "column": 18 + "column": 19 }, "end": { "line": 1, - "column": 26 + "column": 27 }, "identifierName": "ENDPOINT" }, @@ -95,16 +95,16 @@ ], "source": { "type": "StringLiteral", - "start": 33, - "end": 46, + "start": 35, + "end": 48, "loc": { "start": { "line": 1, - "column": 33 + "column": 35 }, "end": { "line": 1, - "column": 46 + "column": 48 } }, "extra": { @@ -116,8 +116,8 @@ }, { "type": "ImportDeclaration", - "start": 47, - "end": 78, + "start": 50, + "end": 82, "loc": { "start": { "line": 2, @@ -125,14 +125,14 @@ }, "end": { "line": 2, - "column": 31 + "column": 32 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 54, - "end": 61, + "start": 57, + "end": 64, "loc": { "start": { "line": 2, @@ -145,8 +145,8 @@ }, "local": { "type": "Identifier", - "start": 54, - "end": 61, + "start": 57, + "end": 64, "loc": { "start": { "line": 2, @@ -164,8 +164,8 @@ ], "source": { "type": "StringLiteral", - "start": 67, - "end": 78, + "start": 70, + "end": 81, "loc": { "start": { "line": 2, @@ -180,16 +180,14 @@ "rawValue": "./Fetcher", "raw": "'./Fetcher'" }, - "value": "./Fetcher", - "leadingComments": null, - "trailingComments": null + "value": "./Fetcher" }, "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * The fetcher that can fetch chart playlists.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/charts\n ", - "start": 80, - "end": 201, + "value": "*\n * The fetcher that can fetch chart playlists.\n * @see https://docs-en.kkbox.codes/v1.1/reference#charts\n ", + "start": 84, + "end": 196, "loc": { "start": { "line": 4, @@ -205,36 +203,36 @@ }, { "type": "ExportDefaultDeclaration", - "start": 202, - "end": 706, + "start": 197, + "end": 1961, "loc": { "start": { "line": 8, "column": 0 }, "end": { - "line": 28, + "line": 75, "column": 1 } }, "declaration": { "type": "ClassDeclaration", - "start": 217, - "end": 706, + "start": 212, + "end": 1961, "loc": { "start": { "line": 8, "column": 15 }, "end": { - "line": 28, + "line": 75, "column": 1 } }, "id": { "type": "Identifier", - "start": 223, - "end": 235, + "start": 218, + "end": 230, "loc": { "start": { "line": 8, @@ -251,8 +249,8 @@ }, "superClass": { "type": "Identifier", - "start": 244, - "end": 251, + "start": 239, + "end": 246, "loc": { "start": { "line": 8, @@ -268,53 +266,53 @@ }, "body": { "type": "ClassBody", - "start": 252, - "end": 706, + "start": 247, + "end": 1961, "loc": { "start": { "line": 8, "column": 50 }, "end": { - "line": 28, + "line": 75, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 289, - "end": 370, + "start": 276, + "end": 410, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { - "line": 14, - "column": 5 + "line": 19, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 289, - "end": 300, + "start": 276, + "end": 287, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 12, - "column": 15 + "column": 13 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, - "static": false, "kind": "constructor", "id": null, "generator": false, @@ -323,16 +321,16 @@ "params": [ { "type": "Identifier", - "start": 301, - "end": 305, + "start": 288, + "end": 292, "loc": { "start": { "line": 12, - "column": 16 + "column": 14 }, "end": { "line": 12, - "column": 20 + "column": 18 }, "identifierName": "http" }, @@ -340,30 +338,30 @@ }, { "type": "AssignmentPattern", - "start": 307, - "end": 323, + "start": 294, + "end": 310, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 38 + "column": 36 } }, "left": { "type": "Identifier", - "start": 307, - "end": 316, + "start": 294, + "end": 303, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 31 + "column": 29 }, "identifierName": "territory" }, @@ -371,16 +369,16 @@ }, "right": { "type": "StringLiteral", - "start": 319, - "end": 323, + "start": 306, + "end": 310, "loc": { "start": { "line": 12, - "column": 34 + "column": 32 }, "end": { "line": 12, - "column": 38 + "column": 36 } }, "extra": { @@ -393,135 +391,234 @@ ], "body": { "type": "BlockStatement", - "start": 325, - "end": 370, + "start": 312, + "end": 410, "loc": { "start": { "line": 12, - "column": 40 + "column": 38 }, "end": { - "line": 14, - "column": 5 + "line": 19, + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 335, - "end": 364, + "start": 318, + "end": 341, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 37 + "column": 27 } }, "expression": { "type": "CallExpression", - "start": 335, - "end": 364, + "start": 318, + "end": 340, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 37 + "column": 26 } }, "callee": { "type": "Super", - "start": 335, - "end": 340, + "start": 318, + "end": 323, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 13 + "column": 9 } } }, "arguments": [ { "type": "Identifier", - "start": 341, - "end": 345, + "start": 324, + "end": 328, "loc": { "start": { "line": 13, - "column": 14 + "column": 10 }, "end": { "line": 13, - "column": 18 + "column": 14 }, "identifierName": "http" }, "name": "http" }, { - "type": "AssignmentExpression", - "start": 347, - "end": 363, + "type": "Identifier", + "start": 330, + "end": 339, "loc": { "start": { "line": 13, - "column": 20 + "column": 16 }, "end": { "line": 13, - "column": 36 - } + "column": 25 + }, + "identifierName": "territory" }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 347, - "end": 356, - "loc": { - "start": { - "line": 13, - "column": 20 - }, - "end": { - "line": 13, - "column": 29 - }, - "identifierName": "territory" + "name": "territory" + } + ] + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @ignore\n ", + "start": 347, + "end": 373, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 378, + "end": 406, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 32 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 378, + "end": 405, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 31 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 378, + "end": 393, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 378, + "end": 382, + "loc": { + "start": { + "line": 18, + "column": 4 }, - "name": "territory" + "end": { + "line": 18, + "column": 8 + } }, - "right": { - "type": "StringLiteral", - "start": 359, - "end": 363, - "loc": { - "start": { - "line": 13, - "column": 32 - }, - "end": { - "line": 13, - "column": 36 - } + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 383, + "end": 393, + "loc": { + "start": { + "line": 18, + "column": 9 }, - "extra": { - "rawValue": "TW", - "raw": "'TW'" + "end": { + "line": 18, + "column": 19 }, - "value": "TW" + "identifierName": "playlistID" + }, + "name": "playlistID" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 396, + "end": 405, + "loc": { + "start": { + "line": 18, + "column": 22 + }, + "end": { + "line": 18, + "column": 31 + }, + "identifierName": "undefined" + }, + "name": "undefined" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @ignore\n ", + "start": 347, + "end": 373, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 } } - ] - } + } + ] } ], "directives": [], @@ -530,17 +627,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 258, - "end": 284, + "value": "*\n * @ignore\n ", + "start": 251, + "end": 273, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } } @@ -548,17 +645,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch chart playlists.\n *\n * @return {Promise}\n * @example api.chartFetcher.fetchCharts()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/charts/endpoints/get-charts\n ", - "start": 376, - "end": 588, + "value": "*\n * Fetch chart playlists.\n *\n * @return {Promise}\n * @example api.chartFetcher.fetchCharts();\n * @see https://docs-en.kkbox.codes/v1.1/reference#charts_1\n ", + "start": 414, + "end": 587, "loc": { "start": { - "line": 16, - "column": 4 + "line": 21, + "column": 2 }, "end": { - "line": 22, - "column": 7 + "line": 27, + "column": 5 } } } @@ -566,38 +663,38 @@ }, { "type": "ClassMethod", - "start": 593, - "end": 704, + "start": 590, + "end": 686, "loc": { "start": { - "line": 23, - "column": 4 + "line": 28, + "column": 2 }, "end": { - "line": 27, - "column": 5 + "line": 32, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 593, - "end": 604, + "start": 590, + "end": 601, "loc": { "start": { - "line": 23, - "column": 4 + "line": 28, + "column": 2 }, "end": { - "line": 23, - "column": 15 + "line": 28, + "column": 13 }, "identifierName": "fetchCharts" }, "name": "fetchCharts", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -606,102 +703,102 @@ "params": [], "body": { "type": "BlockStatement", - "start": 607, - "end": 704, + "start": 604, + "end": 686, "loc": { "start": { - "line": 23, - "column": 18 + "line": 28, + "column": 16 }, "end": { - "line": 27, - "column": 5 + "line": 32, + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 617, - "end": 698, + "start": 610, + "end": 682, "loc": { "start": { - "line": 24, - "column": 8 + "line": 29, + "column": 4 }, "end": { - "line": 26, - "column": 10 + "line": 31, + "column": 7 } }, "argument": { "type": "CallExpression", - "start": 624, - "end": 698, + "start": 617, + "end": 681, "loc": { "start": { - "line": 24, - "column": 15 + "line": 29, + "column": 11 }, "end": { - "line": 26, - "column": 10 + "line": 31, + "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 624, - "end": 637, + "start": 617, + "end": 630, "loc": { "start": { - "line": 24, - "column": 15 + "line": 29, + "column": 11 }, "end": { - "line": 24, - "column": 28 + "line": 29, + "column": 24 } }, "object": { "type": "MemberExpression", - "start": 624, - "end": 633, + "start": 617, + "end": 626, "loc": { "start": { - "line": 24, - "column": 15 + "line": 29, + "column": 11 }, "end": { - "line": 24, - "column": 24 + "line": 29, + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 624, - "end": 628, + "start": 617, + "end": 621, "loc": { "start": { - "line": 24, - "column": 15 + "line": 29, + "column": 11 }, "end": { - "line": 24, - "column": 19 + "line": 29, + "column": 15 } } }, "property": { "type": "Identifier", - "start": 629, - "end": 633, + "start": 622, + "end": 626, "loc": { "start": { - "line": 24, - "column": 20 + "line": 29, + "column": 16 }, "end": { - "line": 24, - "column": 24 + "line": 29, + "column": 20 }, "identifierName": "http" }, @@ -711,16 +808,16 @@ }, "property": { "type": "Identifier", - "start": 634, - "end": 637, + "start": 627, + "end": 630, "loc": { "start": { - "line": 24, - "column": 25 + "line": 29, + "column": 21 }, "end": { - "line": 24, - "column": 28 + "line": 29, + "column": 24 }, "identifierName": "get" }, @@ -731,16 +828,16 @@ "arguments": [ { "type": "Identifier", - "start": 638, - "end": 646, + "start": 631, + "end": 639, "loc": { "start": { - "line": 24, - "column": 29 + "line": 29, + "column": 25 }, "end": { - "line": 24, - "column": 37 + "line": 29, + "column": 33 }, "identifierName": "ENDPOINT" }, @@ -748,31 +845,31 @@ }, { "type": "ObjectExpression", - "start": 648, - "end": 697, + "start": 641, + "end": 680, "loc": { "start": { - "line": 24, - "column": 39 + "line": 29, + "column": 35 }, "end": { - "line": 26, - "column": 9 + "line": 31, + "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 662, - "end": 687, + "start": 649, + "end": 674, "loc": { "start": { - "line": 25, - "column": 12 + "line": 30, + "column": 6 }, "end": { - "line": 25, - "column": 37 + "line": 30, + "column": 31 } }, "method": false, @@ -780,16 +877,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 662, - "end": 671, + "start": 649, + "end": 658, "loc": { "start": { - "line": 25, - "column": 12 + "line": 30, + "column": 6 }, "end": { - "line": 25, - "column": 21 + "line": 30, + "column": 15 }, "identifierName": "territory" }, @@ -797,45 +894,45 @@ }, "value": { "type": "MemberExpression", - "start": 673, - "end": 687, + "start": 660, + "end": 674, "loc": { "start": { - "line": 25, - "column": 23 + "line": 30, + "column": 17 }, "end": { - "line": 25, - "column": 37 + "line": 30, + "column": 31 } }, "object": { "type": "ThisExpression", - "start": 673, - "end": 677, + "start": 660, + "end": 664, "loc": { "start": { - "line": 25, - "column": 23 + "line": 30, + "column": 17 }, "end": { - "line": 25, - "column": 27 + "line": 30, + "column": 21 } } }, "property": { "type": "Identifier", - "start": 678, - "end": 687, + "start": 665, + "end": 674, "loc": { "start": { - "line": 25, - "column": 28 + "line": 30, + "column": 22 }, "end": { - "line": 25, - "column": 37 + "line": 30, + "column": 31 }, "identifierName": "territory" }, @@ -850,172 +947,4041 @@ } } ], - "directives": [] + "directives": [], + "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch chart playlists.\n *\n * @return {Promise}\n * @example api.chartFetcher.fetchCharts()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/charts/endpoints/get-charts\n ", - "start": 376, - "end": 588, + "value": "*\n * Fetch chart playlists.\n *\n * @return {Promise}\n * @example api.chartFetcher.fetchCharts();\n * @see https://docs-en.kkbox.codes/v1.1/reference#charts_1\n ", + "start": 414, + "end": 587, + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 27, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Init the chart fetcher.\n *\n * @param {string} playlistID - The playlist ID.\n * @return {ChartFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#charts-playlist_id\n ", + "start": 690, + "end": 884, "loc": { "start": { - "line": 16, - "column": 4 + "line": 34, + "column": 2 }, "end": { - "line": 22, - "column": 7 + "line": 40, + "column": 5 } } } ] - } - ] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * The fetcher that can fetch chart playlists.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/charts\n ", - "start": 80, - "end": 201, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 7, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * The fetcher that can fetch chart playlists.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/charts\n ", - "start": 80, - "end": 201, - "loc": { - "start": { - "line": 4, - "column": 0 }, - "end": { - "line": 7, - "column": 3 - } - } - } - ] - } - ], - "directives": [] - }, - "comments": [ - { - "type": "CommentBlock", - "value": "*\n * The fetcher that can fetch chart playlists.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/charts\n ", - "start": 80, - "end": 201, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 7, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 258, - "end": 284, - "loc": { - "start": { - "line": 9, - "column": 4 - }, - "end": { - "line": 11, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Fetch chart playlists.\n *\n * @return {Promise}\n * @example api.chartFetcher.fetchCharts()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/charts/endpoints/get-charts\n ", - "start": 376, - "end": 588, - "loc": { - "start": { - "line": 16, - "column": 4 - }, - "end": { - "line": 22, - "column": 7 - } - } - } - ], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 + { + "type": "ClassMethod", + "start": 887, + "end": 969, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 44, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 887, + "end": 900, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 41, + "column": 15 + }, + "identifierName": "setPlaylistID" + }, + "name": "setPlaylistID", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 901, + "end": 911, + "loc": { + "start": { + "line": 41, + "column": 16 + }, + "end": { + "line": 41, + "column": 26 + }, + "identifierName": "playlistID" + }, + "name": "playlistID" + } + ], + "body": { + "type": "BlockStatement", + "start": 913, + "end": 969, + "loc": { + "start": { + "line": 41, + "column": 28 + }, + "end": { + "line": 44, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 919, + "end": 948, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 919, + "end": 947, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 919, + "end": 934, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 919, + "end": 923, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 924, + "end": 934, + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 19 + }, + "identifierName": "playlistID" + }, + "name": "playlistID" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 937, + "end": 947, + "loc": { + "start": { + "line": 42, + "column": 22 + }, + "end": { + "line": 42, + "column": 32 + }, + "identifierName": "playlistID" + }, + "name": "playlistID" + } + } + }, + { + "type": "ReturnStatement", + "start": 953, + "end": 965, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 16 + } + }, + "argument": { + "type": "ThisExpression", + "start": 960, + "end": 964, + "loc": { + "start": { + "line": 43, + "column": 11 + }, + "end": { + "line": 43, + "column": 15 + } + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Init the chart fetcher.\n *\n * @param {string} playlistID - The playlist ID.\n * @return {ChartFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#charts-playlist_id\n ", + "start": 690, + "end": 884, + "loc": { + "start": { + "line": 34, + "column": 2 + }, + "end": { + "line": 40, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Fetch playlist of the chart you set.\n *\n * @return {Promise}\n * @example api.chartFetcher.setPlaylistID('4mJSYXvueA8t0odsny').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#charts-playlist_id\n ", + "start": 973, + "end": 1208, + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 52, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1211, + "end": 1333, + "loc": { + "start": { + "line": 53, + "column": 2 + }, + "end": { + "line": 57, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1211, + "end": 1224, + "loc": { + "start": { + "line": 53, + "column": 2 + }, + "end": { + "line": 53, + "column": 15 + }, + "identifierName": "fetchMetadata" + }, + "name": "fetchMetadata", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1227, + "end": 1333, + "loc": { + "start": { + "line": 53, + "column": 18 + }, + "end": { + "line": 57, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1233, + "end": 1329, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 56, + "column": 7 + } + }, + "argument": { + "type": "CallExpression", + "start": 1240, + "end": 1328, + "loc": { + "start": { + "line": 54, + "column": 11 + }, + "end": { + "line": 56, + "column": 6 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1240, + "end": 1253, + "loc": { + "start": { + "line": 54, + "column": 11 + }, + "end": { + "line": 54, + "column": 24 + } + }, + "object": { + "type": "MemberExpression", + "start": 1240, + "end": 1249, + "loc": { + "start": { + "line": 54, + "column": 11 + }, + "end": { + "line": 54, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 1240, + "end": 1244, + "loc": { + "start": { + "line": 54, + "column": 11 + }, + "end": { + "line": 54, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 1245, + "end": 1249, + "loc": { + "start": { + "line": 54, + "column": 16 + }, + "end": { + "line": 54, + "column": 20 + }, + "identifierName": "http" + }, + "name": "http" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1250, + "end": 1253, + "loc": { + "start": { + "line": 54, + "column": 21 + }, + "end": { + "line": 54, + "column": 24 + }, + "identifierName": "get" + }, + "name": "get" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 1254, + "end": 1286, + "loc": { + "start": { + "line": 54, + "column": 25 + }, + "end": { + "line": 54, + "column": 57 + } + }, + "left": { + "type": "BinaryExpression", + "start": 1254, + "end": 1268, + "loc": { + "start": { + "line": 54, + "column": 25 + }, + "end": { + "line": 54, + "column": 39 + } + }, + "left": { + "type": "Identifier", + "start": 1254, + "end": 1262, + "loc": { + "start": { + "line": 54, + "column": 25 + }, + "end": { + "line": 54, + "column": 33 + }, + "identifierName": "ENDPOINT" + }, + "name": "ENDPOINT" + }, + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 1265, + "end": 1268, + "loc": { + "start": { + "line": 54, + "column": 36 + }, + "end": { + "line": 54, + "column": 39 + } + }, + "extra": { + "rawValue": "/", + "raw": "'/'" + }, + "value": "/" + } + }, + "operator": "+", + "right": { + "type": "MemberExpression", + "start": 1271, + "end": 1286, + "loc": { + "start": { + "line": 54, + "column": 42 + }, + "end": { + "line": 54, + "column": 57 + } + }, + "object": { + "type": "ThisExpression", + "start": 1271, + "end": 1275, + "loc": { + "start": { + "line": 54, + "column": 42 + }, + "end": { + "line": 54, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "start": 1276, + "end": 1286, + "loc": { + "start": { + "line": 54, + "column": 47 + }, + "end": { + "line": 54, + "column": 57 + }, + "identifierName": "playlistID" + }, + "name": "playlistID" + }, + "computed": false + } + }, + { + "type": "ObjectExpression", + "start": 1288, + "end": 1327, + "loc": { + "start": { + "line": 54, + "column": 59 + }, + "end": { + "line": 56, + "column": 5 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 1296, + "end": 1321, + "loc": { + "start": { + "line": 55, + "column": 6 + }, + "end": { + "line": 55, + "column": 31 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1296, + "end": 1305, + "loc": { + "start": { + "line": 55, + "column": 6 + }, + "end": { + "line": 55, + "column": 15 + }, + "identifierName": "territory" + }, + "name": "territory" + }, + "value": { + "type": "MemberExpression", + "start": 1307, + "end": 1321, + "loc": { + "start": { + "line": 55, + "column": 17 + }, + "end": { + "line": 55, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 1307, + "end": 1311, + "loc": { + "start": { + "line": 55, + "column": 17 + }, + "end": { + "line": 55, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "start": 1312, + "end": 1321, + "loc": { + "start": { + "line": 55, + "column": 22 + }, + "end": { + "line": 55, + "column": 31 + }, + "identifierName": "territory" + }, + "name": "territory" + }, + "computed": false + } + } + ] + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Fetch playlist of the chart you set.\n *\n * @return {Promise}\n * @example api.chartFetcher.setPlaylistID('4mJSYXvueA8t0odsny').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#charts-playlist_id\n ", + "start": 973, + "end": 1208, + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 52, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Fetch tracks of the playlist with the chart fetcher you init. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.chartFetcher.setPlaylistID('4mJSYXvueA8t0odsny').fetchTracks();\n * @see https://docs-en.kkbox.codes/v1.1/reference#charts-playlist_id-tracks\n ", + "start": 1337, + "end": 1745, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 67, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1748, + "end": 1959, + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 74, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1748, + "end": 1759, + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 68, + "column": 13 + }, + "identifierName": "fetchTracks" + }, + "name": "fetchTracks", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "AssignmentPattern", + "start": 1760, + "end": 1777, + "loc": { + "start": { + "line": 68, + "column": 14 + }, + "end": { + "line": 68, + "column": 31 + } + }, + "left": { + "type": "Identifier", + "start": 1760, + "end": 1765, + "loc": { + "start": { + "line": 68, + "column": 14 + }, + "end": { + "line": 68, + "column": 19 + }, + "identifierName": "limit" + }, + "name": "limit" + }, + "right": { + "type": "Identifier", + "start": 1768, + "end": 1777, + "loc": { + "start": { + "line": 68, + "column": 22 + }, + "end": { + "line": 68, + "column": 31 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } + }, + { + "type": "AssignmentPattern", + "start": 1779, + "end": 1797, + "loc": { + "start": { + "line": 68, + "column": 33 + }, + "end": { + "line": 68, + "column": 51 + } + }, + "left": { + "type": "Identifier", + "start": 1779, + "end": 1785, + "loc": { + "start": { + "line": 68, + "column": 33 + }, + "end": { + "line": 68, + "column": 39 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "right": { + "type": "Identifier", + "start": 1788, + "end": 1797, + "loc": { + "start": { + "line": 68, + "column": 42 + }, + "end": { + "line": 68, + "column": 51 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 1799, + "end": 1959, + "loc": { + "start": { + "line": 68, + "column": 53 + }, + "end": { + "line": 74, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1805, + "end": 1955, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 73, + "column": 7 + } + }, + "argument": { + "type": "CallExpression", + "start": 1812, + "end": 1954, + "loc": { + "start": { + "line": 69, + "column": 11 + }, + "end": { + "line": 73, + "column": 6 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1812, + "end": 1825, + "loc": { + "start": { + "line": 69, + "column": 11 + }, + "end": { + "line": 69, + "column": 24 + } + }, + "object": { + "type": "MemberExpression", + "start": 1812, + "end": 1821, + "loc": { + "start": { + "line": 69, + "column": 11 + }, + "end": { + "line": 69, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 1812, + "end": 1816, + "loc": { + "start": { + "line": 69, + "column": 11 + }, + "end": { + "line": 69, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 1817, + "end": 1821, + "loc": { + "start": { + "line": 69, + "column": 16 + }, + "end": { + "line": 69, + "column": 20 + }, + "identifierName": "http" + }, + "name": "http" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1822, + "end": 1825, + "loc": { + "start": { + "line": 69, + "column": 21 + }, + "end": { + "line": 69, + "column": 24 + }, + "identifierName": "get" + }, + "name": "get" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 1826, + "end": 1870, + "loc": { + "start": { + "line": 69, + "column": 25 + }, + "end": { + "line": 69, + "column": 69 + } + }, + "left": { + "type": "BinaryExpression", + "start": 1826, + "end": 1858, + "loc": { + "start": { + "line": 69, + "column": 25 + }, + "end": { + "line": 69, + "column": 57 + } + }, + "left": { + "type": "BinaryExpression", + "start": 1826, + "end": 1840, + "loc": { + "start": { + "line": 69, + "column": 25 + }, + "end": { + "line": 69, + "column": 39 + } + }, + "left": { + "type": "Identifier", + "start": 1826, + "end": 1834, + "loc": { + "start": { + "line": 69, + "column": 25 + }, + "end": { + "line": 69, + "column": 33 + }, + "identifierName": "ENDPOINT" + }, + "name": "ENDPOINT" + }, + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 1837, + "end": 1840, + "loc": { + "start": { + "line": 69, + "column": 36 + }, + "end": { + "line": 69, + "column": 39 + } + }, + "extra": { + "rawValue": "/", + "raw": "'/'" + }, + "value": "/" + } + }, + "operator": "+", + "right": { + "type": "MemberExpression", + "start": 1843, + "end": 1858, + "loc": { + "start": { + "line": 69, + "column": 42 + }, + "end": { + "line": 69, + "column": 57 + } + }, + "object": { + "type": "ThisExpression", + "start": 1843, + "end": 1847, + "loc": { + "start": { + "line": 69, + "column": 42 + }, + "end": { + "line": 69, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "start": 1848, + "end": 1858, + "loc": { + "start": { + "line": 69, + "column": 47 + }, + "end": { + "line": 69, + "column": 57 + }, + "identifierName": "playlistID" + }, + "name": "playlistID" + }, + "computed": false + } + }, + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 1861, + "end": 1870, + "loc": { + "start": { + "line": 69, + "column": 60 + }, + "end": { + "line": 69, + "column": 69 + } + }, + "extra": { + "rawValue": "/tracks", + "raw": "'/tracks'" + }, + "value": "/tracks" + } + }, + { + "type": "ObjectExpression", + "start": 1872, + "end": 1953, + "loc": { + "start": { + "line": 69, + "column": 71 + }, + "end": { + "line": 73, + "column": 5 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 1880, + "end": 1905, + "loc": { + "start": { + "line": 70, + "column": 6 + }, + "end": { + "line": 70, + "column": 31 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1880, + "end": 1889, + "loc": { + "start": { + "line": 70, + "column": 6 + }, + "end": { + "line": 70, + "column": 15 + }, + "identifierName": "territory" + }, + "name": "territory" + }, + "value": { + "type": "MemberExpression", + "start": 1891, + "end": 1905, + "loc": { + "start": { + "line": 70, + "column": 17 + }, + "end": { + "line": 70, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 1891, + "end": 1895, + "loc": { + "start": { + "line": 70, + "column": 17 + }, + "end": { + "line": 70, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "start": 1896, + "end": 1905, + "loc": { + "start": { + "line": 70, + "column": 22 + }, + "end": { + "line": 70, + "column": 31 + }, + "identifierName": "territory" + }, + "name": "territory" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 1913, + "end": 1925, + "loc": { + "start": { + "line": 71, + "column": 6 + }, + "end": { + "line": 71, + "column": 18 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1913, + "end": 1918, + "loc": { + "start": { + "line": 71, + "column": 6 + }, + "end": { + "line": 71, + "column": 11 + }, + "identifierName": "limit" + }, + "name": "limit" + }, + "value": { + "type": "Identifier", + "start": 1920, + "end": 1925, + "loc": { + "start": { + "line": 71, + "column": 13 + }, + "end": { + "line": 71, + "column": 18 + }, + "identifierName": "limit" + }, + "name": "limit" + } + }, + { + "type": "ObjectProperty", + "start": 1933, + "end": 1947, + "loc": { + "start": { + "line": 72, + "column": 6 + }, + "end": { + "line": 72, + "column": 20 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1933, + "end": 1939, + "loc": { + "start": { + "line": 72, + "column": 6 + }, + "end": { + "line": 72, + "column": 12 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "value": { + "type": "Identifier", + "start": 1941, + "end": 1947, + "loc": { + "start": { + "line": 72, + "column": 14 + }, + "end": { + "line": 72, + "column": 20 + }, + "identifierName": "offset" + }, + "name": "offset" + } + } + ] + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Fetch tracks of the playlist with the chart fetcher you init. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.chartFetcher.setPlaylistID('4mJSYXvueA8t0odsny').fetchTracks();\n * @see https://docs-en.kkbox.codes/v1.1/reference#charts-playlist_id-tracks\n ", + "start": 1337, + "end": 1745, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 67, + "column": 5 + } + } + } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * The fetcher that can fetch chart playlists.\n * @see https://docs-en.kkbox.codes/v1.1/reference#charts\n ", + "start": 84, + "end": 196, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * The fetcher that can fetch chart playlists.\n * @see https://docs-en.kkbox.codes/v1.1/reference#charts\n ", + "start": 84, + "end": 196, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * The fetcher that can fetch chart playlists.\n * @see https://docs-en.kkbox.codes/v1.1/reference#charts\n ", + "start": 84, + "end": 196, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @ignore\n ", + "start": 251, + "end": 273, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 11, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @ignore\n ", + "start": 347, + "end": 373, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Fetch chart playlists.\n *\n * @return {Promise}\n * @example api.chartFetcher.fetchCharts();\n * @see https://docs-en.kkbox.codes/v1.1/reference#charts_1\n ", + "start": 414, + "end": 587, + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 27, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Init the chart fetcher.\n *\n * @param {string} playlistID - The playlist ID.\n * @return {ChartFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#charts-playlist_id\n ", + "start": 690, + "end": 884, + "loc": { + "start": { + "line": 34, + "column": 2 + }, + "end": { + "line": 40, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Fetch playlist of the chart you set.\n *\n * @return {Promise}\n * @example api.chartFetcher.setPlaylistID('4mJSYXvueA8t0odsny').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#charts-playlist_id\n ", + "start": 973, + "end": 1208, + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 52, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Fetch tracks of the playlist with the chart fetcher you init. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.chartFetcher.setPlaylistID('4mJSYXvueA8t0odsny').fetchTracks();\n * @see https://docs-en.kkbox.codes/v1.1/reference#charts-playlist_id-tracks\n ", + "start": 1337, + "end": 1745, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 67, + "column": 5 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "CHARTS", + "start": 9, + "end": 15, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "as", + "start": 16, + "end": 18, + "loc": { + "start": { + "line": 1, + "column": 16 + }, + "end": { + "line": 1, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ENDPOINT", + "start": 19, + "end": 27, + "loc": { + "start": { + "line": 1, + "column": 19 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 28, + "end": 29, + "loc": { + "start": { + "line": 1, + "column": 28 + }, + "end": { + "line": 1, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 30, + "end": 34, + "loc": { + "start": { + "line": 1, + "column": 30 + }, + "end": { + "line": 1, + "column": 34 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../Endpoint", + "start": 35, + "end": 48, + "loc": { + "start": { + "line": 1, + "column": 35 + }, + "end": { + "line": 1, + "column": 48 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 48, + "end": 49, + "loc": { + "start": { + "line": 1, + "column": 48 + }, + "end": { + "line": 1, + "column": 49 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 50, + "end": 56, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Fetcher", + "start": 57, + "end": 64, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 65, + "end": 69, + "loc": { + "start": { + "line": 2, + "column": 15 + }, + "end": { + "line": 2, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./Fetcher", + "start": 70, + "end": 81, + "loc": { + "start": { + "line": 2, + "column": 20 + }, + "end": { + "line": 2, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 81, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 32 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * The fetcher that can fetch chart playlists.\n * @see https://docs-en.kkbox.codes/v1.1/reference#charts\n ", + "start": 84, + "end": 196, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 197, + "end": 203, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 204, + "end": 211, + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 14 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 212, + "end": 217, + "loc": { + "start": { + "line": 8, + "column": 15 + }, + "end": { + "line": 8, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ChartFetcher", + "start": 218, + "end": 230, + "loc": { + "start": { + "line": 8, + "column": 21 + }, + "end": { + "line": 8, + "column": 33 + } + } + }, + { + "type": { + "label": "extends", + "keyword": "extends", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "extends", + "start": 231, + "end": 238, + "loc": { + "start": { + "line": 8, + "column": 34 + }, + "end": { + "line": 8, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Fetcher", + "start": 239, + "end": 246, + "loc": { + "start": { + "line": 8, + "column": 42 + }, + "end": { + "line": 8, + "column": 49 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 247, + "end": 248, + "loc": { + "start": { + "line": 8, + "column": 50 + }, + "end": { + "line": 8, + "column": 51 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @ignore\n ", + "start": 251, + "end": 273, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 11, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 276, + "end": 287, + "loc": { + "start": { + "line": 12, + "column": 2 + }, + "end": { + "line": 12, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 287, + "end": 288, + "loc": { + "start": { + "line": 12, + "column": 13 + }, + "end": { + "line": 12, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "http", + "start": 288, + "end": 292, + "loc": { + "start": { + "line": 12, + "column": 14 + }, + "end": { + "line": 12, + "column": 18 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 292, + "end": 293, + "loc": { + "start": { + "line": 12, + "column": 18 + }, + "end": { + "line": 12, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "territory", + "start": 294, + "end": 303, + "loc": { + "start": { + "line": 12, + "column": 20 + }, + "end": { + "line": 12, + "column": 29 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 304, + "end": 305, + "loc": { + "start": { + "line": 12, + "column": 30 + }, + "end": { + "line": 12, + "column": 31 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "TW", + "start": 306, + "end": 310, + "loc": { + "start": { + "line": 12, + "column": 32 + }, + "end": { + "line": 12, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 310, + "end": 311, + "loc": { + "start": { + "line": 12, + "column": 36 + }, + "end": { + "line": 12, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 312, + "end": 313, + "loc": { + "start": { + "line": 12, + "column": 38 + }, + "end": { + "line": 12, + "column": 39 + } + } + }, + { + "type": { + "label": "super", + "keyword": "super", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "super", + "start": 318, + "end": 323, + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 13, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 323, + "end": 324, + "loc": { + "start": { + "line": 13, + "column": 9 + }, + "end": { + "line": 13, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "http", + "start": 324, + "end": 328, + "loc": { + "start": { + "line": 13, + "column": 10 + }, + "end": { + "line": 13, + "column": 14 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 328, + "end": 329, + "loc": { + "start": { + "line": 13, + "column": 14 + }, + "end": { + "line": 13, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "territory", + "start": 330, + "end": 339, + "loc": { + "start": { + "line": 13, + "column": 16 + }, + "end": { + "line": 13, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 339, + "end": 340, + "loc": { + "start": { + "line": 13, + "column": 25 + }, + "end": { + "line": 13, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 340, + "end": 341, + "loc": { + "start": { + "line": 13, + "column": 26 + }, + "end": { + "line": 13, + "column": 27 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @ignore\n ", + "start": 347, + "end": 373, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 378, + "end": 382, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 382, + "end": 383, + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "playlistID", + "start": 383, + "end": 393, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 394, + "end": 395, + "loc": { + "start": { + "line": 18, + "column": 20 + }, + "end": { + "line": 18, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "undefined", + "start": 396, + "end": 405, + "loc": { + "start": { + "line": 18, + "column": 22 + }, + "end": { + "line": 18, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 405, + "end": 406, + "loc": { + "start": { + "line": 18, + "column": 31 + }, + "end": { + "line": 18, + "column": 32 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 409, + "end": 410, + "loc": { + "start": { + "line": 19, + "column": 2 + }, + "end": { + "line": 19, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Fetch chart playlists.\n *\n * @return {Promise}\n * @example api.chartFetcher.fetchCharts();\n * @see https://docs-en.kkbox.codes/v1.1/reference#charts_1\n ", + "start": 414, + "end": 587, + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 27, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchCharts", + "start": 590, + "end": 601, + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 28, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 601, + "end": 602, + "loc": { + "start": { + "line": 28, + "column": 13 + }, + "end": { + "line": 28, + "column": 14 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 602, + "end": 603, + "loc": { + "start": { + "line": 28, + "column": 14 + }, + "end": { + "line": 28, + "column": 15 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 604, + "end": 605, + "loc": { + "start": { + "line": 28, + "column": 16 + }, + "end": { + "line": 28, + "column": 17 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 610, + "end": 616, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 617, + "end": 621, + "loc": { + "start": { + "line": 29, + "column": 11 + }, + "end": { + "line": 29, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 621, + "end": 622, + "loc": { + "start": { + "line": 29, + "column": 15 + }, + "end": { + "line": 29, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "http", + "start": 622, + "end": 626, + "loc": { + "start": { + "line": 29, + "column": 16 + }, + "end": { + "line": 29, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 626, + "end": 627, + "loc": { + "start": { + "line": 29, + "column": 20 + }, + "end": { + "line": 29, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 627, + "end": 630, + "loc": { + "start": { + "line": 29, + "column": 21 + }, + "end": { + "line": 29, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 630, + "end": 631, + "loc": { + "start": { + "line": 29, + "column": 24 + }, + "end": { + "line": 29, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ENDPOINT", + "start": 631, + "end": 639, + "loc": { + "start": { + "line": 29, + "column": 25 + }, + "end": { + "line": 29, + "column": 33 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 639, + "end": 640, + "loc": { + "start": { + "line": 29, + "column": 33 + }, + "end": { + "line": 29, + "column": 34 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 641, + "end": 642, + "loc": { + "start": { + "line": 29, + "column": 35 + }, + "end": { + "line": 29, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "territory", + "start": 649, + "end": 658, + "loc": { + "start": { + "line": 30, + "column": 6 + }, + "end": { + "line": 30, + "column": 15 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 658, + "end": 659, + "loc": { + "start": { + "line": 30, + "column": 15 + }, + "end": { + "line": 30, + "column": 16 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 660, + "end": 664, + "loc": { + "start": { + "line": 30, + "column": 17 + }, + "end": { + "line": 30, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 664, + "end": 665, + "loc": { + "start": { + "line": 30, + "column": 21 + }, + "end": { + "line": 30, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "territory", + "start": 665, + "end": 674, + "loc": { + "start": { + "line": 30, + "column": 22 + }, + "end": { + "line": 30, + "column": 31 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 679, + "end": 680, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 31, + "column": 5 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 680, + "end": 681, + "loc": { + "start": { + "line": 31, + "column": 5 + }, + "end": { + "line": 31, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 681, + "end": 682, + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 31, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 685, + "end": 686, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Init the chart fetcher.\n *\n * @param {string} playlistID - The playlist ID.\n * @return {ChartFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#charts-playlist_id\n ", + "start": 690, + "end": 884, + "loc": { + "start": { + "line": 34, + "column": 2 + }, + "end": { + "line": 40, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setPlaylistID", + "start": 887, + "end": 900, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 41, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 900, + "end": 901, + "loc": { + "start": { + "line": 41, + "column": 15 + }, + "end": { + "line": 41, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "playlistID", + "start": 901, + "end": 911, + "loc": { + "start": { + "line": 41, + "column": 16 + }, + "end": { + "line": 41, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 911, + "end": 912, + "loc": { + "start": { + "line": 41, + "column": 26 + }, + "end": { + "line": 41, + "column": 27 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 913, + "end": 914, + "loc": { + "start": { + "line": 41, + "column": 28 + }, + "end": { + "line": 41, + "column": 29 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 919, + "end": 923, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 923, + "end": 924, + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "playlistID", + "start": 924, + "end": 934, + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 935, + "end": 936, + "loc": { + "start": { + "line": 42, + "column": 20 + }, + "end": { + "line": 42, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "playlistID", + "start": 937, + "end": 947, + "loc": { + "start": { + "line": 42, + "column": 22 + }, + "end": { + "line": 42, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 947, + "end": 948, + "loc": { + "start": { + "line": 42, + "column": 32 + }, + "end": { + "line": 42, + "column": 33 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 953, + "end": 959, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 960, + "end": 964, + "loc": { + "start": { + "line": 43, + "column": 11 + }, + "end": { + "line": 43, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 964, + "end": 965, + "loc": { + "start": { + "line": 43, + "column": 15 + }, + "end": { + "line": 43, + "column": 16 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 968, + "end": 969, + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 44, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Fetch playlist of the chart you set.\n *\n * @return {Promise}\n * @example api.chartFetcher.setPlaylistID('4mJSYXvueA8t0odsny').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#charts-playlist_id\n ", + "start": 973, + "end": 1208, + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 52, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchMetadata", + "start": 1211, + "end": 1224, + "loc": { + "start": { + "line": 53, + "column": 2 + }, + "end": { + "line": 53, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1224, + "end": 1225, + "loc": { + "start": { + "line": 53, + "column": 15 + }, + "end": { + "line": 53, + "column": 16 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1225, + "end": 1226, + "loc": { + "start": { + "line": 53, + "column": 16 + }, + "end": { + "line": 53, + "column": 17 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1227, + "end": 1228, + "loc": { + "start": { + "line": 53, + "column": 18 + }, + "end": { + "line": 53, + "column": 19 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1233, + "end": 1239, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1240, + "end": 1244, + "loc": { + "start": { + "line": 54, + "column": 11 + }, + "end": { + "line": 54, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1244, + "end": 1245, + "loc": { + "start": { + "line": 54, + "column": 15 + }, + "end": { + "line": 54, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "http", + "start": 1245, + "end": 1249, + "loc": { + "start": { + "line": 54, + "column": 16 + }, + "end": { + "line": 54, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1249, + "end": 1250, + "loc": { + "start": { + "line": 54, + "column": 20 + }, + "end": { + "line": 54, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 1250, + "end": 1253, + "loc": { + "start": { + "line": 54, + "column": 21 + }, + "end": { + "line": 54, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1253, + "end": 1254, + "loc": { + "start": { + "line": 54, + "column": 24 + }, + "end": { + "line": 54, + "column": 25 } } }, @@ -1031,23 +4997,50 @@ "postfix": false, "binop": null }, - "value": "CHARTS", - "start": 8, - "end": 14, + "value": "ENDPOINT", + "start": 1254, + "end": 1262, "loc": { "start": { - "line": 1, - "column": 8 + "line": 54, + "column": 25 }, "end": { - "line": 1, - "column": 14 + "line": 54, + "column": 33 } } }, { "type": { - "label": "name", + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 1263, + "end": 1264, + "loc": { + "start": { + "line": 54, + "column": 34 + }, + "end": { + "line": 54, + "column": 35 + } + } + }, + { + "type": { + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1055,19 +5048,101 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "as", - "start": 15, - "end": 17, + "value": "/", + "start": 1265, + "end": 1268, "loc": { "start": { - "line": 1, - "column": 15 + "line": 54, + "column": 36 }, "end": { - "line": 1, - "column": 17 + "line": 54, + "column": 39 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 1269, + "end": 1270, + "loc": { + "start": { + "line": 54, + "column": 40 + }, + "end": { + "line": 54, + "column": 41 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1271, + "end": 1275, + "loc": { + "start": { + "line": 54, + "column": 42 + }, + "end": { + "line": 54, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1275, + "end": 1276, + "loc": { + "start": { + "line": 54, + "column": 46 + }, + "end": { + "line": 54, + "column": 47 } } }, @@ -1083,42 +5158,68 @@ "postfix": false, "binop": null }, - "value": "ENDPOINT", - "start": 18, - "end": 26, + "value": "playlistID", + "start": 1276, + "end": 1286, "loc": { "start": { - "line": 1, - "column": 18 + "line": 54, + "column": 47 }, "end": { - "line": 1, - "column": 26 + "line": 54, + "column": 57 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1286, + "end": 1287, + "loc": { + "start": { + "line": 54, + "column": 57 + }, + "end": { + "line": 54, + "column": 58 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null }, - "start": 26, - "end": 27, + "start": 1288, + "end": 1289, "loc": { "start": { - "line": 1, - "column": 26 + "line": 54, + "column": 59 }, "end": { - "line": 1, - "column": 27 + "line": 54, + "column": 60 } } }, @@ -1134,23 +5235,50 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 28, - "end": 32, + "value": "territory", + "start": 1296, + "end": 1305, "loc": { "start": { - "line": 1, - "column": 28 + "line": 55, + "column": 6 }, "end": { - "line": 1, - "column": 32 + "line": 55, + "column": 15 } } }, { "type": { - "label": "string", + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1305, + "end": 1306, + "loc": { + "start": { + "line": 55, + "column": 15 + }, + "end": { + "line": 55, + "column": 16 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1161,24 +5289,23 @@ "binop": null, "updateContext": null }, - "value": "../Endpoint", - "start": 33, - "end": 46, + "value": "this", + "start": 1307, + "end": 1311, "loc": { "start": { - "line": 1, - "column": 33 + "line": 55, + "column": 17 }, "end": { - "line": 1, - "column": 46 + "line": 55, + "column": 21 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1189,17 +5316,16 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 47, - "end": 53, + "start": 1311, + "end": 1312, "loc": { "start": { - "line": 2, - "column": 0 + "line": 55, + "column": 21 }, "end": { - "line": 2, - "column": 6 + "line": 55, + "column": 22 } } }, @@ -1215,25 +5341,25 @@ "postfix": false, "binop": null }, - "value": "Fetcher", - "start": 54, - "end": 61, + "value": "territory", + "start": 1312, + "end": 1321, "loc": { "start": { - "line": 2, - "column": 7 + "line": 55, + "column": 22 }, "end": { - "line": 2, - "column": 14 + "line": 55, + "column": 31 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1241,67 +5367,73 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 62, - "end": 66, + "start": 1326, + "end": 1327, "loc": { "start": { - "line": 2, - "column": 15 + "line": 56, + "column": 4 }, "end": { - "line": 2, - "column": 19 + "line": 56, + "column": 5 } } }, { "type": { - "label": "string", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./Fetcher", - "start": 67, - "end": 78, + "start": 1327, + "end": 1328, "loc": { "start": { - "line": 2, - "column": 20 + "line": 56, + "column": 5 }, "end": { - "line": 2, - "column": 31 + "line": 56, + "column": 6 } } }, { - "type": "CommentBlock", - "value": "*\n * The fetcher that can fetch chart playlists.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/charts\n ", - "start": 80, - "end": 201, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1328, + "end": 1329, "loc": { "start": { - "line": 4, - "column": 0 + "line": 56, + "column": 6 }, "end": { - "line": 7, - "column": 3 + "line": 56, + "column": 7 } } }, { "type": { - "label": "export", - "keyword": "export", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1309,76 +5441,85 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "export", - "start": 202, - "end": 208, + "start": 1332, + "end": 1333, + "loc": { + "start": { + "line": 57, + "column": 2 + }, + "end": { + "line": 57, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Fetch tracks of the playlist with the chart fetcher you init. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.chartFetcher.setPlaylistID('4mJSYXvueA8t0odsny').fetchTracks();\n * @see https://docs-en.kkbox.codes/v1.1/reference#charts-playlist_id-tracks\n ", + "start": 1337, + "end": 1745, "loc": { "start": { - "line": 8, - "column": 0 + "line": 59, + "column": 2 }, "end": { - "line": 8, - "column": 6 + "line": 67, + "column": 5 } } }, { "type": { - "label": "default", - "keyword": "default", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "default", - "start": 209, - "end": 216, + "value": "fetchTracks", + "start": 1748, + "end": 1759, "loc": { "start": { - "line": 8, - "column": 7 + "line": 68, + "column": 2 }, "end": { - "line": 8, - "column": 14 + "line": 68, + "column": 13 } } }, { "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "class", - "start": 217, - "end": 222, + "start": 1759, + "end": 1760, "loc": { "start": { - "line": 8, - "column": 15 + "line": 68, + "column": 13 }, "end": { - "line": 8, - "column": 20 + "line": 68, + "column": 14 } } }, @@ -1394,45 +5535,44 @@ "postfix": false, "binop": null }, - "value": "ChartFetcher", - "start": 223, - "end": 235, + "value": "limit", + "start": 1760, + "end": 1765, "loc": { "start": { - "line": 8, - "column": 21 + "line": 68, + "column": 14 }, "end": { - "line": 8, - "column": 33 + "line": 68, + "column": 19 } } }, { "type": { - "label": "extends", - "keyword": "extends", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "extends", - "start": 236, - "end": 243, + "value": "=", + "start": 1766, + "end": 1767, "loc": { "start": { - "line": 8, - "column": 34 + "line": 68, + "column": 20 }, "end": { - "line": 8, - "column": 41 + "line": 68, + "column": 21 } } }, @@ -1448,58 +5588,43 @@ "postfix": false, "binop": null }, - "value": "Fetcher", - "start": 244, - "end": 251, + "value": "undefined", + "start": 1768, + "end": 1777, "loc": { "start": { - "line": 8, - "column": 42 + "line": 68, + "column": 22 }, "end": { - "line": 8, - "column": 49 + "line": 68, + "column": 31 } } }, { "type": { - "label": "{", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 252, - "end": 253, - "loc": { - "start": { - "line": 8, - "column": 50 - }, - "end": { - "line": 8, - "column": 51 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 258, - "end": 284, + "start": 1777, + "end": 1778, "loc": { "start": { - "line": 9, - "column": 4 + "line": 68, + "column": 31 }, "end": { - "line": 11, - "column": 7 + "line": 68, + "column": 32 } } }, @@ -1515,42 +5640,44 @@ "postfix": false, "binop": null }, - "value": "constructor", - "start": 289, - "end": 300, + "value": "offset", + "start": 1779, + "end": 1785, "loc": { "start": { - "line": 12, - "column": 4 + "line": 68, + "column": 33 }, "end": { - "line": 12, - "column": 15 + "line": 68, + "column": 39 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 300, - "end": 301, + "value": "=", + "start": 1786, + "end": 1787, "loc": { "start": { - "line": 12, - "column": 15 + "line": 68, + "column": 40 }, "end": { - "line": 12, - "column": 16 + "line": 68, + "column": 41 } } }, @@ -1566,50 +5693,49 @@ "postfix": false, "binop": null }, - "value": "http", - "start": 301, - "end": 305, + "value": "undefined", + "start": 1788, + "end": 1797, "loc": { "start": { - "line": 12, - "column": 16 + "line": 68, + "column": 42 }, "end": { - "line": 12, - "column": 20 + "line": 68, + "column": 51 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 305, - "end": 306, + "start": 1797, + "end": 1798, "loc": { "start": { - "line": 12, - "column": 20 + "line": 68, + "column": 51 }, "end": { - "line": 12, - "column": 21 + "line": 68, + "column": 52 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1618,50 +5744,51 @@ "postfix": false, "binop": null }, - "value": "territory", - "start": 307, - "end": 316, + "start": 1799, + "end": 1800, "loc": { "start": { - "line": 12, - "column": 22 + "line": 68, + "column": 53 }, "end": { - "line": 12, - "column": 31 + "line": 68, + "column": 54 } } }, { "type": { - "label": "=", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 317, - "end": 318, + "value": "return", + "start": 1805, + "end": 1811, "loc": { "start": { - "line": 12, - "column": 32 + "line": 69, + "column": 4 }, "end": { - "line": 12, - "column": 33 + "line": 69, + "column": 10 } } }, { "type": { - "label": "string", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1672,23 +5799,23 @@ "binop": null, "updateContext": null }, - "value": "TW", - "start": 319, - "end": 323, + "value": "this", + "start": 1812, + "end": 1816, "loc": { "start": { - "line": 12, - "column": 34 + "line": 69, + "column": 11 }, "end": { - "line": 12, - "column": 38 + "line": 69, + "column": 15 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1696,25 +5823,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 323, - "end": 324, + "start": 1816, + "end": 1817, "loc": { "start": { - "line": 12, - "column": 38 + "line": 69, + "column": 15 }, "end": { - "line": 12, - "column": 39 + "line": 69, + "column": 16 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1723,25 +5851,25 @@ "postfix": false, "binop": null }, - "start": 325, - "end": 326, + "value": "http", + "start": 1817, + "end": 1821, "loc": { "start": { - "line": 12, - "column": 40 + "line": 69, + "column": 16 }, "end": { - "line": 12, - "column": 41 + "line": 69, + "column": 20 } } }, { "type": { - "label": "super", - "keyword": "super", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1750,17 +5878,42 @@ "binop": null, "updateContext": null }, - "value": "super", - "start": 335, - "end": 340, + "start": 1821, + "end": 1822, "loc": { "start": { - "line": 13, - "column": 8 + "line": 69, + "column": 20 }, "end": { - "line": 13, - "column": 13 + "line": 69, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 1822, + "end": 1825, + "loc": { + "start": { + "line": 69, + "column": 21 + }, + "end": { + "line": 69, + "column": 24 } } }, @@ -1776,16 +5929,16 @@ "postfix": false, "binop": null }, - "start": 340, - "end": 341, + "start": 1825, + "end": 1826, "loc": { "start": { - "line": 13, - "column": 13 + "line": 69, + "column": 24 }, "end": { - "line": 13, - "column": 14 + "line": 69, + "column": 25 } } }, @@ -1801,49 +5954,50 @@ "postfix": false, "binop": null }, - "value": "http", - "start": 341, - "end": 345, + "value": "ENDPOINT", + "start": 1826, + "end": 1834, "loc": { "start": { - "line": 13, - "column": 14 + "line": 69, + "column": 25 }, "end": { - "line": 13, - "column": 18 + "line": 69, + "column": 33 } } }, { "type": { - "label": ",", + "label": "+/-", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "start": 345, - "end": 346, + "value": "+", + "start": 1835, + "end": 1836, "loc": { "start": { - "line": 13, - "column": 18 + "line": 69, + "column": 34 }, "end": { - "line": 13, - "column": 19 + "line": 69, + "column": 35 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1851,52 +6005,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "territory", - "start": 347, - "end": 356, + "value": "/", + "start": 1837, + "end": 1840, "loc": { "start": { - "line": 13, - "column": 20 + "line": 69, + "column": 36 }, "end": { - "line": 13, - "column": 29 + "line": 69, + "column": 39 } } }, { "type": { - "label": "=", + "label": "+/-", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, - "prefix": false, + "isAssign": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "value": "=", - "start": 357, - "end": 358, + "value": "+", + "start": 1841, + "end": 1842, "loc": { "start": { - "line": 13, - "column": 30 + "line": 69, + "column": 40 }, "end": { - "line": 13, - "column": 31 + "line": 69, + "column": 41 } } }, { "type": { - "label": "string", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1907,23 +6063,23 @@ "binop": null, "updateContext": null }, - "value": "TW", - "start": 359, - "end": 363, + "value": "this", + "start": 1843, + "end": 1847, "loc": { "start": { - "line": 13, - "column": 32 + "line": 69, + "column": 42 }, "end": { - "line": 13, - "column": 36 + "line": 69, + "column": 46 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1931,26 +6087,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 363, - "end": 364, + "start": 1847, + "end": 1848, "loc": { "start": { - "line": 13, - "column": 36 + "line": 69, + "column": 46 }, "end": { - "line": 13, - "column": 37 + "line": 69, + "column": 47 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1958,38 +6115,50 @@ "postfix": false, "binop": null }, - "start": 369, - "end": 370, + "value": "playlistID", + "start": 1848, + "end": 1858, "loc": { "start": { - "line": 14, - "column": 4 + "line": 69, + "column": 47 }, "end": { - "line": 14, - "column": 5 + "line": 69, + "column": 57 } } }, { - "type": "CommentBlock", - "value": "*\n * Fetch chart playlists.\n *\n * @return {Promise}\n * @example api.chartFetcher.fetchCharts()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/charts/endpoints/get-charts\n ", - "start": 376, - "end": 588, + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 1859, + "end": 1860, "loc": { "start": { - "line": 16, - "column": 4 + "line": 69, + "column": 58 }, "end": { - "line": 22, - "column": 7 + "line": 69, + "column": 59 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1997,52 +6166,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "fetchCharts", - "start": 593, - "end": 604, + "value": "/tracks", + "start": 1861, + "end": 1870, "loc": { "start": { - "line": 23, - "column": 4 + "line": 69, + "column": 60 }, "end": { - "line": 23, - "column": 15 + "line": 69, + "column": 69 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 604, - "end": 605, + "start": 1870, + "end": 1871, "loc": { "start": { - "line": 23, - "column": 15 + "line": 69, + "column": 69 }, "end": { - "line": 23, - "column": 16 + "line": 69, + "column": 70 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2050,23 +6221,23 @@ "postfix": false, "binop": null }, - "start": 605, - "end": 606, + "start": 1872, + "end": 1873, "loc": { "start": { - "line": 23, - "column": 16 + "line": 69, + "column": 71 }, "end": { - "line": 23, - "column": 17 + "line": 69, + "column": 72 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -2075,23 +6246,23 @@ "postfix": false, "binop": null }, - "start": 607, - "end": 608, + "value": "territory", + "start": 1880, + "end": 1889, "loc": { "start": { - "line": 23, - "column": 18 + "line": 70, + "column": 6 }, "end": { - "line": 23, - "column": 19 + "line": 70, + "column": 15 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -2102,17 +6273,16 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 617, - "end": 623, + "start": 1889, + "end": 1890, "loc": { "start": { - "line": 24, - "column": 8 + "line": 70, + "column": 15 }, "end": { - "line": 24, - "column": 14 + "line": 70, + "column": 16 } } }, @@ -2131,16 +6301,16 @@ "updateContext": null }, "value": "this", - "start": 624, - "end": 628, + "start": 1891, + "end": 1895, "loc": { "start": { - "line": 24, - "column": 15 + "line": 70, + "column": 17 }, "end": { - "line": 24, - "column": 19 + "line": 70, + "column": 21 } } }, @@ -2157,16 +6327,16 @@ "binop": null, "updateContext": null }, - "start": 628, - "end": 629, + "start": 1895, + "end": 1896, "loc": { "start": { - "line": 24, - "column": 19 + "line": 70, + "column": 21 }, "end": { - "line": 24, - "column": 20 + "line": 70, + "column": 22 } } }, @@ -2182,24 +6352,24 @@ "postfix": false, "binop": null }, - "value": "http", - "start": 629, - "end": 633, + "value": "territory", + "start": 1896, + "end": 1905, "loc": { "start": { - "line": 24, - "column": 20 + "line": 70, + "column": 22 }, "end": { - "line": 24, - "column": 24 + "line": 70, + "column": 31 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -2209,16 +6379,16 @@ "binop": null, "updateContext": null }, - "start": 633, - "end": 634, + "start": 1905, + "end": 1906, "loc": { "start": { - "line": 24, - "column": 24 + "line": 70, + "column": 31 }, "end": { - "line": 24, - "column": 25 + "line": 70, + "column": 32 } } }, @@ -2234,42 +6404,43 @@ "postfix": false, "binop": null }, - "value": "get", - "start": 634, - "end": 637, + "value": "limit", + "start": 1913, + "end": 1918, "loc": { "start": { - "line": 24, - "column": 25 + "line": 71, + "column": 6 }, "end": { - "line": 24, - "column": 28 + "line": 71, + "column": 11 } } }, { "type": { - "label": "(", + "label": ":", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 637, - "end": 638, + "start": 1918, + "end": 1919, "loc": { "start": { - "line": 24, - "column": 28 + "line": 71, + "column": 11 }, "end": { - "line": 24, - "column": 29 + "line": 71, + "column": 12 } } }, @@ -2285,17 +6456,17 @@ "postfix": false, "binop": null }, - "value": "ENDPOINT", - "start": 638, - "end": 646, + "value": "limit", + "start": 1920, + "end": 1925, "loc": { "start": { - "line": 24, - "column": 29 + "line": 71, + "column": 13 }, "end": { - "line": 24, - "column": 37 + "line": 71, + "column": 18 } } }, @@ -2312,41 +6483,16 @@ "binop": null, "updateContext": null }, - "start": 646, - "end": 647, - "loc": { - "start": { - "line": 24, - "column": 37 - }, - "end": { - "line": 24, - "column": 38 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 648, - "end": 649, + "start": 1925, + "end": 1926, "loc": { "start": { - "line": 24, - "column": 39 + "line": 71, + "column": 18 }, "end": { - "line": 24, - "column": 40 + "line": 71, + "column": 19 } } }, @@ -2362,17 +6508,17 @@ "postfix": false, "binop": null }, - "value": "territory", - "start": 662, - "end": 671, + "value": "offset", + "start": 1933, + "end": 1939, "loc": { "start": { - "line": 25, - "column": 12 + "line": 72, + "column": 6 }, "end": { - "line": 25, - "column": 21 + "line": 72, + "column": 12 } } }, @@ -2389,23 +6535,22 @@ "binop": null, "updateContext": null }, - "start": 671, - "end": 672, + "start": 1939, + "end": 1940, "loc": { "start": { - "line": 25, - "column": 21 + "line": 72, + "column": 12 }, "end": { - "line": 25, - "column": 22 + "line": 72, + "column": 13 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2413,26 +6558,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 673, - "end": 677, + "value": "offset", + "start": 1941, + "end": 1947, "loc": { "start": { - "line": 25, - "column": 23 + "line": 72, + "column": 14 }, "end": { - "line": 25, - "column": 27 + "line": 72, + "column": 20 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -2440,51 +6584,24 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 677, - "end": 678, - "loc": { - "start": { - "line": 25, - "column": 27 - }, - "end": { - "line": 25, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null }, - "value": "territory", - "start": 678, - "end": 687, + "start": 1952, + "end": 1953, "loc": { "start": { - "line": 25, - "column": 28 + "line": 73, + "column": 4 }, "end": { - "line": 25, - "column": 37 + "line": 73, + "column": 5 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -2494,41 +6611,42 @@ "postfix": false, "binop": null }, - "start": 696, - "end": 697, + "start": 1953, + "end": 1954, "loc": { "start": { - "line": 26, - "column": 8 + "line": 73, + "column": 5 }, "end": { - "line": 26, - "column": 9 + "line": 73, + "column": 6 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 697, - "end": 698, + "start": 1954, + "end": 1955, "loc": { "start": { - "line": 26, - "column": 9 + "line": 73, + "column": 6 }, "end": { - "line": 26, - "column": 10 + "line": 73, + "column": 7 } } }, @@ -2544,16 +6662,16 @@ "postfix": false, "binop": null }, - "start": 703, - "end": 704, + "start": 1958, + "end": 1959, "loc": { "start": { - "line": 27, - "column": 4 + "line": 74, + "column": 2 }, "end": { - "line": 27, - "column": 5 + "line": 74, + "column": 3 } } }, @@ -2569,15 +6687,15 @@ "postfix": false, "binop": null }, - "start": 705, - "end": 706, + "start": 1960, + "end": 1961, "loc": { "start": { - "line": 28, + "line": 75, "column": 0 }, "end": { - "line": 28, + "line": 75, "column": 1 } } @@ -2595,16 +6713,16 @@ "binop": null, "updateContext": null }, - "start": 706, - "end": 706, + "start": 1962, + "end": 1962, "loc": { "start": { - "line": 28, - "column": 1 + "line": 76, + "column": 0 }, "end": { - "line": 28, - "column": 1 + "line": 76, + "column": 0 } } } diff --git a/docs/ast/source/api/FeaturedPlaylistCategoryFetcher.js.json b/docs/ast/source/api/FeaturedPlaylistCategoryFetcher.js.json index 30a70a2..0f6076b 100644 --- a/docs/ast/source/api/FeaturedPlaylistCategoryFetcher.js.json +++ b/docs/ast/source/api/FeaturedPlaylistCategoryFetcher.js.json @@ -1,29 +1,29 @@ { "type": "File", "start": 0, - "end": 2628, + "end": 2286, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 71, - "column": 1 + "line": 76, + "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 2628, + "end": 2286, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 71, - "column": 1 + "line": 76, + "column": 0 } }, "sourceType": "module", @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 69, + "end": 72, "loc": { "start": { "line": 1, @@ -39,36 +39,36 @@ }, "end": { "line": 1, - "column": 69 + "column": 72 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 8, - "end": 49, + "start": 9, + "end": 50, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 49 + "column": 50 } }, "imported": { "type": "Identifier", - "start": 8, - "end": 37, + "start": 9, + "end": 38, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 37 + "column": 38 }, "identifierName": "FEATURED_PLAYLISTS_CATEGORIES" }, @@ -76,16 +76,16 @@ }, "local": { "type": "Identifier", - "start": 41, - "end": 49, + "start": 42, + "end": 50, "loc": { "start": { "line": 1, - "column": 41 + "column": 42 }, "end": { "line": 1, - "column": 49 + "column": 50 }, "identifierName": "ENDPOINT" }, @@ -95,16 +95,16 @@ ], "source": { "type": "StringLiteral", - "start": 56, - "end": 69, + "start": 58, + "end": 71, "loc": { "start": { "line": 1, - "column": 56 + "column": 58 }, "end": { "line": 1, - "column": 69 + "column": 71 } }, "extra": { @@ -116,8 +116,8 @@ }, { "type": "ImportDeclaration", - "start": 70, - "end": 101, + "start": 73, + "end": 105, "loc": { "start": { "line": 2, @@ -125,14 +125,14 @@ }, "end": { "line": 2, - "column": 31 + "column": 32 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 77, - "end": 84, + "start": 80, + "end": 87, "loc": { "start": { "line": 2, @@ -145,8 +145,8 @@ }, "local": { "type": "Identifier", - "start": 77, - "end": 84, + "start": 80, + "end": 87, "loc": { "start": { "line": 2, @@ -164,8 +164,8 @@ ], "source": { "type": "StringLiteral", - "start": 90, - "end": 101, + "start": 93, + "end": 104, "loc": { "start": { "line": 2, @@ -180,16 +180,14 @@ "rawValue": "./Fetcher", "raw": "'./Fetcher'" }, - "value": "./Fetcher", - "leadingComments": null, - "trailingComments": null + "value": "./Fetcher" }, "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * List featured playlist categories.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories\n ", - "start": 103, - "end": 238, + "value": "*\n * List featured playlist categories.\n * @see https://docs-en.kkbox.codes/v1.1/reference#featured-playlist-categories\n ", + "start": 107, + "end": 232, "loc": { "start": { "line": 4, @@ -205,36 +203,36 @@ }, { "type": "ExportDefaultDeclaration", - "start": 239, - "end": 2628, + "start": 233, + "end": 2285, "loc": { "start": { "line": 8, "column": 0 }, "end": { - "line": 71, + "line": 75, "column": 1 } }, "declaration": { "type": "ClassDeclaration", - "start": 254, - "end": 2628, + "start": 248, + "end": 2285, "loc": { "start": { "line": 8, "column": 15 }, "end": { - "line": 71, + "line": 75, "column": 1 } }, "id": { "type": "Identifier", - "start": 260, - "end": 291, + "start": 254, + "end": 285, "loc": { "start": { "line": 8, @@ -251,8 +249,8 @@ }, "superClass": { "type": "Identifier", - "start": 300, - "end": 307, + "start": 294, + "end": 301, "loc": { "start": { "line": 8, @@ -268,53 +266,53 @@ }, "body": { "type": "ClassBody", - "start": 308, - "end": 2628, + "start": 302, + "end": 2285, "loc": { "start": { "line": 8, "column": 69 }, "end": { - "line": 71, + "line": 75, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 345, - "end": 500, + "start": 331, + "end": 465, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 19, - "column": 5 + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 345, - "end": 356, + "start": 331, + "end": 342, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 12, - "column": 15 + "column": 13 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, - "static": false, "kind": "constructor", "id": null, "generator": false, @@ -323,16 +321,16 @@ "params": [ { "type": "Identifier", - "start": 357, - "end": 361, + "start": 343, + "end": 347, "loc": { "start": { "line": 12, - "column": 16 + "column": 14 }, "end": { "line": 12, - "column": 20 + "column": 18 }, "identifierName": "http" }, @@ -340,30 +338,30 @@ }, { "type": "AssignmentPattern", - "start": 363, - "end": 379, + "start": 349, + "end": 365, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 38 + "column": 36 } }, "left": { "type": "Identifier", - "start": 363, - "end": 372, + "start": 349, + "end": 358, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 31 + "column": 29 }, "identifierName": "territory" }, @@ -371,16 +369,16 @@ }, "right": { "type": "StringLiteral", - "start": 375, - "end": 379, + "start": 361, + "end": 365, "loc": { "start": { "line": 12, - "column": 34 + "column": 32 }, "end": { "line": 12, - "column": 38 + "column": 36 } }, "extra": { @@ -393,75 +391,75 @@ ], "body": { "type": "BlockStatement", - "start": 381, - "end": 500, + "start": 367, + "end": 465, "loc": { "start": { "line": 12, - "column": 40 + "column": 38 }, "end": { "line": 19, - "column": 5 + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 391, - "end": 413, + "start": 373, + "end": 396, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 30 + "column": 27 } }, "expression": { "type": "CallExpression", - "start": 391, - "end": 413, + "start": 373, + "end": 395, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 30 + "column": 26 } }, "callee": { "type": "Super", - "start": 391, - "end": 396, + "start": 373, + "end": 378, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 13 + "column": 9 } } }, "arguments": [ { "type": "Identifier", - "start": 397, - "end": 401, + "start": 379, + "end": 383, "loc": { "start": { "line": 13, - "column": 14 + "column": 10 }, "end": { "line": 13, - "column": 18 + "column": 14 }, "identifierName": "http" }, @@ -469,38 +467,37 @@ }, { "type": "Identifier", - "start": 403, - "end": 412, + "start": 385, + "end": 394, "loc": { "start": { "line": 13, - "column": 20 + "column": 16 }, "end": { "line": 13, - "column": 29 + "column": 25 }, "identifierName": "territory" }, "name": "territory" } - ], - "trailingComments": null + ] }, "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 423, - "end": 457, + "value": "*\n * @ignore\n ", + "start": 402, + "end": 428, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } } @@ -508,95 +505,95 @@ }, { "type": "ExpressionStatement", - "start": 466, - "end": 494, + "start": 433, + "end": 461, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 36 + "column": 32 } }, "expression": { "type": "AssignmentExpression", - "start": 466, - "end": 494, + "start": 433, + "end": 460, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 36 + "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 466, - "end": 482, + "start": 433, + "end": 448, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 24 + "column": 19 } }, "object": { "type": "ThisExpression", - "start": 466, - "end": 470, + "start": 433, + "end": 437, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 12 + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 471, - "end": 482, + "start": 438, + "end": 448, "loc": { "start": { "line": 18, - "column": 13 + "column": 9 }, "end": { "line": 18, - "column": 24 + "column": 19 }, - "identifierName": "category_id" + "identifierName": "categoryID" }, - "name": "category_id" + "name": "categoryID" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", - "start": 485, - "end": 494, + "start": 451, + "end": 460, "loc": { "start": { "line": 18, - "column": 27 + "column": 22 }, "end": { "line": 18, - "column": 36 + "column": 31 }, "identifierName": "undefined" }, @@ -607,17 +604,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 423, - "end": 457, + "value": "*\n * @ignore\n ", + "start": 402, + "end": 428, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } } @@ -630,17 +627,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 314, - "end": 340, + "value": "*\n * @ignore\n ", + "start": 306, + "end": 328, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } } @@ -648,17 +645,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch all featured playlist categories.\n *\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.fetchAllFeaturedPlaylistCategories()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories\n ", - "start": 506, - "end": 822, + "value": "*\n * Fetch all featured playlist categories.\n *\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.fetchAllFeaturedPlaylistCategories();\n * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories\n ", + "start": 469, + "end": 719, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 27, - "column": 7 + "column": 5 } } } @@ -666,38 +663,38 @@ }, { "type": "ClassMethod", - "start": 827, - "end": 939, + "start": 722, + "end": 841, "loc": { "start": { "line": 28, - "column": 4 + "column": 2 }, "end": { - "line": 30, - "column": 5 + "line": 32, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 827, - "end": 861, + "start": 722, + "end": 756, "loc": { "start": { "line": 28, - "column": 4 + "column": 2 }, "end": { "line": 28, - "column": 38 + "column": 36 }, "identifierName": "fetchAllFeaturedPlaylistCategories" }, "name": "fetchAllFeaturedPlaylistCategories", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -706,102 +703,102 @@ "params": [], "body": { "type": "BlockStatement", - "start": 864, - "end": 939, + "start": 759, + "end": 841, "loc": { "start": { "line": 28, - "column": 41 + "column": 39 }, "end": { - "line": 30, - "column": 5 + "line": 32, + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 874, - "end": 933, + "start": 765, + "end": 837, "loc": { "start": { "line": 29, - "column": 8 + "column": 4 }, "end": { - "line": 29, - "column": 67 + "line": 31, + "column": 7 } }, "argument": { "type": "CallExpression", - "start": 881, - "end": 933, + "start": 772, + "end": 836, "loc": { "start": { "line": 29, - "column": 15 + "column": 11 }, "end": { - "line": 29, - "column": 67 + "line": 31, + "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 881, - "end": 894, + "start": 772, + "end": 785, "loc": { "start": { "line": 29, - "column": 15 + "column": 11 }, "end": { "line": 29, - "column": 28 + "column": 24 } }, "object": { "type": "MemberExpression", - "start": 881, - "end": 890, + "start": 772, + "end": 781, "loc": { "start": { "line": 29, - "column": 15 + "column": 11 }, "end": { "line": 29, - "column": 24 + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 881, - "end": 885, + "start": 772, + "end": 776, "loc": { "start": { "line": 29, - "column": 15 + "column": 11 }, "end": { "line": 29, - "column": 19 + "column": 15 } } }, "property": { "type": "Identifier", - "start": 886, - "end": 890, + "start": 777, + "end": 781, "loc": { "start": { "line": 29, - "column": 20 + "column": 16 }, "end": { "line": 29, - "column": 24 + "column": 20 }, "identifierName": "http" }, @@ -811,16 +808,16 @@ }, "property": { "type": "Identifier", - "start": 891, - "end": 894, + "start": 782, + "end": 785, "loc": { "start": { "line": 29, - "column": 25 + "column": 21 }, "end": { "line": 29, - "column": 28 + "column": 24 }, "identifierName": "get" }, @@ -831,16 +828,16 @@ "arguments": [ { "type": "Identifier", - "start": 895, - "end": 903, + "start": 786, + "end": 794, "loc": { "start": { "line": 29, - "column": 29 + "column": 25 }, "end": { "line": 29, - "column": 37 + "column": 33 }, "identifierName": "ENDPOINT" }, @@ -848,31 +845,31 @@ }, { "type": "ObjectExpression", - "start": 905, - "end": 932, + "start": 796, + "end": 835, "loc": { "start": { "line": 29, - "column": 39 + "column": 35 }, "end": { - "line": 29, - "column": 66 + "line": 31, + "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 906, - "end": 931, + "start": 804, + "end": 829, "loc": { "start": { - "line": 29, - "column": 40 + "line": 30, + "column": 6 }, "end": { - "line": 29, - "column": 65 + "line": 30, + "column": 31 } }, "method": false, @@ -880,16 +877,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 906, - "end": 915, + "start": 804, + "end": 813, "loc": { "start": { - "line": 29, - "column": 40 + "line": 30, + "column": 6 }, "end": { - "line": 29, - "column": 49 + "line": 30, + "column": 15 }, "identifierName": "territory" }, @@ -897,45 +894,45 @@ }, "value": { "type": "MemberExpression", - "start": 917, - "end": 931, + "start": 815, + "end": 829, "loc": { "start": { - "line": 29, - "column": 51 + "line": 30, + "column": 17 }, "end": { - "line": 29, - "column": 65 + "line": 30, + "column": 31 } }, "object": { "type": "ThisExpression", - "start": 917, - "end": 921, + "start": 815, + "end": 819, "loc": { "start": { - "line": 29, - "column": 51 + "line": 30, + "column": 17 }, "end": { - "line": 29, - "column": 55 + "line": 30, + "column": 21 } } }, "property": { "type": "Identifier", - "start": 922, - "end": 931, + "start": 820, + "end": 829, "loc": { "start": { - "line": 29, - "column": 56 + "line": 30, + "column": 22 }, "end": { - "line": 29, - "column": 65 + "line": 30, + "column": 31 }, "identifierName": "territory" }, @@ -956,17 +953,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch all featured playlist categories.\n *\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.fetchAllFeaturedPlaylistCategories()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories\n ", - "start": 506, - "end": 822, + "value": "*\n * Fetch all featured playlist categories.\n *\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.fetchAllFeaturedPlaylistCategories();\n * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories\n ", + "start": 469, + "end": 719, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 27, - "column": 7 + "column": 5 } } } @@ -974,17 +971,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Init the featured playlist category fetcher.\n *\n * @param {string} category_id - The category ID.\n * @return {FeaturedPlaylistCategoryFetcher}\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories-category_id\n ", - "start": 945, - "end": 1267, + "value": "*\n * Init the featured playlist category fetcher.\n *\n * @param {string} categoryID - The category ID.\n * @return {FeaturedPlaylistCategoryFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories-category_id\n ", + "start": 845, + "end": 1099, "loc": { "start": { - "line": 32, - "column": 4 + "line": 34, + "column": 2 }, "end": { - "line": 38, - "column": 7 + "line": 40, + "column": 5 } } } @@ -992,38 +989,38 @@ }, { "type": "ClassMethod", - "start": 1272, - "end": 1373, + "start": 1102, + "end": 1184, "loc": { "start": { - "line": 39, - "column": 4 + "line": 41, + "column": 2 }, "end": { - "line": 42, - "column": 5 + "line": 44, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 1272, - "end": 1285, + "start": 1102, + "end": 1115, "loc": { "start": { - "line": 39, - "column": 4 + "line": 41, + "column": 2 }, "end": { - "line": 39, - "column": 17 + "line": 41, + "column": 15 }, "identifierName": "setCategoryID" }, "name": "setCategoryID", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -1032,159 +1029,159 @@ "params": [ { "type": "Identifier", - "start": 1286, - "end": 1297, + "start": 1116, + "end": 1126, "loc": { "start": { - "line": 39, - "column": 18 + "line": 41, + "column": 16 }, "end": { - "line": 39, - "column": 29 + "line": 41, + "column": 26 }, - "identifierName": "category_id" + "identifierName": "categoryID" }, - "name": "category_id" + "name": "categoryID" } ], "body": { "type": "BlockStatement", - "start": 1299, - "end": 1373, + "start": 1128, + "end": 1184, "loc": { "start": { - "line": 39, - "column": 31 + "line": 41, + "column": 28 }, "end": { - "line": 42, - "column": 5 + "line": 44, + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 1309, - "end": 1339, + "start": 1134, + "end": 1163, "loc": { "start": { - "line": 40, - "column": 8 + "line": 42, + "column": 4 }, "end": { - "line": 40, - "column": 38 + "line": 42, + "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 1309, - "end": 1339, + "start": 1134, + "end": 1162, "loc": { "start": { - "line": 40, - "column": 8 + "line": 42, + "column": 4 }, "end": { - "line": 40, - "column": 38 + "line": 42, + "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1309, - "end": 1325, + "start": 1134, + "end": 1149, "loc": { "start": { - "line": 40, - "column": 8 + "line": 42, + "column": 4 }, "end": { - "line": 40, - "column": 24 + "line": 42, + "column": 19 } }, "object": { "type": "ThisExpression", - "start": 1309, - "end": 1313, + "start": 1134, + "end": 1138, "loc": { "start": { - "line": 40, - "column": 8 + "line": 42, + "column": 4 }, "end": { - "line": 40, - "column": 12 + "line": 42, + "column": 8 } } }, "property": { "type": "Identifier", - "start": 1314, - "end": 1325, + "start": 1139, + "end": 1149, "loc": { "start": { - "line": 40, - "column": 13 + "line": 42, + "column": 9 }, "end": { - "line": 40, - "column": 24 + "line": 42, + "column": 19 }, - "identifierName": "category_id" + "identifierName": "categoryID" }, - "name": "category_id" + "name": "categoryID" }, "computed": false }, "right": { "type": "Identifier", - "start": 1328, - "end": 1339, + "start": 1152, + "end": 1162, "loc": { "start": { - "line": 40, - "column": 27 + "line": 42, + "column": 22 }, "end": { - "line": 40, - "column": 38 + "line": 42, + "column": 32 }, - "identifierName": "category_id" + "identifierName": "categoryID" }, - "name": "category_id" + "name": "categoryID" } } }, { "type": "ReturnStatement", - "start": 1356, - "end": 1367, + "start": 1168, + "end": 1180, "loc": { "start": { - "line": 41, - "column": 8 + "line": 43, + "column": 4 }, "end": { - "line": 41, - "column": 19 + "line": 43, + "column": 16 } }, "argument": { "type": "ThisExpression", - "start": 1363, - "end": 1367, + "start": 1175, + "end": 1179, "loc": { "start": { - "line": 41, - "column": 15 + "line": 43, + "column": 11 }, "end": { - "line": 41, - "column": 19 + "line": 43, + "column": 15 } } } @@ -1196,17 +1193,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Init the featured playlist category fetcher.\n *\n * @param {string} category_id - The category ID.\n * @return {FeaturedPlaylistCategoryFetcher}\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories-category_id\n ", - "start": 945, - "end": 1267, + "value": "*\n * Init the featured playlist category fetcher.\n *\n * @param {string} categoryID - The category ID.\n * @return {FeaturedPlaylistCategoryFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories-category_id\n ", + "start": 845, + "end": 1099, "loc": { "start": { - "line": 32, - "column": 4 + "line": 34, + "column": 2 }, "end": { - "line": 38, - "column": 7 + "line": 40, + "column": 5 } } } @@ -1214,17 +1211,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch metadata of the category you init.\n *\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories-category_id\n ", - "start": 1379, - "end": 1723, + "value": "*\n * Fetch metadata of the category you init.\n *\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories-category_id\n ", + "start": 1188, + "end": 1466, "loc": { "start": { - "line": 44, - "column": 4 + "line": 46, + "column": 2 }, "end": { - "line": 50, - "column": 7 + "line": 52, + "column": 5 } } } @@ -1232,38 +1229,38 @@ }, { "type": "ClassMethod", - "start": 1728, - "end": 1838, + "start": 1469, + "end": 1591, "loc": { "start": { - "line": 51, - "column": 4 + "line": 53, + "column": 2 }, "end": { - "line": 53, - "column": 5 + "line": 57, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 1728, - "end": 1741, + "start": 1469, + "end": 1482, "loc": { "start": { - "line": 51, - "column": 4 + "line": 53, + "column": 2 }, "end": { - "line": 51, - "column": 17 + "line": 53, + "column": 15 }, "identifierName": "fetchMetadata" }, "name": "fetchMetadata", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -1272,102 +1269,102 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1744, - "end": 1838, + "start": 1485, + "end": 1591, "loc": { "start": { - "line": 51, - "column": 20 + "line": 53, + "column": 18 }, "end": { - "line": 53, - "column": 5 + "line": 57, + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 1754, - "end": 1832, + "start": 1491, + "end": 1587, "loc": { "start": { - "line": 52, - "column": 8 + "line": 54, + "column": 4 }, "end": { - "line": 52, - "column": 86 + "line": 56, + "column": 7 } }, "argument": { "type": "CallExpression", - "start": 1761, - "end": 1832, + "start": 1498, + "end": 1586, "loc": { "start": { - "line": 52, - "column": 15 + "line": 54, + "column": 11 }, "end": { - "line": 52, - "column": 86 + "line": 56, + "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 1761, - "end": 1774, + "start": 1498, + "end": 1511, "loc": { "start": { - "line": 52, - "column": 15 + "line": 54, + "column": 11 }, "end": { - "line": 52, - "column": 28 + "line": 54, + "column": 24 } }, "object": { "type": "MemberExpression", - "start": 1761, - "end": 1770, + "start": 1498, + "end": 1507, "loc": { "start": { - "line": 52, - "column": 15 + "line": 54, + "column": 11 }, "end": { - "line": 52, - "column": 24 + "line": 54, + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 1761, - "end": 1765, + "start": 1498, + "end": 1502, "loc": { "start": { - "line": 52, - "column": 15 + "line": 54, + "column": 11 }, "end": { - "line": 52, - "column": 19 + "line": 54, + "column": 15 } } }, "property": { "type": "Identifier", - "start": 1766, - "end": 1770, + "start": 1503, + "end": 1507, "loc": { "start": { - "line": 52, - "column": 20 + "line": 54, + "column": 16 }, "end": { - "line": 52, - "column": 24 + "line": 54, + "column": 20 }, "identifierName": "http" }, @@ -1377,16 +1374,16 @@ }, "property": { "type": "Identifier", - "start": 1771, - "end": 1774, + "start": 1508, + "end": 1511, "loc": { "start": { - "line": 52, - "column": 25 + "line": 54, + "column": 21 }, "end": { - "line": 52, - "column": 28 + "line": 54, + "column": 24 }, "identifierName": "get" }, @@ -1397,112 +1394,148 @@ "arguments": [ { "type": "BinaryExpression", - "start": 1775, - "end": 1802, + "start": 1512, + "end": 1544, "loc": { "start": { - "line": 52, - "column": 29 + "line": 54, + "column": 25 }, "end": { - "line": 52, - "column": 56 + "line": 54, + "column": 57 } }, "left": { - "type": "Identifier", - "start": 1775, - "end": 1783, + "type": "BinaryExpression", + "start": 1512, + "end": 1526, "loc": { "start": { - "line": 52, - "column": 29 + "line": 54, + "column": 25 }, "end": { - "line": 52, - "column": 37 + "line": 54, + "column": 39 + } + }, + "left": { + "type": "Identifier", + "start": 1512, + "end": 1520, + "loc": { + "start": { + "line": 54, + "column": 25 + }, + "end": { + "line": 54, + "column": 33 + }, + "identifierName": "ENDPOINT" }, - "identifierName": "ENDPOINT" + "name": "ENDPOINT" }, - "name": "ENDPOINT" + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 1523, + "end": 1526, + "loc": { + "start": { + "line": 54, + "column": 36 + }, + "end": { + "line": 54, + "column": 39 + } + }, + "extra": { + "rawValue": "/", + "raw": "'/'" + }, + "value": "/" + } }, "operator": "+", "right": { "type": "MemberExpression", - "start": 1786, - "end": 1802, + "start": 1529, + "end": 1544, "loc": { "start": { - "line": 52, - "column": 40 + "line": 54, + "column": 42 }, "end": { - "line": 52, - "column": 56 + "line": 54, + "column": 57 } }, "object": { "type": "ThisExpression", - "start": 1786, - "end": 1790, + "start": 1529, + "end": 1533, "loc": { "start": { - "line": 52, - "column": 40 + "line": 54, + "column": 42 }, "end": { - "line": 52, - "column": 44 + "line": 54, + "column": 46 } } }, "property": { "type": "Identifier", - "start": 1791, - "end": 1802, + "start": 1534, + "end": 1544, "loc": { "start": { - "line": 52, - "column": 45 + "line": 54, + "column": 47 }, "end": { - "line": 52, - "column": 56 + "line": 54, + "column": 57 }, - "identifierName": "category_id" + "identifierName": "categoryID" }, - "name": "category_id" + "name": "categoryID" }, "computed": false } }, { "type": "ObjectExpression", - "start": 1804, - "end": 1831, + "start": 1546, + "end": 1585, "loc": { "start": { - "line": 52, - "column": 58 + "line": 54, + "column": 59 }, "end": { - "line": 52, - "column": 85 + "line": 56, + "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 1805, - "end": 1830, + "start": 1554, + "end": 1579, "loc": { "start": { - "line": 52, - "column": 59 + "line": 55, + "column": 6 }, "end": { - "line": 52, - "column": 84 + "line": 55, + "column": 31 } }, "method": false, @@ -1510,16 +1543,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 1805, - "end": 1814, + "start": 1554, + "end": 1563, "loc": { "start": { - "line": 52, - "column": 59 + "line": 55, + "column": 6 }, "end": { - "line": 52, - "column": 68 + "line": 55, + "column": 15 }, "identifierName": "territory" }, @@ -1527,45 +1560,45 @@ }, "value": { "type": "MemberExpression", - "start": 1816, - "end": 1830, + "start": 1565, + "end": 1579, "loc": { "start": { - "line": 52, - "column": 70 + "line": 55, + "column": 17 }, "end": { - "line": 52, - "column": 84 + "line": 55, + "column": 31 } }, "object": { "type": "ThisExpression", - "start": 1816, - "end": 1820, + "start": 1565, + "end": 1569, "loc": { "start": { - "line": 52, - "column": 70 + "line": 55, + "column": 17 }, "end": { - "line": 52, - "column": 74 + "line": 55, + "column": 21 } } }, "property": { "type": "Identifier", - "start": 1821, - "end": 1830, + "start": 1570, + "end": 1579, "loc": { "start": { - "line": 52, - "column": 75 + "line": 55, + "column": 22 }, "end": { - "line": 52, - "column": 84 + "line": 55, + "column": 31 }, "identifierName": "territory" }, @@ -1586,17 +1619,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch metadata of the category you init.\n *\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories-category_id\n ", - "start": 1379, - "end": 1723, + "value": "*\n * Fetch metadata of the category you init.\n *\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories-category_id\n ", + "start": 1188, + "end": 1466, "loc": { "start": { - "line": 44, - "column": 4 + "line": 46, + "column": 2 }, "end": { - "line": 50, - "column": 7 + "line": 52, + "column": 5 } } } @@ -1604,17 +1637,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch featured playlists of the category with the category fetcher you init. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchPlaylists()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories-category_id-playlists\n ", - "start": 1844, - "end": 2382, + "value": "*\n * Fetch featured playlists of the category with the category fetcher you init. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchPlaylists();\n * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories-category_id-playlists\n ", + "start": 1595, + "end": 2063, "loc": { "start": { - "line": 55, - "column": 4 + "line": 59, + "column": 2 }, "end": { - "line": 63, - "column": 7 + "line": 67, + "column": 5 } } } @@ -1622,38 +1655,38 @@ }, { "type": "ClassMethod", - "start": 2387, - "end": 2626, + "start": 2066, + "end": 2283, "loc": { "start": { - "line": 64, - "column": 4 + "line": 68, + "column": 2 }, "end": { - "line": 70, - "column": 5 + "line": 74, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 2387, - "end": 2401, + "start": 2066, + "end": 2080, "loc": { "start": { - "line": 64, - "column": 4 + "line": 68, + "column": 2 }, "end": { - "line": 64, - "column": 18 + "line": 68, + "column": 16 }, "identifierName": "fetchPlaylists" }, "name": "fetchPlaylists", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -1662,30 +1695,30 @@ "params": [ { "type": "AssignmentPattern", - "start": 2402, - "end": 2419, + "start": 2081, + "end": 2098, "loc": { "start": { - "line": 64, - "column": 19 + "line": 68, + "column": 17 }, "end": { - "line": 64, - "column": 36 + "line": 68, + "column": 34 } }, "left": { "type": "Identifier", - "start": 2402, - "end": 2407, + "start": 2081, + "end": 2086, "loc": { "start": { - "line": 64, - "column": 19 + "line": 68, + "column": 17 }, "end": { - "line": 64, - "column": 24 + "line": 68, + "column": 22 }, "identifierName": "limit" }, @@ -1693,16 +1726,16 @@ }, "right": { "type": "Identifier", - "start": 2410, - "end": 2419, + "start": 2089, + "end": 2098, "loc": { "start": { - "line": 64, - "column": 27 + "line": 68, + "column": 25 }, "end": { - "line": 64, - "column": 36 + "line": 68, + "column": 34 }, "identifierName": "undefined" }, @@ -1711,30 +1744,30 @@ }, { "type": "AssignmentPattern", - "start": 2421, - "end": 2439, + "start": 2100, + "end": 2118, "loc": { "start": { - "line": 64, - "column": 38 + "line": 68, + "column": 36 }, "end": { - "line": 64, - "column": 56 + "line": 68, + "column": 54 } }, "left": { "type": "Identifier", - "start": 2421, - "end": 2427, + "start": 2100, + "end": 2106, "loc": { "start": { - "line": 64, - "column": 38 + "line": 68, + "column": 36 }, "end": { - "line": 64, - "column": 44 + "line": 68, + "column": 42 }, "identifierName": "offset" }, @@ -1742,16 +1775,16 @@ }, "right": { "type": "Identifier", - "start": 2430, - "end": 2439, + "start": 2109, + "end": 2118, "loc": { "start": { - "line": 64, - "column": 47 + "line": 68, + "column": 45 }, "end": { - "line": 64, - "column": 56 + "line": 68, + "column": 54 }, "identifierName": "undefined" }, @@ -1761,102 +1794,102 @@ ], "body": { "type": "BlockStatement", - "start": 2441, - "end": 2626, + "start": 2120, + "end": 2283, "loc": { "start": { - "line": 64, - "column": 58 + "line": 68, + "column": 56 }, "end": { - "line": 70, - "column": 5 + "line": 74, + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 2451, - "end": 2620, + "start": 2126, + "end": 2279, "loc": { "start": { - "line": 65, - "column": 8 + "line": 69, + "column": 4 }, "end": { - "line": 69, - "column": 10 + "line": 73, + "column": 7 } }, "argument": { "type": "CallExpression", - "start": 2458, - "end": 2620, + "start": 2133, + "end": 2278, "loc": { "start": { - "line": 65, - "column": 15 + "line": 69, + "column": 11 }, "end": { - "line": 69, - "column": 10 + "line": 73, + "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 2458, - "end": 2471, + "start": 2133, + "end": 2146, "loc": { "start": { - "line": 65, - "column": 15 + "line": 69, + "column": 11 }, "end": { - "line": 65, - "column": 28 + "line": 69, + "column": 24 } }, "object": { "type": "MemberExpression", - "start": 2458, - "end": 2467, + "start": 2133, + "end": 2142, "loc": { "start": { - "line": 65, - "column": 15 + "line": 69, + "column": 11 }, "end": { - "line": 65, - "column": 24 + "line": 69, + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 2458, - "end": 2462, + "start": 2133, + "end": 2137, "loc": { "start": { - "line": 65, - "column": 15 + "line": 69, + "column": 11 }, "end": { - "line": 65, - "column": 19 + "line": 69, + "column": 15 } } }, "property": { "type": "Identifier", - "start": 2463, - "end": 2467, + "start": 2138, + "end": 2142, "loc": { "start": { - "line": 65, - "column": 20 + "line": 69, + "column": 16 }, "end": { - "line": 65, - "column": 24 + "line": 69, + "column": 20 }, "identifierName": "http" }, @@ -1866,16 +1899,16 @@ }, "property": { "type": "Identifier", - "start": 2468, - "end": 2471, + "start": 2143, + "end": 2146, "loc": { "start": { - "line": 65, - "column": 25 + "line": 69, + "column": 21 }, "end": { - "line": 65, - "column": 28 + "line": 69, + "column": 24 }, "identifierName": "get" }, @@ -1886,95 +1919,131 @@ "arguments": [ { "type": "BinaryExpression", - "start": 2472, - "end": 2514, + "start": 2147, + "end": 2194, "loc": { "start": { - "line": 65, - "column": 29 + "line": 69, + "column": 25 }, "end": { - "line": 65, - "column": 71 + "line": 69, + "column": 72 } }, "left": { "type": "BinaryExpression", - "start": 2472, - "end": 2499, + "start": 2147, + "end": 2179, "loc": { "start": { - "line": 65, - "column": 29 + "line": 69, + "column": 25 }, "end": { - "line": 65, - "column": 56 + "line": 69, + "column": 57 } }, "left": { - "type": "Identifier", - "start": 2472, - "end": 2480, + "type": "BinaryExpression", + "start": 2147, + "end": 2161, "loc": { "start": { - "line": 65, - "column": 29 + "line": 69, + "column": 25 }, "end": { - "line": 65, - "column": 37 + "line": 69, + "column": 39 + } + }, + "left": { + "type": "Identifier", + "start": 2147, + "end": 2155, + "loc": { + "start": { + "line": 69, + "column": 25 + }, + "end": { + "line": 69, + "column": 33 + }, + "identifierName": "ENDPOINT" }, - "identifierName": "ENDPOINT" + "name": "ENDPOINT" }, - "name": "ENDPOINT" + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 2158, + "end": 2161, + "loc": { + "start": { + "line": 69, + "column": 36 + }, + "end": { + "line": 69, + "column": 39 + } + }, + "extra": { + "rawValue": "/", + "raw": "'/'" + }, + "value": "/" + } }, "operator": "+", "right": { "type": "MemberExpression", - "start": 2483, - "end": 2499, + "start": 2164, + "end": 2179, "loc": { "start": { - "line": 65, - "column": 40 + "line": 69, + "column": 42 }, "end": { - "line": 65, - "column": 56 + "line": 69, + "column": 57 } }, "object": { "type": "ThisExpression", - "start": 2483, - "end": 2487, + "start": 2164, + "end": 2168, "loc": { "start": { - "line": 65, - "column": 40 + "line": 69, + "column": 42 }, "end": { - "line": 65, - "column": 44 + "line": 69, + "column": 46 } } }, "property": { "type": "Identifier", - "start": 2488, - "end": 2499, + "start": 2169, + "end": 2179, "loc": { "start": { - "line": 65, - "column": 45 + "line": 69, + "column": 47 }, "end": { - "line": 65, - "column": 56 + "line": 69, + "column": 57 }, - "identifierName": "category_id" + "identifierName": "categoryID" }, - "name": "category_id" + "name": "categoryID" }, "computed": false } @@ -1982,16 +2051,16 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 2502, - "end": 2514, + "start": 2182, + "end": 2194, "loc": { "start": { - "line": 65, - "column": 59 + "line": 69, + "column": 60 }, "end": { - "line": 65, - "column": 71 + "line": 69, + "column": 72 } }, "extra": { @@ -2003,31 +2072,31 @@ }, { "type": "ObjectExpression", - "start": 2516, - "end": 2619, + "start": 2196, + "end": 2277, "loc": { "start": { - "line": 65, - "column": 73 + "line": 69, + "column": 74 }, "end": { - "line": 69, - "column": 9 + "line": 73, + "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 2530, - "end": 2555, + "start": 2204, + "end": 2229, "loc": { "start": { - "line": 66, - "column": 12 + "line": 70, + "column": 6 }, "end": { - "line": 66, - "column": 37 + "line": 70, + "column": 31 } }, "method": false, @@ -2035,16 +2104,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 2530, - "end": 2539, + "start": 2204, + "end": 2213, "loc": { "start": { - "line": 66, - "column": 12 + "line": 70, + "column": 6 }, "end": { - "line": 66, - "column": 21 + "line": 70, + "column": 15 }, "identifierName": "territory" }, @@ -2052,45 +2121,45 @@ }, "value": { "type": "MemberExpression", - "start": 2541, - "end": 2555, + "start": 2215, + "end": 2229, "loc": { "start": { - "line": 66, - "column": 23 + "line": 70, + "column": 17 }, "end": { - "line": 66, - "column": 37 + "line": 70, + "column": 31 } }, "object": { "type": "ThisExpression", - "start": 2541, - "end": 2545, + "start": 2215, + "end": 2219, "loc": { "start": { - "line": 66, - "column": 23 + "line": 70, + "column": 17 }, "end": { - "line": 66, - "column": 27 + "line": 70, + "column": 21 } } }, "property": { "type": "Identifier", - "start": 2546, - "end": 2555, + "start": 2220, + "end": 2229, "loc": { "start": { - "line": 66, - "column": 28 + "line": 70, + "column": 22 }, "end": { - "line": 66, - "column": 37 + "line": 70, + "column": 31 }, "identifierName": "territory" }, @@ -2101,16 +2170,16 @@ }, { "type": "ObjectProperty", - "start": 2569, - "end": 2581, + "start": 2237, + "end": 2249, "loc": { "start": { - "line": 67, - "column": 12 + "line": 71, + "column": 6 }, "end": { - "line": 67, - "column": 24 + "line": 71, + "column": 18 } }, "method": false, @@ -2118,16 +2187,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 2569, - "end": 2574, + "start": 2237, + "end": 2242, "loc": { "start": { - "line": 67, - "column": 12 + "line": 71, + "column": 6 }, "end": { - "line": 67, - "column": 17 + "line": 71, + "column": 11 }, "identifierName": "limit" }, @@ -2135,16 +2204,16 @@ }, "value": { "type": "Identifier", - "start": 2576, - "end": 2581, + "start": 2244, + "end": 2249, "loc": { "start": { - "line": 67, - "column": 19 + "line": 71, + "column": 13 }, "end": { - "line": 67, - "column": 24 + "line": 71, + "column": 18 }, "identifierName": "limit" }, @@ -2153,16 +2222,16 @@ }, { "type": "ObjectProperty", - "start": 2595, - "end": 2609, + "start": 2257, + "end": 2271, "loc": { "start": { - "line": 68, - "column": 12 + "line": 72, + "column": 6 }, "end": { - "line": 68, - "column": 26 + "line": 72, + "column": 20 } }, "method": false, @@ -2170,16 +2239,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 2595, - "end": 2601, + "start": 2257, + "end": 2263, "loc": { "start": { - "line": 68, - "column": 12 + "line": 72, + "column": 6 }, "end": { - "line": 68, - "column": 18 + "line": 72, + "column": 12 }, "identifierName": "offset" }, @@ -2187,16 +2256,16 @@ }, "value": { "type": "Identifier", - "start": 2603, - "end": 2609, + "start": 2265, + "end": 2271, "loc": { "start": { - "line": 68, - "column": 20 + "line": 72, + "column": 14 }, "end": { - "line": 68, - "column": 26 + "line": 72, + "column": 20 }, "identifierName": "offset" }, @@ -2214,17 +2283,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch featured playlists of the category with the category fetcher you init. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchPlaylists()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories-category_id-playlists\n ", - "start": 1844, - "end": 2382, + "value": "*\n * Fetch featured playlists of the category with the category fetcher you init. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchPlaylists();\n * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories-category_id-playlists\n ", + "start": 1595, + "end": 2063, "loc": { "start": { - "line": 55, - "column": 4 + "line": 59, + "column": 2 }, "end": { - "line": 63, - "column": 7 + "line": 67, + "column": 5 } } } @@ -2235,9 +2304,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * List featured playlist categories.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories\n ", - "start": 103, - "end": 238, + "value": "*\n * List featured playlist categories.\n * @see https://docs-en.kkbox.codes/v1.1/reference#featured-playlist-categories\n ", + "start": 107, + "end": 232, "loc": { "start": { "line": 4, @@ -2255,9 +2324,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * List featured playlist categories.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories\n ", - "start": 103, - "end": 238, + "value": "*\n * List featured playlist categories.\n * @see https://docs-en.kkbox.codes/v1.1/reference#featured-playlist-categories\n ", + "start": 107, + "end": 232, "loc": { "start": { "line": 4, @@ -2277,9 +2346,9 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * List featured playlist categories.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories\n ", - "start": 103, - "end": 238, + "value": "*\n * List featured playlist categories.\n * @see https://docs-en.kkbox.codes/v1.1/reference#featured-playlist-categories\n ", + "start": 107, + "end": 232, "loc": { "start": { "line": 4, @@ -2293,97 +2362,97 @@ }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 314, - "end": 340, + "value": "*\n * @ignore\n ", + "start": 306, + "end": 328, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 423, - "end": 457, + "value": "*\n * @ignore\n ", + "start": 402, + "end": 428, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch all featured playlist categories.\n *\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.fetchAllFeaturedPlaylistCategories()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories\n ", - "start": 506, - "end": 822, + "value": "*\n * Fetch all featured playlist categories.\n *\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.fetchAllFeaturedPlaylistCategories();\n * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories\n ", + "start": 469, + "end": 719, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 27, - "column": 7 + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Init the featured playlist category fetcher.\n *\n * @param {string} category_id - The category ID.\n * @return {FeaturedPlaylistCategoryFetcher}\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories-category_id\n ", - "start": 945, - "end": 1267, + "value": "*\n * Init the featured playlist category fetcher.\n *\n * @param {string} categoryID - The category ID.\n * @return {FeaturedPlaylistCategoryFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories-category_id\n ", + "start": 845, + "end": 1099, "loc": { "start": { - "line": 32, - "column": 4 + "line": 34, + "column": 2 }, "end": { - "line": 38, - "column": 7 + "line": 40, + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch metadata of the category you init.\n *\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories-category_id\n ", - "start": 1379, - "end": 1723, + "value": "*\n * Fetch metadata of the category you init.\n *\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories-category_id\n ", + "start": 1188, + "end": 1466, "loc": { "start": { - "line": 44, - "column": 4 + "line": 46, + "column": 2 }, "end": { - "line": 50, - "column": 7 + "line": 52, + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch featured playlists of the category with the category fetcher you init. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchPlaylists()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories-category_id-playlists\n ", - "start": 1844, - "end": 2382, + "value": "*\n * Fetch featured playlists of the category with the category fetcher you init. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchPlaylists();\n * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories-category_id-playlists\n ", + "start": 1595, + "end": 2063, "loc": { "start": { - "line": 55, - "column": 4 + "line": 59, + "column": 2 }, "end": { - "line": 63, - "column": 7 + "line": 67, + "column": 5 } } } @@ -2394,7 +2463,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2455,16 +2524,16 @@ "binop": null }, "value": "FEATURED_PLAYLISTS_CATEGORIES", - "start": 8, - "end": 37, + "start": 9, + "end": 38, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 37 + "column": 38 } } }, @@ -2481,16 +2550,16 @@ "binop": null }, "value": "as", - "start": 38, - "end": 40, + "start": 39, + "end": 41, "loc": { "start": { "line": 1, - "column": 38 + "column": 39 }, "end": { "line": 1, - "column": 40 + "column": 41 } } }, @@ -2507,16 +2576,16 @@ "binop": null }, "value": "ENDPOINT", - "start": 41, - "end": 49, + "start": 42, + "end": 50, "loc": { "start": { "line": 1, - "column": 41 + "column": 42 }, "end": { "line": 1, - "column": 49 + "column": 50 } } }, @@ -2532,16 +2601,16 @@ "postfix": false, "binop": null }, - "start": 49, - "end": 50, + "start": 51, + "end": 52, "loc": { "start": { "line": 1, - "column": 49 + "column": 51 }, "end": { "line": 1, - "column": 50 + "column": 52 } } }, @@ -2558,16 +2627,16 @@ "binop": null }, "value": "from", - "start": 51, - "end": 55, + "start": 53, + "end": 57, "loc": { "start": { "line": 1, - "column": 51 + "column": 53 }, "end": { "line": 1, - "column": 55 + "column": 57 } } }, @@ -2585,16 +2654,42 @@ "updateContext": null }, "value": "../Endpoint", - "start": 56, - "end": 69, + "start": 58, + "end": 71, "loc": { "start": { "line": 1, - "column": 56 + "column": 58 }, "end": { "line": 1, - "column": 69 + "column": 71 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 71, + "end": 72, + "loc": { + "start": { + "line": 1, + "column": 71 + }, + "end": { + "line": 1, + "column": 72 } } }, @@ -2603,7 +2698,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2613,8 +2708,8 @@ "updateContext": null }, "value": "import", - "start": 70, - "end": 76, + "start": 73, + "end": 79, "loc": { "start": { "line": 2, @@ -2639,8 +2734,8 @@ "binop": null }, "value": "Fetcher", - "start": 77, - "end": 84, + "start": 80, + "end": 87, "loc": { "start": { "line": 2, @@ -2665,8 +2760,8 @@ "binop": null }, "value": "from", - "start": 85, - "end": 89, + "start": 88, + "end": 92, "loc": { "start": { "line": 2, @@ -2692,8 +2787,8 @@ "updateContext": null }, "value": "./Fetcher", - "start": 90, - "end": 101, + "start": 93, + "end": 104, "loc": { "start": { "line": 2, @@ -2706,16 +2801,42 @@ } }, { - "type": "CommentBlock", - "value": "*\n * List featured playlist categories.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories\n ", - "start": 103, - "end": 238, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 104, + "end": 105, + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 32 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * List featured playlist categories.\n * @see https://docs-en.kkbox.codes/v1.1/reference#featured-playlist-categories\n ", + "start": 107, + "end": 232, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { "line": 7, "column": 3 } @@ -2736,8 +2857,8 @@ "updateContext": null }, "value": "export", - "start": 239, - "end": 245, + "start": 233, + "end": 239, "loc": { "start": { "line": 8, @@ -2764,8 +2885,8 @@ "updateContext": null }, "value": "default", - "start": 246, - "end": 253, + "start": 240, + "end": 247, "loc": { "start": { "line": 8, @@ -2792,8 +2913,8 @@ "updateContext": null }, "value": "class", - "start": 254, - "end": 259, + "start": 248, + "end": 253, "loc": { "start": { "line": 8, @@ -2818,8 +2939,8 @@ "binop": null }, "value": "FeaturedPlaylistCategoryFetcher", - "start": 260, - "end": 291, + "start": 254, + "end": 285, "loc": { "start": { "line": 8, @@ -2846,8 +2967,8 @@ "updateContext": null }, "value": "extends", - "start": 292, - "end": 299, + "start": 286, + "end": 293, "loc": { "start": { "line": 8, @@ -2872,8 +2993,8 @@ "binop": null }, "value": "Fetcher", - "start": 300, - "end": 307, + "start": 294, + "end": 301, "loc": { "start": { "line": 8, @@ -2897,8 +3018,8 @@ "postfix": false, "binop": null }, - "start": 308, - "end": 309, + "start": 302, + "end": 303, "loc": { "start": { "line": 8, @@ -2912,17 +3033,17 @@ }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 314, - "end": 340, + "value": "*\n * @ignore\n ", + "start": 306, + "end": 328, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } }, @@ -2939,16 +3060,16 @@ "binop": null }, "value": "constructor", - "start": 345, - "end": 356, + "start": 331, + "end": 342, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 12, - "column": 15 + "column": 13 } } }, @@ -2964,16 +3085,16 @@ "postfix": false, "binop": null }, - "start": 356, - "end": 357, + "start": 342, + "end": 343, "loc": { "start": { "line": 12, - "column": 15 + "column": 13 }, "end": { "line": 12, - "column": 16 + "column": 14 } } }, @@ -2990,16 +3111,16 @@ "binop": null }, "value": "http", - "start": 357, - "end": 361, + "start": 343, + "end": 347, "loc": { "start": { "line": 12, - "column": 16 + "column": 14 }, "end": { "line": 12, - "column": 20 + "column": 18 } } }, @@ -3016,16 +3137,16 @@ "binop": null, "updateContext": null }, - "start": 361, - "end": 362, + "start": 347, + "end": 348, "loc": { "start": { "line": 12, - "column": 20 + "column": 18 }, "end": { "line": 12, - "column": 21 + "column": 19 } } }, @@ -3042,16 +3163,16 @@ "binop": null }, "value": "territory", - "start": 363, - "end": 372, + "start": 349, + "end": 358, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 31 + "column": 29 } } }, @@ -3069,16 +3190,16 @@ "updateContext": null }, "value": "=", - "start": 373, - "end": 374, + "start": 359, + "end": 360, "loc": { "start": { "line": 12, - "column": 32 + "column": 30 }, "end": { "line": 12, - "column": 33 + "column": 31 } } }, @@ -3096,16 +3217,16 @@ "updateContext": null }, "value": "TW", - "start": 375, - "end": 379, + "start": 361, + "end": 365, "loc": { "start": { "line": 12, - "column": 34 + "column": 32 }, "end": { "line": 12, - "column": 38 + "column": 36 } } }, @@ -3121,16 +3242,16 @@ "postfix": false, "binop": null }, - "start": 379, - "end": 380, + "start": 365, + "end": 366, "loc": { "start": { "line": 12, - "column": 38 + "column": 36 }, "end": { "line": 12, - "column": 39 + "column": 37 } } }, @@ -3146,16 +3267,16 @@ "postfix": false, "binop": null }, - "start": 381, - "end": 382, + "start": 367, + "end": 368, "loc": { "start": { "line": 12, - "column": 40 + "column": 38 }, "end": { "line": 12, - "column": 41 + "column": 39 } } }, @@ -3174,16 +3295,16 @@ "updateContext": null }, "value": "super", - "start": 391, - "end": 396, + "start": 373, + "end": 378, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 13 + "column": 9 } } }, @@ -3199,16 +3320,16 @@ "postfix": false, "binop": null }, - "start": 396, - "end": 397, + "start": 378, + "end": 379, "loc": { "start": { "line": 13, - "column": 13 + "column": 9 }, "end": { "line": 13, - "column": 14 + "column": 10 } } }, @@ -3225,16 +3346,16 @@ "binop": null }, "value": "http", - "start": 397, - "end": 401, + "start": 379, + "end": 383, "loc": { "start": { "line": 13, - "column": 14 + "column": 10 }, "end": { "line": 13, - "column": 18 + "column": 14 } } }, @@ -3251,16 +3372,16 @@ "binop": null, "updateContext": null }, - "start": 401, - "end": 402, + "start": 383, + "end": 384, "loc": { "start": { "line": 13, - "column": 18 + "column": 14 }, "end": { "line": 13, - "column": 19 + "column": 15 } } }, @@ -3277,16 +3398,16 @@ "binop": null }, "value": "territory", - "start": 403, - "end": 412, + "start": 385, + "end": 394, "loc": { "start": { "line": 13, - "column": 20 + "column": 16 }, "end": { "line": 13, - "column": 29 + "column": 25 } } }, @@ -3302,32 +3423,58 @@ "postfix": false, "binop": null }, - "start": 412, - "end": 413, + "start": 394, + "end": 395, "loc": { "start": { "line": 13, - "column": 29 + "column": 25 }, "end": { "line": 13, - "column": 30 + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 395, + "end": 396, + "loc": { + "start": { + "line": 13, + "column": 26 + }, + "end": { + "line": 13, + "column": 27 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 423, - "end": 457, + "value": "*\n * @ignore\n ", + "start": 402, + "end": 428, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } }, @@ -3346,16 +3493,16 @@ "updateContext": null }, "value": "this", - "start": 466, - "end": 470, + "start": 433, + "end": 437, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 12 + "column": 8 } } }, @@ -3372,16 +3519,16 @@ "binop": null, "updateContext": null }, - "start": 470, - "end": 471, + "start": 437, + "end": 438, "loc": { "start": { "line": 18, - "column": 12 + "column": 8 }, "end": { "line": 18, - "column": 13 + "column": 9 } } }, @@ -3397,17 +3544,17 @@ "postfix": false, "binop": null }, - "value": "category_id", - "start": 471, - "end": 482, + "value": "categoryID", + "start": 438, + "end": 448, "loc": { "start": { "line": 18, - "column": 13 + "column": 9 }, "end": { "line": 18, - "column": 24 + "column": 19 } } }, @@ -3425,16 +3572,16 @@ "updateContext": null }, "value": "=", - "start": 483, - "end": 484, + "start": 449, + "end": 450, "loc": { "start": { "line": 18, - "column": 25 + "column": 20 }, "end": { "line": 18, - "column": 26 + "column": 21 } } }, @@ -3451,16 +3598,42 @@ "binop": null }, "value": "undefined", - "start": 485, - "end": 494, + "start": 451, + "end": 460, "loc": { "start": { "line": 18, - "column": 27 + "column": 22 }, "end": { "line": 18, - "column": 36 + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 460, + "end": 461, + "loc": { + "start": { + "line": 18, + "column": 31 + }, + "end": { + "line": 18, + "column": 32 } } }, @@ -3476,32 +3649,32 @@ "postfix": false, "binop": null }, - "start": 499, - "end": 500, + "start": 464, + "end": 465, "loc": { "start": { "line": 19, - "column": 4 + "column": 2 }, "end": { "line": 19, - "column": 5 + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch all featured playlist categories.\n *\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.fetchAllFeaturedPlaylistCategories()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories\n ", - "start": 506, - "end": 822, + "value": "*\n * Fetch all featured playlist categories.\n *\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.fetchAllFeaturedPlaylistCategories();\n * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories\n ", + "start": 469, + "end": 719, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 27, - "column": 7 + "column": 5 } } }, @@ -3518,16 +3691,16 @@ "binop": null }, "value": "fetchAllFeaturedPlaylistCategories", - "start": 827, - "end": 861, + "start": 722, + "end": 756, "loc": { "start": { "line": 28, - "column": 4 + "column": 2 }, "end": { "line": 28, - "column": 38 + "column": 36 } } }, @@ -3543,16 +3716,16 @@ "postfix": false, "binop": null }, - "start": 861, - "end": 862, + "start": 756, + "end": 757, "loc": { "start": { "line": 28, - "column": 38 + "column": 36 }, "end": { "line": 28, - "column": 39 + "column": 37 } } }, @@ -3568,16 +3741,16 @@ "postfix": false, "binop": null }, - "start": 862, - "end": 863, + "start": 757, + "end": 758, "loc": { "start": { "line": 28, - "column": 39 + "column": 37 }, "end": { "line": 28, - "column": 40 + "column": 38 } } }, @@ -3593,16 +3766,16 @@ "postfix": false, "binop": null }, - "start": 864, - "end": 865, + "start": 759, + "end": 760, "loc": { "start": { "line": 28, - "column": 41 + "column": 39 }, "end": { "line": 28, - "column": 42 + "column": 40 } } }, @@ -3621,16 +3794,16 @@ "updateContext": null }, "value": "return", - "start": 874, - "end": 880, + "start": 765, + "end": 771, "loc": { "start": { "line": 29, - "column": 8 + "column": 4 }, "end": { "line": 29, - "column": 14 + "column": 10 } } }, @@ -3649,16 +3822,16 @@ "updateContext": null }, "value": "this", - "start": 881, - "end": 885, + "start": 772, + "end": 776, "loc": { "start": { "line": 29, - "column": 15 + "column": 11 }, "end": { "line": 29, - "column": 19 + "column": 15 } } }, @@ -3675,16 +3848,16 @@ "binop": null, "updateContext": null }, - "start": 885, - "end": 886, + "start": 776, + "end": 777, "loc": { "start": { "line": 29, - "column": 19 + "column": 15 }, "end": { "line": 29, - "column": 20 + "column": 16 } } }, @@ -3701,16 +3874,16 @@ "binop": null }, "value": "http", - "start": 886, - "end": 890, + "start": 777, + "end": 781, "loc": { "start": { "line": 29, - "column": 20 + "column": 16 }, "end": { "line": 29, - "column": 24 + "column": 20 } } }, @@ -3727,16 +3900,16 @@ "binop": null, "updateContext": null }, - "start": 890, - "end": 891, + "start": 781, + "end": 782, "loc": { "start": { "line": 29, - "column": 24 + "column": 20 }, "end": { "line": 29, - "column": 25 + "column": 21 } } }, @@ -3753,16 +3926,16 @@ "binop": null }, "value": "get", - "start": 891, - "end": 894, + "start": 782, + "end": 785, "loc": { "start": { "line": 29, - "column": 25 + "column": 21 }, "end": { "line": 29, - "column": 28 + "column": 24 } } }, @@ -3778,16 +3951,16 @@ "postfix": false, "binop": null }, - "start": 894, - "end": 895, + "start": 785, + "end": 786, "loc": { "start": { "line": 29, - "column": 28 + "column": 24 }, "end": { "line": 29, - "column": 29 + "column": 25 } } }, @@ -3804,16 +3977,16 @@ "binop": null }, "value": "ENDPOINT", - "start": 895, - "end": 903, + "start": 786, + "end": 794, "loc": { "start": { "line": 29, - "column": 29 + "column": 25 }, "end": { "line": 29, - "column": 37 + "column": 33 } } }, @@ -3830,16 +4003,16 @@ "binop": null, "updateContext": null }, - "start": 903, - "end": 904, + "start": 794, + "end": 795, "loc": { "start": { "line": 29, - "column": 37 + "column": 33 }, "end": { "line": 29, - "column": 38 + "column": 34 } } }, @@ -3855,16 +4028,16 @@ "postfix": false, "binop": null }, - "start": 905, - "end": 906, + "start": 796, + "end": 797, "loc": { "start": { "line": 29, - "column": 39 + "column": 35 }, "end": { "line": 29, - "column": 40 + "column": 36 } } }, @@ -3881,16 +4054,16 @@ "binop": null }, "value": "territory", - "start": 906, - "end": 915, + "start": 804, + "end": 813, "loc": { "start": { - "line": 29, - "column": 40 + "line": 30, + "column": 6 }, "end": { - "line": 29, - "column": 49 + "line": 30, + "column": 15 } } }, @@ -3907,16 +4080,16 @@ "binop": null, "updateContext": null }, - "start": 915, - "end": 916, + "start": 813, + "end": 814, "loc": { "start": { - "line": 29, - "column": 49 + "line": 30, + "column": 15 }, "end": { - "line": 29, - "column": 50 + "line": 30, + "column": 16 } } }, @@ -3935,16 +4108,16 @@ "updateContext": null }, "value": "this", - "start": 917, - "end": 921, + "start": 815, + "end": 819, "loc": { "start": { - "line": 29, - "column": 51 + "line": 30, + "column": 17 }, "end": { - "line": 29, - "column": 55 + "line": 30, + "column": 21 } } }, @@ -3961,16 +4134,16 @@ "binop": null, "updateContext": null }, - "start": 921, - "end": 922, + "start": 819, + "end": 820, "loc": { "start": { - "line": 29, - "column": 55 + "line": 30, + "column": 21 }, "end": { - "line": 29, - "column": 56 + "line": 30, + "column": 22 } } }, @@ -3987,16 +4160,16 @@ "binop": null }, "value": "territory", - "start": 922, - "end": 931, + "start": 820, + "end": 829, "loc": { "start": { - "line": 29, - "column": 56 + "line": 30, + "column": 22 }, "end": { - "line": 29, - "column": 65 + "line": 30, + "column": 31 } } }, @@ -4012,16 +4185,16 @@ "postfix": false, "binop": null }, - "start": 931, - "end": 932, + "start": 834, + "end": 835, "loc": { "start": { - "line": 29, - "column": 65 + "line": 31, + "column": 4 }, "end": { - "line": 29, - "column": 66 + "line": 31, + "column": 5 } } }, @@ -4037,16 +4210,42 @@ "postfix": false, "binop": null }, - "start": 932, - "end": 933, + "start": 835, + "end": 836, "loc": { "start": { - "line": 29, - "column": 66 + "line": 31, + "column": 5 }, "end": { - "line": 29, - "column": 67 + "line": 31, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 836, + "end": 837, + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 31, + "column": 7 } } }, @@ -4062,32 +4261,32 @@ "postfix": false, "binop": null }, - "start": 938, - "end": 939, + "start": 840, + "end": 841, "loc": { "start": { - "line": 30, - "column": 4 + "line": 32, + "column": 2 }, "end": { - "line": 30, - "column": 5 + "line": 32, + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Init the featured playlist category fetcher.\n *\n * @param {string} category_id - The category ID.\n * @return {FeaturedPlaylistCategoryFetcher}\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories-category_id\n ", - "start": 945, - "end": 1267, + "value": "*\n * Init the featured playlist category fetcher.\n *\n * @param {string} categoryID - The category ID.\n * @return {FeaturedPlaylistCategoryFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories-category_id\n ", + "start": 845, + "end": 1099, "loc": { "start": { - "line": 32, - "column": 4 + "line": 34, + "column": 2 }, "end": { - "line": 38, - "column": 7 + "line": 40, + "column": 5 } } }, @@ -4104,16 +4303,16 @@ "binop": null }, "value": "setCategoryID", - "start": 1272, - "end": 1285, + "start": 1102, + "end": 1115, "loc": { "start": { - "line": 39, - "column": 4 + "line": 41, + "column": 2 }, "end": { - "line": 39, - "column": 17 + "line": 41, + "column": 15 } } }, @@ -4129,16 +4328,16 @@ "postfix": false, "binop": null }, - "start": 1285, - "end": 1286, + "start": 1115, + "end": 1116, "loc": { "start": { - "line": 39, - "column": 17 + "line": 41, + "column": 15 }, "end": { - "line": 39, - "column": 18 + "line": 41, + "column": 16 } } }, @@ -4154,17 +4353,17 @@ "postfix": false, "binop": null }, - "value": "category_id", - "start": 1286, - "end": 1297, + "value": "categoryID", + "start": 1116, + "end": 1126, "loc": { "start": { - "line": 39, - "column": 18 + "line": 41, + "column": 16 }, "end": { - "line": 39, - "column": 29 + "line": 41, + "column": 26 } } }, @@ -4180,16 +4379,16 @@ "postfix": false, "binop": null }, - "start": 1297, - "end": 1298, + "start": 1126, + "end": 1127, "loc": { "start": { - "line": 39, - "column": 29 + "line": 41, + "column": 26 }, "end": { - "line": 39, - "column": 30 + "line": 41, + "column": 27 } } }, @@ -4205,16 +4404,16 @@ "postfix": false, "binop": null }, - "start": 1299, - "end": 1300, + "start": 1128, + "end": 1129, "loc": { "start": { - "line": 39, - "column": 31 + "line": 41, + "column": 28 }, "end": { - "line": 39, - "column": 32 + "line": 41, + "column": 29 } } }, @@ -4233,16 +4432,16 @@ "updateContext": null }, "value": "this", - "start": 1309, - "end": 1313, + "start": 1134, + "end": 1138, "loc": { "start": { - "line": 40, - "column": 8 + "line": 42, + "column": 4 }, "end": { - "line": 40, - "column": 12 + "line": 42, + "column": 8 } } }, @@ -4259,16 +4458,16 @@ "binop": null, "updateContext": null }, - "start": 1313, - "end": 1314, + "start": 1138, + "end": 1139, "loc": { "start": { - "line": 40, - "column": 12 + "line": 42, + "column": 8 }, "end": { - "line": 40, - "column": 13 + "line": 42, + "column": 9 } } }, @@ -4284,17 +4483,17 @@ "postfix": false, "binop": null }, - "value": "category_id", - "start": 1314, - "end": 1325, + "value": "categoryID", + "start": 1139, + "end": 1149, "loc": { "start": { - "line": 40, - "column": 13 + "line": 42, + "column": 9 }, "end": { - "line": 40, - "column": 24 + "line": 42, + "column": 19 } } }, @@ -4312,16 +4511,16 @@ "updateContext": null }, "value": "=", - "start": 1326, - "end": 1327, + "start": 1150, + "end": 1151, "loc": { "start": { - "line": 40, - "column": 25 + "line": 42, + "column": 20 }, "end": { - "line": 40, - "column": 26 + "line": 42, + "column": 21 } } }, @@ -4337,17 +4536,43 @@ "postfix": false, "binop": null }, - "value": "category_id", - "start": 1328, - "end": 1339, + "value": "categoryID", + "start": 1152, + "end": 1162, "loc": { "start": { - "line": 40, - "column": 27 + "line": 42, + "column": 22 }, "end": { - "line": 40, - "column": 38 + "line": 42, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1162, + "end": 1163, + "loc": { + "start": { + "line": 42, + "column": 32 + }, + "end": { + "line": 42, + "column": 33 } } }, @@ -4366,16 +4591,16 @@ "updateContext": null }, "value": "return", - "start": 1356, - "end": 1362, + "start": 1168, + "end": 1174, "loc": { "start": { - "line": 41, - "column": 8 + "line": 43, + "column": 4 }, "end": { - "line": 41, - "column": 14 + "line": 43, + "column": 10 } } }, @@ -4394,16 +4619,42 @@ "updateContext": null }, "value": "this", - "start": 1363, - "end": 1367, + "start": 1175, + "end": 1179, "loc": { "start": { - "line": 41, + "line": 43, + "column": 11 + }, + "end": { + "line": 43, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1179, + "end": 1180, + "loc": { + "start": { + "line": 43, "column": 15 }, "end": { - "line": 41, - "column": 19 + "line": 43, + "column": 16 } } }, @@ -4419,32 +4670,32 @@ "postfix": false, "binop": null }, - "start": 1372, - "end": 1373, + "start": 1183, + "end": 1184, "loc": { "start": { - "line": 42, - "column": 4 + "line": 44, + "column": 2 }, "end": { - "line": 42, - "column": 5 + "line": 44, + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch metadata of the category you init.\n *\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories-category_id\n ", - "start": 1379, - "end": 1723, + "value": "*\n * Fetch metadata of the category you init.\n *\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories-category_id\n ", + "start": 1188, + "end": 1466, "loc": { "start": { - "line": 44, - "column": 4 + "line": 46, + "column": 2 }, "end": { - "line": 50, - "column": 7 + "line": 52, + "column": 5 } } }, @@ -4461,16 +4712,16 @@ "binop": null }, "value": "fetchMetadata", - "start": 1728, - "end": 1741, + "start": 1469, + "end": 1482, "loc": { "start": { - "line": 51, - "column": 4 + "line": 53, + "column": 2 }, "end": { - "line": 51, - "column": 17 + "line": 53, + "column": 15 } } }, @@ -4486,16 +4737,16 @@ "postfix": false, "binop": null }, - "start": 1741, - "end": 1742, + "start": 1482, + "end": 1483, "loc": { "start": { - "line": 51, - "column": 17 + "line": 53, + "column": 15 }, "end": { - "line": 51, - "column": 18 + "line": 53, + "column": 16 } } }, @@ -4511,16 +4762,16 @@ "postfix": false, "binop": null }, - "start": 1742, - "end": 1743, + "start": 1483, + "end": 1484, "loc": { "start": { - "line": 51, - "column": 18 + "line": 53, + "column": 16 }, "end": { - "line": 51, - "column": 19 + "line": 53, + "column": 17 } } }, @@ -4536,16 +4787,16 @@ "postfix": false, "binop": null }, - "start": 1744, - "end": 1745, + "start": 1485, + "end": 1486, "loc": { "start": { - "line": 51, - "column": 20 + "line": 53, + "column": 18 }, "end": { - "line": 51, - "column": 21 + "line": 53, + "column": 19 } } }, @@ -4564,16 +4815,16 @@ "updateContext": null }, "value": "return", - "start": 1754, - "end": 1760, + "start": 1491, + "end": 1497, "loc": { "start": { - "line": 52, - "column": 8 + "line": 54, + "column": 4 }, "end": { - "line": 52, - "column": 14 + "line": 54, + "column": 10 } } }, @@ -4592,16 +4843,16 @@ "updateContext": null }, "value": "this", - "start": 1761, - "end": 1765, + "start": 1498, + "end": 1502, "loc": { "start": { - "line": 52, - "column": 15 + "line": 54, + "column": 11 }, "end": { - "line": 52, - "column": 19 + "line": 54, + "column": 15 } } }, @@ -4618,16 +4869,16 @@ "binop": null, "updateContext": null }, - "start": 1765, - "end": 1766, + "start": 1502, + "end": 1503, "loc": { "start": { - "line": 52, - "column": 19 + "line": 54, + "column": 15 }, "end": { - "line": 52, - "column": 20 + "line": 54, + "column": 16 } } }, @@ -4644,16 +4895,16 @@ "binop": null }, "value": "http", - "start": 1766, - "end": 1770, + "start": 1503, + "end": 1507, "loc": { "start": { - "line": 52, - "column": 20 + "line": 54, + "column": 16 }, "end": { - "line": 52, - "column": 24 + "line": 54, + "column": 20 } } }, @@ -4670,16 +4921,16 @@ "binop": null, "updateContext": null }, - "start": 1770, - "end": 1771, + "start": 1507, + "end": 1508, "loc": { "start": { - "line": 52, - "column": 24 + "line": 54, + "column": 20 }, "end": { - "line": 52, - "column": 25 + "line": 54, + "column": 21 } } }, @@ -4696,16 +4947,16 @@ "binop": null }, "value": "get", - "start": 1771, - "end": 1774, + "start": 1508, + "end": 1511, "loc": { "start": { - "line": 52, - "column": 25 + "line": 54, + "column": 21 }, "end": { - "line": 52, - "column": 28 + "line": 54, + "column": 24 } } }, @@ -4721,16 +4972,16 @@ "postfix": false, "binop": null }, - "start": 1774, - "end": 1775, + "start": 1511, + "end": 1512, "loc": { "start": { - "line": 52, - "column": 28 + "line": 54, + "column": 24 }, "end": { - "line": 52, - "column": 29 + "line": 54, + "column": 25 } } }, @@ -4747,16 +4998,16 @@ "binop": null }, "value": "ENDPOINT", - "start": 1775, - "end": 1783, + "start": 1512, + "end": 1520, "loc": { "start": { - "line": 52, - "column": 29 + "line": 54, + "column": 25 }, "end": { - "line": 52, - "column": 37 + "line": 54, + "column": 33 } } }, @@ -4774,19 +5025,73 @@ "updateContext": null }, "value": "+", - "start": 1784, - "end": 1785, + "start": 1521, + "end": 1522, "loc": { "start": { - "line": 52, - "column": 38 + "line": 54, + "column": 34 }, "end": { - "line": 52, + "line": 54, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "/", + "start": 1523, + "end": 1526, + "loc": { + "start": { + "line": 54, + "column": 36 + }, + "end": { + "line": 54, "column": 39 } } }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 1527, + "end": 1528, + "loc": { + "start": { + "line": 54, + "column": 40 + }, + "end": { + "line": 54, + "column": 41 + } + } + }, { "type": { "label": "this", @@ -4802,16 +5107,16 @@ "updateContext": null }, "value": "this", - "start": 1786, - "end": 1790, + "start": 1529, + "end": 1533, "loc": { "start": { - "line": 52, - "column": 40 + "line": 54, + "column": 42 }, "end": { - "line": 52, - "column": 44 + "line": 54, + "column": 46 } } }, @@ -4828,16 +5133,16 @@ "binop": null, "updateContext": null }, - "start": 1790, - "end": 1791, + "start": 1533, + "end": 1534, "loc": { "start": { - "line": 52, - "column": 44 + "line": 54, + "column": 46 }, "end": { - "line": 52, - "column": 45 + "line": 54, + "column": 47 } } }, @@ -4853,17 +5158,17 @@ "postfix": false, "binop": null }, - "value": "category_id", - "start": 1791, - "end": 1802, + "value": "categoryID", + "start": 1534, + "end": 1544, "loc": { "start": { - "line": 52, - "column": 45 + "line": 54, + "column": 47 }, "end": { - "line": 52, - "column": 56 + "line": 54, + "column": 57 } } }, @@ -4880,16 +5185,16 @@ "binop": null, "updateContext": null }, - "start": 1802, - "end": 1803, + "start": 1544, + "end": 1545, "loc": { "start": { - "line": 52, - "column": 56 + "line": 54, + "column": 57 }, "end": { - "line": 52, - "column": 57 + "line": 54, + "column": 58 } } }, @@ -4905,16 +5210,16 @@ "postfix": false, "binop": null }, - "start": 1804, - "end": 1805, + "start": 1546, + "end": 1547, "loc": { "start": { - "line": 52, - "column": 58 + "line": 54, + "column": 59 }, "end": { - "line": 52, - "column": 59 + "line": 54, + "column": 60 } } }, @@ -4931,16 +5236,16 @@ "binop": null }, "value": "territory", - "start": 1805, - "end": 1814, + "start": 1554, + "end": 1563, "loc": { "start": { - "line": 52, - "column": 59 + "line": 55, + "column": 6 }, "end": { - "line": 52, - "column": 68 + "line": 55, + "column": 15 } } }, @@ -4957,16 +5262,16 @@ "binop": null, "updateContext": null }, - "start": 1814, - "end": 1815, + "start": 1563, + "end": 1564, "loc": { "start": { - "line": 52, - "column": 68 + "line": 55, + "column": 15 }, "end": { - "line": 52, - "column": 69 + "line": 55, + "column": 16 } } }, @@ -4985,16 +5290,16 @@ "updateContext": null }, "value": "this", - "start": 1816, - "end": 1820, + "start": 1565, + "end": 1569, "loc": { "start": { - "line": 52, - "column": 70 + "line": 55, + "column": 17 }, "end": { - "line": 52, - "column": 74 + "line": 55, + "column": 21 } } }, @@ -5011,16 +5316,16 @@ "binop": null, "updateContext": null }, - "start": 1820, - "end": 1821, + "start": 1569, + "end": 1570, "loc": { "start": { - "line": 52, - "column": 74 + "line": 55, + "column": 21 }, "end": { - "line": 52, - "column": 75 + "line": 55, + "column": 22 } } }, @@ -5037,16 +5342,16 @@ "binop": null }, "value": "territory", - "start": 1821, - "end": 1830, + "start": 1570, + "end": 1579, "loc": { "start": { - "line": 52, - "column": 75 + "line": 55, + "column": 22 }, "end": { - "line": 52, - "column": 84 + "line": 55, + "column": 31 } } }, @@ -5062,16 +5367,16 @@ "postfix": false, "binop": null }, - "start": 1830, - "end": 1831, + "start": 1584, + "end": 1585, "loc": { "start": { - "line": 52, - "column": 84 + "line": 56, + "column": 4 }, "end": { - "line": 52, - "column": 85 + "line": 56, + "column": 5 } } }, @@ -5087,16 +5392,42 @@ "postfix": false, "binop": null }, - "start": 1831, - "end": 1832, + "start": 1585, + "end": 1586, "loc": { "start": { - "line": 52, - "column": 85 + "line": 56, + "column": 5 }, "end": { - "line": 52, - "column": 86 + "line": 56, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1586, + "end": 1587, + "loc": { + "start": { + "line": 56, + "column": 6 + }, + "end": { + "line": 56, + "column": 7 } } }, @@ -5112,32 +5443,32 @@ "postfix": false, "binop": null }, - "start": 1837, - "end": 1838, + "start": 1590, + "end": 1591, "loc": { "start": { - "line": 53, - "column": 4 + "line": 57, + "column": 2 }, "end": { - "line": 53, - "column": 5 + "line": 57, + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch featured playlists of the category with the category fetcher you init. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchPlaylists()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories-category_id-playlists\n ", - "start": 1844, - "end": 2382, + "value": "*\n * Fetch featured playlists of the category with the category fetcher you init. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchPlaylists();\n * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories-category_id-playlists\n ", + "start": 1595, + "end": 2063, "loc": { "start": { - "line": 55, - "column": 4 + "line": 59, + "column": 2 }, "end": { - "line": 63, - "column": 7 + "line": 67, + "column": 5 } } }, @@ -5154,16 +5485,16 @@ "binop": null }, "value": "fetchPlaylists", - "start": 2387, - "end": 2401, + "start": 2066, + "end": 2080, "loc": { "start": { - "line": 64, - "column": 4 + "line": 68, + "column": 2 }, "end": { - "line": 64, - "column": 18 + "line": 68, + "column": 16 } } }, @@ -5179,16 +5510,16 @@ "postfix": false, "binop": null }, - "start": 2401, - "end": 2402, + "start": 2080, + "end": 2081, "loc": { "start": { - "line": 64, - "column": 18 + "line": 68, + "column": 16 }, "end": { - "line": 64, - "column": 19 + "line": 68, + "column": 17 } } }, @@ -5205,16 +5536,16 @@ "binop": null }, "value": "limit", - "start": 2402, - "end": 2407, + "start": 2081, + "end": 2086, "loc": { "start": { - "line": 64, - "column": 19 + "line": 68, + "column": 17 }, "end": { - "line": 64, - "column": 24 + "line": 68, + "column": 22 } } }, @@ -5232,16 +5563,16 @@ "updateContext": null }, "value": "=", - "start": 2408, - "end": 2409, + "start": 2087, + "end": 2088, "loc": { "start": { - "line": 64, - "column": 25 + "line": 68, + "column": 23 }, "end": { - "line": 64, - "column": 26 + "line": 68, + "column": 24 } } }, @@ -5258,16 +5589,16 @@ "binop": null }, "value": "undefined", - "start": 2410, - "end": 2419, + "start": 2089, + "end": 2098, "loc": { "start": { - "line": 64, - "column": 27 + "line": 68, + "column": 25 }, "end": { - "line": 64, - "column": 36 + "line": 68, + "column": 34 } } }, @@ -5284,16 +5615,16 @@ "binop": null, "updateContext": null }, - "start": 2419, - "end": 2420, + "start": 2098, + "end": 2099, "loc": { "start": { - "line": 64, - "column": 36 + "line": 68, + "column": 34 }, "end": { - "line": 64, - "column": 37 + "line": 68, + "column": 35 } } }, @@ -5310,16 +5641,16 @@ "binop": null }, "value": "offset", - "start": 2421, - "end": 2427, + "start": 2100, + "end": 2106, "loc": { "start": { - "line": 64, - "column": 38 + "line": 68, + "column": 36 }, "end": { - "line": 64, - "column": 44 + "line": 68, + "column": 42 } } }, @@ -5337,16 +5668,16 @@ "updateContext": null }, "value": "=", - "start": 2428, - "end": 2429, + "start": 2107, + "end": 2108, "loc": { "start": { - "line": 64, - "column": 45 + "line": 68, + "column": 43 }, "end": { - "line": 64, - "column": 46 + "line": 68, + "column": 44 } } }, @@ -5363,16 +5694,16 @@ "binop": null }, "value": "undefined", - "start": 2430, - "end": 2439, + "start": 2109, + "end": 2118, "loc": { "start": { - "line": 64, - "column": 47 + "line": 68, + "column": 45 }, "end": { - "line": 64, - "column": 56 + "line": 68, + "column": 54 } } }, @@ -5388,16 +5719,16 @@ "postfix": false, "binop": null }, - "start": 2439, - "end": 2440, + "start": 2118, + "end": 2119, "loc": { "start": { - "line": 64, - "column": 56 + "line": 68, + "column": 54 }, "end": { - "line": 64, - "column": 57 + "line": 68, + "column": 55 } } }, @@ -5413,16 +5744,16 @@ "postfix": false, "binop": null }, - "start": 2441, - "end": 2442, + "start": 2120, + "end": 2121, "loc": { "start": { - "line": 64, - "column": 58 + "line": 68, + "column": 56 }, "end": { - "line": 64, - "column": 59 + "line": 68, + "column": 57 } } }, @@ -5440,24 +5771,77 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 2451, - "end": 2457, + "value": "return", + "start": 2126, + "end": 2132, + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2133, + "end": 2137, + "loc": { + "start": { + "line": 69, + "column": 11 + }, + "end": { + "line": 69, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2137, + "end": 2138, "loc": { "start": { - "line": 65, - "column": 8 + "line": 69, + "column": 15 }, "end": { - "line": 65, - "column": 14 + "line": 69, + "column": 16 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -5465,20 +5849,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2458, - "end": 2462, + "value": "http", + "start": 2138, + "end": 2142, "loc": { "start": { - "line": 65, - "column": 15 + "line": 69, + "column": 16 }, "end": { - "line": 65, - "column": 19 + "line": 69, + "column": 20 } } }, @@ -5495,16 +5878,16 @@ "binop": null, "updateContext": null }, - "start": 2462, - "end": 2463, + "start": 2142, + "end": 2143, "loc": { "start": { - "line": 65, - "column": 19 + "line": 69, + "column": 20 }, "end": { - "line": 65, - "column": 20 + "line": 69, + "column": 21 } } }, @@ -5520,42 +5903,41 @@ "postfix": false, "binop": null }, - "value": "http", - "start": 2463, - "end": 2467, + "value": "get", + "start": 2143, + "end": 2146, "loc": { "start": { - "line": 65, - "column": 20 + "line": 69, + "column": 21 }, "end": { - "line": 65, + "line": 69, "column": 24 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2467, - "end": 2468, + "start": 2146, + "end": 2147, "loc": { "start": { - "line": 65, + "line": 69, "column": 24 }, "end": { - "line": 65, + "line": 69, "column": 25 } } @@ -5572,48 +5954,50 @@ "postfix": false, "binop": null }, - "value": "get", - "start": 2468, - "end": 2471, + "value": "ENDPOINT", + "start": 2147, + "end": 2155, "loc": { "start": { - "line": 65, + "line": 69, "column": 25 }, "end": { - "line": 65, - "column": 28 + "line": 69, + "column": 33 } } }, { "type": { - "label": "(", + "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "start": 2471, - "end": 2472, + "value": "+", + "start": 2156, + "end": 2157, "loc": { "start": { - "line": 65, - "column": 28 + "line": 69, + "column": 34 }, "end": { - "line": 65, - "column": 29 + "line": 69, + "column": 35 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -5621,19 +6005,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "ENDPOINT", - "start": 2472, - "end": 2480, + "value": "/", + "start": 2158, + "end": 2161, "loc": { "start": { - "line": 65, - "column": 29 + "line": 69, + "column": 36 }, "end": { - "line": 65, - "column": 37 + "line": 69, + "column": 39 } } }, @@ -5651,16 +6036,16 @@ "updateContext": null }, "value": "+", - "start": 2481, - "end": 2482, + "start": 2162, + "end": 2163, "loc": { "start": { - "line": 65, - "column": 38 + "line": 69, + "column": 40 }, "end": { - "line": 65, - "column": 39 + "line": 69, + "column": 41 } } }, @@ -5679,16 +6064,16 @@ "updateContext": null }, "value": "this", - "start": 2483, - "end": 2487, + "start": 2164, + "end": 2168, "loc": { "start": { - "line": 65, - "column": 40 + "line": 69, + "column": 42 }, "end": { - "line": 65, - "column": 44 + "line": 69, + "column": 46 } } }, @@ -5705,16 +6090,16 @@ "binop": null, "updateContext": null }, - "start": 2487, - "end": 2488, + "start": 2168, + "end": 2169, "loc": { "start": { - "line": 65, - "column": 44 + "line": 69, + "column": 46 }, "end": { - "line": 65, - "column": 45 + "line": 69, + "column": 47 } } }, @@ -5730,17 +6115,17 @@ "postfix": false, "binop": null }, - "value": "category_id", - "start": 2488, - "end": 2499, + "value": "categoryID", + "start": 2169, + "end": 2179, "loc": { "start": { - "line": 65, - "column": 45 + "line": 69, + "column": 47 }, "end": { - "line": 65, - "column": 56 + "line": 69, + "column": 57 } } }, @@ -5758,16 +6143,16 @@ "updateContext": null }, "value": "+", - "start": 2500, - "end": 2501, + "start": 2180, + "end": 2181, "loc": { "start": { - "line": 65, - "column": 57 + "line": 69, + "column": 58 }, "end": { - "line": 65, - "column": 58 + "line": 69, + "column": 59 } } }, @@ -5785,16 +6170,16 @@ "updateContext": null }, "value": "/playlists", - "start": 2502, - "end": 2514, + "start": 2182, + "end": 2194, "loc": { "start": { - "line": 65, - "column": 59 + "line": 69, + "column": 60 }, "end": { - "line": 65, - "column": 71 + "line": 69, + "column": 72 } } }, @@ -5811,16 +6196,16 @@ "binop": null, "updateContext": null }, - "start": 2514, - "end": 2515, + "start": 2194, + "end": 2195, "loc": { "start": { - "line": 65, - "column": 71 + "line": 69, + "column": 72 }, "end": { - "line": 65, - "column": 72 + "line": 69, + "column": 73 } } }, @@ -5836,16 +6221,16 @@ "postfix": false, "binop": null }, - "start": 2516, - "end": 2517, + "start": 2196, + "end": 2197, "loc": { "start": { - "line": 65, - "column": 73 + "line": 69, + "column": 74 }, "end": { - "line": 65, - "column": 74 + "line": 69, + "column": 75 } } }, @@ -5862,16 +6247,16 @@ "binop": null }, "value": "territory", - "start": 2530, - "end": 2539, + "start": 2204, + "end": 2213, "loc": { "start": { - "line": 66, - "column": 12 + "line": 70, + "column": 6 }, "end": { - "line": 66, - "column": 21 + "line": 70, + "column": 15 } } }, @@ -5888,16 +6273,16 @@ "binop": null, "updateContext": null }, - "start": 2539, - "end": 2540, + "start": 2213, + "end": 2214, "loc": { "start": { - "line": 66, - "column": 21 + "line": 70, + "column": 15 }, "end": { - "line": 66, - "column": 22 + "line": 70, + "column": 16 } } }, @@ -5916,16 +6301,16 @@ "updateContext": null }, "value": "this", - "start": 2541, - "end": 2545, + "start": 2215, + "end": 2219, "loc": { "start": { - "line": 66, - "column": 23 + "line": 70, + "column": 17 }, "end": { - "line": 66, - "column": 27 + "line": 70, + "column": 21 } } }, @@ -5942,16 +6327,16 @@ "binop": null, "updateContext": null }, - "start": 2545, - "end": 2546, + "start": 2219, + "end": 2220, "loc": { "start": { - "line": 66, - "column": 27 + "line": 70, + "column": 21 }, "end": { - "line": 66, - "column": 28 + "line": 70, + "column": 22 } } }, @@ -5968,16 +6353,16 @@ "binop": null }, "value": "territory", - "start": 2546, - "end": 2555, + "start": 2220, + "end": 2229, "loc": { "start": { - "line": 66, - "column": 28 + "line": 70, + "column": 22 }, "end": { - "line": 66, - "column": 37 + "line": 70, + "column": 31 } } }, @@ -5994,16 +6379,16 @@ "binop": null, "updateContext": null }, - "start": 2555, - "end": 2556, + "start": 2229, + "end": 2230, "loc": { "start": { - "line": 66, - "column": 37 + "line": 70, + "column": 31 }, "end": { - "line": 66, - "column": 38 + "line": 70, + "column": 32 } } }, @@ -6020,16 +6405,16 @@ "binop": null }, "value": "limit", - "start": 2569, - "end": 2574, + "start": 2237, + "end": 2242, "loc": { "start": { - "line": 67, - "column": 12 + "line": 71, + "column": 6 }, "end": { - "line": 67, - "column": 17 + "line": 71, + "column": 11 } } }, @@ -6046,16 +6431,16 @@ "binop": null, "updateContext": null }, - "start": 2574, - "end": 2575, + "start": 2242, + "end": 2243, "loc": { "start": { - "line": 67, - "column": 17 + "line": 71, + "column": 11 }, "end": { - "line": 67, - "column": 18 + "line": 71, + "column": 12 } } }, @@ -6072,16 +6457,16 @@ "binop": null }, "value": "limit", - "start": 2576, - "end": 2581, + "start": 2244, + "end": 2249, "loc": { "start": { - "line": 67, - "column": 19 + "line": 71, + "column": 13 }, "end": { - "line": 67, - "column": 24 + "line": 71, + "column": 18 } } }, @@ -6098,16 +6483,16 @@ "binop": null, "updateContext": null }, - "start": 2581, - "end": 2582, + "start": 2249, + "end": 2250, "loc": { "start": { - "line": 67, - "column": 24 + "line": 71, + "column": 18 }, "end": { - "line": 67, - "column": 25 + "line": 71, + "column": 19 } } }, @@ -6124,16 +6509,16 @@ "binop": null }, "value": "offset", - "start": 2595, - "end": 2601, + "start": 2257, + "end": 2263, "loc": { "start": { - "line": 68, - "column": 12 + "line": 72, + "column": 6 }, "end": { - "line": 68, - "column": 18 + "line": 72, + "column": 12 } } }, @@ -6150,16 +6535,16 @@ "binop": null, "updateContext": null }, - "start": 2601, - "end": 2602, + "start": 2263, + "end": 2264, "loc": { "start": { - "line": 68, - "column": 18 + "line": 72, + "column": 12 }, "end": { - "line": 68, - "column": 19 + "line": 72, + "column": 13 } } }, @@ -6176,16 +6561,16 @@ "binop": null }, "value": "offset", - "start": 2603, - "end": 2609, + "start": 2265, + "end": 2271, "loc": { "start": { - "line": 68, - "column": 20 + "line": 72, + "column": 14 }, "end": { - "line": 68, - "column": 26 + "line": 72, + "column": 20 } } }, @@ -6201,16 +6586,16 @@ "postfix": false, "binop": null }, - "start": 2618, - "end": 2619, + "start": 2276, + "end": 2277, "loc": { "start": { - "line": 69, - "column": 8 + "line": 73, + "column": 4 }, "end": { - "line": 69, - "column": 9 + "line": 73, + "column": 5 } } }, @@ -6226,16 +6611,42 @@ "postfix": false, "binop": null }, - "start": 2619, - "end": 2620, + "start": 2277, + "end": 2278, "loc": { "start": { - "line": 69, - "column": 9 + "line": 73, + "column": 5 }, "end": { - "line": 69, - "column": 10 + "line": 73, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2278, + "end": 2279, + "loc": { + "start": { + "line": 73, + "column": 6 + }, + "end": { + "line": 73, + "column": 7 } } }, @@ -6251,16 +6662,16 @@ "postfix": false, "binop": null }, - "start": 2625, - "end": 2626, + "start": 2282, + "end": 2283, "loc": { "start": { - "line": 70, - "column": 4 + "line": 74, + "column": 2 }, "end": { - "line": 70, - "column": 5 + "line": 74, + "column": 3 } } }, @@ -6276,15 +6687,15 @@ "postfix": false, "binop": null }, - "start": 2627, - "end": 2628, + "start": 2284, + "end": 2285, "loc": { "start": { - "line": 71, + "line": 75, "column": 0 }, "end": { - "line": 71, + "line": 75, "column": 1 } } @@ -6302,16 +6713,16 @@ "binop": null, "updateContext": null }, - "start": 2628, - "end": 2628, + "start": 2286, + "end": 2286, "loc": { "start": { - "line": 71, - "column": 1 + "line": 76, + "column": 0 }, "end": { - "line": 71, - "column": 1 + "line": 76, + "column": 0 } } } diff --git a/docs/ast/source/api/FeaturedPlaylistFetcher.js.json b/docs/ast/source/api/FeaturedPlaylistFetcher.js.json index 62748eb..7d87b7c 100644 --- a/docs/ast/source/api/FeaturedPlaylistFetcher.js.json +++ b/docs/ast/source/api/FeaturedPlaylistFetcher.js.json @@ -1,29 +1,29 @@ { "type": "File", "start": 0, - "end": 1032, + "end": 922, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 32, - "column": 1 + "line": 33, + "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 1032, + "end": 922, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 32, - "column": 1 + "line": 33, + "column": 0 } }, "sourceType": "module", @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 58, + "end": 61, "loc": { "start": { "line": 1, @@ -39,36 +39,36 @@ }, "end": { "line": 1, - "column": 58 + "column": 61 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 8, - "end": 38, + "start": 9, + "end": 39, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 38 + "column": 39 } }, "imported": { "type": "Identifier", - "start": 8, - "end": 26, + "start": 9, + "end": 27, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 26 + "column": 27 }, "identifierName": "FEATURED_PLAYLISTS" }, @@ -76,16 +76,16 @@ }, "local": { "type": "Identifier", - "start": 30, - "end": 38, + "start": 31, + "end": 39, "loc": { "start": { "line": 1, - "column": 30 + "column": 31 }, "end": { "line": 1, - "column": 38 + "column": 39 }, "identifierName": "ENDPOINT" }, @@ -95,16 +95,16 @@ ], "source": { "type": "StringLiteral", - "start": 45, - "end": 58, + "start": 47, + "end": 60, "loc": { "start": { "line": 1, - "column": 45 + "column": 47 }, "end": { "line": 1, - "column": 58 + "column": 60 } }, "extra": { @@ -116,8 +116,8 @@ }, { "type": "ImportDeclaration", - "start": 59, - "end": 90, + "start": 62, + "end": 94, "loc": { "start": { "line": 2, @@ -125,14 +125,14 @@ }, "end": { "line": 2, - "column": 31 + "column": 32 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 66, - "end": 73, + "start": 69, + "end": 76, "loc": { "start": { "line": 2, @@ -145,8 +145,8 @@ }, "local": { "type": "Identifier", - "start": 66, - "end": 73, + "start": 69, + "end": 76, "loc": { "start": { "line": 2, @@ -164,8 +164,8 @@ ], "source": { "type": "StringLiteral", - "start": 79, - "end": 90, + "start": 82, + "end": 93, "loc": { "start": { "line": 2, @@ -180,16 +180,14 @@ "rawValue": "./Fetcher", "raw": "'./Fetcher'" }, - "value": "./Fetcher", - "leadingComments": null, - "trailingComments": null + "value": "./Fetcher" }, "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * List all featured playlists.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlists\n ", - "start": 92, - "end": 211, + "value": "*\n * List all featured playlists.\n * @see https://docs-en.kkbox.codes/v1.1/reference#featured-playlists\n ", + "start": 96, + "end": 205, "loc": { "start": { "line": 4, @@ -205,8 +203,8 @@ }, { "type": "ExportDefaultDeclaration", - "start": 212, - "end": 1032, + "start": 206, + "end": 921, "loc": { "start": { "line": 8, @@ -219,8 +217,8 @@ }, "declaration": { "type": "ClassDeclaration", - "start": 227, - "end": 1032, + "start": 221, + "end": 921, "loc": { "start": { "line": 8, @@ -233,8 +231,8 @@ }, "id": { "type": "Identifier", - "start": 233, - "end": 256, + "start": 227, + "end": 250, "loc": { "start": { "line": 8, @@ -251,8 +249,8 @@ }, "superClass": { "type": "Identifier", - "start": 265, - "end": 272, + "start": 259, + "end": 266, "loc": { "start": { "line": 8, @@ -268,8 +266,8 @@ }, "body": { "type": "ClassBody", - "start": 273, - "end": 1032, + "start": 267, + "end": 921, "loc": { "start": { "line": 8, @@ -283,38 +281,38 @@ "body": [ { "type": "ClassMethod", - "start": 310, - "end": 384, + "start": 296, + "end": 365, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 14, - "column": 5 + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 310, - "end": 321, + "start": 296, + "end": 307, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 12, - "column": 15 + "column": 13 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, - "static": false, "kind": "constructor", "id": null, "generator": false, @@ -323,16 +321,16 @@ "params": [ { "type": "Identifier", - "start": 322, - "end": 326, + "start": 308, + "end": 312, "loc": { "start": { "line": 12, - "column": 16 + "column": 14 }, "end": { "line": 12, - "column": 20 + "column": 18 }, "identifierName": "http" }, @@ -340,30 +338,30 @@ }, { "type": "AssignmentPattern", - "start": 328, - "end": 344, + "start": 314, + "end": 330, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 38 + "column": 36 } }, "left": { "type": "Identifier", - "start": 328, - "end": 337, + "start": 314, + "end": 323, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 31 + "column": 29 }, "identifierName": "territory" }, @@ -371,16 +369,16 @@ }, "right": { "type": "StringLiteral", - "start": 340, - "end": 344, + "start": 326, + "end": 330, "loc": { "start": { "line": 12, - "column": 34 + "column": 32 }, "end": { "line": 12, - "column": 38 + "column": 36 } }, "extra": { @@ -393,75 +391,75 @@ ], "body": { "type": "BlockStatement", - "start": 346, - "end": 384, + "start": 332, + "end": 365, "loc": { "start": { "line": 12, - "column": 40 + "column": 38 }, "end": { "line": 14, - "column": 5 + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 356, - "end": 378, + "start": 338, + "end": 361, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 30 + "column": 27 } }, "expression": { "type": "CallExpression", - "start": 356, - "end": 378, + "start": 338, + "end": 360, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 30 + "column": 26 } }, "callee": { "type": "Super", - "start": 356, - "end": 361, + "start": 338, + "end": 343, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 13 + "column": 9 } } }, "arguments": [ { "type": "Identifier", - "start": 362, - "end": 366, + "start": 344, + "end": 348, "loc": { "start": { "line": 13, - "column": 14 + "column": 10 }, "end": { "line": 13, - "column": 18 + "column": 14 }, "identifierName": "http" }, @@ -469,16 +467,16 @@ }, { "type": "Identifier", - "start": 368, - "end": 377, + "start": 350, + "end": 359, "loc": { "start": { "line": 13, - "column": 20 + "column": 16 }, "end": { "line": 13, - "column": 29 + "column": 25 }, "identifierName": "territory" }, @@ -494,17 +492,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 279, - "end": 305, + "value": "*\n * @ignore\n ", + "start": 271, + "end": 293, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } } @@ -512,17 +510,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch all featured playlists. Result will be paged.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.featuredPlaylistFetcher.fetchAllFeaturedPlaylists()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlists/endpoints/get-featured-playlists\n ", - "start": 390, - "end": 807, + "value": "*\n * Fetch all featured playlists. Result will be paged.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.featuredPlaylistFetcher.fetchAllFeaturedPlaylists();\n * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylists\n ", + "start": 369, + "end": 727, "loc": { "start": { "line": 16, - "column": 4 + "column": 2 }, "end": { "line": 24, - "column": 7 + "column": 5 } } } @@ -530,38 +528,38 @@ }, { "type": "ClassMethod", - "start": 812, - "end": 1030, + "start": 730, + "end": 919, "loc": { "start": { "line": 25, - "column": 4 + "column": 2 }, "end": { "line": 31, - "column": 5 + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 812, - "end": 837, + "start": 730, + "end": 755, "loc": { "start": { "line": 25, - "column": 4 + "column": 2 }, "end": { "line": 25, - "column": 29 + "column": 27 }, "identifierName": "fetchAllFeaturedPlaylists" }, "name": "fetchAllFeaturedPlaylists", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -570,30 +568,30 @@ "params": [ { "type": "AssignmentPattern", - "start": 838, - "end": 855, + "start": 756, + "end": 773, "loc": { "start": { "line": 25, - "column": 30 + "column": 28 }, "end": { "line": 25, - "column": 47 + "column": 45 } }, "left": { "type": "Identifier", - "start": 838, - "end": 843, + "start": 756, + "end": 761, "loc": { "start": { "line": 25, - "column": 30 + "column": 28 }, "end": { "line": 25, - "column": 35 + "column": 33 }, "identifierName": "limit" }, @@ -601,16 +599,16 @@ }, "right": { "type": "Identifier", - "start": 846, - "end": 855, + "start": 764, + "end": 773, "loc": { "start": { "line": 25, - "column": 38 + "column": 36 }, "end": { "line": 25, - "column": 47 + "column": 45 }, "identifierName": "undefined" }, @@ -619,30 +617,30 @@ }, { "type": "AssignmentPattern", - "start": 857, - "end": 875, + "start": 775, + "end": 793, "loc": { "start": { "line": 25, - "column": 49 + "column": 47 }, "end": { "line": 25, - "column": 67 + "column": 65 } }, "left": { "type": "Identifier", - "start": 857, - "end": 863, + "start": 775, + "end": 781, "loc": { "start": { "line": 25, - "column": 49 + "column": 47 }, "end": { "line": 25, - "column": 55 + "column": 53 }, "identifierName": "offset" }, @@ -650,16 +648,16 @@ }, "right": { "type": "Identifier", - "start": 866, - "end": 875, + "start": 784, + "end": 793, "loc": { "start": { "line": 25, - "column": 58 + "column": 56 }, "end": { "line": 25, - "column": 67 + "column": 65 }, "identifierName": "undefined" }, @@ -669,102 +667,102 @@ ], "body": { "type": "BlockStatement", - "start": 877, - "end": 1030, + "start": 795, + "end": 919, "loc": { "start": { "line": 25, - "column": 69 + "column": 67 }, "end": { "line": 31, - "column": 5 + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 887, - "end": 1024, + "start": 801, + "end": 915, "loc": { "start": { "line": 26, - "column": 8 + "column": 4 }, "end": { "line": 30, - "column": 10 + "column": 7 } }, "argument": { "type": "CallExpression", - "start": 894, - "end": 1024, + "start": 808, + "end": 914, "loc": { "start": { "line": 26, - "column": 15 + "column": 11 }, "end": { "line": 30, - "column": 10 + "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 894, - "end": 907, + "start": 808, + "end": 821, "loc": { "start": { "line": 26, - "column": 15 + "column": 11 }, "end": { "line": 26, - "column": 28 + "column": 24 } }, "object": { "type": "MemberExpression", - "start": 894, - "end": 903, + "start": 808, + "end": 817, "loc": { "start": { "line": 26, - "column": 15 + "column": 11 }, "end": { "line": 26, - "column": 24 + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 894, - "end": 898, + "start": 808, + "end": 812, "loc": { "start": { "line": 26, - "column": 15 + "column": 11 }, "end": { "line": 26, - "column": 19 + "column": 15 } } }, "property": { "type": "Identifier", - "start": 899, - "end": 903, + "start": 813, + "end": 817, "loc": { "start": { "line": 26, - "column": 20 + "column": 16 }, "end": { "line": 26, - "column": 24 + "column": 20 }, "identifierName": "http" }, @@ -774,16 +772,16 @@ }, "property": { "type": "Identifier", - "start": 904, - "end": 907, + "start": 818, + "end": 821, "loc": { "start": { "line": 26, - "column": 25 + "column": 21 }, "end": { "line": 26, - "column": 28 + "column": 24 }, "identifierName": "get" }, @@ -794,16 +792,16 @@ "arguments": [ { "type": "Identifier", - "start": 908, - "end": 916, + "start": 822, + "end": 830, "loc": { "start": { "line": 26, - "column": 29 + "column": 25 }, "end": { "line": 26, - "column": 37 + "column": 33 }, "identifierName": "ENDPOINT" }, @@ -811,31 +809,31 @@ }, { "type": "ObjectExpression", - "start": 918, - "end": 1023, + "start": 832, + "end": 913, "loc": { "start": { "line": 26, - "column": 39 + "column": 35 }, "end": { "line": 30, - "column": 9 + "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 932, - "end": 944, + "start": 840, + "end": 852, "loc": { "start": { "line": 27, - "column": 12 + "column": 6 }, "end": { "line": 27, - "column": 24 + "column": 18 } }, "method": false, @@ -843,16 +841,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 932, - "end": 937, + "start": 840, + "end": 845, "loc": { "start": { "line": 27, - "column": 12 + "column": 6 }, "end": { "line": 27, - "column": 17 + "column": 11 }, "identifierName": "limit" }, @@ -860,16 +858,16 @@ }, "value": { "type": "Identifier", - "start": 939, - "end": 944, + "start": 847, + "end": 852, "loc": { "start": { "line": 27, - "column": 19 + "column": 13 }, "end": { "line": 27, - "column": 24 + "column": 18 }, "identifierName": "limit" }, @@ -878,16 +876,16 @@ }, { "type": "ObjectProperty", - "start": 959, - "end": 973, + "start": 860, + "end": 874, "loc": { "start": { "line": 28, - "column": 12 + "column": 6 }, "end": { "line": 28, - "column": 26 + "column": 20 } }, "method": false, @@ -895,16 +893,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 959, - "end": 965, + "start": 860, + "end": 866, "loc": { "start": { "line": 28, - "column": 12 + "column": 6 }, "end": { "line": 28, - "column": 18 + "column": 12 }, "identifierName": "offset" }, @@ -912,16 +910,16 @@ }, "value": { "type": "Identifier", - "start": 967, - "end": 973, + "start": 868, + "end": 874, "loc": { "start": { "line": 28, - "column": 20 + "column": 14 }, "end": { "line": 28, - "column": 26 + "column": 20 }, "identifierName": "offset" }, @@ -930,16 +928,16 @@ }, { "type": "ObjectProperty", - "start": 988, - "end": 1013, + "start": 882, + "end": 907, "loc": { "start": { "line": 29, - "column": 12 + "column": 6 }, "end": { "line": 29, - "column": 37 + "column": 31 } }, "method": false, @@ -947,16 +945,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 988, - "end": 997, + "start": 882, + "end": 891, "loc": { "start": { "line": 29, - "column": 12 + "column": 6 }, "end": { "line": 29, - "column": 21 + "column": 15 }, "identifierName": "territory" }, @@ -964,45 +962,45 @@ }, "value": { "type": "MemberExpression", - "start": 999, - "end": 1013, + "start": 893, + "end": 907, "loc": { "start": { "line": 29, - "column": 23 + "column": 17 }, "end": { "line": 29, - "column": 37 + "column": 31 } }, "object": { "type": "ThisExpression", - "start": 999, - "end": 1003, + "start": 893, + "end": 897, "loc": { "start": { "line": 29, - "column": 23 + "column": 17 }, "end": { "line": 29, - "column": 27 + "column": 21 } } }, "property": { "type": "Identifier", - "start": 1004, - "end": 1013, + "start": 898, + "end": 907, "loc": { "start": { "line": 29, - "column": 28 + "column": 22 }, "end": { "line": 29, - "column": 37 + "column": 31 }, "identifierName": "territory" }, @@ -1022,17 +1020,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch all featured playlists. Result will be paged.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.featuredPlaylistFetcher.fetchAllFeaturedPlaylists()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlists/endpoints/get-featured-playlists\n ", - "start": 390, - "end": 807, + "value": "*\n * Fetch all featured playlists. Result will be paged.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.featuredPlaylistFetcher.fetchAllFeaturedPlaylists();\n * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylists\n ", + "start": 369, + "end": 727, "loc": { "start": { "line": 16, - "column": 4 + "column": 2 }, "end": { "line": 24, - "column": 7 + "column": 5 } } } @@ -1043,9 +1041,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * List all featured playlists.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlists\n ", - "start": 92, - "end": 211, + "value": "*\n * List all featured playlists.\n * @see https://docs-en.kkbox.codes/v1.1/reference#featured-playlists\n ", + "start": 96, + "end": 205, "loc": { "start": { "line": 4, @@ -1063,9 +1061,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * List all featured playlists.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlists\n ", - "start": 92, - "end": 211, + "value": "*\n * List all featured playlists.\n * @see https://docs-en.kkbox.codes/v1.1/reference#featured-playlists\n ", + "start": 96, + "end": 205, "loc": { "start": { "line": 4, @@ -1085,9 +1083,9 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * List all featured playlists.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlists\n ", - "start": 92, - "end": 211, + "value": "*\n * List all featured playlists.\n * @see https://docs-en.kkbox.codes/v1.1/reference#featured-playlists\n ", + "start": 96, + "end": 205, "loc": { "start": { "line": 4, @@ -1101,33 +1099,33 @@ }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 279, - "end": 305, + "value": "*\n * @ignore\n ", + "start": 271, + "end": 293, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch all featured playlists. Result will be paged.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.featuredPlaylistFetcher.fetchAllFeaturedPlaylists()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlists/endpoints/get-featured-playlists\n ", - "start": 390, - "end": 807, + "value": "*\n * Fetch all featured playlists. Result will be paged.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.featuredPlaylistFetcher.fetchAllFeaturedPlaylists();\n * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylists\n ", + "start": 369, + "end": 727, "loc": { "start": { "line": 16, - "column": 4 + "column": 2 }, "end": { "line": 24, - "column": 7 + "column": 5 } } } @@ -1138,7 +1136,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1199,16 +1197,16 @@ "binop": null }, "value": "FEATURED_PLAYLISTS", - "start": 8, - "end": 26, + "start": 9, + "end": 27, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 26 + "column": 27 } } }, @@ -1225,16 +1223,16 @@ "binop": null }, "value": "as", - "start": 27, - "end": 29, + "start": 28, + "end": 30, "loc": { "start": { "line": 1, - "column": 27 + "column": 28 }, "end": { "line": 1, - "column": 29 + "column": 30 } } }, @@ -1251,16 +1249,16 @@ "binop": null }, "value": "ENDPOINT", - "start": 30, - "end": 38, + "start": 31, + "end": 39, "loc": { "start": { "line": 1, - "column": 30 + "column": 31 }, "end": { "line": 1, - "column": 38 + "column": 39 } } }, @@ -1276,16 +1274,16 @@ "postfix": false, "binop": null }, - "start": 38, - "end": 39, + "start": 40, + "end": 41, "loc": { "start": { "line": 1, - "column": 38 + "column": 40 }, "end": { "line": 1, - "column": 39 + "column": 41 } } }, @@ -1302,16 +1300,16 @@ "binop": null }, "value": "from", - "start": 40, - "end": 44, + "start": 42, + "end": 46, "loc": { "start": { "line": 1, - "column": 40 + "column": 42 }, "end": { "line": 1, - "column": 44 + "column": 46 } } }, @@ -1329,16 +1327,42 @@ "updateContext": null }, "value": "../Endpoint", - "start": 45, - "end": 58, + "start": 47, + "end": 60, "loc": { "start": { "line": 1, - "column": 45 + "column": 47 + }, + "end": { + "line": 1, + "column": 60 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 60, + "end": 61, + "loc": { + "start": { + "line": 1, + "column": 60 }, "end": { "line": 1, - "column": 58 + "column": 61 } } }, @@ -1347,7 +1371,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1357,8 +1381,8 @@ "updateContext": null }, "value": "import", - "start": 59, - "end": 65, + "start": 62, + "end": 68, "loc": { "start": { "line": 2, @@ -1383,8 +1407,8 @@ "binop": null }, "value": "Fetcher", - "start": 66, - "end": 73, + "start": 69, + "end": 76, "loc": { "start": { "line": 2, @@ -1409,8 +1433,8 @@ "binop": null }, "value": "from", - "start": 74, - "end": 78, + "start": 77, + "end": 81, "loc": { "start": { "line": 2, @@ -1436,8 +1460,8 @@ "updateContext": null }, "value": "./Fetcher", - "start": 79, - "end": 90, + "start": 82, + "end": 93, "loc": { "start": { "line": 2, @@ -1449,11 +1473,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 93, + "end": 94, + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 32 + } + } + }, { "type": "CommentBlock", - "value": "*\n * List all featured playlists.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlists\n ", - "start": 92, - "end": 211, + "value": "*\n * List all featured playlists.\n * @see https://docs-en.kkbox.codes/v1.1/reference#featured-playlists\n ", + "start": 96, + "end": 205, "loc": { "start": { "line": 4, @@ -1480,8 +1530,8 @@ "updateContext": null }, "value": "export", - "start": 212, - "end": 218, + "start": 206, + "end": 212, "loc": { "start": { "line": 8, @@ -1508,8 +1558,8 @@ "updateContext": null }, "value": "default", - "start": 219, - "end": 226, + "start": 213, + "end": 220, "loc": { "start": { "line": 8, @@ -1536,8 +1586,8 @@ "updateContext": null }, "value": "class", - "start": 227, - "end": 232, + "start": 221, + "end": 226, "loc": { "start": { "line": 8, @@ -1562,8 +1612,8 @@ "binop": null }, "value": "FeaturedPlaylistFetcher", - "start": 233, - "end": 256, + "start": 227, + "end": 250, "loc": { "start": { "line": 8, @@ -1590,8 +1640,8 @@ "updateContext": null }, "value": "extends", - "start": 257, - "end": 264, + "start": 251, + "end": 258, "loc": { "start": { "line": 8, @@ -1616,8 +1666,8 @@ "binop": null }, "value": "Fetcher", - "start": 265, - "end": 272, + "start": 259, + "end": 266, "loc": { "start": { "line": 8, @@ -1641,8 +1691,8 @@ "postfix": false, "binop": null }, - "start": 273, - "end": 274, + "start": 267, + "end": 268, "loc": { "start": { "line": 8, @@ -1656,17 +1706,17 @@ }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 279, - "end": 305, + "value": "*\n * @ignore\n ", + "start": 271, + "end": 293, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } }, @@ -1683,16 +1733,16 @@ "binop": null }, "value": "constructor", - "start": 310, - "end": 321, + "start": 296, + "end": 307, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 12, - "column": 15 + "column": 13 } } }, @@ -1708,16 +1758,16 @@ "postfix": false, "binop": null }, - "start": 321, - "end": 322, + "start": 307, + "end": 308, "loc": { "start": { "line": 12, - "column": 15 + "column": 13 }, "end": { "line": 12, - "column": 16 + "column": 14 } } }, @@ -1734,16 +1784,16 @@ "binop": null }, "value": "http", - "start": 322, - "end": 326, + "start": 308, + "end": 312, "loc": { "start": { "line": 12, - "column": 16 + "column": 14 }, "end": { "line": 12, - "column": 20 + "column": 18 } } }, @@ -1760,16 +1810,16 @@ "binop": null, "updateContext": null }, - "start": 326, - "end": 327, + "start": 312, + "end": 313, "loc": { "start": { "line": 12, - "column": 20 + "column": 18 }, "end": { "line": 12, - "column": 21 + "column": 19 } } }, @@ -1786,16 +1836,16 @@ "binop": null }, "value": "territory", - "start": 328, - "end": 337, + "start": 314, + "end": 323, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 31 + "column": 29 } } }, @@ -1813,16 +1863,16 @@ "updateContext": null }, "value": "=", - "start": 338, - "end": 339, + "start": 324, + "end": 325, "loc": { "start": { "line": 12, - "column": 32 + "column": 30 }, "end": { "line": 12, - "column": 33 + "column": 31 } } }, @@ -1840,16 +1890,16 @@ "updateContext": null }, "value": "TW", - "start": 340, - "end": 344, + "start": 326, + "end": 330, "loc": { "start": { "line": 12, - "column": 34 + "column": 32 }, "end": { "line": 12, - "column": 38 + "column": 36 } } }, @@ -1865,16 +1915,16 @@ "postfix": false, "binop": null }, - "start": 344, - "end": 345, + "start": 330, + "end": 331, "loc": { "start": { "line": 12, - "column": 38 + "column": 36 }, "end": { "line": 12, - "column": 39 + "column": 37 } } }, @@ -1890,16 +1940,16 @@ "postfix": false, "binop": null }, - "start": 346, - "end": 347, + "start": 332, + "end": 333, "loc": { "start": { "line": 12, - "column": 40 + "column": 38 }, "end": { "line": 12, - "column": 41 + "column": 39 } } }, @@ -1918,16 +1968,16 @@ "updateContext": null }, "value": "super", - "start": 356, - "end": 361, + "start": 338, + "end": 343, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 13 + "column": 9 } } }, @@ -1943,16 +1993,16 @@ "postfix": false, "binop": null }, - "start": 361, - "end": 362, + "start": 343, + "end": 344, "loc": { "start": { "line": 13, - "column": 13 + "column": 9 }, "end": { "line": 13, - "column": 14 + "column": 10 } } }, @@ -1969,16 +2019,16 @@ "binop": null }, "value": "http", - "start": 362, - "end": 366, + "start": 344, + "end": 348, "loc": { "start": { "line": 13, - "column": 14 + "column": 10 }, "end": { "line": 13, - "column": 18 + "column": 14 } } }, @@ -1995,16 +2045,16 @@ "binop": null, "updateContext": null }, - "start": 366, - "end": 367, + "start": 348, + "end": 349, "loc": { "start": { "line": 13, - "column": 18 + "column": 14 }, "end": { "line": 13, - "column": 19 + "column": 15 } } }, @@ -2021,16 +2071,16 @@ "binop": null }, "value": "territory", - "start": 368, - "end": 377, + "start": 350, + "end": 359, "loc": { "start": { "line": 13, - "column": 20 + "column": 16 }, "end": { "line": 13, - "column": 29 + "column": 25 } } }, @@ -2046,16 +2096,42 @@ "postfix": false, "binop": null }, - "start": 377, - "end": 378, + "start": 359, + "end": 360, "loc": { "start": { "line": 13, - "column": 29 + "column": 25 }, "end": { "line": 13, - "column": 30 + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 360, + "end": 361, + "loc": { + "start": { + "line": 13, + "column": 26 + }, + "end": { + "line": 13, + "column": 27 } } }, @@ -2071,32 +2147,32 @@ "postfix": false, "binop": null }, - "start": 383, - "end": 384, + "start": 364, + "end": 365, "loc": { "start": { "line": 14, - "column": 4 + "column": 2 }, "end": { "line": 14, - "column": 5 + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch all featured playlists. Result will be paged.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.featuredPlaylistFetcher.fetchAllFeaturedPlaylists()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlists/endpoints/get-featured-playlists\n ", - "start": 390, - "end": 807, + "value": "*\n * Fetch all featured playlists. Result will be paged.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.featuredPlaylistFetcher.fetchAllFeaturedPlaylists();\n * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylists\n ", + "start": 369, + "end": 727, "loc": { "start": { "line": 16, - "column": 4 + "column": 2 }, "end": { "line": 24, - "column": 7 + "column": 5 } } }, @@ -2113,16 +2189,16 @@ "binop": null }, "value": "fetchAllFeaturedPlaylists", - "start": 812, - "end": 837, + "start": 730, + "end": 755, "loc": { "start": { "line": 25, - "column": 4 + "column": 2 }, "end": { "line": 25, - "column": 29 + "column": 27 } } }, @@ -2138,16 +2214,16 @@ "postfix": false, "binop": null }, - "start": 837, - "end": 838, + "start": 755, + "end": 756, "loc": { "start": { "line": 25, - "column": 29 + "column": 27 }, "end": { "line": 25, - "column": 30 + "column": 28 } } }, @@ -2164,16 +2240,16 @@ "binop": null }, "value": "limit", - "start": 838, - "end": 843, + "start": 756, + "end": 761, "loc": { "start": { "line": 25, - "column": 30 + "column": 28 }, "end": { "line": 25, - "column": 35 + "column": 33 } } }, @@ -2191,16 +2267,16 @@ "updateContext": null }, "value": "=", - "start": 844, - "end": 845, + "start": 762, + "end": 763, "loc": { "start": { "line": 25, - "column": 36 + "column": 34 }, "end": { "line": 25, - "column": 37 + "column": 35 } } }, @@ -2217,16 +2293,16 @@ "binop": null }, "value": "undefined", - "start": 846, - "end": 855, + "start": 764, + "end": 773, "loc": { "start": { "line": 25, - "column": 38 + "column": 36 }, "end": { "line": 25, - "column": 47 + "column": 45 } } }, @@ -2243,16 +2319,16 @@ "binop": null, "updateContext": null }, - "start": 855, - "end": 856, + "start": 773, + "end": 774, "loc": { "start": { "line": 25, - "column": 47 + "column": 45 }, "end": { "line": 25, - "column": 48 + "column": 46 } } }, @@ -2269,16 +2345,16 @@ "binop": null }, "value": "offset", - "start": 857, - "end": 863, + "start": 775, + "end": 781, "loc": { "start": { "line": 25, - "column": 49 + "column": 47 }, "end": { "line": 25, - "column": 55 + "column": 53 } } }, @@ -2296,16 +2372,16 @@ "updateContext": null }, "value": "=", - "start": 864, - "end": 865, + "start": 782, + "end": 783, "loc": { "start": { "line": 25, - "column": 56 + "column": 54 }, "end": { "line": 25, - "column": 57 + "column": 55 } } }, @@ -2322,16 +2398,16 @@ "binop": null }, "value": "undefined", - "start": 866, - "end": 875, + "start": 784, + "end": 793, "loc": { "start": { "line": 25, - "column": 58 + "column": 56 }, "end": { "line": 25, - "column": 67 + "column": 65 } } }, @@ -2347,16 +2423,16 @@ "postfix": false, "binop": null }, - "start": 875, - "end": 876, + "start": 793, + "end": 794, "loc": { "start": { "line": 25, - "column": 67 + "column": 65 }, "end": { "line": 25, - "column": 68 + "column": 66 } } }, @@ -2372,16 +2448,16 @@ "postfix": false, "binop": null }, - "start": 877, - "end": 878, + "start": 795, + "end": 796, "loc": { "start": { "line": 25, - "column": 69 + "column": 67 }, "end": { "line": 25, - "column": 70 + "column": 68 } } }, @@ -2400,16 +2476,16 @@ "updateContext": null }, "value": "return", - "start": 887, - "end": 893, + "start": 801, + "end": 807, "loc": { "start": { "line": 26, - "column": 8 + "column": 4 }, "end": { "line": 26, - "column": 14 + "column": 10 } } }, @@ -2428,16 +2504,16 @@ "updateContext": null }, "value": "this", - "start": 894, - "end": 898, + "start": 808, + "end": 812, "loc": { "start": { "line": 26, - "column": 15 + "column": 11 }, "end": { "line": 26, - "column": 19 + "column": 15 } } }, @@ -2454,16 +2530,16 @@ "binop": null, "updateContext": null }, - "start": 898, - "end": 899, + "start": 812, + "end": 813, "loc": { "start": { "line": 26, - "column": 19 + "column": 15 }, "end": { "line": 26, - "column": 20 + "column": 16 } } }, @@ -2480,16 +2556,16 @@ "binop": null }, "value": "http", - "start": 899, - "end": 903, + "start": 813, + "end": 817, "loc": { "start": { "line": 26, - "column": 20 + "column": 16 }, "end": { "line": 26, - "column": 24 + "column": 20 } } }, @@ -2506,16 +2582,16 @@ "binop": null, "updateContext": null }, - "start": 903, - "end": 904, + "start": 817, + "end": 818, "loc": { "start": { "line": 26, - "column": 24 + "column": 20 }, "end": { "line": 26, - "column": 25 + "column": 21 } } }, @@ -2532,16 +2608,16 @@ "binop": null }, "value": "get", - "start": 904, - "end": 907, + "start": 818, + "end": 821, "loc": { "start": { "line": 26, - "column": 25 + "column": 21 }, "end": { "line": 26, - "column": 28 + "column": 24 } } }, @@ -2557,16 +2633,16 @@ "postfix": false, "binop": null }, - "start": 907, - "end": 908, + "start": 821, + "end": 822, "loc": { "start": { "line": 26, - "column": 28 + "column": 24 }, "end": { "line": 26, - "column": 29 + "column": 25 } } }, @@ -2583,16 +2659,16 @@ "binop": null }, "value": "ENDPOINT", - "start": 908, - "end": 916, + "start": 822, + "end": 830, "loc": { "start": { "line": 26, - "column": 29 + "column": 25 }, "end": { "line": 26, - "column": 37 + "column": 33 } } }, @@ -2609,16 +2685,16 @@ "binop": null, "updateContext": null }, - "start": 916, - "end": 917, + "start": 830, + "end": 831, "loc": { "start": { "line": 26, - "column": 37 + "column": 33 }, "end": { "line": 26, - "column": 38 + "column": 34 } } }, @@ -2634,16 +2710,16 @@ "postfix": false, "binop": null }, - "start": 918, - "end": 919, + "start": 832, + "end": 833, "loc": { "start": { "line": 26, - "column": 39 + "column": 35 }, "end": { "line": 26, - "column": 40 + "column": 36 } } }, @@ -2660,16 +2736,16 @@ "binop": null }, "value": "limit", - "start": 932, - "end": 937, + "start": 840, + "end": 845, "loc": { "start": { "line": 27, - "column": 12 + "column": 6 }, "end": { "line": 27, - "column": 17 + "column": 11 } } }, @@ -2686,16 +2762,16 @@ "binop": null, "updateContext": null }, - "start": 937, - "end": 938, + "start": 845, + "end": 846, "loc": { "start": { "line": 27, - "column": 17 + "column": 11 }, "end": { "line": 27, - "column": 18 + "column": 12 } } }, @@ -2712,16 +2788,16 @@ "binop": null }, "value": "limit", - "start": 939, - "end": 944, + "start": 847, + "end": 852, "loc": { "start": { "line": 27, - "column": 19 + "column": 13 }, "end": { "line": 27, - "column": 24 + "column": 18 } } }, @@ -2738,16 +2814,16 @@ "binop": null, "updateContext": null }, - "start": 944, - "end": 945, + "start": 852, + "end": 853, "loc": { "start": { "line": 27, - "column": 24 + "column": 18 }, "end": { "line": 27, - "column": 25 + "column": 19 } } }, @@ -2764,16 +2840,16 @@ "binop": null }, "value": "offset", - "start": 959, - "end": 965, + "start": 860, + "end": 866, "loc": { "start": { "line": 28, - "column": 12 + "column": 6 }, "end": { "line": 28, - "column": 18 + "column": 12 } } }, @@ -2790,16 +2866,16 @@ "binop": null, "updateContext": null }, - "start": 965, - "end": 966, + "start": 866, + "end": 867, "loc": { "start": { "line": 28, - "column": 18 + "column": 12 }, "end": { "line": 28, - "column": 19 + "column": 13 } } }, @@ -2816,16 +2892,16 @@ "binop": null }, "value": "offset", - "start": 967, - "end": 973, + "start": 868, + "end": 874, "loc": { "start": { "line": 28, - "column": 20 + "column": 14 }, "end": { "line": 28, - "column": 26 + "column": 20 } } }, @@ -2842,16 +2918,16 @@ "binop": null, "updateContext": null }, - "start": 973, - "end": 974, + "start": 874, + "end": 875, "loc": { "start": { "line": 28, - "column": 26 + "column": 20 }, "end": { "line": 28, - "column": 27 + "column": 21 } } }, @@ -2868,16 +2944,16 @@ "binop": null }, "value": "territory", - "start": 988, - "end": 997, + "start": 882, + "end": 891, "loc": { "start": { "line": 29, - "column": 12 + "column": 6 }, "end": { "line": 29, - "column": 21 + "column": 15 } } }, @@ -2894,16 +2970,16 @@ "binop": null, "updateContext": null }, - "start": 997, - "end": 998, + "start": 891, + "end": 892, "loc": { "start": { "line": 29, - "column": 21 + "column": 15 }, "end": { "line": 29, - "column": 22 + "column": 16 } } }, @@ -2922,16 +2998,16 @@ "updateContext": null }, "value": "this", - "start": 999, - "end": 1003, + "start": 893, + "end": 897, "loc": { "start": { "line": 29, - "column": 23 + "column": 17 }, "end": { "line": 29, - "column": 27 + "column": 21 } } }, @@ -2948,16 +3024,16 @@ "binop": null, "updateContext": null }, - "start": 1003, - "end": 1004, + "start": 897, + "end": 898, "loc": { "start": { "line": 29, - "column": 27 + "column": 21 }, "end": { "line": 29, - "column": 28 + "column": 22 } } }, @@ -2974,16 +3050,16 @@ "binop": null }, "value": "territory", - "start": 1004, - "end": 1013, + "start": 898, + "end": 907, "loc": { "start": { "line": 29, - "column": 28 + "column": 22 }, "end": { "line": 29, - "column": 37 + "column": 31 } } }, @@ -2999,16 +3075,16 @@ "postfix": false, "binop": null }, - "start": 1022, - "end": 1023, + "start": 912, + "end": 913, "loc": { "start": { "line": 30, - "column": 8 + "column": 4 }, "end": { "line": 30, - "column": 9 + "column": 5 } } }, @@ -3024,16 +3100,42 @@ "postfix": false, "binop": null }, - "start": 1023, - "end": 1024, + "start": 913, + "end": 914, "loc": { "start": { "line": 30, - "column": 9 + "column": 5 }, "end": { "line": 30, - "column": 10 + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 914, + "end": 915, + "loc": { + "start": { + "line": 30, + "column": 6 + }, + "end": { + "line": 30, + "column": 7 } } }, @@ -3049,16 +3151,16 @@ "postfix": false, "binop": null }, - "start": 1029, - "end": 1030, + "start": 918, + "end": 919, "loc": { "start": { "line": 31, - "column": 4 + "column": 2 }, "end": { "line": 31, - "column": 5 + "column": 3 } } }, @@ -3074,8 +3176,8 @@ "postfix": false, "binop": null }, - "start": 1031, - "end": 1032, + "start": 920, + "end": 921, "loc": { "start": { "line": 32, @@ -3100,16 +3202,16 @@ "binop": null, "updateContext": null }, - "start": 1032, - "end": 1032, + "start": 922, + "end": 922, "loc": { "start": { - "line": 32, - "column": 1 + "line": 33, + "column": 0 }, "end": { - "line": 32, - "column": 1 + "line": 33, + "column": 0 } } } diff --git a/docs/ast/source/api/Fetcher.js.json b/docs/ast/source/api/Fetcher.js.json index a177c15..5e7b308 100644 --- a/docs/ast/source/api/Fetcher.js.json +++ b/docs/ast/source/api/Fetcher.js.json @@ -1,29 +1,29 @@ { "type": "File", "start": 0, - "end": 2959, + "end": 2921, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 88, - "column": 1 + "line": 99, + "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 2959, + "end": 2921, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 88, - "column": 1 + "line": 99, + "column": 0 } }, "sourceType": "module", @@ -31,28 +31,28 @@ { "type": "ExportDefaultDeclaration", "start": 29, - "end": 2959, + "end": 2920, "loc": { "start": { "line": 4, "column": 0 }, "end": { - "line": 88, + "line": 98, "column": 1 } }, "declaration": { "type": "ClassDeclaration", "start": 44, - "end": 2959, + "end": 2920, "loc": { "start": { "line": 4, "column": 15 }, "end": { - "line": 88, + "line": 98, "column": 1 } }, @@ -78,52 +78,52 @@ "body": { "type": "ClassBody", "start": 58, - "end": 2959, + "end": 2920, "loc": { "start": { "line": 4, "column": 29 }, "end": { - "line": 88, + "line": 98, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 219, - "end": 409, + "start": 202, + "end": 360, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 19, - "column": 5 + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 219, - "end": 230, + "start": 202, + "end": 213, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 9, - "column": 15 + "column": 13 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, - "static": false, "kind": "constructor", "id": null, "generator": false, @@ -132,16 +132,16 @@ "params": [ { "type": "Identifier", - "start": 231, - "end": 235, + "start": 214, + "end": 218, "loc": { "start": { "line": 9, - "column": 16 + "column": 14 }, "end": { "line": 9, - "column": 20 + "column": 18 }, "identifierName": "http" }, @@ -149,30 +149,30 @@ }, { "type": "AssignmentPattern", - "start": 237, - "end": 253, + "start": 220, + "end": 236, "loc": { "start": { "line": 9, - "column": 22 + "column": 20 }, "end": { "line": 9, - "column": 38 + "column": 36 } }, "left": { "type": "Identifier", - "start": 237, - "end": 246, + "start": 220, + "end": 229, "loc": { "start": { "line": 9, - "column": 22 + "column": 20 }, "end": { "line": 9, - "column": 31 + "column": 29 }, "identifierName": "territory" }, @@ -180,16 +180,16 @@ }, "right": { "type": "StringLiteral", - "start": 249, - "end": 253, + "start": 232, + "end": 236, "loc": { "start": { "line": 9, - "column": 34 + "column": 32 }, "end": { "line": 9, - "column": 38 + "column": 36 } }, "extra": { @@ -202,90 +202,90 @@ ], "body": { "type": "BlockStatement", - "start": 255, - "end": 409, + "start": 238, + "end": 360, "loc": { "start": { "line": 9, - "column": 40 + "column": 38 }, "end": { "line": 19, - "column": 5 + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 308, - "end": 324, + "start": 275, + "end": 292, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 24 + "column": 21 } }, "expression": { "type": "AssignmentExpression", - "start": 308, - "end": 324, + "start": 275, + "end": 291, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 24 + "column": 20 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 308, - "end": 317, + "start": 275, + "end": 284, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 17 + "column": 13 } }, "object": { "type": "ThisExpression", - "start": 308, - "end": 312, + "start": 275, + "end": 279, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 12 + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 313, - "end": 317, + "start": 280, + "end": 284, "loc": { "start": { "line": 13, - "column": 13 + "column": 9 }, "end": { "line": 13, - "column": 17 + "column": 13 }, "identifierName": "http" }, @@ -296,40 +296,37 @@ }, "right": { "type": "Identifier", - "start": 320, - "end": 324, + "start": 287, + "end": 291, "loc": { "start": { "line": 13, - "column": 20 + "column": 16 }, "end": { "line": 13, - "column": 24 + "column": 20 }, "identifierName": "http" }, - "name": "http", - "leadingComments": null, - "trailingComments": null + "name": "http" }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 265, - "end": 299, + "value": "*\n * @ignore\n ", + "start": 244, + "end": 270, "loc": { "start": { "line": 10, - "column": 8 + "column": 4 }, "end": { "line": 12, - "column": 11 + "column": 7 } } } @@ -337,17 +334,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 334, - "end": 368, + "value": "*\n * @ignore\n ", + "start": 298, + "end": 324, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } } @@ -355,75 +352,75 @@ }, { "type": "ExpressionStatement", - "start": 377, - "end": 403, + "start": 329, + "end": 356, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 34 + "column": 31 } }, "expression": { "type": "AssignmentExpression", - "start": 377, - "end": 403, + "start": 329, + "end": 355, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 34 + "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 377, - "end": 391, + "start": 329, + "end": 343, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 22 + "column": 18 } }, "object": { "type": "ThisExpression", - "start": 377, - "end": 381, + "start": 329, + "end": 333, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 12 + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 382, - "end": 391, + "start": 334, + "end": 343, "loc": { "start": { "line": 18, - "column": 13 + "column": 9 }, "end": { "line": 18, - "column": 22 + "column": 18 }, "identifierName": "territory" }, @@ -434,16 +431,16 @@ }, "right": { "type": "Identifier", - "start": 394, - "end": 403, + "start": 346, + "end": 355, "loc": { "start": { "line": 18, - "column": 25 + "column": 21 }, "end": { "line": 18, - "column": 34 + "column": 30 }, "identifierName": "territory" }, @@ -454,17 +451,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 334, - "end": 368, + "value": "*\n * @ignore\n ", + "start": 298, + "end": 324, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } } @@ -477,17 +474,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "* \n * @param {Http} http \n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.\n ", - "start": 64, - "end": 214, + "value": "*\n * @param {Http} http\n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.\n ", + "start": 62, + "end": 199, "loc": { "start": { "line": 5, - "column": 4 + "column": 2 }, "end": { "line": 8, - "column": 7 + "column": 5 } } } @@ -495,17 +492,257 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Gets an object's nested property by path.\n * @ignore\n ", - "start": 415, - "end": 490, + "value": "*\n * Set the fetcher's territory.\n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.\n * @return {Fetcher}\n ", + "start": 364, + "end": 534, + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 25, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 537, + "end": 615, + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 29, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 537, + "end": 549, + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 26, + "column": 14 + }, + "identifierName": "setTerritory" + }, + "name": "setTerritory", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 550, + "end": 559, + "loc": { + "start": { + "line": 26, + "column": 15 + }, + "end": { + "line": 26, + "column": 24 + }, + "identifierName": "territory" + }, + "name": "territory" + } + ], + "body": { + "type": "BlockStatement", + "start": 561, + "end": 615, + "loc": { + "start": { + "line": 26, + "column": 26 + }, + "end": { + "line": 29, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 567, + "end": 594, + "loc": { + "start": { + "line": 27, + "column": 4 + }, + "end": { + "line": 27, + "column": 31 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 567, + "end": 593, + "loc": { + "start": { + "line": 27, + "column": 4 + }, + "end": { + "line": 27, + "column": 30 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 567, + "end": 581, + "loc": { + "start": { + "line": 27, + "column": 4 + }, + "end": { + "line": 27, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 567, + "end": 571, + "loc": { + "start": { + "line": 27, + "column": 4 + }, + "end": { + "line": 27, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 572, + "end": 581, + "loc": { + "start": { + "line": 27, + "column": 9 + }, + "end": { + "line": 27, + "column": 18 + }, + "identifierName": "territory" + }, + "name": "territory" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 584, + "end": 593, + "loc": { + "start": { + "line": 27, + "column": 21 + }, + "end": { + "line": 27, + "column": 30 + }, + "identifierName": "territory" + }, + "name": "territory" + } + } + }, + { + "type": "ReturnStatement", + "start": 599, + "end": 611, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 16 + } + }, + "argument": { + "type": "ThisExpression", + "start": 606, + "end": 610, + "loc": { + "start": { + "line": 28, + "column": 11 + }, + "end": { + "line": 28, + "column": 15 + } + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the fetcher's territory.\n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.\n * @return {Fetcher}\n ", + "start": 364, + "end": 534, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 + }, + "end": { + "line": 25, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Gets an object's nested property by path.\n * @ignore\n ", + "start": 619, + "end": 688, + "loc": { + "start": { + "line": 31, + "column": 2 }, "end": { - "line": 24, - "column": 7 + "line": 34, + "column": 5 } } } @@ -513,38 +750,38 @@ }, { "type": "ClassMethod", - "start": 495, - "end": 975, + "start": 691, + "end": 1095, "loc": { "start": { - "line": 25, - "column": 4 + "line": 35, + "column": 2 }, "end": { - "line": 38, - "column": 5 + "line": 48, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 495, - "end": 512, + "start": 691, + "end": 708, "loc": { "start": { - "line": 25, - "column": 4 + "line": 35, + "column": 2 }, "end": { - "line": 25, - "column": 21 + "line": 35, + "column": 19 }, "identifierName": "getPropertyByPath" }, "name": "getPropertyByPath", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -553,16 +790,16 @@ "params": [ { "type": "Identifier", - "start": 513, - "end": 519, + "start": 709, + "end": 715, "loc": { "start": { - "line": 25, - "column": 22 + "line": 35, + "column": 20 }, "end": { - "line": 25, - "column": 28 + "line": 35, + "column": 26 }, "identifierName": "object" }, @@ -570,16 +807,16 @@ }, { "type": "Identifier", - "start": 521, - "end": 525, + "start": 717, + "end": 721, "loc": { "start": { - "line": 25, - "column": 30 + "line": 35, + "column": 28 }, "end": { - "line": 25, - "column": 34 + "line": 35, + "column": 32 }, "identifierName": "path" }, @@ -588,60 +825,60 @@ ], "body": { "type": "BlockStatement", - "start": 527, - "end": 975, + "start": 723, + "end": 1095, "loc": { "start": { - "line": 25, - "column": 36 + "line": 35, + "column": 34 }, "end": { - "line": 38, - "column": 5 + "line": 48, + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 537, - "end": 578, + "start": 729, + "end": 770, "loc": { "start": { - "line": 26, - "column": 8 + "line": 36, + "column": 4 }, "end": { - "line": 26, - "column": 49 + "line": 36, + "column": 45 } }, "expression": { "type": "AssignmentExpression", - "start": 537, - "end": 577, + "start": 729, + "end": 769, "loc": { "start": { - "line": 26, - "column": 8 + "line": 36, + "column": 4 }, "end": { - "line": 26, - "column": 48 + "line": 36, + "column": 44 } }, "operator": "=", "left": { "type": "Identifier", - "start": 537, - "end": 541, + "start": 729, + "end": 733, "loc": { "start": { - "line": 26, - "column": 8 + "line": 36, + "column": 4 }, "end": { - "line": 26, - "column": 12 + "line": 36, + "column": 8 }, "identifierName": "path" }, @@ -649,44 +886,44 @@ }, "right": { "type": "CallExpression", - "start": 544, - "end": 577, + "start": 736, + "end": 769, "loc": { "start": { - "line": 26, - "column": 15 + "line": 36, + "column": 11 }, "end": { - "line": 26, - "column": 48 + "line": 36, + "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 544, - "end": 556, + "start": 736, + "end": 748, "loc": { "start": { - "line": 26, - "column": 15 + "line": 36, + "column": 11 }, "end": { - "line": 26, - "column": 27 + "line": 36, + "column": 23 } }, "object": { "type": "Identifier", - "start": 544, - "end": 548, + "start": 736, + "end": 740, "loc": { "start": { - "line": 26, - "column": 15 + "line": 36, + "column": 11 }, "end": { - "line": 26, - "column": 19 + "line": 36, + "column": 15 }, "identifierName": "path" }, @@ -694,16 +931,16 @@ }, "property": { "type": "Identifier", - "start": 549, - "end": 556, + "start": 741, + "end": 748, "loc": { "start": { - "line": 26, - "column": 20 + "line": 36, + "column": 16 }, "end": { - "line": 26, - "column": 27 + "line": 36, + "column": 23 }, "identifierName": "replace" }, @@ -714,16 +951,16 @@ "arguments": [ { "type": "RegExpLiteral", - "start": 557, - "end": 569, + "start": 749, + "end": 761, "loc": { "start": { - "line": 26, - "column": 28 + "line": 36, + "column": 24 }, "end": { - "line": 26, - "column": 40 + "line": 36, + "column": 36 } }, "extra": { @@ -734,16 +971,16 @@ }, { "type": "StringLiteral", - "start": 571, - "end": 576, + "start": 763, + "end": 768, "loc": { "start": { - "line": 26, - "column": 42 + "line": 36, + "column": 38 }, "end": { - "line": 26, - "column": 47 + "line": 36, + "column": 43 } }, "extra": { @@ -759,16 +996,16 @@ { "type": "CommentLine", "value": " convert indexes to properties", - "start": 579, - "end": 611, + "start": 771, + "end": 803, "loc": { "start": { - "line": 26, - "column": 50 + "line": 36, + "column": 46 }, "end": { - "line": 26, - "column": 82 + "line": 36, + "column": 78 } } } @@ -776,45 +1013,45 @@ }, { "type": "ExpressionStatement", - "start": 620, - "end": 651, + "start": 808, + "end": 839, "loc": { "start": { - "line": 27, - "column": 8 + "line": 37, + "column": 4 }, "end": { - "line": 27, - "column": 39 + "line": 37, + "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 620, - "end": 650, + "start": 808, + "end": 838, "loc": { "start": { - "line": 27, - "column": 8 + "line": 37, + "column": 4 }, "end": { - "line": 27, - "column": 38 + "line": 37, + "column": 34 } }, "operator": "=", "left": { "type": "Identifier", - "start": 620, - "end": 624, + "start": 808, + "end": 812, "loc": { "start": { - "line": 27, - "column": 8 + "line": 37, + "column": 4 }, "end": { - "line": 27, - "column": 12 + "line": 37, + "column": 8 }, "identifierName": "path" }, @@ -823,44 +1060,44 @@ }, "right": { "type": "CallExpression", - "start": 627, - "end": 650, + "start": 815, + "end": 838, "loc": { "start": { - "line": 27, - "column": 15 + "line": 37, + "column": 11 }, "end": { - "line": 27, - "column": 38 + "line": 37, + "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 627, - "end": 639, + "start": 815, + "end": 827, "loc": { "start": { - "line": 27, - "column": 15 + "line": 37, + "column": 11 }, "end": { - "line": 27, - "column": 27 + "line": 37, + "column": 23 } }, "object": { "type": "Identifier", - "start": 627, - "end": 631, + "start": 815, + "end": 819, "loc": { "start": { - "line": 27, - "column": 15 + "line": 37, + "column": 11 }, "end": { - "line": 27, - "column": 19 + "line": 37, + "column": 15 }, "identifierName": "path" }, @@ -868,16 +1105,16 @@ }, "property": { "type": "Identifier", - "start": 632, - "end": 639, + "start": 820, + "end": 827, "loc": { "start": { - "line": 27, - "column": 20 + "line": 37, + "column": 16 }, "end": { - "line": 27, - "column": 27 + "line": 37, + "column": 23 }, "identifierName": "replace" }, @@ -888,16 +1125,16 @@ "arguments": [ { "type": "RegExpLiteral", - "start": 640, - "end": 645, + "start": 828, + "end": 833, "loc": { "start": { - "line": 27, - "column": 28 + "line": 37, + "column": 24 }, "end": { - "line": 27, - "column": 33 + "line": 37, + "column": 29 } }, "extra": { @@ -908,16 +1145,16 @@ }, { "type": "StringLiteral", - "start": 647, - "end": 649, + "start": 835, + "end": 837, "loc": { "start": { - "line": 27, - "column": 35 + "line": 37, + "column": 31 }, "end": { - "line": 27, - "column": 37 + "line": 37, + "column": 33 } }, "extra": { @@ -934,16 +1171,16 @@ { "type": "CommentLine", "value": " convert indexes to properties", - "start": 579, - "end": 611, + "start": 771, + "end": 803, "loc": { "start": { - "line": 26, - "column": 50 + "line": 36, + "column": 46 }, "end": { - "line": 26, - "column": 82 + "line": 36, + "column": 78 } } } @@ -952,16 +1189,16 @@ { "type": "CommentLine", "value": " strip a leading dot", - "start": 662, - "end": 684, + "start": 840, + "end": 862, "loc": { "start": { - "line": 27, - "column": 50 + "line": 37, + "column": 36 }, "end": { - "line": 27, - "column": 72 + "line": 37, + "column": 58 } } } @@ -969,45 +1206,45 @@ }, { "type": "VariableDeclaration", - "start": 693, - "end": 720, + "start": 867, + "end": 894, "loc": { "start": { - "line": 28, - "column": 8 + "line": 38, + "column": 4 }, "end": { - "line": 28, - "column": 35 + "line": 38, + "column": 31 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 697, - "end": 719, + "start": 871, + "end": 893, "loc": { "start": { - "line": 28, - "column": 12 + "line": 38, + "column": 8 }, "end": { - "line": 28, - "column": 34 + "line": 38, + "column": 30 } }, "id": { "type": "Identifier", - "start": 697, - "end": 701, + "start": 871, + "end": 875, "loc": { "start": { - "line": 28, - "column": 12 + "line": 38, + "column": 8 }, "end": { - "line": 28, - "column": 16 + "line": 38, + "column": 12 }, "identifierName": "keys" }, @@ -1016,44 +1253,44 @@ }, "init": { "type": "CallExpression", - "start": 704, - "end": 719, + "start": 878, + "end": 893, "loc": { "start": { - "line": 28, - "column": 19 + "line": 38, + "column": 15 }, "end": { - "line": 28, - "column": 34 + "line": 38, + "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 704, - "end": 714, + "start": 878, + "end": 888, "loc": { "start": { - "line": 28, - "column": 19 + "line": 38, + "column": 15 }, "end": { - "line": 28, - "column": 29 + "line": 38, + "column": 25 } }, "object": { "type": "Identifier", - "start": 704, - "end": 708, + "start": 878, + "end": 882, "loc": { "start": { - "line": 28, - "column": 19 + "line": 38, + "column": 15 }, "end": { - "line": 28, - "column": 23 + "line": 38, + "column": 19 }, "identifierName": "path" }, @@ -1061,16 +1298,16 @@ }, "property": { "type": "Identifier", - "start": 709, - "end": 714, + "start": 883, + "end": 888, "loc": { "start": { - "line": 28, - "column": 24 + "line": 38, + "column": 20 }, "end": { - "line": 28, - "column": 29 + "line": 38, + "column": 25 }, "identifierName": "split" }, @@ -1081,16 +1318,16 @@ "arguments": [ { "type": "StringLiteral", - "start": 715, - "end": 718, + "start": 889, + "end": 892, "loc": { "start": { - "line": 28, - "column": 30 + "line": 38, + "column": 26 }, "end": { - "line": 28, - "column": 33 + "line": 38, + "column": 29 } }, "extra": { @@ -1109,16 +1346,16 @@ { "type": "CommentLine", "value": " strip a leading dot", - "start": 662, - "end": 684, + "start": 840, + "end": 862, "loc": { "start": { - "line": 27, - "column": 50 + "line": 37, + "column": 36 }, "end": { - "line": 27, - "column": 72 + "line": 37, + "column": 58 } } } @@ -1126,59 +1363,59 @@ }, { "type": "ForStatement", - "start": 729, - "end": 946, + "start": 899, + "end": 1072, "loc": { "start": { - "line": 29, - "column": 8 + "line": 39, + "column": 4 }, "end": { - "line": 36, - "column": 9 + "line": 46, + "column": 5 } }, "init": { "type": "VariableDeclaration", - "start": 734, - "end": 760, + "start": 904, + "end": 930, "loc": { "start": { - "line": 29, - "column": 13 + "line": 39, + "column": 9 }, "end": { - "line": 29, - "column": 39 + "line": 39, + "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 738, - "end": 743, + "start": 908, + "end": 913, "loc": { "start": { - "line": 29, - "column": 17 + "line": 39, + "column": 13 }, "end": { - "line": 29, - "column": 22 + "line": 39, + "column": 18 } }, "id": { "type": "Identifier", - "start": 738, - "end": 739, + "start": 908, + "end": 909, "loc": { "start": { - "line": 29, - "column": 17 + "line": 39, + "column": 13 }, "end": { - "line": 29, - "column": 18 + "line": 39, + "column": 14 }, "identifierName": "i" }, @@ -1186,16 +1423,16 @@ }, "init": { "type": "NumericLiteral", - "start": 742, - "end": 743, + "start": 912, + "end": 913, "loc": { "start": { - "line": 29, - "column": 21 + "line": 39, + "column": 17 }, "end": { - "line": 29, - "column": 22 + "line": 39, + "column": 18 } }, "extra": { @@ -1207,30 +1444,30 @@ }, { "type": "VariableDeclarator", - "start": 745, - "end": 760, + "start": 915, + "end": 930, "loc": { "start": { - "line": 29, - "column": 24 + "line": 39, + "column": 20 }, "end": { - "line": 29, - "column": 39 + "line": 39, + "column": 35 } }, "id": { "type": "Identifier", - "start": 745, - "end": 746, + "start": 915, + "end": 916, "loc": { "start": { - "line": 29, - "column": 24 + "line": 39, + "column": 20 }, "end": { - "line": 29, - "column": 25 + "line": 39, + "column": 21 }, "identifierName": "n" }, @@ -1238,30 +1475,30 @@ }, "init": { "type": "MemberExpression", - "start": 749, - "end": 760, + "start": 919, + "end": 930, "loc": { "start": { - "line": 29, - "column": 28 + "line": 39, + "column": 24 }, "end": { - "line": 29, - "column": 39 + "line": 39, + "column": 35 } }, "object": { "type": "Identifier", - "start": 749, - "end": 753, + "start": 919, + "end": 923, "loc": { "start": { - "line": 29, - "column": 28 + "line": 39, + "column": 24 }, "end": { - "line": 29, - "column": 32 + "line": 39, + "column": 28 }, "identifierName": "keys" }, @@ -1269,16 +1506,16 @@ }, "property": { "type": "Identifier", - "start": 754, - "end": 760, + "start": 924, + "end": 930, "loc": { "start": { - "line": 29, - "column": 33 + "line": 39, + "column": 29 }, "end": { - "line": 29, - "column": 39 + "line": 39, + "column": 35 }, "identifierName": "length" }, @@ -1292,30 +1529,30 @@ }, "test": { "type": "BinaryExpression", - "start": 762, - "end": 767, + "start": 932, + "end": 937, "loc": { "start": { - "line": 29, - "column": 41 + "line": 39, + "column": 37 }, "end": { - "line": 29, - "column": 46 + "line": 39, + "column": 42 } }, "left": { "type": "Identifier", - "start": 762, - "end": 763, + "start": 932, + "end": 933, "loc": { "start": { - "line": 29, - "column": 41 + "line": 39, + "column": 37 }, "end": { - "line": 29, - "column": 42 + "line": 39, + "column": 38 }, "identifierName": "i" }, @@ -1324,16 +1561,16 @@ "operator": "<", "right": { "type": "Identifier", - "start": 766, - "end": 767, + "start": 936, + "end": 937, "loc": { "start": { - "line": 29, - "column": 45 + "line": 39, + "column": 41 }, "end": { - "line": 29, - "column": 46 + "line": 39, + "column": 42 }, "identifierName": "n" }, @@ -1342,32 +1579,32 @@ }, "update": { "type": "UpdateExpression", - "start": 769, - "end": 772, + "start": 939, + "end": 942, "loc": { "start": { - "line": 29, - "column": 48 + "line": 39, + "column": 44 }, "end": { - "line": 29, - "column": 51 + "line": 39, + "column": 47 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", - "start": 771, - "end": 772, + "start": 941, + "end": 942, "loc": { "start": { - "line": 29, - "column": 50 + "line": 39, + "column": 46 }, "end": { - "line": 29, - "column": 51 + "line": 39, + "column": 47 }, "identifierName": "i" }, @@ -1379,60 +1616,60 @@ }, "body": { "type": "BlockStatement", - "start": 774, - "end": 946, + "start": 944, + "end": 1072, "loc": { "start": { - "line": 29, - "column": 53 + "line": 39, + "column": 49 }, "end": { - "line": 36, - "column": 9 + "line": 46, + "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 788, - "end": 806, + "start": 952, + "end": 970, "loc": { "start": { - "line": 30, - "column": 12 + "line": 40, + "column": 6 }, "end": { - "line": 30, - "column": 30 + "line": 40, + "column": 24 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 792, - "end": 805, + "start": 956, + "end": 969, "loc": { "start": { - "line": 30, - "column": 16 + "line": 40, + "column": 10 }, "end": { - "line": 30, - "column": 29 + "line": 40, + "column": 23 } }, "id": { "type": "Identifier", - "start": 792, - "end": 795, + "start": 956, + "end": 959, "loc": { "start": { - "line": 30, - "column": 16 + "line": 40, + "column": 10 }, "end": { - "line": 30, - "column": 19 + "line": 40, + "column": 13 }, "identifierName": "key" }, @@ -1440,30 +1677,30 @@ }, "init": { "type": "MemberExpression", - "start": 798, - "end": 805, + "start": 962, + "end": 969, "loc": { "start": { - "line": 30, - "column": 22 + "line": 40, + "column": 16 }, "end": { - "line": 30, - "column": 29 + "line": 40, + "column": 23 } }, "object": { "type": "Identifier", - "start": 798, - "end": 802, + "start": 962, + "end": 966, "loc": { "start": { - "line": 30, - "column": 22 + "line": 40, + "column": 16 }, "end": { - "line": 30, - "column": 26 + "line": 40, + "column": 20 }, "identifierName": "keys" }, @@ -1471,16 +1708,16 @@ }, "property": { "type": "Identifier", - "start": 803, - "end": 804, + "start": 967, + "end": 968, "loc": { "start": { - "line": 30, - "column": 27 + "line": 40, + "column": 21 }, "end": { - "line": 30, - "column": 28 + "line": 40, + "column": 22 }, "identifierName": "i" }, @@ -1494,44 +1731,44 @@ }, { "type": "IfStatement", - "start": 819, - "end": 936, + "start": 977, + "end": 1066, "loc": { "start": { - "line": 31, - "column": 12 + "line": 41, + "column": 6 }, "end": { - "line": 35, - "column": 13 + "line": 45, + "column": 7 } }, "test": { "type": "BinaryExpression", - "start": 823, - "end": 836, + "start": 981, + "end": 994, "loc": { "start": { - "line": 31, - "column": 16 + "line": 41, + "column": 10 }, "end": { - "line": 31, - "column": 29 + "line": 41, + "column": 23 } }, "left": { "type": "Identifier", - "start": 823, - "end": 826, + "start": 981, + "end": 984, "loc": { "start": { - "line": 31, - "column": 16 + "line": 41, + "column": 10 }, "end": { - "line": 31, - "column": 19 + "line": 41, + "column": 13 }, "identifierName": "key" }, @@ -1540,16 +1777,16 @@ "operator": "in", "right": { "type": "Identifier", - "start": 830, - "end": 836, + "start": 988, + "end": 994, "loc": { "start": { - "line": 31, - "column": 23 + "line": 41, + "column": 17 }, "end": { - "line": 31, - "column": 29 + "line": 41, + "column": 23 }, "identifierName": "object" }, @@ -1558,60 +1795,60 @@ }, "consequent": { "type": "BlockStatement", - "start": 838, - "end": 891, + "start": 996, + "end": 1035, "loc": { "start": { - "line": 31, - "column": 31 + "line": 41, + "column": 25 }, "end": { - "line": 33, - "column": 13 + "line": 43, + "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 856, - "end": 877, + "start": 1006, + "end": 1027, "loc": { "start": { - "line": 32, - "column": 16 + "line": 42, + "column": 8 }, "end": { - "line": 32, - "column": 37 + "line": 42, + "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 856, - "end": 876, + "start": 1006, + "end": 1026, "loc": { "start": { - "line": 32, - "column": 16 + "line": 42, + "column": 8 }, "end": { - "line": 32, - "column": 36 + "line": 42, + "column": 28 } }, "operator": "=", "left": { "type": "Identifier", - "start": 856, - "end": 862, + "start": 1006, + "end": 1012, "loc": { "start": { - "line": 32, - "column": 16 + "line": 42, + "column": 8 }, "end": { - "line": 32, - "column": 22 + "line": 42, + "column": 14 }, "identifierName": "object" }, @@ -1619,30 +1856,30 @@ }, "right": { "type": "MemberExpression", - "start": 865, - "end": 876, + "start": 1015, + "end": 1026, "loc": { "start": { - "line": 32, - "column": 25 + "line": 42, + "column": 17 }, "end": { - "line": 32, - "column": 36 + "line": 42, + "column": 28 } }, "object": { "type": "Identifier", - "start": 865, - "end": 871, + "start": 1015, + "end": 1021, "loc": { "start": { - "line": 32, - "column": 25 + "line": 42, + "column": 17 }, "end": { - "line": 32, - "column": 31 + "line": 42, + "column": 23 }, "identifierName": "object" }, @@ -1650,16 +1887,16 @@ }, "property": { "type": "Identifier", - "start": 872, - "end": 875, + "start": 1022, + "end": 1025, "loc": { "start": { - "line": 32, - "column": 32 + "line": 42, + "column": 24 }, "end": { - "line": 32, - "column": 35 + "line": 42, + "column": 27 }, "identifierName": "key" }, @@ -1674,31 +1911,31 @@ }, "alternate": { "type": "BlockStatement", - "start": 897, - "end": 936, + "start": 1041, + "end": 1066, "loc": { "start": { - "line": 33, - "column": 19 + "line": 43, + "column": 13 }, "end": { - "line": 35, - "column": 13 + "line": 45, + "column": 7 } }, "body": [ { "type": "ReturnStatement", - "start": 915, - "end": 922, + "start": 1051, + "end": 1058, "loc": { "start": { - "line": 34, - "column": 16 + "line": 44, + "column": 8 }, "end": { - "line": 34, - "column": 23 + "line": 44, + "column": 15 } }, "argument": null @@ -1713,30 +1950,30 @@ }, { "type": "ReturnStatement", - "start": 955, - "end": 969, + "start": 1077, + "end": 1091, "loc": { "start": { - "line": 37, - "column": 8 + "line": 47, + "column": 4 }, "end": { - "line": 37, - "column": 22 + "line": 47, + "column": 18 } }, "argument": { "type": "Identifier", - "start": 962, - "end": 968, + "start": 1084, + "end": 1090, "loc": { "start": { - "line": 37, - "column": 15 + "line": 47, + "column": 11 }, "end": { - "line": 37, - "column": 21 + "line": 47, + "column": 17 }, "identifierName": "object" }, @@ -1750,17 +1987,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Gets an object's nested property by path.\n * @ignore\n ", - "start": 415, - "end": 490, + "value": "*\n * Gets an object's nested property by path.\n * @ignore\n ", + "start": 619, + "end": 688, "loc": { "start": { - "line": 21, - "column": 4 + "line": 31, + "column": 2 }, "end": { - "line": 24, - "column": 7 + "line": 34, + "column": 5 } } } @@ -1768,17 +2005,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetches next page of various paged APIs. \n * \n * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function \n * @param {String} nextUriPath - The next uri's path. Defaults to 'data.paging.next', \n * which means we will get the next uri path from 'fulfillment.data.paging.next'. \n * The correct next uri path depends on respective api's response.\n * @return {Promise}\n * @example \n * api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks().then(response => {\n * api.albumFetcher.fetchNextPage(response))\n * })\n ", - "start": 981, - "end": 1595, + "value": "*\n * Fetches next page of various paged APIs.\n *\n * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function\n * @param {String} nextUriPath - The next uri's path. Defaults to 'data.paging.next',\n * which means we will get the next uri path from 'fulfillment.data.paging.next'.\n * The correct next uri path depends on respective api's response.\n * @return {Promise}\n * @example\n * api.albumFetcher\n * .setAlbumID('KmRKnW5qmUrTnGRuxF')\n * .fetchTracks()\n * .then(response => {\n * api.albumFetcher.fetchNextPage(response));\n * });\n ", + "start": 1099, + "end": 1710, "loc": { "start": { - "line": 40, - "column": 4 + "line": 50, + "column": 2 }, "end": { - "line": 52, - "column": 7 + "line": 65, + "column": 5 } } } @@ -1786,38 +2023,38 @@ }, { "type": "ClassMethod", - "start": 1600, - "end": 2002, + "start": 1713, + "end": 2066, "loc": { "start": { - "line": 53, - "column": 4 + "line": 66, + "column": 2 }, "end": { - "line": 63, - "column": 5 + "line": 75, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 1600, - "end": 1613, + "start": 1713, + "end": 1726, "loc": { "start": { - "line": 53, - "column": 4 + "line": 66, + "column": 2 }, "end": { - "line": 53, - "column": 17 + "line": 66, + "column": 15 }, "identifierName": "fetchNextPage" }, "name": "fetchNextPage", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -1826,16 +2063,16 @@ "params": [ { "type": "Identifier", - "start": 1614, - "end": 1625, + "start": 1727, + "end": 1738, "loc": { "start": { - "line": 53, - "column": 18 + "line": 66, + "column": 16 }, "end": { - "line": 53, - "column": 29 + "line": 66, + "column": 27 }, "identifierName": "fulfillment" }, @@ -1843,30 +2080,30 @@ }, { "type": "AssignmentPattern", - "start": 1627, - "end": 1659, + "start": 1740, + "end": 1772, "loc": { "start": { - "line": 53, - "column": 31 + "line": 66, + "column": 29 }, "end": { - "line": 53, - "column": 63 + "line": 66, + "column": 61 } }, "left": { "type": "Identifier", - "start": 1627, - "end": 1638, + "start": 1740, + "end": 1751, "loc": { "start": { - "line": 53, - "column": 31 + "line": 66, + "column": 29 }, "end": { - "line": 53, - "column": 42 + "line": 66, + "column": 40 }, "identifierName": "nextUriPath" }, @@ -1874,16 +2111,16 @@ }, "right": { "type": "StringLiteral", - "start": 1641, - "end": 1659, + "start": 1754, + "end": 1772, "loc": { "start": { - "line": 53, - "column": 45 + "line": 66, + "column": 43 }, "end": { - "line": 53, - "column": 63 + "line": 66, + "column": 61 } }, "extra": { @@ -1896,60 +2133,60 @@ ], "body": { "type": "BlockStatement", - "start": 1661, - "end": 2002, + "start": 1774, + "end": 2066, "loc": { "start": { - "line": 53, - "column": 65 + "line": 66, + "column": 63 }, "end": { - "line": 63, - "column": 5 + "line": 75, + "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 1671, - "end": 1733, + "start": 1780, + "end": 1843, "loc": { "start": { - "line": 54, - "column": 8 + "line": 67, + "column": 4 }, "end": { - "line": 54, - "column": 70 + "line": 67, + "column": 67 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1675, - "end": 1733, + "start": 1784, + "end": 1842, "loc": { "start": { - "line": 54, - "column": 12 + "line": 67, + "column": 8 }, "end": { - "line": 54, - "column": 70 + "line": 67, + "column": 66 } }, "id": { "type": "Identifier", - "start": 1675, - "end": 1682, + "start": 1784, + "end": 1791, "loc": { "start": { - "line": 54, - "column": 12 + "line": 67, + "column": 8 }, "end": { - "line": 54, - "column": 19 + "line": 67, + "column": 15 }, "identifierName": "nextUri" }, @@ -1957,59 +2194,59 @@ }, "init": { "type": "CallExpression", - "start": 1685, - "end": 1733, + "start": 1794, + "end": 1842, "loc": { "start": { - "line": 54, - "column": 22 + "line": 67, + "column": 18 }, "end": { - "line": 54, - "column": 70 + "line": 67, + "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 1685, - "end": 1707, + "start": 1794, + "end": 1816, "loc": { "start": { - "line": 54, - "column": 22 + "line": 67, + "column": 18 }, "end": { - "line": 54, - "column": 44 + "line": 67, + "column": 40 } }, "object": { "type": "ThisExpression", - "start": 1685, - "end": 1689, + "start": 1794, + "end": 1798, "loc": { "start": { - "line": 54, - "column": 22 + "line": 67, + "column": 18 }, "end": { - "line": 54, - "column": 26 + "line": 67, + "column": 22 } } }, "property": { "type": "Identifier", - "start": 1690, - "end": 1707, + "start": 1799, + "end": 1816, "loc": { "start": { - "line": 54, - "column": 27 + "line": 67, + "column": 23 }, "end": { - "line": 54, - "column": 44 + "line": 67, + "column": 40 }, "identifierName": "getPropertyByPath" }, @@ -2020,16 +2257,16 @@ "arguments": [ { "type": "Identifier", - "start": 1708, - "end": 1719, + "start": 1817, + "end": 1828, "loc": { "start": { - "line": 54, - "column": 45 + "line": 67, + "column": 41 }, "end": { - "line": 54, - "column": 56 + "line": 67, + "column": 52 }, "identifierName": "fulfillment" }, @@ -2037,16 +2274,16 @@ }, { "type": "Identifier", - "start": 1721, - "end": 1732, + "start": 1830, + "end": 1841, "loc": { "start": { - "line": 54, - "column": 58 + "line": 67, + "column": 54 }, "end": { - "line": 54, - "column": 69 + "line": 67, + "column": 65 }, "identifierName": "nextUriPath" }, @@ -2060,58 +2297,58 @@ }, { "type": "IfStatement", - "start": 1742, - "end": 1996, + "start": 1848, + "end": 2062, "loc": { "start": { - "line": 55, - "column": 8 + "line": 68, + "column": 4 }, "end": { - "line": 62, - "column": 9 + "line": 74, + "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 1746, - "end": 1786, + "start": 1852, + "end": 1892, "loc": { "start": { - "line": 55, - "column": 12 + "line": 68, + "column": 8 }, "end": { - "line": 55, - "column": 52 + "line": 68, + "column": 48 } }, "left": { "type": "BinaryExpression", - "start": 1746, - "end": 1761, + "start": 1852, + "end": 1867, "loc": { "start": { - "line": 55, - "column": 12 + "line": 68, + "column": 8 }, "end": { - "line": 55, - "column": 27 + "line": 68, + "column": 23 } }, "left": { "type": "Identifier", - "start": 1746, - "end": 1753, + "start": 1852, + "end": 1859, "loc": { "start": { - "line": 55, - "column": 12 + "line": 68, + "column": 8 }, "end": { - "line": 55, - "column": 19 + "line": 68, + "column": 15 }, "identifierName": "nextUri" }, @@ -2120,16 +2357,16 @@ "operator": "!=", "right": { "type": "NullLiteral", - "start": 1757, - "end": 1761, + "start": 1863, + "end": 1867, "loc": { "start": { - "line": 55, - "column": 23 + "line": 68, + "column": 19 }, "end": { - "line": 55, - "column": 27 + "line": 68, + "column": 23 } } } @@ -2137,30 +2374,30 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 1765, - "end": 1786, + "start": 1871, + "end": 1892, "loc": { "start": { - "line": 55, - "column": 31 + "line": 68, + "column": 27 }, "end": { - "line": 55, - "column": 52 + "line": 68, + "column": 48 } }, "left": { "type": "Identifier", - "start": 1765, - "end": 1772, + "start": 1871, + "end": 1878, "loc": { "start": { - "line": 55, - "column": 31 + "line": 68, + "column": 27 }, "end": { - "line": 55, - "column": 38 + "line": 68, + "column": 34 }, "identifierName": "nextUri" }, @@ -2169,16 +2406,16 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 1777, - "end": 1786, + "start": 1883, + "end": 1892, "loc": { "start": { - "line": 55, - "column": 43 + "line": 68, + "column": 39 }, "end": { - "line": 55, - "column": 52 + "line": 68, + "column": 48 }, "identifierName": "undefined" }, @@ -2188,102 +2425,102 @@ }, "consequent": { "type": "BlockStatement", - "start": 1788, - "end": 1841, + "start": 1894, + "end": 1938, "loc": { "start": { - "line": 55, - "column": 54 + "line": 68, + "column": 50 }, "end": { - "line": 57, - "column": 9 + "line": 70, + "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 1802, - "end": 1831, + "start": 1902, + "end": 1932, "loc": { "start": { - "line": 56, - "column": 12 + "line": 69, + "column": 6 }, "end": { - "line": 56, - "column": 41 + "line": 69, + "column": 36 } }, "argument": { "type": "CallExpression", - "start": 1809, - "end": 1831, + "start": 1909, + "end": 1931, "loc": { "start": { - "line": 56, - "column": 19 + "line": 69, + "column": 13 }, "end": { - "line": 56, - "column": 41 + "line": 69, + "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 1809, - "end": 1822, + "start": 1909, + "end": 1922, "loc": { "start": { - "line": 56, - "column": 19 + "line": 69, + "column": 13 }, "end": { - "line": 56, - "column": 32 + "line": 69, + "column": 26 } }, "object": { "type": "MemberExpression", - "start": 1809, - "end": 1818, + "start": 1909, + "end": 1918, "loc": { "start": { - "line": 56, - "column": 19 + "line": 69, + "column": 13 }, "end": { - "line": 56, - "column": 28 + "line": 69, + "column": 22 } }, "object": { "type": "ThisExpression", - "start": 1809, - "end": 1813, + "start": 1909, + "end": 1913, "loc": { "start": { - "line": 56, - "column": 19 + "line": 69, + "column": 13 }, "end": { - "line": 56, - "column": 23 + "line": 69, + "column": 17 } } }, "property": { "type": "Identifier", - "start": 1814, - "end": 1818, + "start": 1914, + "end": 1918, "loc": { "start": { - "line": 56, - "column": 24 + "line": 69, + "column": 18 }, "end": { - "line": 56, - "column": 28 + "line": 69, + "column": 22 }, "identifierName": "http" }, @@ -2293,16 +2530,16 @@ }, "property": { "type": "Identifier", - "start": 1819, - "end": 1822, + "start": 1919, + "end": 1922, "loc": { "start": { - "line": 56, - "column": 29 + "line": 69, + "column": 23 }, "end": { - "line": 56, - "column": 32 + "line": 69, + "column": 26 }, "identifierName": "get" }, @@ -2313,16 +2550,16 @@ "arguments": [ { "type": "Identifier", - "start": 1823, - "end": 1830, + "start": 1923, + "end": 1930, "loc": { "start": { - "line": 56, - "column": 33 + "line": 69, + "column": 27 }, "end": { - "line": 56, - "column": 40 + "line": 69, + "column": 34 }, "identifierName": "nextUri" }, @@ -2336,59 +2573,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 1855, - "end": 1996, + "start": 1944, + "end": 2062, "loc": { "start": { - "line": 58, - "column": 13 + "line": 70, + "column": 11 }, "end": { - "line": 62, - "column": 9 + "line": 74, + "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 1869, - "end": 1974, + "start": 1952, + "end": 2056, "loc": { "start": { - "line": 59, - "column": 12 + "line": 71, + "column": 6 }, "end": { - "line": 61, - "column": 14 + "line": 73, + "column": 9 } }, "argument": { "type": "NewExpression", - "start": 1876, - "end": 1974, + "start": 1959, + "end": 2055, "loc": { "start": { - "line": 59, - "column": 19 + "line": 71, + "column": 13 }, "end": { - "line": 61, - "column": 14 + "line": 73, + "column": 8 } }, "callee": { "type": "Identifier", - "start": 1880, - "end": 1887, + "start": 1963, + "end": 1970, "loc": { "start": { - "line": 59, - "column": 23 + "line": 71, + "column": 17 }, "end": { - "line": 59, - "column": 30 + "line": 71, + "column": 24 }, "identifierName": "Promise" }, @@ -2397,16 +2634,16 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 1888, - "end": 1973, + "start": 1971, + "end": 2054, "loc": { "start": { - "line": 59, - "column": 31 + "line": 71, + "column": 25 }, "end": { - "line": 61, - "column": 13 + "line": 73, + "column": 7 } }, "id": null, @@ -2416,16 +2653,16 @@ "params": [ { "type": "Identifier", - "start": 1889, - "end": 1896, + "start": 1972, + "end": 1979, "loc": { "start": { - "line": 59, - "column": 32 + "line": 71, + "column": 26 }, "end": { - "line": 59, - "column": 39 + "line": 71, + "column": 33 }, "identifierName": "resolve" }, @@ -2433,16 +2670,16 @@ }, { "type": "Identifier", - "start": 1898, - "end": 1904, + "start": 1981, + "end": 1987, "loc": { "start": { - "line": 59, - "column": 41 + "line": 71, + "column": 35 }, "end": { - "line": 59, - "column": 47 + "line": 71, + "column": 41 }, "identifierName": "reject" }, @@ -2451,59 +2688,59 @@ ], "body": { "type": "BlockStatement", - "start": 1909, - "end": 1973, + "start": 1992, + "end": 2054, "loc": { "start": { - "line": 59, - "column": 52 + "line": 71, + "column": 46 }, "end": { - "line": 61, - "column": 13 + "line": 73, + "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 1927, - "end": 1959, + "start": 2002, + "end": 2046, "loc": { "start": { - "line": 60, - "column": 16 + "line": 72, + "column": 8 }, "end": { - "line": 60, - "column": 48 + "line": 72, + "column": 52 } }, "expression": { "type": "CallExpression", - "start": 1927, - "end": 1959, + "start": 2002, + "end": 2045, "loc": { "start": { - "line": 60, - "column": 16 + "line": 72, + "column": 8 }, "end": { - "line": 60, - "column": 48 + "line": 72, + "column": 51 } }, "callee": { "type": "Identifier", - "start": 1927, - "end": 1933, + "start": 2002, + "end": 2008, "loc": { "start": { - "line": 60, - "column": 16 + "line": 72, + "column": 8 }, "end": { - "line": 60, - "column": 22 + "line": 72, + "column": 14 }, "identifierName": "reject" }, @@ -2511,24 +2748,58 @@ }, "arguments": [ { - "type": "StringLiteral", - "start": 1934, - "end": 1958, + "type": "NewExpression", + "start": 2009, + "end": 2044, "loc": { "start": { - "line": 60, - "column": 23 + "line": 72, + "column": 15 }, "end": { - "line": 60, - "column": 47 + "line": 72, + "column": 50 } }, - "extra": { - "rawValue": "Cannot fetch next page", - "raw": "'Cannot fetch next page'" + "callee": { + "type": "Identifier", + "start": 2013, + "end": 2018, + "loc": { + "start": { + "line": 72, + "column": 19 + }, + "end": { + "line": 72, + "column": 24 + }, + "identifierName": "Error" + }, + "name": "Error" }, - "value": "Cannot fetch next page" + "arguments": [ + { + "type": "StringLiteral", + "start": 2019, + "end": 2043, + "loc": { + "start": { + "line": 72, + "column": 25 + }, + "end": { + "line": 72, + "column": 49 + } + }, + "extra": { + "rawValue": "Cannot fetch next page", + "raw": "'Cannot fetch next page'" + }, + "value": "Cannot fetch next page" + } + ] } ] } @@ -2551,17 +2822,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetches next page of various paged APIs. \n * \n * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function \n * @param {String} nextUriPath - The next uri's path. Defaults to 'data.paging.next', \n * which means we will get the next uri path from 'fulfillment.data.paging.next'. \n * The correct next uri path depends on respective api's response.\n * @return {Promise}\n * @example \n * api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks().then(response => {\n * api.albumFetcher.fetchNextPage(response))\n * })\n ", - "start": 981, - "end": 1595, + "value": "*\n * Fetches next page of various paged APIs.\n *\n * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function\n * @param {String} nextUriPath - The next uri's path. Defaults to 'data.paging.next',\n * which means we will get the next uri path from 'fulfillment.data.paging.next'.\n * The correct next uri path depends on respective api's response.\n * @return {Promise}\n * @example\n * api.albumFetcher\n * .setAlbumID('KmRKnW5qmUrTnGRuxF')\n * .fetchTracks()\n * .then(response => {\n * api.albumFetcher.fetchNextPage(response));\n * });\n ", + "start": 1099, + "end": 1710, "loc": { "start": { - "line": 40, - "column": 4 + "line": 50, + "column": 2 }, "end": { - "line": 52, - "column": 7 + "line": 65, + "column": 5 } } } @@ -2569,17 +2840,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Is next page available for various paged APIs.\n * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function \n * @param {String} nextUriPath - The next uri's path. Defaults to 'data.paging.next', \n * which means we will get the next uri path from 'fulfillment.data.paging.next'. \n * The correct next uri path depends on respective api's response.\n * @return {Boolean}\n * @example\n * api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks().then(response => {\n * if (api.albumFetcher.hasNextPage(response)) {\n * // more data available\n * }\n * })\n ", - "start": 2008, - "end": 2675, + "value": "*\n * Is next page available for various paged APIs.\n * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function\n * @param {String} nextUriPath - The next uri's path. Defaults to 'data.paging.next',\n * which means we will get the next uri path from 'fulfillment.data.paging.next'.\n * The correct next uri path depends on respective api's response.\n * @return {Boolean}\n * @example\n * api.albumFetcher\n * .setAlbumID('KmRKnW5qmUrTnGRuxF')\n * .fetchTracks()\n * .then(response => {\n * if (api.albumFetcher.hasNextPage(response)) {\n * // more data available\n * }\n * });\n ", + "start": 2070, + "end": 2730, "loc": { "start": { - "line": 65, - "column": 4 + "line": 77, + "column": 2 }, "end": { - "line": 78, - "column": 7 + "line": 93, + "column": 5 } } } @@ -2587,38 +2858,38 @@ }, { "type": "ClassMethod", - "start": 2680, - "end": 2957, + "start": 2733, + "end": 2918, "loc": { "start": { - "line": 79, - "column": 4 + "line": 94, + "column": 2 }, "end": { - "line": 87, - "column": 5 + "line": 97, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 2680, - "end": 2691, + "start": 2733, + "end": 2744, "loc": { "start": { - "line": 79, - "column": 4 + "line": 94, + "column": 2 }, "end": { - "line": 79, - "column": 15 + "line": 94, + "column": 13 }, "identifierName": "hasNextPage" }, "name": "hasNextPage", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -2627,16 +2898,16 @@ "params": [ { "type": "Identifier", - "start": 2692, - "end": 2703, + "start": 2745, + "end": 2756, "loc": { "start": { - "line": 79, - "column": 16 + "line": 94, + "column": 14 }, "end": { - "line": 79, - "column": 27 + "line": 94, + "column": 25 }, "identifierName": "fulfillment" }, @@ -2644,30 +2915,30 @@ }, { "type": "AssignmentPattern", - "start": 2705, - "end": 2737, + "start": 2758, + "end": 2790, "loc": { "start": { - "line": 79, - "column": 29 + "line": 94, + "column": 27 }, "end": { - "line": 79, - "column": 61 + "line": 94, + "column": 59 } }, "left": { "type": "Identifier", - "start": 2705, - "end": 2716, + "start": 2758, + "end": 2769, "loc": { "start": { - "line": 79, - "column": 29 + "line": 94, + "column": 27 }, "end": { - "line": 79, - "column": 40 + "line": 94, + "column": 38 }, "identifierName": "nextUriPath" }, @@ -2675,16 +2946,16 @@ }, "right": { "type": "StringLiteral", - "start": 2719, - "end": 2737, + "start": 2772, + "end": 2790, "loc": { "start": { - "line": 79, - "column": 43 + "line": 94, + "column": 41 }, "end": { - "line": 79, - "column": 61 + "line": 94, + "column": 59 } }, "extra": { @@ -2697,60 +2968,60 @@ ], "body": { "type": "BlockStatement", - "start": 2739, - "end": 2957, + "start": 2792, + "end": 2918, "loc": { "start": { - "line": 79, - "column": 63 + "line": 94, + "column": 61 }, "end": { - "line": 87, - "column": 5 + "line": 97, + "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 2749, - "end": 2811, + "start": 2798, + "end": 2861, "loc": { "start": { - "line": 80, - "column": 8 + "line": 95, + "column": 4 }, "end": { - "line": 80, - "column": 70 + "line": 95, + "column": 67 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 2753, - "end": 2811, + "start": 2802, + "end": 2860, "loc": { "start": { - "line": 80, - "column": 12 + "line": 95, + "column": 8 }, "end": { - "line": 80, - "column": 70 + "line": 95, + "column": 66 } }, "id": { "type": "Identifier", - "start": 2753, - "end": 2760, + "start": 2802, + "end": 2809, "loc": { "start": { - "line": 80, - "column": 12 + "line": 95, + "column": 8 }, "end": { - "line": 80, - "column": 19 + "line": 95, + "column": 15 }, "identifierName": "nextUri" }, @@ -2758,59 +3029,59 @@ }, "init": { "type": "CallExpression", - "start": 2763, - "end": 2811, + "start": 2812, + "end": 2860, "loc": { "start": { - "line": 80, - "column": 22 + "line": 95, + "column": 18 }, "end": { - "line": 80, - "column": 70 + "line": 95, + "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 2763, - "end": 2785, + "start": 2812, + "end": 2834, "loc": { "start": { - "line": 80, - "column": 22 + "line": 95, + "column": 18 }, "end": { - "line": 80, - "column": 44 + "line": 95, + "column": 40 } }, "object": { "type": "ThisExpression", - "start": 2763, - "end": 2767, + "start": 2812, + "end": 2816, "loc": { "start": { - "line": 80, - "column": 22 + "line": 95, + "column": 18 }, "end": { - "line": 80, - "column": 26 + "line": 95, + "column": 22 } } }, "property": { "type": "Identifier", - "start": 2768, - "end": 2785, + "start": 2817, + "end": 2834, "loc": { "start": { - "line": 80, - "column": 27 + "line": 95, + "column": 23 }, "end": { - "line": 80, - "column": 44 + "line": 95, + "column": 40 }, "identifierName": "getPropertyByPath" }, @@ -2821,16 +3092,16 @@ "arguments": [ { "type": "Identifier", - "start": 2786, - "end": 2797, + "start": 2835, + "end": 2846, "loc": { "start": { - "line": 80, - "column": 45 + "line": 95, + "column": 41 }, "end": { - "line": 80, - "column": 56 + "line": 95, + "column": 52 }, "identifierName": "fulfillment" }, @@ -2838,16 +3109,16 @@ }, { "type": "Identifier", - "start": 2799, - "end": 2810, + "start": 2848, + "end": 2859, "loc": { "start": { - "line": 80, - "column": 58 + "line": 95, + "column": 54 }, "end": { - "line": 80, - "column": 69 + "line": 95, + "column": 65 }, "identifierName": "nextUriPath" }, @@ -2860,59 +3131,59 @@ "kind": "var" }, { - "type": "IfStatement", - "start": 2820, - "end": 2951, + "type": "ReturnStatement", + "start": 2866, + "end": 2914, "loc": { "start": { - "line": 81, - "column": 8 + "line": 96, + "column": 4 }, "end": { - "line": 86, - "column": 9 + "line": 96, + "column": 52 } }, - "test": { + "argument": { "type": "LogicalExpression", - "start": 2824, - "end": 2864, + "start": 2873, + "end": 2913, "loc": { "start": { - "line": 81, - "column": 12 + "line": 96, + "column": 11 }, "end": { - "line": 81, - "column": 52 + "line": 96, + "column": 51 } }, "left": { "type": "BinaryExpression", - "start": 2824, - "end": 2839, + "start": 2873, + "end": 2888, "loc": { "start": { - "line": 81, - "column": 12 + "line": 96, + "column": 11 }, "end": { - "line": 81, - "column": 27 + "line": 96, + "column": 26 } }, "left": { "type": "Identifier", - "start": 2824, - "end": 2831, + "start": 2873, + "end": 2880, "loc": { "start": { - "line": 81, - "column": 12 + "line": 96, + "column": 11 }, "end": { - "line": 81, - "column": 19 + "line": 96, + "column": 18 }, "identifierName": "nextUri" }, @@ -2921,16 +3192,16 @@ "operator": "!=", "right": { "type": "NullLiteral", - "start": 2835, - "end": 2839, + "start": 2884, + "end": 2888, "loc": { "start": { - "line": 81, - "column": 23 + "line": 96, + "column": 22 }, "end": { - "line": 81, - "column": 27 + "line": 96, + "column": 26 } } } @@ -2938,30 +3209,30 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 2843, - "end": 2864, + "start": 2892, + "end": 2913, "loc": { "start": { - "line": 81, - "column": 31 + "line": 96, + "column": 30 }, "end": { - "line": 81, - "column": 52 + "line": 96, + "column": 51 } }, "left": { "type": "Identifier", - "start": 2843, - "end": 2850, + "start": 2892, + "end": 2899, "loc": { "start": { - "line": 81, - "column": 31 + "line": 96, + "column": 30 }, "end": { - "line": 81, - "column": 38 + "line": 96, + "column": 37 }, "identifierName": "nextUri" }, @@ -2970,139 +3241,41 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 2855, - "end": 2864, + "start": 2904, + "end": 2913, "loc": { "start": { - "line": 81, - "column": 43 + "line": 96, + "column": 42 }, "end": { - "line": 81, - "column": 52 + "line": 96, + "column": 51 }, "identifierName": "undefined" }, "name": "undefined" } } - }, - "consequent": { - "type": "BlockStatement", - "start": 2866, - "end": 2901, - "loc": { - "start": { - "line": 81, - "column": 54 - }, - "end": { - "line": 83, - "column": 9 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 2880, - "end": 2891, - "loc": { - "start": { - "line": 82, - "column": 12 - }, - "end": { - "line": 82, - "column": 23 - } - }, - "argument": { - "type": "BooleanLiteral", - "start": 2887, - "end": 2891, - "loc": { - "start": { - "line": 82, - "column": 19 - }, - "end": { - "line": 82, - "column": 23 - } - }, - "value": true - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 2915, - "end": 2951, - "loc": { - "start": { - "line": 84, - "column": 13 - }, - "end": { - "line": 86, - "column": 9 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 2929, - "end": 2941, - "loc": { - "start": { - "line": 85, - "column": 12 - }, - "end": { - "line": 85, - "column": 24 - } - }, - "argument": { - "type": "BooleanLiteral", - "start": 2936, - "end": 2941, - "loc": { - "start": { - "line": 85, - "column": 19 - }, - "end": { - "line": 85, - "column": 24 - } - }, - "value": false - } - } - ], - "directives": [] - } - } - ], - "directives": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Is next page available for various paged APIs.\n * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function \n * @param {String} nextUriPath - The next uri's path. Defaults to 'data.paging.next', \n * which means we will get the next uri path from 'fulfillment.data.paging.next'. \n * The correct next uri path depends on respective api's response.\n * @return {Boolean}\n * @example\n * api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks().then(response => {\n * if (api.albumFetcher.hasNextPage(response)) {\n * // more data available\n * }\n * })\n ", - "start": 2008, - "end": 2675, - "loc": { - "start": { - "line": 65, - "column": 4 + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Is next page available for various paged APIs.\n * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function\n * @param {String} nextUriPath - The next uri's path. Defaults to 'data.paging.next',\n * which means we will get the next uri path from 'fulfillment.data.paging.next'.\n * The correct next uri path depends on respective api's response.\n * @return {Boolean}\n * @example\n * api.albumFetcher\n * .setAlbumID('KmRKnW5qmUrTnGRuxF')\n * .fetchTracks()\n * .then(response => {\n * if (api.albumFetcher.hasNextPage(response)) {\n * // more data available\n * }\n * });\n ", + "start": 2070, + "end": 2730, + "loc": { + "start": { + "line": 77, + "column": 2 }, "end": { - "line": 78, - "column": 7 + "line": 93, + "column": 5 } } } @@ -3171,129 +3344,145 @@ }, { "type": "CommentBlock", - "value": "* \n * @param {Http} http \n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.\n ", - "start": 64, - "end": 214, + "value": "*\n * @param {Http} http\n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.\n ", + "start": 62, + "end": 199, "loc": { "start": { "line": 5, - "column": 4 + "column": 2 }, "end": { "line": 8, - "column": 7 + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 265, - "end": 299, + "value": "*\n * @ignore\n ", + "start": 244, + "end": 270, "loc": { "start": { "line": 10, - "column": 8 + "column": 4 }, "end": { "line": 12, - "column": 11 + "column": 7 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 334, - "end": 368, + "value": "*\n * @ignore\n ", + "start": 298, + "end": 324, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } }, { "type": "CommentBlock", - "value": "*\n * Gets an object's nested property by path.\n * @ignore\n ", - "start": 415, - "end": 490, + "value": "*\n * Set the fetcher's territory.\n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.\n * @return {Fetcher}\n ", + "start": 364, + "end": 534, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { - "line": 24, - "column": 7 + "line": 25, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Gets an object's nested property by path.\n * @ignore\n ", + "start": 619, + "end": 688, + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 34, + "column": 5 } } }, { "type": "CommentLine", "value": " convert indexes to properties", - "start": 579, - "end": 611, + "start": 771, + "end": 803, "loc": { "start": { - "line": 26, - "column": 50 + "line": 36, + "column": 46 }, "end": { - "line": 26, - "column": 82 + "line": 36, + "column": 78 } } }, { "type": "CommentLine", "value": " strip a leading dot", - "start": 662, - "end": 684, + "start": 840, + "end": 862, "loc": { "start": { - "line": 27, - "column": 50 + "line": 37, + "column": 36 }, "end": { - "line": 27, - "column": 72 + "line": 37, + "column": 58 } } }, { "type": "CommentBlock", - "value": "*\n * Fetches next page of various paged APIs. \n * \n * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function \n * @param {String} nextUriPath - The next uri's path. Defaults to 'data.paging.next', \n * which means we will get the next uri path from 'fulfillment.data.paging.next'. \n * The correct next uri path depends on respective api's response.\n * @return {Promise}\n * @example \n * api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks().then(response => {\n * api.albumFetcher.fetchNextPage(response))\n * })\n ", - "start": 981, - "end": 1595, + "value": "*\n * Fetches next page of various paged APIs.\n *\n * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function\n * @param {String} nextUriPath - The next uri's path. Defaults to 'data.paging.next',\n * which means we will get the next uri path from 'fulfillment.data.paging.next'.\n * The correct next uri path depends on respective api's response.\n * @return {Promise}\n * @example\n * api.albumFetcher\n * .setAlbumID('KmRKnW5qmUrTnGRuxF')\n * .fetchTracks()\n * .then(response => {\n * api.albumFetcher.fetchNextPage(response));\n * });\n ", + "start": 1099, + "end": 1710, "loc": { "start": { - "line": 40, - "column": 4 + "line": 50, + "column": 2 }, "end": { - "line": 52, - "column": 7 + "line": 65, + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Is next page available for various paged APIs.\n * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function \n * @param {String} nextUriPath - The next uri's path. Defaults to 'data.paging.next', \n * which means we will get the next uri path from 'fulfillment.data.paging.next'. \n * The correct next uri path depends on respective api's response.\n * @return {Boolean}\n * @example\n * api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks().then(response => {\n * if (api.albumFetcher.hasNextPage(response)) {\n * // more data available\n * }\n * })\n ", - "start": 2008, - "end": 2675, + "value": "*\n * Is next page available for various paged APIs.\n * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function\n * @param {String} nextUriPath - The next uri's path. Defaults to 'data.paging.next',\n * which means we will get the next uri path from 'fulfillment.data.paging.next'.\n * The correct next uri path depends on respective api's response.\n * @return {Boolean}\n * @example\n * api.albumFetcher\n * .setAlbumID('KmRKnW5qmUrTnGRuxF')\n * .fetchTracks()\n * .then(response => {\n * if (api.albumFetcher.hasNextPage(response)) {\n * // more data available\n * }\n * });\n ", + "start": 2070, + "end": 2730, "loc": { "start": { - "line": 65, - "column": 4 + "line": 77, + "column": 2 }, "end": { - "line": 78, - "column": 7 + "line": 93, + "column": 5 } } } @@ -3452,17 +3641,17 @@ }, { "type": "CommentBlock", - "value": "* \n * @param {Http} http \n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.\n ", - "start": 64, - "end": 214, + "value": "*\n * @param {Http} http\n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.\n ", + "start": 62, + "end": 199, "loc": { "start": { "line": 5, - "column": 4 + "column": 2 }, "end": { "line": 8, - "column": 7 + "column": 5 } } }, @@ -3479,16 +3668,16 @@ "binop": null }, "value": "constructor", - "start": 219, - "end": 230, + "start": 202, + "end": 213, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 9, - "column": 15 + "column": 13 } } }, @@ -3504,16 +3693,16 @@ "postfix": false, "binop": null }, - "start": 230, - "end": 231, + "start": 213, + "end": 214, "loc": { "start": { "line": 9, - "column": 15 + "column": 13 }, "end": { "line": 9, - "column": 16 + "column": 14 } } }, @@ -3530,16 +3719,16 @@ "binop": null }, "value": "http", - "start": 231, - "end": 235, + "start": 214, + "end": 218, "loc": { "start": { "line": 9, - "column": 16 + "column": 14 }, "end": { "line": 9, - "column": 20 + "column": 18 } } }, @@ -3556,16 +3745,16 @@ "binop": null, "updateContext": null }, - "start": 235, - "end": 236, + "start": 218, + "end": 219, "loc": { "start": { "line": 9, - "column": 20 + "column": 18 }, "end": { "line": 9, - "column": 21 + "column": 19 } } }, @@ -3582,16 +3771,16 @@ "binop": null }, "value": "territory", - "start": 237, - "end": 246, + "start": 220, + "end": 229, "loc": { "start": { "line": 9, - "column": 22 + "column": 20 }, "end": { "line": 9, - "column": 31 + "column": 29 } } }, @@ -3609,16 +3798,16 @@ "updateContext": null }, "value": "=", - "start": 247, - "end": 248, + "start": 230, + "end": 231, "loc": { "start": { "line": 9, - "column": 32 + "column": 30 }, "end": { "line": 9, - "column": 33 + "column": 31 } } }, @@ -3636,16 +3825,16 @@ "updateContext": null }, "value": "TW", - "start": 249, - "end": 253, + "start": 232, + "end": 236, "loc": { "start": { "line": 9, - "column": 34 + "column": 32 }, "end": { "line": 9, - "column": 38 + "column": 36 } } }, @@ -3661,16 +3850,16 @@ "postfix": false, "binop": null }, - "start": 253, - "end": 254, + "start": 236, + "end": 237, "loc": { "start": { "line": 9, - "column": 38 + "column": 36 }, "end": { "line": 9, - "column": 39 + "column": 37 } } }, @@ -3686,32 +3875,32 @@ "postfix": false, "binop": null }, - "start": 255, - "end": 256, + "start": 238, + "end": 239, "loc": { "start": { "line": 9, - "column": 40 + "column": 38 }, "end": { "line": 9, - "column": 41 + "column": 39 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 265, - "end": 299, + "value": "*\n * @ignore\n ", + "start": 244, + "end": 270, "loc": { "start": { "line": 10, - "column": 8 + "column": 4 }, "end": { "line": 12, - "column": 11 + "column": 7 } } }, @@ -3730,16 +3919,16 @@ "updateContext": null }, "value": "this", - "start": 308, - "end": 312, + "start": 275, + "end": 279, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 12 + "column": 8 } } }, @@ -3756,16 +3945,16 @@ "binop": null, "updateContext": null }, - "start": 312, - "end": 313, + "start": 279, + "end": 280, "loc": { "start": { "line": 13, - "column": 12 + "column": 8 }, "end": { "line": 13, - "column": 13 + "column": 9 } } }, @@ -3782,16 +3971,16 @@ "binop": null }, "value": "http", - "start": 313, - "end": 317, + "start": 280, + "end": 284, "loc": { "start": { "line": 13, - "column": 13 + "column": 9 }, "end": { "line": 13, - "column": 17 + "column": 13 } } }, @@ -3809,16 +3998,16 @@ "updateContext": null }, "value": "=", - "start": 318, - "end": 319, + "start": 285, + "end": 286, "loc": { "start": { "line": 13, - "column": 18 + "column": 14 }, "end": { "line": 13, - "column": 19 + "column": 15 } } }, @@ -3835,8 +4024,34 @@ "binop": null }, "value": "http", - "start": 320, - "end": 324, + "start": 287, + "end": 291, + "loc": { + "start": { + "line": 13, + "column": 16 + }, + "end": { + "line": 13, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 291, + "end": 292, "loc": { "start": { "line": 13, @@ -3844,23 +4059,23 @@ }, "end": { "line": 13, - "column": 24 + "column": 21 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 334, - "end": 368, + "value": "*\n * @ignore\n ", + "start": 298, + "end": 324, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } }, @@ -3879,16 +4094,16 @@ "updateContext": null }, "value": "this", - "start": 377, - "end": 381, + "start": 329, + "end": 333, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 12 + "column": 8 } } }, @@ -3905,16 +4120,16 @@ "binop": null, "updateContext": null }, - "start": 381, - "end": 382, + "start": 333, + "end": 334, "loc": { "start": { "line": 18, - "column": 12 + "column": 8 }, "end": { "line": 18, - "column": 13 + "column": 9 } } }, @@ -3931,16 +4146,16 @@ "binop": null }, "value": "territory", - "start": 382, - "end": 391, + "start": 334, + "end": 343, "loc": { "start": { "line": 18, - "column": 13 + "column": 9 }, "end": { "line": 18, - "column": 22 + "column": 18 } } }, @@ -3958,16 +4173,16 @@ "updateContext": null }, "value": "=", - "start": 392, - "end": 393, + "start": 344, + "end": 345, "loc": { "start": { "line": 18, - "column": 23 + "column": 19 }, "end": { "line": 18, - "column": 24 + "column": 20 } } }, @@ -3984,22 +4199,48 @@ "binop": null }, "value": "territory", - "start": 394, - "end": 403, + "start": 346, + "end": 355, "loc": { "start": { "line": 18, - "column": 25 + "column": 21 }, "end": { "line": 18, - "column": 34 + "column": 30 } } }, { "type": { - "label": "}", + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 355, + "end": 356, + "loc": { + "start": { + "line": 18, + "column": 30 + }, + "end": { + "line": 18, + "column": 31 + } + } + }, + { + "type": { + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -4009,32 +4250,32 @@ "postfix": false, "binop": null }, - "start": 408, - "end": 409, + "start": 359, + "end": 360, "loc": { "start": { "line": 19, - "column": 4 + "column": 2 }, "end": { "line": 19, - "column": 5 + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Gets an object's nested property by path.\n * @ignore\n ", - "start": 415, - "end": 490, + "value": "*\n * Set the fetcher's territory.\n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.\n * @return {Fetcher}\n ", + "start": 364, + "end": 534, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { - "line": 24, - "column": 7 + "line": 25, + "column": 5 } } }, @@ -4050,17 +4291,426 @@ "postfix": false, "binop": null }, - "value": "getPropertyByPath", - "start": 495, - "end": 512, + "value": "setTerritory", + "start": 537, + "end": 549, "loc": { "start": { - "line": 25, + "line": 26, + "column": 2 + }, + "end": { + "line": 26, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 549, + "end": 550, + "loc": { + "start": { + "line": 26, + "column": 14 + }, + "end": { + "line": 26, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "territory", + "start": 550, + "end": 559, + "loc": { + "start": { + "line": 26, + "column": 15 + }, + "end": { + "line": 26, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 559, + "end": 560, + "loc": { + "start": { + "line": 26, + "column": 24 + }, + "end": { + "line": 26, + "column": 25 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 561, + "end": 562, + "loc": { + "start": { + "line": 26, + "column": 26 + }, + "end": { + "line": 26, + "column": 27 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 567, + "end": 571, + "loc": { + "start": { + "line": 27, "column": 4 }, "end": { - "line": 25, + "line": 27, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 571, + "end": 572, + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 27, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "territory", + "start": 572, + "end": 581, + "loc": { + "start": { + "line": 27, + "column": 9 + }, + "end": { + "line": 27, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 582, + "end": 583, + "loc": { + "start": { + "line": 27, + "column": 19 + }, + "end": { + "line": 27, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "territory", + "start": 584, + "end": 593, + "loc": { + "start": { + "line": 27, "column": 21 + }, + "end": { + "line": 27, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 593, + "end": 594, + "loc": { + "start": { + "line": 27, + "column": 30 + }, + "end": { + "line": 27, + "column": 31 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 599, + "end": 605, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 606, + "end": 610, + "loc": { + "start": { + "line": 28, + "column": 11 + }, + "end": { + "line": 28, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 610, + "end": 611, + "loc": { + "start": { + "line": 28, + "column": 15 + }, + "end": { + "line": 28, + "column": 16 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 614, + "end": 615, + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 29, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Gets an object's nested property by path.\n * @ignore\n ", + "start": 619, + "end": 688, + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 34, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getPropertyByPath", + "start": 691, + "end": 708, + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 35, + "column": 19 } } }, @@ -4076,16 +4726,16 @@ "postfix": false, "binop": null }, - "start": 512, - "end": 513, + "start": 708, + "end": 709, "loc": { "start": { - "line": 25, - "column": 21 + "line": 35, + "column": 19 }, "end": { - "line": 25, - "column": 22 + "line": 35, + "column": 20 } } }, @@ -4102,16 +4752,16 @@ "binop": null }, "value": "object", - "start": 513, - "end": 519, + "start": 709, + "end": 715, "loc": { "start": { - "line": 25, - "column": 22 + "line": 35, + "column": 20 }, "end": { - "line": 25, - "column": 28 + "line": 35, + "column": 26 } } }, @@ -4128,16 +4778,16 @@ "binop": null, "updateContext": null }, - "start": 519, - "end": 520, + "start": 715, + "end": 716, "loc": { "start": { - "line": 25, - "column": 28 + "line": 35, + "column": 26 }, "end": { - "line": 25, - "column": 29 + "line": 35, + "column": 27 } } }, @@ -4154,16 +4804,16 @@ "binop": null }, "value": "path", - "start": 521, - "end": 525, + "start": 717, + "end": 721, "loc": { "start": { - "line": 25, - "column": 30 + "line": 35, + "column": 28 }, "end": { - "line": 25, - "column": 34 + "line": 35, + "column": 32 } } }, @@ -4179,16 +4829,16 @@ "postfix": false, "binop": null }, - "start": 525, - "end": 526, + "start": 721, + "end": 722, "loc": { "start": { - "line": 25, - "column": 34 + "line": 35, + "column": 32 }, "end": { - "line": 25, - "column": 35 + "line": 35, + "column": 33 } } }, @@ -4204,16 +4854,16 @@ "postfix": false, "binop": null }, - "start": 527, - "end": 528, + "start": 723, + "end": 724, "loc": { "start": { - "line": 25, - "column": 36 + "line": 35, + "column": 34 }, "end": { - "line": 25, - "column": 37 + "line": 35, + "column": 35 } } }, @@ -4230,16 +4880,16 @@ "binop": null }, "value": "path", - "start": 537, - "end": 541, + "start": 729, + "end": 733, "loc": { "start": { - "line": 26, - "column": 8 + "line": 36, + "column": 4 }, "end": { - "line": 26, - "column": 12 + "line": 36, + "column": 8 } } }, @@ -4257,16 +4907,16 @@ "updateContext": null }, "value": "=", - "start": 542, - "end": 543, + "start": 734, + "end": 735, "loc": { "start": { - "line": 26, - "column": 13 + "line": 36, + "column": 9 }, "end": { - "line": 26, - "column": 14 + "line": 36, + "column": 10 } } }, @@ -4283,16 +4933,16 @@ "binop": null }, "value": "path", - "start": 544, - "end": 548, + "start": 736, + "end": 740, "loc": { "start": { - "line": 26, - "column": 15 + "line": 36, + "column": 11 }, "end": { - "line": 26, - "column": 19 + "line": 36, + "column": 15 } } }, @@ -4309,16 +4959,16 @@ "binop": null, "updateContext": null }, - "start": 548, - "end": 549, + "start": 740, + "end": 741, "loc": { "start": { - "line": 26, - "column": 19 + "line": 36, + "column": 15 }, "end": { - "line": 26, - "column": 20 + "line": 36, + "column": 16 } } }, @@ -4335,16 +4985,16 @@ "binop": null }, "value": "replace", - "start": 549, - "end": 556, + "start": 741, + "end": 748, "loc": { "start": { - "line": 26, - "column": 20 + "line": 36, + "column": 16 }, "end": { - "line": 26, - "column": 27 + "line": 36, + "column": 23 } } }, @@ -4360,16 +5010,16 @@ "postfix": false, "binop": null }, - "start": 556, - "end": 557, + "start": 748, + "end": 749, "loc": { "start": { - "line": 26, - "column": 27 + "line": 36, + "column": 23 }, "end": { - "line": 26, - "column": 28 + "line": 36, + "column": 24 } } }, @@ -4390,16 +5040,16 @@ "pattern": "\\[(\\w+)\\]", "flags": "g" }, - "start": 557, - "end": 569, + "start": 749, + "end": 761, "loc": { "start": { - "line": 26, - "column": 28 + "line": 36, + "column": 24 }, "end": { - "line": 26, - "column": 40 + "line": 36, + "column": 36 } } }, @@ -4416,16 +5066,16 @@ "binop": null, "updateContext": null }, - "start": 569, - "end": 570, + "start": 761, + "end": 762, "loc": { "start": { - "line": 26, - "column": 40 + "line": 36, + "column": 36 }, "end": { - "line": 26, - "column": 41 + "line": 36, + "column": 37 } } }, @@ -4443,16 +5093,16 @@ "updateContext": null }, "value": ".$1", - "start": 571, - "end": 576, + "start": 763, + "end": 768, "loc": { "start": { - "line": 26, - "column": 42 + "line": 36, + "column": 38 }, "end": { - "line": 26, - "column": 47 + "line": 36, + "column": 43 } } }, @@ -4468,16 +5118,16 @@ "postfix": false, "binop": null }, - "start": 576, - "end": 577, + "start": 768, + "end": 769, "loc": { "start": { - "line": 26, - "column": 47 + "line": 36, + "column": 43 }, "end": { - "line": 26, - "column": 48 + "line": 36, + "column": 44 } } }, @@ -4494,32 +5144,32 @@ "binop": null, "updateContext": null }, - "start": 577, - "end": 578, + "start": 769, + "end": 770, "loc": { "start": { - "line": 26, - "column": 48 + "line": 36, + "column": 44 }, "end": { - "line": 26, - "column": 49 + "line": 36, + "column": 45 } } }, { "type": "CommentLine", "value": " convert indexes to properties", - "start": 579, - "end": 611, + "start": 771, + "end": 803, "loc": { "start": { - "line": 26, - "column": 50 + "line": 36, + "column": 46 }, "end": { - "line": 26, - "column": 82 + "line": 36, + "column": 78 } } }, @@ -4536,16 +5186,16 @@ "binop": null }, "value": "path", - "start": 620, - "end": 624, + "start": 808, + "end": 812, "loc": { "start": { - "line": 27, - "column": 8 + "line": 37, + "column": 4 }, "end": { - "line": 27, - "column": 12 + "line": 37, + "column": 8 } } }, @@ -4563,16 +5213,16 @@ "updateContext": null }, "value": "=", - "start": 625, - "end": 626, + "start": 813, + "end": 814, "loc": { "start": { - "line": 27, - "column": 13 + "line": 37, + "column": 9 }, "end": { - "line": 27, - "column": 14 + "line": 37, + "column": 10 } } }, @@ -4589,16 +5239,16 @@ "binop": null }, "value": "path", - "start": 627, - "end": 631, + "start": 815, + "end": 819, "loc": { "start": { - "line": 27, - "column": 15 + "line": 37, + "column": 11 }, "end": { - "line": 27, - "column": 19 + "line": 37, + "column": 15 } } }, @@ -4615,16 +5265,16 @@ "binop": null, "updateContext": null }, - "start": 631, - "end": 632, + "start": 819, + "end": 820, "loc": { "start": { - "line": 27, - "column": 19 + "line": 37, + "column": 15 }, "end": { - "line": 27, - "column": 20 + "line": 37, + "column": 16 } } }, @@ -4641,16 +5291,16 @@ "binop": null }, "value": "replace", - "start": 632, - "end": 639, + "start": 820, + "end": 827, "loc": { "start": { - "line": 27, - "column": 20 + "line": 37, + "column": 16 }, "end": { - "line": 27, - "column": 27 + "line": 37, + "column": 23 } } }, @@ -4666,16 +5316,16 @@ "postfix": false, "binop": null }, - "start": 639, - "end": 640, + "start": 827, + "end": 828, "loc": { "start": { - "line": 27, - "column": 27 + "line": 37, + "column": 23 }, "end": { - "line": 27, - "column": 28 + "line": 37, + "column": 24 } } }, @@ -4696,16 +5346,16 @@ "pattern": "^\\.", "flags": "" }, - "start": 640, - "end": 645, + "start": 828, + "end": 833, "loc": { "start": { - "line": 27, - "column": 28 + "line": 37, + "column": 24 }, "end": { - "line": 27, - "column": 33 + "line": 37, + "column": 29 } } }, @@ -4722,16 +5372,16 @@ "binop": null, "updateContext": null }, - "start": 645, - "end": 646, + "start": 833, + "end": 834, "loc": { "start": { - "line": 27, - "column": 33 + "line": 37, + "column": 29 }, "end": { - "line": 27, - "column": 34 + "line": 37, + "column": 30 } } }, @@ -4749,16 +5399,16 @@ "updateContext": null }, "value": "", - "start": 647, - "end": 649, + "start": 835, + "end": 837, "loc": { "start": { - "line": 27, - "column": 35 + "line": 37, + "column": 31 }, "end": { - "line": 27, - "column": 37 + "line": 37, + "column": 33 } } }, @@ -4774,16 +5424,16 @@ "postfix": false, "binop": null }, - "start": 649, - "end": 650, + "start": 837, + "end": 838, "loc": { "start": { - "line": 27, - "column": 37 + "line": 37, + "column": 33 }, "end": { - "line": 27, - "column": 38 + "line": 37, + "column": 34 } } }, @@ -4800,32 +5450,32 @@ "binop": null, "updateContext": null }, - "start": 650, - "end": 651, + "start": 838, + "end": 839, "loc": { "start": { - "line": 27, - "column": 38 + "line": 37, + "column": 34 }, "end": { - "line": 27, - "column": 39 + "line": 37, + "column": 35 } } }, { "type": "CommentLine", "value": " strip a leading dot", - "start": 662, - "end": 684, + "start": 840, + "end": 862, "loc": { "start": { - "line": 27, - "column": 50 + "line": 37, + "column": 36 }, "end": { - "line": 27, - "column": 72 + "line": 37, + "column": 58 } } }, @@ -4844,16 +5494,16 @@ "updateContext": null }, "value": "var", - "start": 693, - "end": 696, + "start": 867, + "end": 870, "loc": { "start": { - "line": 28, - "column": 8 + "line": 38, + "column": 4 }, "end": { - "line": 28, - "column": 11 + "line": 38, + "column": 7 } } }, @@ -4870,16 +5520,16 @@ "binop": null }, "value": "keys", - "start": 697, - "end": 701, + "start": 871, + "end": 875, "loc": { "start": { - "line": 28, - "column": 12 + "line": 38, + "column": 8 }, "end": { - "line": 28, - "column": 16 + "line": 38, + "column": 12 } } }, @@ -4897,16 +5547,16 @@ "updateContext": null }, "value": "=", - "start": 702, - "end": 703, + "start": 876, + "end": 877, "loc": { "start": { - "line": 28, - "column": 17 + "line": 38, + "column": 13 }, "end": { - "line": 28, - "column": 18 + "line": 38, + "column": 14 } } }, @@ -4923,16 +5573,16 @@ "binop": null }, "value": "path", - "start": 704, - "end": 708, + "start": 878, + "end": 882, "loc": { "start": { - "line": 28, - "column": 19 + "line": 38, + "column": 15 }, "end": { - "line": 28, - "column": 23 + "line": 38, + "column": 19 } } }, @@ -4949,16 +5599,16 @@ "binop": null, "updateContext": null }, - "start": 708, - "end": 709, + "start": 882, + "end": 883, "loc": { "start": { - "line": 28, - "column": 23 + "line": 38, + "column": 19 }, "end": { - "line": 28, - "column": 24 + "line": 38, + "column": 20 } } }, @@ -4975,16 +5625,16 @@ "binop": null }, "value": "split", - "start": 709, - "end": 714, + "start": 883, + "end": 888, "loc": { "start": { - "line": 28, - "column": 24 + "line": 38, + "column": 20 }, "end": { - "line": 28, - "column": 29 + "line": 38, + "column": 25 } } }, @@ -5000,16 +5650,16 @@ "postfix": false, "binop": null }, - "start": 714, - "end": 715, + "start": 888, + "end": 889, "loc": { "start": { - "line": 28, - "column": 29 + "line": 38, + "column": 25 }, "end": { - "line": 28, - "column": 30 + "line": 38, + "column": 26 } } }, @@ -5027,16 +5677,16 @@ "updateContext": null }, "value": ".", - "start": 715, - "end": 718, + "start": 889, + "end": 892, "loc": { "start": { - "line": 28, - "column": 30 + "line": 38, + "column": 26 }, "end": { - "line": 28, - "column": 33 + "line": 38, + "column": 29 } } }, @@ -5052,16 +5702,16 @@ "postfix": false, "binop": null }, - "start": 718, - "end": 719, + "start": 892, + "end": 893, "loc": { "start": { - "line": 28, - "column": 33 + "line": 38, + "column": 29 }, "end": { - "line": 28, - "column": 34 + "line": 38, + "column": 30 } } }, @@ -5078,16 +5728,16 @@ "binop": null, "updateContext": null }, - "start": 719, - "end": 720, + "start": 893, + "end": 894, "loc": { "start": { - "line": 28, - "column": 34 + "line": 38, + "column": 30 }, "end": { - "line": 28, - "column": 35 + "line": 38, + "column": 31 } } }, @@ -5106,16 +5756,16 @@ "updateContext": null }, "value": "for", - "start": 729, - "end": 732, + "start": 899, + "end": 902, "loc": { "start": { - "line": 29, - "column": 8 + "line": 39, + "column": 4 }, "end": { - "line": 29, - "column": 11 + "line": 39, + "column": 7 } } }, @@ -5131,16 +5781,16 @@ "postfix": false, "binop": null }, - "start": 733, - "end": 734, + "start": 903, + "end": 904, "loc": { "start": { - "line": 29, - "column": 12 + "line": 39, + "column": 8 }, "end": { - "line": 29, - "column": 13 + "line": 39, + "column": 9 } } }, @@ -5159,16 +5809,16 @@ "updateContext": null }, "value": "var", - "start": 734, - "end": 737, + "start": 904, + "end": 907, "loc": { "start": { - "line": 29, - "column": 13 + "line": 39, + "column": 9 }, "end": { - "line": 29, - "column": 16 + "line": 39, + "column": 12 } } }, @@ -5185,16 +5835,16 @@ "binop": null }, "value": "i", - "start": 738, - "end": 739, + "start": 908, + "end": 909, "loc": { "start": { - "line": 29, - "column": 17 + "line": 39, + "column": 13 }, "end": { - "line": 29, - "column": 18 + "line": 39, + "column": 14 } } }, @@ -5212,16 +5862,16 @@ "updateContext": null }, "value": "=", - "start": 740, - "end": 741, + "start": 910, + "end": 911, "loc": { "start": { - "line": 29, - "column": 19 + "line": 39, + "column": 15 }, "end": { - "line": 29, - "column": 20 + "line": 39, + "column": 16 } } }, @@ -5239,16 +5889,16 @@ "updateContext": null }, "value": 0, - "start": 742, - "end": 743, + "start": 912, + "end": 913, "loc": { "start": { - "line": 29, - "column": 21 + "line": 39, + "column": 17 }, "end": { - "line": 29, - "column": 22 + "line": 39, + "column": 18 } } }, @@ -5265,16 +5915,16 @@ "binop": null, "updateContext": null }, - "start": 743, - "end": 744, + "start": 913, + "end": 914, "loc": { "start": { - "line": 29, - "column": 22 + "line": 39, + "column": 18 }, "end": { - "line": 29, - "column": 23 + "line": 39, + "column": 19 } } }, @@ -5291,16 +5941,16 @@ "binop": null }, "value": "n", - "start": 745, - "end": 746, + "start": 915, + "end": 916, "loc": { "start": { - "line": 29, - "column": 24 + "line": 39, + "column": 20 }, "end": { - "line": 29, - "column": 25 + "line": 39, + "column": 21 } } }, @@ -5318,16 +5968,16 @@ "updateContext": null }, "value": "=", - "start": 747, - "end": 748, + "start": 917, + "end": 918, "loc": { "start": { - "line": 29, - "column": 26 + "line": 39, + "column": 22 }, "end": { - "line": 29, - "column": 27 + "line": 39, + "column": 23 } } }, @@ -5344,16 +5994,16 @@ "binop": null }, "value": "keys", - "start": 749, - "end": 753, + "start": 919, + "end": 923, "loc": { "start": { - "line": 29, - "column": 28 + "line": 39, + "column": 24 }, "end": { - "line": 29, - "column": 32 + "line": 39, + "column": 28 } } }, @@ -5370,16 +6020,16 @@ "binop": null, "updateContext": null }, - "start": 753, - "end": 754, + "start": 923, + "end": 924, "loc": { "start": { - "line": 29, - "column": 32 + "line": 39, + "column": 28 }, "end": { - "line": 29, - "column": 33 + "line": 39, + "column": 29 } } }, @@ -5396,16 +6046,16 @@ "binop": null }, "value": "length", - "start": 754, - "end": 760, + "start": 924, + "end": 930, "loc": { "start": { - "line": 29, - "column": 33 + "line": 39, + "column": 29 }, "end": { - "line": 29, - "column": 39 + "line": 39, + "column": 35 } } }, @@ -5422,16 +6072,16 @@ "binop": null, "updateContext": null }, - "start": 760, - "end": 761, + "start": 930, + "end": 931, "loc": { "start": { - "line": 29, - "column": 39 + "line": 39, + "column": 35 }, "end": { - "line": 29, - "column": 40 + "line": 39, + "column": 36 } } }, @@ -5448,16 +6098,16 @@ "binop": null }, "value": "i", - "start": 762, - "end": 763, + "start": 932, + "end": 933, "loc": { "start": { - "line": 29, - "column": 41 + "line": 39, + "column": 37 }, "end": { - "line": 29, - "column": 42 + "line": 39, + "column": 38 } } }, @@ -5475,16 +6125,16 @@ "updateContext": null }, "value": "<", - "start": 764, - "end": 765, + "start": 934, + "end": 935, "loc": { "start": { - "line": 29, - "column": 43 + "line": 39, + "column": 39 }, "end": { - "line": 29, - "column": 44 + "line": 39, + "column": 40 } } }, @@ -5501,16 +6151,16 @@ "binop": null }, "value": "n", - "start": 766, - "end": 767, + "start": 936, + "end": 937, "loc": { "start": { - "line": 29, - "column": 45 + "line": 39, + "column": 41 }, "end": { - "line": 29, - "column": 46 + "line": 39, + "column": 42 } } }, @@ -5527,16 +6177,16 @@ "binop": null, "updateContext": null }, - "start": 767, - "end": 768, + "start": 937, + "end": 938, "loc": { "start": { - "line": 29, - "column": 46 + "line": 39, + "column": 42 }, "end": { - "line": 29, - "column": 47 + "line": 39, + "column": 43 } } }, @@ -5553,16 +6203,16 @@ "binop": null }, "value": "++", - "start": 769, - "end": 771, + "start": 939, + "end": 941, "loc": { "start": { - "line": 29, - "column": 48 + "line": 39, + "column": 44 }, "end": { - "line": 29, - "column": 50 + "line": 39, + "column": 46 } } }, @@ -5579,16 +6229,16 @@ "binop": null }, "value": "i", - "start": 771, - "end": 772, + "start": 941, + "end": 942, "loc": { "start": { - "line": 29, - "column": 50 + "line": 39, + "column": 46 }, "end": { - "line": 29, - "column": 51 + "line": 39, + "column": 47 } } }, @@ -5604,16 +6254,16 @@ "postfix": false, "binop": null }, - "start": 772, - "end": 773, + "start": 942, + "end": 943, "loc": { "start": { - "line": 29, - "column": 51 + "line": 39, + "column": 47 }, "end": { - "line": 29, - "column": 52 + "line": 39, + "column": 48 } } }, @@ -5629,16 +6279,16 @@ "postfix": false, "binop": null }, - "start": 774, - "end": 775, + "start": 944, + "end": 945, "loc": { "start": { - "line": 29, - "column": 53 + "line": 39, + "column": 49 }, "end": { - "line": 29, - "column": 54 + "line": 39, + "column": 50 } } }, @@ -5657,16 +6307,16 @@ "updateContext": null }, "value": "var", - "start": 788, - "end": 791, + "start": 952, + "end": 955, "loc": { "start": { - "line": 30, - "column": 12 + "line": 40, + "column": 6 }, "end": { - "line": 30, - "column": 15 + "line": 40, + "column": 9 } } }, @@ -5683,16 +6333,16 @@ "binop": null }, "value": "key", - "start": 792, - "end": 795, + "start": 956, + "end": 959, "loc": { "start": { - "line": 30, - "column": 16 + "line": 40, + "column": 10 }, "end": { - "line": 30, - "column": 19 + "line": 40, + "column": 13 } } }, @@ -5710,16 +6360,16 @@ "updateContext": null }, "value": "=", - "start": 796, - "end": 797, + "start": 960, + "end": 961, "loc": { "start": { - "line": 30, - "column": 20 + "line": 40, + "column": 14 }, "end": { - "line": 30, - "column": 21 + "line": 40, + "column": 15 } } }, @@ -5736,16 +6386,16 @@ "binop": null }, "value": "keys", - "start": 798, - "end": 802, + "start": 962, + "end": 966, "loc": { "start": { - "line": 30, - "column": 22 + "line": 40, + "column": 16 }, "end": { - "line": 30, - "column": 26 + "line": 40, + "column": 20 } } }, @@ -5762,16 +6412,16 @@ "binop": null, "updateContext": null }, - "start": 802, - "end": 803, + "start": 966, + "end": 967, "loc": { "start": { - "line": 30, - "column": 26 + "line": 40, + "column": 20 }, "end": { - "line": 30, - "column": 27 + "line": 40, + "column": 21 } } }, @@ -5788,16 +6438,16 @@ "binop": null }, "value": "i", - "start": 803, - "end": 804, + "start": 967, + "end": 968, "loc": { "start": { - "line": 30, - "column": 27 + "line": 40, + "column": 21 }, "end": { - "line": 30, - "column": 28 + "line": 40, + "column": 22 } } }, @@ -5814,16 +6464,16 @@ "binop": null, "updateContext": null }, - "start": 804, - "end": 805, + "start": 968, + "end": 969, "loc": { "start": { - "line": 30, - "column": 28 + "line": 40, + "column": 22 }, "end": { - "line": 30, - "column": 29 + "line": 40, + "column": 23 } } }, @@ -5840,16 +6490,16 @@ "binop": null, "updateContext": null }, - "start": 805, - "end": 806, + "start": 969, + "end": 970, "loc": { "start": { - "line": 30, - "column": 29 + "line": 40, + "column": 23 }, "end": { - "line": 30, - "column": 30 + "line": 40, + "column": 24 } } }, @@ -5868,16 +6518,16 @@ "updateContext": null }, "value": "if", - "start": 819, - "end": 821, + "start": 977, + "end": 979, "loc": { "start": { - "line": 31, - "column": 12 + "line": 41, + "column": 6 }, "end": { - "line": 31, - "column": 14 + "line": 41, + "column": 8 } } }, @@ -5893,16 +6543,16 @@ "postfix": false, "binop": null }, - "start": 822, - "end": 823, + "start": 980, + "end": 981, "loc": { "start": { - "line": 31, - "column": 15 + "line": 41, + "column": 9 }, "end": { - "line": 31, - "column": 16 + "line": 41, + "column": 10 } } }, @@ -5919,16 +6569,16 @@ "binop": null }, "value": "key", - "start": 823, - "end": 826, + "start": 981, + "end": 984, "loc": { "start": { - "line": 31, - "column": 16 + "line": 41, + "column": 10 }, "end": { - "line": 31, - "column": 19 + "line": 41, + "column": 13 } } }, @@ -5947,16 +6597,16 @@ "updateContext": null }, "value": "in", - "start": 827, - "end": 829, + "start": 985, + "end": 987, "loc": { "start": { - "line": 31, - "column": 20 + "line": 41, + "column": 14 }, "end": { - "line": 31, - "column": 22 + "line": 41, + "column": 16 } } }, @@ -5973,16 +6623,16 @@ "binop": null }, "value": "object", - "start": 830, - "end": 836, + "start": 988, + "end": 994, "loc": { "start": { - "line": 31, - "column": 23 + "line": 41, + "column": 17 }, "end": { - "line": 31, - "column": 29 + "line": 41, + "column": 23 } } }, @@ -5998,16 +6648,16 @@ "postfix": false, "binop": null }, - "start": 836, - "end": 837, + "start": 994, + "end": 995, "loc": { "start": { - "line": 31, - "column": 29 + "line": 41, + "column": 23 }, "end": { - "line": 31, - "column": 30 + "line": 41, + "column": 24 } } }, @@ -6023,16 +6673,16 @@ "postfix": false, "binop": null }, - "start": 838, - "end": 839, + "start": 996, + "end": 997, "loc": { "start": { - "line": 31, - "column": 31 + "line": 41, + "column": 25 }, "end": { - "line": 31, - "column": 32 + "line": 41, + "column": 26 } } }, @@ -6049,16 +6699,16 @@ "binop": null }, "value": "object", - "start": 856, - "end": 862, + "start": 1006, + "end": 1012, "loc": { "start": { - "line": 32, - "column": 16 + "line": 42, + "column": 8 }, "end": { - "line": 32, - "column": 22 + "line": 42, + "column": 14 } } }, @@ -6076,16 +6726,16 @@ "updateContext": null }, "value": "=", - "start": 863, - "end": 864, + "start": 1013, + "end": 1014, "loc": { "start": { - "line": 32, - "column": 23 + "line": 42, + "column": 15 }, "end": { - "line": 32, - "column": 24 + "line": 42, + "column": 16 } } }, @@ -6102,16 +6752,16 @@ "binop": null }, "value": "object", - "start": 865, - "end": 871, + "start": 1015, + "end": 1021, "loc": { "start": { - "line": 32, - "column": 25 + "line": 42, + "column": 17 }, "end": { - "line": 32, - "column": 31 + "line": 42, + "column": 23 } } }, @@ -6128,16 +6778,16 @@ "binop": null, "updateContext": null }, - "start": 871, - "end": 872, + "start": 1021, + "end": 1022, "loc": { "start": { - "line": 32, - "column": 31 + "line": 42, + "column": 23 }, "end": { - "line": 32, - "column": 32 + "line": 42, + "column": 24 } } }, @@ -6154,16 +6804,16 @@ "binop": null }, "value": "key", - "start": 872, - "end": 875, + "start": 1022, + "end": 1025, "loc": { "start": { - "line": 32, - "column": 32 + "line": 42, + "column": 24 }, "end": { - "line": 32, - "column": 35 + "line": 42, + "column": 27 } } }, @@ -6180,16 +6830,16 @@ "binop": null, "updateContext": null }, - "start": 875, - "end": 876, + "start": 1025, + "end": 1026, "loc": { "start": { - "line": 32, - "column": 35 + "line": 42, + "column": 27 }, "end": { - "line": 32, - "column": 36 + "line": 42, + "column": 28 } } }, @@ -6206,16 +6856,16 @@ "binop": null, "updateContext": null }, - "start": 876, - "end": 877, + "start": 1026, + "end": 1027, "loc": { "start": { - "line": 32, - "column": 36 + "line": 42, + "column": 28 }, "end": { - "line": 32, - "column": 37 + "line": 42, + "column": 29 } } }, @@ -6231,16 +6881,16 @@ "postfix": false, "binop": null }, - "start": 890, - "end": 891, + "start": 1034, + "end": 1035, "loc": { "start": { - "line": 33, - "column": 12 + "line": 43, + "column": 6 }, "end": { - "line": 33, - "column": 13 + "line": 43, + "column": 7 } } }, @@ -6259,16 +6909,16 @@ "updateContext": null }, "value": "else", - "start": 892, - "end": 896, + "start": 1036, + "end": 1040, "loc": { "start": { - "line": 33, - "column": 14 + "line": 43, + "column": 8 }, "end": { - "line": 33, - "column": 18 + "line": 43, + "column": 12 } } }, @@ -6284,16 +6934,16 @@ "postfix": false, "binop": null }, - "start": 897, - "end": 898, + "start": 1041, + "end": 1042, "loc": { "start": { - "line": 33, - "column": 19 + "line": 43, + "column": 13 }, "end": { - "line": 33, - "column": 20 + "line": 43, + "column": 14 } } }, @@ -6312,16 +6962,16 @@ "updateContext": null }, "value": "return", - "start": 915, - "end": 921, + "start": 1051, + "end": 1057, "loc": { "start": { - "line": 34, - "column": 16 + "line": 44, + "column": 8 }, "end": { - "line": 34, - "column": 22 + "line": 44, + "column": 14 } } }, @@ -6338,16 +6988,16 @@ "binop": null, "updateContext": null }, - "start": 921, - "end": 922, + "start": 1057, + "end": 1058, "loc": { "start": { - "line": 34, - "column": 22 + "line": 44, + "column": 14 }, "end": { - "line": 34, - "column": 23 + "line": 44, + "column": 15 } } }, @@ -6363,16 +7013,16 @@ "postfix": false, "binop": null }, - "start": 935, - "end": 936, + "start": 1065, + "end": 1066, "loc": { "start": { - "line": 35, - "column": 12 + "line": 45, + "column": 6 }, "end": { - "line": 35, - "column": 13 + "line": 45, + "column": 7 } } }, @@ -6388,16 +7038,16 @@ "postfix": false, "binop": null }, - "start": 945, - "end": 946, + "start": 1071, + "end": 1072, "loc": { "start": { - "line": 36, - "column": 8 + "line": 46, + "column": 4 }, "end": { - "line": 36, - "column": 9 + "line": 46, + "column": 5 } } }, @@ -6416,16 +7066,16 @@ "updateContext": null }, "value": "return", - "start": 955, - "end": 961, + "start": 1077, + "end": 1083, "loc": { "start": { - "line": 37, - "column": 8 + "line": 47, + "column": 4 }, "end": { - "line": 37, - "column": 14 + "line": 47, + "column": 10 } } }, @@ -6442,16 +7092,16 @@ "binop": null }, "value": "object", - "start": 962, - "end": 968, + "start": 1084, + "end": 1090, "loc": { "start": { - "line": 37, - "column": 15 + "line": 47, + "column": 11 }, "end": { - "line": 37, - "column": 21 + "line": 47, + "column": 17 } } }, @@ -6468,16 +7118,16 @@ "binop": null, "updateContext": null }, - "start": 968, - "end": 969, + "start": 1090, + "end": 1091, "loc": { "start": { - "line": 37, - "column": 21 + "line": 47, + "column": 17 }, "end": { - "line": 37, - "column": 22 + "line": 47, + "column": 18 } } }, @@ -6493,32 +7143,32 @@ "postfix": false, "binop": null }, - "start": 974, - "end": 975, + "start": 1094, + "end": 1095, "loc": { "start": { - "line": 38, - "column": 4 + "line": 48, + "column": 2 }, "end": { - "line": 38, - "column": 5 + "line": 48, + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Fetches next page of various paged APIs. \n * \n * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function \n * @param {String} nextUriPath - The next uri's path. Defaults to 'data.paging.next', \n * which means we will get the next uri path from 'fulfillment.data.paging.next'. \n * The correct next uri path depends on respective api's response.\n * @return {Promise}\n * @example \n * api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks().then(response => {\n * api.albumFetcher.fetchNextPage(response))\n * })\n ", - "start": 981, - "end": 1595, + "value": "*\n * Fetches next page of various paged APIs.\n *\n * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function\n * @param {String} nextUriPath - The next uri's path. Defaults to 'data.paging.next',\n * which means we will get the next uri path from 'fulfillment.data.paging.next'.\n * The correct next uri path depends on respective api's response.\n * @return {Promise}\n * @example\n * api.albumFetcher\n * .setAlbumID('KmRKnW5qmUrTnGRuxF')\n * .fetchTracks()\n * .then(response => {\n * api.albumFetcher.fetchNextPage(response));\n * });\n ", + "start": 1099, + "end": 1710, "loc": { "start": { - "line": 40, - "column": 4 + "line": 50, + "column": 2 }, "end": { - "line": 52, - "column": 7 + "line": 65, + "column": 5 } } }, @@ -6535,16 +7185,16 @@ "binop": null }, "value": "fetchNextPage", - "start": 1600, - "end": 1613, + "start": 1713, + "end": 1726, "loc": { "start": { - "line": 53, - "column": 4 + "line": 66, + "column": 2 }, "end": { - "line": 53, - "column": 17 + "line": 66, + "column": 15 } } }, @@ -6560,16 +7210,16 @@ "postfix": false, "binop": null }, - "start": 1613, - "end": 1614, + "start": 1726, + "end": 1727, "loc": { "start": { - "line": 53, - "column": 17 + "line": 66, + "column": 15 }, "end": { - "line": 53, - "column": 18 + "line": 66, + "column": 16 } } }, @@ -6586,16 +7236,16 @@ "binop": null }, "value": "fulfillment", - "start": 1614, - "end": 1625, + "start": 1727, + "end": 1738, "loc": { "start": { - "line": 53, - "column": 18 + "line": 66, + "column": 16 }, "end": { - "line": 53, - "column": 29 + "line": 66, + "column": 27 } } }, @@ -6612,16 +7262,16 @@ "binop": null, "updateContext": null }, - "start": 1625, - "end": 1626, + "start": 1738, + "end": 1739, "loc": { "start": { - "line": 53, - "column": 29 + "line": 66, + "column": 27 }, "end": { - "line": 53, - "column": 30 + "line": 66, + "column": 28 } } }, @@ -6638,16 +7288,16 @@ "binop": null }, "value": "nextUriPath", - "start": 1627, - "end": 1638, + "start": 1740, + "end": 1751, "loc": { "start": { - "line": 53, - "column": 31 + "line": 66, + "column": 29 }, "end": { - "line": 53, - "column": 42 + "line": 66, + "column": 40 } } }, @@ -6665,16 +7315,16 @@ "updateContext": null }, "value": "=", - "start": 1639, - "end": 1640, + "start": 1752, + "end": 1753, "loc": { "start": { - "line": 53, - "column": 43 + "line": 66, + "column": 41 }, "end": { - "line": 53, - "column": 44 + "line": 66, + "column": 42 } } }, @@ -6692,16 +7342,16 @@ "updateContext": null }, "value": "data.paging.next", - "start": 1641, - "end": 1659, + "start": 1754, + "end": 1772, "loc": { "start": { - "line": 53, - "column": 45 + "line": 66, + "column": 43 }, "end": { - "line": 53, - "column": 63 + "line": 66, + "column": 61 } } }, @@ -6717,16 +7367,16 @@ "postfix": false, "binop": null }, - "start": 1659, - "end": 1660, + "start": 1772, + "end": 1773, "loc": { "start": { - "line": 53, - "column": 63 + "line": 66, + "column": 61 }, "end": { - "line": 53, - "column": 64 + "line": 66, + "column": 62 } } }, @@ -6742,16 +7392,16 @@ "postfix": false, "binop": null }, - "start": 1661, - "end": 1662, + "start": 1774, + "end": 1775, "loc": { "start": { - "line": 53, - "column": 65 + "line": 66, + "column": 63 }, "end": { - "line": 53, - "column": 66 + "line": 66, + "column": 64 } } }, @@ -6770,16 +7420,16 @@ "updateContext": null }, "value": "var", - "start": 1671, - "end": 1674, + "start": 1780, + "end": 1783, "loc": { "start": { - "line": 54, - "column": 8 + "line": 67, + "column": 4 }, "end": { - "line": 54, - "column": 11 + "line": 67, + "column": 7 } } }, @@ -6796,16 +7446,16 @@ "binop": null }, "value": "nextUri", - "start": 1675, - "end": 1682, + "start": 1784, + "end": 1791, "loc": { "start": { - "line": 54, - "column": 12 + "line": 67, + "column": 8 }, "end": { - "line": 54, - "column": 19 + "line": 67, + "column": 15 } } }, @@ -6823,16 +7473,16 @@ "updateContext": null }, "value": "=", - "start": 1683, - "end": 1684, + "start": 1792, + "end": 1793, "loc": { "start": { - "line": 54, - "column": 20 + "line": 67, + "column": 16 }, "end": { - "line": 54, - "column": 21 + "line": 67, + "column": 17 } } }, @@ -6851,16 +7501,16 @@ "updateContext": null }, "value": "this", - "start": 1685, - "end": 1689, + "start": 1794, + "end": 1798, "loc": { "start": { - "line": 54, - "column": 22 + "line": 67, + "column": 18 }, "end": { - "line": 54, - "column": 26 + "line": 67, + "column": 22 } } }, @@ -6877,16 +7527,16 @@ "binop": null, "updateContext": null }, - "start": 1689, - "end": 1690, + "start": 1798, + "end": 1799, "loc": { "start": { - "line": 54, - "column": 26 + "line": 67, + "column": 22 }, "end": { - "line": 54, - "column": 27 + "line": 67, + "column": 23 } } }, @@ -6903,16 +7553,16 @@ "binop": null }, "value": "getPropertyByPath", - "start": 1690, - "end": 1707, + "start": 1799, + "end": 1816, "loc": { "start": { - "line": 54, - "column": 27 + "line": 67, + "column": 23 }, "end": { - "line": 54, - "column": 44 + "line": 67, + "column": 40 } } }, @@ -6928,16 +7578,16 @@ "postfix": false, "binop": null }, - "start": 1707, - "end": 1708, + "start": 1816, + "end": 1817, "loc": { "start": { - "line": 54, - "column": 44 + "line": 67, + "column": 40 }, "end": { - "line": 54, - "column": 45 + "line": 67, + "column": 41 } } }, @@ -6954,16 +7604,16 @@ "binop": null }, "value": "fulfillment", - "start": 1708, - "end": 1719, + "start": 1817, + "end": 1828, "loc": { "start": { - "line": 54, - "column": 45 + "line": 67, + "column": 41 }, "end": { - "line": 54, - "column": 56 + "line": 67, + "column": 52 } } }, @@ -6980,16 +7630,16 @@ "binop": null, "updateContext": null }, - "start": 1719, - "end": 1720, + "start": 1828, + "end": 1829, "loc": { "start": { - "line": 54, - "column": 56 + "line": 67, + "column": 52 }, "end": { - "line": 54, - "column": 57 + "line": 67, + "column": 53 } } }, @@ -7006,16 +7656,16 @@ "binop": null }, "value": "nextUriPath", - "start": 1721, - "end": 1732, + "start": 1830, + "end": 1841, "loc": { "start": { - "line": 54, - "column": 58 + "line": 67, + "column": 54 }, "end": { - "line": 54, - "column": 69 + "line": 67, + "column": 65 } } }, @@ -7031,16 +7681,42 @@ "postfix": false, "binop": null }, - "start": 1732, - "end": 1733, + "start": 1841, + "end": 1842, + "loc": { + "start": { + "line": 67, + "column": 65 + }, + "end": { + "line": 67, + "column": 66 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1842, + "end": 1843, "loc": { "start": { - "line": 54, - "column": 69 + "line": 67, + "column": 66 }, "end": { - "line": 54, - "column": 70 + "line": 67, + "column": 67 } } }, @@ -7059,16 +7735,16 @@ "updateContext": null }, "value": "if", - "start": 1742, - "end": 1744, + "start": 1848, + "end": 1850, "loc": { "start": { - "line": 55, - "column": 8 + "line": 68, + "column": 4 }, "end": { - "line": 55, - "column": 10 + "line": 68, + "column": 6 } } }, @@ -7084,16 +7760,16 @@ "postfix": false, "binop": null }, - "start": 1745, - "end": 1746, + "start": 1851, + "end": 1852, "loc": { "start": { - "line": 55, - "column": 11 + "line": 68, + "column": 7 }, "end": { - "line": 55, - "column": 12 + "line": 68, + "column": 8 } } }, @@ -7110,16 +7786,16 @@ "binop": null }, "value": "nextUri", - "start": 1746, - "end": 1753, + "start": 1852, + "end": 1859, "loc": { "start": { - "line": 55, - "column": 12 + "line": 68, + "column": 8 }, "end": { - "line": 55, - "column": 19 + "line": 68, + "column": 15 } } }, @@ -7137,16 +7813,16 @@ "updateContext": null }, "value": "!=", - "start": 1754, - "end": 1756, + "start": 1860, + "end": 1862, "loc": { "start": { - "line": 55, - "column": 20 + "line": 68, + "column": 16 }, "end": { - "line": 55, - "column": 22 + "line": 68, + "column": 18 } } }, @@ -7165,16 +7841,16 @@ "updateContext": null }, "value": "null", - "start": 1757, - "end": 1761, + "start": 1863, + "end": 1867, "loc": { "start": { - "line": 55, - "column": 23 + "line": 68, + "column": 19 }, "end": { - "line": 55, - "column": 27 + "line": 68, + "column": 23 } } }, @@ -7192,16 +7868,16 @@ "updateContext": null }, "value": "&&", - "start": 1762, - "end": 1764, + "start": 1868, + "end": 1870, "loc": { "start": { - "line": 55, - "column": 28 + "line": 68, + "column": 24 }, "end": { - "line": 55, - "column": 30 + "line": 68, + "column": 26 } } }, @@ -7218,16 +7894,16 @@ "binop": null }, "value": "nextUri", - "start": 1765, - "end": 1772, + "start": 1871, + "end": 1878, "loc": { "start": { - "line": 55, - "column": 31 + "line": 68, + "column": 27 }, "end": { - "line": 55, - "column": 38 + "line": 68, + "column": 34 } } }, @@ -7245,16 +7921,16 @@ "updateContext": null }, "value": "!==", - "start": 1773, - "end": 1776, + "start": 1879, + "end": 1882, "loc": { "start": { - "line": 55, - "column": 39 + "line": 68, + "column": 35 }, "end": { - "line": 55, - "column": 42 + "line": 68, + "column": 38 } } }, @@ -7271,16 +7947,16 @@ "binop": null }, "value": "undefined", - "start": 1777, - "end": 1786, + "start": 1883, + "end": 1892, "loc": { "start": { - "line": 55, - "column": 43 + "line": 68, + "column": 39 }, "end": { - "line": 55, - "column": 52 + "line": 68, + "column": 48 } } }, @@ -7296,16 +7972,16 @@ "postfix": false, "binop": null }, - "start": 1786, - "end": 1787, + "start": 1892, + "end": 1893, "loc": { "start": { - "line": 55, - "column": 52 + "line": 68, + "column": 48 }, "end": { - "line": 55, - "column": 53 + "line": 68, + "column": 49 } } }, @@ -7321,16 +7997,16 @@ "postfix": false, "binop": null }, - "start": 1788, - "end": 1789, + "start": 1894, + "end": 1895, "loc": { "start": { - "line": 55, - "column": 54 + "line": 68, + "column": 50 }, "end": { - "line": 55, - "column": 55 + "line": 68, + "column": 51 } } }, @@ -7349,16 +8025,16 @@ "updateContext": null }, "value": "return", - "start": 1802, - "end": 1808, + "start": 1902, + "end": 1908, "loc": { "start": { - "line": 56, - "column": 12 + "line": 69, + "column": 6 }, "end": { - "line": 56, - "column": 18 + "line": 69, + "column": 12 } } }, @@ -7377,16 +8053,16 @@ "updateContext": null }, "value": "this", - "start": 1809, - "end": 1813, + "start": 1909, + "end": 1913, "loc": { "start": { - "line": 56, - "column": 19 + "line": 69, + "column": 13 }, "end": { - "line": 56, - "column": 23 + "line": 69, + "column": 17 } } }, @@ -7403,16 +8079,16 @@ "binop": null, "updateContext": null }, - "start": 1813, - "end": 1814, + "start": 1913, + "end": 1914, "loc": { "start": { - "line": 56, - "column": 23 + "line": 69, + "column": 17 }, "end": { - "line": 56, - "column": 24 + "line": 69, + "column": 18 } } }, @@ -7429,16 +8105,16 @@ "binop": null }, "value": "http", - "start": 1814, - "end": 1818, + "start": 1914, + "end": 1918, "loc": { "start": { - "line": 56, - "column": 24 + "line": 69, + "column": 18 }, "end": { - "line": 56, - "column": 28 + "line": 69, + "column": 22 } } }, @@ -7455,16 +8131,16 @@ "binop": null, "updateContext": null }, - "start": 1818, - "end": 1819, + "start": 1918, + "end": 1919, "loc": { "start": { - "line": 56, - "column": 28 + "line": 69, + "column": 22 }, "end": { - "line": 56, - "column": 29 + "line": 69, + "column": 23 } } }, @@ -7481,16 +8157,16 @@ "binop": null }, "value": "get", - "start": 1819, - "end": 1822, + "start": 1919, + "end": 1922, "loc": { "start": { - "line": 56, - "column": 29 + "line": 69, + "column": 23 }, "end": { - "line": 56, - "column": 32 + "line": 69, + "column": 26 } } }, @@ -7506,16 +8182,16 @@ "postfix": false, "binop": null }, - "start": 1822, - "end": 1823, + "start": 1922, + "end": 1923, "loc": { "start": { - "line": 56, - "column": 32 + "line": 69, + "column": 26 }, "end": { - "line": 56, - "column": 33 + "line": 69, + "column": 27 } } }, @@ -7532,16 +8208,16 @@ "binop": null }, "value": "nextUri", - "start": 1823, - "end": 1830, + "start": 1923, + "end": 1930, "loc": { "start": { - "line": 56, - "column": 33 + "line": 69, + "column": 27 }, "end": { - "line": 56, - "column": 40 + "line": 69, + "column": 34 } } }, @@ -7557,16 +8233,42 @@ "postfix": false, "binop": null }, - "start": 1830, - "end": 1831, + "start": 1930, + "end": 1931, "loc": { "start": { - "line": 56, - "column": 40 + "line": 69, + "column": 34 }, "end": { - "line": 56, - "column": 41 + "line": 69, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1931, + "end": 1932, + "loc": { + "start": { + "line": 69, + "column": 35 + }, + "end": { + "line": 69, + "column": 36 } } }, @@ -7582,16 +8284,16 @@ "postfix": false, "binop": null }, - "start": 1840, - "end": 1841, + "start": 1937, + "end": 1938, "loc": { "start": { - "line": 57, - "column": 8 + "line": 70, + "column": 4 }, "end": { - "line": 57, - "column": 9 + "line": 70, + "column": 5 } } }, @@ -7610,16 +8312,16 @@ "updateContext": null }, "value": "else", - "start": 1850, - "end": 1854, + "start": 1939, + "end": 1943, "loc": { "start": { - "line": 58, - "column": 8 + "line": 70, + "column": 6 }, "end": { - "line": 58, - "column": 12 + "line": 70, + "column": 10 } } }, @@ -7635,16 +8337,16 @@ "postfix": false, "binop": null }, - "start": 1855, - "end": 1856, + "start": 1944, + "end": 1945, "loc": { "start": { - "line": 58, - "column": 13 + "line": 70, + "column": 11 }, "end": { - "line": 58, - "column": 14 + "line": 70, + "column": 12 } } }, @@ -7663,16 +8365,16 @@ "updateContext": null }, "value": "return", - "start": 1869, - "end": 1875, + "start": 1952, + "end": 1958, "loc": { "start": { - "line": 59, - "column": 12 + "line": 71, + "column": 6 }, "end": { - "line": 59, - "column": 18 + "line": 71, + "column": 12 } } }, @@ -7691,16 +8393,16 @@ "updateContext": null }, "value": "new", - "start": 1876, - "end": 1879, + "start": 1959, + "end": 1962, "loc": { "start": { - "line": 59, - "column": 19 + "line": 71, + "column": 13 }, "end": { - "line": 59, - "column": 22 + "line": 71, + "column": 16 } } }, @@ -7717,16 +8419,16 @@ "binop": null }, "value": "Promise", - "start": 1880, - "end": 1887, + "start": 1963, + "end": 1970, "loc": { "start": { - "line": 59, - "column": 23 + "line": 71, + "column": 17 }, "end": { - "line": 59, - "column": 30 + "line": 71, + "column": 24 } } }, @@ -7742,16 +8444,16 @@ "postfix": false, "binop": null }, - "start": 1887, - "end": 1888, + "start": 1970, + "end": 1971, "loc": { "start": { - "line": 59, - "column": 30 + "line": 71, + "column": 24 }, "end": { - "line": 59, - "column": 31 + "line": 71, + "column": 25 } } }, @@ -7767,16 +8469,16 @@ "postfix": false, "binop": null }, - "start": 1888, - "end": 1889, + "start": 1971, + "end": 1972, "loc": { "start": { - "line": 59, - "column": 31 + "line": 71, + "column": 25 }, "end": { - "line": 59, - "column": 32 + "line": 71, + "column": 26 } } }, @@ -7793,16 +8495,16 @@ "binop": null }, "value": "resolve", - "start": 1889, - "end": 1896, + "start": 1972, + "end": 1979, "loc": { "start": { - "line": 59, - "column": 32 + "line": 71, + "column": 26 }, "end": { - "line": 59, - "column": 39 + "line": 71, + "column": 33 } } }, @@ -7816,178 +8518,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1896, - "end": 1897, - "loc": { - "start": { - "line": 59, - "column": 39 - }, - "end": { - "line": 59, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "reject", - "start": 1898, - "end": 1904, - "loc": { - "start": { - "line": 59, - "column": 41 - }, - "end": { - "line": 59, - "column": 47 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1904, - "end": 1905, - "loc": { - "start": { - "line": 59, - "column": 47 - }, - "end": { - "line": 59, - "column": 48 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1906, - "end": 1908, - "loc": { - "start": { - "line": 59, - "column": 49 - }, - "end": { - "line": 59, - "column": 51 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1909, - "end": 1910, - "loc": { - "start": { - "line": 59, - "column": 52 - }, - "end": { - "line": 59, - "column": 53 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "reject", - "start": 1927, - "end": 1933, - "loc": { - "start": { - "line": 60, - "column": 16 - }, - "end": { - "line": 60, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1933, - "end": 1934, + "start": 1979, + "end": 1980, "loc": { "start": { - "line": 60, - "column": 22 + "line": 71, + "column": 33 }, "end": { - "line": 60, - "column": 23 + "line": 71, + "column": 34 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -7995,20 +8544,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Cannot fetch next page", - "start": 1934, - "end": 1958, + "value": "reject", + "start": 1981, + "end": 1987, "loc": { "start": { - "line": 60, - "column": 23 + "line": 71, + "column": 35 }, "end": { - "line": 60, - "column": 47 + "line": 71, + "column": 41 } } }, @@ -8024,49 +8572,50 @@ "postfix": false, "binop": null }, - "start": 1958, - "end": 1959, + "start": 1987, + "end": 1988, "loc": { "start": { - "line": 60, - "column": 47 + "line": 71, + "column": 41 }, "end": { - "line": 60, - "column": 48 + "line": 71, + "column": 42 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "=>", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1972, - "end": 1973, + "start": 1989, + "end": 1991, "loc": { "start": { - "line": 61, - "column": 12 + "line": 71, + "column": 43 }, "end": { - "line": 61, - "column": 13 + "line": 71, + "column": 45 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8074,24 +8623,24 @@ "postfix": false, "binop": null }, - "start": 1973, - "end": 1974, + "start": 1992, + "end": 1993, "loc": { "start": { - "line": 61, - "column": 13 + "line": 71, + "column": 46 }, "end": { - "line": 61, - "column": 14 + "line": 71, + "column": 47 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8099,24 +8648,25 @@ "postfix": false, "binop": null }, - "start": 1995, - "end": 1996, + "value": "reject", + "start": 2002, + "end": 2008, "loc": { "start": { - "line": 62, + "line": 72, "column": 8 }, "end": { - "line": 62, - "column": 9 + "line": 72, + "column": 14 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8124,32 +8674,44 @@ "postfix": false, "binop": null }, - "start": 2001, - "end": 2002, + "start": 2008, + "end": 2009, "loc": { "start": { - "line": 63, - "column": 4 + "line": 72, + "column": 14 }, "end": { - "line": 63, - "column": 5 + "line": 72, + "column": 15 } } }, { - "type": "CommentBlock", - "value": "*\n * Is next page available for various paged APIs.\n * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function \n * @param {String} nextUriPath - The next uri's path. Defaults to 'data.paging.next', \n * which means we will get the next uri path from 'fulfillment.data.paging.next'. \n * The correct next uri path depends on respective api's response.\n * @return {Boolean}\n * @example\n * api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks().then(response => {\n * if (api.albumFetcher.hasNextPage(response)) {\n * // more data available\n * }\n * })\n ", - "start": 2008, - "end": 2675, + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2009, + "end": 2012, "loc": { "start": { - "line": 65, - "column": 4 + "line": 72, + "column": 15 }, "end": { - "line": 78, - "column": 7 + "line": 72, + "column": 18 } } }, @@ -8165,17 +8727,17 @@ "postfix": false, "binop": null }, - "value": "hasNextPage", - "start": 2680, - "end": 2691, + "value": "Error", + "start": 2013, + "end": 2018, "loc": { "start": { - "line": 79, - "column": 4 + "line": 72, + "column": 19 }, "end": { - "line": 79, - "column": 15 + "line": 72, + "column": 24 } } }, @@ -8191,22 +8753,22 @@ "postfix": false, "binop": null }, - "start": 2691, - "end": 2692, + "start": 2018, + "end": 2019, "loc": { "start": { - "line": 79, - "column": 15 + "line": 72, + "column": 24 }, "end": { - "line": 79, - "column": 16 + "line": 72, + "column": 25 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -8214,53 +8776,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "fulfillment", - "start": 2692, - "end": 2703, + "value": "Cannot fetch next page", + "start": 2019, + "end": 2043, "loc": { "start": { - "line": 79, - "column": 16 + "line": 72, + "column": 25 }, "end": { - "line": 79, - "column": 27 + "line": 72, + "column": 49 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2703, - "end": 2704, + "start": 2043, + "end": 2044, "loc": { "start": { - "line": 79, - "column": 27 + "line": 72, + "column": 49 }, "end": { - "line": 79, - "column": 28 + "line": 72, + "column": 50 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8268,71 +8830,67 @@ "postfix": false, "binop": null }, - "value": "nextUriPath", - "start": 2705, - "end": 2716, + "start": 2044, + "end": 2045, "loc": { "start": { - "line": 79, - "column": 29 + "line": 72, + "column": 50 }, "end": { - "line": 79, - "column": 40 + "line": 72, + "column": 51 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 2717, - "end": 2718, + "start": 2045, + "end": 2046, "loc": { "start": { - "line": 79, - "column": 41 + "line": 72, + "column": 51 }, "end": { - "line": 79, - "column": 42 + "line": 72, + "column": 52 } } }, { "type": { - "label": "string", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "data.paging.next", - "start": 2719, - "end": 2737, + "start": 2053, + "end": 2054, "loc": { "start": { - "line": 79, - "column": 43 + "line": 73, + "column": 6 }, "end": { - "line": 79, - "column": 61 + "line": 73, + "column": 7 } } }, @@ -8348,24 +8906,50 @@ "postfix": false, "binop": null }, - "start": 2737, - "end": 2738, + "start": 2054, + "end": 2055, "loc": { "start": { - "line": 79, - "column": 61 + "line": 73, + "column": 7 }, "end": { - "line": 79, - "column": 62 + "line": 73, + "column": 8 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2055, + "end": 2056, + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8373,23 +8957,22 @@ "postfix": false, "binop": null }, - "start": 2739, - "end": 2740, + "start": 2061, + "end": 2062, "loc": { "start": { - "line": 79, - "column": 63 + "line": 74, + "column": 4 }, "end": { - "line": 79, - "column": 64 + "line": 74, + "column": 5 } } }, { "type": { - "label": "var", - "keyword": "var", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -8397,20 +8980,34 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "var", - "start": 2749, - "end": 2752, + "start": 2065, + "end": 2066, "loc": { "start": { - "line": 80, - "column": 8 + "line": 75, + "column": 2 }, "end": { - "line": 80, - "column": 11 + "line": 75, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Is next page available for various paged APIs.\n * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function\n * @param {String} nextUriPath - The next uri's path. Defaults to 'data.paging.next',\n * which means we will get the next uri path from 'fulfillment.data.paging.next'.\n * The correct next uri path depends on respective api's response.\n * @return {Boolean}\n * @example\n * api.albumFetcher\n * .setAlbumID('KmRKnW5qmUrTnGRuxF')\n * .fetchTracks()\n * .then(response => {\n * if (api.albumFetcher.hasNextPage(response)) {\n * // more data available\n * }\n * });\n ", + "start": 2070, + "end": 2730, + "loc": { + "start": { + "line": 77, + "column": 2 + }, + "end": { + "line": 93, + "column": 5 } } }, @@ -8426,51 +9023,48 @@ "postfix": false, "binop": null }, - "value": "nextUri", - "start": 2753, - "end": 2760, + "value": "hasNextPage", + "start": 2733, + "end": 2744, "loc": { "start": { - "line": 80, - "column": 12 + "line": 94, + "column": 2 }, "end": { - "line": 80, - "column": 19 + "line": 94, + "column": 13 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 2761, - "end": 2762, + "start": 2744, + "end": 2745, "loc": { "start": { - "line": 80, - "column": 20 + "line": 94, + "column": 13 }, "end": { - "line": 80, - "column": 21 + "line": 94, + "column": 14 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -8478,27 +9072,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2763, - "end": 2767, + "value": "fulfillment", + "start": 2745, + "end": 2756, "loc": { "start": { - "line": 80, - "column": 22 + "line": 94, + "column": 14 }, "end": { - "line": 80, - "column": 26 + "line": 94, + "column": 25 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -8508,16 +9101,16 @@ "binop": null, "updateContext": null }, - "start": 2767, - "end": 2768, + "start": 2756, + "end": 2757, "loc": { "start": { - "line": 80, - "column": 26 + "line": 94, + "column": 25 }, "end": { - "line": 80, - "column": 27 + "line": 94, + "column": 26 } } }, @@ -8533,48 +9126,50 @@ "postfix": false, "binop": null }, - "value": "getPropertyByPath", - "start": 2768, - "end": 2785, + "value": "nextUriPath", + "start": 2758, + "end": 2769, "loc": { "start": { - "line": 80, + "line": 94, "column": 27 }, "end": { - "line": 80, - "column": 44 + "line": 94, + "column": 38 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2785, - "end": 2786, + "value": "=", + "start": 2770, + "end": 2771, "loc": { "start": { - "line": 80, - "column": 44 + "line": 94, + "column": 39 }, "end": { - "line": 80, - "column": 45 + "line": 94, + "column": 40 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -8582,52 +9177,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "fulfillment", - "start": 2786, - "end": 2797, + "value": "data.paging.next", + "start": 2772, + "end": 2790, "loc": { "start": { - "line": 80, - "column": 45 + "line": 94, + "column": 41 }, "end": { - "line": 80, - "column": 56 + "line": 94, + "column": 59 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2797, - "end": 2798, + "start": 2790, + "end": 2791, "loc": { "start": { - "line": 80, - "column": 56 + "line": 94, + "column": 59 }, "end": { - "line": 80, - "column": 57 + "line": 94, + "column": 60 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -8636,23 +9231,23 @@ "postfix": false, "binop": null }, - "value": "nextUriPath", - "start": 2799, - "end": 2810, + "start": 2792, + "end": 2793, "loc": { "start": { - "line": 80, - "column": 58 + "line": 94, + "column": 61 }, "end": { - "line": 80, - "column": 69 + "line": 94, + "column": 62 } } }, { "type": { - "label": ")", + "label": "var", + "keyword": "var", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -8660,77 +9255,80 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2810, - "end": 2811, + "value": "var", + "start": 2798, + "end": 2801, "loc": { "start": { - "line": 80, - "column": 69 + "line": 95, + "column": 4 }, "end": { - "line": 80, - "column": 70 + "line": 95, + "column": 7 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 2820, - "end": 2822, + "value": "nextUri", + "start": 2802, + "end": 2809, "loc": { "start": { - "line": 81, + "line": 95, "column": 8 }, "end": { - "line": 81, - "column": 10 + "line": 95, + "column": 15 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2823, - "end": 2824, + "value": "=", + "start": 2810, + "end": 2811, "loc": { "start": { - "line": 81, - "column": 11 + "line": 95, + "column": 16 }, "end": { - "line": 81, - "column": 12 + "line": 95, + "column": 17 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -8738,53 +9336,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "nextUri", - "start": 2824, - "end": 2831, + "value": "this", + "start": 2812, + "end": 2816, "loc": { "start": { - "line": 81, - "column": 12 + "line": 95, + "column": 18 }, "end": { - "line": 81, - "column": 19 + "line": 95, + "column": 22 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "!=", - "start": 2832, - "end": 2834, + "start": 2816, + "end": 2817, "loc": { "start": { - "line": 81, - "column": 20 + "line": 95, + "column": 22 }, "end": { - "line": 81, - "column": 22 + "line": 95, + "column": 23 } } }, { "type": { - "label": "null", - "keyword": "null", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -8792,47 +9389,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "null", - "start": 2835, - "end": 2839, + "value": "getPropertyByPath", + "start": 2817, + "end": 2834, "loc": { "start": { - "line": 81, + "line": 95, "column": 23 }, "end": { - "line": 81, - "column": 27 + "line": 95, + "column": 40 } } }, { "type": { - "label": "&&", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 2, - "updateContext": null + "binop": null }, - "value": "&&", - "start": 2840, - "end": 2842, + "start": 2834, + "end": 2835, "loc": { "start": { - "line": 81, - "column": 28 + "line": 95, + "column": 40 }, "end": { - "line": 81, - "column": 30 + "line": 95, + "column": 41 } } }, @@ -8848,23 +9442,23 @@ "postfix": false, "binop": null }, - "value": "nextUri", - "start": 2843, - "end": 2850, + "value": "fulfillment", + "start": 2835, + "end": 2846, "loc": { "start": { - "line": 81, - "column": 31 + "line": 95, + "column": 41 }, "end": { - "line": 81, - "column": 38 + "line": 95, + "column": 52 } } }, { "type": { - "label": "==/!=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -8872,20 +9466,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "!==", - "start": 2851, - "end": 2854, + "start": 2846, + "end": 2847, "loc": { "start": { - "line": 81, - "column": 39 + "line": 95, + "column": 52 }, "end": { - "line": 81, - "column": 42 + "line": 95, + "column": 53 } } }, @@ -8901,17 +9494,17 @@ "postfix": false, "binop": null }, - "value": "undefined", - "start": 2855, - "end": 2864, + "value": "nextUriPath", + "start": 2848, + "end": 2859, "loc": { "start": { - "line": 81, - "column": 43 + "line": 95, + "column": 54 }, "end": { - "line": 81, - "column": 52 + "line": 95, + "column": 65 } } }, @@ -8927,41 +9520,42 @@ "postfix": false, "binop": null }, - "start": 2864, - "end": 2865, + "start": 2859, + "end": 2860, "loc": { "start": { - "line": 81, - "column": 52 + "line": 95, + "column": 65 }, "end": { - "line": 81, - "column": 53 + "line": 95, + "column": 66 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2866, - "end": 2867, + "start": 2860, + "end": 2861, "loc": { "start": { - "line": 81, - "column": 54 + "line": 95, + "column": 66 }, "end": { - "line": 81, - "column": 55 + "line": 95, + "column": 67 } } }, @@ -8980,23 +9574,22 @@ "updateContext": null }, "value": "return", - "start": 2880, - "end": 2886, + "start": 2866, + "end": 2872, "loc": { "start": { - "line": 82, - "column": 12 + "line": 96, + "column": 4 }, "end": { - "line": 82, - "column": 18 + "line": 96, + "column": 10 } } }, { "type": { - "label": "true", - "keyword": "true", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -9004,52 +9597,80 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": null + }, + "value": "nextUri", + "start": 2873, + "end": 2880, + "loc": { + "start": { + "line": 96, + "column": 11 + }, + "end": { + "line": 96, + "column": 18 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, "updateContext": null }, - "value": "true", - "start": 2887, - "end": 2891, + "value": "!=", + "start": 2881, + "end": 2883, "loc": { "start": { - "line": 82, + "line": 96, "column": 19 }, "end": { - "line": 82, - "column": 23 + "line": 96, + "column": 21 } } }, { "type": { - "label": "}", + "label": "null", + "keyword": "null", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2900, - "end": 2901, + "value": "null", + "start": 2884, + "end": 2888, "loc": { "start": { - "line": 83, - "column": 8 + "line": 96, + "column": 22 }, "end": { - "line": 83, - "column": 9 + "line": 96, + "column": 26 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -9057,27 +9678,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 2, "updateContext": null }, - "value": "else", - "start": 2910, - "end": 2914, + "value": "&&", + "start": 2889, + "end": 2891, "loc": { "start": { - "line": 84, - "column": 8 + "line": 96, + "column": 27 }, "end": { - "line": 84, - "column": 12 + "line": 96, + "column": 29 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -9086,23 +9707,23 @@ "postfix": false, "binop": null }, - "start": 2915, - "end": 2916, + "value": "nextUri", + "start": 2892, + "end": 2899, "loc": { "start": { - "line": 84, - "column": 13 + "line": 96, + "column": 30 }, "end": { - "line": 84, - "column": 14 + "line": 96, + "column": 37 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -9110,27 +9731,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "value": "return", - "start": 2929, - "end": 2935, + "value": "!==", + "start": 2900, + "end": 2903, "loc": { "start": { - "line": 85, - "column": 12 + "line": 96, + "column": 38 }, "end": { - "line": 85, - "column": 18 + "line": 96, + "column": 41 } } }, { "type": { - "label": "false", - "keyword": "false", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -9138,45 +9758,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "false", - "start": 2936, - "end": 2941, + "value": "undefined", + "start": 2904, + "end": 2913, "loc": { "start": { - "line": 85, - "column": 19 + "line": 96, + "column": 42 }, "end": { - "line": 85, - "column": 24 + "line": 96, + "column": 51 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2950, - "end": 2951, + "start": 2913, + "end": 2914, "loc": { "start": { - "line": 86, - "column": 8 + "line": 96, + "column": 51 }, "end": { - "line": 86, - "column": 9 + "line": 96, + "column": 52 } } }, @@ -9192,16 +9812,16 @@ "postfix": false, "binop": null }, - "start": 2956, - "end": 2957, + "start": 2917, + "end": 2918, "loc": { "start": { - "line": 87, - "column": 4 + "line": 97, + "column": 2 }, "end": { - "line": 87, - "column": 5 + "line": 97, + "column": 3 } } }, @@ -9217,15 +9837,15 @@ "postfix": false, "binop": null }, - "start": 2958, - "end": 2959, + "start": 2919, + "end": 2920, "loc": { "start": { - "line": 88, + "line": 98, "column": 0 }, "end": { - "line": 88, + "line": 98, "column": 1 } } @@ -9243,16 +9863,16 @@ "binop": null, "updateContext": null }, - "start": 2959, - "end": 2959, + "start": 2921, + "end": 2921, "loc": { "start": { - "line": 88, - "column": 1 + "line": 99, + "column": 0 }, "end": { - "line": 88, - "column": 1 + "line": 99, + "column": 0 } } } diff --git a/docs/ast/source/api/GenreStationFetcher.js.json b/docs/ast/source/api/GenreStationFetcher.js.json index 6910c69..65b580e 100644 --- a/docs/ast/source/api/GenreStationFetcher.js.json +++ b/docs/ast/source/api/GenreStationFetcher.js.json @@ -1,29 +1,29 @@ { "type": "File", "start": 0, - "end": 1942, + "end": 1698, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 60, - "column": 1 + "line": 63, + "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 1942, + "end": 1698, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 60, - "column": 1 + "line": 63, + "column": 0 } }, "sourceType": "module", @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 54, + "end": 57, "loc": { "start": { "line": 1, @@ -39,36 +39,36 @@ }, "end": { "line": 1, - "column": 54 + "column": 57 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 8, - "end": 34, + "start": 9, + "end": 35, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 34 + "column": 35 } }, "imported": { "type": "Identifier", - "start": 8, - "end": 22, + "start": 9, + "end": 23, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 22 + "column": 23 }, "identifierName": "GENRE_STATIONS" }, @@ -76,16 +76,16 @@ }, "local": { "type": "Identifier", - "start": 26, - "end": 34, + "start": 27, + "end": 35, "loc": { "start": { "line": 1, - "column": 26 + "column": 27 }, "end": { "line": 1, - "column": 34 + "column": 35 }, "identifierName": "ENDPOINT" }, @@ -95,16 +95,16 @@ ], "source": { "type": "StringLiteral", - "start": 41, - "end": 54, + "start": 43, + "end": 56, "loc": { "start": { "line": 1, - "column": 41 + "column": 43 }, "end": { "line": 1, - "column": 54 + "column": 56 } }, "extra": { @@ -116,8 +116,8 @@ }, { "type": "ImportDeclaration", - "start": 55, - "end": 86, + "start": 58, + "end": 90, "loc": { "start": { "line": 2, @@ -125,14 +125,14 @@ }, "end": { "line": 2, - "column": 31 + "column": 32 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 62, - "end": 69, + "start": 65, + "end": 72, "loc": { "start": { "line": 2, @@ -145,8 +145,8 @@ }, "local": { "type": "Identifier", - "start": 62, - "end": 69, + "start": 65, + "end": 72, "loc": { "start": { "line": 2, @@ -164,8 +164,8 @@ ], "source": { "type": "StringLiteral", - "start": 75, - "end": 86, + "start": 78, + "end": 89, "loc": { "start": { "line": 2, @@ -180,16 +180,14 @@ "rawValue": "./Fetcher", "raw": "'./Fetcher'" }, - "value": "./Fetcher", - "leadingComments": null, - "trailingComments": null + "value": "./Fetcher" }, "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Get genre stations.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations\n ", - "start": 88, - "end": 194, + "value": "*\n * Get genre stations.\n * @see https://docs-en.kkbox.codes/v1.1/reference#genre-stations\n ", + "start": 92, + "end": 188, "loc": { "start": { "line": 4, @@ -205,36 +203,36 @@ }, { "type": "ExportDefaultDeclaration", - "start": 195, - "end": 1942, + "start": 189, + "end": 1697, "loc": { "start": { "line": 8, "column": 0 }, "end": { - "line": 60, + "line": 62, "column": 1 } }, "declaration": { "type": "ClassDeclaration", - "start": 210, - "end": 1942, + "start": 204, + "end": 1697, "loc": { "start": { "line": 8, "column": 15 }, "end": { - "line": 60, + "line": 62, "column": 1 } }, "id": { "type": "Identifier", - "start": 216, - "end": 235, + "start": 210, + "end": 229, "loc": { "start": { "line": 8, @@ -251,8 +249,8 @@ }, "superClass": { "type": "Identifier", - "start": 244, - "end": 251, + "start": 238, + "end": 245, "loc": { "start": { "line": 8, @@ -268,53 +266,53 @@ }, "body": { "type": "ClassBody", - "start": 252, - "end": 1942, + "start": 246, + "end": 1697, "loc": { "start": { "line": 8, "column": 57 }, "end": { - "line": 60, + "line": 62, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 289, - "end": 451, + "start": 275, + "end": 414, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 19, - "column": 5 + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 289, - "end": 300, + "start": 275, + "end": 286, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 12, - "column": 15 + "column": 13 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, - "static": false, "kind": "constructor", "id": null, "generator": false, @@ -323,16 +321,16 @@ "params": [ { "type": "Identifier", - "start": 301, - "end": 305, + "start": 287, + "end": 291, "loc": { "start": { "line": 12, - "column": 16 + "column": 14 }, "end": { "line": 12, - "column": 20 + "column": 18 }, "identifierName": "http" }, @@ -340,30 +338,30 @@ }, { "type": "AssignmentPattern", - "start": 307, - "end": 323, + "start": 293, + "end": 309, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 38 + "column": 36 } }, "left": { "type": "Identifier", - "start": 307, - "end": 316, + "start": 293, + "end": 302, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 31 + "column": 29 }, "identifierName": "territory" }, @@ -371,16 +369,16 @@ }, "right": { "type": "StringLiteral", - "start": 319, - "end": 323, + "start": 305, + "end": 309, "loc": { "start": { "line": 12, - "column": 34 + "column": 32 }, "end": { "line": 12, - "column": 38 + "column": 36 } }, "extra": { @@ -393,75 +391,75 @@ ], "body": { "type": "BlockStatement", - "start": 325, - "end": 451, + "start": 311, + "end": 414, "loc": { "start": { "line": 12, - "column": 40 + "column": 38 }, "end": { "line": 19, - "column": 5 + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 335, - "end": 357, + "start": 317, + "end": 340, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 30 + "column": 27 } }, "expression": { "type": "CallExpression", - "start": 335, - "end": 357, + "start": 317, + "end": 339, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 30 + "column": 26 } }, "callee": { "type": "Super", - "start": 335, - "end": 340, + "start": 317, + "end": 322, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 13 + "column": 9 } } }, "arguments": [ { "type": "Identifier", - "start": 341, - "end": 345, + "start": 323, + "end": 327, "loc": { "start": { "line": 13, - "column": 14 + "column": 10 }, "end": { "line": 13, - "column": 18 + "column": 14 }, "identifierName": "http" }, @@ -469,38 +467,37 @@ }, { "type": "Identifier", - "start": 347, - "end": 356, + "start": 329, + "end": 338, "loc": { "start": { "line": 13, - "column": 20 + "column": 16 }, "end": { "line": 13, - "column": 29 + "column": 25 }, "identifierName": "territory" }, "name": "territory" } - ], - "trailingComments": null + ] }, "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 367, - "end": 402, + "value": "*\n * @ignore\n ", + "start": 346, + "end": 373, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } } @@ -508,95 +505,95 @@ }, { "type": "ExpressionStatement", - "start": 411, - "end": 444, + "start": 378, + "end": 410, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 41 + "column": 36 } }, "expression": { "type": "AssignmentExpression", - "start": 411, - "end": 444, + "start": 378, + "end": 409, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 41 + "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 411, - "end": 432, + "start": 378, + "end": 397, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 29 + "column": 23 } }, "object": { "type": "ThisExpression", - "start": 411, - "end": 415, + "start": 378, + "end": 382, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 12 + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 416, - "end": 432, + "start": 383, + "end": 397, "loc": { "start": { "line": 18, - "column": 13 + "column": 9 }, "end": { "line": 18, - "column": 29 + "column": 23 }, - "identifierName": "genre_station_id" + "identifierName": "genreStationID" }, - "name": "genre_station_id" + "name": "genreStationID" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", - "start": 435, - "end": 444, + "start": 400, + "end": 409, "loc": { "start": { "line": 18, - "column": 32 + "column": 26 }, "end": { "line": 18, - "column": 41 + "column": 35 }, "identifierName": "undefined" }, @@ -607,17 +604,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 367, - "end": 402, + "value": "*\n * @ignore\n ", + "start": 346, + "end": 373, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } } @@ -630,17 +627,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 258, - "end": 284, + "value": "*\n * @ignore\n ", + "start": 250, + "end": 272, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } } @@ -648,17 +645,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch all genre stations. The result will be paged.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.GenreStation.fetchAllGenreStations()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations/endpoints/get-genre-stations\n ", - "start": 457, - "end": 851, + "value": "*\n * Fetch all genre stations. The result will be paged.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.genreStationFetcher.fetchAllGenreStations();\n * @see https://docs-en.kkbox.codes/v1.1/reference#genrestations\n ", + "start": 418, + "end": 764, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 29, - "column": 7 + "column": 5 } } } @@ -666,38 +663,38 @@ }, { "type": "ClassMethod", - "start": 856, - "end": 1080, + "start": 767, + "end": 952, "loc": { "start": { "line": 30, - "column": 4 + "column": 2 }, "end": { "line": 36, - "column": 5 + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 856, - "end": 877, + "start": 767, + "end": 788, "loc": { "start": { "line": 30, - "column": 4 + "column": 2 }, "end": { "line": 30, - "column": 25 + "column": 23 }, "identifierName": "fetchAllGenreStations" }, "name": "fetchAllGenreStations", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -706,30 +703,30 @@ "params": [ { "type": "AssignmentPattern", - "start": 878, - "end": 895, + "start": 789, + "end": 806, "loc": { "start": { "line": 30, - "column": 26 + "column": 24 }, "end": { "line": 30, - "column": 43 + "column": 41 } }, "left": { "type": "Identifier", - "start": 878, - "end": 883, + "start": 789, + "end": 794, "loc": { "start": { "line": 30, - "column": 26 + "column": 24 }, "end": { "line": 30, - "column": 31 + "column": 29 }, "identifierName": "limit" }, @@ -737,16 +734,16 @@ }, "right": { "type": "Identifier", - "start": 886, - "end": 895, + "start": 797, + "end": 806, "loc": { "start": { "line": 30, - "column": 34 + "column": 32 }, "end": { "line": 30, - "column": 43 + "column": 41 }, "identifierName": "undefined" }, @@ -755,30 +752,30 @@ }, { "type": "AssignmentPattern", - "start": 897, - "end": 915, + "start": 808, + "end": 826, "loc": { "start": { "line": 30, - "column": 45 + "column": 43 }, "end": { "line": 30, - "column": 63 + "column": 61 } }, "left": { "type": "Identifier", - "start": 897, - "end": 903, + "start": 808, + "end": 814, "loc": { "start": { "line": 30, - "column": 45 + "column": 43 }, "end": { "line": 30, - "column": 51 + "column": 49 }, "identifierName": "offset" }, @@ -786,16 +783,16 @@ }, "right": { "type": "Identifier", - "start": 906, - "end": 915, + "start": 817, + "end": 826, "loc": { "start": { "line": 30, - "column": 54 + "column": 52 }, "end": { "line": 30, - "column": 63 + "column": 61 }, "identifierName": "undefined" }, @@ -805,102 +802,102 @@ ], "body": { "type": "BlockStatement", - "start": 917, - "end": 1080, + "start": 828, + "end": 952, "loc": { "start": { "line": 30, - "column": 65 + "column": 63 }, "end": { "line": 36, - "column": 5 + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 927, - "end": 1074, + "start": 834, + "end": 948, "loc": { "start": { "line": 31, - "column": 8 + "column": 4 }, "end": { "line": 35, - "column": 10 + "column": 7 } }, "argument": { "type": "CallExpression", - "start": 934, - "end": 1074, + "start": 841, + "end": 947, "loc": { "start": { "line": 31, - "column": 15 + "column": 11 }, "end": { "line": 35, - "column": 10 + "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 934, - "end": 947, + "start": 841, + "end": 854, "loc": { "start": { "line": 31, - "column": 15 + "column": 11 }, "end": { "line": 31, - "column": 28 + "column": 24 } }, "object": { "type": "MemberExpression", - "start": 934, - "end": 943, + "start": 841, + "end": 850, "loc": { "start": { "line": 31, - "column": 15 + "column": 11 }, "end": { "line": 31, - "column": 24 + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 934, - "end": 938, + "start": 841, + "end": 845, "loc": { "start": { "line": 31, - "column": 15 + "column": 11 }, "end": { "line": 31, - "column": 19 + "column": 15 } } }, "property": { "type": "Identifier", - "start": 939, - "end": 943, + "start": 846, + "end": 850, "loc": { "start": { "line": 31, - "column": 20 + "column": 16 }, "end": { "line": 31, - "column": 24 + "column": 20 }, "identifierName": "http" }, @@ -910,16 +907,16 @@ }, "property": { "type": "Identifier", - "start": 944, - "end": 947, + "start": 851, + "end": 854, "loc": { "start": { "line": 31, - "column": 25 + "column": 21 }, "end": { "line": 31, - "column": 28 + "column": 24 }, "identifierName": "get" }, @@ -930,16 +927,16 @@ "arguments": [ { "type": "Identifier", - "start": 948, - "end": 956, + "start": 855, + "end": 863, "loc": { "start": { "line": 31, - "column": 29 + "column": 25 }, "end": { "line": 31, - "column": 37 + "column": 33 }, "identifierName": "ENDPOINT" }, @@ -947,31 +944,31 @@ }, { "type": "ObjectExpression", - "start": 958, - "end": 1073, + "start": 865, + "end": 946, "loc": { "start": { "line": 31, - "column": 39 + "column": 35 }, "end": { "line": 35, - "column": 9 + "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 972, - "end": 997, + "start": 873, + "end": 898, "loc": { "start": { "line": 32, - "column": 12 + "column": 6 }, "end": { "line": 32, - "column": 37 + "column": 31 } }, "method": false, @@ -979,16 +976,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 972, - "end": 981, + "start": 873, + "end": 882, "loc": { "start": { "line": 32, - "column": 12 + "column": 6 }, "end": { "line": 32, - "column": 21 + "column": 15 }, "identifierName": "territory" }, @@ -996,45 +993,45 @@ }, "value": { "type": "MemberExpression", - "start": 983, - "end": 997, + "start": 884, + "end": 898, "loc": { "start": { "line": 32, - "column": 23 + "column": 17 }, "end": { "line": 32, - "column": 37 + "column": 31 } }, "object": { "type": "ThisExpression", - "start": 983, - "end": 987, + "start": 884, + "end": 888, "loc": { "start": { "line": 32, - "column": 23 + "column": 17 }, "end": { "line": 32, - "column": 27 + "column": 21 } } }, "property": { "type": "Identifier", - "start": 988, - "end": 997, + "start": 889, + "end": 898, "loc": { "start": { "line": 32, - "column": 28 + "column": 22 }, "end": { "line": 32, - "column": 37 + "column": 31 }, "identifierName": "territory" }, @@ -1045,16 +1042,16 @@ }, { "type": "ObjectProperty", - "start": 1011, - "end": 1023, + "start": 906, + "end": 918, "loc": { "start": { "line": 33, - "column": 12 + "column": 6 }, "end": { "line": 33, - "column": 24 + "column": 18 } }, "method": false, @@ -1062,16 +1059,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 1011, - "end": 1016, + "start": 906, + "end": 911, "loc": { "start": { "line": 33, - "column": 12 + "column": 6 }, "end": { "line": 33, - "column": 17 + "column": 11 }, "identifierName": "limit" }, @@ -1079,16 +1076,16 @@ }, "value": { "type": "Identifier", - "start": 1018, - "end": 1023, + "start": 913, + "end": 918, "loc": { "start": { "line": 33, - "column": 19 + "column": 13 }, "end": { "line": 33, - "column": 24 + "column": 18 }, "identifierName": "limit" }, @@ -1097,16 +1094,16 @@ }, { "type": "ObjectProperty", - "start": 1037, - "end": 1051, + "start": 926, + "end": 940, "loc": { "start": { "line": 34, - "column": 12 + "column": 6 }, "end": { "line": 34, - "column": 26 + "column": 20 } }, "method": false, @@ -1114,16 +1111,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 1037, - "end": 1043, + "start": 926, + "end": 932, "loc": { "start": { "line": 34, - "column": 12 + "column": 6 }, "end": { "line": 34, - "column": 18 + "column": 12 }, "identifierName": "offset" }, @@ -1131,16 +1128,16 @@ }, "value": { "type": "Identifier", - "start": 1045, - "end": 1051, + "start": 934, + "end": 940, "loc": { "start": { "line": 34, - "column": 20 + "column": 14 }, "end": { "line": 34, - "column": 26 + "column": 20 }, "identifierName": "offset" }, @@ -1159,17 +1156,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch all genre stations. The result will be paged.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.GenreStation.fetchAllGenreStations()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations/endpoints/get-genre-stations\n ", - "start": 457, - "end": 851, + "value": "*\n * Fetch all genre stations. The result will be paged.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.genreStationFetcher.fetchAllGenreStations();\n * @see https://docs-en.kkbox.codes/v1.1/reference#genrestations\n ", + "start": 418, + "end": 764, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 29, - "column": 7 + "column": 5 } } } @@ -1177,17 +1174,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Init the genre station fetcher.\n *\n * @param {string} genre_station_id - The ID of a genre station.\n * @return {GenreStation}\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations/endpoints/get-genre-stations-station_id\n ", - "start": 1086, - "end": 1362, + "value": "*\n * Init the genre station fetcher.\n *\n * @param {string} genreStationID - The ID of a genre station.\n * @return {GenreStation}\n * @see https://docs-en.kkbox.codes/v1.1/reference#genrestations-station_id\n ", + "start": 956, + "end": 1178, "loc": { "start": { "line": 38, - "column": 4 + "column": 2 }, "end": { "line": 44, - "column": 7 + "column": 5 } } } @@ -1195,38 +1192,38 @@ }, { "type": "ClassMethod", - "start": 1367, - "end": 1487, + "start": 1181, + "end": 1279, "loc": { "start": { "line": 45, - "column": 4 + "column": 2 }, "end": { "line": 48, - "column": 5 + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 1367, - "end": 1384, + "start": 1181, + "end": 1198, "loc": { "start": { "line": 45, - "column": 4 + "column": 2 }, "end": { "line": 45, - "column": 21 + "column": 19 }, "identifierName": "setGenreStationID" }, "name": "setGenreStationID", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -1235,159 +1232,159 @@ "params": [ { "type": "Identifier", - "start": 1385, - "end": 1401, + "start": 1199, + "end": 1213, "loc": { "start": { "line": 45, - "column": 22 + "column": 20 }, "end": { "line": 45, - "column": 38 + "column": 34 }, - "identifierName": "genre_station_id" + "identifierName": "genreStationID" }, - "name": "genre_station_id" + "name": "genreStationID" } ], "body": { "type": "BlockStatement", - "start": 1403, - "end": 1487, + "start": 1215, + "end": 1279, "loc": { "start": { "line": 45, - "column": 40 + "column": 36 }, "end": { "line": 48, - "column": 5 + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 1413, - "end": 1453, + "start": 1221, + "end": 1258, "loc": { "start": { "line": 46, - "column": 8 + "column": 4 }, "end": { "line": 46, - "column": 48 + "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 1413, - "end": 1453, + "start": 1221, + "end": 1257, "loc": { "start": { "line": 46, - "column": 8 + "column": 4 }, "end": { "line": 46, - "column": 48 + "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1413, - "end": 1434, + "start": 1221, + "end": 1240, "loc": { "start": { "line": 46, - "column": 8 + "column": 4 }, "end": { "line": 46, - "column": 29 + "column": 23 } }, "object": { "type": "ThisExpression", - "start": 1413, - "end": 1417, + "start": 1221, + "end": 1225, "loc": { "start": { "line": 46, - "column": 8 + "column": 4 }, "end": { "line": 46, - "column": 12 + "column": 8 } } }, "property": { "type": "Identifier", - "start": 1418, - "end": 1434, + "start": 1226, + "end": 1240, "loc": { "start": { "line": 46, - "column": 13 + "column": 9 }, "end": { "line": 46, - "column": 29 + "column": 23 }, - "identifierName": "genre_station_id" + "identifierName": "genreStationID" }, - "name": "genre_station_id" + "name": "genreStationID" }, "computed": false }, "right": { "type": "Identifier", - "start": 1437, - "end": 1453, + "start": 1243, + "end": 1257, "loc": { "start": { "line": 46, - "column": 32 + "column": 26 }, "end": { "line": 46, - "column": 48 + "column": 40 }, - "identifierName": "genre_station_id" + "identifierName": "genreStationID" }, - "name": "genre_station_id" + "name": "genreStationID" } } }, { "type": "ReturnStatement", - "start": 1470, - "end": 1481, + "start": 1263, + "end": 1275, "loc": { "start": { "line": 47, - "column": 8 + "column": 4 }, "end": { "line": 47, - "column": 19 + "column": 16 } }, "argument": { "type": "ThisExpression", - "start": 1477, - "end": 1481, + "start": 1270, + "end": 1274, "loc": { "start": { "line": 47, - "column": 15 + "column": 11 }, "end": { "line": 47, - "column": 19 + "column": 15 } } } @@ -1399,17 +1396,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Init the genre station fetcher.\n *\n * @param {string} genre_station_id - The ID of a genre station.\n * @return {GenreStation}\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations/endpoints/get-genre-stations-station_id\n ", - "start": 1086, - "end": 1362, + "value": "*\n * Init the genre station fetcher.\n *\n * @param {string} genreStationID - The ID of a genre station.\n * @return {GenreStation}\n * @see https://docs-en.kkbox.codes/v1.1/reference#genrestations-station_id\n ", + "start": 956, + "end": 1178, "loc": { "start": { "line": 38, - "column": 4 + "column": 2 }, "end": { "line": 44, - "column": 7 + "column": 5 } } } @@ -1417,17 +1414,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch metadata of the genre station with the genre station fetcher.\n *\n * @return {Promise}\n * @example api.GenreStation.setGenreStationID('TYq3EHFTl-1EOvJM5Y').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations/endpoints/get-genre-stations-station_id\n ", - "start": 1493, - "end": 1820, + "value": "*\n * Fetch metadata of the genre station with the genre station fetcher.\n *\n * @return {Promise}\n * @example api.genreStationFetcher.setGenreStationID('TYq3EHFTl-1EOvJM5Y').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#genrestations-station_id\n ", + "start": 1283, + "end": 1566, "loc": { "start": { "line": 50, - "column": 4 + "column": 2 }, "end": { "line": 56, - "column": 7 + "column": 5 } } } @@ -1435,38 +1432,38 @@ }, { "type": "ClassMethod", - "start": 1825, - "end": 1940, + "start": 1569, + "end": 1695, "loc": { "start": { "line": 57, - "column": 4 + "column": 2 }, "end": { - "line": 59, - "column": 5 + "line": 61, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 1825, - "end": 1838, + "start": 1569, + "end": 1582, "loc": { "start": { "line": 57, - "column": 4 + "column": 2 }, "end": { "line": 57, - "column": 17 + "column": 15 }, "identifierName": "fetchMetadata" }, "name": "fetchMetadata", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -1475,102 +1472,102 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1841, - "end": 1940, + "start": 1585, + "end": 1695, "loc": { "start": { "line": 57, - "column": 20 + "column": 18 }, "end": { - "line": 59, - "column": 5 + "line": 61, + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 1851, - "end": 1934, + "start": 1591, + "end": 1691, "loc": { "start": { "line": 58, - "column": 8 + "column": 4 }, "end": { - "line": 58, - "column": 91 + "line": 60, + "column": 7 } }, "argument": { "type": "CallExpression", - "start": 1858, - "end": 1934, + "start": 1598, + "end": 1690, "loc": { "start": { "line": 58, - "column": 15 + "column": 11 }, "end": { - "line": 58, - "column": 91 + "line": 60, + "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 1858, - "end": 1871, + "start": 1598, + "end": 1611, "loc": { "start": { "line": 58, - "column": 15 + "column": 11 }, "end": { "line": 58, - "column": 28 + "column": 24 } }, "object": { "type": "MemberExpression", - "start": 1858, - "end": 1867, + "start": 1598, + "end": 1607, "loc": { "start": { "line": 58, - "column": 15 + "column": 11 }, "end": { "line": 58, - "column": 24 + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 1858, - "end": 1862, + "start": 1598, + "end": 1602, "loc": { "start": { "line": 58, - "column": 15 + "column": 11 }, "end": { "line": 58, - "column": 19 + "column": 15 } } }, "property": { "type": "Identifier", - "start": 1863, - "end": 1867, + "start": 1603, + "end": 1607, "loc": { "start": { "line": 58, - "column": 20 + "column": 16 }, "end": { "line": 58, - "column": 24 + "column": 20 }, "identifierName": "http" }, @@ -1580,16 +1577,16 @@ }, "property": { "type": "Identifier", - "start": 1868, - "end": 1871, + "start": 1608, + "end": 1611, "loc": { "start": { "line": 58, - "column": 25 + "column": 21 }, "end": { "line": 58, - "column": 28 + "column": 24 }, "identifierName": "get" }, @@ -1600,12 +1597,12 @@ "arguments": [ { "type": "BinaryExpression", - "start": 1872, - "end": 1904, + "start": 1612, + "end": 1648, "loc": { "start": { "line": 58, - "column": 29 + "column": 25 }, "end": { "line": 58, @@ -1613,31 +1610,67 @@ } }, "left": { - "type": "Identifier", - "start": 1872, - "end": 1880, + "type": "BinaryExpression", + "start": 1612, + "end": 1626, "loc": { "start": { "line": 58, - "column": 29 + "column": 25 }, "end": { "line": 58, - "column": 37 + "column": 39 + } + }, + "left": { + "type": "Identifier", + "start": 1612, + "end": 1620, + "loc": { + "start": { + "line": 58, + "column": 25 + }, + "end": { + "line": 58, + "column": 33 + }, + "identifierName": "ENDPOINT" }, - "identifierName": "ENDPOINT" + "name": "ENDPOINT" }, - "name": "ENDPOINT" + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 1623, + "end": 1626, + "loc": { + "start": { + "line": 58, + "column": 36 + }, + "end": { + "line": 58, + "column": 39 + } + }, + "extra": { + "rawValue": "/", + "raw": "'/'" + }, + "value": "/" + } }, "operator": "+", "right": { "type": "MemberExpression", - "start": 1883, - "end": 1904, + "start": 1629, + "end": 1648, "loc": { "start": { "line": 58, - "column": 40 + "column": 42 }, "end": { "line": 58, @@ -1646,66 +1679,66 @@ }, "object": { "type": "ThisExpression", - "start": 1883, - "end": 1887, + "start": 1629, + "end": 1633, "loc": { "start": { "line": 58, - "column": 40 + "column": 42 }, "end": { "line": 58, - "column": 44 + "column": 46 } } }, "property": { "type": "Identifier", - "start": 1888, - "end": 1904, + "start": 1634, + "end": 1648, "loc": { "start": { "line": 58, - "column": 45 + "column": 47 }, "end": { "line": 58, "column": 61 }, - "identifierName": "genre_station_id" + "identifierName": "genreStationID" }, - "name": "genre_station_id" + "name": "genreStationID" }, "computed": false } }, { "type": "ObjectExpression", - "start": 1906, - "end": 1933, + "start": 1650, + "end": 1689, "loc": { "start": { "line": 58, "column": 63 }, "end": { - "line": 58, - "column": 90 + "line": 60, + "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 1907, - "end": 1932, + "start": 1658, + "end": 1683, "loc": { "start": { - "line": 58, - "column": 64 + "line": 59, + "column": 6 }, "end": { - "line": 58, - "column": 89 + "line": 59, + "column": 31 } }, "method": false, @@ -1713,16 +1746,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 1907, - "end": 1916, + "start": 1658, + "end": 1667, "loc": { "start": { - "line": 58, - "column": 64 + "line": 59, + "column": 6 }, "end": { - "line": 58, - "column": 73 + "line": 59, + "column": 15 }, "identifierName": "territory" }, @@ -1730,45 +1763,45 @@ }, "value": { "type": "MemberExpression", - "start": 1918, - "end": 1932, + "start": 1669, + "end": 1683, "loc": { "start": { - "line": 58, - "column": 75 + "line": 59, + "column": 17 }, "end": { - "line": 58, - "column": 89 + "line": 59, + "column": 31 } }, "object": { "type": "ThisExpression", - "start": 1918, - "end": 1922, + "start": 1669, + "end": 1673, "loc": { "start": { - "line": 58, - "column": 75 + "line": 59, + "column": 17 }, "end": { - "line": 58, - "column": 79 + "line": 59, + "column": 21 } } }, "property": { "type": "Identifier", - "start": 1923, - "end": 1932, + "start": 1674, + "end": 1683, "loc": { "start": { - "line": 58, - "column": 80 + "line": 59, + "column": 22 }, "end": { - "line": 58, - "column": 89 + "line": 59, + "column": 31 }, "identifierName": "territory" }, @@ -1788,17 +1821,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch metadata of the genre station with the genre station fetcher.\n *\n * @return {Promise}\n * @example api.GenreStation.setGenreStationID('TYq3EHFTl-1EOvJM5Y').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations/endpoints/get-genre-stations-station_id\n ", - "start": 1493, - "end": 1820, + "value": "*\n * Fetch metadata of the genre station with the genre station fetcher.\n *\n * @return {Promise}\n * @example api.genreStationFetcher.setGenreStationID('TYq3EHFTl-1EOvJM5Y').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#genrestations-station_id\n ", + "start": 1283, + "end": 1566, "loc": { "start": { "line": 50, - "column": 4 + "column": 2 }, "end": { "line": 56, - "column": 7 + "column": 5 } } } @@ -1809,9 +1842,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Get genre stations.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations\n ", - "start": 88, - "end": 194, + "value": "*\n * Get genre stations.\n * @see https://docs-en.kkbox.codes/v1.1/reference#genre-stations\n ", + "start": 92, + "end": 188, "loc": { "start": { "line": 4, @@ -1829,9 +1862,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Get genre stations.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations\n ", - "start": 88, - "end": 194, + "value": "*\n * Get genre stations.\n * @see https://docs-en.kkbox.codes/v1.1/reference#genre-stations\n ", + "start": 92, + "end": 188, "loc": { "start": { "line": 4, @@ -1851,9 +1884,9 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * Get genre stations.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations\n ", - "start": 88, - "end": 194, + "value": "*\n * Get genre stations.\n * @see https://docs-en.kkbox.codes/v1.1/reference#genre-stations\n ", + "start": 92, + "end": 188, "loc": { "start": { "line": 4, @@ -1867,81 +1900,81 @@ }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 258, - "end": 284, + "value": "*\n * @ignore\n ", + "start": 250, + "end": 272, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 367, - "end": 402, + "value": "*\n * @ignore\n ", + "start": 346, + "end": 373, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch all genre stations. The result will be paged.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.GenreStation.fetchAllGenreStations()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations/endpoints/get-genre-stations\n ", - "start": 457, - "end": 851, + "value": "*\n * Fetch all genre stations. The result will be paged.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.genreStationFetcher.fetchAllGenreStations();\n * @see https://docs-en.kkbox.codes/v1.1/reference#genrestations\n ", + "start": 418, + "end": 764, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 29, - "column": 7 + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Init the genre station fetcher.\n *\n * @param {string} genre_station_id - The ID of a genre station.\n * @return {GenreStation}\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations/endpoints/get-genre-stations-station_id\n ", - "start": 1086, - "end": 1362, + "value": "*\n * Init the genre station fetcher.\n *\n * @param {string} genreStationID - The ID of a genre station.\n * @return {GenreStation}\n * @see https://docs-en.kkbox.codes/v1.1/reference#genrestations-station_id\n ", + "start": 956, + "end": 1178, "loc": { "start": { "line": 38, - "column": 4 + "column": 2 }, "end": { "line": 44, - "column": 7 + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch metadata of the genre station with the genre station fetcher.\n *\n * @return {Promise}\n * @example api.GenreStation.setGenreStationID('TYq3EHFTl-1EOvJM5Y').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations/endpoints/get-genre-stations-station_id\n ", - "start": 1493, - "end": 1820, + "value": "*\n * Fetch metadata of the genre station with the genre station fetcher.\n *\n * @return {Promise}\n * @example api.genreStationFetcher.setGenreStationID('TYq3EHFTl-1EOvJM5Y').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#genrestations-station_id\n ", + "start": 1283, + "end": 1566, "loc": { "start": { "line": 50, - "column": 4 + "column": 2 }, "end": { "line": 56, - "column": 7 + "column": 5 } } } @@ -1952,7 +1985,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2013,16 +2046,16 @@ "binop": null }, "value": "GENRE_STATIONS", - "start": 8, - "end": 22, + "start": 9, + "end": 23, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 22 + "column": 23 } } }, @@ -2039,16 +2072,16 @@ "binop": null }, "value": "as", - "start": 23, - "end": 25, + "start": 24, + "end": 26, "loc": { "start": { "line": 1, - "column": 23 + "column": 24 }, "end": { "line": 1, - "column": 25 + "column": 26 } } }, @@ -2065,16 +2098,16 @@ "binop": null }, "value": "ENDPOINT", - "start": 26, - "end": 34, + "start": 27, + "end": 35, "loc": { "start": { "line": 1, - "column": 26 + "column": 27 }, "end": { "line": 1, - "column": 34 + "column": 35 } } }, @@ -2090,16 +2123,16 @@ "postfix": false, "binop": null }, - "start": 34, - "end": 35, + "start": 36, + "end": 37, "loc": { "start": { "line": 1, - "column": 34 + "column": 36 }, "end": { "line": 1, - "column": 35 + "column": 37 } } }, @@ -2116,16 +2149,16 @@ "binop": null }, "value": "from", - "start": 36, - "end": 40, + "start": 38, + "end": 42, "loc": { "start": { "line": 1, - "column": 36 + "column": 38 }, "end": { "line": 1, - "column": 40 + "column": 42 } } }, @@ -2143,16 +2176,42 @@ "updateContext": null }, "value": "../Endpoint", - "start": 41, - "end": 54, + "start": 43, + "end": 56, "loc": { "start": { "line": 1, - "column": 41 + "column": 43 + }, + "end": { + "line": 1, + "column": 56 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 56, + "end": 57, + "loc": { + "start": { + "line": 1, + "column": 56 }, "end": { "line": 1, - "column": 54 + "column": 57 } } }, @@ -2161,7 +2220,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2171,8 +2230,8 @@ "updateContext": null }, "value": "import", - "start": 55, - "end": 61, + "start": 58, + "end": 64, "loc": { "start": { "line": 2, @@ -2197,8 +2256,8 @@ "binop": null }, "value": "Fetcher", - "start": 62, - "end": 69, + "start": 65, + "end": 72, "loc": { "start": { "line": 2, @@ -2223,8 +2282,8 @@ "binop": null }, "value": "from", - "start": 70, - "end": 74, + "start": 73, + "end": 77, "loc": { "start": { "line": 2, @@ -2250,8 +2309,8 @@ "updateContext": null }, "value": "./Fetcher", - "start": 75, - "end": 86, + "start": 78, + "end": 89, "loc": { "start": { "line": 2, @@ -2263,11 +2322,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 89, + "end": 90, + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 32 + } + } + }, { "type": "CommentBlock", - "value": "*\n * Get genre stations.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations\n ", - "start": 88, - "end": 194, + "value": "*\n * Get genre stations.\n * @see https://docs-en.kkbox.codes/v1.1/reference#genre-stations\n ", + "start": 92, + "end": 188, "loc": { "start": { "line": 4, @@ -2294,8 +2379,8 @@ "updateContext": null }, "value": "export", - "start": 195, - "end": 201, + "start": 189, + "end": 195, "loc": { "start": { "line": 8, @@ -2322,8 +2407,8 @@ "updateContext": null }, "value": "default", - "start": 202, - "end": 209, + "start": 196, + "end": 203, "loc": { "start": { "line": 8, @@ -2350,8 +2435,8 @@ "updateContext": null }, "value": "class", - "start": 210, - "end": 215, + "start": 204, + "end": 209, "loc": { "start": { "line": 8, @@ -2376,8 +2461,8 @@ "binop": null }, "value": "GenreStationFetcher", - "start": 216, - "end": 235, + "start": 210, + "end": 229, "loc": { "start": { "line": 8, @@ -2404,8 +2489,8 @@ "updateContext": null }, "value": "extends", - "start": 236, - "end": 243, + "start": 230, + "end": 237, "loc": { "start": { "line": 8, @@ -2430,8 +2515,8 @@ "binop": null }, "value": "Fetcher", - "start": 244, - "end": 251, + "start": 238, + "end": 245, "loc": { "start": { "line": 8, @@ -2455,8 +2540,8 @@ "postfix": false, "binop": null }, - "start": 252, - "end": 253, + "start": 246, + "end": 247, "loc": { "start": { "line": 8, @@ -2470,17 +2555,17 @@ }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 258, - "end": 284, + "value": "*\n * @ignore\n ", + "start": 250, + "end": 272, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } }, @@ -2497,16 +2582,16 @@ "binop": null }, "value": "constructor", - "start": 289, - "end": 300, + "start": 275, + "end": 286, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 12, - "column": 15 + "column": 13 } } }, @@ -2522,16 +2607,16 @@ "postfix": false, "binop": null }, - "start": 300, - "end": 301, + "start": 286, + "end": 287, "loc": { "start": { "line": 12, - "column": 15 + "column": 13 }, "end": { "line": 12, - "column": 16 + "column": 14 } } }, @@ -2548,16 +2633,16 @@ "binop": null }, "value": "http", - "start": 301, - "end": 305, + "start": 287, + "end": 291, "loc": { "start": { "line": 12, - "column": 16 + "column": 14 }, "end": { "line": 12, - "column": 20 + "column": 18 } } }, @@ -2574,16 +2659,16 @@ "binop": null, "updateContext": null }, - "start": 305, - "end": 306, + "start": 291, + "end": 292, "loc": { "start": { "line": 12, - "column": 20 + "column": 18 }, "end": { "line": 12, - "column": 21 + "column": 19 } } }, @@ -2600,16 +2685,16 @@ "binop": null }, "value": "territory", - "start": 307, - "end": 316, + "start": 293, + "end": 302, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 31 + "column": 29 } } }, @@ -2627,16 +2712,16 @@ "updateContext": null }, "value": "=", - "start": 317, - "end": 318, + "start": 303, + "end": 304, "loc": { "start": { "line": 12, - "column": 32 + "column": 30 }, "end": { "line": 12, - "column": 33 + "column": 31 } } }, @@ -2654,16 +2739,16 @@ "updateContext": null }, "value": "TW", - "start": 319, - "end": 323, + "start": 305, + "end": 309, "loc": { "start": { "line": 12, - "column": 34 + "column": 32 }, "end": { "line": 12, - "column": 38 + "column": 36 } } }, @@ -2679,16 +2764,16 @@ "postfix": false, "binop": null }, - "start": 323, - "end": 324, + "start": 309, + "end": 310, "loc": { "start": { "line": 12, - "column": 38 + "column": 36 }, "end": { "line": 12, - "column": 39 + "column": 37 } } }, @@ -2704,16 +2789,16 @@ "postfix": false, "binop": null }, - "start": 325, - "end": 326, + "start": 311, + "end": 312, "loc": { "start": { "line": 12, - "column": 40 + "column": 38 }, "end": { "line": 12, - "column": 41 + "column": 39 } } }, @@ -2732,16 +2817,16 @@ "updateContext": null }, "value": "super", - "start": 335, - "end": 340, + "start": 317, + "end": 322, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 13 + "column": 9 } } }, @@ -2757,16 +2842,16 @@ "postfix": false, "binop": null }, - "start": 340, - "end": 341, + "start": 322, + "end": 323, "loc": { "start": { "line": 13, - "column": 13 + "column": 9 }, "end": { "line": 13, - "column": 14 + "column": 10 } } }, @@ -2783,16 +2868,16 @@ "binop": null }, "value": "http", - "start": 341, - "end": 345, + "start": 323, + "end": 327, "loc": { "start": { "line": 13, - "column": 14 + "column": 10 }, "end": { "line": 13, - "column": 18 + "column": 14 } } }, @@ -2809,16 +2894,16 @@ "binop": null, "updateContext": null }, - "start": 345, - "end": 346, + "start": 327, + "end": 328, "loc": { "start": { "line": 13, - "column": 18 + "column": 14 }, "end": { "line": 13, - "column": 19 + "column": 15 } } }, @@ -2835,16 +2920,16 @@ "binop": null }, "value": "territory", - "start": 347, - "end": 356, + "start": 329, + "end": 338, "loc": { "start": { "line": 13, - "column": 20 + "column": 16 }, "end": { "line": 13, - "column": 29 + "column": 25 } } }, @@ -2860,32 +2945,58 @@ "postfix": false, "binop": null }, - "start": 356, - "end": 357, + "start": 338, + "end": 339, "loc": { "start": { "line": 13, - "column": 29 + "column": 25 }, "end": { "line": 13, - "column": 30 + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 339, + "end": 340, + "loc": { + "start": { + "line": 13, + "column": 26 + }, + "end": { + "line": 13, + "column": 27 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 367, - "end": 402, + "value": "*\n * @ignore\n ", + "start": 346, + "end": 373, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } }, @@ -2904,16 +3015,16 @@ "updateContext": null }, "value": "this", - "start": 411, - "end": 415, + "start": 378, + "end": 382, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 12 + "column": 8 } } }, @@ -2930,16 +3041,16 @@ "binop": null, "updateContext": null }, - "start": 415, - "end": 416, + "start": 382, + "end": 383, "loc": { "start": { "line": 18, - "column": 12 + "column": 8 }, "end": { "line": 18, - "column": 13 + "column": 9 } } }, @@ -2955,17 +3066,17 @@ "postfix": false, "binop": null }, - "value": "genre_station_id", - "start": 416, - "end": 432, + "value": "genreStationID", + "start": 383, + "end": 397, "loc": { "start": { "line": 18, - "column": 13 + "column": 9 }, "end": { "line": 18, - "column": 29 + "column": 23 } } }, @@ -2983,16 +3094,16 @@ "updateContext": null }, "value": "=", - "start": 433, - "end": 434, + "start": 398, + "end": 399, "loc": { "start": { "line": 18, - "column": 30 + "column": 24 }, "end": { "line": 18, - "column": 31 + "column": 25 } } }, @@ -3009,16 +3120,42 @@ "binop": null }, "value": "undefined", - "start": 435, - "end": 444, + "start": 400, + "end": 409, "loc": { "start": { "line": 18, - "column": 32 + "column": 26 }, "end": { "line": 18, - "column": 41 + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 409, + "end": 410, + "loc": { + "start": { + "line": 18, + "column": 35 + }, + "end": { + "line": 18, + "column": 36 } } }, @@ -3034,32 +3171,32 @@ "postfix": false, "binop": null }, - "start": 450, - "end": 451, + "start": 413, + "end": 414, "loc": { "start": { "line": 19, - "column": 4 + "column": 2 }, "end": { "line": 19, - "column": 5 + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch all genre stations. The result will be paged.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.GenreStation.fetchAllGenreStations()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations/endpoints/get-genre-stations\n ", - "start": 457, - "end": 851, + "value": "*\n * Fetch all genre stations. The result will be paged.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.genreStationFetcher.fetchAllGenreStations();\n * @see https://docs-en.kkbox.codes/v1.1/reference#genrestations\n ", + "start": 418, + "end": 764, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 29, - "column": 7 + "column": 5 } } }, @@ -3076,16 +3213,16 @@ "binop": null }, "value": "fetchAllGenreStations", - "start": 856, - "end": 877, + "start": 767, + "end": 788, "loc": { "start": { "line": 30, - "column": 4 + "column": 2 }, "end": { "line": 30, - "column": 25 + "column": 23 } } }, @@ -3101,16 +3238,16 @@ "postfix": false, "binop": null }, - "start": 877, - "end": 878, + "start": 788, + "end": 789, "loc": { "start": { "line": 30, - "column": 25 + "column": 23 }, "end": { "line": 30, - "column": 26 + "column": 24 } } }, @@ -3127,16 +3264,16 @@ "binop": null }, "value": "limit", - "start": 878, - "end": 883, + "start": 789, + "end": 794, "loc": { "start": { "line": 30, - "column": 26 + "column": 24 }, "end": { "line": 30, - "column": 31 + "column": 29 } } }, @@ -3154,16 +3291,16 @@ "updateContext": null }, "value": "=", - "start": 884, - "end": 885, + "start": 795, + "end": 796, "loc": { "start": { "line": 30, - "column": 32 + "column": 30 }, "end": { "line": 30, - "column": 33 + "column": 31 } } }, @@ -3180,16 +3317,16 @@ "binop": null }, "value": "undefined", - "start": 886, - "end": 895, + "start": 797, + "end": 806, "loc": { "start": { "line": 30, - "column": 34 + "column": 32 }, "end": { "line": 30, - "column": 43 + "column": 41 } } }, @@ -3206,16 +3343,16 @@ "binop": null, "updateContext": null }, - "start": 895, - "end": 896, + "start": 806, + "end": 807, "loc": { "start": { "line": 30, - "column": 43 + "column": 41 }, "end": { "line": 30, - "column": 44 + "column": 42 } } }, @@ -3232,16 +3369,16 @@ "binop": null }, "value": "offset", - "start": 897, - "end": 903, + "start": 808, + "end": 814, "loc": { "start": { "line": 30, - "column": 45 + "column": 43 }, "end": { "line": 30, - "column": 51 + "column": 49 } } }, @@ -3259,16 +3396,16 @@ "updateContext": null }, "value": "=", - "start": 904, - "end": 905, + "start": 815, + "end": 816, "loc": { "start": { "line": 30, - "column": 52 + "column": 50 }, "end": { "line": 30, - "column": 53 + "column": 51 } } }, @@ -3285,16 +3422,16 @@ "binop": null }, "value": "undefined", - "start": 906, - "end": 915, + "start": 817, + "end": 826, "loc": { "start": { "line": 30, - "column": 54 + "column": 52 }, "end": { "line": 30, - "column": 63 + "column": 61 } } }, @@ -3310,16 +3447,16 @@ "postfix": false, "binop": null }, - "start": 915, - "end": 916, + "start": 826, + "end": 827, "loc": { "start": { "line": 30, - "column": 63 + "column": 61 }, "end": { "line": 30, - "column": 64 + "column": 62 } } }, @@ -3335,16 +3472,16 @@ "postfix": false, "binop": null }, - "start": 917, - "end": 918, + "start": 828, + "end": 829, "loc": { "start": { "line": 30, - "column": 65 + "column": 63 }, "end": { "line": 30, - "column": 66 + "column": 64 } } }, @@ -3363,16 +3500,16 @@ "updateContext": null }, "value": "return", - "start": 927, - "end": 933, + "start": 834, + "end": 840, "loc": { "start": { "line": 31, - "column": 8 + "column": 4 }, "end": { "line": 31, - "column": 14 + "column": 10 } } }, @@ -3391,16 +3528,16 @@ "updateContext": null }, "value": "this", - "start": 934, - "end": 938, + "start": 841, + "end": 845, "loc": { "start": { "line": 31, - "column": 15 + "column": 11 }, "end": { "line": 31, - "column": 19 + "column": 15 } } }, @@ -3417,16 +3554,16 @@ "binop": null, "updateContext": null }, - "start": 938, - "end": 939, + "start": 845, + "end": 846, "loc": { "start": { "line": 31, - "column": 19 + "column": 15 }, "end": { "line": 31, - "column": 20 + "column": 16 } } }, @@ -3443,16 +3580,16 @@ "binop": null }, "value": "http", - "start": 939, - "end": 943, + "start": 846, + "end": 850, "loc": { "start": { "line": 31, - "column": 20 + "column": 16 }, "end": { "line": 31, - "column": 24 + "column": 20 } } }, @@ -3469,16 +3606,16 @@ "binop": null, "updateContext": null }, - "start": 943, - "end": 944, + "start": 850, + "end": 851, "loc": { "start": { "line": 31, - "column": 24 + "column": 20 }, "end": { "line": 31, - "column": 25 + "column": 21 } } }, @@ -3495,16 +3632,16 @@ "binop": null }, "value": "get", - "start": 944, - "end": 947, + "start": 851, + "end": 854, "loc": { "start": { "line": 31, - "column": 25 + "column": 21 }, "end": { "line": 31, - "column": 28 + "column": 24 } } }, @@ -3520,16 +3657,16 @@ "postfix": false, "binop": null }, - "start": 947, - "end": 948, + "start": 854, + "end": 855, "loc": { "start": { "line": 31, - "column": 28 + "column": 24 }, "end": { "line": 31, - "column": 29 + "column": 25 } } }, @@ -3546,16 +3683,16 @@ "binop": null }, "value": "ENDPOINT", - "start": 948, - "end": 956, + "start": 855, + "end": 863, "loc": { "start": { "line": 31, - "column": 29 + "column": 25 }, "end": { "line": 31, - "column": 37 + "column": 33 } } }, @@ -3572,16 +3709,16 @@ "binop": null, "updateContext": null }, - "start": 956, - "end": 957, + "start": 863, + "end": 864, "loc": { "start": { "line": 31, - "column": 37 + "column": 33 }, "end": { "line": 31, - "column": 38 + "column": 34 } } }, @@ -3597,16 +3734,16 @@ "postfix": false, "binop": null }, - "start": 958, - "end": 959, + "start": 865, + "end": 866, "loc": { "start": { "line": 31, - "column": 39 + "column": 35 }, "end": { "line": 31, - "column": 40 + "column": 36 } } }, @@ -3623,16 +3760,16 @@ "binop": null }, "value": "territory", - "start": 972, - "end": 981, + "start": 873, + "end": 882, "loc": { "start": { "line": 32, - "column": 12 + "column": 6 }, "end": { "line": 32, - "column": 21 + "column": 15 } } }, @@ -3649,16 +3786,16 @@ "binop": null, "updateContext": null }, - "start": 981, - "end": 982, + "start": 882, + "end": 883, "loc": { "start": { "line": 32, - "column": 21 + "column": 15 }, "end": { "line": 32, - "column": 22 + "column": 16 } } }, @@ -3677,16 +3814,16 @@ "updateContext": null }, "value": "this", - "start": 983, - "end": 987, + "start": 884, + "end": 888, "loc": { "start": { "line": 32, - "column": 23 + "column": 17 }, "end": { "line": 32, - "column": 27 + "column": 21 } } }, @@ -3703,16 +3840,16 @@ "binop": null, "updateContext": null }, - "start": 987, - "end": 988, + "start": 888, + "end": 889, "loc": { "start": { "line": 32, - "column": 27 + "column": 21 }, "end": { "line": 32, - "column": 28 + "column": 22 } } }, @@ -3729,16 +3866,16 @@ "binop": null }, "value": "territory", - "start": 988, - "end": 997, + "start": 889, + "end": 898, "loc": { "start": { "line": 32, - "column": 28 + "column": 22 }, "end": { "line": 32, - "column": 37 + "column": 31 } } }, @@ -3755,16 +3892,16 @@ "binop": null, "updateContext": null }, - "start": 997, - "end": 998, + "start": 898, + "end": 899, "loc": { "start": { "line": 32, - "column": 37 + "column": 31 }, "end": { "line": 32, - "column": 38 + "column": 32 } } }, @@ -3781,16 +3918,16 @@ "binop": null }, "value": "limit", - "start": 1011, - "end": 1016, + "start": 906, + "end": 911, "loc": { "start": { "line": 33, - "column": 12 + "column": 6 }, "end": { "line": 33, - "column": 17 + "column": 11 } } }, @@ -3807,16 +3944,16 @@ "binop": null, "updateContext": null }, - "start": 1016, - "end": 1017, + "start": 911, + "end": 912, "loc": { "start": { "line": 33, - "column": 17 + "column": 11 }, "end": { "line": 33, - "column": 18 + "column": 12 } } }, @@ -3833,16 +3970,16 @@ "binop": null }, "value": "limit", - "start": 1018, - "end": 1023, + "start": 913, + "end": 918, "loc": { "start": { "line": 33, - "column": 19 + "column": 13 }, "end": { "line": 33, - "column": 24 + "column": 18 } } }, @@ -3859,16 +3996,16 @@ "binop": null, "updateContext": null }, - "start": 1023, - "end": 1024, + "start": 918, + "end": 919, "loc": { "start": { "line": 33, - "column": 24 + "column": 18 }, "end": { "line": 33, - "column": 25 + "column": 19 } } }, @@ -3885,16 +4022,16 @@ "binop": null }, "value": "offset", - "start": 1037, - "end": 1043, + "start": 926, + "end": 932, "loc": { "start": { "line": 34, - "column": 12 + "column": 6 }, "end": { "line": 34, - "column": 18 + "column": 12 } } }, @@ -3911,16 +4048,16 @@ "binop": null, "updateContext": null }, - "start": 1043, - "end": 1044, + "start": 932, + "end": 933, "loc": { "start": { "line": 34, - "column": 18 + "column": 12 }, "end": { "line": 34, - "column": 19 + "column": 13 } } }, @@ -3937,16 +4074,16 @@ "binop": null }, "value": "offset", - "start": 1045, - "end": 1051, + "start": 934, + "end": 940, "loc": { "start": { "line": 34, - "column": 20 + "column": 14 }, "end": { "line": 34, - "column": 26 + "column": 20 } } }, @@ -3962,16 +4099,16 @@ "postfix": false, "binop": null }, - "start": 1072, - "end": 1073, + "start": 945, + "end": 946, "loc": { "start": { "line": 35, - "column": 8 + "column": 4 }, "end": { "line": 35, - "column": 9 + "column": 5 } } }, @@ -3987,57 +4124,83 @@ "postfix": false, "binop": null }, - "start": 1073, - "end": 1074, + "start": 946, + "end": 947, "loc": { "start": { "line": 35, - "column": 9 + "column": 5 }, "end": { "line": 35, - "column": 10 + "column": 6 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1079, - "end": 1080, + "start": 947, + "end": 948, "loc": { "start": { - "line": 36, - "column": 4 + "line": 35, + "column": 6 }, "end": { - "line": 36, - "column": 5 + "line": 35, + "column": 7 } } }, { - "type": "CommentBlock", - "value": "*\n * Init the genre station fetcher.\n *\n * @param {string} genre_station_id - The ID of a genre station.\n * @return {GenreStation}\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations/endpoints/get-genre-stations-station_id\n ", - "start": 1086, - "end": 1362, - "loc": { - "start": { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 951, + "end": 952, + "loc": { + "start": { + "line": 36, + "column": 2 + }, + "end": { + "line": 36, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Init the genre station fetcher.\n *\n * @param {string} genreStationID - The ID of a genre station.\n * @return {GenreStation}\n * @see https://docs-en.kkbox.codes/v1.1/reference#genrestations-station_id\n ", + "start": 956, + "end": 1178, + "loc": { + "start": { "line": 38, - "column": 4 + "column": 2 }, "end": { "line": 44, - "column": 7 + "column": 5 } } }, @@ -4054,16 +4217,16 @@ "binop": null }, "value": "setGenreStationID", - "start": 1367, - "end": 1384, + "start": 1181, + "end": 1198, "loc": { "start": { "line": 45, - "column": 4 + "column": 2 }, "end": { "line": 45, - "column": 21 + "column": 19 } } }, @@ -4079,16 +4242,16 @@ "postfix": false, "binop": null }, - "start": 1384, - "end": 1385, + "start": 1198, + "end": 1199, "loc": { "start": { "line": 45, - "column": 21 + "column": 19 }, "end": { "line": 45, - "column": 22 + "column": 20 } } }, @@ -4104,17 +4267,17 @@ "postfix": false, "binop": null }, - "value": "genre_station_id", - "start": 1385, - "end": 1401, + "value": "genreStationID", + "start": 1199, + "end": 1213, "loc": { "start": { "line": 45, - "column": 22 + "column": 20 }, "end": { "line": 45, - "column": 38 + "column": 34 } } }, @@ -4130,16 +4293,16 @@ "postfix": false, "binop": null }, - "start": 1401, - "end": 1402, + "start": 1213, + "end": 1214, "loc": { "start": { "line": 45, - "column": 38 + "column": 34 }, "end": { "line": 45, - "column": 39 + "column": 35 } } }, @@ -4155,16 +4318,16 @@ "postfix": false, "binop": null }, - "start": 1403, - "end": 1404, + "start": 1215, + "end": 1216, "loc": { "start": { "line": 45, - "column": 40 + "column": 36 }, "end": { "line": 45, - "column": 41 + "column": 37 } } }, @@ -4183,16 +4346,16 @@ "updateContext": null }, "value": "this", - "start": 1413, - "end": 1417, + "start": 1221, + "end": 1225, "loc": { "start": { "line": 46, - "column": 8 + "column": 4 }, "end": { "line": 46, - "column": 12 + "column": 8 } } }, @@ -4209,16 +4372,16 @@ "binop": null, "updateContext": null }, - "start": 1417, - "end": 1418, + "start": 1225, + "end": 1226, "loc": { "start": { "line": 46, - "column": 12 + "column": 8 }, "end": { "line": 46, - "column": 13 + "column": 9 } } }, @@ -4234,17 +4397,17 @@ "postfix": false, "binop": null }, - "value": "genre_station_id", - "start": 1418, - "end": 1434, + "value": "genreStationID", + "start": 1226, + "end": 1240, "loc": { "start": { "line": 46, - "column": 13 + "column": 9 }, "end": { "line": 46, - "column": 29 + "column": 23 } } }, @@ -4262,16 +4425,16 @@ "updateContext": null }, "value": "=", - "start": 1435, - "end": 1436, + "start": 1241, + "end": 1242, "loc": { "start": { "line": 46, - "column": 30 + "column": 24 }, "end": { "line": 46, - "column": 31 + "column": 25 } } }, @@ -4287,17 +4450,43 @@ "postfix": false, "binop": null }, - "value": "genre_station_id", - "start": 1437, - "end": 1453, + "value": "genreStationID", + "start": 1243, + "end": 1257, "loc": { "start": { "line": 46, - "column": 32 + "column": 26 }, "end": { "line": 46, - "column": 48 + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1257, + "end": 1258, + "loc": { + "start": { + "line": 46, + "column": 40 + }, + "end": { + "line": 46, + "column": 41 } } }, @@ -4316,16 +4505,16 @@ "updateContext": null }, "value": "return", - "start": 1470, - "end": 1476, + "start": 1263, + "end": 1269, "loc": { "start": { "line": 47, - "column": 8 + "column": 4 }, "end": { "line": 47, - "column": 14 + "column": 10 } } }, @@ -4344,8 +4533,34 @@ "updateContext": null }, "value": "this", - "start": 1477, - "end": 1481, + "start": 1270, + "end": 1274, + "loc": { + "start": { + "line": 47, + "column": 11 + }, + "end": { + "line": 47, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1274, + "end": 1275, "loc": { "start": { "line": 47, @@ -4353,7 +4568,7 @@ }, "end": { "line": 47, - "column": 19 + "column": 16 } } }, @@ -4369,32 +4584,32 @@ "postfix": false, "binop": null }, - "start": 1486, - "end": 1487, + "start": 1278, + "end": 1279, "loc": { "start": { "line": 48, - "column": 4 + "column": 2 }, "end": { "line": 48, - "column": 5 + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch metadata of the genre station with the genre station fetcher.\n *\n * @return {Promise}\n * @example api.GenreStation.setGenreStationID('TYq3EHFTl-1EOvJM5Y').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations/endpoints/get-genre-stations-station_id\n ", - "start": 1493, - "end": 1820, + "value": "*\n * Fetch metadata of the genre station with the genre station fetcher.\n *\n * @return {Promise}\n * @example api.genreStationFetcher.setGenreStationID('TYq3EHFTl-1EOvJM5Y').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#genrestations-station_id\n ", + "start": 1283, + "end": 1566, "loc": { "start": { "line": 50, - "column": 4 + "column": 2 }, "end": { "line": 56, - "column": 7 + "column": 5 } } }, @@ -4411,16 +4626,16 @@ "binop": null }, "value": "fetchMetadata", - "start": 1825, - "end": 1838, + "start": 1569, + "end": 1582, "loc": { "start": { "line": 57, - "column": 4 + "column": 2 }, "end": { "line": 57, - "column": 17 + "column": 15 } } }, @@ -4436,16 +4651,16 @@ "postfix": false, "binop": null }, - "start": 1838, - "end": 1839, + "start": 1582, + "end": 1583, "loc": { "start": { "line": 57, - "column": 17 + "column": 15 }, "end": { "line": 57, - "column": 18 + "column": 16 } } }, @@ -4461,16 +4676,16 @@ "postfix": false, "binop": null }, - "start": 1839, - "end": 1840, + "start": 1583, + "end": 1584, "loc": { "start": { "line": 57, - "column": 18 + "column": 16 }, "end": { "line": 57, - "column": 19 + "column": 17 } } }, @@ -4486,16 +4701,16 @@ "postfix": false, "binop": null }, - "start": 1841, - "end": 1842, + "start": 1585, + "end": 1586, "loc": { "start": { "line": 57, - "column": 20 + "column": 18 }, "end": { "line": 57, - "column": 21 + "column": 19 } } }, @@ -4514,16 +4729,16 @@ "updateContext": null }, "value": "return", - "start": 1851, - "end": 1857, + "start": 1591, + "end": 1597, "loc": { "start": { "line": 58, - "column": 8 + "column": 4 }, "end": { "line": 58, - "column": 14 + "column": 10 } } }, @@ -4542,16 +4757,16 @@ "updateContext": null }, "value": "this", - "start": 1858, - "end": 1862, + "start": 1598, + "end": 1602, "loc": { "start": { "line": 58, - "column": 15 + "column": 11 }, "end": { "line": 58, - "column": 19 + "column": 15 } } }, @@ -4568,16 +4783,16 @@ "binop": null, "updateContext": null }, - "start": 1862, - "end": 1863, + "start": 1602, + "end": 1603, "loc": { "start": { "line": 58, - "column": 19 + "column": 15 }, "end": { "line": 58, - "column": 20 + "column": 16 } } }, @@ -4594,16 +4809,16 @@ "binop": null }, "value": "http", - "start": 1863, - "end": 1867, + "start": 1603, + "end": 1607, "loc": { "start": { "line": 58, - "column": 20 + "column": 16 }, "end": { "line": 58, - "column": 24 + "column": 20 } } }, @@ -4620,16 +4835,16 @@ "binop": null, "updateContext": null }, - "start": 1867, - "end": 1868, + "start": 1607, + "end": 1608, "loc": { "start": { "line": 58, - "column": 24 + "column": 20 }, "end": { "line": 58, - "column": 25 + "column": 21 } } }, @@ -4646,16 +4861,16 @@ "binop": null }, "value": "get", - "start": 1868, - "end": 1871, + "start": 1608, + "end": 1611, "loc": { "start": { "line": 58, - "column": 25 + "column": 21 }, "end": { "line": 58, - "column": 28 + "column": 24 } } }, @@ -4671,16 +4886,16 @@ "postfix": false, "binop": null }, - "start": 1871, - "end": 1872, + "start": 1611, + "end": 1612, "loc": { "start": { "line": 58, - "column": 28 + "column": 24 }, "end": { "line": 58, - "column": 29 + "column": 25 } } }, @@ -4697,16 +4912,16 @@ "binop": null }, "value": "ENDPOINT", - "start": 1872, - "end": 1880, + "start": 1612, + "end": 1620, "loc": { "start": { "line": 58, - "column": 29 + "column": 25 }, "end": { "line": 58, - "column": 37 + "column": 33 } } }, @@ -4724,12 +4939,39 @@ "updateContext": null }, "value": "+", - "start": 1881, - "end": 1882, + "start": 1621, + "end": 1622, "loc": { "start": { "line": 58, - "column": 38 + "column": 34 + }, + "end": { + "line": 58, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "/", + "start": 1623, + "end": 1626, + "loc": { + "start": { + "line": 58, + "column": 36 }, "end": { "line": 58, @@ -4737,6 +4979,33 @@ } } }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 1627, + "end": 1628, + "loc": { + "start": { + "line": 58, + "column": 40 + }, + "end": { + "line": 58, + "column": 41 + } + } + }, { "type": { "label": "this", @@ -4752,16 +5021,16 @@ "updateContext": null }, "value": "this", - "start": 1883, - "end": 1887, + "start": 1629, + "end": 1633, "loc": { "start": { "line": 58, - "column": 40 + "column": 42 }, "end": { "line": 58, - "column": 44 + "column": 46 } } }, @@ -4778,16 +5047,16 @@ "binop": null, "updateContext": null }, - "start": 1887, - "end": 1888, + "start": 1633, + "end": 1634, "loc": { "start": { "line": 58, - "column": 44 + "column": 46 }, "end": { "line": 58, - "column": 45 + "column": 47 } } }, @@ -4803,13 +5072,13 @@ "postfix": false, "binop": null }, - "value": "genre_station_id", - "start": 1888, - "end": 1904, + "value": "genreStationID", + "start": 1634, + "end": 1648, "loc": { "start": { "line": 58, - "column": 45 + "column": 47 }, "end": { "line": 58, @@ -4830,8 +5099,8 @@ "binop": null, "updateContext": null }, - "start": 1904, - "end": 1905, + "start": 1648, + "end": 1649, "loc": { "start": { "line": 58, @@ -4855,8 +5124,8 @@ "postfix": false, "binop": null }, - "start": 1906, - "end": 1907, + "start": 1650, + "end": 1651, "loc": { "start": { "line": 58, @@ -4881,16 +5150,16 @@ "binop": null }, "value": "territory", - "start": 1907, - "end": 1916, + "start": 1658, + "end": 1667, "loc": { "start": { - "line": 58, - "column": 64 + "line": 59, + "column": 6 }, "end": { - "line": 58, - "column": 73 + "line": 59, + "column": 15 } } }, @@ -4907,16 +5176,16 @@ "binop": null, "updateContext": null }, - "start": 1916, - "end": 1917, + "start": 1667, + "end": 1668, "loc": { "start": { - "line": 58, - "column": 73 + "line": 59, + "column": 15 }, "end": { - "line": 58, - "column": 74 + "line": 59, + "column": 16 } } }, @@ -4935,16 +5204,16 @@ "updateContext": null }, "value": "this", - "start": 1918, - "end": 1922, + "start": 1669, + "end": 1673, "loc": { "start": { - "line": 58, - "column": 75 + "line": 59, + "column": 17 }, "end": { - "line": 58, - "column": 79 + "line": 59, + "column": 21 } } }, @@ -4961,16 +5230,16 @@ "binop": null, "updateContext": null }, - "start": 1922, - "end": 1923, + "start": 1673, + "end": 1674, "loc": { "start": { - "line": 58, - "column": 79 + "line": 59, + "column": 21 }, "end": { - "line": 58, - "column": 80 + "line": 59, + "column": 22 } } }, @@ -4987,16 +5256,16 @@ "binop": null }, "value": "territory", - "start": 1923, - "end": 1932, + "start": 1674, + "end": 1683, "loc": { "start": { - "line": 58, - "column": 80 + "line": 59, + "column": 22 }, "end": { - "line": 58, - "column": 89 + "line": 59, + "column": 31 } } }, @@ -5012,16 +5281,16 @@ "postfix": false, "binop": null }, - "start": 1932, - "end": 1933, + "start": 1688, + "end": 1689, "loc": { "start": { - "line": 58, - "column": 89 + "line": 60, + "column": 4 }, "end": { - "line": 58, - "column": 90 + "line": 60, + "column": 5 } } }, @@ -5037,16 +5306,42 @@ "postfix": false, "binop": null }, - "start": 1933, - "end": 1934, + "start": 1689, + "end": 1690, "loc": { "start": { - "line": 58, - "column": 90 + "line": 60, + "column": 5 }, "end": { - "line": 58, - "column": 91 + "line": 60, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1690, + "end": 1691, + "loc": { + "start": { + "line": 60, + "column": 6 + }, + "end": { + "line": 60, + "column": 7 } } }, @@ -5062,16 +5357,16 @@ "postfix": false, "binop": null }, - "start": 1939, - "end": 1940, + "start": 1694, + "end": 1695, "loc": { "start": { - "line": 59, - "column": 4 + "line": 61, + "column": 2 }, "end": { - "line": 59, - "column": 5 + "line": 61, + "column": 3 } } }, @@ -5087,15 +5382,15 @@ "postfix": false, "binop": null }, - "start": 1941, - "end": 1942, + "start": 1696, + "end": 1697, "loc": { "start": { - "line": 60, + "line": 62, "column": 0 }, "end": { - "line": 60, + "line": 62, "column": 1 } } @@ -5113,16 +5408,16 @@ "binop": null, "updateContext": null }, - "start": 1942, - "end": 1942, + "start": 1698, + "end": 1698, "loc": { "start": { - "line": 60, - "column": 1 + "line": 63, + "column": 0 }, "end": { - "line": 60, - "column": 1 + "line": 63, + "column": 0 } } } diff --git a/docs/ast/source/api/HttpClient.js.json b/docs/ast/source/api/HttpClient.js.json index 9a10e13..54b3553 100644 --- a/docs/ast/source/api/HttpClient.js.json +++ b/docs/ast/source/api/HttpClient.js.json @@ -1,29 +1,29 @@ { "type": "File", "start": 0, - "end": 1202, + "end": 1066, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 48, - "column": 1 + "line": 54, + "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 1202, + "end": 1066, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 48, - "column": 1 + "line": 54, + "column": 0 } }, "sourceType": "module", @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 25, + "end": 26, "loc": { "start": { "line": 1, @@ -39,7 +39,7 @@ }, "end": { "line": 1, - "column": 25 + "column": 26 } }, "specifiers": [ @@ -99,8 +99,8 @@ }, { "type": "ImportDeclaration", - "start": 26, - "end": 64, + "start": 27, + "end": 68, "loc": { "start": { "line": 2, @@ -108,36 +108,36 @@ }, "end": { "line": 2, - "column": 38 + "column": 41 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 34, - "end": 42, + "start": 36, + "end": 44, "loc": { "start": { "line": 2, - "column": 8 + "column": 9 }, "end": { "line": 2, - "column": 16 + "column": 17 } }, "imported": { "type": "Identifier", - "start": 34, - "end": 42, + "start": 36, + "end": 44, "loc": { "start": { "line": 2, - "column": 8 + "column": 9 }, "end": { "line": 2, - "column": 16 + "column": 17 }, "identifierName": "apiError" }, @@ -145,16 +145,16 @@ }, "local": { "type": "Identifier", - "start": 34, - "end": 42, + "start": 36, + "end": 44, "loc": { "start": { "line": 2, - "column": 8 + "column": 9 }, "end": { "line": 2, - "column": 16 + "column": 17 }, "identifierName": "apiError" }, @@ -164,32 +164,30 @@ ], "source": { "type": "StringLiteral", - "start": 49, - "end": 64, + "start": 52, + "end": 67, "loc": { "start": { "line": 2, - "column": 23 + "column": 25 }, "end": { "line": 2, - "column": 38 + "column": 40 } }, "extra": { "rawValue": "../catchError", "raw": "'../catchError'" }, - "value": "../catchError", - "leadingComments": null, - "trailingComments": null + "value": "../catchError" }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Do request to open api server with authorization header and error catch.\n ", - "start": 66, - "end": 149, + "start": 70, + "end": 153, "loc": { "start": { "line": 4, @@ -205,36 +203,36 @@ }, { "type": "ExportDefaultDeclaration", - "start": 150, - "end": 1202, + "start": 154, + "end": 1065, "loc": { "start": { "line": 7, "column": 0 }, "end": { - "line": 48, + "line": 53, "column": 1 } }, "declaration": { "type": "ClassDeclaration", - "start": 165, - "end": 1202, + "start": 169, + "end": 1065, "loc": { "start": { "line": 7, "column": 15 }, "end": { - "line": 48, + "line": 53, "column": 1 } }, "id": { "type": "Identifier", - "start": 171, - "end": 181, + "start": 175, + "end": 185, "loc": { "start": { "line": 7, @@ -252,53 +250,53 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 182, - "end": 1202, + "start": 186, + "end": 1065, "loc": { "start": { "line": 7, "column": 32 }, "end": { - "line": 48, + "line": 53, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 268, - "end": 403, + "start": 264, + "end": 378, "loc": { "start": { "line": 11, - "column": 4 + "column": 2 }, "end": { "line": 17, - "column": 5 + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 268, - "end": 279, + "start": 264, + "end": 275, "loc": { "start": { "line": 11, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 15 + "column": 13 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, - "static": false, "kind": "constructor", "id": null, "generator": false, @@ -307,16 +305,16 @@ "params": [ { "type": "Identifier", - "start": 280, - "end": 285, + "start": 276, + "end": 281, "loc": { "start": { "line": 11, - "column": 16 + "column": 14 }, "end": { "line": 11, - "column": 21 + "column": 19 }, "identifierName": "token" }, @@ -325,90 +323,90 @@ ], "body": { "type": "BlockStatement", - "start": 287, - "end": 403, + "start": 283, + "end": 378, "loc": { "start": { "line": 11, - "column": 23 + "column": 21 }, "end": { "line": 17, - "column": 5 + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 367, - "end": 397, + "start": 343, + "end": 374, "loc": { "start": { "line": 16, - "column": 8 + "column": 4 }, "end": { "line": 16, - "column": 38 + "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 367, - "end": 397, + "start": 343, + "end": 373, "loc": { "start": { "line": 16, - "column": 8 + "column": 4 }, "end": { "line": 16, - "column": 38 + "column": 34 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 367, - "end": 377, + "start": 343, + "end": 353, "loc": { "start": { "line": 16, - "column": 8 + "column": 4 }, "end": { "line": 16, - "column": 18 + "column": 14 } }, "object": { "type": "ThisExpression", - "start": 367, - "end": 371, + "start": 343, + "end": 347, "loc": { "start": { "line": 16, - "column": 8 + "column": 4 }, "end": { "line": 16, - "column": 12 + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 372, - "end": 377, + "start": 348, + "end": 353, "loc": { "start": { "line": 16, - "column": 13 + "column": 9 }, "end": { "line": 16, - "column": 18 + "column": 14 }, "identifierName": "token" }, @@ -419,30 +417,30 @@ }, "right": { "type": "BinaryExpression", - "start": 380, - "end": 397, + "start": 356, + "end": 373, "loc": { "start": { "line": 16, - "column": 21 + "column": 17 }, "end": { "line": 16, - "column": 38 + "column": 34 } }, "left": { "type": "StringLiteral", - "start": 380, - "end": 389, + "start": 356, + "end": 365, "loc": { "start": { "line": 16, - "column": 21 + "column": 17 }, "end": { "line": 16, - "column": 30 + "column": 26 } }, "extra": { @@ -454,16 +452,16 @@ "operator": "+", "right": { "type": "Identifier", - "start": 392, - "end": 397, + "start": 368, + "end": 373, "loc": { "start": { "line": 16, - "column": 33 + "column": 29 }, "end": { "line": 16, - "column": 38 + "column": 34 }, "identifierName": "token" }, @@ -475,17 +473,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @private\n * @type {string}\n ", - "start": 297, - "end": 358, + "value": "*\n * @private\n * @type {string}\n ", + "start": 289, + "end": 338, "loc": { "start": { "line": 12, - "column": 8 + "column": 4 }, "end": { "line": 15, - "column": 11 + "column": 7 } } } @@ -498,17 +496,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @param {string} token - Need access token to initialize.\n ", - "start": 188, - "end": 263, + "value": "*\n * @param {string} token - Need access token to initialize.\n ", + "start": 190, + "end": 261, "loc": { "start": { "line": 8, - "column": 4 + "column": 2 }, "end": { "line": 10, - "column": 7 + "column": 5 } } } @@ -516,17 +514,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Http get method.\n *\n * @param {string} endpoint - Uri endpoint.\n * @param {object} params - Uri parameters.\n * @return {Promise}\n ", - "start": 409, - "end": 572, + "value": "*\n * Http get method.\n *\n * @param {string} endpoint - Uri endpoint.\n * @param {object} params - Uri parameters.\n * @return {Promise}\n ", + "start": 382, + "end": 533, "loc": { "start": { "line": 19, - "column": 4 + "column": 2 }, "end": { "line": 25, - "column": 7 + "column": 5 } } } @@ -534,38 +532,38 @@ }, { "type": "ClassMethod", - "start": 577, - "end": 790, + "start": 536, + "end": 730, "loc": { "start": { "line": 26, - "column": 4 + "column": 2 }, "end": { - "line": 31, - "column": 5 + "line": 35, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 577, - "end": 580, + "start": 536, + "end": 539, "loc": { "start": { "line": 26, - "column": 4 + "column": 2 }, "end": { "line": 26, - "column": 7 + "column": 5 }, "identifierName": "get" }, "name": "get", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -574,16 +572,16 @@ "params": [ { "type": "Identifier", - "start": 581, - "end": 589, + "start": 540, + "end": 548, "loc": { "start": { "line": 26, - "column": 8 + "column": 6 }, "end": { "line": 26, - "column": 16 + "column": 14 }, "identifierName": "endpoint" }, @@ -591,30 +589,30 @@ }, { "type": "AssignmentPattern", - "start": 591, - "end": 602, + "start": 550, + "end": 561, "loc": { "start": { "line": 26, - "column": 18 + "column": 16 }, "end": { "line": 26, - "column": 29 + "column": 27 } }, "left": { "type": "Identifier", - "start": 591, - "end": 597, + "start": 550, + "end": 556, "loc": { "start": { "line": 26, - "column": 18 + "column": 16 }, "end": { "line": 26, - "column": 24 + "column": 22 }, "identifierName": "params" }, @@ -622,16 +620,16 @@ }, "right": { "type": "ObjectExpression", - "start": 600, - "end": 602, + "start": 559, + "end": 561, "loc": { "start": { "line": 26, - "column": 27 + "column": 25 }, "end": { "line": 26, - "column": 29 + "column": 27 } }, "properties": [] @@ -640,101 +638,101 @@ ], "body": { "type": "BlockStatement", - "start": 604, - "end": 790, + "start": 563, + "end": 730, "loc": { "start": { "line": 26, - "column": 31 + "column": 29 }, "end": { - "line": 31, - "column": 5 + "line": 35, + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 614, - "end": 784, + "start": 569, + "end": 726, "loc": { "start": { "line": 27, - "column": 8 + "column": 4 }, "end": { - "line": 30, - "column": 26 + "line": 34, + "column": 23 } }, "argument": { "type": "CallExpression", - "start": 621, - "end": 784, + "start": 576, + "end": 725, "loc": { "start": { "line": 27, - "column": 15 + "column": 11 }, "end": { - "line": 30, - "column": 26 + "line": 34, + "column": 22 } }, "callee": { "type": "MemberExpression", - "start": 621, - "end": 774, + "start": 576, + "end": 715, "loc": { "start": { "line": 27, - "column": 15 + "column": 11 }, "end": { - "line": 30, - "column": 16 + "line": 34, + "column": 12 } }, "object": { "type": "CallExpression", - "start": 621, - "end": 768, + "start": 576, + "end": 702, "loc": { "start": { "line": 27, - "column": 15 + "column": 11 }, "end": { - "line": 30, - "column": 10 + "line": 33, + "column": 8 } }, "callee": { "type": "MemberExpression", - "start": 621, - "end": 630, + "start": 576, + "end": 592, "loc": { "start": { "line": 27, - "column": 15 + "column": 11 }, "end": { - "line": 27, - "column": 24 + "line": 28, + "column": 10 } }, "object": { "type": "Identifier", - "start": 621, - "end": 626, + "start": 576, + "end": 581, "loc": { "start": { "line": 27, - "column": 15 + "column": 11 }, "end": { "line": 27, - "column": 20 + "column": 16 }, "identifierName": "axios" }, @@ -742,16 +740,16 @@ }, "property": { "type": "Identifier", - "start": 627, - "end": 630, + "start": 589, + "end": 592, "loc": { "start": { - "line": 27, - "column": 21 + "line": 28, + "column": 7 }, "end": { - "line": 27, - "column": 24 + "line": 28, + "column": 10 }, "identifierName": "get" }, @@ -762,16 +760,16 @@ "arguments": [ { "type": "Identifier", - "start": 631, - "end": 639, + "start": 593, + "end": 601, "loc": { "start": { - "line": 27, - "column": 25 + "line": 28, + "column": 11 }, "end": { - "line": 27, - "column": 33 + "line": 28, + "column": 19 }, "identifierName": "endpoint" }, @@ -779,31 +777,31 @@ }, { "type": "ObjectExpression", - "start": 641, - "end": 767, + "start": 603, + "end": 701, "loc": { "start": { - "line": 27, - "column": 35 + "line": 28, + "column": 21 }, "end": { - "line": 30, - "column": 9 + "line": 33, + "column": 7 } }, "properties": [ { "type": "ObjectProperty", - "start": 655, - "end": 669, + "start": 613, + "end": 627, "loc": { "start": { - "line": 28, - "column": 12 + "line": 29, + "column": 8 }, "end": { - "line": 28, - "column": 26 + "line": 29, + "column": 22 } }, "method": false, @@ -811,16 +809,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 655, - "end": 661, + "start": 613, + "end": 619, "loc": { "start": { - "line": 28, - "column": 12 + "line": 29, + "column": 8 }, "end": { - "line": 28, - "column": 18 + "line": 29, + "column": 14 }, "identifierName": "params" }, @@ -828,16 +826,16 @@ }, "value": { "type": "Identifier", - "start": 663, - "end": 669, + "start": 621, + "end": 627, "loc": { "start": { - "line": 28, - "column": 20 + "line": 29, + "column": 16 }, "end": { - "line": 28, - "column": 26 + "line": 29, + "column": 22 }, "identifierName": "params" }, @@ -846,16 +844,16 @@ }, { "type": "ObjectProperty", - "start": 683, - "end": 757, + "start": 637, + "end": 693, "loc": { "start": { - "line": 29, - "column": 12 + "line": 30, + "column": 8 }, "end": { - "line": 29, - "column": 86 + "line": 32, + "column": 9 } }, "method": false, @@ -863,16 +861,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 683, - "end": 690, + "start": 637, + "end": 644, "loc": { "start": { - "line": 29, - "column": 12 + "line": 30, + "column": 8 }, "end": { - "line": 29, - "column": 19 + "line": 30, + "column": 15 }, "identifierName": "headers" }, @@ -880,31 +878,31 @@ }, "value": { "type": "ObjectExpression", - "start": 692, - "end": 757, + "start": 646, + "end": 693, "loc": { "start": { - "line": 29, - "column": 21 + "line": 30, + "column": 17 }, "end": { - "line": 29, - "column": 86 + "line": 32, + "column": 9 } }, "properties": [ { "type": "ObjectProperty", - "start": 693, - "end": 718, + "start": 658, + "end": 683, "loc": { "start": { - "line": 29, - "column": 22 + "line": 31, + "column": 10 }, "end": { - "line": 29, - "column": 47 + "line": 31, + "column": 35 } }, "method": false, @@ -912,16 +910,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 693, - "end": 706, + "start": 658, + "end": 671, "loc": { "start": { - "line": 29, - "column": 22 + "line": 31, + "column": 10 }, "end": { - "line": 29, - "column": 35 + "line": 31, + "column": 23 }, "identifierName": "Authorization" }, @@ -929,45 +927,45 @@ }, "value": { "type": "MemberExpression", - "start": 708, - "end": 718, + "start": 673, + "end": 683, "loc": { "start": { - "line": 29, - "column": 37 + "line": 31, + "column": 25 }, "end": { - "line": 29, - "column": 47 + "line": 31, + "column": 35 } }, "object": { "type": "ThisExpression", - "start": 708, - "end": 712, + "start": 673, + "end": 677, "loc": { "start": { - "line": 29, - "column": 37 + "line": 31, + "column": 25 }, "end": { - "line": 29, - "column": 41 + "line": 31, + "column": 29 } } }, "property": { "type": "Identifier", - "start": 713, - "end": 718, + "start": 678, + "end": 683, "loc": { "start": { - "line": 29, - "column": 42 + "line": 31, + "column": 30 }, "end": { - "line": 29, - "column": 47 + "line": 31, + "column": 35 }, "identifierName": "token" }, @@ -975,64 +973,6 @@ }, "computed": false } - }, - { - "type": "ObjectProperty", - "start": 720, - "end": 756, - "loc": { - "start": { - "line": 29, - "column": 49 - }, - "end": { - "line": 29, - "column": 85 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "StringLiteral", - "start": 720, - "end": 732, - "loc": { - "start": { - "line": 29, - "column": 49 - }, - "end": { - "line": 29, - "column": 61 - } - }, - "extra": { - "rawValue": "User-Agent", - "raw": "'User-Agent'" - }, - "value": "User-Agent" - }, - "value": { - "type": "StringLiteral", - "start": 734, - "end": 756, - "loc": { - "start": { - "line": 29, - "column": 63 - }, - "end": { - "line": 29, - "column": 85 - } - }, - "extra": { - "rawValue": "KKBOX JavaScript SDK", - "raw": "'KKBOX JavaScript SDK'" - }, - "value": "KKBOX JavaScript SDK" - } } ] } @@ -1043,16 +983,16 @@ }, "property": { "type": "Identifier", - "start": 769, - "end": 774, + "start": 710, + "end": 715, "loc": { "start": { - "line": 30, - "column": 11 + "line": 34, + "column": 7 }, "end": { - "line": 30, - "column": 16 + "line": 34, + "column": 12 }, "identifierName": "catch" }, @@ -1063,16 +1003,16 @@ "arguments": [ { "type": "Identifier", - "start": 775, - "end": 783, + "start": 716, + "end": 724, "loc": { "start": { - "line": 30, - "column": 17 + "line": 34, + "column": 13 }, "end": { - "line": 30, - "column": 25 + "line": 34, + "column": 21 }, "identifierName": "apiError" }, @@ -1088,17 +1028,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Http get method.\n *\n * @param {string} endpoint - Uri endpoint.\n * @param {object} params - Uri parameters.\n * @return {Promise}\n ", - "start": 409, - "end": 572, + "value": "*\n * Http get method.\n *\n * @param {string} endpoint - Uri endpoint.\n * @param {object} params - Uri parameters.\n * @return {Promise}\n ", + "start": 382, + "end": 533, "loc": { "start": { "line": 19, - "column": 4 + "column": 2 }, "end": { "line": 25, - "column": 7 + "column": 5 } } } @@ -1106,17 +1046,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Http post method.\n *\n * @param {string} endpoint - Uri endpoint.\n * @param {object} data - Body json data.\n * @return {Promise}\n ", - "start": 796, - "end": 958, + "value": "*\n * Http post method.\n *\n * @param {string} endpoint - Uri endpoint.\n * @param {object} data - Body json data.\n * @return {Promise}\n ", + "start": 734, + "end": 884, "loc": { "start": { - "line": 33, - "column": 4 + "line": 37, + "column": 2 }, "end": { - "line": 39, - "column": 7 + "line": 43, + "column": 5 } } } @@ -1124,38 +1064,38 @@ }, { "type": "ClassMethod", - "start": 963, - "end": 1200, + "start": 887, + "end": 1063, "loc": { "start": { - "line": 40, - "column": 4 + "line": 44, + "column": 2 }, "end": { - "line": 47, - "column": 5 + "line": 52, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 963, - "end": 967, + "start": 887, + "end": 891, "loc": { "start": { - "line": 40, - "column": 4 + "line": 44, + "column": 2 }, "end": { - "line": 40, - "column": 8 + "line": 44, + "column": 6 }, "identifierName": "post" }, "name": "post", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -1164,16 +1104,16 @@ "params": [ { "type": "Identifier", - "start": 968, - "end": 976, + "start": 892, + "end": 900, "loc": { "start": { - "line": 40, - "column": 9 + "line": 44, + "column": 7 }, "end": { - "line": 40, - "column": 17 + "line": 44, + "column": 15 }, "identifierName": "endpoint" }, @@ -1181,30 +1121,30 @@ }, { "type": "AssignmentPattern", - "start": 978, - "end": 987, + "start": 902, + "end": 911, "loc": { "start": { - "line": 40, - "column": 19 + "line": 44, + "column": 17 }, "end": { - "line": 40, - "column": 28 + "line": 44, + "column": 26 } }, "left": { "type": "Identifier", - "start": 978, - "end": 982, + "start": 902, + "end": 906, "loc": { "start": { - "line": 40, - "column": 19 + "line": 44, + "column": 17 }, "end": { - "line": 40, - "column": 23 + "line": 44, + "column": 21 }, "identifierName": "data" }, @@ -1212,16 +1152,16 @@ }, "right": { "type": "ObjectExpression", - "start": 985, - "end": 987, + "start": 909, + "end": 911, "loc": { "start": { - "line": 40, - "column": 26 + "line": 44, + "column": 24 }, "end": { - "line": 40, - "column": 28 + "line": 44, + "column": 26 } }, "properties": [] @@ -1230,101 +1170,101 @@ ], "body": { "type": "BlockStatement", - "start": 989, - "end": 1200, + "start": 913, + "end": 1063, "loc": { "start": { - "line": 40, - "column": 30 + "line": 44, + "column": 28 }, "end": { - "line": 47, - "column": 5 + "line": 52, + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 999, - "end": 1194, + "start": 919, + "end": 1059, "loc": { "start": { - "line": 41, - "column": 8 + "line": 45, + "column": 4 }, "end": { - "line": 46, - "column": 26 + "line": 51, + "column": 23 } }, "argument": { "type": "CallExpression", - "start": 1006, - "end": 1194, + "start": 926, + "end": 1058, "loc": { "start": { - "line": 41, - "column": 15 + "line": 45, + "column": 11 }, "end": { - "line": 46, - "column": 26 + "line": 51, + "column": 22 } }, "callee": { "type": "MemberExpression", - "start": 1006, - "end": 1184, + "start": 926, + "end": 1048, "loc": { "start": { - "line": 41, - "column": 15 + "line": 45, + "column": 11 }, "end": { - "line": 46, - "column": 16 + "line": 51, + "column": 12 } }, "object": { "type": "CallExpression", - "start": 1006, - "end": 1178, + "start": 926, + "end": 1035, "loc": { "start": { - "line": 41, - "column": 15 + "line": 45, + "column": 11 }, "end": { - "line": 46, - "column": 10 + "line": 50, + "column": 8 } }, "callee": { "type": "MemberExpression", - "start": 1006, - "end": 1016, + "start": 926, + "end": 943, "loc": { "start": { - "line": 41, - "column": 15 + "line": 45, + "column": 11 }, "end": { - "line": 41, - "column": 25 + "line": 46, + "column": 11 } }, "object": { "type": "Identifier", - "start": 1006, - "end": 1011, + "start": 926, + "end": 931, "loc": { "start": { - "line": 41, - "column": 15 + "line": 45, + "column": 11 }, "end": { - "line": 41, - "column": 20 + "line": 45, + "column": 16 }, "identifierName": "axios" }, @@ -1332,16 +1272,16 @@ }, "property": { "type": "Identifier", - "start": 1012, - "end": 1016, + "start": 939, + "end": 943, "loc": { "start": { - "line": 41, - "column": 21 + "line": 46, + "column": 7 }, "end": { - "line": 41, - "column": 25 + "line": 46, + "column": 11 }, "identifierName": "post" }, @@ -1352,16 +1292,16 @@ "arguments": [ { "type": "Identifier", - "start": 1017, - "end": 1025, + "start": 944, + "end": 952, "loc": { "start": { - "line": 41, - "column": 26 + "line": 46, + "column": 12 }, "end": { - "line": 41, - "column": 34 + "line": 46, + "column": 20 }, "identifierName": "endpoint" }, @@ -1369,16 +1309,16 @@ }, { "type": "Identifier", - "start": 1027, - "end": 1031, + "start": 954, + "end": 958, "loc": { "start": { - "line": 41, - "column": 36 + "line": 46, + "column": 22 }, "end": { - "line": 41, - "column": 40 + "line": 46, + "column": 26 }, "identifierName": "data" }, @@ -1386,31 +1326,31 @@ }, { "type": "ObjectExpression", - "start": 1033, - "end": 1177, + "start": 960, + "end": 1034, "loc": { "start": { - "line": 41, - "column": 42 + "line": 46, + "column": 28 }, "end": { - "line": 46, - "column": 9 + "line": 50, + "column": 7 } }, "properties": [ { "type": "ObjectProperty", - "start": 1047, - "end": 1167, + "start": 970, + "end": 1026, "loc": { "start": { - "line": 42, - "column": 12 + "line": 47, + "column": 8 }, "end": { - "line": 45, - "column": 13 + "line": 49, + "column": 9 } }, "method": false, @@ -1418,16 +1358,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 1047, - "end": 1054, + "start": 970, + "end": 977, "loc": { "start": { - "line": 42, - "column": 12 + "line": 47, + "column": 8 }, "end": { - "line": 42, - "column": 19 + "line": 47, + "column": 15 }, "identifierName": "headers" }, @@ -1435,31 +1375,31 @@ }, "value": { "type": "ObjectExpression", - "start": 1056, - "end": 1167, + "start": 979, + "end": 1026, "loc": { "start": { - "line": 42, - "column": 21 + "line": 47, + "column": 17 }, "end": { - "line": 45, - "column": 13 + "line": 49, + "column": 9 } }, "properties": [ { "type": "ObjectProperty", - "start": 1074, - "end": 1099, + "start": 991, + "end": 1016, "loc": { "start": { - "line": 43, - "column": 16 + "line": 48, + "column": 10 }, "end": { - "line": 43, - "column": 41 + "line": 48, + "column": 35 } }, "method": false, @@ -1467,16 +1407,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 1074, - "end": 1087, + "start": 991, + "end": 1004, "loc": { "start": { - "line": 43, - "column": 16 + "line": 48, + "column": 10 }, "end": { - "line": 43, - "column": 29 + "line": 48, + "column": 23 }, "identifierName": "Authorization" }, @@ -1484,45 +1424,45 @@ }, "value": { "type": "MemberExpression", - "start": 1089, - "end": 1099, + "start": 1006, + "end": 1016, "loc": { "start": { - "line": 43, - "column": 31 + "line": 48, + "column": 25 }, "end": { - "line": 43, - "column": 41 + "line": 48, + "column": 35 } }, "object": { "type": "ThisExpression", - "start": 1089, - "end": 1093, + "start": 1006, + "end": 1010, "loc": { "start": { - "line": 43, - "column": 31 + "line": 48, + "column": 25 }, "end": { - "line": 43, - "column": 35 + "line": 48, + "column": 29 } } }, "property": { "type": "Identifier", - "start": 1094, - "end": 1099, + "start": 1011, + "end": 1016, "loc": { "start": { - "line": 43, - "column": 36 + "line": 48, + "column": 30 }, "end": { - "line": 43, - "column": 41 + "line": 48, + "column": 35 }, "identifierName": "token" }, @@ -1530,64 +1470,6 @@ }, "computed": false } - }, - { - "type": "ObjectProperty", - "start": 1117, - "end": 1153, - "loc": { - "start": { - "line": 44, - "column": 16 - }, - "end": { - "line": 44, - "column": 52 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "StringLiteral", - "start": 1117, - "end": 1129, - "loc": { - "start": { - "line": 44, - "column": 16 - }, - "end": { - "line": 44, - "column": 28 - } - }, - "extra": { - "rawValue": "User-Agent", - "raw": "'User-Agent'" - }, - "value": "User-Agent" - }, - "value": { - "type": "StringLiteral", - "start": 1131, - "end": 1153, - "loc": { - "start": { - "line": 44, - "column": 30 - }, - "end": { - "line": 44, - "column": 52 - } - }, - "extra": { - "rawValue": "KKBOX JavaScript SDK", - "raw": "'KKBOX JavaScript SDK'" - }, - "value": "KKBOX JavaScript SDK" - } } ] } @@ -1598,16 +1480,16 @@ }, "property": { "type": "Identifier", - "start": 1179, - "end": 1184, + "start": 1043, + "end": 1048, "loc": { "start": { - "line": 46, - "column": 11 + "line": 51, + "column": 7 }, "end": { - "line": 46, - "column": 16 + "line": 51, + "column": 12 }, "identifierName": "catch" }, @@ -1618,16 +1500,16 @@ "arguments": [ { "type": "Identifier", - "start": 1185, - "end": 1193, + "start": 1049, + "end": 1057, "loc": { "start": { - "line": 46, - "column": 17 + "line": 51, + "column": 13 }, "end": { - "line": 46, - "column": 25 + "line": 51, + "column": 21 }, "identifierName": "apiError" }, @@ -1642,17 +1524,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Http post method.\n *\n * @param {string} endpoint - Uri endpoint.\n * @param {object} data - Body json data.\n * @return {Promise}\n ", - "start": 796, - "end": 958, + "value": "*\n * Http post method.\n *\n * @param {string} endpoint - Uri endpoint.\n * @param {object} data - Body json data.\n * @return {Promise}\n ", + "start": 734, + "end": 884, "loc": { "start": { - "line": 33, - "column": 4 + "line": 37, + "column": 2 }, "end": { - "line": 39, - "column": 7 + "line": 43, + "column": 5 } } } @@ -1664,8 +1546,8 @@ { "type": "CommentBlock", "value": "*\n * Do request to open api server with authorization header and error catch.\n ", - "start": 66, - "end": 149, + "start": 70, + "end": 153, "loc": { "start": { "line": 4, @@ -1684,8 +1566,8 @@ { "type": "CommentBlock", "value": "*\n * Do request to open api server with authorization header and error catch.\n ", - "start": 66, - "end": 149, + "start": 70, + "end": 153, "loc": { "start": { "line": 4, @@ -1706,8 +1588,8 @@ { "type": "CommentBlock", "value": "*\n * Do request to open api server with authorization header and error catch.\n ", - "start": 66, - "end": 149, + "start": 70, + "end": 153, "loc": { "start": { "line": 4, @@ -1721,65 +1603,65 @@ }, { "type": "CommentBlock", - "value": "*\n * @param {string} token - Need access token to initialize.\n ", - "start": 188, - "end": 263, + "value": "*\n * @param {string} token - Need access token to initialize.\n ", + "start": 190, + "end": 261, "loc": { "start": { "line": 8, - "column": 4 + "column": 2 }, "end": { "line": 10, - "column": 7 + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * @private\n * @type {string}\n ", - "start": 297, - "end": 358, + "value": "*\n * @private\n * @type {string}\n ", + "start": 289, + "end": 338, "loc": { "start": { "line": 12, - "column": 8 + "column": 4 }, "end": { "line": 15, - "column": 11 + "column": 7 } } }, { "type": "CommentBlock", - "value": "*\n * Http get method.\n *\n * @param {string} endpoint - Uri endpoint.\n * @param {object} params - Uri parameters.\n * @return {Promise}\n ", - "start": 409, - "end": 572, + "value": "*\n * Http get method.\n *\n * @param {string} endpoint - Uri endpoint.\n * @param {object} params - Uri parameters.\n * @return {Promise}\n ", + "start": 382, + "end": 533, "loc": { "start": { "line": 19, - "column": 4 + "column": 2 }, "end": { "line": 25, - "column": 7 + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Http post method.\n *\n * @param {string} endpoint - Uri endpoint.\n * @param {object} data - Body json data.\n * @return {Promise}\n ", - "start": 796, - "end": 958, + "value": "*\n * Http post method.\n *\n * @param {string} endpoint - Uri endpoint.\n * @param {object} data - Body json data.\n * @return {Promise}\n ", + "start": 734, + "end": 884, "loc": { "start": { - "line": 33, - "column": 4 + "line": 37, + "column": 2 }, "end": { - "line": 39, - "column": 7 + "line": 43, + "column": 5 } } } @@ -1790,7 +1672,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1892,12 +1774,38 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 25, + "end": 26, + "loc": { + "start": { + "line": 1, + "column": 25 + }, + "end": { + "line": 1, + "column": 26 + } + } + }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1907,8 +1815,8 @@ "updateContext": null }, "value": "import", - "start": 26, - "end": 32, + "start": 27, + "end": 33, "loc": { "start": { "line": 2, @@ -1932,8 +1840,8 @@ "postfix": false, "binop": null }, - "start": 33, - "end": 34, + "start": 34, + "end": 35, "loc": { "start": { "line": 2, @@ -1958,16 +1866,16 @@ "binop": null }, "value": "apiError", - "start": 34, - "end": 42, + "start": 36, + "end": 44, "loc": { "start": { "line": 2, - "column": 8 + "column": 9 }, "end": { "line": 2, - "column": 16 + "column": 17 } } }, @@ -1983,16 +1891,16 @@ "postfix": false, "binop": null }, - "start": 42, - "end": 43, + "start": 45, + "end": 46, "loc": { "start": { "line": 2, - "column": 16 + "column": 18 }, "end": { "line": 2, - "column": 17 + "column": 19 } } }, @@ -2009,16 +1917,16 @@ "binop": null }, "value": "from", - "start": 44, - "end": 48, + "start": 47, + "end": 51, "loc": { "start": { "line": 2, - "column": 18 + "column": 20 }, "end": { "line": 2, - "column": 22 + "column": 24 } } }, @@ -2036,24 +1944,50 @@ "updateContext": null }, "value": "../catchError", - "start": 49, - "end": 64, + "start": 52, + "end": 67, "loc": { "start": { "line": 2, - "column": 23 + "column": 25 + }, + "end": { + "line": 2, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 67, + "end": 68, + "loc": { + "start": { + "line": 2, + "column": 40 }, "end": { "line": 2, - "column": 38 + "column": 41 } } }, { "type": "CommentBlock", "value": "*\n * Do request to open api server with authorization header and error catch.\n ", - "start": 66, - "end": 149, + "start": 70, + "end": 153, "loc": { "start": { "line": 4, @@ -2080,8 +2014,8 @@ "updateContext": null }, "value": "export", - "start": 150, - "end": 156, + "start": 154, + "end": 160, "loc": { "start": { "line": 7, @@ -2108,8 +2042,8 @@ "updateContext": null }, "value": "default", - "start": 157, - "end": 164, + "start": 161, + "end": 168, "loc": { "start": { "line": 7, @@ -2136,8 +2070,8 @@ "updateContext": null }, "value": "class", - "start": 165, - "end": 170, + "start": 169, + "end": 174, "loc": { "start": { "line": 7, @@ -2162,8 +2096,8 @@ "binop": null }, "value": "HttpClient", - "start": 171, - "end": 181, + "start": 175, + "end": 185, "loc": { "start": { "line": 7, @@ -2187,8 +2121,8 @@ "postfix": false, "binop": null }, - "start": 182, - "end": 183, + "start": 186, + "end": 187, "loc": { "start": { "line": 7, @@ -2202,17 +2136,17 @@ }, { "type": "CommentBlock", - "value": "*\n * @param {string} token - Need access token to initialize.\n ", - "start": 188, - "end": 263, + "value": "*\n * @param {string} token - Need access token to initialize.\n ", + "start": 190, + "end": 261, "loc": { "start": { "line": 8, - "column": 4 + "column": 2 }, "end": { "line": 10, - "column": 7 + "column": 5 } } }, @@ -2229,16 +2163,16 @@ "binop": null }, "value": "constructor", - "start": 268, - "end": 279, + "start": 264, + "end": 275, "loc": { "start": { "line": 11, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 15 + "column": 13 } } }, @@ -2254,16 +2188,16 @@ "postfix": false, "binop": null }, - "start": 279, - "end": 280, + "start": 275, + "end": 276, "loc": { "start": { "line": 11, - "column": 15 + "column": 13 }, "end": { "line": 11, - "column": 16 + "column": 14 } } }, @@ -2280,16 +2214,16 @@ "binop": null }, "value": "token", - "start": 280, - "end": 285, + "start": 276, + "end": 281, "loc": { "start": { "line": 11, - "column": 16 + "column": 14 }, "end": { "line": 11, - "column": 21 + "column": 19 } } }, @@ -2305,16 +2239,16 @@ "postfix": false, "binop": null }, - "start": 285, - "end": 286, + "start": 281, + "end": 282, "loc": { "start": { "line": 11, - "column": 21 + "column": 19 }, "end": { "line": 11, - "column": 22 + "column": 20 } } }, @@ -2330,32 +2264,32 @@ "postfix": false, "binop": null }, - "start": 287, - "end": 288, + "start": 283, + "end": 284, "loc": { "start": { "line": 11, - "column": 23 + "column": 21 }, "end": { "line": 11, - "column": 24 + "column": 22 } } }, { "type": "CommentBlock", - "value": "*\n * @private\n * @type {string}\n ", - "start": 297, - "end": 358, + "value": "*\n * @private\n * @type {string}\n ", + "start": 289, + "end": 338, "loc": { "start": { "line": 12, - "column": 8 + "column": 4 }, "end": { "line": 15, - "column": 11 + "column": 7 } } }, @@ -2374,16 +2308,16 @@ "updateContext": null }, "value": "this", - "start": 367, - "end": 371, + "start": 343, + "end": 347, "loc": { "start": { "line": 16, - "column": 8 + "column": 4 }, "end": { "line": 16, - "column": 12 + "column": 8 } } }, @@ -2400,16 +2334,16 @@ "binop": null, "updateContext": null }, - "start": 371, - "end": 372, + "start": 347, + "end": 348, "loc": { "start": { "line": 16, - "column": 12 + "column": 8 }, "end": { "line": 16, - "column": 13 + "column": 9 } } }, @@ -2426,16 +2360,16 @@ "binop": null }, "value": "token", - "start": 372, - "end": 377, + "start": 348, + "end": 353, "loc": { "start": { "line": 16, - "column": 13 + "column": 9 }, "end": { "line": 16, - "column": 18 + "column": 14 } } }, @@ -2453,16 +2387,16 @@ "updateContext": null }, "value": "=", - "start": 378, - "end": 379, + "start": 354, + "end": 355, "loc": { "start": { "line": 16, - "column": 19 + "column": 15 }, "end": { "line": 16, - "column": 20 + "column": 16 } } }, @@ -2480,16 +2414,16 @@ "updateContext": null }, "value": "Bearer ", - "start": 380, - "end": 389, + "start": 356, + "end": 365, "loc": { "start": { "line": 16, - "column": 21 + "column": 17 }, "end": { "line": 16, - "column": 30 + "column": 26 } } }, @@ -2507,16 +2441,16 @@ "updateContext": null }, "value": "+", - "start": 390, - "end": 391, + "start": 366, + "end": 367, "loc": { "start": { "line": 16, - "column": 31 + "column": 27 }, "end": { "line": 16, - "column": 32 + "column": 28 } } }, @@ -2533,16 +2467,42 @@ "binop": null }, "value": "token", - "start": 392, - "end": 397, + "start": 368, + "end": 373, "loc": { "start": { "line": 16, - "column": 33 + "column": 29 + }, + "end": { + "line": 16, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 373, + "end": 374, + "loc": { + "start": { + "line": 16, + "column": 34 }, "end": { "line": 16, - "column": 38 + "column": 35 } } }, @@ -2558,32 +2518,32 @@ "postfix": false, "binop": null }, - "start": 402, - "end": 403, + "start": 377, + "end": 378, "loc": { "start": { "line": 17, - "column": 4 + "column": 2 }, "end": { "line": 17, - "column": 5 + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Http get method.\n *\n * @param {string} endpoint - Uri endpoint.\n * @param {object} params - Uri parameters.\n * @return {Promise}\n ", - "start": 409, - "end": 572, + "value": "*\n * Http get method.\n *\n * @param {string} endpoint - Uri endpoint.\n * @param {object} params - Uri parameters.\n * @return {Promise}\n ", + "start": 382, + "end": 533, "loc": { "start": { "line": 19, - "column": 4 + "column": 2 }, "end": { "line": 25, - "column": 7 + "column": 5 } } }, @@ -2600,16 +2560,16 @@ "binop": null }, "value": "get", - "start": 577, - "end": 580, + "start": 536, + "end": 539, "loc": { "start": { "line": 26, - "column": 4 + "column": 2 }, "end": { "line": 26, - "column": 7 + "column": 5 } } }, @@ -2625,16 +2585,16 @@ "postfix": false, "binop": null }, - "start": 580, - "end": 581, + "start": 539, + "end": 540, "loc": { "start": { "line": 26, - "column": 7 + "column": 5 }, "end": { "line": 26, - "column": 8 + "column": 6 } } }, @@ -2651,16 +2611,16 @@ "binop": null }, "value": "endpoint", - "start": 581, - "end": 589, + "start": 540, + "end": 548, "loc": { "start": { "line": 26, - "column": 8 + "column": 6 }, "end": { "line": 26, - "column": 16 + "column": 14 } } }, @@ -2677,16 +2637,16 @@ "binop": null, "updateContext": null }, - "start": 589, - "end": 590, + "start": 548, + "end": 549, "loc": { "start": { "line": 26, - "column": 16 + "column": 14 }, "end": { "line": 26, - "column": 17 + "column": 15 } } }, @@ -2703,16 +2663,16 @@ "binop": null }, "value": "params", - "start": 591, - "end": 597, + "start": 550, + "end": 556, "loc": { "start": { "line": 26, - "column": 18 + "column": 16 }, "end": { "line": 26, - "column": 24 + "column": 22 } } }, @@ -2730,16 +2690,16 @@ "updateContext": null }, "value": "=", - "start": 598, - "end": 599, + "start": 557, + "end": 558, "loc": { "start": { "line": 26, - "column": 25 + "column": 23 }, "end": { "line": 26, - "column": 26 + "column": 24 } } }, @@ -2755,16 +2715,16 @@ "postfix": false, "binop": null }, - "start": 600, - "end": 601, + "start": 559, + "end": 560, "loc": { "start": { "line": 26, - "column": 27 + "column": 25 }, "end": { "line": 26, - "column": 28 + "column": 26 } } }, @@ -2780,16 +2740,16 @@ "postfix": false, "binop": null }, - "start": 601, - "end": 602, + "start": 560, + "end": 561, "loc": { "start": { "line": 26, - "column": 28 + "column": 26 }, "end": { "line": 26, - "column": 29 + "column": 27 } } }, @@ -2805,16 +2765,16 @@ "postfix": false, "binop": null }, - "start": 602, - "end": 603, + "start": 561, + "end": 562, "loc": { "start": { "line": 26, - "column": 29 + "column": 27 }, "end": { "line": 26, - "column": 30 + "column": 28 } } }, @@ -2830,16 +2790,16 @@ "postfix": false, "binop": null }, - "start": 604, - "end": 605, + "start": 563, + "end": 564, "loc": { "start": { "line": 26, - "column": 31 + "column": 29 }, "end": { "line": 26, - "column": 32 + "column": 30 } } }, @@ -2858,16 +2818,16 @@ "updateContext": null }, "value": "return", - "start": 614, - "end": 620, + "start": 569, + "end": 575, "loc": { "start": { "line": 27, - "column": 8 + "column": 4 }, "end": { "line": 27, - "column": 14 + "column": 10 } } }, @@ -2884,16 +2844,16 @@ "binop": null }, "value": "axios", - "start": 621, - "end": 626, + "start": 576, + "end": 581, "loc": { "start": { "line": 27, - "column": 15 + "column": 11 }, "end": { "line": 27, - "column": 20 + "column": 16 } } }, @@ -2910,16 +2870,16 @@ "binop": null, "updateContext": null }, - "start": 626, - "end": 627, + "start": 588, + "end": 589, "loc": { "start": { - "line": 27, - "column": 20 + "line": 28, + "column": 6 }, "end": { - "line": 27, - "column": 21 + "line": 28, + "column": 7 } } }, @@ -2936,16 +2896,16 @@ "binop": null }, "value": "get", - "start": 627, - "end": 630, + "start": 589, + "end": 592, "loc": { "start": { - "line": 27, - "column": 21 + "line": 28, + "column": 7 }, "end": { - "line": 27, - "column": 24 + "line": 28, + "column": 10 } } }, @@ -2961,16 +2921,16 @@ "postfix": false, "binop": null }, - "start": 630, - "end": 631, + "start": 592, + "end": 593, "loc": { "start": { - "line": 27, - "column": 24 + "line": 28, + "column": 10 }, "end": { - "line": 27, - "column": 25 + "line": 28, + "column": 11 } } }, @@ -2987,16 +2947,16 @@ "binop": null }, "value": "endpoint", - "start": 631, - "end": 639, + "start": 593, + "end": 601, "loc": { "start": { - "line": 27, - "column": 25 + "line": 28, + "column": 11 }, "end": { - "line": 27, - "column": 33 + "line": 28, + "column": 19 } } }, @@ -3013,16 +2973,16 @@ "binop": null, "updateContext": null }, - "start": 639, - "end": 640, + "start": 601, + "end": 602, "loc": { "start": { - "line": 27, - "column": 33 + "line": 28, + "column": 19 }, "end": { - "line": 27, - "column": 34 + "line": 28, + "column": 20 } } }, @@ -3038,16 +2998,16 @@ "postfix": false, "binop": null }, - "start": 641, - "end": 642, + "start": 603, + "end": 604, "loc": { "start": { - "line": 27, - "column": 35 + "line": 28, + "column": 21 }, "end": { - "line": 27, - "column": 36 + "line": 28, + "column": 22 } } }, @@ -3064,16 +3024,16 @@ "binop": null }, "value": "params", - "start": 655, - "end": 661, + "start": 613, + "end": 619, "loc": { "start": { - "line": 28, - "column": 12 + "line": 29, + "column": 8 }, "end": { - "line": 28, - "column": 18 + "line": 29, + "column": 14 } } }, @@ -3090,16 +3050,16 @@ "binop": null, "updateContext": null }, - "start": 661, - "end": 662, + "start": 619, + "end": 620, "loc": { "start": { - "line": 28, - "column": 18 + "line": 29, + "column": 14 }, "end": { - "line": 28, - "column": 19 + "line": 29, + "column": 15 } } }, @@ -3116,16 +3076,16 @@ "binop": null }, "value": "params", - "start": 663, - "end": 669, + "start": 621, + "end": 627, "loc": { "start": { - "line": 28, - "column": 20 + "line": 29, + "column": 16 }, "end": { - "line": 28, - "column": 26 + "line": 29, + "column": 22 } } }, @@ -3142,16 +3102,16 @@ "binop": null, "updateContext": null }, - "start": 669, - "end": 670, + "start": 627, + "end": 628, "loc": { "start": { - "line": 28, - "column": 26 + "line": 29, + "column": 22 }, "end": { - "line": 28, - "column": 27 + "line": 29, + "column": 23 } } }, @@ -3168,16 +3128,16 @@ "binop": null }, "value": "headers", - "start": 683, - "end": 690, + "start": 637, + "end": 644, "loc": { "start": { - "line": 29, - "column": 12 + "line": 30, + "column": 8 }, "end": { - "line": 29, - "column": 19 + "line": 30, + "column": 15 } } }, @@ -3194,16 +3154,16 @@ "binop": null, "updateContext": null }, - "start": 690, - "end": 691, + "start": 644, + "end": 645, "loc": { "start": { - "line": 29, - "column": 19 + "line": 30, + "column": 15 }, "end": { - "line": 29, - "column": 20 + "line": 30, + "column": 16 } } }, @@ -3219,16 +3179,16 @@ "postfix": false, "binop": null }, - "start": 692, - "end": 693, + "start": 646, + "end": 647, "loc": { "start": { - "line": 29, - "column": 21 + "line": 30, + "column": 17 }, "end": { - "line": 29, - "column": 22 + "line": 30, + "column": 18 } } }, @@ -3245,16 +3205,16 @@ "binop": null }, "value": "Authorization", - "start": 693, - "end": 706, + "start": 658, + "end": 671, "loc": { "start": { - "line": 29, - "column": 22 + "line": 31, + "column": 10 }, "end": { - "line": 29, - "column": 35 + "line": 31, + "column": 23 } } }, @@ -3271,17 +3231,17 @@ "binop": null, "updateContext": null }, - "start": 706, - "end": 707, + "start": 671, + "end": 672, "loc": { "start": { - "line": 29, - "column": 35 + "line": 31, + "column": 23 }, "end": { - "line": 29, - "column": 36 - } + "line": 31, + "column": 24 + } } }, { @@ -3299,16 +3259,16 @@ "updateContext": null }, "value": "this", - "start": 708, - "end": 712, + "start": 673, + "end": 677, "loc": { "start": { - "line": 29, - "column": 37 + "line": 31, + "column": 25 }, "end": { - "line": 29, - "column": 41 + "line": 31, + "column": 29 } } }, @@ -3325,16 +3285,16 @@ "binop": null, "updateContext": null }, - "start": 712, - "end": 713, + "start": 677, + "end": 678, "loc": { "start": { - "line": 29, - "column": 41 + "line": 31, + "column": 29 }, "end": { - "line": 29, - "column": 42 + "line": 31, + "column": 30 } } }, @@ -3351,122 +3311,16 @@ "binop": null }, "value": "token", - "start": 713, - "end": 718, - "loc": { - "start": { - "line": 29, - "column": 42 - }, - "end": { - "line": 29, - "column": 47 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 718, - "end": 719, - "loc": { - "start": { - "line": 29, - "column": 47 - }, - "end": { - "line": 29, - "column": 48 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "User-Agent", - "start": 720, - "end": 732, - "loc": { - "start": { - "line": 29, - "column": 49 - }, - "end": { - "line": 29, - "column": 61 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 732, - "end": 733, - "loc": { - "start": { - "line": 29, - "column": 61 - }, - "end": { - "line": 29, - "column": 62 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "KKBOX JavaScript SDK", - "start": 734, - "end": 756, + "start": 678, + "end": 683, "loc": { "start": { - "line": 29, - "column": 63 + "line": 31, + "column": 30 }, "end": { - "line": 29, - "column": 85 + "line": 31, + "column": 35 } } }, @@ -3482,16 +3336,16 @@ "postfix": false, "binop": null }, - "start": 756, - "end": 757, + "start": 692, + "end": 693, "loc": { "start": { - "line": 29, - "column": 85 + "line": 32, + "column": 8 }, "end": { - "line": 29, - "column": 86 + "line": 32, + "column": 9 } } }, @@ -3507,16 +3361,16 @@ "postfix": false, "binop": null }, - "start": 766, - "end": 767, + "start": 700, + "end": 701, "loc": { "start": { - "line": 30, - "column": 8 + "line": 33, + "column": 6 }, "end": { - "line": 30, - "column": 9 + "line": 33, + "column": 7 } } }, @@ -3532,16 +3386,16 @@ "postfix": false, "binop": null }, - "start": 767, - "end": 768, + "start": 701, + "end": 702, "loc": { "start": { - "line": 30, - "column": 9 + "line": 33, + "column": 7 }, "end": { - "line": 30, - "column": 10 + "line": 33, + "column": 8 } } }, @@ -3558,16 +3412,16 @@ "binop": null, "updateContext": null }, - "start": 768, - "end": 769, + "start": 709, + "end": 710, "loc": { "start": { - "line": 30, - "column": 10 + "line": 34, + "column": 6 }, "end": { - "line": 30, - "column": 11 + "line": 34, + "column": 7 } } }, @@ -3586,16 +3440,16 @@ "updateContext": null }, "value": "catch", - "start": 769, - "end": 774, + "start": 710, + "end": 715, "loc": { "start": { - "line": 30, - "column": 11 + "line": 34, + "column": 7 }, "end": { - "line": 30, - "column": 16 + "line": 34, + "column": 12 } } }, @@ -3611,16 +3465,16 @@ "postfix": false, "binop": null }, - "start": 774, - "end": 775, + "start": 715, + "end": 716, "loc": { "start": { - "line": 30, - "column": 16 + "line": 34, + "column": 12 }, "end": { - "line": 30, - "column": 17 + "line": 34, + "column": 13 } } }, @@ -3637,16 +3491,16 @@ "binop": null }, "value": "apiError", - "start": 775, - "end": 783, + "start": 716, + "end": 724, "loc": { "start": { - "line": 30, - "column": 17 + "line": 34, + "column": 13 }, "end": { - "line": 30, - "column": 25 + "line": 34, + "column": 21 } } }, @@ -3662,16 +3516,42 @@ "postfix": false, "binop": null }, - "start": 783, - "end": 784, + "start": 724, + "end": 725, "loc": { "start": { - "line": 30, - "column": 25 + "line": 34, + "column": 21 }, "end": { - "line": 30, - "column": 26 + "line": 34, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 725, + "end": 726, + "loc": { + "start": { + "line": 34, + "column": 22 + }, + "end": { + "line": 34, + "column": 23 } } }, @@ -3687,32 +3567,32 @@ "postfix": false, "binop": null }, - "start": 789, - "end": 790, + "start": 729, + "end": 730, "loc": { "start": { - "line": 31, - "column": 4 + "line": 35, + "column": 2 }, "end": { - "line": 31, - "column": 5 + "line": 35, + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Http post method.\n *\n * @param {string} endpoint - Uri endpoint.\n * @param {object} data - Body json data.\n * @return {Promise}\n ", - "start": 796, - "end": 958, + "value": "*\n * Http post method.\n *\n * @param {string} endpoint - Uri endpoint.\n * @param {object} data - Body json data.\n * @return {Promise}\n ", + "start": 734, + "end": 884, "loc": { "start": { - "line": 33, - "column": 4 + "line": 37, + "column": 2 }, "end": { - "line": 39, - "column": 7 + "line": 43, + "column": 5 } } }, @@ -3729,16 +3609,16 @@ "binop": null }, "value": "post", - "start": 963, - "end": 967, + "start": 887, + "end": 891, "loc": { "start": { - "line": 40, - "column": 4 + "line": 44, + "column": 2 }, "end": { - "line": 40, - "column": 8 + "line": 44, + "column": 6 } } }, @@ -3754,16 +3634,16 @@ "postfix": false, "binop": null }, - "start": 967, - "end": 968, + "start": 891, + "end": 892, "loc": { "start": { - "line": 40, - "column": 8 + "line": 44, + "column": 6 }, "end": { - "line": 40, - "column": 9 + "line": 44, + "column": 7 } } }, @@ -3780,16 +3660,16 @@ "binop": null }, "value": "endpoint", - "start": 968, - "end": 976, + "start": 892, + "end": 900, "loc": { "start": { - "line": 40, - "column": 9 + "line": 44, + "column": 7 }, "end": { - "line": 40, - "column": 17 + "line": 44, + "column": 15 } } }, @@ -3806,16 +3686,16 @@ "binop": null, "updateContext": null }, - "start": 976, - "end": 977, + "start": 900, + "end": 901, "loc": { "start": { - "line": 40, - "column": 17 + "line": 44, + "column": 15 }, "end": { - "line": 40, - "column": 18 + "line": 44, + "column": 16 } } }, @@ -3832,16 +3712,16 @@ "binop": null }, "value": "data", - "start": 978, - "end": 982, + "start": 902, + "end": 906, "loc": { "start": { - "line": 40, - "column": 19 + "line": 44, + "column": 17 }, "end": { - "line": 40, - "column": 23 + "line": 44, + "column": 21 } } }, @@ -3859,16 +3739,16 @@ "updateContext": null }, "value": "=", - "start": 983, - "end": 984, + "start": 907, + "end": 908, "loc": { "start": { - "line": 40, - "column": 24 + "line": 44, + "column": 22 }, "end": { - "line": 40, - "column": 25 + "line": 44, + "column": 23 } } }, @@ -3884,16 +3764,16 @@ "postfix": false, "binop": null }, - "start": 985, - "end": 986, + "start": 909, + "end": 910, "loc": { "start": { - "line": 40, - "column": 26 + "line": 44, + "column": 24 }, "end": { - "line": 40, - "column": 27 + "line": 44, + "column": 25 } } }, @@ -3909,16 +3789,16 @@ "postfix": false, "binop": null }, - "start": 986, - "end": 987, + "start": 910, + "end": 911, "loc": { "start": { - "line": 40, - "column": 27 + "line": 44, + "column": 25 }, "end": { - "line": 40, - "column": 28 + "line": 44, + "column": 26 } } }, @@ -3934,16 +3814,16 @@ "postfix": false, "binop": null }, - "start": 987, - "end": 988, + "start": 911, + "end": 912, "loc": { "start": { - "line": 40, - "column": 28 + "line": 44, + "column": 26 }, "end": { - "line": 40, - "column": 29 + "line": 44, + "column": 27 } } }, @@ -3959,16 +3839,16 @@ "postfix": false, "binop": null }, - "start": 989, - "end": 990, + "start": 913, + "end": 914, "loc": { "start": { - "line": 40, - "column": 30 + "line": 44, + "column": 28 }, "end": { - "line": 40, - "column": 31 + "line": 44, + "column": 29 } } }, @@ -3987,16 +3867,16 @@ "updateContext": null }, "value": "return", - "start": 999, - "end": 1005, + "start": 919, + "end": 925, "loc": { "start": { - "line": 41, - "column": 8 + "line": 45, + "column": 4 }, "end": { - "line": 41, - "column": 14 + "line": 45, + "column": 10 } } }, @@ -4013,16 +3893,16 @@ "binop": null }, "value": "axios", - "start": 1006, - "end": 1011, + "start": 926, + "end": 931, "loc": { "start": { - "line": 41, - "column": 15 + "line": 45, + "column": 11 }, "end": { - "line": 41, - "column": 20 + "line": 45, + "column": 16 } } }, @@ -4039,16 +3919,16 @@ "binop": null, "updateContext": null }, - "start": 1011, - "end": 1012, + "start": 938, + "end": 939, "loc": { "start": { - "line": 41, - "column": 20 + "line": 46, + "column": 6 }, "end": { - "line": 41, - "column": 21 + "line": 46, + "column": 7 } } }, @@ -4065,16 +3945,16 @@ "binop": null }, "value": "post", - "start": 1012, - "end": 1016, + "start": 939, + "end": 943, "loc": { "start": { - "line": 41, - "column": 21 + "line": 46, + "column": 7 }, "end": { - "line": 41, - "column": 25 + "line": 46, + "column": 11 } } }, @@ -4090,145 +3970,68 @@ "postfix": false, "binop": null }, - "start": 1016, - "end": 1017, - "loc": { - "start": { - "line": 41, - "column": 25 - }, - "end": { - "line": 41, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "endpoint", - "start": 1017, - "end": 1025, + "start": 943, + "end": 944, "loc": { "start": { - "line": 41, - "column": 26 - }, - "end": { - "line": 41, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1025, - "end": 1026, - "loc": { - "start": { - "line": 41, - "column": 34 - }, - "end": { - "line": 41, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "data", - "start": 1027, - "end": 1031, - "loc": { - "start": { - "line": 41, - "column": 36 + "line": 46, + "column": 11 }, "end": { - "line": 41, - "column": 40 + "line": 46, + "column": 12 } } }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1031, - "end": 1032, + "value": "endpoint", + "start": 944, + "end": 952, "loc": { "start": { - "line": 41, - "column": 40 + "line": 46, + "column": 12 }, "end": { - "line": 41, - "column": 41 + "line": 46, + "column": 20 } } }, { "type": { - "label": "{", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1033, - "end": 1034, + "start": 952, + "end": 953, "loc": { "start": { - "line": 41, - "column": 42 + "line": 46, + "column": 20 }, "end": { - "line": 41, - "column": 43 + "line": 46, + "column": 21 } } }, @@ -4244,23 +4047,23 @@ "postfix": false, "binop": null }, - "value": "headers", - "start": 1047, - "end": 1054, + "value": "data", + "start": 954, + "end": 958, "loc": { "start": { - "line": 42, - "column": 12 + "line": 46, + "column": 22 }, "end": { - "line": 42, - "column": 19 + "line": 46, + "column": 26 } } }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -4271,16 +4074,16 @@ "binop": null, "updateContext": null }, - "start": 1054, - "end": 1055, + "start": 958, + "end": 959, "loc": { "start": { - "line": 42, - "column": 19 + "line": 46, + "column": 26 }, "end": { - "line": 42, - "column": 20 + "line": 46, + "column": 27 } } }, @@ -4296,16 +4099,16 @@ "postfix": false, "binop": null }, - "start": 1056, - "end": 1057, + "start": 960, + "end": 961, "loc": { "start": { - "line": 42, - "column": 21 + "line": 46, + "column": 28 }, "end": { - "line": 42, - "column": 22 + "line": 46, + "column": 29 } } }, @@ -4321,17 +4124,17 @@ "postfix": false, "binop": null }, - "value": "Authorization", - "start": 1074, - "end": 1087, + "value": "headers", + "start": 970, + "end": 977, "loc": { "start": { - "line": 43, - "column": 16 + "line": 47, + "column": 8 }, "end": { - "line": 43, - "column": 29 + "line": 47, + "column": 15 } } }, @@ -4348,70 +4151,41 @@ "binop": null, "updateContext": null }, - "start": 1087, - "end": 1088, + "start": 977, + "end": 978, "loc": { "start": { - "line": 43, - "column": 29 + "line": 47, + "column": 15 }, "end": { - "line": 43, - "column": 30 + "line": 47, + "column": 16 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 1089, - "end": 1093, - "loc": { - "start": { - "line": 43, - "column": 31 - }, - "end": { - "line": 43, - "column": 35 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1093, - "end": 1094, + "start": 979, + "end": 980, "loc": { "start": { - "line": 43, - "column": 35 + "line": 47, + "column": 17 }, "end": { - "line": 43, - "column": 36 + "line": 47, + "column": 18 } } }, @@ -4427,23 +4201,23 @@ "postfix": false, "binop": null }, - "value": "token", - "start": 1094, - "end": 1099, + "value": "Authorization", + "start": 991, + "end": 1004, "loc": { "start": { - "line": 43, - "column": 36 + "line": 48, + "column": 10 }, "end": { - "line": 43, - "column": 41 + "line": 48, + "column": 23 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -4454,22 +4228,23 @@ "binop": null, "updateContext": null }, - "start": 1099, - "end": 1100, + "start": 1004, + "end": 1005, "loc": { "start": { - "line": 43, - "column": 41 + "line": 48, + "column": 23 }, "end": { - "line": 43, - "column": 42 + "line": 48, + "column": 24 } } }, { "type": { - "label": "string", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -4480,24 +4255,24 @@ "binop": null, "updateContext": null }, - "value": "User-Agent", - "start": 1117, - "end": 1129, + "value": "this", + "start": 1006, + "end": 1010, "loc": { "start": { - "line": 44, - "column": 16 + "line": 48, + "column": 25 }, "end": { - "line": 44, - "column": 28 + "line": 48, + "column": 29 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4507,22 +4282,22 @@ "binop": null, "updateContext": null }, - "start": 1129, - "end": 1130, + "start": 1010, + "end": 1011, "loc": { "start": { - "line": 44, - "column": 28 + "line": 48, + "column": 29 }, "end": { - "line": 44, - "column": 29 + "line": 48, + "column": 30 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -4530,20 +4305,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "KKBOX JavaScript SDK", - "start": 1131, - "end": 1153, + "value": "token", + "start": 1011, + "end": 1016, "loc": { "start": { - "line": 44, + "line": 48, "column": 30 }, "end": { - "line": 44, - "column": 52 + "line": 48, + "column": 35 } } }, @@ -4559,16 +4333,16 @@ "postfix": false, "binop": null }, - "start": 1166, - "end": 1167, + "start": 1025, + "end": 1026, "loc": { "start": { - "line": 45, - "column": 12 + "line": 49, + "column": 8 }, "end": { - "line": 45, - "column": 13 + "line": 49, + "column": 9 } } }, @@ -4584,16 +4358,16 @@ "postfix": false, "binop": null }, - "start": 1176, - "end": 1177, + "start": 1033, + "end": 1034, "loc": { "start": { - "line": 46, - "column": 8 + "line": 50, + "column": 6 }, "end": { - "line": 46, - "column": 9 + "line": 50, + "column": 7 } } }, @@ -4609,16 +4383,16 @@ "postfix": false, "binop": null }, - "start": 1177, - "end": 1178, + "start": 1034, + "end": 1035, "loc": { "start": { - "line": 46, - "column": 9 + "line": 50, + "column": 7 }, "end": { - "line": 46, - "column": 10 + "line": 50, + "column": 8 } } }, @@ -4635,16 +4409,16 @@ "binop": null, "updateContext": null }, - "start": 1178, - "end": 1179, + "start": 1042, + "end": 1043, "loc": { "start": { - "line": 46, - "column": 10 + "line": 51, + "column": 6 }, "end": { - "line": 46, - "column": 11 + "line": 51, + "column": 7 } } }, @@ -4663,16 +4437,16 @@ "updateContext": null }, "value": "catch", - "start": 1179, - "end": 1184, + "start": 1043, + "end": 1048, "loc": { "start": { - "line": 46, - "column": 11 + "line": 51, + "column": 7 }, "end": { - "line": 46, - "column": 16 + "line": 51, + "column": 12 } } }, @@ -4688,16 +4462,16 @@ "postfix": false, "binop": null }, - "start": 1184, - "end": 1185, + "start": 1048, + "end": 1049, "loc": { "start": { - "line": 46, - "column": 16 + "line": 51, + "column": 12 }, "end": { - "line": 46, - "column": 17 + "line": 51, + "column": 13 } } }, @@ -4714,16 +4488,16 @@ "binop": null }, "value": "apiError", - "start": 1185, - "end": 1193, + "start": 1049, + "end": 1057, "loc": { "start": { - "line": 46, - "column": 17 + "line": 51, + "column": 13 }, "end": { - "line": 46, - "column": 25 + "line": 51, + "column": 21 } } }, @@ -4739,16 +4513,42 @@ "postfix": false, "binop": null }, - "start": 1193, - "end": 1194, + "start": 1057, + "end": 1058, "loc": { "start": { - "line": 46, - "column": 25 + "line": 51, + "column": 21 }, "end": { - "line": 46, - "column": 26 + "line": 51, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1058, + "end": 1059, + "loc": { + "start": { + "line": 51, + "column": 22 + }, + "end": { + "line": 51, + "column": 23 } } }, @@ -4764,16 +4564,16 @@ "postfix": false, "binop": null }, - "start": 1199, - "end": 1200, + "start": 1062, + "end": 1063, "loc": { "start": { - "line": 47, - "column": 4 + "line": 52, + "column": 2 }, "end": { - "line": 47, - "column": 5 + "line": 52, + "column": 3 } } }, @@ -4789,15 +4589,15 @@ "postfix": false, "binop": null }, - "start": 1201, - "end": 1202, + "start": 1064, + "end": 1065, "loc": { "start": { - "line": 48, + "line": 53, "column": 0 }, "end": { - "line": 48, + "line": 53, "column": 1 } } @@ -4815,16 +4615,16 @@ "binop": null, "updateContext": null }, - "start": 1202, - "end": 1202, + "start": 1066, + "end": 1066, "loc": { "start": { - "line": 48, - "column": 1 + "line": 54, + "column": 0 }, "end": { - "line": 48, - "column": 1 + "line": 54, + "column": 0 } } } diff --git a/docs/ast/source/api/MoodStationFetcher.js.json b/docs/ast/source/api/MoodStationFetcher.js.json index 35793a0..5a83261 100644 --- a/docs/ast/source/api/MoodStationFetcher.js.json +++ b/docs/ast/source/api/MoodStationFetcher.js.json @@ -1,29 +1,29 @@ { "type": "File", "start": 0, - "end": 1650, + "end": 1570, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 55, - "column": 1 + "line": 61, + "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 1650, + "end": 1570, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 55, - "column": 1 + "line": 61, + "column": 0 } }, "sourceType": "module", @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 53, + "end": 56, "loc": { "start": { "line": 1, @@ -39,36 +39,36 @@ }, "end": { "line": 1, - "column": 53 + "column": 56 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 8, - "end": 33, + "start": 9, + "end": 34, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 33 + "column": 34 } }, "imported": { "type": "Identifier", - "start": 8, - "end": 21, + "start": 9, + "end": 22, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 21 + "column": 22 }, "identifierName": "MOOD_STATIONS" }, @@ -76,16 +76,16 @@ }, "local": { "type": "Identifier", - "start": 25, - "end": 33, + "start": 26, + "end": 34, "loc": { "start": { "line": 1, - "column": 25 + "column": 26 }, "end": { "line": 1, - "column": 33 + "column": 34 }, "identifierName": "ENDPOINT" }, @@ -95,16 +95,16 @@ ], "source": { "type": "StringLiteral", - "start": 40, - "end": 53, + "start": 42, + "end": 55, "loc": { "start": { "line": 1, - "column": 40 + "column": 42 }, "end": { "line": 1, - "column": 53 + "column": 55 } }, "extra": { @@ -116,8 +116,8 @@ }, { "type": "ImportDeclaration", - "start": 54, - "end": 85, + "start": 57, + "end": 89, "loc": { "start": { "line": 2, @@ -125,14 +125,14 @@ }, "end": { "line": 2, - "column": 31 + "column": 32 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 61, - "end": 68, + "start": 64, + "end": 71, "loc": { "start": { "line": 2, @@ -145,8 +145,8 @@ }, "local": { "type": "Identifier", - "start": 61, - "end": 68, + "start": 64, + "end": 71, "loc": { "start": { "line": 2, @@ -164,8 +164,8 @@ ], "source": { "type": "StringLiteral", - "start": 74, - "end": 85, + "start": 77, + "end": 88, "loc": { "start": { "line": 2, @@ -180,16 +180,14 @@ "rawValue": "./Fetcher", "raw": "'./Fetcher'" }, - "value": "./Fetcher", - "leadingComments": null, - "trailingComments": null + "value": "./Fetcher" }, "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Get mood stations.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/mood-stations\n ", - "start": 87, - "end": 190, + "value": "*\n * Get mood stations.\n * @see https://docs-en.kkbox.codes/v1.1/reference#mood-stations\n ", + "start": 91, + "end": 185, "loc": { "start": { "line": 4, @@ -205,36 +203,36 @@ }, { "type": "ExportDefaultDeclaration", - "start": 191, - "end": 1650, + "start": 186, + "end": 1569, "loc": { "start": { "line": 8, "column": 0 }, "end": { - "line": 55, + "line": 60, "column": 1 } }, "declaration": { "type": "ClassDeclaration", - "start": 206, - "end": 1650, + "start": 201, + "end": 1569, "loc": { "start": { "line": 8, "column": 15 }, "end": { - "line": 55, + "line": 60, "column": 1 } }, "id": { "type": "Identifier", - "start": 212, - "end": 230, + "start": 207, + "end": 225, "loc": { "start": { "line": 8, @@ -251,8 +249,8 @@ }, "superClass": { "type": "Identifier", - "start": 239, - "end": 246, + "start": 234, + "end": 241, "loc": { "start": { "line": 8, @@ -268,53 +266,53 @@ }, "body": { "type": "ClassBody", - "start": 247, - "end": 1650, + "start": 242, + "end": 1569, "loc": { "start": { "line": 8, "column": 56 }, "end": { - "line": 55, + "line": 60, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 284, - "end": 443, + "start": 271, + "end": 408, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 19, - "column": 5 + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 284, - "end": 295, + "start": 271, + "end": 282, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 12, - "column": 15 + "column": 13 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, - "static": false, "kind": "constructor", "id": null, "generator": false, @@ -323,16 +321,16 @@ "params": [ { "type": "Identifier", - "start": 296, - "end": 300, + "start": 283, + "end": 287, "loc": { "start": { "line": 12, - "column": 16 + "column": 14 }, "end": { "line": 12, - "column": 20 + "column": 18 }, "identifierName": "http" }, @@ -340,30 +338,30 @@ }, { "type": "AssignmentPattern", - "start": 302, - "end": 318, + "start": 289, + "end": 305, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 38 + "column": 36 } }, "left": { "type": "Identifier", - "start": 302, - "end": 311, + "start": 289, + "end": 298, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 31 + "column": 29 }, "identifierName": "territory" }, @@ -371,16 +369,16 @@ }, "right": { "type": "StringLiteral", - "start": 314, - "end": 318, + "start": 301, + "end": 305, "loc": { "start": { "line": 12, - "column": 34 + "column": 32 }, "end": { "line": 12, - "column": 38 + "column": 36 } }, "extra": { @@ -393,75 +391,75 @@ ], "body": { "type": "BlockStatement", - "start": 320, - "end": 443, + "start": 307, + "end": 408, "loc": { "start": { "line": 12, - "column": 40 + "column": 38 }, "end": { "line": 19, - "column": 5 + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 330, - "end": 352, + "start": 313, + "end": 336, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 30 + "column": 27 } }, "expression": { "type": "CallExpression", - "start": 330, - "end": 352, + "start": 313, + "end": 335, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 30 + "column": 26 } }, "callee": { "type": "Super", - "start": 330, - "end": 335, + "start": 313, + "end": 318, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 13 + "column": 9 } } }, "arguments": [ { "type": "Identifier", - "start": 336, - "end": 340, + "start": 319, + "end": 323, "loc": { "start": { "line": 13, - "column": 14 + "column": 10 }, "end": { "line": 13, - "column": 18 + "column": 14 }, "identifierName": "http" }, @@ -469,38 +467,37 @@ }, { "type": "Identifier", - "start": 342, - "end": 351, + "start": 325, + "end": 334, "loc": { "start": { "line": 13, - "column": 20 + "column": 16 }, "end": { "line": 13, - "column": 29 + "column": 25 }, "identifierName": "territory" }, "name": "territory" } - ], - "trailingComments": null + ] }, "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 362, - "end": 396, + "value": "*\n * @ignore\n ", + "start": 342, + "end": 368, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } } @@ -508,95 +505,95 @@ }, { "type": "ExpressionStatement", - "start": 405, - "end": 437, + "start": 373, + "end": 404, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 40 + "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 405, - "end": 437, + "start": 373, + "end": 403, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 40 + "column": 34 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 405, - "end": 425, + "start": 373, + "end": 391, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 28 + "column": 22 } }, "object": { "type": "ThisExpression", - "start": 405, - "end": 409, + "start": 373, + "end": 377, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 12 + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 410, - "end": 425, + "start": 378, + "end": 391, "loc": { "start": { "line": 18, - "column": 13 + "column": 9 }, "end": { "line": 18, - "column": 28 + "column": 22 }, - "identifierName": "mood_station_id" + "identifierName": "moodStationID" }, - "name": "mood_station_id" + "name": "moodStationID" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", - "start": 428, - "end": 437, + "start": 394, + "end": 403, "loc": { "start": { "line": 18, - "column": 31 + "column": 25 }, "end": { "line": 18, - "column": 40 + "column": 34 }, "identifierName": "undefined" }, @@ -607,17 +604,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 362, - "end": 396, + "value": "*\n * @ignore\n ", + "start": 342, + "end": 368, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } } @@ -630,17 +627,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 253, - "end": 279, + "value": "*\n * @ignore\n ", + "start": 246, + "end": 268, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } } @@ -648,17 +645,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch all mood stations.\n *\n * @return {Promise}\n * @example api.moodStationFetcher.fetchAllMoodStations()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/mood-stations/endpoints/get-mood-stations\n ", - "start": 449, - "end": 692, + "value": "*\n * Fetch all mood stations.\n *\n * @return {Promise}\n * @example api.moodStationFetcher.fetchAllMoodStations();\n * @see https://docs-en.kkbox.codes/v1.1/reference#moodstations\n ", + "start": 412, + "end": 606, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 27, - "column": 7 + "column": 5 } } } @@ -666,38 +663,38 @@ }, { "type": "ClassMethod", - "start": 697, - "end": 795, + "start": 609, + "end": 714, "loc": { "start": { "line": 28, - "column": 4 + "column": 2 }, "end": { - "line": 30, - "column": 5 + "line": 32, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 697, - "end": 717, + "start": 609, + "end": 629, "loc": { "start": { "line": 28, - "column": 4 + "column": 2 }, "end": { "line": 28, - "column": 24 + "column": 22 }, "identifierName": "fetchAllMoodStations" }, "name": "fetchAllMoodStations", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -706,102 +703,102 @@ "params": [], "body": { "type": "BlockStatement", - "start": 720, - "end": 795, + "start": 632, + "end": 714, "loc": { "start": { "line": 28, - "column": 27 + "column": 25 }, "end": { - "line": 30, - "column": 5 + "line": 32, + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 730, - "end": 789, + "start": 638, + "end": 710, "loc": { "start": { "line": 29, - "column": 8 + "column": 4 }, "end": { - "line": 29, - "column": 67 + "line": 31, + "column": 7 } }, "argument": { "type": "CallExpression", - "start": 737, - "end": 789, + "start": 645, + "end": 709, "loc": { "start": { "line": 29, - "column": 15 + "column": 11 }, "end": { - "line": 29, - "column": 67 + "line": 31, + "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 737, - "end": 750, + "start": 645, + "end": 658, "loc": { "start": { "line": 29, - "column": 15 + "column": 11 }, "end": { "line": 29, - "column": 28 + "column": 24 } }, "object": { "type": "MemberExpression", - "start": 737, - "end": 746, + "start": 645, + "end": 654, "loc": { "start": { "line": 29, - "column": 15 + "column": 11 }, "end": { "line": 29, - "column": 24 + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 737, - "end": 741, + "start": 645, + "end": 649, "loc": { "start": { "line": 29, - "column": 15 + "column": 11 }, "end": { "line": 29, - "column": 19 + "column": 15 } } }, "property": { "type": "Identifier", - "start": 742, - "end": 746, + "start": 650, + "end": 654, "loc": { "start": { "line": 29, - "column": 20 + "column": 16 }, "end": { "line": 29, - "column": 24 + "column": 20 }, "identifierName": "http" }, @@ -811,16 +808,16 @@ }, "property": { "type": "Identifier", - "start": 747, - "end": 750, + "start": 655, + "end": 658, "loc": { "start": { "line": 29, - "column": 25 + "column": 21 }, "end": { "line": 29, - "column": 28 + "column": 24 }, "identifierName": "get" }, @@ -831,16 +828,16 @@ "arguments": [ { "type": "Identifier", - "start": 751, - "end": 759, + "start": 659, + "end": 667, "loc": { "start": { "line": 29, - "column": 29 + "column": 25 }, "end": { "line": 29, - "column": 37 + "column": 33 }, "identifierName": "ENDPOINT" }, @@ -848,31 +845,31 @@ }, { "type": "ObjectExpression", - "start": 761, - "end": 788, + "start": 669, + "end": 708, "loc": { "start": { "line": 29, - "column": 39 + "column": 35 }, "end": { - "line": 29, - "column": 66 + "line": 31, + "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 762, - "end": 787, + "start": 677, + "end": 702, "loc": { "start": { - "line": 29, - "column": 40 + "line": 30, + "column": 6 }, "end": { - "line": 29, - "column": 65 + "line": 30, + "column": 31 } }, "method": false, @@ -880,16 +877,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 762, - "end": 771, + "start": 677, + "end": 686, "loc": { "start": { - "line": 29, - "column": 40 + "line": 30, + "column": 6 }, "end": { - "line": 29, - "column": 49 + "line": 30, + "column": 15 }, "identifierName": "territory" }, @@ -897,45 +894,45 @@ }, "value": { "type": "MemberExpression", - "start": 773, - "end": 787, + "start": 688, + "end": 702, "loc": { "start": { - "line": 29, - "column": 51 + "line": 30, + "column": 17 }, "end": { - "line": 29, - "column": 65 + "line": 30, + "column": 31 } }, "object": { "type": "ThisExpression", - "start": 773, - "end": 777, + "start": 688, + "end": 692, "loc": { "start": { - "line": 29, - "column": 51 + "line": 30, + "column": 17 }, "end": { - "line": 29, - "column": 55 + "line": 30, + "column": 21 } } }, "property": { "type": "Identifier", - "start": 778, - "end": 787, + "start": 693, + "end": 702, "loc": { "start": { - "line": 29, - "column": 56 + "line": 30, + "column": 22 }, "end": { - "line": 29, - "column": 65 + "line": 30, + "column": 31 }, "identifierName": "territory" }, @@ -956,17 +953,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch all mood stations.\n *\n * @return {Promise}\n * @example api.moodStationFetcher.fetchAllMoodStations()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/mood-stations/endpoints/get-mood-stations\n ", - "start": 449, - "end": 692, + "value": "*\n * Fetch all mood stations.\n *\n * @return {Promise}\n * @example api.moodStationFetcher.fetchAllMoodStations();\n * @see https://docs-en.kkbox.codes/v1.1/reference#moodstations\n ", + "start": 412, + "end": 606, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 27, - "column": 7 + "column": 5 } } } @@ -974,17 +971,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Init the mood station fetcher.\n *\n * @param {string} mood_station_id - The ID of a mood station.\n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory of a mood station.\n * @return {MoodStation}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/mood-stations/endpoints/get-mood-stations-station_id\n ", - "start": 801, - "end": 1178, + "value": "*\n * Init the mood station fetcher.\n *\n * @param {string} moodStationID - The ID of a mood station.\n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory of a mood station.\n * @return {MoodStation}\n * @see https://docs-en.kkbox.codes/v1.1/reference#moodstations-station_id\n ", + "start": 718, + "end": 1041, "loc": { "start": { - "line": 32, - "column": 4 + "line": 34, + "column": 2 }, "end": { - "line": 39, - "column": 7 + "line": 41, + "column": 5 } } } @@ -992,38 +989,38 @@ }, { "type": "ClassMethod", - "start": 1183, - "end": 1344, + "start": 1044, + "end": 1188, "loc": { "start": { - "line": 40, - "column": 4 + "line": 42, + "column": 2 }, "end": { - "line": 44, - "column": 5 + "line": 46, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 1183, - "end": 1199, + "start": 1044, + "end": 1060, "loc": { "start": { - "line": 40, - "column": 4 + "line": 42, + "column": 2 }, "end": { - "line": 40, - "column": 20 + "line": 42, + "column": 18 }, "identifierName": "setMoodStationID" }, "name": "setMoodStationID", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -1032,47 +1029,47 @@ "params": [ { "type": "Identifier", - "start": 1200, - "end": 1215, + "start": 1061, + "end": 1074, "loc": { "start": { - "line": 40, - "column": 21 + "line": 42, + "column": 19 }, "end": { - "line": 40, - "column": 36 + "line": 42, + "column": 32 }, - "identifierName": "mood_station_id" + "identifierName": "moodStationID" }, - "name": "mood_station_id" + "name": "moodStationID" }, { "type": "AssignmentPattern", - "start": 1217, - "end": 1233, + "start": 1076, + "end": 1092, "loc": { "start": { - "line": 40, - "column": 38 + "line": 42, + "column": 34 }, "end": { - "line": 40, - "column": 54 + "line": 42, + "column": 50 } }, "left": { "type": "Identifier", - "start": 1217, - "end": 1226, + "start": 1076, + "end": 1085, "loc": { "start": { - "line": 40, - "column": 38 + "line": 42, + "column": 34 }, "end": { - "line": 40, - "column": 47 + "line": 42, + "column": 43 }, "identifierName": "territory" }, @@ -1080,16 +1077,16 @@ }, "right": { "type": "StringLiteral", - "start": 1229, - "end": 1233, + "start": 1088, + "end": 1092, "loc": { "start": { - "line": 40, - "column": 50 + "line": 42, + "column": 46 }, "end": { - "line": 40, - "column": 54 + "line": 42, + "column": 50 } }, "extra": { @@ -1102,185 +1099,185 @@ ], "body": { "type": "BlockStatement", - "start": 1235, - "end": 1344, + "start": 1094, + "end": 1188, "loc": { "start": { - "line": 40, - "column": 56 + "line": 42, + "column": 52 }, "end": { - "line": 44, - "column": 5 + "line": 46, + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 1245, - "end": 1283, + "start": 1100, + "end": 1135, "loc": { "start": { - "line": 41, - "column": 8 + "line": 43, + "column": 4 }, "end": { - "line": 41, - "column": 46 + "line": 43, + "column": 39 } }, "expression": { "type": "AssignmentExpression", - "start": 1245, - "end": 1283, + "start": 1100, + "end": 1134, "loc": { "start": { - "line": 41, - "column": 8 + "line": 43, + "column": 4 }, "end": { - "line": 41, - "column": 46 + "line": 43, + "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1245, - "end": 1265, + "start": 1100, + "end": 1118, "loc": { "start": { - "line": 41, - "column": 8 + "line": 43, + "column": 4 }, "end": { - "line": 41, - "column": 28 + "line": 43, + "column": 22 } }, "object": { "type": "ThisExpression", - "start": 1245, - "end": 1249, + "start": 1100, + "end": 1104, "loc": { "start": { - "line": 41, - "column": 8 + "line": 43, + "column": 4 }, "end": { - "line": 41, - "column": 12 + "line": 43, + "column": 8 } } }, "property": { "type": "Identifier", - "start": 1250, - "end": 1265, + "start": 1105, + "end": 1118, "loc": { "start": { - "line": 41, - "column": 13 + "line": 43, + "column": 9 }, "end": { - "line": 41, - "column": 28 + "line": 43, + "column": 22 }, - "identifierName": "mood_station_id" + "identifierName": "moodStationID" }, - "name": "mood_station_id" + "name": "moodStationID" }, "computed": false }, "right": { "type": "Identifier", - "start": 1268, - "end": 1283, + "start": 1121, + "end": 1134, "loc": { "start": { - "line": 41, - "column": 31 + "line": 43, + "column": 25 }, "end": { - "line": 41, - "column": 46 + "line": 43, + "column": 38 }, - "identifierName": "mood_station_id" + "identifierName": "moodStationID" }, - "name": "mood_station_id" + "name": "moodStationID" } } }, { "type": "ExpressionStatement", - "start": 1292, - "end": 1318, + "start": 1140, + "end": 1167, "loc": { "start": { - "line": 42, - "column": 8 + "line": 44, + "column": 4 }, "end": { - "line": 42, - "column": 34 + "line": 44, + "column": 31 } }, "expression": { "type": "AssignmentExpression", - "start": 1292, - "end": 1318, + "start": 1140, + "end": 1166, "loc": { "start": { - "line": 42, - "column": 8 + "line": 44, + "column": 4 }, "end": { - "line": 42, - "column": 34 + "line": 44, + "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1292, - "end": 1306, + "start": 1140, + "end": 1154, "loc": { "start": { - "line": 42, - "column": 8 + "line": 44, + "column": 4 }, "end": { - "line": 42, - "column": 22 + "line": 44, + "column": 18 } }, "object": { "type": "ThisExpression", - "start": 1292, - "end": 1296, + "start": 1140, + "end": 1144, "loc": { "start": { - "line": 42, - "column": 8 + "line": 44, + "column": 4 }, "end": { - "line": 42, - "column": 12 + "line": 44, + "column": 8 } } }, "property": { "type": "Identifier", - "start": 1297, - "end": 1306, + "start": 1145, + "end": 1154, "loc": { "start": { - "line": 42, - "column": 13 + "line": 44, + "column": 9 }, "end": { - "line": 42, - "column": 22 + "line": 44, + "column": 18 }, "identifierName": "territory" }, @@ -1290,16 +1287,16 @@ }, "right": { "type": "Identifier", - "start": 1309, - "end": 1318, + "start": 1157, + "end": 1166, "loc": { "start": { - "line": 42, - "column": 25 + "line": 44, + "column": 21 }, "end": { - "line": 42, - "column": 34 + "line": 44, + "column": 30 }, "identifierName": "territory" }, @@ -1309,30 +1306,30 @@ }, { "type": "ReturnStatement", - "start": 1327, - "end": 1338, + "start": 1172, + "end": 1184, "loc": { "start": { - "line": 43, - "column": 8 + "line": 45, + "column": 4 }, "end": { - "line": 43, - "column": 19 + "line": 45, + "column": 16 } }, "argument": { "type": "ThisExpression", - "start": 1334, - "end": 1338, + "start": 1179, + "end": 1183, "loc": { "start": { - "line": 43, - "column": 15 + "line": 45, + "column": 11 }, "end": { - "line": 43, - "column": 19 + "line": 45, + "column": 15 } } } @@ -1344,17 +1341,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Init the mood station fetcher.\n *\n * @param {string} mood_station_id - The ID of a mood station.\n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory of a mood station.\n * @return {MoodStation}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/mood-stations/endpoints/get-mood-stations-station_id\n ", - "start": 801, - "end": 1178, + "value": "*\n * Init the mood station fetcher.\n *\n * @param {string} moodStationID - The ID of a mood station.\n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory of a mood station.\n * @return {MoodStation}\n * @see https://docs-en.kkbox.codes/v1.1/reference#moodstations-station_id\n ", + "start": 718, + "end": 1041, "loc": { "start": { - "line": 32, - "column": 4 + "line": 34, + "column": 2 }, "end": { - "line": 39, - "column": 7 + "line": 41, + "column": 5 } } } @@ -1362,17 +1359,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch the mood station's metadata.\n *\n * @return {Promise}\n * @example api.moodStationFetcher.setMoodStationID('StGZp2ToWq92diPHS7').fetchMetadata()\n ", - "start": 1350, - "end": 1529, + "value": "*\n * Fetch the mood station's metadata.\n *\n * @return {Promise}\n * @example api.moodStationFetcher.setMoodStationID('StGZp2ToWq92diPHS7').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#moodstations-station_id\n ", + "start": 1192, + "end": 1439, "loc": { "start": { - "line": 46, - "column": 4 + "line": 48, + "column": 2 }, "end": { - "line": 51, - "column": 7 + "line": 54, + "column": 5 } } } @@ -1380,38 +1377,38 @@ }, { "type": "ClassMethod", - "start": 1534, - "end": 1648, + "start": 1442, + "end": 1567, "loc": { "start": { - "line": 52, - "column": 4 + "line": 55, + "column": 2 }, "end": { - "line": 54, - "column": 5 + "line": 59, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 1534, - "end": 1547, + "start": 1442, + "end": 1455, "loc": { "start": { - "line": 52, - "column": 4 + "line": 55, + "column": 2 }, "end": { - "line": 52, - "column": 17 + "line": 55, + "column": 15 }, "identifierName": "fetchMetadata" }, "name": "fetchMetadata", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -1420,102 +1417,102 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1550, - "end": 1648, + "start": 1458, + "end": 1567, "loc": { "start": { - "line": 52, - "column": 20 + "line": 55, + "column": 18 }, "end": { - "line": 54, - "column": 5 + "line": 59, + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 1560, - "end": 1642, + "start": 1464, + "end": 1563, "loc": { "start": { - "line": 53, - "column": 8 + "line": 56, + "column": 4 }, "end": { - "line": 53, - "column": 90 + "line": 58, + "column": 7 } }, "argument": { "type": "CallExpression", - "start": 1567, - "end": 1642, + "start": 1471, + "end": 1562, "loc": { "start": { - "line": 53, - "column": 15 + "line": 56, + "column": 11 }, "end": { - "line": 53, - "column": 90 + "line": 58, + "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 1567, - "end": 1580, + "start": 1471, + "end": 1484, "loc": { "start": { - "line": 53, - "column": 15 + "line": 56, + "column": 11 }, "end": { - "line": 53, - "column": 28 + "line": 56, + "column": 24 } }, "object": { "type": "MemberExpression", - "start": 1567, - "end": 1576, + "start": 1471, + "end": 1480, "loc": { "start": { - "line": 53, - "column": 15 + "line": 56, + "column": 11 }, "end": { - "line": 53, - "column": 24 + "line": 56, + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 1567, - "end": 1571, + "start": 1471, + "end": 1475, "loc": { "start": { - "line": 53, - "column": 15 + "line": 56, + "column": 11 }, "end": { - "line": 53, - "column": 19 + "line": 56, + "column": 15 } } }, "property": { "type": "Identifier", - "start": 1572, - "end": 1576, + "start": 1476, + "end": 1480, "loc": { "start": { - "line": 53, - "column": 20 + "line": 56, + "column": 16 }, "end": { - "line": 53, - "column": 24 + "line": 56, + "column": 20 }, "identifierName": "http" }, @@ -1525,16 +1522,16 @@ }, "property": { "type": "Identifier", - "start": 1577, - "end": 1580, + "start": 1481, + "end": 1484, "loc": { "start": { - "line": 53, - "column": 25 + "line": 56, + "column": 21 }, "end": { - "line": 53, - "column": 28 + "line": 56, + "column": 24 }, "identifierName": "get" }, @@ -1545,112 +1542,148 @@ "arguments": [ { "type": "BinaryExpression", - "start": 1581, - "end": 1612, + "start": 1485, + "end": 1520, "loc": { "start": { - "line": 53, - "column": 29 + "line": 56, + "column": 25 }, "end": { - "line": 53, + "line": 56, "column": 60 } }, "left": { - "type": "Identifier", - "start": 1581, - "end": 1589, + "type": "BinaryExpression", + "start": 1485, + "end": 1499, "loc": { "start": { - "line": 53, - "column": 29 + "line": 56, + "column": 25 }, "end": { - "line": 53, - "column": 37 + "line": 56, + "column": 39 + } + }, + "left": { + "type": "Identifier", + "start": 1485, + "end": 1493, + "loc": { + "start": { + "line": 56, + "column": 25 + }, + "end": { + "line": 56, + "column": 33 + }, + "identifierName": "ENDPOINT" }, - "identifierName": "ENDPOINT" + "name": "ENDPOINT" }, - "name": "ENDPOINT" + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 1496, + "end": 1499, + "loc": { + "start": { + "line": 56, + "column": 36 + }, + "end": { + "line": 56, + "column": 39 + } + }, + "extra": { + "rawValue": "/", + "raw": "'/'" + }, + "value": "/" + } }, "operator": "+", "right": { "type": "MemberExpression", - "start": 1592, - "end": 1612, + "start": 1502, + "end": 1520, "loc": { "start": { - "line": 53, - "column": 40 + "line": 56, + "column": 42 }, "end": { - "line": 53, + "line": 56, "column": 60 } }, "object": { "type": "ThisExpression", - "start": 1592, - "end": 1596, + "start": 1502, + "end": 1506, "loc": { "start": { - "line": 53, - "column": 40 + "line": 56, + "column": 42 }, "end": { - "line": 53, - "column": 44 + "line": 56, + "column": 46 } } }, "property": { "type": "Identifier", - "start": 1597, - "end": 1612, + "start": 1507, + "end": 1520, "loc": { "start": { - "line": 53, - "column": 45 + "line": 56, + "column": 47 }, "end": { - "line": 53, + "line": 56, "column": 60 }, - "identifierName": "mood_station_id" + "identifierName": "moodStationID" }, - "name": "mood_station_id" + "name": "moodStationID" }, "computed": false } }, { "type": "ObjectExpression", - "start": 1614, - "end": 1641, + "start": 1522, + "end": 1561, "loc": { "start": { - "line": 53, + "line": 56, "column": 62 }, "end": { - "line": 53, - "column": 89 + "line": 58, + "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 1615, - "end": 1640, + "start": 1530, + "end": 1555, "loc": { "start": { - "line": 53, - "column": 63 + "line": 57, + "column": 6 }, "end": { - "line": 53, - "column": 88 + "line": 57, + "column": 31 } }, "method": false, @@ -1658,16 +1691,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 1615, - "end": 1624, + "start": 1530, + "end": 1539, "loc": { "start": { - "line": 53, - "column": 63 + "line": 57, + "column": 6 }, "end": { - "line": 53, - "column": 72 + "line": 57, + "column": 15 }, "identifierName": "territory" }, @@ -1675,45 +1708,45 @@ }, "value": { "type": "MemberExpression", - "start": 1626, - "end": 1640, + "start": 1541, + "end": 1555, "loc": { "start": { - "line": 53, - "column": 74 + "line": 57, + "column": 17 }, "end": { - "line": 53, - "column": 88 + "line": 57, + "column": 31 } }, "object": { "type": "ThisExpression", - "start": 1626, - "end": 1630, + "start": 1541, + "end": 1545, "loc": { "start": { - "line": 53, - "column": 74 + "line": 57, + "column": 17 }, "end": { - "line": 53, - "column": 78 + "line": 57, + "column": 21 } } }, "property": { "type": "Identifier", - "start": 1631, - "end": 1640, + "start": 1546, + "end": 1555, "loc": { "start": { - "line": 53, - "column": 79 + "line": 57, + "column": 22 }, "end": { - "line": 53, - "column": 88 + "line": 57, + "column": 31 }, "identifierName": "territory" }, @@ -1733,17 +1766,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch the mood station's metadata.\n *\n * @return {Promise}\n * @example api.moodStationFetcher.setMoodStationID('StGZp2ToWq92diPHS7').fetchMetadata()\n ", - "start": 1350, - "end": 1529, + "value": "*\n * Fetch the mood station's metadata.\n *\n * @return {Promise}\n * @example api.moodStationFetcher.setMoodStationID('StGZp2ToWq92diPHS7').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#moodstations-station_id\n ", + "start": 1192, + "end": 1439, "loc": { "start": { - "line": 46, - "column": 4 + "line": 48, + "column": 2 }, "end": { - "line": 51, - "column": 7 + "line": 54, + "column": 5 } } } @@ -1754,9 +1787,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Get mood stations.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/mood-stations\n ", - "start": 87, - "end": 190, + "value": "*\n * Get mood stations.\n * @see https://docs-en.kkbox.codes/v1.1/reference#mood-stations\n ", + "start": 91, + "end": 185, "loc": { "start": { "line": 4, @@ -1774,9 +1807,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Get mood stations.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/mood-stations\n ", - "start": 87, - "end": 190, + "value": "*\n * Get mood stations.\n * @see https://docs-en.kkbox.codes/v1.1/reference#mood-stations\n ", + "start": 91, + "end": 185, "loc": { "start": { "line": 4, @@ -1796,9 +1829,9 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * Get mood stations.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/mood-stations\n ", - "start": 87, - "end": 190, + "value": "*\n * Get mood stations.\n * @see https://docs-en.kkbox.codes/v1.1/reference#mood-stations\n ", + "start": 91, + "end": 185, "loc": { "start": { "line": 4, @@ -1812,81 +1845,81 @@ }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 253, - "end": 279, + "value": "*\n * @ignore\n ", + "start": 246, + "end": 268, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 362, - "end": 396, + "value": "*\n * @ignore\n ", + "start": 342, + "end": 368, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch all mood stations.\n *\n * @return {Promise}\n * @example api.moodStationFetcher.fetchAllMoodStations()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/mood-stations/endpoints/get-mood-stations\n ", - "start": 449, - "end": 692, + "value": "*\n * Fetch all mood stations.\n *\n * @return {Promise}\n * @example api.moodStationFetcher.fetchAllMoodStations();\n * @see https://docs-en.kkbox.codes/v1.1/reference#moodstations\n ", + "start": 412, + "end": 606, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 27, - "column": 7 + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Init the mood station fetcher.\n *\n * @param {string} mood_station_id - The ID of a mood station.\n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory of a mood station.\n * @return {MoodStation}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/mood-stations/endpoints/get-mood-stations-station_id\n ", - "start": 801, - "end": 1178, + "value": "*\n * Init the mood station fetcher.\n *\n * @param {string} moodStationID - The ID of a mood station.\n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory of a mood station.\n * @return {MoodStation}\n * @see https://docs-en.kkbox.codes/v1.1/reference#moodstations-station_id\n ", + "start": 718, + "end": 1041, "loc": { "start": { - "line": 32, - "column": 4 + "line": 34, + "column": 2 }, "end": { - "line": 39, - "column": 7 + "line": 41, + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch the mood station's metadata.\n *\n * @return {Promise}\n * @example api.moodStationFetcher.setMoodStationID('StGZp2ToWq92diPHS7').fetchMetadata()\n ", - "start": 1350, - "end": 1529, + "value": "*\n * Fetch the mood station's metadata.\n *\n * @return {Promise}\n * @example api.moodStationFetcher.setMoodStationID('StGZp2ToWq92diPHS7').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#moodstations-station_id\n ", + "start": 1192, + "end": 1439, "loc": { "start": { - "line": 46, - "column": 4 + "line": 48, + "column": 2 }, "end": { - "line": 51, - "column": 7 + "line": 54, + "column": 5 } } } @@ -1897,7 +1930,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1958,16 +1991,16 @@ "binop": null }, "value": "MOOD_STATIONS", - "start": 8, - "end": 21, + "start": 9, + "end": 22, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 21 + "column": 22 } } }, @@ -1984,16 +2017,16 @@ "binop": null }, "value": "as", - "start": 22, - "end": 24, + "start": 23, + "end": 25, "loc": { "start": { "line": 1, - "column": 22 + "column": 23 }, "end": { "line": 1, - "column": 24 + "column": 25 } } }, @@ -2010,16 +2043,16 @@ "binop": null }, "value": "ENDPOINT", - "start": 25, - "end": 33, + "start": 26, + "end": 34, "loc": { "start": { "line": 1, - "column": 25 + "column": 26 }, "end": { "line": 1, - "column": 33 + "column": 34 } } }, @@ -2035,16 +2068,16 @@ "postfix": false, "binop": null }, - "start": 33, - "end": 34, + "start": 35, + "end": 36, "loc": { "start": { "line": 1, - "column": 33 + "column": 35 }, "end": { "line": 1, - "column": 34 + "column": 36 } } }, @@ -2061,16 +2094,16 @@ "binop": null }, "value": "from", - "start": 35, - "end": 39, + "start": 37, + "end": 41, "loc": { "start": { "line": 1, - "column": 35 + "column": 37 }, "end": { "line": 1, - "column": 39 + "column": 41 } } }, @@ -2088,16 +2121,42 @@ "updateContext": null }, "value": "../Endpoint", - "start": 40, - "end": 53, + "start": 42, + "end": 55, "loc": { "start": { "line": 1, - "column": 40 + "column": 42 }, "end": { "line": 1, - "column": 53 + "column": 55 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 55, + "end": 56, + "loc": { + "start": { + "line": 1, + "column": 55 + }, + "end": { + "line": 1, + "column": 56 } } }, @@ -2106,7 +2165,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2116,8 +2175,8 @@ "updateContext": null }, "value": "import", - "start": 54, - "end": 60, + "start": 57, + "end": 63, "loc": { "start": { "line": 2, @@ -2142,8 +2201,8 @@ "binop": null }, "value": "Fetcher", - "start": 61, - "end": 68, + "start": 64, + "end": 71, "loc": { "start": { "line": 2, @@ -2168,8 +2227,8 @@ "binop": null }, "value": "from", - "start": 69, - "end": 73, + "start": 72, + "end": 76, "loc": { "start": { "line": 2, @@ -2195,8 +2254,8 @@ "updateContext": null }, "value": "./Fetcher", - "start": 74, - "end": 85, + "start": 77, + "end": 88, "loc": { "start": { "line": 2, @@ -2208,11 +2267,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 88, + "end": 89, + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 32 + } + } + }, { "type": "CommentBlock", - "value": "*\n * Get mood stations.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/mood-stations\n ", - "start": 87, - "end": 190, + "value": "*\n * Get mood stations.\n * @see https://docs-en.kkbox.codes/v1.1/reference#mood-stations\n ", + "start": 91, + "end": 185, "loc": { "start": { "line": 4, @@ -2239,8 +2324,8 @@ "updateContext": null }, "value": "export", - "start": 191, - "end": 197, + "start": 186, + "end": 192, "loc": { "start": { "line": 8, @@ -2267,8 +2352,8 @@ "updateContext": null }, "value": "default", - "start": 198, - "end": 205, + "start": 193, + "end": 200, "loc": { "start": { "line": 8, @@ -2295,8 +2380,8 @@ "updateContext": null }, "value": "class", - "start": 206, - "end": 211, + "start": 201, + "end": 206, "loc": { "start": { "line": 8, @@ -2321,8 +2406,8 @@ "binop": null }, "value": "MoodStationFetcher", - "start": 212, - "end": 230, + "start": 207, + "end": 225, "loc": { "start": { "line": 8, @@ -2349,8 +2434,8 @@ "updateContext": null }, "value": "extends", - "start": 231, - "end": 238, + "start": 226, + "end": 233, "loc": { "start": { "line": 8, @@ -2375,8 +2460,8 @@ "binop": null }, "value": "Fetcher", - "start": 239, - "end": 246, + "start": 234, + "end": 241, "loc": { "start": { "line": 8, @@ -2400,8 +2485,8 @@ "postfix": false, "binop": null }, - "start": 247, - "end": 248, + "start": 242, + "end": 243, "loc": { "start": { "line": 8, @@ -2415,17 +2500,17 @@ }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 253, - "end": 279, + "value": "*\n * @ignore\n ", + "start": 246, + "end": 268, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } }, @@ -2442,16 +2527,16 @@ "binop": null }, "value": "constructor", - "start": 284, - "end": 295, + "start": 271, + "end": 282, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 12, - "column": 15 + "column": 13 } } }, @@ -2467,16 +2552,16 @@ "postfix": false, "binop": null }, - "start": 295, - "end": 296, + "start": 282, + "end": 283, "loc": { "start": { "line": 12, - "column": 15 + "column": 13 }, "end": { "line": 12, - "column": 16 + "column": 14 } } }, @@ -2493,16 +2578,16 @@ "binop": null }, "value": "http", - "start": 296, - "end": 300, + "start": 283, + "end": 287, "loc": { "start": { "line": 12, - "column": 16 + "column": 14 }, "end": { "line": 12, - "column": 20 + "column": 18 } } }, @@ -2519,16 +2604,16 @@ "binop": null, "updateContext": null }, - "start": 300, - "end": 301, + "start": 287, + "end": 288, "loc": { "start": { "line": 12, - "column": 20 + "column": 18 }, "end": { "line": 12, - "column": 21 + "column": 19 } } }, @@ -2545,16 +2630,16 @@ "binop": null }, "value": "territory", - "start": 302, - "end": 311, + "start": 289, + "end": 298, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 31 + "column": 29 } } }, @@ -2572,16 +2657,16 @@ "updateContext": null }, "value": "=", - "start": 312, - "end": 313, + "start": 299, + "end": 300, "loc": { "start": { "line": 12, - "column": 32 + "column": 30 }, "end": { "line": 12, - "column": 33 + "column": 31 } } }, @@ -2599,16 +2684,16 @@ "updateContext": null }, "value": "TW", - "start": 314, - "end": 318, + "start": 301, + "end": 305, "loc": { "start": { "line": 12, - "column": 34 + "column": 32 }, "end": { "line": 12, - "column": 38 + "column": 36 } } }, @@ -2624,16 +2709,16 @@ "postfix": false, "binop": null }, - "start": 318, - "end": 319, + "start": 305, + "end": 306, "loc": { "start": { "line": 12, - "column": 38 + "column": 36 }, "end": { "line": 12, - "column": 39 + "column": 37 } } }, @@ -2649,16 +2734,16 @@ "postfix": false, "binop": null }, - "start": 320, - "end": 321, + "start": 307, + "end": 308, "loc": { "start": { "line": 12, - "column": 40 + "column": 38 }, "end": { "line": 12, - "column": 41 + "column": 39 } } }, @@ -2677,16 +2762,16 @@ "updateContext": null }, "value": "super", - "start": 330, - "end": 335, + "start": 313, + "end": 318, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 13 + "column": 9 } } }, @@ -2702,16 +2787,16 @@ "postfix": false, "binop": null }, - "start": 335, - "end": 336, + "start": 318, + "end": 319, "loc": { "start": { "line": 13, - "column": 13 + "column": 9 }, "end": { "line": 13, - "column": 14 + "column": 10 } } }, @@ -2728,16 +2813,16 @@ "binop": null }, "value": "http", - "start": 336, - "end": 340, + "start": 319, + "end": 323, "loc": { "start": { "line": 13, - "column": 14 + "column": 10 }, "end": { "line": 13, - "column": 18 + "column": 14 } } }, @@ -2754,16 +2839,16 @@ "binop": null, "updateContext": null }, - "start": 340, - "end": 341, + "start": 323, + "end": 324, "loc": { "start": { "line": 13, - "column": 18 + "column": 14 }, "end": { "line": 13, - "column": 19 + "column": 15 } } }, @@ -2780,16 +2865,16 @@ "binop": null }, "value": "territory", - "start": 342, - "end": 351, + "start": 325, + "end": 334, "loc": { "start": { "line": 13, - "column": 20 + "column": 16 }, "end": { "line": 13, - "column": 29 + "column": 25 } } }, @@ -2805,32 +2890,58 @@ "postfix": false, "binop": null }, - "start": 351, - "end": 352, + "start": 334, + "end": 335, "loc": { "start": { "line": 13, - "column": 29 + "column": 25 }, "end": { "line": 13, - "column": 30 + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 335, + "end": 336, + "loc": { + "start": { + "line": 13, + "column": 26 + }, + "end": { + "line": 13, + "column": 27 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 362, - "end": 396, + "value": "*\n * @ignore\n ", + "start": 342, + "end": 368, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } }, @@ -2849,16 +2960,16 @@ "updateContext": null }, "value": "this", - "start": 405, - "end": 409, + "start": 373, + "end": 377, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 12 + "column": 8 } } }, @@ -2875,16 +2986,16 @@ "binop": null, "updateContext": null }, - "start": 409, - "end": 410, + "start": 377, + "end": 378, "loc": { "start": { "line": 18, - "column": 12 + "column": 8 }, "end": { "line": 18, - "column": 13 + "column": 9 } } }, @@ -2900,17 +3011,17 @@ "postfix": false, "binop": null }, - "value": "mood_station_id", - "start": 410, - "end": 425, + "value": "moodStationID", + "start": 378, + "end": 391, "loc": { "start": { "line": 18, - "column": 13 + "column": 9 }, "end": { "line": 18, - "column": 28 + "column": 22 } } }, @@ -2928,16 +3039,16 @@ "updateContext": null }, "value": "=", - "start": 426, - "end": 427, + "start": 392, + "end": 393, "loc": { "start": { "line": 18, - "column": 29 + "column": 23 }, "end": { "line": 18, - "column": 30 + "column": 24 } } }, @@ -2954,16 +3065,42 @@ "binop": null }, "value": "undefined", - "start": 428, - "end": 437, + "start": 394, + "end": 403, "loc": { "start": { "line": 18, - "column": 31 + "column": 25 }, "end": { "line": 18, - "column": 40 + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 403, + "end": 404, + "loc": { + "start": { + "line": 18, + "column": 34 + }, + "end": { + "line": 18, + "column": 35 } } }, @@ -2979,32 +3116,32 @@ "postfix": false, "binop": null }, - "start": 442, - "end": 443, + "start": 407, + "end": 408, "loc": { "start": { "line": 19, - "column": 4 + "column": 2 }, "end": { "line": 19, - "column": 5 + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch all mood stations.\n *\n * @return {Promise}\n * @example api.moodStationFetcher.fetchAllMoodStations()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/mood-stations/endpoints/get-mood-stations\n ", - "start": 449, - "end": 692, + "value": "*\n * Fetch all mood stations.\n *\n * @return {Promise}\n * @example api.moodStationFetcher.fetchAllMoodStations();\n * @see https://docs-en.kkbox.codes/v1.1/reference#moodstations\n ", + "start": 412, + "end": 606, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 27, - "column": 7 + "column": 5 } } }, @@ -3021,16 +3158,16 @@ "binop": null }, "value": "fetchAllMoodStations", - "start": 697, - "end": 717, + "start": 609, + "end": 629, "loc": { "start": { "line": 28, - "column": 4 + "column": 2 }, "end": { "line": 28, - "column": 24 + "column": 22 } } }, @@ -3046,16 +3183,16 @@ "postfix": false, "binop": null }, - "start": 717, - "end": 718, + "start": 629, + "end": 630, "loc": { "start": { "line": 28, - "column": 24 + "column": 22 }, "end": { "line": 28, - "column": 25 + "column": 23 } } }, @@ -3071,16 +3208,16 @@ "postfix": false, "binop": null }, - "start": 718, - "end": 719, + "start": 630, + "end": 631, "loc": { "start": { "line": 28, - "column": 25 + "column": 23 }, "end": { "line": 28, - "column": 26 + "column": 24 } } }, @@ -3096,16 +3233,16 @@ "postfix": false, "binop": null }, - "start": 720, - "end": 721, + "start": 632, + "end": 633, "loc": { "start": { "line": 28, - "column": 27 + "column": 25 }, "end": { "line": 28, - "column": 28 + "column": 26 } } }, @@ -3124,16 +3261,16 @@ "updateContext": null }, "value": "return", - "start": 730, - "end": 736, + "start": 638, + "end": 644, "loc": { "start": { "line": 29, - "column": 8 + "column": 4 }, "end": { "line": 29, - "column": 14 + "column": 10 } } }, @@ -3152,16 +3289,16 @@ "updateContext": null }, "value": "this", - "start": 737, - "end": 741, + "start": 645, + "end": 649, "loc": { "start": { "line": 29, - "column": 15 + "column": 11 }, "end": { "line": 29, - "column": 19 + "column": 15 } } }, @@ -3178,16 +3315,16 @@ "binop": null, "updateContext": null }, - "start": 741, - "end": 742, + "start": 649, + "end": 650, "loc": { "start": { "line": 29, - "column": 19 + "column": 15 }, "end": { "line": 29, - "column": 20 + "column": 16 } } }, @@ -3204,16 +3341,16 @@ "binop": null }, "value": "http", - "start": 742, - "end": 746, + "start": 650, + "end": 654, "loc": { "start": { "line": 29, - "column": 20 + "column": 16 }, "end": { "line": 29, - "column": 24 + "column": 20 } } }, @@ -3230,16 +3367,16 @@ "binop": null, "updateContext": null }, - "start": 746, - "end": 747, + "start": 654, + "end": 655, "loc": { "start": { "line": 29, - "column": 24 + "column": 20 }, "end": { "line": 29, - "column": 25 + "column": 21 } } }, @@ -3256,16 +3393,16 @@ "binop": null }, "value": "get", - "start": 747, - "end": 750, + "start": 655, + "end": 658, "loc": { "start": { "line": 29, - "column": 25 + "column": 21 }, "end": { "line": 29, - "column": 28 + "column": 24 } } }, @@ -3281,16 +3418,16 @@ "postfix": false, "binop": null }, - "start": 750, - "end": 751, + "start": 658, + "end": 659, "loc": { "start": { "line": 29, - "column": 28 + "column": 24 }, "end": { "line": 29, - "column": 29 + "column": 25 } } }, @@ -3307,16 +3444,16 @@ "binop": null }, "value": "ENDPOINT", - "start": 751, - "end": 759, + "start": 659, + "end": 667, "loc": { "start": { "line": 29, - "column": 29 + "column": 25 }, "end": { "line": 29, - "column": 37 + "column": 33 } } }, @@ -3333,16 +3470,16 @@ "binop": null, "updateContext": null }, - "start": 759, - "end": 760, + "start": 667, + "end": 668, "loc": { "start": { "line": 29, - "column": 37 + "column": 33 }, "end": { "line": 29, - "column": 38 + "column": 34 } } }, @@ -3358,16 +3495,16 @@ "postfix": false, "binop": null }, - "start": 761, - "end": 762, + "start": 669, + "end": 670, "loc": { "start": { "line": 29, - "column": 39 + "column": 35 }, "end": { "line": 29, - "column": 40 + "column": 36 } } }, @@ -3384,16 +3521,16 @@ "binop": null }, "value": "territory", - "start": 762, - "end": 771, + "start": 677, + "end": 686, "loc": { "start": { - "line": 29, - "column": 40 + "line": 30, + "column": 6 }, "end": { - "line": 29, - "column": 49 + "line": 30, + "column": 15 } } }, @@ -3410,16 +3547,16 @@ "binop": null, "updateContext": null }, - "start": 771, - "end": 772, + "start": 686, + "end": 687, "loc": { "start": { - "line": 29, - "column": 49 + "line": 30, + "column": 15 }, "end": { - "line": 29, - "column": 50 + "line": 30, + "column": 16 } } }, @@ -3438,16 +3575,16 @@ "updateContext": null }, "value": "this", - "start": 773, - "end": 777, + "start": 688, + "end": 692, "loc": { "start": { - "line": 29, - "column": 51 + "line": 30, + "column": 17 }, "end": { - "line": 29, - "column": 55 + "line": 30, + "column": 21 } } }, @@ -3464,16 +3601,16 @@ "binop": null, "updateContext": null }, - "start": 777, - "end": 778, + "start": 692, + "end": 693, "loc": { "start": { - "line": 29, - "column": 55 + "line": 30, + "column": 21 }, "end": { - "line": 29, - "column": 56 + "line": 30, + "column": 22 } } }, @@ -3490,16 +3627,16 @@ "binop": null }, "value": "territory", - "start": 778, - "end": 787, + "start": 693, + "end": 702, "loc": { "start": { - "line": 29, - "column": 56 + "line": 30, + "column": 22 }, "end": { - "line": 29, - "column": 65 + "line": 30, + "column": 31 } } }, @@ -3515,16 +3652,16 @@ "postfix": false, "binop": null }, - "start": 787, - "end": 788, + "start": 707, + "end": 708, "loc": { "start": { - "line": 29, - "column": 65 + "line": 31, + "column": 4 }, "end": { - "line": 29, - "column": 66 + "line": 31, + "column": 5 } } }, @@ -3540,16 +3677,42 @@ "postfix": false, "binop": null }, - "start": 788, - "end": 789, + "start": 708, + "end": 709, "loc": { "start": { - "line": 29, - "column": 66 + "line": 31, + "column": 5 }, "end": { - "line": 29, - "column": 67 + "line": 31, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 709, + "end": 710, + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 31, + "column": 7 } } }, @@ -3565,32 +3728,32 @@ "postfix": false, "binop": null }, - "start": 794, - "end": 795, + "start": 713, + "end": 714, "loc": { "start": { - "line": 30, - "column": 4 + "line": 32, + "column": 2 }, "end": { - "line": 30, - "column": 5 + "line": 32, + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Init the mood station fetcher.\n *\n * @param {string} mood_station_id - The ID of a mood station.\n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory of a mood station.\n * @return {MoodStation}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/mood-stations/endpoints/get-mood-stations-station_id\n ", - "start": 801, - "end": 1178, + "value": "*\n * Init the mood station fetcher.\n *\n * @param {string} moodStationID - The ID of a mood station.\n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory of a mood station.\n * @return {MoodStation}\n * @see https://docs-en.kkbox.codes/v1.1/reference#moodstations-station_id\n ", + "start": 718, + "end": 1041, "loc": { "start": { - "line": 32, - "column": 4 + "line": 34, + "column": 2 }, "end": { - "line": 39, - "column": 7 + "line": 41, + "column": 5 } } }, @@ -3607,16 +3770,16 @@ "binop": null }, "value": "setMoodStationID", - "start": 1183, - "end": 1199, + "start": 1044, + "end": 1060, "loc": { "start": { - "line": 40, - "column": 4 + "line": 42, + "column": 2 }, "end": { - "line": 40, - "column": 20 + "line": 42, + "column": 18 } } }, @@ -3632,16 +3795,16 @@ "postfix": false, "binop": null }, - "start": 1199, - "end": 1200, + "start": 1060, + "end": 1061, "loc": { "start": { - "line": 40, - "column": 20 + "line": 42, + "column": 18 }, "end": { - "line": 40, - "column": 21 + "line": 42, + "column": 19 } } }, @@ -3657,17 +3820,17 @@ "postfix": false, "binop": null }, - "value": "mood_station_id", - "start": 1200, - "end": 1215, + "value": "moodStationID", + "start": 1061, + "end": 1074, "loc": { "start": { - "line": 40, - "column": 21 + "line": 42, + "column": 19 }, "end": { - "line": 40, - "column": 36 + "line": 42, + "column": 32 } } }, @@ -3684,16 +3847,16 @@ "binop": null, "updateContext": null }, - "start": 1215, - "end": 1216, + "start": 1074, + "end": 1075, "loc": { "start": { - "line": 40, - "column": 36 + "line": 42, + "column": 32 }, "end": { - "line": 40, - "column": 37 + "line": 42, + "column": 33 } } }, @@ -3710,16 +3873,16 @@ "binop": null }, "value": "territory", - "start": 1217, - "end": 1226, + "start": 1076, + "end": 1085, "loc": { "start": { - "line": 40, - "column": 38 + "line": 42, + "column": 34 }, "end": { - "line": 40, - "column": 47 + "line": 42, + "column": 43 } } }, @@ -3737,16 +3900,16 @@ "updateContext": null }, "value": "=", - "start": 1227, - "end": 1228, + "start": 1086, + "end": 1087, "loc": { "start": { - "line": 40, - "column": 48 + "line": 42, + "column": 44 }, "end": { - "line": 40, - "column": 49 + "line": 42, + "column": 45 } } }, @@ -3764,16 +3927,16 @@ "updateContext": null }, "value": "TW", - "start": 1229, - "end": 1233, + "start": 1088, + "end": 1092, "loc": { "start": { - "line": 40, - "column": 50 + "line": 42, + "column": 46 }, "end": { - "line": 40, - "column": 54 + "line": 42, + "column": 50 } } }, @@ -3789,16 +3952,16 @@ "postfix": false, "binop": null }, - "start": 1233, - "end": 1234, + "start": 1092, + "end": 1093, "loc": { "start": { - "line": 40, - "column": 54 + "line": 42, + "column": 50 }, "end": { - "line": 40, - "column": 55 + "line": 42, + "column": 51 } } }, @@ -3814,16 +3977,16 @@ "postfix": false, "binop": null }, - "start": 1235, - "end": 1236, + "start": 1094, + "end": 1095, "loc": { "start": { - "line": 40, - "column": 56 + "line": 42, + "column": 52 }, "end": { - "line": 40, - "column": 57 + "line": 42, + "column": 53 } } }, @@ -3842,16 +4005,16 @@ "updateContext": null }, "value": "this", - "start": 1245, - "end": 1249, + "start": 1100, + "end": 1104, "loc": { "start": { - "line": 41, - "column": 8 + "line": 43, + "column": 4 }, "end": { - "line": 41, - "column": 12 + "line": 43, + "column": 8 } } }, @@ -3868,16 +4031,16 @@ "binop": null, "updateContext": null }, - "start": 1249, - "end": 1250, + "start": 1104, + "end": 1105, "loc": { "start": { - "line": 41, - "column": 12 + "line": 43, + "column": 8 }, "end": { - "line": 41, - "column": 13 + "line": 43, + "column": 9 } } }, @@ -3893,17 +4056,17 @@ "postfix": false, "binop": null }, - "value": "mood_station_id", - "start": 1250, - "end": 1265, + "value": "moodStationID", + "start": 1105, + "end": 1118, "loc": { "start": { - "line": 41, - "column": 13 + "line": 43, + "column": 9 }, "end": { - "line": 41, - "column": 28 + "line": 43, + "column": 22 } } }, @@ -3921,16 +4084,16 @@ "updateContext": null }, "value": "=", - "start": 1266, - "end": 1267, + "start": 1119, + "end": 1120, "loc": { "start": { - "line": 41, - "column": 29 + "line": 43, + "column": 23 }, "end": { - "line": 41, - "column": 30 + "line": 43, + "column": 24 } } }, @@ -3946,17 +4109,43 @@ "postfix": false, "binop": null }, - "value": "mood_station_id", - "start": 1268, - "end": 1283, + "value": "moodStationID", + "start": 1121, + "end": 1134, "loc": { "start": { - "line": 41, - "column": 31 + "line": 43, + "column": 25 }, "end": { - "line": 41, - "column": 46 + "line": 43, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1134, + "end": 1135, + "loc": { + "start": { + "line": 43, + "column": 38 + }, + "end": { + "line": 43, + "column": 39 } } }, @@ -3975,16 +4164,16 @@ "updateContext": null }, "value": "this", - "start": 1292, - "end": 1296, + "start": 1140, + "end": 1144, "loc": { "start": { - "line": 42, - "column": 8 + "line": 44, + "column": 4 }, "end": { - "line": 42, - "column": 12 + "line": 44, + "column": 8 } } }, @@ -4001,16 +4190,16 @@ "binop": null, "updateContext": null }, - "start": 1296, - "end": 1297, + "start": 1144, + "end": 1145, "loc": { "start": { - "line": 42, - "column": 12 + "line": 44, + "column": 8 }, "end": { - "line": 42, - "column": 13 + "line": 44, + "column": 9 } } }, @@ -4027,16 +4216,16 @@ "binop": null }, "value": "territory", - "start": 1297, - "end": 1306, + "start": 1145, + "end": 1154, "loc": { "start": { - "line": 42, - "column": 13 + "line": 44, + "column": 9 }, "end": { - "line": 42, - "column": 22 + "line": 44, + "column": 18 } } }, @@ -4054,16 +4243,16 @@ "updateContext": null }, "value": "=", - "start": 1307, - "end": 1308, + "start": 1155, + "end": 1156, "loc": { "start": { - "line": 42, - "column": 23 + "line": 44, + "column": 19 }, "end": { - "line": 42, - "column": 24 + "line": 44, + "column": 20 } } }, @@ -4080,16 +4269,42 @@ "binop": null }, "value": "territory", - "start": 1309, - "end": 1318, + "start": 1157, + "end": 1166, "loc": { "start": { - "line": 42, - "column": 25 + "line": 44, + "column": 21 }, "end": { - "line": 42, - "column": 34 + "line": 44, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1166, + "end": 1167, + "loc": { + "start": { + "line": 44, + "column": 30 + }, + "end": { + "line": 44, + "column": 31 } } }, @@ -4108,16 +4323,16 @@ "updateContext": null }, "value": "return", - "start": 1327, - "end": 1333, + "start": 1172, + "end": 1178, "loc": { "start": { - "line": 43, - "column": 8 + "line": 45, + "column": 4 }, "end": { - "line": 43, - "column": 14 + "line": 45, + "column": 10 } } }, @@ -4136,16 +4351,42 @@ "updateContext": null }, "value": "this", - "start": 1334, - "end": 1338, + "start": 1179, + "end": 1183, "loc": { "start": { - "line": 43, + "line": 45, + "column": 11 + }, + "end": { + "line": 45, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1183, + "end": 1184, + "loc": { + "start": { + "line": 45, "column": 15 }, "end": { - "line": 43, - "column": 19 + "line": 45, + "column": 16 } } }, @@ -4161,32 +4402,32 @@ "postfix": false, "binop": null }, - "start": 1343, - "end": 1344, + "start": 1187, + "end": 1188, "loc": { "start": { - "line": 44, - "column": 4 + "line": 46, + "column": 2 }, "end": { - "line": 44, - "column": 5 + "line": 46, + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch the mood station's metadata.\n *\n * @return {Promise}\n * @example api.moodStationFetcher.setMoodStationID('StGZp2ToWq92diPHS7').fetchMetadata()\n ", - "start": 1350, - "end": 1529, + "value": "*\n * Fetch the mood station's metadata.\n *\n * @return {Promise}\n * @example api.moodStationFetcher.setMoodStationID('StGZp2ToWq92diPHS7').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#moodstations-station_id\n ", + "start": 1192, + "end": 1439, "loc": { "start": { - "line": 46, - "column": 4 + "line": 48, + "column": 2 }, "end": { - "line": 51, - "column": 7 + "line": 54, + "column": 5 } } }, @@ -4203,16 +4444,16 @@ "binop": null }, "value": "fetchMetadata", - "start": 1534, - "end": 1547, + "start": 1442, + "end": 1455, "loc": { "start": { - "line": 52, - "column": 4 + "line": 55, + "column": 2 }, "end": { - "line": 52, - "column": 17 + "line": 55, + "column": 15 } } }, @@ -4228,16 +4469,16 @@ "postfix": false, "binop": null }, - "start": 1547, - "end": 1548, + "start": 1455, + "end": 1456, "loc": { "start": { - "line": 52, - "column": 17 + "line": 55, + "column": 15 }, "end": { - "line": 52, - "column": 18 + "line": 55, + "column": 16 } } }, @@ -4253,16 +4494,16 @@ "postfix": false, "binop": null }, - "start": 1548, - "end": 1549, + "start": 1456, + "end": 1457, "loc": { "start": { - "line": 52, - "column": 18 + "line": 55, + "column": 16 }, "end": { - "line": 52, - "column": 19 + "line": 55, + "column": 17 } } }, @@ -4278,16 +4519,16 @@ "postfix": false, "binop": null }, - "start": 1550, - "end": 1551, + "start": 1458, + "end": 1459, "loc": { "start": { - "line": 52, - "column": 20 + "line": 55, + "column": 18 }, "end": { - "line": 52, - "column": 21 + "line": 55, + "column": 19 } } }, @@ -4306,16 +4547,16 @@ "updateContext": null }, "value": "return", - "start": 1560, - "end": 1566, + "start": 1464, + "end": 1470, "loc": { "start": { - "line": 53, - "column": 8 + "line": 56, + "column": 4 }, "end": { - "line": 53, - "column": 14 + "line": 56, + "column": 10 } } }, @@ -4334,16 +4575,16 @@ "updateContext": null }, "value": "this", - "start": 1567, - "end": 1571, + "start": 1471, + "end": 1475, "loc": { "start": { - "line": 53, - "column": 15 + "line": 56, + "column": 11 }, "end": { - "line": 53, - "column": 19 + "line": 56, + "column": 15 } } }, @@ -4360,16 +4601,16 @@ "binop": null, "updateContext": null }, - "start": 1571, - "end": 1572, + "start": 1475, + "end": 1476, "loc": { "start": { - "line": 53, - "column": 19 + "line": 56, + "column": 15 }, "end": { - "line": 53, - "column": 20 + "line": 56, + "column": 16 } } }, @@ -4386,16 +4627,16 @@ "binop": null }, "value": "http", - "start": 1572, - "end": 1576, + "start": 1476, + "end": 1480, "loc": { "start": { - "line": 53, - "column": 20 + "line": 56, + "column": 16 }, "end": { - "line": 53, - "column": 24 + "line": 56, + "column": 20 } } }, @@ -4412,16 +4653,16 @@ "binop": null, "updateContext": null }, - "start": 1576, - "end": 1577, + "start": 1480, + "end": 1481, "loc": { "start": { - "line": 53, - "column": 24 + "line": 56, + "column": 20 }, "end": { - "line": 53, - "column": 25 + "line": 56, + "column": 21 } } }, @@ -4438,16 +4679,16 @@ "binop": null }, "value": "get", - "start": 1577, - "end": 1580, + "start": 1481, + "end": 1484, "loc": { "start": { - "line": 53, - "column": 25 + "line": 56, + "column": 21 }, "end": { - "line": 53, - "column": 28 + "line": 56, + "column": 24 } } }, @@ -4463,16 +4704,16 @@ "postfix": false, "binop": null }, - "start": 1580, - "end": 1581, + "start": 1484, + "end": 1485, "loc": { "start": { - "line": 53, - "column": 28 + "line": 56, + "column": 24 }, "end": { - "line": 53, - "column": 29 + "line": 56, + "column": 25 } } }, @@ -4489,16 +4730,16 @@ "binop": null }, "value": "ENDPOINT", - "start": 1581, - "end": 1589, + "start": 1485, + "end": 1493, "loc": { "start": { - "line": 53, - "column": 29 + "line": 56, + "column": 25 }, "end": { - "line": 53, - "column": 37 + "line": 56, + "column": 33 } } }, @@ -4516,19 +4757,73 @@ "updateContext": null }, "value": "+", - "start": 1590, - "end": 1591, + "start": 1494, + "end": 1495, "loc": { "start": { - "line": 53, - "column": 38 + "line": 56, + "column": 34 + }, + "end": { + "line": 56, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "/", + "start": 1496, + "end": 1499, + "loc": { + "start": { + "line": 56, + "column": 36 }, "end": { - "line": 53, + "line": 56, "column": 39 } } }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 1500, + "end": 1501, + "loc": { + "start": { + "line": 56, + "column": 40 + }, + "end": { + "line": 56, + "column": 41 + } + } + }, { "type": { "label": "this", @@ -4544,16 +4839,16 @@ "updateContext": null }, "value": "this", - "start": 1592, - "end": 1596, + "start": 1502, + "end": 1506, "loc": { "start": { - "line": 53, - "column": 40 + "line": 56, + "column": 42 }, "end": { - "line": 53, - "column": 44 + "line": 56, + "column": 46 } } }, @@ -4570,16 +4865,16 @@ "binop": null, "updateContext": null }, - "start": 1596, - "end": 1597, + "start": 1506, + "end": 1507, "loc": { "start": { - "line": 53, - "column": 44 + "line": 56, + "column": 46 }, "end": { - "line": 53, - "column": 45 + "line": 56, + "column": 47 } } }, @@ -4595,16 +4890,16 @@ "postfix": false, "binop": null }, - "value": "mood_station_id", - "start": 1597, - "end": 1612, + "value": "moodStationID", + "start": 1507, + "end": 1520, "loc": { "start": { - "line": 53, - "column": 45 + "line": 56, + "column": 47 }, "end": { - "line": 53, + "line": 56, "column": 60 } } @@ -4622,15 +4917,15 @@ "binop": null, "updateContext": null }, - "start": 1612, - "end": 1613, + "start": 1520, + "end": 1521, "loc": { "start": { - "line": 53, + "line": 56, "column": 60 }, "end": { - "line": 53, + "line": 56, "column": 61 } } @@ -4647,15 +4942,15 @@ "postfix": false, "binop": null }, - "start": 1614, - "end": 1615, + "start": 1522, + "end": 1523, "loc": { "start": { - "line": 53, + "line": 56, "column": 62 }, "end": { - "line": 53, + "line": 56, "column": 63 } } @@ -4673,16 +4968,16 @@ "binop": null }, "value": "territory", - "start": 1615, - "end": 1624, + "start": 1530, + "end": 1539, "loc": { "start": { - "line": 53, - "column": 63 + "line": 57, + "column": 6 }, "end": { - "line": 53, - "column": 72 + "line": 57, + "column": 15 } } }, @@ -4699,16 +4994,16 @@ "binop": null, "updateContext": null }, - "start": 1624, - "end": 1625, + "start": 1539, + "end": 1540, "loc": { "start": { - "line": 53, - "column": 72 + "line": 57, + "column": 15 }, "end": { - "line": 53, - "column": 73 + "line": 57, + "column": 16 } } }, @@ -4727,16 +5022,16 @@ "updateContext": null }, "value": "this", - "start": 1626, - "end": 1630, + "start": 1541, + "end": 1545, "loc": { "start": { - "line": 53, - "column": 74 + "line": 57, + "column": 17 }, "end": { - "line": 53, - "column": 78 + "line": 57, + "column": 21 } } }, @@ -4753,16 +5048,16 @@ "binop": null, "updateContext": null }, - "start": 1630, - "end": 1631, + "start": 1545, + "end": 1546, "loc": { "start": { - "line": 53, - "column": 78 + "line": 57, + "column": 21 }, "end": { - "line": 53, - "column": 79 + "line": 57, + "column": 22 } } }, @@ -4779,16 +5074,16 @@ "binop": null }, "value": "territory", - "start": 1631, - "end": 1640, + "start": 1546, + "end": 1555, "loc": { "start": { - "line": 53, - "column": 79 + "line": 57, + "column": 22 }, "end": { - "line": 53, - "column": 88 + "line": 57, + "column": 31 } } }, @@ -4804,16 +5099,16 @@ "postfix": false, "binop": null }, - "start": 1640, - "end": 1641, + "start": 1560, + "end": 1561, "loc": { "start": { - "line": 53, - "column": 88 + "line": 58, + "column": 4 }, "end": { - "line": 53, - "column": 89 + "line": 58, + "column": 5 } } }, @@ -4829,16 +5124,42 @@ "postfix": false, "binop": null }, - "start": 1641, - "end": 1642, + "start": 1561, + "end": 1562, + "loc": { + "start": { + "line": 58, + "column": 5 + }, + "end": { + "line": 58, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1562, + "end": 1563, "loc": { "start": { - "line": 53, - "column": 89 + "line": 58, + "column": 6 }, "end": { - "line": 53, - "column": 90 + "line": 58, + "column": 7 } } }, @@ -4854,16 +5175,16 @@ "postfix": false, "binop": null }, - "start": 1647, - "end": 1648, + "start": 1566, + "end": 1567, "loc": { "start": { - "line": 54, - "column": 4 + "line": 59, + "column": 2 }, "end": { - "line": 54, - "column": 5 + "line": 59, + "column": 3 } } }, @@ -4879,15 +5200,15 @@ "postfix": false, "binop": null }, - "start": 1649, - "end": 1650, + "start": 1568, + "end": 1569, "loc": { "start": { - "line": 55, + "line": 60, "column": 0 }, "end": { - "line": 55, + "line": 60, "column": 1 } } @@ -4905,16 +5226,16 @@ "binop": null, "updateContext": null }, - "start": 1650, - "end": 1650, + "start": 1570, + "end": 1570, "loc": { "start": { - "line": 55, - "column": 1 + "line": 61, + "column": 0 }, "end": { - "line": 55, - "column": 1 + "line": 61, + "column": 0 } } } diff --git a/docs/ast/source/api/NewHitsPlaylistFetcher.js.json b/docs/ast/source/api/NewHitsPlaylistFetcher.js.json index 23f388f..be49491 100644 --- a/docs/ast/source/api/NewHitsPlaylistFetcher.js.json +++ b/docs/ast/source/api/NewHitsPlaylistFetcher.js.json @@ -1,29 +1,29 @@ { "type": "File", "start": 0, - "end": 1865, + "end": 2255, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 58, - "column": 1 + "line": 78, + "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 1865, + "end": 2255, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 58, - "column": 1 + "line": 78, + "column": 0 } }, "sourceType": "module", @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 58, + "end": 61, "loc": { "start": { "line": 1, @@ -39,36 +39,36 @@ }, "end": { "line": 1, - "column": 58 + "column": 61 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 8, - "end": 38, + "start": 9, + "end": 39, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 38 + "column": 39 } }, "imported": { "type": "Identifier", - "start": 8, - "end": 26, + "start": 9, + "end": 27, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 26 + "column": 27 }, "identifierName": "NEW_HITS_PLAYLISTS" }, @@ -76,16 +76,16 @@ }, "local": { "type": "Identifier", - "start": 30, - "end": 38, + "start": 31, + "end": 39, "loc": { "start": { "line": 1, - "column": 30 + "column": 31 }, "end": { "line": 1, - "column": 38 + "column": 39 }, "identifierName": "ENDPOINT" }, @@ -95,16 +95,16 @@ ], "source": { "type": "StringLiteral", - "start": 45, - "end": 58, + "start": 47, + "end": 60, "loc": { "start": { "line": 1, - "column": 45 + "column": 47 }, "end": { "line": 1, - "column": 58 + "column": 60 } }, "extra": { @@ -116,8 +116,8 @@ }, { "type": "ImportDeclaration", - "start": 59, - "end": 90, + "start": 62, + "end": 94, "loc": { "start": { "line": 2, @@ -125,14 +125,14 @@ }, "end": { "line": 2, - "column": 31 + "column": 32 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 66, - "end": 73, + "start": 69, + "end": 76, "loc": { "start": { "line": 2, @@ -145,8 +145,8 @@ }, "local": { "type": "Identifier", - "start": 66, - "end": 73, + "start": 69, + "end": 76, "loc": { "start": { "line": 2, @@ -164,8 +164,8 @@ ], "source": { "type": "StringLiteral", - "start": 79, - "end": 90, + "start": 82, + "end": 93, "loc": { "start": { "line": 2, @@ -180,16 +180,14 @@ "rawValue": "./Fetcher", "raw": "'./Fetcher'" }, - "value": "./Fetcher", - "leadingComments": null, - "trailingComments": null + "value": "./Fetcher" }, "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * List new hits playlists.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists\n ", - "start": 92, - "end": 206, + "value": "*\n * List new hits playlists.\n * @see https://docs-en.kkbox.codes/v1.1/reference#new-hits-playlists\n ", + "start": 96, + "end": 201, "loc": { "start": { "line": 4, @@ -205,36 +203,36 @@ }, { "type": "ExportDefaultDeclaration", - "start": 207, - "end": 1865, + "start": 202, + "end": 2254, "loc": { "start": { "line": 8, "column": 0 }, "end": { - "line": 58, + "line": 77, "column": 1 } }, "declaration": { "type": "ClassDeclaration", - "start": 222, - "end": 1865, + "start": 217, + "end": 2254, "loc": { "start": { "line": 8, "column": 15 }, "end": { - "line": 58, + "line": 77, "column": 1 } }, "id": { "type": "Identifier", - "start": 228, - "end": 250, + "start": 223, + "end": 245, "loc": { "start": { "line": 8, @@ -251,8 +249,8 @@ }, "superClass": { "type": "Identifier", - "start": 259, - "end": 266, + "start": 254, + "end": 261, "loc": { "start": { "line": 8, @@ -268,53 +266,53 @@ }, "body": { "type": "ClassBody", - "start": 267, - "end": 1865, + "start": 262, + "end": 2254, "loc": { "start": { "line": 8, "column": 60 }, "end": { - "line": 58, + "line": 77, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 304, - "end": 459, + "start": 291, + "end": 425, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 19, - "column": 5 + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 304, - "end": 315, + "start": 291, + "end": 302, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 12, - "column": 15 + "column": 13 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, - "static": false, "kind": "constructor", "id": null, "generator": false, @@ -323,16 +321,16 @@ "params": [ { "type": "Identifier", - "start": 316, - "end": 320, + "start": 303, + "end": 307, "loc": { "start": { "line": 12, - "column": 16 + "column": 14 }, "end": { "line": 12, - "column": 20 + "column": 18 }, "identifierName": "http" }, @@ -340,30 +338,30 @@ }, { "type": "AssignmentPattern", - "start": 322, - "end": 338, + "start": 309, + "end": 325, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 38 + "column": 36 } }, "left": { "type": "Identifier", - "start": 322, - "end": 331, + "start": 309, + "end": 318, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 31 + "column": 29 }, "identifierName": "territory" }, @@ -371,16 +369,16 @@ }, "right": { "type": "StringLiteral", - "start": 334, - "end": 338, + "start": 321, + "end": 325, "loc": { "start": { "line": 12, - "column": 34 + "column": 32 }, "end": { "line": 12, - "column": 38 + "column": 36 } }, "extra": { @@ -393,75 +391,75 @@ ], "body": { "type": "BlockStatement", - "start": 340, - "end": 459, + "start": 327, + "end": 425, "loc": { "start": { "line": 12, - "column": 40 + "column": 38 }, "end": { "line": 19, - "column": 5 + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 350, - "end": 372, + "start": 333, + "end": 356, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 30 + "column": 27 } }, "expression": { "type": "CallExpression", - "start": 350, - "end": 372, + "start": 333, + "end": 355, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 30 + "column": 26 } }, "callee": { "type": "Super", - "start": 350, - "end": 355, + "start": 333, + "end": 338, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 13 + "column": 9 } } }, "arguments": [ { "type": "Identifier", - "start": 356, - "end": 360, + "start": 339, + "end": 343, "loc": { "start": { "line": 13, - "column": 14 + "column": 10 }, "end": { "line": 13, - "column": 18 + "column": 14 }, "identifierName": "http" }, @@ -469,38 +467,37 @@ }, { "type": "Identifier", - "start": 362, - "end": 371, + "start": 345, + "end": 354, "loc": { "start": { "line": 13, - "column": 20 + "column": 16 }, "end": { "line": 13, - "column": 29 + "column": 25 }, "identifierName": "territory" }, "name": "territory" } - ], - "trailingComments": null + ] }, "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 382, - "end": 416, + "value": "*\n * @ignore\n ", + "start": 362, + "end": 388, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } } @@ -508,95 +505,95 @@ }, { "type": "ExpressionStatement", - "start": 425, - "end": 453, + "start": 393, + "end": 421, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 36 + "column": 32 } }, "expression": { "type": "AssignmentExpression", - "start": 425, - "end": 453, + "start": 393, + "end": 420, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 36 + "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 425, - "end": 441, + "start": 393, + "end": 408, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 24 + "column": 19 } }, "object": { "type": "ThisExpression", - "start": 425, - "end": 429, + "start": 393, + "end": 397, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 12 + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 430, - "end": 441, + "start": 398, + "end": 408, "loc": { "start": { "line": 18, - "column": 13 + "column": 9 }, "end": { "line": 18, - "column": 24 + "column": 19 }, - "identifierName": "playlist_id" + "identifierName": "playlistID" }, - "name": "playlist_id" + "name": "playlistID" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", - "start": 444, - "end": 453, + "start": 411, + "end": 420, "loc": { "start": { "line": 18, - "column": 27 + "column": 22 }, "end": { "line": 18, - "column": 36 + "column": 31 }, "identifierName": "undefined" }, @@ -607,17 +604,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 382, - "end": 416, + "value": "*\n * @ignore\n ", + "start": 362, + "end": 388, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } } @@ -630,17 +627,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 273, - "end": 299, + "value": "*\n * @ignore\n ", + "start": 266, + "end": 288, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } } @@ -648,17 +645,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch all new hits playlists.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newHitsPlaylistFetcher.fetchAllNewHitsPlaylists()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists/endpoints/get-new-hits-playlists\n ", - "start": 465, - "end": 856, + "value": "*\n * Fetch all new hits playlists.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newHitsPlaylistFetcher.fetchAllNewHitsPlaylists();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists\n ", + "start": 429, + "end": 761, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 29, - "column": 7 + "column": 5 } } } @@ -666,38 +663,38 @@ }, { "type": "ClassMethod", - "start": 861, - "end": 1022, + "start": 764, + "end": 910, "loc": { "start": { "line": 30, - "column": 4 + "column": 2 }, "end": { "line": 34, - "column": 5 + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 861, - "end": 885, + "start": 764, + "end": 788, "loc": { "start": { "line": 30, - "column": 4 + "column": 2 }, "end": { "line": 30, - "column": 28 + "column": 26 }, "identifierName": "fetchAllNewHitsPlaylists" }, "name": "fetchAllNewHitsPlaylists", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -706,30 +703,30 @@ "params": [ { "type": "AssignmentPattern", - "start": 886, - "end": 903, + "start": 789, + "end": 806, "loc": { "start": { "line": 30, - "column": 29 + "column": 27 }, "end": { "line": 30, - "column": 46 + "column": 44 } }, "left": { "type": "Identifier", - "start": 886, - "end": 891, + "start": 789, + "end": 794, "loc": { "start": { "line": 30, - "column": 29 + "column": 27 }, "end": { "line": 30, - "column": 34 + "column": 32 }, "identifierName": "limit" }, @@ -737,16 +734,16 @@ }, "right": { "type": "Identifier", - "start": 894, - "end": 903, + "start": 797, + "end": 806, "loc": { "start": { "line": 30, - "column": 37 + "column": 35 }, "end": { "line": 30, - "column": 46 + "column": 44 }, "identifierName": "undefined" }, @@ -755,30 +752,30 @@ }, { "type": "AssignmentPattern", - "start": 905, - "end": 923, + "start": 808, + "end": 826, "loc": { "start": { "line": 30, - "column": 48 + "column": 46 }, "end": { "line": 30, - "column": 66 + "column": 64 } }, "left": { "type": "Identifier", - "start": 905, - "end": 911, + "start": 808, + "end": 814, "loc": { "start": { "line": 30, - "column": 48 + "column": 46 }, "end": { "line": 30, - "column": 54 + "column": 52 }, "identifierName": "offset" }, @@ -786,16 +783,16 @@ }, "right": { "type": "Identifier", - "start": 914, - "end": 923, + "start": 817, + "end": 826, "loc": { "start": { "line": 30, - "column": 57 + "column": 55 }, "end": { "line": 30, - "column": 66 + "column": 64 }, "identifierName": "undefined" }, @@ -805,102 +802,102 @@ ], "body": { "type": "BlockStatement", - "start": 925, - "end": 1022, + "start": 828, + "end": 910, "loc": { "start": { "line": 30, - "column": 68 + "column": 66 }, "end": { "line": 34, - "column": 5 + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 935, - "end": 1016, + "start": 834, + "end": 906, "loc": { "start": { "line": 31, - "column": 8 + "column": 4 }, "end": { "line": 33, - "column": 10 + "column": 7 } }, "argument": { "type": "CallExpression", - "start": 942, - "end": 1016, + "start": 841, + "end": 905, "loc": { "start": { "line": 31, - "column": 15 + "column": 11 }, "end": { "line": 33, - "column": 10 + "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 942, - "end": 955, + "start": 841, + "end": 854, "loc": { "start": { "line": 31, - "column": 15 + "column": 11 }, "end": { "line": 31, - "column": 28 + "column": 24 } }, "object": { "type": "MemberExpression", - "start": 942, - "end": 951, + "start": 841, + "end": 850, "loc": { "start": { "line": 31, - "column": 15 + "column": 11 }, "end": { "line": 31, - "column": 24 + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 942, - "end": 946, + "start": 841, + "end": 845, "loc": { "start": { "line": 31, - "column": 15 + "column": 11 }, "end": { "line": 31, - "column": 19 + "column": 15 } } }, "property": { "type": "Identifier", - "start": 947, - "end": 951, + "start": 846, + "end": 850, "loc": { "start": { "line": 31, - "column": 20 + "column": 16 }, "end": { "line": 31, - "column": 24 + "column": 20 }, "identifierName": "http" }, @@ -910,16 +907,16 @@ }, "property": { "type": "Identifier", - "start": 952, - "end": 955, + "start": 851, + "end": 854, "loc": { "start": { "line": 31, - "column": 25 + "column": 21 }, "end": { "line": 31, - "column": 28 + "column": 24 }, "identifierName": "get" }, @@ -930,16 +927,16 @@ "arguments": [ { "type": "Identifier", - "start": 956, - "end": 964, + "start": 855, + "end": 863, "loc": { "start": { "line": 31, - "column": 29 + "column": 25 }, "end": { "line": 31, - "column": 37 + "column": 33 }, "identifierName": "ENDPOINT" }, @@ -947,31 +944,31 @@ }, { "type": "ObjectExpression", - "start": 966, - "end": 1015, + "start": 865, + "end": 904, "loc": { "start": { "line": 31, - "column": 39 + "column": 35 }, "end": { "line": 33, - "column": 9 + "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 980, - "end": 1005, + "start": 873, + "end": 898, "loc": { "start": { "line": 32, - "column": 12 + "column": 6 }, "end": { "line": 32, - "column": 37 + "column": 31 } }, "method": false, @@ -979,16 +976,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 980, - "end": 989, + "start": 873, + "end": 882, "loc": { "start": { "line": 32, - "column": 12 + "column": 6 }, "end": { "line": 32, - "column": 21 + "column": 15 }, "identifierName": "territory" }, @@ -996,45 +993,45 @@ }, "value": { "type": "MemberExpression", - "start": 991, - "end": 1005, + "start": 884, + "end": 898, "loc": { "start": { "line": 32, - "column": 23 + "column": 17 }, "end": { "line": 32, - "column": 37 + "column": 31 } }, "object": { "type": "ThisExpression", - "start": 991, - "end": 995, + "start": 884, + "end": 888, "loc": { "start": { "line": 32, - "column": 23 + "column": 17 }, "end": { "line": 32, - "column": 27 + "column": 21 } } }, "property": { "type": "Identifier", - "start": 996, - "end": 1005, + "start": 889, + "end": 898, "loc": { "start": { "line": 32, - "column": 28 + "column": 22 }, "end": { "line": 32, - "column": 37 + "column": 31 }, "identifierName": "territory" }, @@ -1055,17 +1052,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch all new hits playlists.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newHitsPlaylistFetcher.fetchAllNewHitsPlaylists()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists/endpoints/get-new-hits-playlists\n ", - "start": 465, - "end": 856, + "value": "*\n * Fetch all new hits playlists.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newHitsPlaylistFetcher.fetchAllNewHitsPlaylists();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists\n ", + "start": 429, + "end": 761, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 29, - "column": 7 + "column": 5 } } } @@ -1073,17 +1070,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Init the new hits playlist fetcher.\n *\n * @param {string} playlist_id - The playlist ID.\n * @return {NewHitsPlaylistFetcher}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists/endpoints/get-new-hits-playlists-playlist_id\n ", - "start": 1028, - "end": 1311, + "value": "*\n * Init the new hits playlist fetcher.\n *\n * @param {string} playlistID - The playlist ID.\n * @return {NewHitsPlaylistFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists-playlist_id\n ", + "start": 914, + "end": 1140, "loc": { "start": { "line": 36, - "column": 4 + "column": 2 }, "end": { "line": 42, - "column": 7 + "column": 5 } } } @@ -1091,38 +1088,38 @@ }, { "type": "ClassMethod", - "start": 1316, - "end": 1417, + "start": 1143, + "end": 1225, "loc": { "start": { "line": 43, - "column": 4 + "column": 2 }, "end": { "line": 46, - "column": 5 + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 1316, - "end": 1329, + "start": 1143, + "end": 1156, "loc": { "start": { "line": 43, - "column": 4 + "column": 2 }, "end": { "line": 43, - "column": 17 + "column": 15 }, "identifierName": "setPlaylistID" }, "name": "setPlaylistID", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -1131,159 +1128,159 @@ "params": [ { "type": "Identifier", - "start": 1330, - "end": 1341, + "start": 1157, + "end": 1167, "loc": { "start": { "line": 43, - "column": 18 + "column": 16 }, "end": { "line": 43, - "column": 29 + "column": 26 }, - "identifierName": "playlist_id" + "identifierName": "playlistID" }, - "name": "playlist_id" + "name": "playlistID" } ], "body": { "type": "BlockStatement", - "start": 1343, - "end": 1417, + "start": 1169, + "end": 1225, "loc": { "start": { "line": 43, - "column": 31 + "column": 28 }, "end": { "line": 46, - "column": 5 + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 1353, - "end": 1383, + "start": 1175, + "end": 1204, "loc": { "start": { "line": 44, - "column": 8 + "column": 4 }, "end": { "line": 44, - "column": 38 + "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 1353, - "end": 1383, + "start": 1175, + "end": 1203, "loc": { "start": { "line": 44, - "column": 8 + "column": 4 }, "end": { "line": 44, - "column": 38 + "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1353, - "end": 1369, + "start": 1175, + "end": 1190, "loc": { "start": { "line": 44, - "column": 8 + "column": 4 }, "end": { "line": 44, - "column": 24 + "column": 19 } }, "object": { "type": "ThisExpression", - "start": 1353, - "end": 1357, + "start": 1175, + "end": 1179, "loc": { "start": { "line": 44, - "column": 8 + "column": 4 }, "end": { "line": 44, - "column": 12 + "column": 8 } } }, "property": { "type": "Identifier", - "start": 1358, - "end": 1369, + "start": 1180, + "end": 1190, "loc": { "start": { "line": 44, - "column": 13 + "column": 9 }, "end": { "line": 44, - "column": 24 + "column": 19 }, - "identifierName": "playlist_id" + "identifierName": "playlistID" }, - "name": "playlist_id" + "name": "playlistID" }, "computed": false }, "right": { "type": "Identifier", - "start": 1372, - "end": 1383, + "start": 1193, + "end": 1203, "loc": { "start": { "line": 44, - "column": 27 + "column": 22 }, "end": { "line": 44, - "column": 38 + "column": 32 }, - "identifierName": "playlist_id" + "identifierName": "playlistID" }, - "name": "playlist_id" + "name": "playlistID" } } }, { "type": "ReturnStatement", - "start": 1400, - "end": 1411, + "start": 1209, + "end": 1221, "loc": { "start": { "line": 45, - "column": 8 + "column": 4 }, "end": { "line": 45, - "column": 19 + "column": 16 } }, "argument": { "type": "ThisExpression", - "start": 1407, - "end": 1411, + "start": 1216, + "end": 1220, "loc": { "start": { "line": 45, - "column": 15 + "column": 11 }, "end": { "line": 45, - "column": 19 + "column": 15 } } } @@ -1295,17 +1292,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Init the new hits playlist fetcher.\n *\n * @param {string} playlist_id - The playlist ID.\n * @return {NewHitsPlaylistFetcher}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists/endpoints/get-new-hits-playlists-playlist_id\n ", - "start": 1028, - "end": 1311, + "value": "*\n * Init the new hits playlist fetcher.\n *\n * @param {string} playlistID - The playlist ID.\n * @return {NewHitsPlaylistFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists-playlist_id\n ", + "start": 914, + "end": 1140, "loc": { "start": { "line": 36, - "column": 4 + "column": 2 }, "end": { "line": 42, - "column": 7 + "column": 5 } } } @@ -1313,17 +1310,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch metadata of the new release category you set.\n *\n * @return {Promise}\n * @example api.newHitsPlaylistFetcher.setPlaylistID('DZrC8m29ciOFY2JAm3').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists/endpoints/get-new-hits-playlists-playlist_id\n ", - "start": 1423, - "end": 1748, + "value": "*\n * Fetch metadata of the new hits playlist you set.\n *\n * @return {Promise}\n * @example api.newHitsPlaylistFetcher.setPlaylistID('DZrC8m29ciOFY2JAm3').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists-playlist_id\n ", + "start": 1229, + "end": 1496, "loc": { "start": { "line": 48, - "column": 4 + "column": 2 }, "end": { "line": 54, - "column": 7 + "column": 5 } } } @@ -1331,38 +1328,38 @@ }, { "type": "ClassMethod", - "start": 1753, - "end": 1863, + "start": 1499, + "end": 1621, "loc": { "start": { "line": 55, - "column": 4 + "column": 2 }, "end": { - "line": 57, - "column": 5 + "line": 59, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 1753, - "end": 1766, + "start": 1499, + "end": 1512, "loc": { "start": { "line": 55, - "column": 4 + "column": 2 }, "end": { "line": 55, - "column": 17 + "column": 15 }, "identifierName": "fetchMetadata" }, "name": "fetchMetadata", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -1371,102 +1368,102 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1769, - "end": 1863, + "start": 1515, + "end": 1621, "loc": { "start": { "line": 55, - "column": 20 + "column": 18 }, "end": { - "line": 57, - "column": 5 + "line": 59, + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 1779, - "end": 1857, + "start": 1521, + "end": 1617, "loc": { "start": { "line": 56, - "column": 8 + "column": 4 }, "end": { - "line": 56, - "column": 86 + "line": 58, + "column": 7 } }, "argument": { "type": "CallExpression", - "start": 1786, - "end": 1857, + "start": 1528, + "end": 1616, "loc": { "start": { "line": 56, - "column": 15 + "column": 11 }, "end": { - "line": 56, - "column": 86 + "line": 58, + "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 1786, - "end": 1799, + "start": 1528, + "end": 1541, "loc": { "start": { "line": 56, - "column": 15 + "column": 11 }, "end": { "line": 56, - "column": 28 + "column": 24 } }, "object": { "type": "MemberExpression", - "start": 1786, - "end": 1795, + "start": 1528, + "end": 1537, "loc": { "start": { "line": 56, - "column": 15 + "column": 11 }, "end": { "line": 56, - "column": 24 + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 1786, - "end": 1790, + "start": 1528, + "end": 1532, "loc": { "start": { "line": 56, - "column": 15 + "column": 11 }, "end": { "line": 56, - "column": 19 + "column": 15 } } }, "property": { "type": "Identifier", - "start": 1791, - "end": 1795, + "start": 1533, + "end": 1537, "loc": { "start": { "line": 56, - "column": 20 + "column": 16 }, "end": { "line": 56, - "column": 24 + "column": 20 }, "identifierName": "http" }, @@ -1476,16 +1473,16 @@ }, "property": { "type": "Identifier", - "start": 1796, - "end": 1799, + "start": 1538, + "end": 1541, "loc": { "start": { "line": 56, - "column": 25 + "column": 21 }, "end": { "line": 56, - "column": 28 + "column": 24 }, "identifierName": "get" }, @@ -1496,112 +1493,148 @@ "arguments": [ { "type": "BinaryExpression", - "start": 1800, - "end": 1827, + "start": 1542, + "end": 1574, "loc": { "start": { "line": 56, - "column": 29 + "column": 25 }, "end": { "line": 56, - "column": 56 + "column": 57 } }, "left": { - "type": "Identifier", - "start": 1800, - "end": 1808, + "type": "BinaryExpression", + "start": 1542, + "end": 1556, "loc": { "start": { "line": 56, - "column": 29 + "column": 25 }, "end": { "line": 56, - "column": 37 + "column": 39 + } + }, + "left": { + "type": "Identifier", + "start": 1542, + "end": 1550, + "loc": { + "start": { + "line": 56, + "column": 25 + }, + "end": { + "line": 56, + "column": 33 + }, + "identifierName": "ENDPOINT" }, - "identifierName": "ENDPOINT" + "name": "ENDPOINT" }, - "name": "ENDPOINT" + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 1553, + "end": 1556, + "loc": { + "start": { + "line": 56, + "column": 36 + }, + "end": { + "line": 56, + "column": 39 + } + }, + "extra": { + "rawValue": "/", + "raw": "'/'" + }, + "value": "/" + } }, "operator": "+", "right": { "type": "MemberExpression", - "start": 1811, - "end": 1827, + "start": 1559, + "end": 1574, "loc": { "start": { "line": 56, - "column": 40 + "column": 42 }, "end": { "line": 56, - "column": 56 + "column": 57 } }, "object": { "type": "ThisExpression", - "start": 1811, - "end": 1815, + "start": 1559, + "end": 1563, "loc": { "start": { "line": 56, - "column": 40 + "column": 42 }, "end": { "line": 56, - "column": 44 + "column": 46 } } }, "property": { "type": "Identifier", - "start": 1816, - "end": 1827, + "start": 1564, + "end": 1574, "loc": { "start": { "line": 56, - "column": 45 + "column": 47 }, "end": { "line": 56, - "column": 56 + "column": 57 }, - "identifierName": "playlist_id" + "identifierName": "playlistID" }, - "name": "playlist_id" + "name": "playlistID" }, "computed": false } }, { "type": "ObjectExpression", - "start": 1829, - "end": 1856, + "start": 1576, + "end": 1615, "loc": { "start": { "line": 56, - "column": 58 + "column": 59 }, "end": { - "line": 56, - "column": 85 + "line": 58, + "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 1830, - "end": 1855, + "start": 1584, + "end": 1609, "loc": { "start": { - "line": 56, - "column": 59 + "line": 57, + "column": 6 }, "end": { - "line": 56, - "column": 84 + "line": 57, + "column": 31 } }, "method": false, @@ -1609,16 +1642,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 1830, - "end": 1839, + "start": 1584, + "end": 1593, "loc": { "start": { - "line": 56, - "column": 59 + "line": 57, + "column": 6 }, "end": { - "line": 56, - "column": 68 + "line": 57, + "column": 15 }, "identifierName": "territory" }, @@ -1626,45 +1659,45 @@ }, "value": { "type": "MemberExpression", - "start": 1841, - "end": 1855, + "start": 1595, + "end": 1609, "loc": { "start": { - "line": 56, - "column": 70 + "line": 57, + "column": 17 }, "end": { - "line": 56, - "column": 84 + "line": 57, + "column": 31 } }, "object": { "type": "ThisExpression", - "start": 1841, - "end": 1845, + "start": 1595, + "end": 1599, "loc": { "start": { - "line": 56, - "column": 70 + "line": 57, + "column": 17 }, "end": { - "line": 56, - "column": 74 + "line": 57, + "column": 21 } } }, "property": { "type": "Identifier", - "start": 1846, - "end": 1855, + "start": 1600, + "end": 1609, "loc": { "start": { - "line": 56, - "column": 75 + "line": 57, + "column": 22 }, "end": { - "line": 56, - "column": 84 + "line": 57, + "column": 31 }, "identifierName": "territory" }, @@ -1679,202 +1712,2179 @@ } } ], - "directives": [] + "directives": [], + "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch metadata of the new release category you set.\n *\n * @return {Promise}\n * @example api.newHitsPlaylistFetcher.setPlaylistID('DZrC8m29ciOFY2JAm3').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists/endpoints/get-new-hits-playlists-playlist_id\n ", - "start": 1423, - "end": 1748, + "value": "*\n * Fetch metadata of the new hits playlist you set.\n *\n * @return {Promise}\n * @example api.newHitsPlaylistFetcher.setPlaylistID('DZrC8m29ciOFY2JAm3').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists-playlist_id\n ", + "start": 1229, + "end": 1496, "loc": { "start": { "line": 48, - "column": 4 + "column": 2 }, "end": { "line": 54, - "column": 7 + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Fetch tracks of the new hits playlist you set. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newHitsPlaylistFetcher.setPlaylistID('DZrC8m29ciOFY2JAm3').fetchTracks();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists-playlist_id-tracks\n ", + "start": 1625, + "end": 2038, + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 69, + "column": 5 } } } ] - } - ] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * List new hits playlists.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists\n ", - "start": 92, - "end": 206, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 7, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * List new hits playlists.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists\n ", - "start": 92, - "end": 206, - "loc": { - "start": { - "line": 4, - "column": 0 }, - "end": { - "line": 7, - "column": 3 - } - } - } - ] - } - ], - "directives": [] - }, - "comments": [ - { - "type": "CommentBlock", - "value": "*\n * List new hits playlists.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists\n ", - "start": 92, - "end": 206, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 7, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 273, - "end": 299, - "loc": { - "start": { - "line": 9, - "column": 4 - }, - "end": { - "line": 11, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 382, - "end": 416, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 17, - "column": 11 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Fetch all new hits playlists.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newHitsPlaylistFetcher.fetchAllNewHitsPlaylists()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists/endpoints/get-new-hits-playlists\n ", - "start": 465, - "end": 856, - "loc": { - "start": { - "line": 21, - "column": 4 - }, - "end": { - "line": 29, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Init the new hits playlist fetcher.\n *\n * @param {string} playlist_id - The playlist ID.\n * @return {NewHitsPlaylistFetcher}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists/endpoints/get-new-hits-playlists-playlist_id\n ", - "start": 1028, - "end": 1311, - "loc": { - "start": { - "line": 36, - "column": 4 - }, - "end": { - "line": 42, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Fetch metadata of the new release category you set.\n *\n * @return {Promise}\n * @example api.newHitsPlaylistFetcher.setPlaylistID('DZrC8m29ciOFY2JAm3').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists/endpoints/get-new-hits-playlists-playlist_id\n ", - "start": 1423, - "end": 1748, - "loc": { - "start": { - "line": 48, - "column": 4 - }, - "end": { - "line": 54, - "column": 7 - } - } - } - ], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { + { + "type": "ClassMethod", + "start": 2041, + "end": 2252, + "loc": { + "start": { + "line": 70, + "column": 2 + }, + "end": { + "line": 76, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2041, + "end": 2052, + "loc": { + "start": { + "line": 70, + "column": 2 + }, + "end": { + "line": 70, + "column": 13 + }, + "identifierName": "fetchTracks" + }, + "name": "fetchTracks", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "AssignmentPattern", + "start": 2053, + "end": 2070, + "loc": { + "start": { + "line": 70, + "column": 14 + }, + "end": { + "line": 70, + "column": 31 + } + }, + "left": { + "type": "Identifier", + "start": 2053, + "end": 2058, + "loc": { + "start": { + "line": 70, + "column": 14 + }, + "end": { + "line": 70, + "column": 19 + }, + "identifierName": "limit" + }, + "name": "limit" + }, + "right": { + "type": "Identifier", + "start": 2061, + "end": 2070, + "loc": { + "start": { + "line": 70, + "column": 22 + }, + "end": { + "line": 70, + "column": 31 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } + }, + { + "type": "AssignmentPattern", + "start": 2072, + "end": 2090, + "loc": { + "start": { + "line": 70, + "column": 33 + }, + "end": { + "line": 70, + "column": 51 + } + }, + "left": { + "type": "Identifier", + "start": 2072, + "end": 2078, + "loc": { + "start": { + "line": 70, + "column": 33 + }, + "end": { + "line": 70, + "column": 39 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "right": { + "type": "Identifier", + "start": 2081, + "end": 2090, + "loc": { + "start": { + "line": 70, + "column": 42 + }, + "end": { + "line": 70, + "column": 51 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 2092, + "end": 2252, + "loc": { + "start": { + "line": 70, + "column": 53 + }, + "end": { + "line": 76, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2098, + "end": 2248, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 75, + "column": 7 + } + }, + "argument": { + "type": "CallExpression", + "start": 2105, + "end": 2247, + "loc": { + "start": { + "line": 71, + "column": 11 + }, + "end": { + "line": 75, + "column": 6 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2105, + "end": 2118, + "loc": { + "start": { + "line": 71, + "column": 11 + }, + "end": { + "line": 71, + "column": 24 + } + }, + "object": { + "type": "MemberExpression", + "start": 2105, + "end": 2114, + "loc": { + "start": { + "line": 71, + "column": 11 + }, + "end": { + "line": 71, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 2105, + "end": 2109, + "loc": { + "start": { + "line": 71, + "column": 11 + }, + "end": { + "line": 71, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 2110, + "end": 2114, + "loc": { + "start": { + "line": 71, + "column": 16 + }, + "end": { + "line": 71, + "column": 20 + }, + "identifierName": "http" + }, + "name": "http" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2115, + "end": 2118, + "loc": { + "start": { + "line": 71, + "column": 21 + }, + "end": { + "line": 71, + "column": 24 + }, + "identifierName": "get" + }, + "name": "get" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 2119, + "end": 2163, + "loc": { + "start": { + "line": 71, + "column": 25 + }, + "end": { + "line": 71, + "column": 69 + } + }, + "left": { + "type": "BinaryExpression", + "start": 2119, + "end": 2151, + "loc": { + "start": { + "line": 71, + "column": 25 + }, + "end": { + "line": 71, + "column": 57 + } + }, + "left": { + "type": "BinaryExpression", + "start": 2119, + "end": 2133, + "loc": { + "start": { + "line": 71, + "column": 25 + }, + "end": { + "line": 71, + "column": 39 + } + }, + "left": { + "type": "Identifier", + "start": 2119, + "end": 2127, + "loc": { + "start": { + "line": 71, + "column": 25 + }, + "end": { + "line": 71, + "column": 33 + }, + "identifierName": "ENDPOINT" + }, + "name": "ENDPOINT" + }, + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 2130, + "end": 2133, + "loc": { + "start": { + "line": 71, + "column": 36 + }, + "end": { + "line": 71, + "column": 39 + } + }, + "extra": { + "rawValue": "/", + "raw": "'/'" + }, + "value": "/" + } + }, + "operator": "+", + "right": { + "type": "MemberExpression", + "start": 2136, + "end": 2151, + "loc": { + "start": { + "line": 71, + "column": 42 + }, + "end": { + "line": 71, + "column": 57 + } + }, + "object": { + "type": "ThisExpression", + "start": 2136, + "end": 2140, + "loc": { + "start": { + "line": 71, + "column": 42 + }, + "end": { + "line": 71, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "start": 2141, + "end": 2151, + "loc": { + "start": { + "line": 71, + "column": 47 + }, + "end": { + "line": 71, + "column": 57 + }, + "identifierName": "playlistID" + }, + "name": "playlistID" + }, + "computed": false + } + }, + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 2154, + "end": 2163, + "loc": { + "start": { + "line": 71, + "column": 60 + }, + "end": { + "line": 71, + "column": 69 + } + }, + "extra": { + "rawValue": "/tracks", + "raw": "'/tracks'" + }, + "value": "/tracks" + } + }, + { + "type": "ObjectExpression", + "start": 2165, + "end": 2246, + "loc": { + "start": { + "line": 71, + "column": 71 + }, + "end": { + "line": 75, + "column": 5 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 2173, + "end": 2198, + "loc": { + "start": { + "line": 72, + "column": 6 + }, + "end": { + "line": 72, + "column": 31 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2173, + "end": 2182, + "loc": { + "start": { + "line": 72, + "column": 6 + }, + "end": { + "line": 72, + "column": 15 + }, + "identifierName": "territory" + }, + "name": "territory" + }, + "value": { + "type": "MemberExpression", + "start": 2184, + "end": 2198, + "loc": { + "start": { + "line": 72, + "column": 17 + }, + "end": { + "line": 72, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 2184, + "end": 2188, + "loc": { + "start": { + "line": 72, + "column": 17 + }, + "end": { + "line": 72, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "start": 2189, + "end": 2198, + "loc": { + "start": { + "line": 72, + "column": 22 + }, + "end": { + "line": 72, + "column": 31 + }, + "identifierName": "territory" + }, + "name": "territory" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 2206, + "end": 2218, + "loc": { + "start": { + "line": 73, + "column": 6 + }, + "end": { + "line": 73, + "column": 18 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2206, + "end": 2211, + "loc": { + "start": { + "line": 73, + "column": 6 + }, + "end": { + "line": 73, + "column": 11 + }, + "identifierName": "limit" + }, + "name": "limit" + }, + "value": { + "type": "Identifier", + "start": 2213, + "end": 2218, + "loc": { + "start": { + "line": 73, + "column": 13 + }, + "end": { + "line": 73, + "column": 18 + }, + "identifierName": "limit" + }, + "name": "limit" + } + }, + { + "type": "ObjectProperty", + "start": 2226, + "end": 2240, + "loc": { + "start": { + "line": 74, + "column": 6 + }, + "end": { + "line": 74, + "column": 20 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2226, + "end": 2232, + "loc": { + "start": { + "line": 74, + "column": 6 + }, + "end": { + "line": 74, + "column": 12 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "value": { + "type": "Identifier", + "start": 2234, + "end": 2240, + "loc": { + "start": { + "line": 74, + "column": 14 + }, + "end": { + "line": 74, + "column": 20 + }, + "identifierName": "offset" + }, + "name": "offset" + } + } + ] + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Fetch tracks of the new hits playlist you set. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newHitsPlaylistFetcher.setPlaylistID('DZrC8m29ciOFY2JAm3').fetchTracks();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists-playlist_id-tracks\n ", + "start": 1625, + "end": 2038, + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 69, + "column": 5 + } + } + } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * List new hits playlists.\n * @see https://docs-en.kkbox.codes/v1.1/reference#new-hits-playlists\n ", + "start": 96, + "end": 201, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * List new hits playlists.\n * @see https://docs-en.kkbox.codes/v1.1/reference#new-hits-playlists\n ", + "start": 96, + "end": 201, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * List new hits playlists.\n * @see https://docs-en.kkbox.codes/v1.1/reference#new-hits-playlists\n ", + "start": 96, + "end": 201, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @ignore\n ", + "start": 266, + "end": 288, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 11, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @ignore\n ", + "start": 362, + "end": 388, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Fetch all new hits playlists.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newHitsPlaylistFetcher.fetchAllNewHitsPlaylists();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists\n ", + "start": 429, + "end": 761, + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 29, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Init the new hits playlist fetcher.\n *\n * @param {string} playlistID - The playlist ID.\n * @return {NewHitsPlaylistFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists-playlist_id\n ", + "start": 914, + "end": 1140, + "loc": { + "start": { + "line": 36, + "column": 2 + }, + "end": { + "line": 42, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Fetch metadata of the new hits playlist you set.\n *\n * @return {Promise}\n * @example api.newHitsPlaylistFetcher.setPlaylistID('DZrC8m29ciOFY2JAm3').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists-playlist_id\n ", + "start": 1229, + "end": 1496, + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 54, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Fetch tracks of the new hits playlist you set. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newHitsPlaylistFetcher.setPlaylistID('DZrC8m29ciOFY2JAm3').fetchTracks();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists-playlist_id-tracks\n ", + "start": 1625, + "end": 2038, + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 69, + "column": 5 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "NEW_HITS_PLAYLISTS", + "start": 9, + "end": 27, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "as", + "start": 28, + "end": 30, + "loc": { + "start": { + "line": 1, + "column": 28 + }, + "end": { + "line": 1, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ENDPOINT", + "start": 31, + "end": 39, + "loc": { + "start": { + "line": 1, + "column": 31 + }, + "end": { + "line": 1, + "column": 39 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 40, + "end": 41, + "loc": { + "start": { + "line": 1, + "column": 40 + }, + "end": { + "line": 1, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 42, + "end": 46, + "loc": { + "start": { + "line": 1, + "column": 42 + }, + "end": { + "line": 1, + "column": 46 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../Endpoint", + "start": 47, + "end": 60, + "loc": { + "start": { + "line": 1, + "column": 47 + }, + "end": { + "line": 1, + "column": 60 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 60, + "end": 61, + "loc": { + "start": { + "line": 1, + "column": 60 + }, + "end": { "line": 1, + "column": 61 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 62, + "end": 68, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Fetcher", + "start": 69, + "end": 76, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 77, + "end": 81, + "loc": { + "start": { + "line": 2, + "column": 15 + }, + "end": { + "line": 2, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./Fetcher", + "start": 82, + "end": 93, + "loc": { + "start": { + "line": 2, + "column": 20 + }, + "end": { + "line": 2, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 93, + "end": 94, + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 32 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * List new hits playlists.\n * @see https://docs-en.kkbox.codes/v1.1/reference#new-hits-playlists\n ", + "start": 96, + "end": 201, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 202, + "end": 208, + "loc": { + "start": { + "line": 8, "column": 0 }, "end": { - "line": 1, - "column": 6 + "line": 8, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 209, + "end": 216, + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 14 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 217, + "end": 222, + "loc": { + "start": { + "line": 8, + "column": 15 + }, + "end": { + "line": 8, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "NewHitsPlaylistFetcher", + "start": 223, + "end": 245, + "loc": { + "start": { + "line": 8, + "column": 21 + }, + "end": { + "line": 8, + "column": 43 + } + } + }, + { + "type": { + "label": "extends", + "keyword": "extends", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "extends", + "start": 246, + "end": 253, + "loc": { + "start": { + "line": 8, + "column": 44 + }, + "end": { + "line": 8, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Fetcher", + "start": 254, + "end": 261, + "loc": { + "start": { + "line": 8, + "column": 52 + }, + "end": { + "line": 8, + "column": 59 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 262, + "end": 263, + "loc": { + "start": { + "line": 8, + "column": 60 + }, + "end": { + "line": 8, + "column": 61 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @ignore\n ", + "start": 266, + "end": 288, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 11, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 291, + "end": 302, + "loc": { + "start": { + "line": 12, + "column": 2 + }, + "end": { + "line": 12, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 302, + "end": 303, + "loc": { + "start": { + "line": 12, + "column": 13 + }, + "end": { + "line": 12, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "http", + "start": 303, + "end": 307, + "loc": { + "start": { + "line": 12, + "column": 14 + }, + "end": { + "line": 12, + "column": 18 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 307, + "end": 308, + "loc": { + "start": { + "line": 12, + "column": 18 + }, + "end": { + "line": 12, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "territory", + "start": 309, + "end": 318, + "loc": { + "start": { + "line": 12, + "column": 20 + }, + "end": { + "line": 12, + "column": 29 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 319, + "end": 320, + "loc": { + "start": { + "line": 12, + "column": 30 + }, + "end": { + "line": 12, + "column": 31 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "TW", + "start": 321, + "end": 325, + "loc": { + "start": { + "line": 12, + "column": 32 + }, + "end": { + "line": 12, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 325, + "end": 326, + "loc": { + "start": { + "line": 12, + "column": 36 + }, + "end": { + "line": 12, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 327, + "end": 328, + "loc": { + "start": { + "line": 12, + "column": 38 + }, + "end": { + "line": 12, + "column": 39 + } + } + }, + { + "type": { + "label": "super", + "keyword": "super", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "super", + "start": 333, + "end": 338, + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 13, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 338, + "end": 339, + "loc": { + "start": { + "line": 13, + "column": 9 + }, + "end": { + "line": 13, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "http", + "start": 339, + "end": 343, + "loc": { + "start": { + "line": 13, + "column": 10 + }, + "end": { + "line": 13, + "column": 14 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 343, + "end": 344, + "loc": { + "start": { + "line": 13, + "column": 14 + }, + "end": { + "line": 13, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "territory", + "start": 345, + "end": 354, + "loc": { + "start": { + "line": 13, + "column": 16 + }, + "end": { + "line": 13, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 354, + "end": 355, + "loc": { + "start": { + "line": 13, + "column": 25 + }, + "end": { + "line": 13, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 355, + "end": 356, + "loc": { + "start": { + "line": 13, + "column": 26 + }, + "end": { + "line": 13, + "column": 27 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @ignore\n ", + "start": 362, + "end": 388, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 393, + "end": 397, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 397, + "end": 398, + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "playlistID", + "start": 398, + "end": 408, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 409, + "end": 410, + "loc": { + "start": { + "line": 18, + "column": 20 + }, + "end": { + "line": 18, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "undefined", + "start": 411, + "end": 420, + "loc": { + "start": { + "line": 18, + "column": 22 + }, + "end": { + "line": 18, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 420, + "end": 421, + "loc": { + "start": { + "line": 18, + "column": 31 + }, + "end": { + "line": 18, + "column": 32 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 424, + "end": 425, + "loc": { + "start": { + "line": 19, + "column": 2 + }, + "end": { + "line": 19, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Fetch all new hits playlists.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newHitsPlaylistFetcher.fetchAllNewHitsPlaylists();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists\n ", + "start": 429, + "end": 761, + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 29, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchAllNewHitsPlaylists", + "start": 764, + "end": 788, + "loc": { + "start": { + "line": 30, + "column": 2 + }, + "end": { + "line": 30, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 788, + "end": 789, + "loc": { + "start": { + "line": 30, + "column": 26 + }, + "end": { + "line": 30, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "limit", + "start": 789, + "end": 794, + "loc": { + "start": { + "line": 30, + "column": 27 + }, + "end": { + "line": 30, + "column": 32 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 795, + "end": 796, + "loc": { + "start": { + "line": 30, + "column": 33 + }, + "end": { + "line": 30, + "column": 34 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1883,42 +3893,43 @@ "postfix": false, "binop": null }, - "start": 7, - "end": 8, + "value": "undefined", + "start": 797, + "end": 806, "loc": { "start": { - "line": 1, - "column": 7 + "line": 30, + "column": 35 }, "end": { - "line": 1, - "column": 8 + "line": 30, + "column": 44 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "NEW_HITS_PLAYLISTS", - "start": 8, - "end": 26, + "start": 806, + "end": 807, "loc": { "start": { - "line": 1, - "column": 8 + "line": 30, + "column": 44 }, "end": { - "line": 1, - "column": 26 + "line": 30, + "column": 45 } } }, @@ -1934,17 +3945,44 @@ "postfix": false, "binop": null }, - "value": "as", - "start": 27, - "end": 29, + "value": "offset", + "start": 808, + "end": 814, "loc": { "start": { - "line": 1, - "column": 27 + "line": 30, + "column": 46 }, "end": { - "line": 1, - "column": 29 + "line": 30, + "column": 52 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 815, + "end": 816, + "loc": { + "start": { + "line": 30, + "column": 53 + }, + "end": { + "line": 30, + "column": 54 } } }, @@ -1960,23 +3998,23 @@ "postfix": false, "binop": null }, - "value": "ENDPOINT", - "start": 30, - "end": 38, + "value": "undefined", + "start": 817, + "end": 826, "loc": { "start": { - "line": 1, - "column": 30 + "line": 30, + "column": 55 }, "end": { - "line": 1, - "column": 38 + "line": 30, + "column": 64 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1986,23 +4024,23 @@ "postfix": false, "binop": null }, - "start": 38, - "end": 39, + "start": 826, + "end": 827, "loc": { "start": { - "line": 1, - "column": 38 + "line": 30, + "column": 64 }, "end": { - "line": 1, - "column": 39 + "line": 30, + "column": 65 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -2011,23 +4049,51 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 40, - "end": 44, + "start": 828, + "end": 829, "loc": { "start": { - "line": 1, - "column": 40 + "line": 30, + "column": 66 }, "end": { - "line": 1, - "column": 44 + "line": 30, + "column": 67 } } }, { "type": { - "label": "string", + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 834, + "end": 840, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 31, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2038,24 +4104,23 @@ "binop": null, "updateContext": null }, - "value": "../Endpoint", - "start": 45, - "end": 58, + "value": "this", + "start": 841, + "end": 845, "loc": { "start": { - "line": 1, - "column": 45 + "line": 31, + "column": 11 }, "end": { - "line": 1, - "column": 58 + "line": 31, + "column": 15 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -2066,17 +4131,16 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 59, - "end": 65, + "start": 845, + "end": 846, "loc": { "start": { - "line": 2, - "column": 0 + "line": 31, + "column": 15 }, "end": { - "line": 2, - "column": 6 + "line": 31, + "column": 16 } } }, @@ -2092,49 +4156,49 @@ "postfix": false, "binop": null }, - "value": "Fetcher", - "start": 66, - "end": 73, + "value": "http", + "start": 846, + "end": 850, "loc": { "start": { - "line": 2, - "column": 7 + "line": 31, + "column": 16 }, "end": { - "line": 2, - "column": 14 + "line": 31, + "column": 20 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "from", - "start": 74, - "end": 78, + "start": 850, + "end": 851, "loc": { "start": { - "line": 2, - "column": 15 + "line": 31, + "column": 20 }, "end": { - "line": 2, - "column": 19 + "line": 31, + "column": 21 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2142,71 +4206,76 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./Fetcher", - "start": 79, - "end": 90, + "value": "get", + "start": 851, + "end": 854, "loc": { "start": { - "line": 2, - "column": 20 + "line": 31, + "column": 21 }, "end": { - "line": 2, - "column": 31 + "line": 31, + "column": 24 } } }, { - "type": "CommentBlock", - "value": "*\n * List new hits playlists.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists\n ", - "start": 92, - "end": 206, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 854, + "end": 855, "loc": { "start": { - "line": 4, - "column": 0 + "line": 31, + "column": 24 }, "end": { - "line": 7, - "column": 3 + "line": 31, + "column": 25 } } }, { "type": { - "label": "export", - "keyword": "export", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "export", - "start": 207, - "end": 213, + "value": "ENDPOINT", + "start": 855, + "end": 863, "loc": { "start": { - "line": 8, - "column": 0 + "line": 31, + "column": 25 }, "end": { - "line": 8, - "column": 6 + "line": 31, + "column": 33 } } }, { "type": { - "label": "default", - "keyword": "default", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -2217,45 +4286,41 @@ "binop": null, "updateContext": null }, - "value": "default", - "start": 214, - "end": 221, + "start": 863, + "end": 864, "loc": { "start": { - "line": 8, - "column": 7 + "line": 31, + "column": 33 }, "end": { - "line": 8, - "column": 14 + "line": 31, + "column": 34 } } }, { "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "class", - "start": 222, - "end": 227, + "start": 865, + "end": 866, "loc": { "start": { - "line": 8, - "column": 15 + "line": 31, + "column": 35 }, "end": { - "line": 8, - "column": 20 + "line": 31, + "column": 36 } } }, @@ -2271,24 +4336,23 @@ "postfix": false, "binop": null }, - "value": "NewHitsPlaylistFetcher", - "start": 228, - "end": 250, + "value": "territory", + "start": 873, + "end": 882, "loc": { "start": { - "line": 8, - "column": 21 + "line": 32, + "column": 6 }, "end": { - "line": 8, - "column": 43 + "line": 32, + "column": 15 } } }, { "type": { - "label": "extends", - "keyword": "extends", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -2299,23 +4363,23 @@ "binop": null, "updateContext": null }, - "value": "extends", - "start": 251, - "end": 258, + "start": 882, + "end": 883, "loc": { "start": { - "line": 8, - "column": 44 + "line": 32, + "column": 15 }, "end": { - "line": 8, - "column": 51 + "line": 32, + "column": 16 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2323,60 +4387,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Fetcher", - "start": 259, - "end": 266, + "value": "this", + "start": 884, + "end": 888, "loc": { "start": { - "line": 8, - "column": 52 + "line": 32, + "column": 17 }, "end": { - "line": 8, - "column": 59 + "line": 32, + "column": 21 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 267, - "end": 268, - "loc": { - "start": { - "line": 8, - "column": 60 - }, - "end": { - "line": 8, - "column": 61 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 273, - "end": 299, + "start": 888, + "end": 889, "loc": { "start": { - "line": 9, - "column": 4 + "line": 32, + "column": 21 }, "end": { - "line": 11, - "column": 7 + "line": 32, + "column": 22 } } }, @@ -2392,25 +4442,25 @@ "postfix": false, "binop": null }, - "value": "constructor", - "start": 304, - "end": 315, + "value": "territory", + "start": 889, + "end": 898, "loc": { "start": { - "line": 12, - "column": 4 + "line": 32, + "column": 22 }, "end": { - "line": 12, - "column": 15 + "line": 32, + "column": 31 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2418,24 +4468,24 @@ "postfix": false, "binop": null }, - "start": 315, - "end": 316, + "start": 903, + "end": 904, "loc": { "start": { - "line": 12, - "column": 15 + "line": 33, + "column": 4 }, "end": { - "line": 12, - "column": 16 + "line": 33, + "column": 5 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2443,23 +4493,22 @@ "postfix": false, "binop": null }, - "value": "http", - "start": 316, - "end": 320, + "start": 904, + "end": 905, "loc": { "start": { - "line": 12, - "column": 16 + "line": 33, + "column": 5 }, "end": { - "line": 12, - "column": 20 + "line": 33, + "column": 6 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -2470,24 +4519,24 @@ "binop": null, "updateContext": null }, - "start": 320, - "end": 321, + "start": 905, + "end": 906, "loc": { "start": { - "line": 12, - "column": 20 + "line": 33, + "column": 6 }, "end": { - "line": 12, - "column": 21 + "line": 33, + "column": 7 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2495,50 +4544,38 @@ "postfix": false, "binop": null }, - "value": "territory", - "start": 322, - "end": 331, + "start": 909, + "end": 910, "loc": { "start": { - "line": 12, - "column": 22 + "line": 34, + "column": 2 }, "end": { - "line": 12, - "column": 31 + "line": 34, + "column": 3 } } }, { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 332, - "end": 333, + "type": "CommentBlock", + "value": "*\n * Init the new hits playlist fetcher.\n *\n * @param {string} playlistID - The playlist ID.\n * @return {NewHitsPlaylistFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists-playlist_id\n ", + "start": 914, + "end": 1140, "loc": { "start": { - "line": 12, - "column": 32 + "line": 36, + "column": 2 }, "end": { - "line": 12, - "column": 33 + "line": 42, + "column": 5 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2546,28 +4583,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "TW", - "start": 334, - "end": 338, + "value": "setPlaylistID", + "start": 1143, + "end": 1156, "loc": { "start": { - "line": 12, - "column": 34 + "line": 43, + "column": 2 }, "end": { - "line": 12, - "column": 38 + "line": 43, + "column": 15 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2575,23 +4611,23 @@ "postfix": false, "binop": null }, - "start": 338, - "end": 339, + "start": 1156, + "end": 1157, "loc": { "start": { - "line": 12, - "column": 38 + "line": 43, + "column": 15 }, "end": { - "line": 12, - "column": 39 + "line": 43, + "column": 16 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -2600,50 +4636,48 @@ "postfix": false, "binop": null }, - "start": 340, - "end": 341, + "value": "playlistID", + "start": 1157, + "end": 1167, "loc": { "start": { - "line": 12, - "column": 40 + "line": 43, + "column": 16 }, "end": { - "line": 12, - "column": 41 + "line": 43, + "column": 26 } } }, { "type": { - "label": "super", - "keyword": "super", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "super", - "start": 350, - "end": 355, + "start": 1167, + "end": 1168, "loc": { "start": { - "line": 13, - "column": 8 + "line": 43, + "column": 26 }, "end": { - "line": 13, - "column": 13 + "line": 43, + "column": 27 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -2653,22 +4687,23 @@ "postfix": false, "binop": null }, - "start": 355, - "end": 356, + "start": 1169, + "end": 1170, "loc": { "start": { - "line": 13, - "column": 13 + "line": 43, + "column": 28 }, "end": { - "line": 13, - "column": 14 + "line": 43, + "column": 29 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2676,26 +4711,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "http", - "start": 356, - "end": 360, + "value": "this", + "start": 1175, + "end": 1179, "loc": { "start": { - "line": 13, - "column": 14 + "line": 44, + "column": 4 }, "end": { - "line": 13, - "column": 18 + "line": 44, + "column": 8 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -2705,16 +4741,16 @@ "binop": null, "updateContext": null }, - "start": 360, - "end": 361, + "start": 1179, + "end": 1180, "loc": { "start": { - "line": 13, - "column": 18 + "line": 44, + "column": 8 }, "end": { - "line": 13, - "column": 19 + "line": 44, + "column": 9 } } }, @@ -2730,65 +4766,50 @@ "postfix": false, "binop": null }, - "value": "territory", - "start": 362, - "end": 371, + "value": "playlistID", + "start": 1180, + "end": 1190, "loc": { "start": { - "line": 13, - "column": 20 + "line": 44, + "column": 9 }, "end": { - "line": 13, - "column": 29 + "line": 44, + "column": 19 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 371, - "end": 372, - "loc": { - "start": { - "line": 13, - "column": 29 - }, - "end": { - "line": 13, - "column": 30 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 382, - "end": 416, + "value": "=", + "start": 1191, + "end": 1192, "loc": { "start": { - "line": 15, - "column": 8 + "line": 44, + "column": 20 }, "end": { - "line": 17, - "column": 11 + "line": 44, + "column": 21 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2796,27 +4817,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 425, - "end": 429, + "value": "playlistID", + "start": 1193, + "end": 1203, "loc": { "start": { - "line": 18, - "column": 8 + "line": 44, + "column": 22 }, "end": { - "line": 18, - "column": 12 + "line": 44, + "column": 32 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -2826,95 +4846,98 @@ "binop": null, "updateContext": null }, - "start": 429, - "end": 430, + "start": 1203, + "end": 1204, "loc": { "start": { - "line": 18, - "column": 12 + "line": 44, + "column": 32 }, "end": { - "line": 18, - "column": 13 + "line": 44, + "column": 33 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "playlist_id", - "start": 430, - "end": 441, + "value": "return", + "start": 1209, + "end": 1215, "loc": { "start": { - "line": 18, - "column": 13 + "line": 45, + "column": 4 }, "end": { - "line": 18, - "column": 24 + "line": 45, + "column": 10 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 442, - "end": 443, + "value": "this", + "start": 1216, + "end": 1220, "loc": { "start": { - "line": 18, - "column": 25 + "line": 45, + "column": 11 }, "end": { - "line": 18, - "column": 26 + "line": 45, + "column": 15 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "undefined", - "start": 444, - "end": 453, + "start": 1220, + "end": 1221, "loc": { "start": { - "line": 18, - "column": 27 + "line": 45, + "column": 15 }, "end": { - "line": 18, - "column": 36 + "line": 45, + "column": 16 } } }, @@ -2930,32 +4953,32 @@ "postfix": false, "binop": null }, - "start": 458, - "end": 459, + "start": 1224, + "end": 1225, "loc": { "start": { - "line": 19, - "column": 4 + "line": 46, + "column": 2 }, "end": { - "line": 19, - "column": 5 + "line": 46, + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch all new hits playlists.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newHitsPlaylistFetcher.fetchAllNewHitsPlaylists()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists/endpoints/get-new-hits-playlists\n ", - "start": 465, - "end": 856, + "value": "*\n * Fetch metadata of the new hits playlist you set.\n *\n * @return {Promise}\n * @example api.newHitsPlaylistFetcher.setPlaylistID('DZrC8m29ciOFY2JAm3').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists-playlist_id\n ", + "start": 1229, + "end": 1496, "loc": { "start": { - "line": 21, - "column": 4 + "line": 48, + "column": 2 }, "end": { - "line": 29, - "column": 7 + "line": 54, + "column": 5 } } }, @@ -2971,17 +4994,17 @@ "postfix": false, "binop": null }, - "value": "fetchAllNewHitsPlaylists", - "start": 861, - "end": 885, + "value": "fetchMetadata", + "start": 1499, + "end": 1512, "loc": { "start": { - "line": 30, - "column": 4 + "line": 55, + "column": 2 }, "end": { - "line": 30, - "column": 28 + "line": 55, + "column": 15 } } }, @@ -2997,24 +5020,24 @@ "postfix": false, "binop": null }, - "start": 885, - "end": 886, + "start": 1512, + "end": 1513, "loc": { "start": { - "line": 30, - "column": 28 + "line": 55, + "column": 15 }, "end": { - "line": 30, - "column": 29 + "line": 55, + "column": 16 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3022,51 +5045,23 @@ "postfix": false, "binop": null }, - "value": "limit", - "start": 886, - "end": 891, + "start": 1513, + "end": 1514, "loc": { "start": { - "line": 30, - "column": 29 + "line": 55, + "column": 16 }, "end": { - "line": 30, - "column": 34 + "line": 55, + "column": 17 } } }, { "type": { - "label": "=", + "label": "{", "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 892, - "end": 893, - "loc": { - "start": { - "line": 30, - "column": 35 - }, - "end": { - "line": 30, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3075,23 +5070,23 @@ "postfix": false, "binop": null }, - "value": "undefined", - "start": 894, - "end": 903, + "start": 1515, + "end": 1516, "loc": { "start": { - "line": 30, - "column": 37 + "line": 55, + "column": 18 }, "end": { - "line": 30, - "column": 46 + "line": 55, + "column": 19 } } }, { "type": { - "label": ",", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -3102,22 +5097,24 @@ "binop": null, "updateContext": null }, - "start": 903, - "end": 904, + "value": "return", + "start": 1521, + "end": 1527, "loc": { "start": { - "line": 30, - "column": 46 + "line": 56, + "column": 4 }, "end": { - "line": 30, - "column": 47 + "line": 56, + "column": 10 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3125,46 +5122,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "offset", - "start": 905, - "end": 911, + "value": "this", + "start": 1528, + "end": 1532, "loc": { "start": { - "line": 30, - "column": 48 + "line": 56, + "column": 11 }, "end": { - "line": 30, - "column": 54 + "line": 56, + "column": 15 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 912, - "end": 913, + "start": 1532, + "end": 1533, "loc": { "start": { - "line": 30, - "column": 55 + "line": 56, + "column": 15 }, "end": { - "line": 30, - "column": 56 + "line": 56, + "column": 16 } } }, @@ -3180,23 +5177,23 @@ "postfix": false, "binop": null }, - "value": "undefined", - "start": 914, - "end": 923, + "value": "http", + "start": 1533, + "end": 1537, "loc": { "start": { - "line": 30, - "column": 57 + "line": 56, + "column": 16 }, "end": { - "line": 30, - "column": 66 + "line": 56, + "column": 20 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -3204,25 +5201,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 923, - "end": 924, + "start": 1537, + "end": 1538, "loc": { "start": { - "line": 30, - "column": 66 + "line": 56, + "column": 20 }, "end": { - "line": 30, - "column": 67 + "line": 56, + "column": 21 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3231,51 +5229,48 @@ "postfix": false, "binop": null }, - "start": 925, - "end": 926, + "value": "get", + "start": 1538, + "end": 1541, "loc": { "start": { - "line": 30, - "column": 68 + "line": 56, + "column": 21 }, "end": { - "line": 30, - "column": 69 + "line": 56, + "column": 24 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 935, - "end": 941, + "start": 1541, + "end": 1542, "loc": { "start": { - "line": 31, - "column": 8 + "line": 56, + "column": 24 }, "end": { - "line": 31, - "column": 14 + "line": 56, + "column": 25 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3283,52 +5278,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 942, - "end": 946, + "value": "ENDPOINT", + "start": 1542, + "end": 1550, "loc": { "start": { - "line": 31, - "column": 15 + "line": 56, + "column": 25 }, "end": { - "line": 31, - "column": 19 + "line": 56, + "column": 33 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "start": 946, - "end": 947, + "value": "+", + "start": 1551, + "end": 1552, "loc": { "start": { - "line": 31, - "column": 19 + "line": 56, + "column": 34 }, "end": { - "line": 31, - "column": 20 + "line": 56, + "column": 35 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3336,51 +5331,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "http", - "start": 947, - "end": 951, + "value": "/", + "start": 1553, + "end": 1556, "loc": { "start": { - "line": 31, - "column": 20 + "line": 56, + "column": 36 }, "end": { - "line": 31, - "column": 24 + "line": 56, + "column": 39 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "start": 951, - "end": 952, + "value": "+", + "start": 1557, + "end": 1558, "loc": { "start": { - "line": 31, - "column": 24 + "line": 56, + "column": 40 }, "end": { - "line": 31, - "column": 25 + "line": 56, + "column": 41 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3388,44 +5386,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "get", - "start": 952, - "end": 955, + "value": "this", + "start": 1559, + "end": 1563, "loc": { "start": { - "line": 31, - "column": 25 + "line": 56, + "column": 42 }, "end": { - "line": 31, - "column": 28 + "line": 56, + "column": 46 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 955, - "end": 956, + "start": 1563, + "end": 1564, "loc": { "start": { - "line": 31, - "column": 28 + "line": 56, + "column": 46 }, "end": { - "line": 31, - "column": 29 + "line": 56, + "column": 47 } } }, @@ -3441,17 +5441,17 @@ "postfix": false, "binop": null }, - "value": "ENDPOINT", - "start": 956, - "end": 964, + "value": "playlistID", + "start": 1564, + "end": 1574, "loc": { "start": { - "line": 31, - "column": 29 + "line": 56, + "column": 47 }, "end": { - "line": 31, - "column": 37 + "line": 56, + "column": 57 } } }, @@ -3468,16 +5468,16 @@ "binop": null, "updateContext": null }, - "start": 964, - "end": 965, + "start": 1574, + "end": 1575, "loc": { "start": { - "line": 31, - "column": 37 + "line": 56, + "column": 57 }, "end": { - "line": 31, - "column": 38 + "line": 56, + "column": 58 } } }, @@ -3493,16 +5493,16 @@ "postfix": false, "binop": null }, - "start": 966, - "end": 967, + "start": 1576, + "end": 1577, "loc": { "start": { - "line": 31, - "column": 39 + "line": 56, + "column": 59 }, "end": { - "line": 31, - "column": 40 + "line": 56, + "column": 60 } } }, @@ -3519,16 +5519,16 @@ "binop": null }, "value": "territory", - "start": 980, - "end": 989, + "start": 1584, + "end": 1593, "loc": { "start": { - "line": 32, - "column": 12 + "line": 57, + "column": 6 }, "end": { - "line": 32, - "column": 21 + "line": 57, + "column": 15 } } }, @@ -3545,16 +5545,16 @@ "binop": null, "updateContext": null }, - "start": 989, - "end": 990, + "start": 1593, + "end": 1594, "loc": { "start": { - "line": 32, - "column": 21 + "line": 57, + "column": 15 }, "end": { - "line": 32, - "column": 22 + "line": 57, + "column": 16 } } }, @@ -3573,16 +5573,16 @@ "updateContext": null }, "value": "this", - "start": 991, - "end": 995, + "start": 1595, + "end": 1599, "loc": { "start": { - "line": 32, - "column": 23 + "line": 57, + "column": 17 }, "end": { - "line": 32, - "column": 27 + "line": 57, + "column": 21 } } }, @@ -3599,16 +5599,16 @@ "binop": null, "updateContext": null }, - "start": 995, - "end": 996, + "start": 1599, + "end": 1600, "loc": { "start": { - "line": 32, - "column": 27 + "line": 57, + "column": 21 }, "end": { - "line": 32, - "column": 28 + "line": 57, + "column": 22 } } }, @@ -3625,16 +5625,16 @@ "binop": null }, "value": "territory", - "start": 996, - "end": 1005, + "start": 1600, + "end": 1609, "loc": { "start": { - "line": 32, - "column": 28 + "line": 57, + "column": 22 }, "end": { - "line": 32, - "column": 37 + "line": 57, + "column": 31 } } }, @@ -3650,16 +5650,16 @@ "postfix": false, "binop": null }, - "start": 1014, - "end": 1015, + "start": 1614, + "end": 1615, "loc": { "start": { - "line": 33, - "column": 8 + "line": 58, + "column": 4 }, "end": { - "line": 33, - "column": 9 + "line": 58, + "column": 5 } } }, @@ -3675,16 +5675,42 @@ "postfix": false, "binop": null }, - "start": 1015, - "end": 1016, + "start": 1615, + "end": 1616, + "loc": { + "start": { + "line": 58, + "column": 5 + }, + "end": { + "line": 58, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1616, + "end": 1617, "loc": { "start": { - "line": 33, - "column": 9 + "line": 58, + "column": 6 }, "end": { - "line": 33, - "column": 10 + "line": 58, + "column": 7 } } }, @@ -3700,32 +5726,32 @@ "postfix": false, "binop": null }, - "start": 1021, - "end": 1022, + "start": 1620, + "end": 1621, "loc": { "start": { - "line": 34, - "column": 4 + "line": 59, + "column": 2 }, "end": { - "line": 34, - "column": 5 + "line": 59, + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Init the new hits playlist fetcher.\n *\n * @param {string} playlist_id - The playlist ID.\n * @return {NewHitsPlaylistFetcher}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists/endpoints/get-new-hits-playlists-playlist_id\n ", - "start": 1028, - "end": 1311, + "value": "*\n * Fetch tracks of the new hits playlist you set. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newHitsPlaylistFetcher.setPlaylistID('DZrC8m29ciOFY2JAm3').fetchTracks();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists-playlist_id-tracks\n ", + "start": 1625, + "end": 2038, "loc": { "start": { - "line": 36, - "column": 4 + "line": 61, + "column": 2 }, "end": { - "line": 42, - "column": 7 + "line": 69, + "column": 5 } } }, @@ -3741,17 +5767,17 @@ "postfix": false, "binop": null }, - "value": "setPlaylistID", - "start": 1316, - "end": 1329, + "value": "fetchTracks", + "start": 2041, + "end": 2052, "loc": { "start": { - "line": 43, - "column": 4 + "line": 70, + "column": 2 }, "end": { - "line": 43, - "column": 17 + "line": 70, + "column": 13 } } }, @@ -3767,16 +5793,16 @@ "postfix": false, "binop": null }, - "start": 1329, - "end": 1330, + "start": 2052, + "end": 2053, "loc": { "start": { - "line": 43, - "column": 17 + "line": 70, + "column": 13 }, "end": { - "line": 43, - "column": 18 + "line": 70, + "column": 14 } } }, @@ -3792,25 +5818,52 @@ "postfix": false, "binop": null }, - "value": "playlist_id", - "start": 1330, - "end": 1341, + "value": "limit", + "start": 2053, + "end": 2058, + "loc": { + "start": { + "line": 70, + "column": 14 + }, + "end": { + "line": 70, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2059, + "end": 2060, "loc": { "start": { - "line": 43, - "column": 18 + "line": 70, + "column": 20 }, "end": { - "line": 43, - "column": 29 + "line": 70, + "column": 21 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3818,48 +5871,49 @@ "postfix": false, "binop": null }, - "start": 1341, - "end": 1342, + "value": "undefined", + "start": 2061, + "end": 2070, "loc": { "start": { - "line": 43, - "column": 29 + "line": 70, + "column": 22 }, "end": { - "line": 43, - "column": 30 + "line": 70, + "column": 31 } } }, { "type": { - "label": "{", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1343, - "end": 1344, + "start": 2070, + "end": 2071, "loc": { "start": { - "line": 43, + "line": 70, "column": 31 }, "end": { - "line": 43, + "line": 70, "column": 32 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3867,46 +5921,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1353, - "end": 1357, + "value": "offset", + "start": 2072, + "end": 2078, "loc": { "start": { - "line": 44, - "column": 8 + "line": 70, + "column": 33 }, "end": { - "line": 44, - "column": 12 + "line": 70, + "column": 39 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1357, - "end": 1358, + "value": "=", + "start": 2079, + "end": 2080, "loc": { "start": { - "line": 44, - "column": 12 + "line": 70, + "column": 40 }, "end": { - "line": 44, - "column": 13 + "line": 70, + "column": 41 } } }, @@ -3922,51 +5976,49 @@ "postfix": false, "binop": null }, - "value": "playlist_id", - "start": 1358, - "end": 1369, + "value": "undefined", + "start": 2081, + "end": 2090, "loc": { "start": { - "line": 44, - "column": 13 + "line": 70, + "column": 42 }, "end": { - "line": 44, - "column": 24 + "line": 70, + "column": 51 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1370, - "end": 1371, + "start": 2090, + "end": 2091, "loc": { "start": { - "line": 44, - "column": 25 + "line": 70, + "column": 51 }, "end": { - "line": 44, - "column": 26 + "line": 70, + "column": 52 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3975,17 +6027,16 @@ "postfix": false, "binop": null }, - "value": "playlist_id", - "start": 1372, - "end": 1383, + "start": 2092, + "end": 2093, "loc": { "start": { - "line": 44, - "column": 27 + "line": 70, + "column": 53 }, "end": { - "line": 44, - "column": 38 + "line": 70, + "column": 54 } } }, @@ -4004,16 +6055,16 @@ "updateContext": null }, "value": "return", - "start": 1400, - "end": 1406, + "start": 2098, + "end": 2104, "loc": { "start": { - "line": 45, - "column": 8 + "line": 71, + "column": 4 }, "end": { - "line": 45, - "column": 14 + "line": 71, + "column": 10 } } }, @@ -4032,22 +6083,22 @@ "updateContext": null }, "value": "this", - "start": 1407, - "end": 1411, + "start": 2105, + "end": 2109, "loc": { "start": { - "line": 45, - "column": 15 + "line": 71, + "column": 11 }, "end": { - "line": 45, - "column": 19 + "line": 71, + "column": 15 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -4055,34 +6106,71 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2109, + "end": 2110, + "loc": { + "start": { + "line": 71, + "column": 15 + }, + "end": { + "line": 71, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null }, - "start": 1416, - "end": 1417, + "value": "http", + "start": 2110, + "end": 2114, "loc": { "start": { - "line": 46, - "column": 4 + "line": 71, + "column": 16 }, "end": { - "line": 46, - "column": 5 + "line": 71, + "column": 20 } } }, { - "type": "CommentBlock", - "value": "*\n * Fetch metadata of the new release category you set.\n *\n * @return {Promise}\n * @example api.newHitsPlaylistFetcher.setPlaylistID('DZrC8m29ciOFY2JAm3').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists/endpoints/get-new-hits-playlists-playlist_id\n ", - "start": 1423, - "end": 1748, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2114, + "end": 2115, "loc": { "start": { - "line": 48, - "column": 4 + "line": 71, + "column": 20 }, "end": { - "line": 54, - "column": 7 + "line": 71, + "column": 21 } } }, @@ -4098,17 +6186,17 @@ "postfix": false, "binop": null }, - "value": "fetchMetadata", - "start": 1753, - "end": 1766, + "value": "get", + "start": 2115, + "end": 2118, "loc": { "start": { - "line": 55, - "column": 4 + "line": 71, + "column": 21 }, "end": { - "line": 55, - "column": 17 + "line": 71, + "column": 24 } } }, @@ -4124,24 +6212,24 @@ "postfix": false, "binop": null }, - "start": 1766, - "end": 1767, + "start": 2118, + "end": 2119, "loc": { "start": { - "line": 55, - "column": 17 + "line": 71, + "column": 24 }, "end": { - "line": 55, - "column": 18 + "line": 71, + "column": 25 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4149,69 +6237,98 @@ "postfix": false, "binop": null }, - "start": 1767, - "end": 1768, + "value": "ENDPOINT", + "start": 2119, + "end": 2127, "loc": { "start": { - "line": 55, - "column": 18 + "line": 71, + "column": 25 }, "end": { - "line": 55, - "column": 19 + "line": 71, + "column": 33 } } }, { "type": { - "label": "{", + "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2128, + "end": 2129, + "loc": { + "start": { + "line": 71, + "column": 34 + }, + "end": { + "line": 71, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1769, - "end": 1770, + "value": "/", + "start": 2130, + "end": 2133, "loc": { "start": { - "line": 55, - "column": 20 + "line": 71, + "column": 36 }, "end": { - "line": 55, - "column": 21 + "line": 71, + "column": 39 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "+/-", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "value": "return", - "start": 1779, - "end": 1785, + "value": "+", + "start": 2134, + "end": 2135, "loc": { "start": { - "line": 56, - "column": 8 + "line": 71, + "column": 40 }, "end": { - "line": 56, - "column": 14 + "line": 71, + "column": 41 } } }, @@ -4230,16 +6347,16 @@ "updateContext": null }, "value": "this", - "start": 1786, - "end": 1790, + "start": 2136, + "end": 2140, "loc": { "start": { - "line": 56, - "column": 15 + "line": 71, + "column": 42 }, "end": { - "line": 56, - "column": 19 + "line": 71, + "column": 46 } } }, @@ -4256,16 +6373,16 @@ "binop": null, "updateContext": null }, - "start": 1790, - "end": 1791, + "start": 2140, + "end": 2141, "loc": { "start": { - "line": 56, - "column": 19 + "line": 71, + "column": 46 }, "end": { - "line": 56, - "column": 20 + "line": 71, + "column": 47 } } }, @@ -4281,25 +6398,52 @@ "postfix": false, "binop": null }, - "value": "http", - "start": 1791, - "end": 1795, + "value": "playlistID", + "start": 2141, + "end": 2151, "loc": { "start": { - "line": 56, - "column": 20 + "line": 71, + "column": 47 }, "end": { - "line": 56, - "column": 24 + "line": 71, + "column": 57 } } }, { "type": { - "label": ".", + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2152, + "end": 2153, + "loc": { + "start": { + "line": 71, + "column": 58 + }, + "end": { + "line": 71, + "column": 59 + } + } + }, + { + "type": { + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4308,48 +6452,49 @@ "binop": null, "updateContext": null }, - "start": 1795, - "end": 1796, + "value": "/tracks", + "start": 2154, + "end": 2163, "loc": { "start": { - "line": 56, - "column": 24 + "line": 71, + "column": 60 }, "end": { - "line": 56, - "column": 25 + "line": 71, + "column": 69 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "get", - "start": 1796, - "end": 1799, + "start": 2163, + "end": 2164, "loc": { "start": { - "line": 56, - "column": 25 + "line": 71, + "column": 69 }, "end": { - "line": 56, - "column": 28 + "line": 71, + "column": 70 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -4359,16 +6504,16 @@ "postfix": false, "binop": null }, - "start": 1799, - "end": 1800, + "start": 2165, + "end": 2166, "loc": { "start": { - "line": 56, - "column": 28 + "line": 71, + "column": 71 }, "end": { - "line": 56, - "column": 29 + "line": 71, + "column": 72 } } }, @@ -4384,44 +6529,43 @@ "postfix": false, "binop": null }, - "value": "ENDPOINT", - "start": 1800, - "end": 1808, + "value": "territory", + "start": 2173, + "end": 2182, "loc": { "start": { - "line": 56, - "column": 29 + "line": 72, + "column": 6 }, "end": { - "line": 56, - "column": 37 + "line": 72, + "column": 15 } } }, { "type": { - "label": "+/-", + "label": ":", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "+", - "start": 1809, - "end": 1810, + "start": 2182, + "end": 2183, "loc": { "start": { - "line": 56, - "column": 38 + "line": 72, + "column": 15 }, "end": { - "line": 56, - "column": 39 + "line": 72, + "column": 16 } } }, @@ -4440,16 +6584,16 @@ "updateContext": null }, "value": "this", - "start": 1811, - "end": 1815, + "start": 2184, + "end": 2188, "loc": { "start": { - "line": 56, - "column": 40 + "line": 72, + "column": 17 }, "end": { - "line": 56, - "column": 44 + "line": 72, + "column": 21 } } }, @@ -4466,16 +6610,16 @@ "binop": null, "updateContext": null }, - "start": 1815, - "end": 1816, + "start": 2188, + "end": 2189, "loc": { "start": { - "line": 56, - "column": 44 + "line": 72, + "column": 21 }, "end": { - "line": 56, - "column": 45 + "line": 72, + "column": 22 } } }, @@ -4491,17 +6635,17 @@ "postfix": false, "binop": null }, - "value": "playlist_id", - "start": 1816, - "end": 1827, + "value": "territory", + "start": 2189, + "end": 2198, "loc": { "start": { - "line": 56, - "column": 45 + "line": 72, + "column": 22 }, "end": { - "line": 56, - "column": 56 + "line": 72, + "column": 31 } } }, @@ -4518,23 +6662,23 @@ "binop": null, "updateContext": null }, - "start": 1827, - "end": 1828, + "start": 2198, + "end": 2199, "loc": { "start": { - "line": 56, - "column": 56 + "line": 72, + "column": 31 }, "end": { - "line": 56, - "column": 57 + "line": 72, + "column": 32 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -4543,16 +6687,43 @@ "postfix": false, "binop": null }, - "start": 1829, - "end": 1830, + "value": "limit", + "start": 2206, + "end": 2211, "loc": { "start": { - "line": 56, - "column": 58 + "line": 73, + "column": 6 }, "end": { - "line": 56, - "column": 59 + "line": 73, + "column": 11 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2211, + "end": 2212, + "loc": { + "start": { + "line": 73, + "column": 11 + }, + "end": { + "line": 73, + "column": 12 } } }, @@ -4568,23 +6739,23 @@ "postfix": false, "binop": null }, - "value": "territory", - "start": 1830, - "end": 1839, + "value": "limit", + "start": 2213, + "end": 2218, "loc": { "start": { - "line": 56, - "column": 59 + "line": 73, + "column": 13 }, "end": { - "line": 56, - "column": 68 + "line": 73, + "column": 18 } } }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -4595,23 +6766,22 @@ "binop": null, "updateContext": null }, - "start": 1839, - "end": 1840, + "start": 2218, + "end": 2219, "loc": { "start": { - "line": 56, - "column": 68 + "line": 73, + "column": 18 }, "end": { - "line": 56, - "column": 69 + "line": 73, + "column": 19 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -4619,27 +6789,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1841, - "end": 1845, + "value": "offset", + "start": 2226, + "end": 2232, "loc": { "start": { - "line": 56, - "column": 70 + "line": 74, + "column": 6 }, "end": { - "line": 56, - "column": 74 + "line": 74, + "column": 12 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4649,16 +6818,16 @@ "binop": null, "updateContext": null }, - "start": 1845, - "end": 1846, + "start": 2232, + "end": 2233, "loc": { "start": { - "line": 56, - "column": 74 + "line": 74, + "column": 12 }, "end": { - "line": 56, - "column": 75 + "line": 74, + "column": 13 } } }, @@ -4674,17 +6843,17 @@ "postfix": false, "binop": null }, - "value": "territory", - "start": 1846, - "end": 1855, + "value": "offset", + "start": 2234, + "end": 2240, "loc": { "start": { - "line": 56, - "column": 75 + "line": 74, + "column": 14 }, "end": { - "line": 56, - "column": 84 + "line": 74, + "column": 20 } } }, @@ -4700,16 +6869,16 @@ "postfix": false, "binop": null }, - "start": 1855, - "end": 1856, + "start": 2245, + "end": 2246, "loc": { "start": { - "line": 56, - "column": 84 + "line": 75, + "column": 4 }, "end": { - "line": 56, - "column": 85 + "line": 75, + "column": 5 } } }, @@ -4725,16 +6894,42 @@ "postfix": false, "binop": null }, - "start": 1856, - "end": 1857, + "start": 2246, + "end": 2247, "loc": { "start": { - "line": 56, - "column": 85 + "line": 75, + "column": 5 }, "end": { - "line": 56, - "column": 86 + "line": 75, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2247, + "end": 2248, + "loc": { + "start": { + "line": 75, + "column": 6 + }, + "end": { + "line": 75, + "column": 7 } } }, @@ -4750,16 +6945,16 @@ "postfix": false, "binop": null }, - "start": 1862, - "end": 1863, + "start": 2251, + "end": 2252, "loc": { "start": { - "line": 57, - "column": 4 + "line": 76, + "column": 2 }, "end": { - "line": 57, - "column": 5 + "line": 76, + "column": 3 } } }, @@ -4775,15 +6970,15 @@ "postfix": false, "binop": null }, - "start": 1864, - "end": 1865, + "start": 2253, + "end": 2254, "loc": { "start": { - "line": 58, + "line": 77, "column": 0 }, "end": { - "line": 58, + "line": 77, "column": 1 } } @@ -4801,16 +6996,16 @@ "binop": null, "updateContext": null }, - "start": 1865, - "end": 1865, + "start": 2255, + "end": 2255, "loc": { "start": { - "line": 58, - "column": 1 + "line": 78, + "column": 0 }, "end": { - "line": 58, - "column": 1 + "line": 78, + "column": 0 } } } diff --git a/docs/ast/source/api/NewReleaseCategoryFetcher.js.json b/docs/ast/source/api/NewReleaseCategoryFetcher.js.json index 48001f1..627f7a4 100644 --- a/docs/ast/source/api/NewReleaseCategoryFetcher.js.json +++ b/docs/ast/source/api/NewReleaseCategoryFetcher.js.json @@ -1,29 +1,29 @@ { "type": "File", "start": 0, - "end": 2749, + "end": 2398, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 77, - "column": 1 + "line": 80, + "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 2749, + "end": 2398, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 77, - "column": 1 + "line": 80, + "column": 0 } }, "sourceType": "module", @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 62, + "end": 65, "loc": { "start": { "line": 1, @@ -39,36 +39,36 @@ }, "end": { "line": 1, - "column": 62 + "column": 65 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 8, - "end": 42, + "start": 9, + "end": 43, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 42 + "column": 43 } }, "imported": { "type": "Identifier", - "start": 8, - "end": 30, + "start": 9, + "end": 31, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 30 + "column": 31 }, "identifierName": "NEW_RELEASE_CATEGORIES" }, @@ -76,16 +76,16 @@ }, "local": { "type": "Identifier", - "start": 34, - "end": 42, + "start": 35, + "end": 43, "loc": { "start": { "line": 1, - "column": 34 + "column": 35 }, "end": { "line": 1, - "column": 42 + "column": 43 }, "identifierName": "ENDPOINT" }, @@ -95,16 +95,16 @@ ], "source": { "type": "StringLiteral", - "start": 49, - "end": 62, + "start": 51, + "end": 64, "loc": { "start": { "line": 1, - "column": 49 + "column": 51 }, "end": { "line": 1, - "column": 62 + "column": 64 } }, "extra": { @@ -116,8 +116,8 @@ }, { "type": "ImportDeclaration", - "start": 63, - "end": 94, + "start": 66, + "end": 98, "loc": { "start": { "line": 2, @@ -125,14 +125,14 @@ }, "end": { "line": 2, - "column": 31 + "column": 32 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 70, - "end": 77, + "start": 73, + "end": 80, "loc": { "start": { "line": 2, @@ -145,8 +145,8 @@ }, "local": { "type": "Identifier", - "start": 70, - "end": 77, + "start": 73, + "end": 80, "loc": { "start": { "line": 2, @@ -164,8 +164,8 @@ ], "source": { "type": "StringLiteral", - "start": 83, - "end": 94, + "start": 86, + "end": 97, "loc": { "start": { "line": 2, @@ -180,16 +180,14 @@ "rawValue": "./Fetcher", "raw": "'./Fetcher'" }, - "value": "./Fetcher", - "leadingComments": null, - "trailingComments": null + "value": "./Fetcher" }, "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * List categories of new release albums.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories\n ", - "start": 96, - "end": 228, + "value": "*\n * List categories of new release albums.\n * @see https://docs-en.kkbox.codes/v1.1/reference#new-release-categories\n ", + "start": 100, + "end": 223, "loc": { "start": { "line": 4, @@ -205,36 +203,36 @@ }, { "type": "ExportDefaultDeclaration", - "start": 229, - "end": 2749, + "start": 224, + "end": 2397, "loc": { "start": { "line": 8, "column": 0 }, "end": { - "line": 77, + "line": 79, "column": 1 } }, "declaration": { "type": "ClassDeclaration", - "start": 244, - "end": 2749, + "start": 239, + "end": 2397, "loc": { "start": { "line": 8, "column": 15 }, "end": { - "line": 77, + "line": 79, "column": 1 } }, "id": { "type": "Identifier", - "start": 250, - "end": 275, + "start": 245, + "end": 270, "loc": { "start": { "line": 8, @@ -251,8 +249,8 @@ }, "superClass": { "type": "Identifier", - "start": 284, - "end": 291, + "start": 279, + "end": 286, "loc": { "start": { "line": 8, @@ -268,53 +266,53 @@ }, "body": { "type": "ClassBody", - "start": 292, - "end": 2749, + "start": 287, + "end": 2397, "loc": { "start": { "line": 8, "column": 63 }, "end": { - "line": 77, + "line": 79, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 329, - "end": 484, + "start": 316, + "end": 450, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 19, - "column": 5 + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 329, - "end": 340, + "start": 316, + "end": 327, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 12, - "column": 15 + "column": 13 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, - "static": false, "kind": "constructor", "id": null, "generator": false, @@ -323,16 +321,16 @@ "params": [ { "type": "Identifier", - "start": 341, - "end": 345, + "start": 328, + "end": 332, "loc": { "start": { "line": 12, - "column": 16 + "column": 14 }, "end": { "line": 12, - "column": 20 + "column": 18 }, "identifierName": "http" }, @@ -340,30 +338,30 @@ }, { "type": "AssignmentPattern", - "start": 347, - "end": 363, + "start": 334, + "end": 350, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 38 + "column": 36 } }, "left": { "type": "Identifier", - "start": 347, - "end": 356, + "start": 334, + "end": 343, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 31 + "column": 29 }, "identifierName": "territory" }, @@ -371,16 +369,16 @@ }, "right": { "type": "StringLiteral", - "start": 359, - "end": 363, + "start": 346, + "end": 350, "loc": { "start": { "line": 12, - "column": 34 + "column": 32 }, "end": { "line": 12, - "column": 38 + "column": 36 } }, "extra": { @@ -393,75 +391,75 @@ ], "body": { "type": "BlockStatement", - "start": 365, - "end": 484, + "start": 352, + "end": 450, "loc": { "start": { "line": 12, - "column": 40 + "column": 38 }, "end": { "line": 19, - "column": 5 + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 375, - "end": 397, + "start": 358, + "end": 381, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 30 + "column": 27 } }, "expression": { "type": "CallExpression", - "start": 375, - "end": 397, + "start": 358, + "end": 380, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 30 + "column": 26 } }, "callee": { "type": "Super", - "start": 375, - "end": 380, + "start": 358, + "end": 363, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 13 + "column": 9 } } }, "arguments": [ { "type": "Identifier", - "start": 381, - "end": 385, + "start": 364, + "end": 368, "loc": { "start": { "line": 13, - "column": 14 + "column": 10 }, "end": { "line": 13, - "column": 18 + "column": 14 }, "identifierName": "http" }, @@ -469,38 +467,37 @@ }, { "type": "Identifier", - "start": 387, - "end": 396, + "start": 370, + "end": 379, "loc": { "start": { "line": 13, - "column": 20 + "column": 16 }, "end": { "line": 13, - "column": 29 + "column": 25 }, "identifierName": "territory" }, "name": "territory" } - ], - "trailingComments": null + ] }, "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 407, - "end": 441, + "value": "*\n * @ignore\n ", + "start": 387, + "end": 413, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } } @@ -508,95 +505,95 @@ }, { "type": "ExpressionStatement", - "start": 450, - "end": 478, + "start": 418, + "end": 446, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 36 + "column": 32 } }, "expression": { "type": "AssignmentExpression", - "start": 450, - "end": 478, + "start": 418, + "end": 445, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 36 + "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 450, - "end": 466, + "start": 418, + "end": 433, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 24 + "column": 19 } }, "object": { "type": "ThisExpression", - "start": 450, - "end": 454, + "start": 418, + "end": 422, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 12 + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 455, - "end": 466, + "start": 423, + "end": 433, "loc": { "start": { "line": 18, - "column": 13 + "column": 9 }, "end": { "line": 18, - "column": 24 + "column": 19 }, - "identifierName": "category_id" + "identifierName": "categoryID" }, - "name": "category_id" + "name": "categoryID" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", - "start": 469, - "end": 478, + "start": 436, + "end": 445, "loc": { "start": { "line": 18, - "column": 27 + "column": 22 }, "end": { "line": 18, - "column": 36 + "column": 31 }, "identifierName": "undefined" }, @@ -607,17 +604,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 407, - "end": 441, + "value": "*\n * @ignore\n ", + "start": 387, + "end": 413, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } } @@ -630,17 +627,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 298, - "end": 324, + "value": "*\n * @ignore\n ", + "start": 291, + "end": 313, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } } @@ -648,17 +645,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch all new release categories.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.fetchAllNewReleaseCategories()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories\n ", - "start": 490, - "end": 900, + "value": "*\n * Fetch all new release categories.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.fetchAllNewReleaseCategories();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories\n ", + "start": 454, + "end": 801, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 29, - "column": 7 + "column": 5 } } } @@ -666,38 +663,38 @@ }, { "type": "ClassMethod", - "start": 905, - "end": 1124, + "start": 804, + "end": 996, "loc": { "start": { "line": 30, - "column": 4 + "column": 2 }, "end": { "line": 36, - "column": 5 + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 905, - "end": 933, + "start": 804, + "end": 832, "loc": { "start": { "line": 30, - "column": 4 + "column": 2 }, "end": { "line": 30, - "column": 32 + "column": 30 }, "identifierName": "fetchAllNewReleaseCategories" }, "name": "fetchAllNewReleaseCategories", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -706,30 +703,30 @@ "params": [ { "type": "AssignmentPattern", - "start": 934, - "end": 951, + "start": 833, + "end": 850, "loc": { "start": { "line": 30, - "column": 33 + "column": 31 }, "end": { "line": 30, - "column": 50 + "column": 48 } }, "left": { "type": "Identifier", - "start": 934, - "end": 939, + "start": 833, + "end": 838, "loc": { "start": { "line": 30, - "column": 33 + "column": 31 }, "end": { "line": 30, - "column": 38 + "column": 36 }, "identifierName": "limit" }, @@ -737,16 +734,16 @@ }, "right": { "type": "Identifier", - "start": 942, - "end": 951, + "start": 841, + "end": 850, "loc": { "start": { "line": 30, - "column": 41 + "column": 39 }, "end": { "line": 30, - "column": 50 + "column": 48 }, "identifierName": "undefined" }, @@ -755,30 +752,30 @@ }, { "type": "AssignmentPattern", - "start": 953, - "end": 971, + "start": 852, + "end": 870, "loc": { "start": { "line": 30, - "column": 52 + "column": 50 }, "end": { "line": 30, - "column": 70 + "column": 68 } }, "left": { "type": "Identifier", - "start": 953, - "end": 959, + "start": 852, + "end": 858, "loc": { "start": { "line": 30, - "column": 52 + "column": 50 }, "end": { "line": 30, - "column": 58 + "column": 56 }, "identifierName": "offset" }, @@ -786,16 +783,16 @@ }, "right": { "type": "Identifier", - "start": 962, - "end": 971, + "start": 861, + "end": 870, "loc": { "start": { "line": 30, - "column": 61 + "column": 59 }, "end": { "line": 30, - "column": 70 + "column": 68 }, "identifierName": "undefined" }, @@ -805,102 +802,102 @@ ], "body": { "type": "BlockStatement", - "start": 973, - "end": 1124, + "start": 872, + "end": 996, "loc": { "start": { "line": 30, - "column": 72 + "column": 70 }, "end": { "line": 36, - "column": 5 + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 983, - "end": 1118, + "start": 878, + "end": 992, "loc": { "start": { "line": 31, - "column": 8 + "column": 4 }, "end": { "line": 35, - "column": 10 + "column": 7 } }, "argument": { "type": "CallExpression", - "start": 990, - "end": 1118, + "start": 885, + "end": 991, "loc": { "start": { "line": 31, - "column": 15 + "column": 11 }, "end": { "line": 35, - "column": 10 + "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 990, - "end": 1003, + "start": 885, + "end": 898, "loc": { "start": { "line": 31, - "column": 15 + "column": 11 }, "end": { "line": 31, - "column": 28 + "column": 24 } }, "object": { "type": "MemberExpression", - "start": 990, - "end": 999, + "start": 885, + "end": 894, "loc": { "start": { "line": 31, - "column": 15 + "column": 11 }, "end": { "line": 31, - "column": 24 + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 990, - "end": 994, + "start": 885, + "end": 889, "loc": { "start": { "line": 31, - "column": 15 + "column": 11 }, "end": { "line": 31, - "column": 19 + "column": 15 } } }, "property": { "type": "Identifier", - "start": 995, - "end": 999, + "start": 890, + "end": 894, "loc": { "start": { "line": 31, - "column": 20 + "column": 16 }, "end": { "line": 31, - "column": 24 + "column": 20 }, "identifierName": "http" }, @@ -910,16 +907,16 @@ }, "property": { "type": "Identifier", - "start": 1000, - "end": 1003, + "start": 895, + "end": 898, "loc": { "start": { "line": 31, - "column": 25 + "column": 21 }, "end": { "line": 31, - "column": 28 + "column": 24 }, "identifierName": "get" }, @@ -930,16 +927,16 @@ "arguments": [ { "type": "Identifier", - "start": 1004, - "end": 1012, + "start": 899, + "end": 907, "loc": { "start": { "line": 31, - "column": 29 + "column": 25 }, "end": { "line": 31, - "column": 37 + "column": 33 }, "identifierName": "ENDPOINT" }, @@ -947,31 +944,31 @@ }, { "type": "ObjectExpression", - "start": 1014, - "end": 1117, + "start": 909, + "end": 990, "loc": { "start": { "line": 31, - "column": 39 + "column": 35 }, "end": { "line": 35, - "column": 9 + "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 1028, - "end": 1040, + "start": 917, + "end": 929, "loc": { "start": { "line": 32, - "column": 12 + "column": 6 }, "end": { "line": 32, - "column": 24 + "column": 18 } }, "method": false, @@ -979,16 +976,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 1028, - "end": 1033, + "start": 917, + "end": 922, "loc": { "start": { "line": 32, - "column": 12 + "column": 6 }, "end": { "line": 32, - "column": 17 + "column": 11 }, "identifierName": "limit" }, @@ -996,16 +993,16 @@ }, "value": { "type": "Identifier", - "start": 1035, - "end": 1040, + "start": 924, + "end": 929, "loc": { "start": { "line": 32, - "column": 19 + "column": 13 }, "end": { "line": 32, - "column": 24 + "column": 18 }, "identifierName": "limit" }, @@ -1014,16 +1011,16 @@ }, { "type": "ObjectProperty", - "start": 1054, - "end": 1068, + "start": 937, + "end": 951, "loc": { "start": { "line": 33, - "column": 12 + "column": 6 }, "end": { "line": 33, - "column": 26 + "column": 20 } }, "method": false, @@ -1031,16 +1028,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 1054, - "end": 1060, + "start": 937, + "end": 943, "loc": { "start": { "line": 33, - "column": 12 + "column": 6 }, "end": { "line": 33, - "column": 18 + "column": 12 }, "identifierName": "offset" }, @@ -1048,16 +1045,16 @@ }, "value": { "type": "Identifier", - "start": 1062, - "end": 1068, + "start": 945, + "end": 951, "loc": { "start": { "line": 33, - "column": 20 + "column": 14 }, "end": { "line": 33, - "column": 26 + "column": 20 }, "identifierName": "offset" }, @@ -1066,16 +1063,16 @@ }, { "type": "ObjectProperty", - "start": 1082, - "end": 1107, + "start": 959, + "end": 984, "loc": { "start": { "line": 34, - "column": 12 + "column": 6 }, "end": { "line": 34, - "column": 37 + "column": 31 } }, "method": false, @@ -1083,16 +1080,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 1082, - "end": 1091, + "start": 959, + "end": 968, "loc": { "start": { "line": 34, - "column": 12 + "column": 6 }, "end": { "line": 34, - "column": 21 + "column": 15 }, "identifierName": "territory" }, @@ -1100,45 +1097,45 @@ }, "value": { "type": "MemberExpression", - "start": 1093, - "end": 1107, + "start": 970, + "end": 984, "loc": { "start": { "line": 34, - "column": 23 + "column": 17 }, "end": { "line": 34, - "column": 37 + "column": 31 } }, "object": { "type": "ThisExpression", - "start": 1093, - "end": 1097, + "start": 970, + "end": 974, "loc": { "start": { "line": 34, - "column": 23 + "column": 17 }, "end": { "line": 34, - "column": 27 + "column": 21 } } }, "property": { "type": "Identifier", - "start": 1098, - "end": 1107, + "start": 975, + "end": 984, "loc": { "start": { "line": 34, - "column": 28 + "column": 22 }, "end": { "line": 34, - "column": 37 + "column": 31 }, "identifierName": "territory" }, @@ -1159,17 +1156,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch all new release categories.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.fetchAllNewReleaseCategories()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories\n ", - "start": 490, - "end": 900, + "value": "*\n * Fetch all new release categories.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.fetchAllNewReleaseCategories();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories\n ", + "start": 454, + "end": 801, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 29, - "column": 7 + "column": 5 } } } @@ -1177,17 +1174,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Init the new release category fetcher.\n *\n * @param {string} category_id - The category ID.\n * @return {NewReleaseCategoryFetcher}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories-category_id\n ", - "start": 1130, - "end": 1427, + "value": "*\n * Init the new release category fetcher.\n *\n * @param {string} categoryID - The category ID.\n * @return {NewReleaseCategoryFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories-category_id\n ", + "start": 1000, + "end": 1236, "loc": { "start": { "line": 38, - "column": 4 + "column": 2 }, "end": { "line": 44, - "column": 7 + "column": 5 } } } @@ -1195,38 +1192,38 @@ }, { "type": "ClassMethod", - "start": 1432, - "end": 1533, + "start": 1239, + "end": 1321, "loc": { "start": { "line": 45, - "column": 4 + "column": 2 }, "end": { "line": 48, - "column": 5 + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 1432, - "end": 1445, + "start": 1239, + "end": 1252, "loc": { "start": { "line": 45, - "column": 4 + "column": 2 }, "end": { "line": 45, - "column": 17 + "column": 15 }, "identifierName": "setCategoryID" }, "name": "setCategoryID", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -1235,159 +1232,159 @@ "params": [ { "type": "Identifier", - "start": 1446, - "end": 1457, + "start": 1253, + "end": 1263, "loc": { "start": { "line": 45, - "column": 18 + "column": 16 }, "end": { "line": 45, - "column": 29 + "column": 26 }, - "identifierName": "category_id" + "identifierName": "categoryID" }, - "name": "category_id" + "name": "categoryID" } ], "body": { "type": "BlockStatement", - "start": 1459, - "end": 1533, + "start": 1265, + "end": 1321, "loc": { "start": { "line": 45, - "column": 31 + "column": 28 }, "end": { "line": 48, - "column": 5 + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 1469, - "end": 1499, + "start": 1271, + "end": 1300, "loc": { "start": { "line": 46, - "column": 8 + "column": 4 }, "end": { "line": 46, - "column": 38 + "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 1469, - "end": 1499, + "start": 1271, + "end": 1299, "loc": { "start": { "line": 46, - "column": 8 + "column": 4 }, "end": { "line": 46, - "column": 38 + "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1469, - "end": 1485, + "start": 1271, + "end": 1286, "loc": { "start": { "line": 46, - "column": 8 + "column": 4 }, "end": { "line": 46, - "column": 24 + "column": 19 } }, "object": { "type": "ThisExpression", - "start": 1469, - "end": 1473, + "start": 1271, + "end": 1275, "loc": { "start": { "line": 46, - "column": 8 + "column": 4 }, "end": { "line": 46, - "column": 12 + "column": 8 } } }, "property": { "type": "Identifier", - "start": 1474, - "end": 1485, + "start": 1276, + "end": 1286, "loc": { "start": { "line": 46, - "column": 13 + "column": 9 }, "end": { "line": 46, - "column": 24 + "column": 19 }, - "identifierName": "category_id" + "identifierName": "categoryID" }, - "name": "category_id" + "name": "categoryID" }, "computed": false }, "right": { "type": "Identifier", - "start": 1488, - "end": 1499, + "start": 1289, + "end": 1299, "loc": { "start": { "line": 46, - "column": 27 + "column": 22 }, "end": { "line": 46, - "column": 38 + "column": 32 }, - "identifierName": "category_id" + "identifierName": "categoryID" }, - "name": "category_id" + "name": "categoryID" } } }, { "type": "ReturnStatement", - "start": 1516, - "end": 1527, + "start": 1305, + "end": 1317, "loc": { "start": { "line": 47, - "column": 8 + "column": 4 }, "end": { "line": 47, - "column": 19 + "column": 16 } }, "argument": { "type": "ThisExpression", - "start": 1523, - "end": 1527, + "start": 1312, + "end": 1316, "loc": { "start": { "line": 47, - "column": 15 + "column": 11 }, "end": { "line": 47, - "column": 19 + "column": 15 } } } @@ -1399,17 +1396,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Init the new release category fetcher.\n *\n * @param {string} category_id - The category ID.\n * @return {NewReleaseCategoryFetcher}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories-category_id\n ", - "start": 1130, - "end": 1427, + "value": "*\n * Init the new release category fetcher.\n *\n * @param {string} categoryID - The category ID.\n * @return {NewReleaseCategoryFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories-category_id\n ", + "start": 1000, + "end": 1236, "loc": { "start": { "line": 38, - "column": 4 + "column": 2 }, "end": { "line": 44, - "column": 7 + "column": 5 } } } @@ -1417,17 +1414,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch metadata of the new release category you set.\n *\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories-category_id\n ", - "start": 1539, - "end": 1875, + "value": "*\n * Fetch metadata of the new release category you set.\n *\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories-category_id\n ", + "start": 1325, + "end": 1602, "loc": { "start": { "line": 50, - "column": 4 + "column": 2 }, "end": { "line": 56, - "column": 7 + "column": 5 } } } @@ -1435,38 +1432,38 @@ }, { "type": "ClassMethod", - "start": 1880, - "end": 1990, + "start": 1605, + "end": 1727, "loc": { "start": { "line": 57, - "column": 4 + "column": 2 }, "end": { - "line": 59, - "column": 5 + "line": 61, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 1880, - "end": 1893, + "start": 1605, + "end": 1618, "loc": { "start": { "line": 57, - "column": 4 + "column": 2 }, "end": { "line": 57, - "column": 17 + "column": 15 }, "identifierName": "fetchMetadata" }, "name": "fetchMetadata", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -1475,102 +1472,102 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1896, - "end": 1990, + "start": 1621, + "end": 1727, "loc": { "start": { "line": 57, - "column": 20 + "column": 18 }, "end": { - "line": 59, - "column": 5 + "line": 61, + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 1906, - "end": 1984, + "start": 1627, + "end": 1723, "loc": { "start": { "line": 58, - "column": 8 + "column": 4 }, "end": { - "line": 58, - "column": 86 + "line": 60, + "column": 7 } }, "argument": { "type": "CallExpression", - "start": 1913, - "end": 1984, + "start": 1634, + "end": 1722, "loc": { "start": { "line": 58, - "column": 15 + "column": 11 }, "end": { - "line": 58, - "column": 86 + "line": 60, + "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 1913, - "end": 1926, + "start": 1634, + "end": 1647, "loc": { "start": { "line": 58, - "column": 15 + "column": 11 }, "end": { "line": 58, - "column": 28 + "column": 24 } }, "object": { "type": "MemberExpression", - "start": 1913, - "end": 1922, + "start": 1634, + "end": 1643, "loc": { "start": { "line": 58, - "column": 15 + "column": 11 }, "end": { "line": 58, - "column": 24 + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 1913, - "end": 1917, + "start": 1634, + "end": 1638, "loc": { "start": { "line": 58, - "column": 15 + "column": 11 }, "end": { "line": 58, - "column": 19 + "column": 15 } } }, "property": { "type": "Identifier", - "start": 1918, - "end": 1922, + "start": 1639, + "end": 1643, "loc": { "start": { "line": 58, - "column": 20 + "column": 16 }, "end": { "line": 58, - "column": 24 + "column": 20 }, "identifierName": "http" }, @@ -1580,16 +1577,16 @@ }, "property": { "type": "Identifier", - "start": 1923, - "end": 1926, + "start": 1644, + "end": 1647, "loc": { "start": { "line": 58, - "column": 25 + "column": 21 }, "end": { "line": 58, - "column": 28 + "column": 24 }, "identifierName": "get" }, @@ -1600,112 +1597,148 @@ "arguments": [ { "type": "BinaryExpression", - "start": 1927, - "end": 1954, + "start": 1648, + "end": 1680, "loc": { "start": { "line": 58, - "column": 29 + "column": 25 }, "end": { "line": 58, - "column": 56 + "column": 57 } }, "left": { - "type": "Identifier", - "start": 1927, - "end": 1935, + "type": "BinaryExpression", + "start": 1648, + "end": 1662, "loc": { "start": { "line": 58, - "column": 29 + "column": 25 }, "end": { "line": 58, - "column": 37 + "column": 39 + } + }, + "left": { + "type": "Identifier", + "start": 1648, + "end": 1656, + "loc": { + "start": { + "line": 58, + "column": 25 + }, + "end": { + "line": 58, + "column": 33 + }, + "identifierName": "ENDPOINT" }, - "identifierName": "ENDPOINT" + "name": "ENDPOINT" }, - "name": "ENDPOINT" + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 1659, + "end": 1662, + "loc": { + "start": { + "line": 58, + "column": 36 + }, + "end": { + "line": 58, + "column": 39 + } + }, + "extra": { + "rawValue": "/", + "raw": "'/'" + }, + "value": "/" + } }, "operator": "+", "right": { "type": "MemberExpression", - "start": 1938, - "end": 1954, + "start": 1665, + "end": 1680, "loc": { "start": { "line": 58, - "column": 40 + "column": 42 }, "end": { "line": 58, - "column": 56 + "column": 57 } }, "object": { "type": "ThisExpression", - "start": 1938, - "end": 1942, + "start": 1665, + "end": 1669, "loc": { "start": { "line": 58, - "column": 40 + "column": 42 }, "end": { "line": 58, - "column": 44 + "column": 46 } } }, "property": { "type": "Identifier", - "start": 1943, - "end": 1954, + "start": 1670, + "end": 1680, "loc": { "start": { "line": 58, - "column": 45 + "column": 47 }, "end": { "line": 58, - "column": 56 + "column": 57 }, - "identifierName": "category_id" + "identifierName": "categoryID" }, - "name": "category_id" + "name": "categoryID" }, "computed": false } }, { "type": "ObjectExpression", - "start": 1956, - "end": 1983, + "start": 1682, + "end": 1721, "loc": { "start": { "line": 58, - "column": 58 + "column": 59 }, "end": { - "line": 58, - "column": 85 + "line": 60, + "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 1957, - "end": 1982, + "start": 1690, + "end": 1715, "loc": { "start": { - "line": 58, - "column": 59 + "line": 59, + "column": 6 }, "end": { - "line": 58, - "column": 84 + "line": 59, + "column": 31 } }, "method": false, @@ -1713,16 +1746,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 1957, - "end": 1966, + "start": 1690, + "end": 1699, "loc": { "start": { - "line": 58, - "column": 59 + "line": 59, + "column": 6 }, "end": { - "line": 58, - "column": 68 + "line": 59, + "column": 15 }, "identifierName": "territory" }, @@ -1730,45 +1763,45 @@ }, "value": { "type": "MemberExpression", - "start": 1968, - "end": 1982, + "start": 1701, + "end": 1715, "loc": { "start": { - "line": 58, - "column": 70 + "line": 59, + "column": 17 }, "end": { - "line": 58, - "column": 84 + "line": 59, + "column": 31 } }, "object": { "type": "ThisExpression", - "start": 1968, - "end": 1972, + "start": 1701, + "end": 1705, "loc": { "start": { - "line": 58, - "column": 70 + "line": 59, + "column": 17 }, "end": { - "line": 58, - "column": 74 + "line": 59, + "column": 21 } } }, "property": { "type": "Identifier", - "start": 1973, - "end": 1982, + "start": 1706, + "end": 1715, "loc": { "start": { - "line": 58, - "column": 75 + "line": 59, + "column": 22 }, "end": { - "line": 58, - "column": 84 + "line": 59, + "column": 31 }, "identifierName": "territory" }, @@ -1789,17 +1822,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch metadata of the new release category you set.\n *\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories-category_id\n ", - "start": 1539, - "end": 1875, + "value": "*\n * Fetch metadata of the new release category you set.\n *\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories-category_id\n ", + "start": 1325, + "end": 1602, "loc": { "start": { "line": 50, - "column": 4 + "column": 2 }, "end": { "line": 56, - "column": 7 + "column": 5 } } } @@ -1807,17 +1840,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch albums of the new release category with the category fetcher you init. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchAlbums()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories-category_id-albums\n ", - "start": 1996, - "end": 2509, + "value": "*\n * Fetch albums of the new release category with the category fetcher you init. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchAlbums();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories-category_id-albums\n ", + "start": 1731, + "end": 2181, "loc": { "start": { - "line": 61, - "column": 4 + "line": 63, + "column": 2 }, "end": { - "line": 69, - "column": 7 + "line": 71, + "column": 5 } } } @@ -1825,38 +1858,38 @@ }, { "type": "ClassMethod", - "start": 2514, - "end": 2747, + "start": 2184, + "end": 2395, "loc": { "start": { - "line": 70, - "column": 4 + "line": 72, + "column": 2 }, "end": { - "line": 76, - "column": 5 + "line": 78, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 2514, - "end": 2525, + "start": 2184, + "end": 2195, "loc": { "start": { - "line": 70, - "column": 4 + "line": 72, + "column": 2 }, "end": { - "line": 70, - "column": 15 + "line": 72, + "column": 13 }, "identifierName": "fetchAlbums" }, "name": "fetchAlbums", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -1865,30 +1898,30 @@ "params": [ { "type": "AssignmentPattern", - "start": 2526, - "end": 2543, + "start": 2196, + "end": 2213, "loc": { "start": { - "line": 70, - "column": 16 + "line": 72, + "column": 14 }, "end": { - "line": 70, - "column": 33 + "line": 72, + "column": 31 } }, "left": { "type": "Identifier", - "start": 2526, - "end": 2531, + "start": 2196, + "end": 2201, "loc": { "start": { - "line": 70, - "column": 16 + "line": 72, + "column": 14 }, "end": { - "line": 70, - "column": 21 + "line": 72, + "column": 19 }, "identifierName": "limit" }, @@ -1896,16 +1929,16 @@ }, "right": { "type": "Identifier", - "start": 2534, - "end": 2543, + "start": 2204, + "end": 2213, "loc": { "start": { - "line": 70, - "column": 24 + "line": 72, + "column": 22 }, "end": { - "line": 70, - "column": 33 + "line": 72, + "column": 31 }, "identifierName": "undefined" }, @@ -1914,30 +1947,30 @@ }, { "type": "AssignmentPattern", - "start": 2545, - "end": 2563, + "start": 2215, + "end": 2233, "loc": { "start": { - "line": 70, - "column": 35 + "line": 72, + "column": 33 }, "end": { - "line": 70, - "column": 53 + "line": 72, + "column": 51 } }, "left": { "type": "Identifier", - "start": 2545, - "end": 2551, + "start": 2215, + "end": 2221, "loc": { "start": { - "line": 70, - "column": 35 + "line": 72, + "column": 33 }, "end": { - "line": 70, - "column": 41 + "line": 72, + "column": 39 }, "identifierName": "offset" }, @@ -1945,16 +1978,16 @@ }, "right": { "type": "Identifier", - "start": 2554, - "end": 2563, + "start": 2224, + "end": 2233, "loc": { "start": { - "line": 70, - "column": 44 + "line": 72, + "column": 42 }, "end": { - "line": 70, - "column": 53 + "line": 72, + "column": 51 }, "identifierName": "undefined" }, @@ -1964,102 +1997,102 @@ ], "body": { "type": "BlockStatement", - "start": 2565, - "end": 2747, + "start": 2235, + "end": 2395, "loc": { "start": { - "line": 70, - "column": 55 + "line": 72, + "column": 53 }, "end": { - "line": 76, - "column": 5 + "line": 78, + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 2575, - "end": 2741, + "start": 2241, + "end": 2391, "loc": { "start": { - "line": 71, - "column": 8 + "line": 73, + "column": 4 }, "end": { - "line": 75, - "column": 10 + "line": 77, + "column": 7 } }, "argument": { "type": "CallExpression", - "start": 2582, - "end": 2741, + "start": 2248, + "end": 2390, "loc": { "start": { - "line": 71, - "column": 15 + "line": 73, + "column": 11 }, "end": { - "line": 75, - "column": 10 + "line": 77, + "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 2582, - "end": 2595, + "start": 2248, + "end": 2261, "loc": { "start": { - "line": 71, - "column": 15 + "line": 73, + "column": 11 }, "end": { - "line": 71, - "column": 28 + "line": 73, + "column": 24 } }, "object": { "type": "MemberExpression", - "start": 2582, - "end": 2591, + "start": 2248, + "end": 2257, "loc": { "start": { - "line": 71, - "column": 15 + "line": 73, + "column": 11 }, "end": { - "line": 71, - "column": 24 + "line": 73, + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 2582, - "end": 2586, + "start": 2248, + "end": 2252, "loc": { "start": { - "line": 71, - "column": 15 + "line": 73, + "column": 11 }, "end": { - "line": 71, - "column": 19 + "line": 73, + "column": 15 } } }, "property": { "type": "Identifier", - "start": 2587, - "end": 2591, + "start": 2253, + "end": 2257, "loc": { "start": { - "line": 71, - "column": 20 + "line": 73, + "column": 16 }, "end": { - "line": 71, - "column": 24 + "line": 73, + "column": 20 }, "identifierName": "http" }, @@ -2069,16 +2102,16 @@ }, "property": { "type": "Identifier", - "start": 2592, - "end": 2595, + "start": 2258, + "end": 2261, "loc": { "start": { - "line": 71, - "column": 25 + "line": 73, + "column": 21 }, "end": { - "line": 71, - "column": 28 + "line": 73, + "column": 24 }, "identifierName": "get" }, @@ -2089,95 +2122,131 @@ "arguments": [ { "type": "BinaryExpression", - "start": 2596, - "end": 2635, + "start": 2262, + "end": 2306, "loc": { "start": { - "line": 71, - "column": 29 + "line": 73, + "column": 25 }, "end": { - "line": 71, - "column": 68 + "line": 73, + "column": 69 } }, "left": { "type": "BinaryExpression", - "start": 2596, - "end": 2623, + "start": 2262, + "end": 2294, "loc": { "start": { - "line": 71, - "column": 29 + "line": 73, + "column": 25 }, "end": { - "line": 71, - "column": 56 + "line": 73, + "column": 57 } }, "left": { - "type": "Identifier", - "start": 2596, - "end": 2604, + "type": "BinaryExpression", + "start": 2262, + "end": 2276, "loc": { "start": { - "line": 71, - "column": 29 + "line": 73, + "column": 25 }, "end": { - "line": 71, - "column": 37 + "line": 73, + "column": 39 + } + }, + "left": { + "type": "Identifier", + "start": 2262, + "end": 2270, + "loc": { + "start": { + "line": 73, + "column": 25 + }, + "end": { + "line": 73, + "column": 33 + }, + "identifierName": "ENDPOINT" }, - "identifierName": "ENDPOINT" + "name": "ENDPOINT" }, - "name": "ENDPOINT" + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 2273, + "end": 2276, + "loc": { + "start": { + "line": 73, + "column": 36 + }, + "end": { + "line": 73, + "column": 39 + } + }, + "extra": { + "rawValue": "/", + "raw": "'/'" + }, + "value": "/" + } }, "operator": "+", "right": { "type": "MemberExpression", - "start": 2607, - "end": 2623, + "start": 2279, + "end": 2294, "loc": { "start": { - "line": 71, - "column": 40 + "line": 73, + "column": 42 }, "end": { - "line": 71, - "column": 56 + "line": 73, + "column": 57 } }, "object": { "type": "ThisExpression", - "start": 2607, - "end": 2611, + "start": 2279, + "end": 2283, "loc": { "start": { - "line": 71, - "column": 40 + "line": 73, + "column": 42 }, "end": { - "line": 71, - "column": 44 + "line": 73, + "column": 46 } } }, "property": { "type": "Identifier", - "start": 2612, - "end": 2623, + "start": 2284, + "end": 2294, "loc": { "start": { - "line": 71, - "column": 45 + "line": 73, + "column": 47 }, "end": { - "line": 71, - "column": 56 + "line": 73, + "column": 57 }, - "identifierName": "category_id" + "identifierName": "categoryID" }, - "name": "category_id" + "name": "categoryID" }, "computed": false } @@ -2185,16 +2254,16 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 2626, - "end": 2635, + "start": 2297, + "end": 2306, "loc": { "start": { - "line": 71, - "column": 59 + "line": 73, + "column": 60 }, "end": { - "line": 71, - "column": 68 + "line": 73, + "column": 69 } }, "extra": { @@ -2206,31 +2275,31 @@ }, { "type": "ObjectExpression", - "start": 2637, - "end": 2740, + "start": 2308, + "end": 2389, "loc": { "start": { - "line": 71, - "column": 70 + "line": 73, + "column": 71 }, "end": { - "line": 75, - "column": 9 + "line": 77, + "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 2651, - "end": 2676, + "start": 2316, + "end": 2341, "loc": { "start": { - "line": 72, - "column": 12 + "line": 74, + "column": 6 }, "end": { - "line": 72, - "column": 37 + "line": 74, + "column": 31 } }, "method": false, @@ -2238,16 +2307,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 2651, - "end": 2660, + "start": 2316, + "end": 2325, "loc": { "start": { - "line": 72, - "column": 12 + "line": 74, + "column": 6 }, "end": { - "line": 72, - "column": 21 + "line": 74, + "column": 15 }, "identifierName": "territory" }, @@ -2255,45 +2324,45 @@ }, "value": { "type": "MemberExpression", - "start": 2662, - "end": 2676, + "start": 2327, + "end": 2341, "loc": { "start": { - "line": 72, - "column": 23 + "line": 74, + "column": 17 }, "end": { - "line": 72, - "column": 37 + "line": 74, + "column": 31 } }, "object": { "type": "ThisExpression", - "start": 2662, - "end": 2666, + "start": 2327, + "end": 2331, "loc": { "start": { - "line": 72, - "column": 23 + "line": 74, + "column": 17 }, "end": { - "line": 72, - "column": 27 + "line": 74, + "column": 21 } } }, "property": { "type": "Identifier", - "start": 2667, - "end": 2676, + "start": 2332, + "end": 2341, "loc": { "start": { - "line": 72, - "column": 28 + "line": 74, + "column": 22 }, "end": { - "line": 72, - "column": 37 + "line": 74, + "column": 31 }, "identifierName": "territory" }, @@ -2304,16 +2373,16 @@ }, { "type": "ObjectProperty", - "start": 2690, - "end": 2702, + "start": 2349, + "end": 2361, "loc": { "start": { - "line": 73, - "column": 12 + "line": 75, + "column": 6 }, "end": { - "line": 73, - "column": 24 + "line": 75, + "column": 18 } }, "method": false, @@ -2321,16 +2390,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 2690, - "end": 2695, + "start": 2349, + "end": 2354, "loc": { "start": { - "line": 73, - "column": 12 + "line": 75, + "column": 6 }, "end": { - "line": 73, - "column": 17 + "line": 75, + "column": 11 }, "identifierName": "limit" }, @@ -2338,16 +2407,16 @@ }, "value": { "type": "Identifier", - "start": 2697, - "end": 2702, + "start": 2356, + "end": 2361, "loc": { "start": { - "line": 73, - "column": 19 + "line": 75, + "column": 13 }, "end": { - "line": 73, - "column": 24 + "line": 75, + "column": 18 }, "identifierName": "limit" }, @@ -2356,16 +2425,16 @@ }, { "type": "ObjectProperty", - "start": 2716, - "end": 2730, + "start": 2369, + "end": 2383, "loc": { "start": { - "line": 74, - "column": 12 + "line": 76, + "column": 6 }, "end": { - "line": 74, - "column": 26 + "line": 76, + "column": 20 } }, "method": false, @@ -2373,16 +2442,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 2716, - "end": 2722, + "start": 2369, + "end": 2375, "loc": { "start": { - "line": 74, - "column": 12 + "line": 76, + "column": 6 }, "end": { - "line": 74, - "column": 18 + "line": 76, + "column": 12 }, "identifierName": "offset" }, @@ -2390,16 +2459,16 @@ }, "value": { "type": "Identifier", - "start": 2724, - "end": 2730, + "start": 2377, + "end": 2383, "loc": { "start": { - "line": 74, - "column": 20 + "line": 76, + "column": 14 }, "end": { - "line": 74, - "column": 26 + "line": 76, + "column": 20 }, "identifierName": "offset" }, @@ -2417,17 +2486,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch albums of the new release category with the category fetcher you init. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchAlbums()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories-category_id-albums\n ", - "start": 1996, - "end": 2509, + "value": "*\n * Fetch albums of the new release category with the category fetcher you init. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchAlbums();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories-category_id-albums\n ", + "start": 1731, + "end": 2181, "loc": { "start": { - "line": 61, - "column": 4 + "line": 63, + "column": 2 }, "end": { - "line": 69, - "column": 7 + "line": 71, + "column": 5 } } } @@ -2438,9 +2507,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * List categories of new release albums.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories\n ", - "start": 96, - "end": 228, + "value": "*\n * List categories of new release albums.\n * @see https://docs-en.kkbox.codes/v1.1/reference#new-release-categories\n ", + "start": 100, + "end": 223, "loc": { "start": { "line": 4, @@ -2458,9 +2527,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * List categories of new release albums.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories\n ", - "start": 96, - "end": 228, + "value": "*\n * List categories of new release albums.\n * @see https://docs-en.kkbox.codes/v1.1/reference#new-release-categories\n ", + "start": 100, + "end": 223, "loc": { "start": { "line": 4, @@ -2480,9 +2549,9 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * List categories of new release albums.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories\n ", - "start": 96, - "end": 228, + "value": "*\n * List categories of new release albums.\n * @see https://docs-en.kkbox.codes/v1.1/reference#new-release-categories\n ", + "start": 100, + "end": 223, "loc": { "start": { "line": 4, @@ -2496,97 +2565,97 @@ }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 298, - "end": 324, + "value": "*\n * @ignore\n ", + "start": 291, + "end": 313, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 407, - "end": 441, + "value": "*\n * @ignore\n ", + "start": 387, + "end": 413, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch all new release categories.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.fetchAllNewReleaseCategories()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories\n ", - "start": 490, - "end": 900, + "value": "*\n * Fetch all new release categories.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.fetchAllNewReleaseCategories();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories\n ", + "start": 454, + "end": 801, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 29, - "column": 7 + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Init the new release category fetcher.\n *\n * @param {string} category_id - The category ID.\n * @return {NewReleaseCategoryFetcher}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories-category_id\n ", - "start": 1130, - "end": 1427, + "value": "*\n * Init the new release category fetcher.\n *\n * @param {string} categoryID - The category ID.\n * @return {NewReleaseCategoryFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories-category_id\n ", + "start": 1000, + "end": 1236, "loc": { "start": { "line": 38, - "column": 4 + "column": 2 }, "end": { "line": 44, - "column": 7 + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch metadata of the new release category you set.\n *\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories-category_id\n ", - "start": 1539, - "end": 1875, + "value": "*\n * Fetch metadata of the new release category you set.\n *\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories-category_id\n ", + "start": 1325, + "end": 1602, "loc": { "start": { "line": 50, - "column": 4 + "column": 2 }, "end": { "line": 56, - "column": 7 + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch albums of the new release category with the category fetcher you init. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchAlbums()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories-category_id-albums\n ", - "start": 1996, - "end": 2509, + "value": "*\n * Fetch albums of the new release category with the category fetcher you init. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchAlbums();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories-category_id-albums\n ", + "start": 1731, + "end": 2181, "loc": { "start": { - "line": 61, - "column": 4 + "line": 63, + "column": 2 }, "end": { - "line": 69, - "column": 7 + "line": 71, + "column": 5 } } } @@ -2597,7 +2666,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2658,16 +2727,16 @@ "binop": null }, "value": "NEW_RELEASE_CATEGORIES", - "start": 8, - "end": 30, + "start": 9, + "end": 31, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 30 + "column": 31 } } }, @@ -2684,16 +2753,16 @@ "binop": null }, "value": "as", - "start": 31, - "end": 33, + "start": 32, + "end": 34, "loc": { "start": { "line": 1, - "column": 31 + "column": 32 }, "end": { "line": 1, - "column": 33 + "column": 34 } } }, @@ -2710,16 +2779,16 @@ "binop": null }, "value": "ENDPOINT", - "start": 34, - "end": 42, + "start": 35, + "end": 43, "loc": { "start": { "line": 1, - "column": 34 + "column": 35 }, "end": { "line": 1, - "column": 42 + "column": 43 } } }, @@ -2735,16 +2804,16 @@ "postfix": false, "binop": null }, - "start": 42, - "end": 43, + "start": 44, + "end": 45, "loc": { "start": { "line": 1, - "column": 42 + "column": 44 }, "end": { "line": 1, - "column": 43 + "column": 45 } } }, @@ -2761,16 +2830,16 @@ "binop": null }, "value": "from", - "start": 44, - "end": 48, + "start": 46, + "end": 50, "loc": { "start": { "line": 1, - "column": 44 + "column": 46 }, "end": { "line": 1, - "column": 48 + "column": 50 } } }, @@ -2788,16 +2857,42 @@ "updateContext": null }, "value": "../Endpoint", - "start": 49, - "end": 62, + "start": 51, + "end": 64, "loc": { "start": { "line": 1, - "column": 49 + "column": 51 }, "end": { "line": 1, - "column": 62 + "column": 64 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 64, + "end": 65, + "loc": { + "start": { + "line": 1, + "column": 64 + }, + "end": { + "line": 1, + "column": 65 } } }, @@ -2806,7 +2901,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2816,8 +2911,8 @@ "updateContext": null }, "value": "import", - "start": 63, - "end": 69, + "start": 66, + "end": 72, "loc": { "start": { "line": 2, @@ -2842,8 +2937,8 @@ "binop": null }, "value": "Fetcher", - "start": 70, - "end": 77, + "start": 73, + "end": 80, "loc": { "start": { "line": 2, @@ -2868,8 +2963,8 @@ "binop": null }, "value": "from", - "start": 78, - "end": 82, + "start": 81, + "end": 85, "loc": { "start": { "line": 2, @@ -2895,8 +2990,8 @@ "updateContext": null }, "value": "./Fetcher", - "start": 83, - "end": 94, + "start": 86, + "end": 97, "loc": { "start": { "line": 2, @@ -2908,11 +3003,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 97, + "end": 98, + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 32 + } + } + }, { "type": "CommentBlock", - "value": "*\n * List categories of new release albums.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories\n ", - "start": 96, - "end": 228, + "value": "*\n * List categories of new release albums.\n * @see https://docs-en.kkbox.codes/v1.1/reference#new-release-categories\n ", + "start": 100, + "end": 223, "loc": { "start": { "line": 4, @@ -2939,8 +3060,8 @@ "updateContext": null }, "value": "export", - "start": 229, - "end": 235, + "start": 224, + "end": 230, "loc": { "start": { "line": 8, @@ -2967,8 +3088,8 @@ "updateContext": null }, "value": "default", - "start": 236, - "end": 243, + "start": 231, + "end": 238, "loc": { "start": { "line": 8, @@ -2995,8 +3116,8 @@ "updateContext": null }, "value": "class", - "start": 244, - "end": 249, + "start": 239, + "end": 244, "loc": { "start": { "line": 8, @@ -3021,8 +3142,8 @@ "binop": null }, "value": "NewReleaseCategoryFetcher", - "start": 250, - "end": 275, + "start": 245, + "end": 270, "loc": { "start": { "line": 8, @@ -3049,8 +3170,8 @@ "updateContext": null }, "value": "extends", - "start": 276, - "end": 283, + "start": 271, + "end": 278, "loc": { "start": { "line": 8, @@ -3075,8 +3196,8 @@ "binop": null }, "value": "Fetcher", - "start": 284, - "end": 291, + "start": 279, + "end": 286, "loc": { "start": { "line": 8, @@ -3100,8 +3221,8 @@ "postfix": false, "binop": null }, - "start": 292, - "end": 293, + "start": 287, + "end": 288, "loc": { "start": { "line": 8, @@ -3115,17 +3236,17 @@ }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 298, - "end": 324, + "value": "*\n * @ignore\n ", + "start": 291, + "end": 313, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } }, @@ -3142,16 +3263,16 @@ "binop": null }, "value": "constructor", - "start": 329, - "end": 340, + "start": 316, + "end": 327, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 12, - "column": 15 + "column": 13 } } }, @@ -3167,16 +3288,16 @@ "postfix": false, "binop": null }, - "start": 340, - "end": 341, + "start": 327, + "end": 328, "loc": { "start": { "line": 12, - "column": 15 + "column": 13 }, "end": { "line": 12, - "column": 16 + "column": 14 } } }, @@ -3193,16 +3314,16 @@ "binop": null }, "value": "http", - "start": 341, - "end": 345, + "start": 328, + "end": 332, "loc": { "start": { "line": 12, - "column": 16 + "column": 14 }, "end": { "line": 12, - "column": 20 + "column": 18 } } }, @@ -3219,16 +3340,16 @@ "binop": null, "updateContext": null }, - "start": 345, - "end": 346, + "start": 332, + "end": 333, "loc": { "start": { "line": 12, - "column": 20 + "column": 18 }, "end": { "line": 12, - "column": 21 + "column": 19 } } }, @@ -3245,16 +3366,16 @@ "binop": null }, "value": "territory", - "start": 347, - "end": 356, + "start": 334, + "end": 343, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 31 + "column": 29 } } }, @@ -3272,16 +3393,16 @@ "updateContext": null }, "value": "=", - "start": 357, - "end": 358, + "start": 344, + "end": 345, "loc": { "start": { "line": 12, - "column": 32 + "column": 30 }, "end": { "line": 12, - "column": 33 + "column": 31 } } }, @@ -3299,16 +3420,16 @@ "updateContext": null }, "value": "TW", - "start": 359, - "end": 363, + "start": 346, + "end": 350, "loc": { "start": { "line": 12, - "column": 34 + "column": 32 }, "end": { "line": 12, - "column": 38 + "column": 36 } } }, @@ -3324,16 +3445,16 @@ "postfix": false, "binop": null }, - "start": 363, - "end": 364, + "start": 350, + "end": 351, "loc": { "start": { "line": 12, - "column": 38 + "column": 36 }, "end": { "line": 12, - "column": 39 + "column": 37 } } }, @@ -3349,16 +3470,16 @@ "postfix": false, "binop": null }, - "start": 365, - "end": 366, + "start": 352, + "end": 353, "loc": { "start": { "line": 12, - "column": 40 + "column": 38 }, "end": { "line": 12, - "column": 41 + "column": 39 } } }, @@ -3377,16 +3498,16 @@ "updateContext": null }, "value": "super", - "start": 375, - "end": 380, + "start": 358, + "end": 363, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 13 + "column": 9 } } }, @@ -3402,16 +3523,16 @@ "postfix": false, "binop": null }, - "start": 380, - "end": 381, + "start": 363, + "end": 364, "loc": { "start": { "line": 13, - "column": 13 + "column": 9 }, "end": { "line": 13, - "column": 14 + "column": 10 } } }, @@ -3428,16 +3549,16 @@ "binop": null }, "value": "http", - "start": 381, - "end": 385, + "start": 364, + "end": 368, "loc": { "start": { "line": 13, - "column": 14 + "column": 10 }, "end": { "line": 13, - "column": 18 + "column": 14 } } }, @@ -3454,16 +3575,16 @@ "binop": null, "updateContext": null }, - "start": 385, - "end": 386, + "start": 368, + "end": 369, "loc": { "start": { "line": 13, - "column": 18 + "column": 14 }, "end": { "line": 13, - "column": 19 + "column": 15 } } }, @@ -3480,16 +3601,16 @@ "binop": null }, "value": "territory", - "start": 387, - "end": 396, + "start": 370, + "end": 379, "loc": { "start": { "line": 13, - "column": 20 + "column": 16 }, "end": { "line": 13, - "column": 29 + "column": 25 } } }, @@ -3505,32 +3626,58 @@ "postfix": false, "binop": null }, - "start": 396, - "end": 397, + "start": 379, + "end": 380, "loc": { "start": { "line": 13, - "column": 29 + "column": 25 }, "end": { "line": 13, - "column": 30 + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 380, + "end": 381, + "loc": { + "start": { + "line": 13, + "column": 26 + }, + "end": { + "line": 13, + "column": 27 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 407, - "end": 441, + "value": "*\n * @ignore\n ", + "start": 387, + "end": 413, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } }, @@ -3549,16 +3696,16 @@ "updateContext": null }, "value": "this", - "start": 450, - "end": 454, + "start": 418, + "end": 422, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 12 + "column": 8 } } }, @@ -3575,16 +3722,16 @@ "binop": null, "updateContext": null }, - "start": 454, - "end": 455, + "start": 422, + "end": 423, "loc": { "start": { "line": 18, - "column": 12 + "column": 8 }, "end": { "line": 18, - "column": 13 + "column": 9 } } }, @@ -3600,17 +3747,17 @@ "postfix": false, "binop": null }, - "value": "category_id", - "start": 455, - "end": 466, + "value": "categoryID", + "start": 423, + "end": 433, "loc": { "start": { "line": 18, - "column": 13 + "column": 9 }, "end": { "line": 18, - "column": 24 + "column": 19 } } }, @@ -3628,16 +3775,16 @@ "updateContext": null }, "value": "=", - "start": 467, - "end": 468, + "start": 434, + "end": 435, "loc": { "start": { "line": 18, - "column": 25 + "column": 20 }, "end": { "line": 18, - "column": 26 + "column": 21 } } }, @@ -3654,16 +3801,42 @@ "binop": null }, "value": "undefined", - "start": 469, - "end": 478, + "start": 436, + "end": 445, "loc": { "start": { "line": 18, - "column": 27 + "column": 22 }, "end": { "line": 18, - "column": 36 + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 445, + "end": 446, + "loc": { + "start": { + "line": 18, + "column": 31 + }, + "end": { + "line": 18, + "column": 32 } } }, @@ -3679,32 +3852,32 @@ "postfix": false, "binop": null }, - "start": 483, - "end": 484, + "start": 449, + "end": 450, "loc": { "start": { "line": 19, - "column": 4 + "column": 2 }, "end": { "line": 19, - "column": 5 + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch all new release categories.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.fetchAllNewReleaseCategories()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories\n ", - "start": 490, - "end": 900, + "value": "*\n * Fetch all new release categories.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.fetchAllNewReleaseCategories();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories\n ", + "start": 454, + "end": 801, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 29, - "column": 7 + "column": 5 } } }, @@ -3721,16 +3894,16 @@ "binop": null }, "value": "fetchAllNewReleaseCategories", - "start": 905, - "end": 933, + "start": 804, + "end": 832, "loc": { "start": { "line": 30, - "column": 4 + "column": 2 }, "end": { "line": 30, - "column": 32 + "column": 30 } } }, @@ -3746,16 +3919,16 @@ "postfix": false, "binop": null }, - "start": 933, - "end": 934, + "start": 832, + "end": 833, "loc": { "start": { "line": 30, - "column": 32 + "column": 30 }, "end": { "line": 30, - "column": 33 + "column": 31 } } }, @@ -3772,16 +3945,16 @@ "binop": null }, "value": "limit", - "start": 934, - "end": 939, + "start": 833, + "end": 838, "loc": { "start": { "line": 30, - "column": 33 + "column": 31 }, "end": { "line": 30, - "column": 38 + "column": 36 } } }, @@ -3799,16 +3972,16 @@ "updateContext": null }, "value": "=", - "start": 940, - "end": 941, + "start": 839, + "end": 840, "loc": { "start": { "line": 30, - "column": 39 + "column": 37 }, "end": { "line": 30, - "column": 40 + "column": 38 } } }, @@ -3825,16 +3998,16 @@ "binop": null }, "value": "undefined", - "start": 942, - "end": 951, + "start": 841, + "end": 850, "loc": { "start": { "line": 30, - "column": 41 + "column": 39 }, "end": { "line": 30, - "column": 50 + "column": 48 } } }, @@ -3851,16 +4024,16 @@ "binop": null, "updateContext": null }, - "start": 951, - "end": 952, + "start": 850, + "end": 851, "loc": { "start": { "line": 30, - "column": 50 + "column": 48 }, "end": { "line": 30, - "column": 51 + "column": 49 } } }, @@ -3877,16 +4050,16 @@ "binop": null }, "value": "offset", - "start": 953, - "end": 959, + "start": 852, + "end": 858, "loc": { "start": { "line": 30, - "column": 52 + "column": 50 }, "end": { "line": 30, - "column": 58 + "column": 56 } } }, @@ -3904,16 +4077,16 @@ "updateContext": null }, "value": "=", - "start": 960, - "end": 961, + "start": 859, + "end": 860, "loc": { "start": { "line": 30, - "column": 59 + "column": 57 }, "end": { "line": 30, - "column": 60 + "column": 58 } } }, @@ -3930,16 +4103,16 @@ "binop": null }, "value": "undefined", - "start": 962, - "end": 971, + "start": 861, + "end": 870, "loc": { "start": { "line": 30, - "column": 61 + "column": 59 }, "end": { "line": 30, - "column": 70 + "column": 68 } } }, @@ -3955,16 +4128,16 @@ "postfix": false, "binop": null }, - "start": 971, - "end": 972, + "start": 870, + "end": 871, "loc": { "start": { "line": 30, - "column": 70 + "column": 68 }, "end": { "line": 30, - "column": 71 + "column": 69 } } }, @@ -3980,16 +4153,16 @@ "postfix": false, "binop": null }, - "start": 973, - "end": 974, + "start": 872, + "end": 873, "loc": { "start": { "line": 30, - "column": 72 + "column": 70 }, "end": { "line": 30, - "column": 73 + "column": 71 } } }, @@ -4008,16 +4181,16 @@ "updateContext": null }, "value": "return", - "start": 983, - "end": 989, + "start": 878, + "end": 884, "loc": { "start": { "line": 31, - "column": 8 + "column": 4 }, "end": { "line": 31, - "column": 14 + "column": 10 } } }, @@ -4036,16 +4209,16 @@ "updateContext": null }, "value": "this", - "start": 990, - "end": 994, + "start": 885, + "end": 889, "loc": { "start": { "line": 31, - "column": 15 + "column": 11 }, "end": { "line": 31, - "column": 19 + "column": 15 } } }, @@ -4062,16 +4235,16 @@ "binop": null, "updateContext": null }, - "start": 994, - "end": 995, + "start": 889, + "end": 890, "loc": { "start": { "line": 31, - "column": 19 + "column": 15 }, "end": { "line": 31, - "column": 20 + "column": 16 } } }, @@ -4088,16 +4261,16 @@ "binop": null }, "value": "http", - "start": 995, - "end": 999, + "start": 890, + "end": 894, "loc": { "start": { "line": 31, - "column": 20 + "column": 16 }, "end": { "line": 31, - "column": 24 + "column": 20 } } }, @@ -4114,16 +4287,16 @@ "binop": null, "updateContext": null }, - "start": 999, - "end": 1000, + "start": 894, + "end": 895, "loc": { "start": { "line": 31, - "column": 24 + "column": 20 }, "end": { "line": 31, - "column": 25 + "column": 21 } } }, @@ -4140,16 +4313,16 @@ "binop": null }, "value": "get", - "start": 1000, - "end": 1003, + "start": 895, + "end": 898, "loc": { "start": { "line": 31, - "column": 25 + "column": 21 }, "end": { "line": 31, - "column": 28 + "column": 24 } } }, @@ -4165,16 +4338,16 @@ "postfix": false, "binop": null }, - "start": 1003, - "end": 1004, + "start": 898, + "end": 899, "loc": { "start": { "line": 31, - "column": 28 + "column": 24 }, "end": { "line": 31, - "column": 29 + "column": 25 } } }, @@ -4191,16 +4364,16 @@ "binop": null }, "value": "ENDPOINT", - "start": 1004, - "end": 1012, + "start": 899, + "end": 907, "loc": { "start": { "line": 31, - "column": 29 + "column": 25 }, "end": { "line": 31, - "column": 37 + "column": 33 } } }, @@ -4217,16 +4390,16 @@ "binop": null, "updateContext": null }, - "start": 1012, - "end": 1013, + "start": 907, + "end": 908, "loc": { "start": { "line": 31, - "column": 37 + "column": 33 }, "end": { "line": 31, - "column": 38 + "column": 34 } } }, @@ -4242,16 +4415,16 @@ "postfix": false, "binop": null }, - "start": 1014, - "end": 1015, + "start": 909, + "end": 910, "loc": { "start": { "line": 31, - "column": 39 + "column": 35 }, "end": { "line": 31, - "column": 40 + "column": 36 } } }, @@ -4268,16 +4441,16 @@ "binop": null }, "value": "limit", - "start": 1028, - "end": 1033, + "start": 917, + "end": 922, "loc": { "start": { "line": 32, - "column": 12 + "column": 6 }, "end": { "line": 32, - "column": 17 + "column": 11 } } }, @@ -4294,16 +4467,16 @@ "binop": null, "updateContext": null }, - "start": 1033, - "end": 1034, + "start": 922, + "end": 923, "loc": { "start": { "line": 32, - "column": 17 + "column": 11 }, "end": { "line": 32, - "column": 18 + "column": 12 } } }, @@ -4320,16 +4493,16 @@ "binop": null }, "value": "limit", - "start": 1035, - "end": 1040, + "start": 924, + "end": 929, "loc": { "start": { "line": 32, - "column": 19 + "column": 13 }, "end": { "line": 32, - "column": 24 + "column": 18 } } }, @@ -4346,16 +4519,16 @@ "binop": null, "updateContext": null }, - "start": 1040, - "end": 1041, + "start": 929, + "end": 930, "loc": { "start": { "line": 32, - "column": 24 + "column": 18 }, "end": { "line": 32, - "column": 25 + "column": 19 } } }, @@ -4372,16 +4545,16 @@ "binop": null }, "value": "offset", - "start": 1054, - "end": 1060, + "start": 937, + "end": 943, "loc": { "start": { "line": 33, - "column": 12 + "column": 6 }, "end": { "line": 33, - "column": 18 + "column": 12 } } }, @@ -4398,16 +4571,16 @@ "binop": null, "updateContext": null }, - "start": 1060, - "end": 1061, + "start": 943, + "end": 944, "loc": { "start": { "line": 33, - "column": 18 + "column": 12 }, "end": { "line": 33, - "column": 19 + "column": 13 } } }, @@ -4424,16 +4597,16 @@ "binop": null }, "value": "offset", - "start": 1062, - "end": 1068, + "start": 945, + "end": 951, "loc": { "start": { "line": 33, - "column": 20 + "column": 14 }, "end": { "line": 33, - "column": 26 + "column": 20 } } }, @@ -4450,16 +4623,16 @@ "binop": null, "updateContext": null }, - "start": 1068, - "end": 1069, + "start": 951, + "end": 952, "loc": { "start": { "line": 33, - "column": 26 + "column": 20 }, "end": { "line": 33, - "column": 27 + "column": 21 } } }, @@ -4476,16 +4649,16 @@ "binop": null }, "value": "territory", - "start": 1082, - "end": 1091, + "start": 959, + "end": 968, "loc": { "start": { "line": 34, - "column": 12 + "column": 6 }, "end": { "line": 34, - "column": 21 + "column": 15 } } }, @@ -4502,16 +4675,16 @@ "binop": null, "updateContext": null }, - "start": 1091, - "end": 1092, + "start": 968, + "end": 969, "loc": { "start": { "line": 34, - "column": 21 + "column": 15 }, "end": { "line": 34, - "column": 22 + "column": 16 } } }, @@ -4530,16 +4703,16 @@ "updateContext": null }, "value": "this", - "start": 1093, - "end": 1097, + "start": 970, + "end": 974, "loc": { "start": { "line": 34, - "column": 23 + "column": 17 }, "end": { "line": 34, - "column": 27 + "column": 21 } } }, @@ -4556,16 +4729,16 @@ "binop": null, "updateContext": null }, - "start": 1097, - "end": 1098, + "start": 974, + "end": 975, "loc": { "start": { "line": 34, - "column": 27 + "column": 21 }, "end": { "line": 34, - "column": 28 + "column": 22 } } }, @@ -4582,16 +4755,16 @@ "binop": null }, "value": "territory", - "start": 1098, - "end": 1107, + "start": 975, + "end": 984, "loc": { "start": { "line": 34, - "column": 28 + "column": 22 }, "end": { "line": 34, - "column": 37 + "column": 31 } } }, @@ -4607,16 +4780,16 @@ "postfix": false, "binop": null }, - "start": 1116, - "end": 1117, + "start": 989, + "end": 990, "loc": { "start": { "line": 35, - "column": 8 + "column": 4 }, "end": { "line": 35, - "column": 9 + "column": 5 } } }, @@ -4632,16 +4805,42 @@ "postfix": false, "binop": null }, - "start": 1117, - "end": 1118, + "start": 990, + "end": 991, "loc": { "start": { "line": 35, - "column": 9 + "column": 5 }, "end": { "line": 35, - "column": 10 + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 991, + "end": 992, + "loc": { + "start": { + "line": 35, + "column": 6 + }, + "end": { + "line": 35, + "column": 7 } } }, @@ -4657,32 +4856,32 @@ "postfix": false, "binop": null }, - "start": 1123, - "end": 1124, + "start": 995, + "end": 996, "loc": { "start": { "line": 36, - "column": 4 + "column": 2 }, "end": { "line": 36, - "column": 5 + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Init the new release category fetcher.\n *\n * @param {string} category_id - The category ID.\n * @return {NewReleaseCategoryFetcher}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories-category_id\n ", - "start": 1130, - "end": 1427, + "value": "*\n * Init the new release category fetcher.\n *\n * @param {string} categoryID - The category ID.\n * @return {NewReleaseCategoryFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories-category_id\n ", + "start": 1000, + "end": 1236, "loc": { "start": { "line": 38, - "column": 4 + "column": 2 }, "end": { "line": 44, - "column": 7 + "column": 5 } } }, @@ -4699,16 +4898,16 @@ "binop": null }, "value": "setCategoryID", - "start": 1432, - "end": 1445, + "start": 1239, + "end": 1252, "loc": { "start": { "line": 45, - "column": 4 + "column": 2 }, "end": { "line": 45, - "column": 17 + "column": 15 } } }, @@ -4724,16 +4923,16 @@ "postfix": false, "binop": null }, - "start": 1445, - "end": 1446, + "start": 1252, + "end": 1253, "loc": { "start": { "line": 45, - "column": 17 + "column": 15 }, "end": { "line": 45, - "column": 18 + "column": 16 } } }, @@ -4749,17 +4948,17 @@ "postfix": false, "binop": null }, - "value": "category_id", - "start": 1446, - "end": 1457, + "value": "categoryID", + "start": 1253, + "end": 1263, "loc": { "start": { "line": 45, - "column": 18 + "column": 16 }, "end": { "line": 45, - "column": 29 + "column": 26 } } }, @@ -4775,16 +4974,16 @@ "postfix": false, "binop": null }, - "start": 1457, - "end": 1458, + "start": 1263, + "end": 1264, "loc": { "start": { "line": 45, - "column": 29 + "column": 26 }, "end": { "line": 45, - "column": 30 + "column": 27 } } }, @@ -4800,16 +4999,16 @@ "postfix": false, "binop": null }, - "start": 1459, - "end": 1460, + "start": 1265, + "end": 1266, "loc": { "start": { "line": 45, - "column": 31 + "column": 28 }, "end": { "line": 45, - "column": 32 + "column": 29 } } }, @@ -4828,16 +5027,16 @@ "updateContext": null }, "value": "this", - "start": 1469, - "end": 1473, + "start": 1271, + "end": 1275, "loc": { "start": { "line": 46, - "column": 8 + "column": 4 }, "end": { "line": 46, - "column": 12 + "column": 8 } } }, @@ -4854,16 +5053,16 @@ "binop": null, "updateContext": null }, - "start": 1473, - "end": 1474, + "start": 1275, + "end": 1276, "loc": { "start": { "line": 46, - "column": 12 + "column": 8 }, "end": { "line": 46, - "column": 13 + "column": 9 } } }, @@ -4879,17 +5078,17 @@ "postfix": false, "binop": null }, - "value": "category_id", - "start": 1474, - "end": 1485, + "value": "categoryID", + "start": 1276, + "end": 1286, "loc": { "start": { "line": 46, - "column": 13 + "column": 9 }, "end": { "line": 46, - "column": 24 + "column": 19 } } }, @@ -4907,16 +5106,16 @@ "updateContext": null }, "value": "=", - "start": 1486, - "end": 1487, + "start": 1287, + "end": 1288, "loc": { "start": { "line": 46, - "column": 25 + "column": 20 }, "end": { "line": 46, - "column": 26 + "column": 21 } } }, @@ -4932,17 +5131,43 @@ "postfix": false, "binop": null }, - "value": "category_id", - "start": 1488, - "end": 1499, + "value": "categoryID", + "start": 1289, + "end": 1299, "loc": { "start": { "line": 46, - "column": 27 + "column": 22 }, "end": { "line": 46, - "column": 38 + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1299, + "end": 1300, + "loc": { + "start": { + "line": 46, + "column": 32 + }, + "end": { + "line": 46, + "column": 33 } } }, @@ -4961,16 +5186,16 @@ "updateContext": null }, "value": "return", - "start": 1516, - "end": 1522, + "start": 1305, + "end": 1311, "loc": { "start": { "line": 47, - "column": 8 + "column": 4 }, "end": { "line": 47, - "column": 14 + "column": 10 } } }, @@ -4989,8 +5214,34 @@ "updateContext": null }, "value": "this", - "start": 1523, - "end": 1527, + "start": 1312, + "end": 1316, + "loc": { + "start": { + "line": 47, + "column": 11 + }, + "end": { + "line": 47, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1316, + "end": 1317, "loc": { "start": { "line": 47, @@ -4998,7 +5249,7 @@ }, "end": { "line": 47, - "column": 19 + "column": 16 } } }, @@ -5014,32 +5265,32 @@ "postfix": false, "binop": null }, - "start": 1532, - "end": 1533, + "start": 1320, + "end": 1321, "loc": { "start": { "line": 48, - "column": 4 + "column": 2 }, "end": { "line": 48, - "column": 5 + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch metadata of the new release category you set.\n *\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories-category_id\n ", - "start": 1539, - "end": 1875, + "value": "*\n * Fetch metadata of the new release category you set.\n *\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories-category_id\n ", + "start": 1325, + "end": 1602, "loc": { "start": { "line": 50, - "column": 4 + "column": 2 }, "end": { "line": 56, - "column": 7 + "column": 5 } } }, @@ -5056,16 +5307,16 @@ "binop": null }, "value": "fetchMetadata", - "start": 1880, - "end": 1893, + "start": 1605, + "end": 1618, "loc": { "start": { "line": 57, - "column": 4 + "column": 2 }, "end": { "line": 57, - "column": 17 + "column": 15 } } }, @@ -5081,16 +5332,16 @@ "postfix": false, "binop": null }, - "start": 1893, - "end": 1894, + "start": 1618, + "end": 1619, "loc": { "start": { "line": 57, - "column": 17 + "column": 15 }, "end": { "line": 57, - "column": 18 + "column": 16 } } }, @@ -5106,16 +5357,16 @@ "postfix": false, "binop": null }, - "start": 1894, - "end": 1895, + "start": 1619, + "end": 1620, "loc": { "start": { "line": 57, - "column": 18 + "column": 16 }, "end": { "line": 57, - "column": 19 + "column": 17 } } }, @@ -5131,16 +5382,16 @@ "postfix": false, "binop": null }, - "start": 1896, - "end": 1897, + "start": 1621, + "end": 1622, "loc": { "start": { "line": 57, - "column": 20 + "column": 18 }, "end": { "line": 57, - "column": 21 + "column": 19 } } }, @@ -5159,16 +5410,16 @@ "updateContext": null }, "value": "return", - "start": 1906, - "end": 1912, + "start": 1627, + "end": 1633, "loc": { "start": { "line": 58, - "column": 8 + "column": 4 }, "end": { "line": 58, - "column": 14 + "column": 10 } } }, @@ -5187,16 +5438,16 @@ "updateContext": null }, "value": "this", - "start": 1913, - "end": 1917, + "start": 1634, + "end": 1638, "loc": { "start": { "line": 58, - "column": 15 + "column": 11 }, "end": { "line": 58, - "column": 19 + "column": 15 } } }, @@ -5213,16 +5464,16 @@ "binop": null, "updateContext": null }, - "start": 1917, - "end": 1918, + "start": 1638, + "end": 1639, "loc": { "start": { "line": 58, - "column": 19 + "column": 15 }, "end": { "line": 58, - "column": 20 + "column": 16 } } }, @@ -5239,16 +5490,16 @@ "binop": null }, "value": "http", - "start": 1918, - "end": 1922, + "start": 1639, + "end": 1643, "loc": { "start": { "line": 58, - "column": 20 + "column": 16 }, "end": { "line": 58, - "column": 24 + "column": 20 } } }, @@ -5265,16 +5516,16 @@ "binop": null, "updateContext": null }, - "start": 1922, - "end": 1923, + "start": 1643, + "end": 1644, "loc": { "start": { "line": 58, - "column": 24 + "column": 20 }, "end": { "line": 58, - "column": 25 + "column": 21 } } }, @@ -5291,16 +5542,16 @@ "binop": null }, "value": "get", - "start": 1923, - "end": 1926, + "start": 1644, + "end": 1647, "loc": { "start": { "line": 58, - "column": 25 + "column": 21 }, "end": { "line": 58, - "column": 28 + "column": 24 } } }, @@ -5316,16 +5567,16 @@ "postfix": false, "binop": null }, - "start": 1926, - "end": 1927, + "start": 1647, + "end": 1648, "loc": { "start": { "line": 58, - "column": 28 + "column": 24 }, "end": { "line": 58, - "column": 29 + "column": 25 } } }, @@ -5342,16 +5593,16 @@ "binop": null }, "value": "ENDPOINT", - "start": 1927, - "end": 1935, + "start": 1648, + "end": 1656, "loc": { "start": { "line": 58, - "column": 29 + "column": 25 }, "end": { "line": 58, - "column": 37 + "column": 33 } } }, @@ -5369,12 +5620,39 @@ "updateContext": null }, "value": "+", - "start": 1936, - "end": 1937, + "start": 1657, + "end": 1658, "loc": { "start": { "line": 58, - "column": 38 + "column": 34 + }, + "end": { + "line": 58, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "/", + "start": 1659, + "end": 1662, + "loc": { + "start": { + "line": 58, + "column": 36 }, "end": { "line": 58, @@ -5382,6 +5660,33 @@ } } }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 1663, + "end": 1664, + "loc": { + "start": { + "line": 58, + "column": 40 + }, + "end": { + "line": 58, + "column": 41 + } + } + }, { "type": { "label": "this", @@ -5397,16 +5702,16 @@ "updateContext": null }, "value": "this", - "start": 1938, - "end": 1942, + "start": 1665, + "end": 1669, "loc": { "start": { "line": 58, - "column": 40 + "column": 42 }, "end": { "line": 58, - "column": 44 + "column": 46 } } }, @@ -5423,16 +5728,16 @@ "binop": null, "updateContext": null }, - "start": 1942, - "end": 1943, + "start": 1669, + "end": 1670, "loc": { "start": { "line": 58, - "column": 44 + "column": 46 }, "end": { "line": 58, - "column": 45 + "column": 47 } } }, @@ -5448,17 +5753,17 @@ "postfix": false, "binop": null }, - "value": "category_id", - "start": 1943, - "end": 1954, + "value": "categoryID", + "start": 1670, + "end": 1680, "loc": { "start": { "line": 58, - "column": 45 + "column": 47 }, "end": { "line": 58, - "column": 56 + "column": 57 } } }, @@ -5475,16 +5780,16 @@ "binop": null, "updateContext": null }, - "start": 1954, - "end": 1955, + "start": 1680, + "end": 1681, "loc": { "start": { "line": 58, - "column": 56 + "column": 57 }, "end": { "line": 58, - "column": 57 + "column": 58 } } }, @@ -5500,16 +5805,16 @@ "postfix": false, "binop": null }, - "start": 1956, - "end": 1957, + "start": 1682, + "end": 1683, "loc": { "start": { "line": 58, - "column": 58 + "column": 59 }, "end": { "line": 58, - "column": 59 + "column": 60 } } }, @@ -5526,16 +5831,16 @@ "binop": null }, "value": "territory", - "start": 1957, - "end": 1966, + "start": 1690, + "end": 1699, "loc": { "start": { - "line": 58, - "column": 59 + "line": 59, + "column": 6 }, "end": { - "line": 58, - "column": 68 + "line": 59, + "column": 15 } } }, @@ -5552,16 +5857,16 @@ "binop": null, "updateContext": null }, - "start": 1966, - "end": 1967, + "start": 1699, + "end": 1700, "loc": { "start": { - "line": 58, - "column": 68 + "line": 59, + "column": 15 }, "end": { - "line": 58, - "column": 69 + "line": 59, + "column": 16 } } }, @@ -5580,16 +5885,16 @@ "updateContext": null }, "value": "this", - "start": 1968, - "end": 1972, + "start": 1701, + "end": 1705, "loc": { "start": { - "line": 58, - "column": 70 + "line": 59, + "column": 17 }, "end": { - "line": 58, - "column": 74 + "line": 59, + "column": 21 } } }, @@ -5606,16 +5911,16 @@ "binop": null, "updateContext": null }, - "start": 1972, - "end": 1973, + "start": 1705, + "end": 1706, "loc": { "start": { - "line": 58, - "column": 74 + "line": 59, + "column": 21 }, "end": { - "line": 58, - "column": 75 + "line": 59, + "column": 22 } } }, @@ -5632,16 +5937,16 @@ "binop": null }, "value": "territory", - "start": 1973, - "end": 1982, + "start": 1706, + "end": 1715, "loc": { "start": { - "line": 58, - "column": 75 + "line": 59, + "column": 22 }, "end": { - "line": 58, - "column": 84 + "line": 59, + "column": 31 } } }, @@ -5657,16 +5962,16 @@ "postfix": false, "binop": null }, - "start": 1982, - "end": 1983, + "start": 1720, + "end": 1721, "loc": { "start": { - "line": 58, - "column": 84 + "line": 60, + "column": 4 }, "end": { - "line": 58, - "column": 85 + "line": 60, + "column": 5 } } }, @@ -5682,16 +5987,42 @@ "postfix": false, "binop": null }, - "start": 1983, - "end": 1984, + "start": 1721, + "end": 1722, "loc": { "start": { - "line": 58, - "column": 85 + "line": 60, + "column": 5 }, "end": { - "line": 58, - "column": 86 + "line": 60, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1722, + "end": 1723, + "loc": { + "start": { + "line": 60, + "column": 6 + }, + "end": { + "line": 60, + "column": 7 } } }, @@ -5707,32 +6038,32 @@ "postfix": false, "binop": null }, - "start": 1989, - "end": 1990, + "start": 1726, + "end": 1727, "loc": { "start": { - "line": 59, - "column": 4 + "line": 61, + "column": 2 }, "end": { - "line": 59, - "column": 5 + "line": 61, + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch albums of the new release category with the category fetcher you init. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchAlbums()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories-category_id-albums\n ", - "start": 1996, - "end": 2509, + "value": "*\n * Fetch albums of the new release category with the category fetcher you init. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchAlbums();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories-category_id-albums\n ", + "start": 1731, + "end": 2181, "loc": { "start": { - "line": 61, - "column": 4 + "line": 63, + "column": 2 }, "end": { - "line": 69, - "column": 7 + "line": 71, + "column": 5 } } }, @@ -5749,16 +6080,16 @@ "binop": null }, "value": "fetchAlbums", - "start": 2514, - "end": 2525, + "start": 2184, + "end": 2195, "loc": { "start": { - "line": 70, - "column": 4 + "line": 72, + "column": 2 }, "end": { - "line": 70, - "column": 15 + "line": 72, + "column": 13 } } }, @@ -5774,16 +6105,16 @@ "postfix": false, "binop": null }, - "start": 2525, - "end": 2526, + "start": 2195, + "end": 2196, "loc": { "start": { - "line": 70, - "column": 15 + "line": 72, + "column": 13 }, "end": { - "line": 70, - "column": 16 + "line": 72, + "column": 14 } } }, @@ -5800,16 +6131,16 @@ "binop": null }, "value": "limit", - "start": 2526, - "end": 2531, + "start": 2196, + "end": 2201, "loc": { "start": { - "line": 70, - "column": 16 + "line": 72, + "column": 14 }, "end": { - "line": 70, - "column": 21 + "line": 72, + "column": 19 } } }, @@ -5827,16 +6158,16 @@ "updateContext": null }, "value": "=", - "start": 2532, - "end": 2533, + "start": 2202, + "end": 2203, "loc": { "start": { - "line": 70, - "column": 22 + "line": 72, + "column": 20 }, "end": { - "line": 70, - "column": 23 + "line": 72, + "column": 21 } } }, @@ -5853,16 +6184,16 @@ "binop": null }, "value": "undefined", - "start": 2534, - "end": 2543, + "start": 2204, + "end": 2213, "loc": { "start": { - "line": 70, - "column": 24 + "line": 72, + "column": 22 }, "end": { - "line": 70, - "column": 33 + "line": 72, + "column": 31 } } }, @@ -5879,16 +6210,16 @@ "binop": null, "updateContext": null }, - "start": 2543, - "end": 2544, + "start": 2213, + "end": 2214, "loc": { "start": { - "line": 70, - "column": 33 + "line": 72, + "column": 31 }, "end": { - "line": 70, - "column": 34 + "line": 72, + "column": 32 } } }, @@ -5905,16 +6236,16 @@ "binop": null }, "value": "offset", - "start": 2545, - "end": 2551, + "start": 2215, + "end": 2221, "loc": { "start": { - "line": 70, - "column": 35 + "line": 72, + "column": 33 }, "end": { - "line": 70, - "column": 41 + "line": 72, + "column": 39 } } }, @@ -5932,16 +6263,16 @@ "updateContext": null }, "value": "=", - "start": 2552, - "end": 2553, + "start": 2222, + "end": 2223, "loc": { "start": { - "line": 70, - "column": 42 + "line": 72, + "column": 40 }, "end": { - "line": 70, - "column": 43 + "line": 72, + "column": 41 } } }, @@ -5958,16 +6289,16 @@ "binop": null }, "value": "undefined", - "start": 2554, - "end": 2563, + "start": 2224, + "end": 2233, "loc": { "start": { - "line": 70, - "column": 44 + "line": 72, + "column": 42 }, "end": { - "line": 70, - "column": 53 + "line": 72, + "column": 51 } } }, @@ -5983,16 +6314,16 @@ "postfix": false, "binop": null }, - "start": 2563, - "end": 2564, + "start": 2233, + "end": 2234, "loc": { "start": { - "line": 70, - "column": 53 + "line": 72, + "column": 51 }, "end": { - "line": 70, - "column": 54 + "line": 72, + "column": 52 } } }, @@ -6008,16 +6339,16 @@ "postfix": false, "binop": null }, - "start": 2565, - "end": 2566, + "start": 2235, + "end": 2236, "loc": { "start": { - "line": 70, - "column": 55 + "line": 72, + "column": 53 }, "end": { - "line": 70, - "column": 56 + "line": 72, + "column": 54 } } }, @@ -6036,16 +6367,16 @@ "updateContext": null }, "value": "return", - "start": 2575, - "end": 2581, + "start": 2241, + "end": 2247, "loc": { "start": { - "line": 71, - "column": 8 + "line": 73, + "column": 4 }, "end": { - "line": 71, - "column": 14 + "line": 73, + "column": 10 } } }, @@ -6064,16 +6395,16 @@ "updateContext": null }, "value": "this", - "start": 2582, - "end": 2586, + "start": 2248, + "end": 2252, "loc": { "start": { - "line": 71, - "column": 15 + "line": 73, + "column": 11 }, "end": { - "line": 71, - "column": 19 + "line": 73, + "column": 15 } } }, @@ -6090,16 +6421,16 @@ "binop": null, "updateContext": null }, - "start": 2586, - "end": 2587, + "start": 2252, + "end": 2253, "loc": { "start": { - "line": 71, - "column": 19 + "line": 73, + "column": 15 }, "end": { - "line": 71, - "column": 20 + "line": 73, + "column": 16 } } }, @@ -6116,16 +6447,16 @@ "binop": null }, "value": "http", - "start": 2587, - "end": 2591, + "start": 2253, + "end": 2257, "loc": { "start": { - "line": 71, - "column": 20 + "line": 73, + "column": 16 }, "end": { - "line": 71, - "column": 24 + "line": 73, + "column": 20 } } }, @@ -6142,16 +6473,16 @@ "binop": null, "updateContext": null }, - "start": 2591, - "end": 2592, + "start": 2257, + "end": 2258, "loc": { "start": { - "line": 71, - "column": 24 + "line": 73, + "column": 20 }, "end": { - "line": 71, - "column": 25 + "line": 73, + "column": 21 } } }, @@ -6168,16 +6499,16 @@ "binop": null }, "value": "get", - "start": 2592, - "end": 2595, + "start": 2258, + "end": 2261, "loc": { "start": { - "line": 71, - "column": 25 + "line": 73, + "column": 21 }, "end": { - "line": 71, - "column": 28 + "line": 73, + "column": 24 } } }, @@ -6193,16 +6524,16 @@ "postfix": false, "binop": null }, - "start": 2595, - "end": 2596, + "start": 2261, + "end": 2262, "loc": { "start": { - "line": 71, - "column": 28 + "line": 73, + "column": 24 }, "end": { - "line": 71, - "column": 29 + "line": 73, + "column": 25 } } }, @@ -6219,16 +6550,16 @@ "binop": null }, "value": "ENDPOINT", - "start": 2596, - "end": 2604, + "start": 2262, + "end": 2270, "loc": { "start": { - "line": 71, - "column": 29 + "line": 73, + "column": 25 }, "end": { - "line": 71, - "column": 37 + "line": 73, + "column": 33 } } }, @@ -6246,19 +6577,73 @@ "updateContext": null }, "value": "+", - "start": 2605, - "end": 2606, + "start": 2271, + "end": 2272, "loc": { "start": { - "line": 71, - "column": 38 + "line": 73, + "column": 34 }, "end": { - "line": 71, + "line": 73, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "/", + "start": 2273, + "end": 2276, + "loc": { + "start": { + "line": 73, + "column": 36 + }, + "end": { + "line": 73, "column": 39 } } }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2277, + "end": 2278, + "loc": { + "start": { + "line": 73, + "column": 40 + }, + "end": { + "line": 73, + "column": 41 + } + } + }, { "type": { "label": "this", @@ -6274,16 +6659,16 @@ "updateContext": null }, "value": "this", - "start": 2607, - "end": 2611, + "start": 2279, + "end": 2283, "loc": { "start": { - "line": 71, - "column": 40 + "line": 73, + "column": 42 }, "end": { - "line": 71, - "column": 44 + "line": 73, + "column": 46 } } }, @@ -6300,16 +6685,16 @@ "binop": null, "updateContext": null }, - "start": 2611, - "end": 2612, + "start": 2283, + "end": 2284, "loc": { "start": { - "line": 71, - "column": 44 + "line": 73, + "column": 46 }, "end": { - "line": 71, - "column": 45 + "line": 73, + "column": 47 } } }, @@ -6325,17 +6710,17 @@ "postfix": false, "binop": null }, - "value": "category_id", - "start": 2612, - "end": 2623, + "value": "categoryID", + "start": 2284, + "end": 2294, "loc": { "start": { - "line": 71, - "column": 45 + "line": 73, + "column": 47 }, "end": { - "line": 71, - "column": 56 + "line": 73, + "column": 57 } } }, @@ -6353,16 +6738,16 @@ "updateContext": null }, "value": "+", - "start": 2624, - "end": 2625, + "start": 2295, + "end": 2296, "loc": { "start": { - "line": 71, - "column": 57 + "line": 73, + "column": 58 }, "end": { - "line": 71, - "column": 58 + "line": 73, + "column": 59 } } }, @@ -6380,16 +6765,16 @@ "updateContext": null }, "value": "/albums", - "start": 2626, - "end": 2635, + "start": 2297, + "end": 2306, "loc": { "start": { - "line": 71, - "column": 59 + "line": 73, + "column": 60 }, "end": { - "line": 71, - "column": 68 + "line": 73, + "column": 69 } } }, @@ -6406,16 +6791,16 @@ "binop": null, "updateContext": null }, - "start": 2635, - "end": 2636, + "start": 2306, + "end": 2307, "loc": { "start": { - "line": 71, - "column": 68 + "line": 73, + "column": 69 }, "end": { - "line": 71, - "column": 69 + "line": 73, + "column": 70 } } }, @@ -6431,16 +6816,16 @@ "postfix": false, "binop": null }, - "start": 2637, - "end": 2638, + "start": 2308, + "end": 2309, "loc": { "start": { - "line": 71, - "column": 70 + "line": 73, + "column": 71 }, "end": { - "line": 71, - "column": 71 + "line": 73, + "column": 72 } } }, @@ -6457,16 +6842,16 @@ "binop": null }, "value": "territory", - "start": 2651, - "end": 2660, + "start": 2316, + "end": 2325, "loc": { "start": { - "line": 72, - "column": 12 + "line": 74, + "column": 6 }, "end": { - "line": 72, - "column": 21 + "line": 74, + "column": 15 } } }, @@ -6483,16 +6868,16 @@ "binop": null, "updateContext": null }, - "start": 2660, - "end": 2661, + "start": 2325, + "end": 2326, "loc": { "start": { - "line": 72, - "column": 21 + "line": 74, + "column": 15 }, "end": { - "line": 72, - "column": 22 + "line": 74, + "column": 16 } } }, @@ -6511,16 +6896,16 @@ "updateContext": null }, "value": "this", - "start": 2662, - "end": 2666, + "start": 2327, + "end": 2331, "loc": { "start": { - "line": 72, - "column": 23 + "line": 74, + "column": 17 }, "end": { - "line": 72, - "column": 27 + "line": 74, + "column": 21 } } }, @@ -6537,16 +6922,16 @@ "binop": null, "updateContext": null }, - "start": 2666, - "end": 2667, + "start": 2331, + "end": 2332, "loc": { "start": { - "line": 72, - "column": 27 + "line": 74, + "column": 21 }, "end": { - "line": 72, - "column": 28 + "line": 74, + "column": 22 } } }, @@ -6563,16 +6948,16 @@ "binop": null }, "value": "territory", - "start": 2667, - "end": 2676, + "start": 2332, + "end": 2341, "loc": { "start": { - "line": 72, - "column": 28 + "line": 74, + "column": 22 }, "end": { - "line": 72, - "column": 37 + "line": 74, + "column": 31 } } }, @@ -6589,16 +6974,16 @@ "binop": null, "updateContext": null }, - "start": 2676, - "end": 2677, + "start": 2341, + "end": 2342, "loc": { "start": { - "line": 72, - "column": 37 + "line": 74, + "column": 31 }, "end": { - "line": 72, - "column": 38 + "line": 74, + "column": 32 } } }, @@ -6615,16 +7000,16 @@ "binop": null }, "value": "limit", - "start": 2690, - "end": 2695, + "start": 2349, + "end": 2354, "loc": { "start": { - "line": 73, - "column": 12 + "line": 75, + "column": 6 }, "end": { - "line": 73, - "column": 17 + "line": 75, + "column": 11 } } }, @@ -6641,16 +7026,16 @@ "binop": null, "updateContext": null }, - "start": 2695, - "end": 2696, + "start": 2354, + "end": 2355, "loc": { "start": { - "line": 73, - "column": 17 + "line": 75, + "column": 11 }, "end": { - "line": 73, - "column": 18 + "line": 75, + "column": 12 } } }, @@ -6667,16 +7052,16 @@ "binop": null }, "value": "limit", - "start": 2697, - "end": 2702, + "start": 2356, + "end": 2361, "loc": { "start": { - "line": 73, - "column": 19 + "line": 75, + "column": 13 }, "end": { - "line": 73, - "column": 24 + "line": 75, + "column": 18 } } }, @@ -6693,16 +7078,16 @@ "binop": null, "updateContext": null }, - "start": 2702, - "end": 2703, + "start": 2361, + "end": 2362, "loc": { "start": { - "line": 73, - "column": 24 + "line": 75, + "column": 18 }, "end": { - "line": 73, - "column": 25 + "line": 75, + "column": 19 } } }, @@ -6719,16 +7104,16 @@ "binop": null }, "value": "offset", - "start": 2716, - "end": 2722, + "start": 2369, + "end": 2375, "loc": { "start": { - "line": 74, - "column": 12 + "line": 76, + "column": 6 }, "end": { - "line": 74, - "column": 18 + "line": 76, + "column": 12 } } }, @@ -6745,16 +7130,16 @@ "binop": null, "updateContext": null }, - "start": 2722, - "end": 2723, + "start": 2375, + "end": 2376, "loc": { "start": { - "line": 74, - "column": 18 + "line": 76, + "column": 12 }, "end": { - "line": 74, - "column": 19 + "line": 76, + "column": 13 } } }, @@ -6771,16 +7156,16 @@ "binop": null }, "value": "offset", - "start": 2724, - "end": 2730, + "start": 2377, + "end": 2383, "loc": { "start": { - "line": 74, - "column": 20 + "line": 76, + "column": 14 }, "end": { - "line": 74, - "column": 26 + "line": 76, + "column": 20 } } }, @@ -6796,16 +7181,16 @@ "postfix": false, "binop": null }, - "start": 2739, - "end": 2740, + "start": 2388, + "end": 2389, "loc": { "start": { - "line": 75, - "column": 8 + "line": 77, + "column": 4 }, "end": { - "line": 75, - "column": 9 + "line": 77, + "column": 5 } } }, @@ -6821,16 +7206,42 @@ "postfix": false, "binop": null }, - "start": 2740, - "end": 2741, + "start": 2389, + "end": 2390, "loc": { "start": { - "line": 75, - "column": 9 + "line": 77, + "column": 5 }, "end": { - "line": 75, - "column": 10 + "line": 77, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2390, + "end": 2391, + "loc": { + "start": { + "line": 77, + "column": 6 + }, + "end": { + "line": 77, + "column": 7 } } }, @@ -6846,16 +7257,16 @@ "postfix": false, "binop": null }, - "start": 2746, - "end": 2747, + "start": 2394, + "end": 2395, "loc": { "start": { - "line": 76, - "column": 4 + "line": 78, + "column": 2 }, "end": { - "line": 76, - "column": 5 + "line": 78, + "column": 3 } } }, @@ -6871,15 +7282,15 @@ "postfix": false, "binop": null }, - "start": 2748, - "end": 2749, + "start": 2396, + "end": 2397, "loc": { "start": { - "line": 77, + "line": 79, "column": 0 }, "end": { - "line": 77, + "line": 79, "column": 1 } } @@ -6897,16 +7308,16 @@ "binop": null, "updateContext": null }, - "start": 2749, - "end": 2749, + "start": 2398, + "end": 2398, "loc": { "start": { - "line": 77, - "column": 1 + "line": 80, + "column": 0 }, "end": { - "line": 77, - "column": 1 + "line": 80, + "column": 0 } } } diff --git a/docs/ast/source/api/SearchFetcher.js.json b/docs/ast/source/api/SearchFetcher.js.json index e1ebbab..c0dbce3 100644 --- a/docs/ast/source/api/SearchFetcher.js.json +++ b/docs/ast/source/api/SearchFetcher.js.json @@ -1,29 +1,29 @@ { "type": "File", "start": 0, - "end": 7045, + "end": 6075, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 166, - "column": 1 + "line": 202, + "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 7045, + "end": 6075, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 166, - "column": 1 + "line": 202, + "column": 0 } }, "sourceType": "module", @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 46, + "end": 49, "loc": { "start": { "line": 1, @@ -39,36 +39,36 @@ }, "end": { "line": 1, - "column": 46 + "column": 49 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 8, - "end": 26, + "start": 9, + "end": 27, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 26 + "column": 27 } }, "imported": { "type": "Identifier", - "start": 8, - "end": 14, + "start": 9, + "end": 15, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 14 + "column": 15 }, "identifierName": "SEARCH" }, @@ -76,16 +76,16 @@ }, "local": { "type": "Identifier", - "start": 18, - "end": 26, + "start": 19, + "end": 27, "loc": { "start": { "line": 1, - "column": 18 + "column": 19 }, "end": { "line": 1, - "column": 26 + "column": 27 }, "identifierName": "ENDPOINT" }, @@ -95,16 +95,16 @@ ], "source": { "type": "StringLiteral", - "start": 33, - "end": 46, + "start": 35, + "end": 48, "loc": { "start": { "line": 1, - "column": 33 + "column": 35 }, "end": { "line": 1, - "column": 46 + "column": 48 } }, "extra": { @@ -116,8 +116,8 @@ }, { "type": "ImportDeclaration", - "start": 47, - "end": 78, + "start": 50, + "end": 82, "loc": { "start": { "line": 2, @@ -125,14 +125,14 @@ }, "end": { "line": 2, - "column": 31 + "column": 32 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 54, - "end": 61, + "start": 57, + "end": 64, "loc": { "start": { "line": 2, @@ -145,8 +145,8 @@ }, "local": { "type": "Identifier", - "start": 54, - "end": 61, + "start": 57, + "end": 64, "loc": { "start": { "line": 2, @@ -164,8 +164,8 @@ ], "source": { "type": "StringLiteral", - "start": 67, - "end": 78, + "start": 70, + "end": 81, "loc": { "start": { "line": 2, @@ -180,16 +180,14 @@ "rawValue": "./Fetcher", "raw": "'./Fetcher'" }, - "value": "./Fetcher", - "leadingComments": null, - "trailingComments": null + "value": "./Fetcher" }, "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Search API.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/search\n ", - "start": 80, - "end": 169, + "value": "*\n * Search API.\n * @see https://docs-en.kkbox.codes/v1.1/reference#search\n ", + "start": 84, + "end": 164, "loc": { "start": { "line": 4, @@ -205,36 +203,36 @@ }, { "type": "ExportDefaultDeclaration", - "start": 170, - "end": 2672, + "start": 165, + "end": 2342, "loc": { "start": { "line": 8, "column": 0 }, "end": { - "line": 86, + "line": 89, "column": 1 } }, "declaration": { "type": "ClassDeclaration", - "start": 185, - "end": 2672, + "start": 180, + "end": 2342, "loc": { "start": { "line": 8, "column": 15 }, "end": { - "line": 86, + "line": 89, "column": 1 } }, "id": { "type": "Identifier", - "start": 191, - "end": 204, + "start": 186, + "end": 199, "loc": { "start": { "line": 8, @@ -251,8 +249,8 @@ }, "superClass": { "type": "Identifier", - "start": 213, - "end": 220, + "start": 208, + "end": 215, "loc": { "start": { "line": 8, @@ -268,53 +266,53 @@ }, "body": { "type": "ClassBody", - "start": 221, - "end": 2672, + "start": 216, + "end": 2342, "loc": { "start": { "line": 8, "column": 51 }, "end": { - "line": 86, + "line": 89, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 258, - "end": 563, + "start": 245, + "end": 500, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 29, - "column": 5 + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 258, - "end": 269, + "start": 245, + "end": 256, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 12, - "column": 15 + "column": 13 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, - "static": false, "kind": "constructor", "id": null, "generator": false, @@ -323,16 +321,16 @@ "params": [ { "type": "Identifier", - "start": 270, - "end": 274, + "start": 257, + "end": 261, "loc": { "start": { "line": 12, - "column": 16 + "column": 14 }, "end": { "line": 12, - "column": 20 + "column": 18 }, "identifierName": "http" }, @@ -340,30 +338,30 @@ }, { "type": "AssignmentPattern", - "start": 276, - "end": 292, + "start": 263, + "end": 279, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 38 + "column": 36 } }, "left": { "type": "Identifier", - "start": 276, - "end": 285, + "start": 263, + "end": 272, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 31 + "column": 29 }, "identifierName": "territory" }, @@ -371,16 +369,16 @@ }, "right": { "type": "StringLiteral", - "start": 288, - "end": 292, + "start": 275, + "end": 279, "loc": { "start": { "line": 12, - "column": 34 + "column": 32 }, "end": { "line": 12, - "column": 38 + "column": 36 } }, "extra": { @@ -393,75 +391,75 @@ ], "body": { "type": "BlockStatement", - "start": 294, - "end": 563, + "start": 281, + "end": 500, "loc": { "start": { "line": 12, - "column": 40 + "column": 38 }, "end": { "line": 29, - "column": 5 + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 304, - "end": 326, + "start": 287, + "end": 310, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 30 + "column": 27 } }, "expression": { "type": "CallExpression", - "start": 304, - "end": 326, + "start": 287, + "end": 309, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 30 + "column": 26 } }, "callee": { "type": "Super", - "start": 304, - "end": 309, + "start": 287, + "end": 292, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 13 + "column": 9 } } }, "arguments": [ { "type": "Identifier", - "start": 310, - "end": 314, + "start": 293, + "end": 297, "loc": { "start": { "line": 13, - "column": 14 + "column": 10 }, "end": { "line": 13, - "column": 18 + "column": 14 }, "identifierName": "http" }, @@ -469,38 +467,37 @@ }, { "type": "Identifier", - "start": 316, - "end": 325, + "start": 299, + "end": 308, "loc": { "start": { "line": 13, - "column": 20 + "column": 16 }, "end": { "line": 13, - "column": 29 + "column": 25 }, "identifierName": "territory" }, "name": "territory" } - ], - "trailingComments": null + ] }, "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 336, - "end": 370, + "value": "*\n * @ignore\n ", + "start": 316, + "end": 342, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } } @@ -508,75 +505,75 @@ }, { "type": "ExpressionStatement", - "start": 379, - "end": 412, + "start": 347, + "end": 381, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 41 + "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 379, - "end": 412, + "start": 347, + "end": 380, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 41 + "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 379, - "end": 400, + "start": 347, + "end": 368, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 29 + "column": 25 } }, "object": { "type": "ThisExpression", - "start": 379, - "end": 383, + "start": 347, + "end": 351, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 12 + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 384, - "end": 400, + "start": 352, + "end": 368, "loc": { "start": { "line": 18, - "column": 13 + "column": 9 }, "end": { "line": 18, - "column": 29 + "column": 25 }, "identifierName": "filterConditions" }, @@ -587,40 +584,37 @@ }, "right": { "type": "Identifier", - "start": 403, - "end": 412, + "start": 371, + "end": 380, "loc": { "start": { "line": 18, - "column": 32 + "column": 28 }, "end": { "line": 18, - "column": 41 + "column": 37 }, "identifierName": "undefined" }, - "name": "undefined", - "leadingComments": null, - "trailingComments": null + "name": "undefined" }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 336, - "end": 370, + "value": "*\n * @ignore\n ", + "start": 316, + "end": 342, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } } @@ -628,17 +622,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 422, - "end": 456, + "value": "*\n * @ignore\n ", + "start": 387, + "end": 413, "loc": { "start": { "line": 20, - "column": 8 + "column": 4 }, "end": { "line": 22, - "column": 11 + "column": 7 } } } @@ -646,75 +640,75 @@ }, { "type": "ExpressionStatement", - "start": 465, - "end": 483, + "start": 418, + "end": 437, "loc": { "start": { "line": 23, - "column": 8 + "column": 4 }, "end": { "line": 23, - "column": 26 + "column": 23 } }, "expression": { "type": "AssignmentExpression", - "start": 465, - "end": 483, + "start": 418, + "end": 436, "loc": { "start": { "line": 23, - "column": 8 + "column": 4 }, "end": { "line": 23, - "column": 26 + "column": 22 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 465, - "end": 471, + "start": 418, + "end": 424, "loc": { "start": { "line": 23, - "column": 8 + "column": 4 }, "end": { "line": 23, - "column": 14 + "column": 10 } }, "object": { "type": "ThisExpression", - "start": 465, - "end": 469, + "start": 418, + "end": 422, "loc": { "start": { "line": 23, - "column": 8 + "column": 4 }, "end": { "line": 23, - "column": 12 + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 470, - "end": 471, + "start": 423, + "end": 424, "loc": { "start": { "line": 23, - "column": 13 + "column": 9 }, "end": { "line": 23, - "column": 14 + "column": 10 }, "identifierName": "q" }, @@ -725,40 +719,37 @@ }, "right": { "type": "Identifier", - "start": 474, - "end": 483, + "start": 427, + "end": 436, "loc": { "start": { "line": 23, - "column": 17 + "column": 13 }, "end": { "line": 23, - "column": 26 + "column": 22 }, "identifierName": "undefined" }, - "name": "undefined", - "leadingComments": null, - "trailingComments": null + "name": "undefined" }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 422, - "end": 456, + "value": "*\n * @ignore\n ", + "start": 387, + "end": 413, "loc": { "start": { "line": 20, - "column": 8 + "column": 4 }, "end": { "line": 22, - "column": 11 + "column": 7 } } } @@ -766,17 +757,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 493, - "end": 527, + "value": "*\n * @ignore\n ", + "start": 443, + "end": 469, "loc": { "start": { "line": 25, - "column": 8 + "column": 4 }, "end": { "line": 27, - "column": 11 + "column": 7 } } } @@ -784,75 +775,75 @@ }, { "type": "ExpressionStatement", - "start": 536, - "end": 557, + "start": 474, + "end": 496, "loc": { "start": { "line": 28, - "column": 8 + "column": 4 }, "end": { "line": 28, - "column": 29 + "column": 26 } }, "expression": { "type": "AssignmentExpression", - "start": 536, - "end": 557, + "start": 474, + "end": 495, "loc": { "start": { "line": 28, - "column": 8 + "column": 4 }, "end": { "line": 28, - "column": 29 + "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 536, - "end": 545, + "start": 474, + "end": 483, "loc": { "start": { "line": 28, - "column": 8 + "column": 4 }, "end": { "line": 28, - "column": 17 + "column": 13 } }, "object": { "type": "ThisExpression", - "start": 536, - "end": 540, + "start": 474, + "end": 478, "loc": { "start": { "line": 28, - "column": 8 + "column": 4 }, "end": { "line": 28, - "column": 12 + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 541, - "end": 545, + "start": 479, + "end": 483, "loc": { "start": { "line": 28, - "column": 13 + "column": 9 }, "end": { "line": 28, - "column": 17 + "column": 13 }, "identifierName": "type" }, @@ -863,16 +854,16 @@ }, "right": { "type": "Identifier", - "start": 548, - "end": 557, + "start": 486, + "end": 495, "loc": { "start": { "line": 28, - "column": 20 + "column": 16 }, "end": { "line": 28, - "column": 29 + "column": 25 }, "identifierName": "undefined" }, @@ -883,17 +874,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 493, - "end": 527, + "value": "*\n * @ignore\n ", + "start": 443, + "end": 469, "loc": { "start": { "line": 25, - "column": 8 + "column": 4 }, "end": { "line": 27, - "column": 11 + "column": 7 } } } @@ -906,17 +897,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 227, - "end": 253, + "value": "*\n * @ignore\n ", + "start": 220, + "end": 242, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } } @@ -924,17 +915,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Filter what you don't want when search.\n *\n * @param {Object} [conditions] - search conditions.\n * @param {string} conditions.track - track's name.\n * @param {string} conditions.album - album's name.\n * @param {string} conditions.artist - artist's name.\n * @param {string} conditions.playlist - playlist's title.\n * @param {string} conditions.available_territory - tracks and albums available territory.\n * @return {Search}\n * @example api.searchFetcher.setSearchCriteria('五月天 好好').filter({artist: '五月天'}).fetchSearchResult()\n ", - "start": 569, - "end": 1149, + "value": "*\n * Filter what you don't want when search.\n *\n * @param {Object} [conditions] - search conditions.\n * @param {string} conditions.track - track's name.\n * @param {string} conditions.album - album's name.\n * @param {string} conditions.artist - artist's name.\n * @param {string} conditions.playlist - playlist's title.\n * @param {string} conditions.availableTerritory - tracks and albums available territory.\n * @return {Search}\n * @example\n * api.searchFetcher\n * .setSearchCriteria('五月天 好好')\n * .filter({artist: '五月天'})\n * .fetchSearchResult();\n ", + "start": 504, + "end": 1088, "loc": { "start": { "line": 31, - "column": 4 + "column": 2 }, "end": { - "line": 42, - "column": 7 + "line": 46, + "column": 5 } } } @@ -942,38 +933,38 @@ }, { "type": "ClassMethod", - "start": 1154, - "end": 1410, + "start": 1091, + "end": 1177, "loc": { "start": { - "line": 43, - "column": 4 + "line": 47, + "column": 2 }, "end": { - "line": 52, - "column": 5 + "line": 50, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 1154, - "end": 1160, + "start": 1091, + "end": 1097, "loc": { "start": { - "line": 43, - "column": 4 + "line": 47, + "column": 2 }, "end": { - "line": 43, - "column": 10 + "line": 47, + "column": 8 }, "identifierName": "filter" }, "name": "filter", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -982,625 +973,157 @@ "params": [ { "type": "AssignmentPattern", - "start": 1161, - "end": 1338, + "start": 1098, + "end": 1113, "loc": { "start": { - "line": 43, - "column": 11 + "line": 47, + "column": 9 }, "end": { - "line": 49, - "column": 10 + "line": 47, + "column": 24 } }, "left": { "type": "Identifier", - "start": 1161, - "end": 1171, + "start": 1098, + "end": 1108, "loc": { "start": { - "line": 43, - "column": 11 + "line": 47, + "column": 9 }, "end": { - "line": 43, - "column": 21 + "line": 47, + "column": 19 }, "identifierName": "conditions" }, "name": "conditions" }, "right": { - "type": "AssignmentExpression", - "start": 1174, - "end": 1338, + "type": "ObjectExpression", + "start": 1111, + "end": 1113, "loc": { "start": { - "line": 43, + "line": 47, + "column": 22 + }, + "end": { + "line": 47, "column": 24 + } + }, + "properties": [] + } + } + ], + "body": { + "type": "BlockStatement", + "start": 1115, + "end": 1177, + "loc": { + "start": { + "line": 47, + "column": 26 + }, + "end": { + "line": 50, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1121, + "end": 1156, + "loc": { + "start": { + "line": 48, + "column": 4 }, "end": { - "line": 49, - "column": 10 + "line": 48, + "column": 39 } }, - "operator": "=", - "left": { - "type": "ObjectPattern", - "start": 1174, - "end": 1333, + "expression": { + "type": "AssignmentExpression", + "start": 1121, + "end": 1155, "loc": { "start": { - "line": 43, - "column": 24 + "line": 48, + "column": 4 }, "end": { - "line": 49, - "column": 5 + "line": 48, + "column": 38 } }, - "properties": [ - { - "type": "ObjectProperty", - "start": 1184, - "end": 1201, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 25 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 1184, - "end": 1189, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 13 - }, - "identifierName": "track" - }, - "name": "track" - }, - "value": { - "type": "AssignmentPattern", - "start": 1184, - "end": 1201, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 25 - } - }, - "left": { - "type": "Identifier", - "start": 1184, - "end": 1189, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 13 - }, - "identifierName": "track" - }, - "name": "track" - }, - "right": { - "type": "Identifier", - "start": 1192, - "end": 1201, - "loc": { - "start": { - "line": 44, - "column": 16 - }, - "end": { - "line": 44, - "column": 25 - }, - "identifierName": "undefined" - }, - "name": "undefined" - } + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1121, + "end": 1142, + "loc": { + "start": { + "line": 48, + "column": 4 }, - "extra": { - "shorthand": true + "end": { + "line": 48, + "column": 25 } }, - { - "type": "ObjectProperty", - "start": 1211, - "end": 1228, + "object": { + "type": "ThisExpression", + "start": 1121, + "end": 1125, "loc": { "start": { - "line": 45, - "column": 8 + "line": 48, + "column": 4 }, "end": { - "line": 45, - "column": 25 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 1211, - "end": 1216, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 13 - }, - "identifierName": "album" - }, - "name": "album" - }, - "value": { - "type": "AssignmentPattern", - "start": 1211, - "end": 1228, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 25 - } - }, - "left": { - "type": "Identifier", - "start": 1211, - "end": 1216, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 13 - }, - "identifierName": "album" - }, - "name": "album" - }, - "right": { - "type": "Identifier", - "start": 1219, - "end": 1228, - "loc": { - "start": { - "line": 45, - "column": 16 - }, - "end": { - "line": 45, - "column": 25 - }, - "identifierName": "undefined" - }, - "name": "undefined" + "line": 48, + "column": 8 } - }, - "extra": { - "shorthand": true } }, - { - "type": "ObjectProperty", - "start": 1238, - "end": 1256, + "property": { + "type": "Identifier", + "start": 1126, + "end": 1142, "loc": { "start": { - "line": 46, - "column": 8 + "line": 48, + "column": 9 }, "end": { - "line": 46, - "column": 26 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 1238, - "end": 1244, - "loc": { - "start": { - "line": 46, - "column": 8 - }, - "end": { - "line": 46, - "column": 14 - }, - "identifierName": "artist" - }, - "name": "artist" - }, - "value": { - "type": "AssignmentPattern", - "start": 1238, - "end": 1256, - "loc": { - "start": { - "line": 46, - "column": 8 - }, - "end": { - "line": 46, - "column": 26 - } - }, - "left": { - "type": "Identifier", - "start": 1238, - "end": 1244, - "loc": { - "start": { - "line": 46, - "column": 8 - }, - "end": { - "line": 46, - "column": 14 - }, - "identifierName": "artist" - }, - "name": "artist" + "line": 48, + "column": 25 }, - "right": { - "type": "Identifier", - "start": 1247, - "end": 1256, - "loc": { - "start": { - "line": 46, - "column": 17 - }, - "end": { - "line": 46, - "column": 26 - }, - "identifierName": "undefined" - }, - "name": "undefined" - } + "identifierName": "filterConditions" }, - "extra": { - "shorthand": true - } + "name": "filterConditions" }, - { - "type": "ObjectProperty", - "start": 1266, - "end": 1286, - "loc": { - "start": { - "line": 47, - "column": 8 - }, - "end": { - "line": 47, - "column": 28 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 1266, - "end": 1274, - "loc": { - "start": { - "line": 47, - "column": 8 - }, - "end": { - "line": 47, - "column": 16 - }, - "identifierName": "playlist" - }, - "name": "playlist" - }, - "value": { - "type": "AssignmentPattern", - "start": 1266, - "end": 1286, - "loc": { - "start": { - "line": 47, - "column": 8 - }, - "end": { - "line": 47, - "column": 28 - } - }, - "left": { - "type": "Identifier", - "start": 1266, - "end": 1274, - "loc": { - "start": { - "line": 47, - "column": 8 - }, - "end": { - "line": 47, - "column": 16 - }, - "identifierName": "playlist" - }, - "name": "playlist" - }, - "right": { - "type": "Identifier", - "start": 1277, - "end": 1286, - "loc": { - "start": { - "line": 47, - "column": 19 - }, - "end": { - "line": 47, - "column": 28 - }, - "identifierName": "undefined" - }, - "name": "undefined" - } - }, - "extra": { - "shorthand": true - } - }, - { - "type": "ObjectProperty", - "start": 1296, - "end": 1327, - "loc": { - "start": { - "line": 48, - "column": 8 - }, - "end": { - "line": 48, - "column": 39 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 1296, - "end": 1315, - "loc": { - "start": { - "line": 48, - "column": 8 - }, - "end": { - "line": 48, - "column": 27 - }, - "identifierName": "available_territory" - }, - "name": "available_territory" - }, - "value": { - "type": "AssignmentPattern", - "start": 1296, - "end": 1327, - "loc": { - "start": { - "line": 48, - "column": 8 - }, - "end": { - "line": 48, - "column": 39 - } - }, - "left": { - "type": "Identifier", - "start": 1296, - "end": 1315, - "loc": { - "start": { - "line": 48, - "column": 8 - }, - "end": { - "line": 48, - "column": 27 - }, - "identifierName": "available_territory" - }, - "name": "available_territory" - }, - "right": { - "type": "Identifier", - "start": 1318, - "end": 1327, - "loc": { - "start": { - "line": 48, - "column": 30 - }, - "end": { - "line": 48, - "column": 39 - }, - "identifierName": "undefined" - }, - "name": "undefined" - } - }, - "extra": { - "shorthand": true - } - } - ] - }, - "right": { - "type": "ObjectExpression", - "start": 1336, - "end": 1338, - "loc": { - "start": { - "line": 49, - "column": 8 - }, - "end": { - "line": 49, - "column": 10 - } - }, - "properties": [] - } - } - } - ], - "body": { - "type": "BlockStatement", - "start": 1340, - "end": 1410, - "loc": { - "start": { - "line": 49, - "column": 12 - }, - "end": { - "line": 52, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1350, - "end": 1384, - "loc": { - "start": { - "line": 50, - "column": 8 - }, - "end": { - "line": 50, - "column": 42 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1350, - "end": 1384, - "loc": { - "start": { - "line": 50, - "column": 8 - }, - "end": { - "line": 50, - "column": 42 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1350, - "end": 1371, - "loc": { - "start": { - "line": 50, - "column": 8 - }, - "end": { - "line": 50, - "column": 29 - } - }, - "object": { - "type": "ThisExpression", - "start": 1350, - "end": 1354, - "loc": { - "start": { - "line": 50, - "column": 8 - }, - "end": { - "line": 50, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 1355, - "end": 1371, - "loc": { - "start": { - "line": 50, - "column": 13 - }, - "end": { - "line": 50, - "column": 29 - }, - "identifierName": "filterConditions" - }, - "name": "filterConditions" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 1374, - "end": 1384, - "loc": { - "start": { - "line": 50, - "column": 32 + "computed": false + }, + "right": { + "type": "Identifier", + "start": 1145, + "end": 1155, + "loc": { + "start": { + "line": 48, + "column": 28 }, "end": { - "line": 50, - "column": 42 + "line": 48, + "column": 38 }, "identifierName": "conditions" }, @@ -1610,30 +1133,30 @@ }, { "type": "ReturnStatement", - "start": 1393, - "end": 1404, + "start": 1161, + "end": 1173, "loc": { "start": { - "line": 51, - "column": 8 + "line": 49, + "column": 4 }, "end": { - "line": 51, - "column": 19 + "line": 49, + "column": 16 } }, "argument": { "type": "ThisExpression", - "start": 1400, - "end": 1404, + "start": 1168, + "end": 1172, "loc": { "start": { - "line": 51, - "column": 15 + "line": 49, + "column": 11 }, "end": { - "line": 51, - "column": 19 + "line": 49, + "column": 15 } } } @@ -1645,17 +1168,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Filter what you don't want when search.\n *\n * @param {Object} [conditions] - search conditions.\n * @param {string} conditions.track - track's name.\n * @param {string} conditions.album - album's name.\n * @param {string} conditions.artist - artist's name.\n * @param {string} conditions.playlist - playlist's title.\n * @param {string} conditions.available_territory - tracks and albums available territory.\n * @return {Search}\n * @example api.searchFetcher.setSearchCriteria('五月天 好好').filter({artist: '五月天'}).fetchSearchResult()\n ", - "start": 569, - "end": 1149, + "value": "*\n * Filter what you don't want when search.\n *\n * @param {Object} [conditions] - search conditions.\n * @param {string} conditions.track - track's name.\n * @param {string} conditions.album - album's name.\n * @param {string} conditions.artist - artist's name.\n * @param {string} conditions.playlist - playlist's title.\n * @param {string} conditions.availableTerritory - tracks and albums available territory.\n * @return {Search}\n * @example\n * api.searchFetcher\n * .setSearchCriteria('五月天 好好')\n * .filter({artist: '五月天'})\n * .fetchSearchResult();\n ", + "start": 504, + "end": 1088, "loc": { "start": { "line": 31, - "column": 4 + "column": 2 }, "end": { - "line": 42, - "column": 7 + "line": 46, + "column": 5 } } } @@ -1663,17 +1186,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Init the search fetcher for the artist, album, track or playlist.\n *\n * @param {string} q - The keyword to be searched.\n * @param {string} [type] - ['artist', 'album', 'track', 'playlist'] The type of search. Default to search all types. If you want to use multiple type at the same time, you may use ',' to separate them.\n * @return {Search}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/search\n ", - "start": 1416, - "end": 1864, + "value": "*\n * Init the search fetcher for the artist, album, track or playlist.\n *\n * @param {string} q - The keyword to be searched.\n * @param {string} [type] - ['artist', 'album', 'track', 'playlist'] The type of search. Default to search all types. If you want to use multiple type at the same time, you may use ',' to separate them.\n * @return {Search}\n * @see https://docs-en.kkbox.codes/v1.1/reference#search_1\n ", + "start": 1181, + "end": 1608, "loc": { "start": { - "line": 54, - "column": 4 + "line": 52, + "column": 2 }, "end": { - "line": 61, - "column": 7 + "line": 59, + "column": 5 } } } @@ -1681,38 +1204,38 @@ }, { "type": "ClassMethod", - "start": 1869, - "end": 1987, + "start": 1611, + "end": 1710, "loc": { "start": { - "line": 62, - "column": 4 + "line": 60, + "column": 2 }, "end": { - "line": 66, - "column": 5 + "line": 64, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 1869, - "end": 1886, + "start": 1611, + "end": 1628, "loc": { "start": { - "line": 62, - "column": 4 + "line": 60, + "column": 2 }, "end": { - "line": 62, - "column": 21 + "line": 60, + "column": 19 }, "identifierName": "setSearchCriteria" }, "name": "setSearchCriteria", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -1721,16 +1244,16 @@ "params": [ { "type": "Identifier", - "start": 1887, - "end": 1888, + "start": 1629, + "end": 1630, "loc": { "start": { - "line": 62, - "column": 22 + "line": 60, + "column": 20 }, "end": { - "line": 62, - "column": 23 + "line": 60, + "column": 21 }, "identifierName": "q" }, @@ -1738,30 +1261,30 @@ }, { "type": "AssignmentPattern", - "start": 1890, - "end": 1906, + "start": 1632, + "end": 1648, "loc": { "start": { - "line": 62, - "column": 25 + "line": 60, + "column": 23 }, "end": { - "line": 62, - "column": 41 + "line": 60, + "column": 39 } }, "left": { "type": "Identifier", - "start": 1890, - "end": 1894, + "start": 1632, + "end": 1636, "loc": { "start": { - "line": 62, - "column": 25 + "line": 60, + "column": 23 }, "end": { - "line": 62, - "column": 29 + "line": 60, + "column": 27 }, "identifierName": "type" }, @@ -1769,16 +1292,16 @@ }, "right": { "type": "Identifier", - "start": 1897, - "end": 1906, + "start": 1639, + "end": 1648, "loc": { "start": { - "line": 62, - "column": 32 + "line": 60, + "column": 30 }, "end": { - "line": 62, - "column": 41 + "line": 60, + "column": 39 }, "identifierName": "undefined" }, @@ -1788,89 +1311,89 @@ ], "body": { "type": "BlockStatement", - "start": 1908, - "end": 1987, + "start": 1650, + "end": 1710, "loc": { "start": { - "line": 62, - "column": 43 + "line": 60, + "column": 41 }, "end": { - "line": 66, - "column": 5 + "line": 64, + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 1918, - "end": 1928, + "start": 1656, + "end": 1667, "loc": { "start": { - "line": 63, - "column": 8 + "line": 61, + "column": 4 }, "end": { - "line": 63, - "column": 18 + "line": 61, + "column": 15 } }, "expression": { "type": "AssignmentExpression", - "start": 1918, - "end": 1928, + "start": 1656, + "end": 1666, "loc": { "start": { - "line": 63, - "column": 8 + "line": 61, + "column": 4 }, "end": { - "line": 63, - "column": 18 + "line": 61, + "column": 14 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1918, - "end": 1924, + "start": 1656, + "end": 1662, "loc": { "start": { - "line": 63, - "column": 8 + "line": 61, + "column": 4 }, "end": { - "line": 63, - "column": 14 + "line": 61, + "column": 10 } }, "object": { "type": "ThisExpression", - "start": 1918, - "end": 1922, + "start": 1656, + "end": 1660, "loc": { "start": { - "line": 63, - "column": 8 + "line": 61, + "column": 4 }, "end": { - "line": 63, - "column": 12 + "line": 61, + "column": 8 } } }, "property": { "type": "Identifier", - "start": 1923, - "end": 1924, + "start": 1661, + "end": 1662, "loc": { "start": { - "line": 63, - "column": 13 + "line": 61, + "column": 9 }, "end": { - "line": 63, - "column": 14 + "line": 61, + "column": 10 }, "identifierName": "q" }, @@ -1880,16 +1403,16 @@ }, "right": { "type": "Identifier", - "start": 1927, - "end": 1928, + "start": 1665, + "end": 1666, "loc": { "start": { - "line": 63, - "column": 17 + "line": 61, + "column": 13 }, "end": { - "line": 63, - "column": 18 + "line": 61, + "column": 14 }, "identifierName": "q" }, @@ -1899,74 +1422,74 @@ }, { "type": "ExpressionStatement", - "start": 1937, - "end": 1953, + "start": 1672, + "end": 1689, "loc": { "start": { - "line": 64, - "column": 8 + "line": 62, + "column": 4 }, "end": { - "line": 64, - "column": 24 + "line": 62, + "column": 21 } }, "expression": { "type": "AssignmentExpression", - "start": 1937, - "end": 1953, + "start": 1672, + "end": 1688, "loc": { "start": { - "line": 64, - "column": 8 + "line": 62, + "column": 4 }, "end": { - "line": 64, - "column": 24 + "line": 62, + "column": 20 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1937, - "end": 1946, + "start": 1672, + "end": 1681, "loc": { "start": { - "line": 64, - "column": 8 + "line": 62, + "column": 4 }, "end": { - "line": 64, - "column": 17 + "line": 62, + "column": 13 } }, "object": { "type": "ThisExpression", - "start": 1937, - "end": 1941, + "start": 1672, + "end": 1676, "loc": { "start": { - "line": 64, - "column": 8 + "line": 62, + "column": 4 }, "end": { - "line": 64, - "column": 12 + "line": 62, + "column": 8 } } }, "property": { "type": "Identifier", - "start": 1942, - "end": 1946, + "start": 1677, + "end": 1681, "loc": { "start": { - "line": 64, - "column": 13 + "line": 62, + "column": 9 }, "end": { - "line": 64, - "column": 17 + "line": 62, + "column": 13 }, "identifierName": "type" }, @@ -1976,16 +1499,16 @@ }, "right": { "type": "Identifier", - "start": 1949, - "end": 1953, + "start": 1684, + "end": 1688, "loc": { "start": { - "line": 64, - "column": 20 + "line": 62, + "column": 16 }, "end": { - "line": 64, - "column": 24 + "line": 62, + "column": 20 }, "identifierName": "type" }, @@ -1995,30 +1518,30 @@ }, { "type": "ReturnStatement", - "start": 1970, - "end": 1981, + "start": 1694, + "end": 1706, "loc": { "start": { - "line": 65, - "column": 8 + "line": 63, + "column": 4 }, "end": { - "line": 65, - "column": 19 + "line": 63, + "column": 16 } }, "argument": { "type": "ThisExpression", - "start": 1977, - "end": 1981, + "start": 1701, + "end": 1705, "loc": { "start": { - "line": 65, - "column": 15 + "line": 63, + "column": 11 }, "end": { - "line": 65, - "column": 19 + "line": 63, + "column": 15 } } } @@ -2030,17 +1553,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Init the search fetcher for the artist, album, track or playlist.\n *\n * @param {string} q - The keyword to be searched.\n * @param {string} [type] - ['artist', 'album', 'track', 'playlist'] The type of search. Default to search all types. If you want to use multiple type at the same time, you may use ',' to separate them.\n * @return {Search}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/search\n ", - "start": 1416, - "end": 1864, + "value": "*\n * Init the search fetcher for the artist, album, track or playlist.\n *\n * @param {string} q - The keyword to be searched.\n * @param {string} [type] - ['artist', 'album', 'track', 'playlist'] The type of search. Default to search all types. If you want to use multiple type at the same time, you may use ',' to separate them.\n * @return {Search}\n * @see https://docs-en.kkbox.codes/v1.1/reference#search_1\n ", + "start": 1181, + "end": 1608, "loc": { "start": { - "line": 54, - "column": 4 + "line": 52, + "column": 2 }, "end": { - "line": 61, - "column": 7 + "line": 59, + "column": 5 } } } @@ -2048,17 +1571,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch the search result.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.searchFetcher.setSearchCriteria('五月天 好好').fetchSearchResult()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/search/endpoints/get-search\n ", - "start": 1993, - "end": 2367, + "value": "*\n * Fetch the search result.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example\n * api.searchFetcher\n * .setSearchCriteria('五月天 好好')\n * .fetchSearchResult();\n * @see https://docs-en.kkbox.codes/v1.1/reference#search_1\n ", + "start": 1714, + "end": 2064, "loc": { "start": { - "line": 68, - "column": 4 + "line": 66, + "column": 2 }, "end": { - "line": 76, - "column": 7 + "line": 77, + "column": 5 } } } @@ -2066,38 +1589,38 @@ }, { "type": "ClassMethod", - "start": 2372, - "end": 2670, + "start": 2067, + "end": 2340, "loc": { "start": { - "line": 77, - "column": 4 + "line": 78, + "column": 2 }, "end": { - "line": 85, - "column": 5 + "line": 88, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 2372, - "end": 2389, + "start": 2067, + "end": 2084, "loc": { "start": { - "line": 77, - "column": 4 + "line": 78, + "column": 2 }, "end": { - "line": 77, - "column": 21 + "line": 78, + "column": 19 }, "identifierName": "fetchSearchResult" }, "name": "fetchSearchResult", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -2106,30 +1629,30 @@ "params": [ { "type": "AssignmentPattern", - "start": 2390, - "end": 2407, + "start": 2085, + "end": 2102, "loc": { "start": { - "line": 77, - "column": 22 + "line": 78, + "column": 20 }, "end": { - "line": 77, - "column": 39 + "line": 78, + "column": 37 } }, "left": { "type": "Identifier", - "start": 2390, - "end": 2395, + "start": 2085, + "end": 2090, "loc": { "start": { - "line": 77, - "column": 22 + "line": 78, + "column": 20 }, "end": { - "line": 77, - "column": 27 + "line": 78, + "column": 25 }, "identifierName": "limit" }, @@ -2137,16 +1660,16 @@ }, "right": { "type": "Identifier", - "start": 2398, - "end": 2407, + "start": 2093, + "end": 2102, "loc": { "start": { - "line": 77, - "column": 30 + "line": 78, + "column": 28 }, "end": { - "line": 77, - "column": 39 + "line": 78, + "column": 37 }, "identifierName": "undefined" }, @@ -2155,30 +1678,30 @@ }, { "type": "AssignmentPattern", - "start": 2409, - "end": 2427, + "start": 2104, + "end": 2122, "loc": { "start": { - "line": 77, - "column": 41 + "line": 78, + "column": 39 }, "end": { - "line": 77, - "column": 59 + "line": 78, + "column": 57 } }, "left": { "type": "Identifier", - "start": 2409, - "end": 2415, + "start": 2104, + "end": 2110, "loc": { "start": { - "line": 77, - "column": 41 + "line": 78, + "column": 39 }, "end": { - "line": 77, - "column": 47 + "line": 78, + "column": 45 }, "identifierName": "offset" }, @@ -2186,16 +1709,16 @@ }, "right": { "type": "Identifier", - "start": 2418, - "end": 2427, + "start": 2113, + "end": 2122, "loc": { "start": { - "line": 77, - "column": 50 + "line": 78, + "column": 48 }, "end": { - "line": 77, - "column": 59 + "line": 78, + "column": 57 }, "identifierName": "undefined" }, @@ -2205,130 +1728,130 @@ ], "body": { "type": "BlockStatement", - "start": 2429, - "end": 2670, + "start": 2124, + "end": 2340, "loc": { "start": { - "line": 77, - "column": 61 + "line": 78, + "column": 59 }, "end": { - "line": 85, - "column": 5 + "line": 88, + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 2439, - "end": 2664, + "start": 2130, + "end": 2336, "loc": { "start": { - "line": 78, - "column": 8 + "line": 79, + "column": 4 }, "end": { - "line": 84, - "column": 36 + "line": 87, + "column": 33 } }, "argument": { "type": "CallExpression", - "start": 2446, - "end": 2664, + "start": 2137, + "end": 2335, "loc": { "start": { - "line": 78, - "column": 15 + "line": 79, + "column": 11 }, "end": { - "line": 84, - "column": 36 + "line": 87, + "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 2446, - "end": 2643, + "start": 2137, + "end": 2314, "loc": { "start": { - "line": 78, - "column": 15 + "line": 79, + "column": 11 }, "end": { - "line": 84, - "column": 15 + "line": 87, + "column": 11 } }, "object": { "type": "CallExpression", - "start": 2446, - "end": 2638, + "start": 2137, + "end": 2302, "loc": { "start": { - "line": 78, - "column": 15 + "line": 79, + "column": 11 }, "end": { - "line": 84, - "column": 10 + "line": 86, + "column": 8 } }, "callee": { "type": "MemberExpression", - "start": 2446, - "end": 2459, + "start": 2137, + "end": 2157, "loc": { "start": { - "line": 78, - "column": 15 + "line": 79, + "column": 11 }, "end": { - "line": 78, - "column": 28 + "line": 80, + "column": 10 } }, "object": { "type": "MemberExpression", - "start": 2446, - "end": 2455, + "start": 2137, + "end": 2146, "loc": { "start": { - "line": 78, - "column": 15 + "line": 79, + "column": 11 }, "end": { - "line": 78, - "column": 24 + "line": 79, + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 2446, - "end": 2450, + "start": 2137, + "end": 2141, "loc": { "start": { - "line": 78, - "column": 15 + "line": 79, + "column": 11 }, "end": { - "line": 78, - "column": 19 + "line": 79, + "column": 15 } } }, "property": { "type": "Identifier", - "start": 2451, - "end": 2455, + "start": 2142, + "end": 2146, "loc": { "start": { - "line": 78, - "column": 20 + "line": 79, + "column": 16 }, "end": { - "line": 78, - "column": 24 + "line": 79, + "column": 20 }, "identifierName": "http" }, @@ -2338,16 +1861,16 @@ }, "property": { "type": "Identifier", - "start": 2456, - "end": 2459, + "start": 2154, + "end": 2157, "loc": { "start": { - "line": 78, - "column": 25 + "line": 80, + "column": 7 }, "end": { - "line": 78, - "column": 28 + "line": 80, + "column": 10 }, "identifierName": "get" }, @@ -2358,16 +1881,16 @@ "arguments": [ { "type": "Identifier", - "start": 2460, - "end": 2468, + "start": 2158, + "end": 2166, "loc": { "start": { - "line": 78, - "column": 29 + "line": 80, + "column": 11 }, "end": { - "line": 78, - "column": 37 + "line": 80, + "column": 19 }, "identifierName": "ENDPOINT" }, @@ -2375,31 +1898,31 @@ }, { "type": "ObjectExpression", - "start": 2470, - "end": 2637, + "start": 2168, + "end": 2301, "loc": { "start": { - "line": 78, - "column": 39 + "line": 80, + "column": 21 }, "end": { - "line": 84, - "column": 9 + "line": 86, + "column": 7 } }, "properties": [ { "type": "ObjectProperty", - "start": 2484, - "end": 2493, + "start": 2178, + "end": 2187, "loc": { "start": { - "line": 79, - "column": 12 + "line": 81, + "column": 8 }, "end": { - "line": 79, - "column": 21 + "line": 81, + "column": 17 } }, "method": false, @@ -2407,16 +1930,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 2484, - "end": 2485, + "start": 2178, + "end": 2179, "loc": { "start": { - "line": 79, - "column": 12 + "line": 81, + "column": 8 }, "end": { - "line": 79, - "column": 13 + "line": 81, + "column": 9 }, "identifierName": "q" }, @@ -2424,45 +1947,45 @@ }, "value": { "type": "MemberExpression", - "start": 2487, - "end": 2493, + "start": 2181, + "end": 2187, "loc": { "start": { - "line": 79, - "column": 15 + "line": 81, + "column": 11 }, "end": { - "line": 79, - "column": 21 + "line": 81, + "column": 17 } }, "object": { "type": "ThisExpression", - "start": 2487, - "end": 2491, + "start": 2181, + "end": 2185, "loc": { "start": { - "line": 79, - "column": 15 + "line": 81, + "column": 11 }, "end": { - "line": 79, - "column": 19 + "line": 81, + "column": 15 } } }, "property": { "type": "Identifier", - "start": 2492, - "end": 2493, + "start": 2186, + "end": 2187, "loc": { "start": { - "line": 79, - "column": 20 + "line": 81, + "column": 16 }, "end": { - "line": 79, - "column": 21 + "line": 81, + "column": 17 }, "identifierName": "q" }, @@ -2473,16 +1996,16 @@ }, { "type": "ObjectProperty", - "start": 2507, - "end": 2522, + "start": 2197, + "end": 2212, "loc": { "start": { - "line": 80, - "column": 12 + "line": 82, + "column": 8 }, "end": { - "line": 80, - "column": 27 + "line": 82, + "column": 23 } }, "method": false, @@ -2490,16 +2013,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 2507, - "end": 2511, + "start": 2197, + "end": 2201, "loc": { "start": { - "line": 80, - "column": 12 + "line": 82, + "column": 8 }, "end": { - "line": 80, - "column": 16 + "line": 82, + "column": 12 }, "identifierName": "type" }, @@ -2507,45 +2030,45 @@ }, "value": { "type": "MemberExpression", - "start": 2513, - "end": 2522, + "start": 2203, + "end": 2212, "loc": { "start": { - "line": 80, - "column": 18 + "line": 82, + "column": 14 }, "end": { - "line": 80, - "column": 27 + "line": 82, + "column": 23 } }, "object": { "type": "ThisExpression", - "start": 2513, - "end": 2517, + "start": 2203, + "end": 2207, "loc": { "start": { - "line": 80, - "column": 18 + "line": 82, + "column": 14 }, "end": { - "line": 80, - "column": 22 + "line": 82, + "column": 18 } } }, "property": { "type": "Identifier", - "start": 2518, - "end": 2522, + "start": 2208, + "end": 2212, "loc": { "start": { - "line": 80, - "column": 23 + "line": 82, + "column": 19 }, "end": { - "line": 80, - "column": 27 + "line": 82, + "column": 23 }, "identifierName": "type" }, @@ -2556,16 +2079,16 @@ }, { "type": "ObjectProperty", - "start": 2536, - "end": 2561, + "start": 2222, + "end": 2247, "loc": { "start": { - "line": 81, - "column": 12 + "line": 83, + "column": 8 }, "end": { - "line": 81, - "column": 37 + "line": 83, + "column": 33 } }, "method": false, @@ -2573,16 +2096,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 2536, - "end": 2545, + "start": 2222, + "end": 2231, "loc": { "start": { - "line": 81, - "column": 12 + "line": 83, + "column": 8 }, "end": { - "line": 81, - "column": 21 + "line": 83, + "column": 17 }, "identifierName": "territory" }, @@ -2590,45 +2113,45 @@ }, "value": { "type": "MemberExpression", - "start": 2547, - "end": 2561, + "start": 2233, + "end": 2247, "loc": { "start": { - "line": 81, - "column": 23 + "line": 83, + "column": 19 }, "end": { - "line": 81, - "column": 37 + "line": 83, + "column": 33 } }, "object": { "type": "ThisExpression", - "start": 2547, - "end": 2551, + "start": 2233, + "end": 2237, "loc": { "start": { - "line": 81, - "column": 23 + "line": 83, + "column": 19 }, "end": { - "line": 81, - "column": 27 + "line": 83, + "column": 23 } } }, "property": { "type": "Identifier", - "start": 2552, - "end": 2561, + "start": 2238, + "end": 2247, "loc": { "start": { - "line": 81, - "column": 28 + "line": 83, + "column": 24 }, "end": { - "line": 81, - "column": 37 + "line": 83, + "column": 33 }, "identifierName": "territory" }, @@ -2639,16 +2162,16 @@ }, { "type": "ObjectProperty", - "start": 2575, - "end": 2587, + "start": 2257, + "end": 2269, "loc": { "start": { - "line": 82, - "column": 12 + "line": 84, + "column": 8 }, "end": { - "line": 82, - "column": 24 + "line": 84, + "column": 20 } }, "method": false, @@ -2656,16 +2179,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 2575, - "end": 2580, + "start": 2257, + "end": 2262, "loc": { "start": { - "line": 82, - "column": 12 + "line": 84, + "column": 8 }, "end": { - "line": 82, - "column": 17 + "line": 84, + "column": 13 }, "identifierName": "limit" }, @@ -2673,16 +2196,16 @@ }, "value": { "type": "Identifier", - "start": 2582, - "end": 2587, + "start": 2264, + "end": 2269, "loc": { "start": { - "line": 82, - "column": 19 + "line": 84, + "column": 15 }, "end": { - "line": 82, - "column": 24 + "line": 84, + "column": 20 }, "identifierName": "limit" }, @@ -2691,16 +2214,16 @@ }, { "type": "ObjectProperty", - "start": 2601, - "end": 2615, + "start": 2279, + "end": 2293, "loc": { "start": { - "line": 83, - "column": 12 + "line": 85, + "column": 8 }, "end": { - "line": 83, - "column": 26 + "line": 85, + "column": 22 } }, "method": false, @@ -2708,16 +2231,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 2601, - "end": 2607, + "start": 2279, + "end": 2285, "loc": { "start": { - "line": 83, - "column": 12 + "line": 85, + "column": 8 }, "end": { - "line": 83, - "column": 18 + "line": 85, + "column": 14 }, "identifierName": "offset" }, @@ -2725,16 +2248,16 @@ }, "value": { "type": "Identifier", - "start": 2609, - "end": 2615, + "start": 2287, + "end": 2293, "loc": { "start": { - "line": 83, - "column": 20 + "line": 85, + "column": 16 }, "end": { - "line": 83, - "column": 26 + "line": 85, + "column": 22 }, "identifierName": "offset" }, @@ -2747,16 +2270,16 @@ }, "property": { "type": "Identifier", - "start": 2639, - "end": 2643, + "start": 2310, + "end": 2314, "loc": { "start": { - "line": 84, - "column": 11 + "line": 87, + "column": 7 }, "end": { - "line": 84, - "column": 15 + "line": 87, + "column": 11 }, "identifierName": "then" }, @@ -2767,44 +2290,44 @@ "arguments": [ { "type": "CallExpression", - "start": 2644, - "end": 2663, + "start": 2315, + "end": 2334, "loc": { "start": { - "line": 84, - "column": 16 + "line": 87, + "column": 12 }, "end": { - "line": 84, - "column": 35 + "line": 87, + "column": 31 } }, "callee": { "type": "MemberExpression", - "start": 2644, - "end": 2657, + "start": 2315, + "end": 2328, "loc": { "start": { - "line": 84, - "column": 16 + "line": 87, + "column": 12 }, "end": { - "line": 84, - "column": 29 + "line": 87, + "column": 25 } }, "object": { "type": "Identifier", - "start": 2644, - "end": 2652, + "start": 2315, + "end": 2323, "loc": { "start": { - "line": 84, - "column": 16 + "line": 87, + "column": 12 }, "end": { - "line": 84, - "column": 24 + "line": 87, + "column": 20 }, "identifierName": "doFilter" }, @@ -2812,16 +2335,16 @@ }, "property": { "type": "Identifier", - "start": 2653, - "end": 2657, + "start": 2324, + "end": 2328, "loc": { "start": { - "line": 84, - "column": 25 + "line": 87, + "column": 21 }, "end": { - "line": 84, - "column": 29 + "line": 87, + "column": 25 }, "identifierName": "bind" }, @@ -2832,16 +2355,16 @@ "arguments": [ { "type": "ThisExpression", - "start": 2658, - "end": 2662, + "start": 2329, + "end": 2333, "loc": { "start": { - "line": 84, - "column": 30 + "line": 87, + "column": 26 }, "end": { - "line": 84, - "column": 34 + "line": 87, + "column": 30 } } } @@ -2856,17 +2379,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch the search result.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.searchFetcher.setSearchCriteria('五月天 好好').fetchSearchResult()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/search/endpoints/get-search\n ", - "start": 1993, - "end": 2367, + "value": "*\n * Fetch the search result.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example\n * api.searchFetcher\n * .setSearchCriteria('五月天 好好')\n * .fetchSearchResult();\n * @see https://docs-en.kkbox.codes/v1.1/reference#search_1\n ", + "start": 1714, + "end": 2064, "loc": { "start": { - "line": 68, - "column": 4 + "line": 66, + "column": 2 }, "end": { - "line": 76, - "column": 7 + "line": 77, + "column": 5 } } } @@ -2877,9 +2400,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Search API.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/search\n ", - "start": 80, - "end": 169, + "value": "*\n * Search API.\n * @see https://docs-en.kkbox.codes/v1.1/reference#search\n ", + "start": 84, + "end": 164, "loc": { "start": { "line": 4, @@ -2897,9 +2420,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Search API.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/search\n ", - "start": 80, - "end": 169, + "value": "*\n * Search API.\n * @see https://docs-en.kkbox.codes/v1.1/reference#search\n ", + "start": 84, + "end": 164, "loc": { "start": { "line": 4, @@ -2915,29 +2438,29 @@ }, { "type": "FunctionDeclaration", - "start": 2674, - "end": 7045, + "start": 2344, + "end": 6074, "loc": { "start": { - "line": 88, + "line": 91, "column": 0 }, "end": { - "line": 166, + "line": 201, "column": 1 } }, "id": { "type": "Identifier", - "start": 2683, - "end": 2691, + "start": 2353, + "end": 2361, "loc": { "start": { - "line": 88, + "line": 91, "column": 9 }, "end": { - "line": 88, + "line": 91, "column": 17 }, "identifierName": "doFilter" @@ -2950,15 +2473,15 @@ "params": [ { "type": "Identifier", - "start": 2692, - "end": 2700, + "start": 2362, + "end": 2370, "loc": { "start": { - "line": 88, + "line": 91, "column": 18 }, "end": { - "line": 88, + "line": 91, "column": 26 }, "identifierName": "response" @@ -2968,88 +2491,88 @@ ], "body": { "type": "BlockStatement", - "start": 2702, - "end": 7045, + "start": 2372, + "end": 6074, "loc": { "start": { - "line": 88, + "line": 91, "column": 28 }, "end": { - "line": 166, + "line": 201, "column": 1 } }, "body": [ { "type": "IfStatement", - "start": 2708, - "end": 7043, + "start": 2376, + "end": 6072, "loc": { "start": { - "line": 89, - "column": 4 + "line": 92, + "column": 2 }, "end": { - "line": 165, - "column": 5 + "line": 200, + "column": 3 } }, "test": { "type": "BinaryExpression", - "start": 2712, - "end": 2747, + "start": 2380, + "end": 2415, "loc": { "start": { - "line": 89, - "column": 8 + "line": 92, + "column": 6 }, "end": { - "line": 89, - "column": 43 + "line": 92, + "column": 41 } }, "left": { "type": "MemberExpression", - "start": 2712, - "end": 2733, + "start": 2380, + "end": 2401, "loc": { "start": { - "line": 89, - "column": 8 + "line": 92, + "column": 6 }, "end": { - "line": 89, - "column": 29 + "line": 92, + "column": 27 } }, "object": { "type": "ThisExpression", - "start": 2712, - "end": 2716, + "start": 2380, + "end": 2384, "loc": { "start": { - "line": 89, - "column": 8 + "line": 92, + "column": 6 }, "end": { - "line": 89, - "column": 12 + "line": 92, + "column": 10 } } }, "property": { "type": "Identifier", - "start": 2717, - "end": 2733, + "start": 2385, + "end": 2401, "loc": { "start": { - "line": 89, - "column": 13 + "line": 92, + "column": 11 }, "end": { - "line": 89, - "column": 29 + "line": 92, + "column": 27 }, "identifierName": "filterConditions" }, @@ -3060,16 +2583,16 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 2738, - "end": 2747, + "start": 2406, + "end": 2415, "loc": { "start": { - "line": 89, - "column": 34 + "line": 92, + "column": 32 }, "end": { - "line": 89, - "column": 43 + "line": 92, + "column": 41 }, "identifierName": "undefined" }, @@ -3078,60 +2601,60 @@ }, "consequent": { "type": "BlockStatement", - "start": 2749, - "end": 7006, + "start": 2417, + "end": 6040, "loc": { "start": { - "line": 89, - "column": 45 + "line": 92, + "column": 43 }, "end": { - "line": 163, - "column": 5 + "line": 198, + "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 2759, - "end": 6929, + "start": 2423, + "end": 5956, "loc": { "start": { - "line": 90, - "column": 8 + "line": 93, + "column": 4 }, "end": { - "line": 161, - "column": 10 + "line": 194, + "column": 7 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 2765, - "end": 6929, + "start": 2429, + "end": 5955, "loc": { "start": { - "line": 90, - "column": 14 + "line": 93, + "column": 10 }, "end": { - "line": 161, - "column": 10 + "line": 194, + "column": 6 } }, "id": { "type": "Identifier", - "start": 2765, - "end": 2769, + "start": 2429, + "end": 2433, "loc": { "start": { - "line": 90, - "column": 14 + "line": 93, + "column": 10 }, "end": { - "line": 90, - "column": 18 + "line": 93, + "column": 14 }, "identifierName": "data" }, @@ -3139,72 +2662,72 @@ }, "init": { "type": "CallExpression", - "start": 2772, - "end": 6929, + "start": 2436, + "end": 5955, "loc": { "start": { - "line": 90, - "column": 21 + "line": 93, + "column": 17 }, "end": { - "line": 161, - "column": 10 + "line": 194, + "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 2772, - "end": 2802, + "start": 2436, + "end": 2466, "loc": { "start": { - "line": 90, - "column": 21 + "line": 93, + "column": 17 }, "end": { - "line": 90, - "column": 51 + "line": 93, + "column": 47 } }, "object": { "type": "CallExpression", - "start": 2772, - "end": 2798, + "start": 2436, + "end": 2462, "loc": { "start": { - "line": 90, - "column": 21 + "line": 93, + "column": 17 }, "end": { - "line": 90, - "column": 47 + "line": 93, + "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 2772, - "end": 2783, + "start": 2436, + "end": 2447, "loc": { "start": { - "line": 90, - "column": 21 + "line": 93, + "column": 17 }, "end": { - "line": 90, - "column": 32 + "line": 93, + "column": 28 } }, "object": { "type": "Identifier", - "start": 2772, - "end": 2778, + "start": 2436, + "end": 2442, "loc": { "start": { - "line": 90, - "column": 21 + "line": 93, + "column": 17 }, "end": { - "line": 90, - "column": 27 + "line": 93, + "column": 23 }, "identifierName": "Object" }, @@ -3212,16 +2735,16 @@ }, "property": { "type": "Identifier", - "start": 2779, - "end": 2783, + "start": 2443, + "end": 2447, "loc": { "start": { - "line": 90, - "column": 28 + "line": 93, + "column": 24 }, "end": { - "line": 90, - "column": 32 + "line": 93, + "column": 28 }, "identifierName": "keys" }, @@ -3232,30 +2755,30 @@ "arguments": [ { "type": "MemberExpression", - "start": 2784, - "end": 2797, + "start": 2448, + "end": 2461, "loc": { "start": { - "line": 90, - "column": 33 + "line": 93, + "column": 29 }, "end": { - "line": 90, - "column": 46 + "line": 93, + "column": 42 } }, "object": { "type": "Identifier", - "start": 2784, - "end": 2792, + "start": 2448, + "end": 2456, "loc": { "start": { - "line": 90, - "column": 33 + "line": 93, + "column": 29 }, "end": { - "line": 90, - "column": 41 + "line": 93, + "column": 37 }, "identifierName": "response" }, @@ -3263,16 +2786,16 @@ }, "property": { "type": "Identifier", - "start": 2793, - "end": 2797, + "start": 2457, + "end": 2461, "loc": { "start": { - "line": 90, - "column": 42 + "line": 93, + "column": 38 }, "end": { - "line": 90, - "column": 46 + "line": 93, + "column": 42 }, "identifierName": "data" }, @@ -3284,16 +2807,16 @@ }, "property": { "type": "Identifier", - "start": 2799, - "end": 2802, + "start": 2463, + "end": 2466, "loc": { "start": { - "line": 90, - "column": 48 + "line": 93, + "column": 44 }, "end": { - "line": 90, - "column": 51 + "line": 93, + "column": 47 }, "identifierName": "map" }, @@ -3304,16 +2827,16 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 2803, - "end": 6928, + "start": 2467, + "end": 5954, "loc": { "start": { - "line": 90, - "column": 52 + "line": 93, + "column": 48 }, "end": { - "line": 161, - "column": 9 + "line": 194, + "column": 5 } }, "id": null, @@ -3323,16 +2846,16 @@ "params": [ { "type": "Identifier", - "start": 2803, - "end": 2806, + "start": 2467, + "end": 2470, "loc": { "start": { - "line": 90, - "column": 52 + "line": 93, + "column": 48 }, "end": { - "line": 90, - "column": 55 + "line": 93, + "column": 51 }, "identifierName": "key" }, @@ -3341,45 +2864,45 @@ ], "body": { "type": "BlockStatement", - "start": 2810, - "end": 6928, + "start": 2474, + "end": 5954, "loc": { "start": { - "line": 90, - "column": 59 + "line": 93, + "column": 55 }, "end": { - "line": 161, - "column": 9 + "line": 194, + "column": 5 } }, "body": [ { "type": "SwitchStatement", - "start": 2824, - "end": 6918, + "start": 2482, + "end": 5948, "loc": { "start": { - "line": 91, - "column": 12 + "line": 94, + "column": 6 }, "end": { - "line": 160, - "column": 13 + "line": 193, + "column": 7 } }, "discriminant": { "type": "Identifier", - "start": 2832, - "end": 2835, + "start": 2490, + "end": 2493, "loc": { "start": { - "line": 91, - "column": 20 + "line": 94, + "column": 14 }, "end": { - "line": 91, - "column": 23 + "line": 94, + "column": 17 }, "identifierName": "key" }, @@ -3388,60 +2911,60 @@ "cases": [ { "type": "SwitchCase", - "start": 2855, - "end": 4274, + "start": 2505, + "end": 3832, "loc": { "start": { - "line": 92, - "column": 16 + "line": 95, + "column": 8 }, "end": { - "line": 113, - "column": 21 + "line": 131, + "column": 12 } }, "consequent": [ { "type": "ReturnStatement", - "start": 2890, - "end": 4274, + "start": 2530, + "end": 3832, "loc": { "start": { - "line": 93, - "column": 20 + "line": 96, + "column": 10 }, "end": { - "line": 113, - "column": 21 + "line": 131, + "column": 12 } }, "argument": { "type": "ObjectExpression", - "start": 2897, - "end": 4274, + "start": 2537, + "end": 3831, "loc": { "start": { - "line": 93, - "column": 27 + "line": 96, + "column": 17 }, "end": { - "line": 113, - "column": 21 + "line": 131, + "column": 11 } }, "properties": [ { "type": "ObjectProperty", - "start": 2923, - "end": 4252, + "start": 2551, + "end": 3819, "loc": { "start": { - "line": 94, - "column": 24 + "line": 97, + "column": 12 }, "end": { - "line": 112, - "column": 26 + "line": 130, + "column": 14 } }, "method": false, @@ -3449,16 +2972,16 @@ "computed": true, "key": { "type": "Identifier", - "start": 2924, - "end": 2927, + "start": 2552, + "end": 2555, "loc": { "start": { - "line": 94, - "column": 25 + "line": 97, + "column": 13 }, "end": { - "line": 94, - "column": 28 + "line": 97, + "column": 16 }, "identifierName": "key" }, @@ -3466,44 +2989,44 @@ }, "value": { "type": "CallExpression", - "start": 2930, - "end": 4252, + "start": 2558, + "end": 3819, "loc": { "start": { - "line": 94, - "column": 31 + "line": 97, + "column": 19 }, "end": { - "line": 112, - "column": 26 + "line": 130, + "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 2930, - "end": 2943, + "start": 2558, + "end": 2571, "loc": { "start": { - "line": 94, - "column": 31 + "line": 97, + "column": 19 }, "end": { - "line": 94, - "column": 44 + "line": 97, + "column": 32 } }, "object": { "type": "Identifier", - "start": 2930, - "end": 2936, + "start": 2558, + "end": 2564, "loc": { "start": { - "line": 94, - "column": 31 + "line": 97, + "column": 19 }, "end": { - "line": 94, - "column": 37 + "line": 97, + "column": 25 }, "identifierName": "Object" }, @@ -3511,16 +3034,16 @@ }, "property": { "type": "Identifier", - "start": 2937, - "end": 2943, + "start": 2565, + "end": 2571, "loc": { "start": { - "line": 94, - "column": 38 + "line": 97, + "column": 26 }, "end": { - "line": 94, - "column": 44 + "line": 97, + "column": 32 }, "identifierName": "assign" }, @@ -3531,44 +3054,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 2944, - "end": 2962, + "start": 2572, + "end": 2590, "loc": { "start": { - "line": 94, - "column": 45 + "line": 97, + "column": 33 }, "end": { - "line": 94, - "column": 63 + "line": 97, + "column": 51 } }, "object": { "type": "MemberExpression", - "start": 2944, - "end": 2957, + "start": 2572, + "end": 2585, "loc": { "start": { - "line": 94, - "column": 45 + "line": 97, + "column": 33 }, "end": { - "line": 94, - "column": 58 + "line": 97, + "column": 46 } }, "object": { "type": "Identifier", - "start": 2944, - "end": 2952, + "start": 2572, + "end": 2580, "loc": { "start": { - "line": 94, - "column": 45 + "line": 97, + "column": 33 }, "end": { - "line": 94, - "column": 53 + "line": 97, + "column": 41 }, "identifierName": "response" }, @@ -3576,16 +3099,16 @@ }, "property": { "type": "Identifier", - "start": 2953, - "end": 2957, + "start": 2581, + "end": 2585, "loc": { "start": { - "line": 94, - "column": 54 + "line": 97, + "column": 42 }, "end": { - "line": 94, - "column": 58 + "line": 97, + "column": 46 }, "identifierName": "data" }, @@ -3595,16 +3118,16 @@ }, "property": { "type": "Identifier", - "start": 2958, - "end": 2961, + "start": 2586, + "end": 2589, "loc": { "start": { - "line": 94, - "column": 59 + "line": 97, + "column": 47 }, "end": { - "line": 94, - "column": 62 + "line": 97, + "column": 50 }, "identifierName": "key" }, @@ -3614,31 +3137,31 @@ }, { "type": "ObjectExpression", - "start": 2964, - "end": 4251, + "start": 2592, + "end": 3818, "loc": { "start": { - "line": 94, - "column": 65 + "line": 97, + "column": 53 }, "end": { - "line": 112, - "column": 25 + "line": 130, + "column": 13 } }, "properties": [ { "type": "ObjectProperty", - "start": 2994, - "end": 4225, + "start": 2608, + "end": 3804, "loc": { "start": { - "line": 95, - "column": 28 + "line": 98, + "column": 14 }, "end": { - "line": 111, - "column": 34 + "line": 129, + "column": 16 } }, "method": false, @@ -3646,16 +3169,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 2994, - "end": 2998, + "start": 2608, + "end": 2612, "loc": { "start": { - "line": 95, - "column": 28 + "line": 98, + "column": 14 }, "end": { - "line": 95, - "column": 32 + "line": 98, + "column": 18 }, "identifierName": "data" }, @@ -3663,86 +3186,86 @@ }, "value": { "type": "CallExpression", - "start": 3000, - "end": 4225, + "start": 2614, + "end": 3804, "loc": { "start": { - "line": 95, - "column": 34 + "line": 98, + "column": 20 }, "end": { - "line": 111, - "column": 34 + "line": 129, + "column": 16 } }, "callee": { "type": "MemberExpression", - "start": 3000, - "end": 3063, + "start": 2614, + "end": 2644, "loc": { "start": { - "line": 95, - "column": 34 + "line": 98, + "column": 20 }, "end": { - "line": 96, - "column": 39 + "line": 98, + "column": 50 } }, "object": { "type": "MemberExpression", - "start": 3000, - "end": 3023, + "start": 2614, + "end": 2637, "loc": { "start": { - "line": 95, - "column": 34 + "line": 98, + "column": 20 }, "end": { - "line": 95, - "column": 57 + "line": 98, + "column": 43 } }, "object": { "type": "MemberExpression", - "start": 3000, - "end": 3018, + "start": 2614, + "end": 2632, "loc": { "start": { - "line": 95, - "column": 34 + "line": 98, + "column": 20 }, "end": { - "line": 95, - "column": 52 + "line": 98, + "column": 38 } }, "object": { "type": "MemberExpression", - "start": 3000, - "end": 3013, + "start": 2614, + "end": 2627, "loc": { "start": { - "line": 95, - "column": 34 + "line": 98, + "column": 20 }, "end": { - "line": 95, - "column": 47 + "line": 98, + "column": 33 } }, "object": { "type": "Identifier", - "start": 3000, - "end": 3008, + "start": 2614, + "end": 2622, "loc": { "start": { - "line": 95, - "column": 34 + "line": 98, + "column": 20 }, "end": { - "line": 95, - "column": 42 + "line": 98, + "column": 28 }, "identifierName": "response" }, @@ -3750,16 +3273,16 @@ }, "property": { "type": "Identifier", - "start": 3009, - "end": 3013, + "start": 2623, + "end": 2627, "loc": { "start": { - "line": 95, - "column": 43 + "line": 98, + "column": 29 }, "end": { - "line": 95, - "column": 47 + "line": 98, + "column": 33 }, "identifierName": "data" }, @@ -3769,16 +3292,16 @@ }, "property": { "type": "Identifier", - "start": 3014, - "end": 3017, + "start": 2628, + "end": 2631, "loc": { "start": { - "line": 95, - "column": 48 + "line": 98, + "column": 34 }, "end": { - "line": 95, - "column": 51 + "line": 98, + "column": 37 }, "identifierName": "key" }, @@ -3788,16 +3311,16 @@ }, "property": { "type": "Identifier", - "start": 3019, - "end": 3023, + "start": 2633, + "end": 2637, "loc": { "start": { - "line": 95, - "column": 53 + "line": 98, + "column": 39 }, "end": { - "line": 95, - "column": 57 + "line": 98, + "column": 43 }, "identifierName": "data" }, @@ -3807,16 +3330,16 @@ }, "property": { "type": "Identifier", - "start": 3057, - "end": 3063, + "start": 2638, + "end": 2644, "loc": { "start": { - "line": 96, - "column": 33 + "line": 98, + "column": 44 }, "end": { - "line": 96, - "column": 39 + "line": 98, + "column": 50 }, "identifierName": "filter" }, @@ -3827,16 +3350,16 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 3064, - "end": 4224, + "start": 2645, + "end": 3803, "loc": { "start": { - "line": 96, - "column": 40 + "line": 98, + "column": 51 }, "end": { - "line": 111, - "column": 33 + "line": 129, + "column": 15 } }, "id": null, @@ -3846,16 +3369,16 @@ "params": [ { "type": "Identifier", - "start": 3064, - "end": 3069, + "start": 2645, + "end": 2650, "loc": { "start": { - "line": 96, - "column": 40 + "line": 98, + "column": 51 }, "end": { - "line": 96, - "column": 45 + "line": 98, + "column": 56 }, "identifierName": "track" }, @@ -3864,116 +3387,116 @@ ], "body": { "type": "BlockStatement", - "start": 3073, - "end": 4224, + "start": 2654, + "end": 3803, "loc": { "start": { - "line": 96, - "column": 49 + "line": 98, + "column": 60 }, "end": { - "line": 111, - "column": 33 + "line": 129, + "column": 15 } }, "body": [ { "type": "IfStatement", - "start": 3111, - "end": 3388, + "start": 2672, + "end": 2960, "loc": { "start": { - "line": 97, - "column": 36 + "line": 99, + "column": 16 }, "end": { - "line": 100, - "column": 37 + "line": 106, + "column": 17 } }, "test": { "type": "LogicalExpression", - "start": 3115, - "end": 3294, + "start": 2695, + "end": 2890, "loc": { "start": { - "line": 97, - "column": 40 + "line": 100, + "column": 18 }, "end": { - "line": 98, - "column": 120 + "line": 103, + "column": 19 } }, "left": { "type": "BinaryExpression", - "start": 3115, - "end": 3170, + "start": 2695, + "end": 2749, "loc": { "start": { - "line": 97, - "column": 40 + "line": 100, + "column": 18 }, "end": { - "line": 97, - "column": 95 + "line": 100, + "column": 72 } }, "left": { "type": "MemberExpression", - "start": 3115, - "end": 3156, + "start": 2695, + "end": 2735, "loc": { "start": { - "line": 97, - "column": 40 + "line": 100, + "column": 18 }, "end": { - "line": 97, - "column": 81 + "line": 100, + "column": 58 } }, "object": { "type": "MemberExpression", - "start": 3115, - "end": 3136, + "start": 2695, + "end": 2716, "loc": { "start": { - "line": 97, - "column": 40 + "line": 100, + "column": 18 }, "end": { - "line": 97, - "column": 61 + "line": 100, + "column": 39 } }, "object": { "type": "ThisExpression", - "start": 3115, - "end": 3119, + "start": 2695, + "end": 2699, "loc": { "start": { - "line": 97, - "column": 40 + "line": 100, + "column": 18 }, "end": { - "line": 97, - "column": 44 + "line": 100, + "column": 22 } } }, "property": { "type": "Identifier", - "start": 3120, - "end": 3136, + "start": 2700, + "end": 2716, "loc": { "start": { - "line": 97, - "column": 45 + "line": 100, + "column": 23 }, "end": { - "line": 97, - "column": 61 + "line": 100, + "column": 39 }, "identifierName": "filterConditions" }, @@ -3983,36 +3506,36 @@ }, "property": { "type": "Identifier", - "start": 3137, - "end": 3156, + "start": 2717, + "end": 2735, "loc": { "start": { - "line": 97, - "column": 62 + "line": 100, + "column": 40 }, "end": { - "line": 97, - "column": 81 + "line": 100, + "column": 58 }, - "identifierName": "available_territory" + "identifierName": "availableTerritory" }, - "name": "available_territory" + "name": "availableTerritory" }, "computed": false }, "operator": "!==", "right": { "type": "Identifier", - "start": 3161, - "end": 3170, + "start": 2740, + "end": 2749, "loc": { "start": { - "line": 97, - "column": 86 + "line": 100, + "column": 63 }, "end": { - "line": 97, - "column": 95 + "line": 100, + "column": 72 }, "identifierName": "undefined" }, @@ -4022,74 +3545,74 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 3214, - "end": 3294, + "start": 2771, + "end": 2890, "loc": { "start": { - "line": 98, - "column": 40 + "line": 101, + "column": 18 }, "end": { - "line": 98, - "column": 120 + "line": 103, + "column": 19 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", - "start": 3215, - "end": 3294, + "start": 2772, + "end": 2890, "loc": { "start": { - "line": 98, - "column": 41 + "line": 101, + "column": 19 }, "end": { - "line": 98, - "column": 120 + "line": 103, + "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 3215, - "end": 3251, + "start": 2772, + "end": 2808, "loc": { "start": { - "line": 98, - "column": 41 + "line": 101, + "column": 19 }, "end": { - "line": 98, - "column": 77 + "line": 101, + "column": 55 } }, "object": { "type": "MemberExpression", - "start": 3215, - "end": 3242, + "start": 2772, + "end": 2799, "loc": { "start": { - "line": 98, - "column": 41 + "line": 101, + "column": 19 }, "end": { - "line": 98, - "column": 68 + "line": 101, + "column": 46 } }, "object": { "type": "Identifier", - "start": 3215, - "end": 3220, + "start": 2772, + "end": 2777, "loc": { "start": { - "line": 98, - "column": 41 + "line": 101, + "column": 19 }, "end": { - "line": 98, - "column": 46 + "line": 101, + "column": 24 }, "identifierName": "track" }, @@ -4097,16 +3620,16 @@ }, "property": { "type": "Identifier", - "start": 3221, - "end": 3242, + "start": 2778, + "end": 2799, "loc": { "start": { - "line": 98, - "column": 47 + "line": 101, + "column": 25 }, "end": { - "line": 98, - "column": 68 + "line": 101, + "column": 46 }, "identifierName": "available_territories" }, @@ -4116,16 +3639,16 @@ }, "property": { "type": "Identifier", - "start": 3243, - "end": 3251, + "start": 2800, + "end": 2808, "loc": { "start": { - "line": 98, - "column": 69 + "line": 101, + "column": 47 }, "end": { - "line": 98, - "column": 77 + "line": 101, + "column": 55 }, "identifierName": "includes" }, @@ -4136,59 +3659,59 @@ "arguments": [ { "type": "MemberExpression", - "start": 3252, - "end": 3293, + "start": 2830, + "end": 2870, "loc": { "start": { - "line": 98, - "column": 78 + "line": 102, + "column": 20 }, "end": { - "line": 98, - "column": 119 + "line": 102, + "column": 60 } }, "object": { "type": "MemberExpression", - "start": 3252, - "end": 3273, + "start": 2830, + "end": 2851, "loc": { "start": { - "line": 98, - "column": 78 + "line": 102, + "column": 20 }, "end": { - "line": 98, - "column": 99 + "line": 102, + "column": 41 } }, "object": { "type": "ThisExpression", - "start": 3252, - "end": 3256, + "start": 2830, + "end": 2834, "loc": { "start": { - "line": 98, - "column": 78 + "line": 102, + "column": 20 }, "end": { - "line": 98, - "column": 82 + "line": 102, + "column": 24 } } }, "property": { "type": "Identifier", - "start": 3257, - "end": 3273, + "start": 2835, + "end": 2851, "loc": { "start": { - "line": 98, - "column": 83 + "line": 102, + "column": 25 }, "end": { - "line": 98, - "column": 99 + "line": 102, + "column": 41 }, "identifierName": "filterConditions" }, @@ -4198,20 +3721,20 @@ }, "property": { "type": "Identifier", - "start": 3274, - "end": 3293, + "start": 2852, + "end": 2870, "loc": { "start": { - "line": 98, - "column": 100 + "line": 102, + "column": 42 }, "end": { - "line": 98, - "column": 119 + "line": 102, + "column": 60 }, - "identifierName": "available_territory" + "identifierName": "availableTerritory" }, - "name": "available_territory" + "name": "availableTerritory" }, "computed": false } @@ -4224,45 +3747,45 @@ }, "consequent": { "type": "BlockStatement", - "start": 3296, - "end": 3388, + "start": 2909, + "end": 2960, "loc": { "start": { - "line": 98, - "column": 122 + "line": 104, + "column": 18 }, "end": { - "line": 100, - "column": 37 + "line": 106, + "column": 17 } }, "body": [ { "type": "ReturnStatement", - "start": 3338, - "end": 3350, + "start": 2929, + "end": 2942, "loc": { "start": { - "line": 99, - "column": 40 + "line": 105, + "column": 18 }, "end": { - "line": 99, - "column": 52 + "line": 105, + "column": 31 } }, "argument": { "type": "BooleanLiteral", - "start": 3345, - "end": 3350, + "start": 2936, + "end": 2941, "loc": { "start": { - "line": 99, - "column": 47 + "line": 105, + "column": 25 }, "end": { - "line": 99, - "column": 52 + "line": 105, + "column": 30 } }, "value": false @@ -4275,101 +3798,101 @@ }, { "type": "IfStatement", - "start": 3425, - "end": 3679, + "start": 2977, + "end": 3244, "loc": { "start": { - "line": 101, - "column": 36 + "line": 107, + "column": 16 }, "end": { - "line": 104, - "column": 37 + "line": 114, + "column": 17 } }, "test": { "type": "LogicalExpression", - "start": 3429, - "end": 3585, + "start": 3000, + "end": 3174, "loc": { "start": { - "line": 101, - "column": 40 + "line": 108, + "column": 18 }, "end": { - "line": 102, - "column": 111 + "line": 111, + "column": 19 } }, "left": { "type": "BinaryExpression", - "start": 3429, - "end": 3470, + "start": 3000, + "end": 3041, "loc": { "start": { - "line": 101, - "column": 40 + "line": 108, + "column": 18 }, "end": { - "line": 101, - "column": 81 + "line": 108, + "column": 59 } }, "left": { "type": "MemberExpression", - "start": 3429, - "end": 3456, + "start": 3000, + "end": 3027, "loc": { "start": { - "line": 101, - "column": 40 + "line": 108, + "column": 18 }, "end": { - "line": 101, - "column": 67 + "line": 108, + "column": 45 } }, "object": { "type": "MemberExpression", - "start": 3429, - "end": 3450, + "start": 3000, + "end": 3021, "loc": { "start": { - "line": 101, - "column": 40 + "line": 108, + "column": 18 }, "end": { - "line": 101, - "column": 61 + "line": 108, + "column": 39 } }, "object": { "type": "ThisExpression", - "start": 3429, - "end": 3433, + "start": 3000, + "end": 3004, "loc": { "start": { - "line": 101, - "column": 40 + "line": 108, + "column": 18 }, "end": { - "line": 101, - "column": 44 + "line": 108, + "column": 22 } } }, "property": { "type": "Identifier", - "start": 3434, - "end": 3450, + "start": 3005, + "end": 3021, "loc": { "start": { - "line": 101, - "column": 45 + "line": 108, + "column": 23 }, "end": { - "line": 101, - "column": 61 + "line": 108, + "column": 39 }, "identifierName": "filterConditions" }, @@ -4379,16 +3902,16 @@ }, "property": { "type": "Identifier", - "start": 3451, - "end": 3456, + "start": 3022, + "end": 3027, "loc": { "start": { - "line": 101, - "column": 62 + "line": 108, + "column": 40 }, "end": { - "line": 101, - "column": 67 + "line": 108, + "column": 45 }, "identifierName": "track" }, @@ -4399,16 +3922,16 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 3461, - "end": 3470, + "start": 3032, + "end": 3041, "loc": { "start": { - "line": 101, - "column": 72 + "line": 108, + "column": 50 }, "end": { - "line": 101, - "column": 81 + "line": 108, + "column": 59 }, "identifierName": "undefined" }, @@ -4418,74 +3941,74 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 3514, - "end": 3585, + "start": 3063, + "end": 3174, "loc": { "start": { - "line": 102, - "column": 40 + "line": 109, + "column": 18 }, "end": { - "line": 102, - "column": 111 + "line": 111, + "column": 19 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", - "start": 3515, - "end": 3585, + "start": 3064, + "end": 3174, "loc": { "start": { - "line": 102, - "column": 41 + "line": 109, + "column": 19 }, "end": { - "line": 102, - "column": 111 + "line": 111, + "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 3515, - "end": 3573, + "start": 3064, + "end": 3122, "loc": { "start": { - "line": 102, - "column": 41 + "line": 109, + "column": 19 }, "end": { - "line": 102, - "column": 99 + "line": 109, + "column": 77 } }, "object": { "type": "NewExpression", - "start": 3515, - "end": 3568, + "start": 3064, + "end": 3117, "loc": { "start": { - "line": 102, - "column": 41 + "line": 109, + "column": 19 }, "end": { - "line": 102, - "column": 94 + "line": 109, + "column": 72 } }, "callee": { "type": "Identifier", - "start": 3519, - "end": 3525, + "start": 3068, + "end": 3074, "loc": { "start": { - "line": 102, - "column": 45 + "line": 109, + "column": 23 }, "end": { - "line": 102, - "column": 51 + "line": 109, + "column": 29 }, "identifierName": "RegExp" }, @@ -4494,44 +4017,44 @@ "arguments": [ { "type": "BinaryExpression", - "start": 3526, - "end": 3567, + "start": 3075, + "end": 3116, "loc": { "start": { - "line": 102, - "column": 52 + "line": 109, + "column": 30 }, "end": { - "line": 102, - "column": 93 + "line": 109, + "column": 71 } }, "left": { "type": "BinaryExpression", - "start": 3526, - "end": 3560, + "start": 3075, + "end": 3109, "loc": { "start": { - "line": 102, - "column": 52 + "line": 109, + "column": 30 }, "end": { - "line": 102, - "column": 86 + "line": 109, + "column": 64 } }, "left": { "type": "StringLiteral", - "start": 3526, - "end": 3530, + "start": 3075, + "end": 3079, "loc": { "start": { - "line": 102, - "column": 52 + "line": 109, + "column": 30 }, "end": { - "line": 102, - "column": 56 + "line": 109, + "column": 34 } }, "extra": { @@ -4543,59 +4066,59 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 3533, - "end": 3560, + "start": 3082, + "end": 3109, "loc": { "start": { - "line": 102, - "column": 59 + "line": 109, + "column": 37 }, "end": { - "line": 102, - "column": 86 + "line": 109, + "column": 64 } }, "object": { "type": "MemberExpression", - "start": 3533, - "end": 3554, + "start": 3082, + "end": 3103, "loc": { "start": { - "line": 102, - "column": 59 + "line": 109, + "column": 37 }, "end": { - "line": 102, - "column": 80 + "line": 109, + "column": 58 } }, "object": { "type": "ThisExpression", - "start": 3533, - "end": 3537, + "start": 3082, + "end": 3086, "loc": { "start": { - "line": 102, - "column": 59 + "line": 109, + "column": 37 }, "end": { - "line": 102, - "column": 63 + "line": 109, + "column": 41 } } }, "property": { "type": "Identifier", - "start": 3538, - "end": 3554, + "start": 3087, + "end": 3103, "loc": { "start": { - "line": 102, - "column": 64 + "line": 109, + "column": 42 }, "end": { - "line": 102, - "column": 80 + "line": 109, + "column": 58 }, "identifierName": "filterConditions" }, @@ -4605,16 +4128,16 @@ }, "property": { "type": "Identifier", - "start": 3555, - "end": 3560, + "start": 3104, + "end": 3109, "loc": { "start": { - "line": 102, - "column": 81 + "line": 109, + "column": 59 }, "end": { - "line": 102, - "column": 86 + "line": 109, + "column": 64 }, "identifierName": "track" }, @@ -4626,16 +4149,16 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 3563, - "end": 3567, + "start": 3112, + "end": 3116, "loc": { "start": { - "line": 102, - "column": 89 + "line": 109, + "column": 67 }, "end": { - "line": 102, - "column": 93 + "line": 109, + "column": 71 } }, "extra": { @@ -4649,16 +4172,16 @@ }, "property": { "type": "Identifier", - "start": 3569, - "end": 3573, + "start": 3118, + "end": 3122, "loc": { "start": { - "line": 102, - "column": 95 + "line": 109, + "column": 73 }, "end": { - "line": 102, - "column": 99 + "line": 109, + "column": 77 }, "identifierName": "test" }, @@ -4669,30 +4192,30 @@ "arguments": [ { "type": "MemberExpression", - "start": 3574, - "end": 3584, + "start": 3144, + "end": 3154, "loc": { "start": { - "line": 102, - "column": 100 + "line": 110, + "column": 20 }, "end": { - "line": 102, - "column": 110 + "line": 110, + "column": 30 } }, "object": { "type": "Identifier", - "start": 3574, - "end": 3579, + "start": 3144, + "end": 3149, "loc": { "start": { - "line": 102, - "column": 100 + "line": 110, + "column": 20 }, "end": { - "line": 102, - "column": 105 + "line": 110, + "column": 25 }, "identifierName": "track" }, @@ -4700,16 +4223,16 @@ }, "property": { "type": "Identifier", - "start": 3580, - "end": 3584, + "start": 3150, + "end": 3154, "loc": { "start": { - "line": 102, - "column": 106 + "line": 110, + "column": 26 }, "end": { - "line": 102, - "column": 110 + "line": 110, + "column": 30 }, "identifierName": "name" }, @@ -4726,45 +4249,45 @@ }, "consequent": { "type": "BlockStatement", - "start": 3587, - "end": 3679, + "start": 3193, + "end": 3244, "loc": { "start": { - "line": 102, - "column": 113 + "line": 112, + "column": 18 }, "end": { - "line": 104, - "column": 37 + "line": 114, + "column": 17 } }, "body": [ { "type": "ReturnStatement", - "start": 3629, - "end": 3641, + "start": 3213, + "end": 3226, "loc": { "start": { - "line": 103, - "column": 40 + "line": 113, + "column": 18 }, "end": { - "line": 103, - "column": 52 + "line": 113, + "column": 31 } }, "argument": { "type": "BooleanLiteral", - "start": 3636, - "end": 3641, + "start": 3220, + "end": 3225, "loc": { "start": { - "line": 103, - "column": 47 + "line": 113, + "column": 25 }, "end": { - "line": 103, - "column": 52 + "line": 113, + "column": 30 } }, "value": false @@ -4777,101 +4300,101 @@ }, { "type": "IfStatement", - "start": 3716, - "end": 3976, + "start": 3261, + "end": 3534, "loc": { "start": { - "line": 105, - "column": 36 + "line": 115, + "column": 16 }, "end": { - "line": 108, - "column": 37 + "line": 122, + "column": 17 } }, "test": { "type": "LogicalExpression", - "start": 3720, - "end": 3882, + "start": 3284, + "end": 3464, "loc": { "start": { - "line": 105, - "column": 40 + "line": 116, + "column": 18 }, "end": { - "line": 106, - "column": 117 + "line": 119, + "column": 19 } }, "left": { "type": "BinaryExpression", - "start": 3720, - "end": 3761, + "start": 3284, + "end": 3325, "loc": { "start": { - "line": 105, - "column": 40 + "line": 116, + "column": 18 }, "end": { - "line": 105, - "column": 81 + "line": 116, + "column": 59 } }, "left": { "type": "MemberExpression", - "start": 3720, - "end": 3747, + "start": 3284, + "end": 3311, "loc": { "start": { - "line": 105, - "column": 40 + "line": 116, + "column": 18 }, "end": { - "line": 105, - "column": 67 + "line": 116, + "column": 45 } }, "object": { "type": "MemberExpression", - "start": 3720, - "end": 3741, + "start": 3284, + "end": 3305, "loc": { "start": { - "line": 105, - "column": 40 + "line": 116, + "column": 18 }, "end": { - "line": 105, - "column": 61 + "line": 116, + "column": 39 } }, "object": { "type": "ThisExpression", - "start": 3720, - "end": 3724, + "start": 3284, + "end": 3288, "loc": { "start": { - "line": 105, - "column": 40 + "line": 116, + "column": 18 }, "end": { - "line": 105, - "column": 44 + "line": 116, + "column": 22 } } }, "property": { "type": "Identifier", - "start": 3725, - "end": 3741, + "start": 3289, + "end": 3305, "loc": { "start": { - "line": 105, - "column": 45 + "line": 116, + "column": 23 }, "end": { - "line": 105, - "column": 61 + "line": 116, + "column": 39 }, "identifierName": "filterConditions" }, @@ -4881,16 +4404,16 @@ }, "property": { "type": "Identifier", - "start": 3742, - "end": 3747, + "start": 3306, + "end": 3311, "loc": { "start": { - "line": 105, - "column": 62 + "line": 116, + "column": 40 }, "end": { - "line": 105, - "column": 67 + "line": 116, + "column": 45 }, "identifierName": "album" }, @@ -4901,16 +4424,16 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 3752, - "end": 3761, + "start": 3316, + "end": 3325, "loc": { "start": { - "line": 105, - "column": 72 + "line": 116, + "column": 50 }, "end": { - "line": 105, - "column": 81 + "line": 116, + "column": 59 }, "identifierName": "undefined" }, @@ -4920,74 +4443,74 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 3805, - "end": 3882, + "start": 3347, + "end": 3464, "loc": { "start": { - "line": 106, - "column": 40 + "line": 117, + "column": 18 }, "end": { - "line": 106, - "column": 117 + "line": 119, + "column": 19 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", - "start": 3806, - "end": 3882, + "start": 3348, + "end": 3464, "loc": { "start": { - "line": 106, - "column": 41 + "line": 117, + "column": 19 }, "end": { - "line": 106, - "column": 117 + "line": 119, + "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 3806, - "end": 3864, + "start": 3348, + "end": 3406, "loc": { "start": { - "line": 106, - "column": 41 + "line": 117, + "column": 19 }, "end": { - "line": 106, - "column": 99 + "line": 117, + "column": 77 } }, "object": { "type": "NewExpression", - "start": 3806, - "end": 3859, + "start": 3348, + "end": 3401, "loc": { "start": { - "line": 106, - "column": 41 + "line": 117, + "column": 19 }, "end": { - "line": 106, - "column": 94 + "line": 117, + "column": 72 } }, "callee": { "type": "Identifier", - "start": 3810, - "end": 3816, + "start": 3352, + "end": 3358, "loc": { "start": { - "line": 106, - "column": 45 + "line": 117, + "column": 23 }, "end": { - "line": 106, - "column": 51 + "line": 117, + "column": 29 }, "identifierName": "RegExp" }, @@ -4996,44 +4519,44 @@ "arguments": [ { "type": "BinaryExpression", - "start": 3817, - "end": 3858, + "start": 3359, + "end": 3400, "loc": { "start": { - "line": 106, - "column": 52 + "line": 117, + "column": 30 }, "end": { - "line": 106, - "column": 93 + "line": 117, + "column": 71 } }, "left": { "type": "BinaryExpression", - "start": 3817, - "end": 3851, + "start": 3359, + "end": 3393, "loc": { "start": { - "line": 106, - "column": 52 + "line": 117, + "column": 30 }, "end": { - "line": 106, - "column": 86 + "line": 117, + "column": 64 } }, "left": { "type": "StringLiteral", - "start": 3817, - "end": 3821, + "start": 3359, + "end": 3363, "loc": { "start": { - "line": 106, - "column": 52 + "line": 117, + "column": 30 }, "end": { - "line": 106, - "column": 56 + "line": 117, + "column": 34 } }, "extra": { @@ -5045,59 +4568,59 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 3824, - "end": 3851, + "start": 3366, + "end": 3393, "loc": { "start": { - "line": 106, - "column": 59 + "line": 117, + "column": 37 }, "end": { - "line": 106, - "column": 86 + "line": 117, + "column": 64 } }, "object": { "type": "MemberExpression", - "start": 3824, - "end": 3845, + "start": 3366, + "end": 3387, "loc": { "start": { - "line": 106, - "column": 59 + "line": 117, + "column": 37 }, "end": { - "line": 106, - "column": 80 + "line": 117, + "column": 58 } }, "object": { "type": "ThisExpression", - "start": 3824, - "end": 3828, + "start": 3366, + "end": 3370, "loc": { "start": { - "line": 106, - "column": 59 + "line": 117, + "column": 37 }, "end": { - "line": 106, - "column": 63 + "line": 117, + "column": 41 } } }, "property": { "type": "Identifier", - "start": 3829, - "end": 3845, + "start": 3371, + "end": 3387, "loc": { "start": { - "line": 106, - "column": 64 + "line": 117, + "column": 42 }, "end": { - "line": 106, - "column": 80 + "line": 117, + "column": 58 }, "identifierName": "filterConditions" }, @@ -5107,16 +4630,16 @@ }, "property": { "type": "Identifier", - "start": 3846, - "end": 3851, + "start": 3388, + "end": 3393, "loc": { "start": { - "line": 106, - "column": 81 + "line": 117, + "column": 59 }, "end": { - "line": 106, - "column": 86 + "line": 117, + "column": 64 }, "identifierName": "album" }, @@ -5128,16 +4651,16 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 3854, - "end": 3858, + "start": 3396, + "end": 3400, "loc": { "start": { - "line": 106, - "column": 89 + "line": 117, + "column": 67 }, "end": { - "line": 106, - "column": 93 + "line": 117, + "column": 71 } }, "extra": { @@ -5151,16 +4674,16 @@ }, "property": { "type": "Identifier", - "start": 3860, - "end": 3864, + "start": 3402, + "end": 3406, "loc": { "start": { - "line": 106, - "column": 95 + "line": 117, + "column": 73 }, "end": { - "line": 106, - "column": 99 + "line": 117, + "column": 77 }, "identifierName": "test" }, @@ -5171,44 +4694,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 3865, - "end": 3881, + "start": 3428, + "end": 3444, "loc": { "start": { - "line": 106, - "column": 100 + "line": 118, + "column": 20 }, "end": { - "line": 106, - "column": 116 + "line": 118, + "column": 36 } }, "object": { "type": "MemberExpression", - "start": 3865, - "end": 3876, + "start": 3428, + "end": 3439, "loc": { "start": { - "line": 106, - "column": 100 + "line": 118, + "column": 20 }, "end": { - "line": 106, - "column": 111 + "line": 118, + "column": 31 } }, "object": { "type": "Identifier", - "start": 3865, - "end": 3870, + "start": 3428, + "end": 3433, "loc": { "start": { - "line": 106, - "column": 100 + "line": 118, + "column": 20 }, "end": { - "line": 106, - "column": 105 + "line": 118, + "column": 25 }, "identifierName": "track" }, @@ -5216,16 +4739,16 @@ }, "property": { "type": "Identifier", - "start": 3871, - "end": 3876, + "start": 3434, + "end": 3439, "loc": { "start": { - "line": 106, - "column": 106 + "line": 118, + "column": 26 }, "end": { - "line": 106, - "column": 111 + "line": 118, + "column": 31 }, "identifierName": "album" }, @@ -5235,16 +4758,16 @@ }, "property": { "type": "Identifier", - "start": 3877, - "end": 3881, + "start": 3440, + "end": 3444, "loc": { "start": { - "line": 106, - "column": 112 + "line": 118, + "column": 32 }, "end": { - "line": 106, - "column": 116 + "line": 118, + "column": 36 }, "identifierName": "name" }, @@ -5261,45 +4784,45 @@ }, "consequent": { "type": "BlockStatement", - "start": 3884, - "end": 3976, + "start": 3483, + "end": 3534, "loc": { "start": { - "line": 106, - "column": 119 + "line": 120, + "column": 18 }, "end": { - "line": 108, - "column": 37 + "line": 122, + "column": 17 } }, "body": [ { "type": "ReturnStatement", - "start": 3926, - "end": 3938, + "start": 3503, + "end": 3516, "loc": { "start": { - "line": 107, - "column": 40 + "line": 121, + "column": 18 }, "end": { - "line": 107, - "column": 52 + "line": 121, + "column": 31 } }, "argument": { "type": "BooleanLiteral", - "start": 3933, - "end": 3938, + "start": 3510, + "end": 3515, "loc": { "start": { - "line": 107, - "column": 47 + "line": 121, + "column": 25 }, "end": { - "line": 107, - "column": 52 + "line": 121, + "column": 30 } }, "value": false @@ -5312,117 +4835,117 @@ }, { "type": "ReturnStatement", - "start": 4013, - "end": 4190, + "start": 3551, + "end": 3787, "loc": { "start": { - "line": 109, - "column": 36 + "line": 123, + "column": 16 }, "end": { - "line": 110, - "column": 122 + "line": 128, + "column": 18 } }, "argument": { "type": "UnaryExpression", - "start": 4020, - "end": 4190, + "start": 3558, + "end": 3786, "loc": { "start": { - "line": 109, - "column": 43 + "line": 123, + "column": 23 }, "end": { - "line": 110, - "column": 122 + "line": 128, + "column": 17 } }, "operator": "!", "prefix": true, "argument": { "type": "LogicalExpression", - "start": 4022, - "end": 4189, + "start": 3579, + "end": 3768, "loc": { "start": { - "line": 109, - "column": 45 + "line": 124, + "column": 18 }, "end": { - "line": 110, - "column": 121 + "line": 127, + "column": 19 } }, "left": { "type": "BinaryExpression", - "start": 4022, - "end": 4064, + "start": 3579, + "end": 3621, "loc": { "start": { - "line": 109, - "column": 45 + "line": 124, + "column": 18 }, "end": { - "line": 109, - "column": 87 + "line": 124, + "column": 60 } }, "left": { "type": "MemberExpression", - "start": 4022, - "end": 4050, + "start": 3579, + "end": 3607, "loc": { "start": { - "line": 109, - "column": 45 + "line": 124, + "column": 18 }, "end": { - "line": 109, - "column": 73 + "line": 124, + "column": 46 } }, "object": { "type": "MemberExpression", - "start": 4022, - "end": 4043, + "start": 3579, + "end": 3600, "loc": { "start": { - "line": 109, - "column": 45 + "line": 124, + "column": 18 }, "end": { - "line": 109, - "column": 66 + "line": 124, + "column": 39 } }, "object": { "type": "ThisExpression", - "start": 4022, - "end": 4026, + "start": 3579, + "end": 3583, "loc": { "start": { - "line": 109, - "column": 45 + "line": 124, + "column": 18 }, "end": { - "line": 109, - "column": 49 + "line": 124, + "column": 22 } } }, "property": { "type": "Identifier", - "start": 4027, - "end": 4043, + "start": 3584, + "end": 3600, "loc": { "start": { - "line": 109, - "column": 50 + "line": 124, + "column": 23 }, "end": { - "line": 109, - "column": 66 + "line": 124, + "column": 39 }, "identifierName": "filterConditions" }, @@ -5432,16 +4955,16 @@ }, "property": { "type": "Identifier", - "start": 4044, - "end": 4050, + "start": 3601, + "end": 3607, "loc": { "start": { - "line": 109, - "column": 67 + "line": 124, + "column": 40 }, "end": { - "line": 109, - "column": 73 + "line": 124, + "column": 46 }, "identifierName": "artist" }, @@ -5452,16 +4975,16 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 4055, - "end": 4064, + "start": 3612, + "end": 3621, "loc": { "start": { - "line": 109, - "column": 78 + "line": 124, + "column": 51 }, "end": { - "line": 109, - "column": 87 + "line": 124, + "column": 60 }, "identifierName": "undefined" }, @@ -5471,74 +4994,74 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 4104, - "end": 4189, + "start": 3643, + "end": 3768, "loc": { "start": { - "line": 110, - "column": 36 + "line": 125, + "column": 18 }, "end": { - "line": 110, - "column": 121 + "line": 127, + "column": 19 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", - "start": 4105, - "end": 4189, + "start": 3644, + "end": 3768, "loc": { "start": { - "line": 110, - "column": 37 + "line": 125, + "column": 19 }, "end": { - "line": 110, - "column": 121 + "line": 127, + "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 4105, - "end": 4164, + "start": 3644, + "end": 3703, "loc": { "start": { - "line": 110, - "column": 37 + "line": 125, + "column": 19 }, "end": { - "line": 110, - "column": 96 + "line": 125, + "column": 78 } }, "object": { "type": "NewExpression", - "start": 4105, - "end": 4159, + "start": 3644, + "end": 3698, "loc": { "start": { - "line": 110, - "column": 37 + "line": 125, + "column": 19 }, "end": { - "line": 110, - "column": 91 + "line": 125, + "column": 73 } }, "callee": { "type": "Identifier", - "start": 4109, - "end": 4115, + "start": 3648, + "end": 3654, "loc": { "start": { - "line": 110, - "column": 41 + "line": 125, + "column": 23 }, "end": { - "line": 110, - "column": 47 + "line": 125, + "column": 29 }, "identifierName": "RegExp" }, @@ -5547,44 +5070,44 @@ "arguments": [ { "type": "BinaryExpression", - "start": 4116, - "end": 4158, + "start": 3655, + "end": 3697, "loc": { "start": { - "line": 110, - "column": 48 + "line": 125, + "column": 30 }, "end": { - "line": 110, - "column": 90 + "line": 125, + "column": 72 } }, "left": { "type": "BinaryExpression", - "start": 4116, - "end": 4151, + "start": 3655, + "end": 3690, "loc": { "start": { - "line": 110, - "column": 48 + "line": 125, + "column": 30 }, "end": { - "line": 110, - "column": 83 + "line": 125, + "column": 65 } }, "left": { "type": "StringLiteral", - "start": 4116, - "end": 4120, + "start": 3655, + "end": 3659, "loc": { "start": { - "line": 110, - "column": 48 + "line": 125, + "column": 30 }, "end": { - "line": 110, - "column": 52 + "line": 125, + "column": 34 } }, "extra": { @@ -5596,59 +5119,59 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 4123, - "end": 4151, + "start": 3662, + "end": 3690, "loc": { "start": { - "line": 110, - "column": 55 + "line": 125, + "column": 37 }, "end": { - "line": 110, - "column": 83 + "line": 125, + "column": 65 } }, "object": { "type": "MemberExpression", - "start": 4123, - "end": 4144, + "start": 3662, + "end": 3683, "loc": { "start": { - "line": 110, - "column": 55 + "line": 125, + "column": 37 }, "end": { - "line": 110, - "column": 76 + "line": 125, + "column": 58 } }, "object": { "type": "ThisExpression", - "start": 4123, - "end": 4127, + "start": 3662, + "end": 3666, "loc": { "start": { - "line": 110, - "column": 55 + "line": 125, + "column": 37 }, "end": { - "line": 110, - "column": 59 + "line": 125, + "column": 41 } } }, "property": { "type": "Identifier", - "start": 4128, - "end": 4144, + "start": 3667, + "end": 3683, "loc": { "start": { - "line": 110, - "column": 60 + "line": 125, + "column": 42 }, "end": { - "line": 110, - "column": 76 + "line": 125, + "column": 58 }, "identifierName": "filterConditions" }, @@ -5658,16 +5181,16 @@ }, "property": { "type": "Identifier", - "start": 4145, - "end": 4151, + "start": 3684, + "end": 3690, "loc": { "start": { - "line": 110, - "column": 77 + "line": 125, + "column": 59 }, "end": { - "line": 110, - "column": 83 + "line": 125, + "column": 65 }, "identifierName": "artist" }, @@ -5679,16 +5202,16 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 4154, - "end": 4158, + "start": 3693, + "end": 3697, "loc": { "start": { - "line": 110, - "column": 86 + "line": 125, + "column": 68 }, "end": { - "line": 110, - "column": 90 + "line": 125, + "column": 72 } }, "extra": { @@ -5702,16 +5225,16 @@ }, "property": { "type": "Identifier", - "start": 4160, - "end": 4164, + "start": 3699, + "end": 3703, "loc": { "start": { - "line": 110, - "column": 92 + "line": 125, + "column": 74 }, "end": { - "line": 110, - "column": 96 + "line": 125, + "column": 78 }, "identifierName": "test" }, @@ -5722,58 +5245,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 4165, - "end": 4188, + "start": 3725, + "end": 3748, "loc": { "start": { - "line": 110, - "column": 97 + "line": 126, + "column": 20 }, "end": { - "line": 110, - "column": 120 + "line": 126, + "column": 43 } }, "object": { "type": "MemberExpression", - "start": 4165, - "end": 4183, + "start": 3725, + "end": 3743, "loc": { "start": { - "line": 110, - "column": 97 + "line": 126, + "column": 20 }, "end": { - "line": 110, - "column": 115 + "line": 126, + "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4165, - "end": 4176, + "start": 3725, + "end": 3736, "loc": { "start": { - "line": 110, - "column": 97 + "line": 126, + "column": 20 }, "end": { - "line": 110, - "column": 108 + "line": 126, + "column": 31 } }, "object": { "type": "Identifier", - "start": 4165, - "end": 4170, + "start": 3725, + "end": 3730, "loc": { "start": { - "line": 110, - "column": 97 + "line": 126, + "column": 20 }, "end": { - "line": 110, - "column": 102 + "line": 126, + "column": 25 }, "identifierName": "track" }, @@ -5781,16 +5304,16 @@ }, "property": { "type": "Identifier", - "start": 4171, - "end": 4176, + "start": 3731, + "end": 3736, "loc": { "start": { - "line": 110, - "column": 103 + "line": 126, + "column": 26 }, "end": { - "line": 110, - "column": 108 + "line": 126, + "column": 31 }, "identifierName": "album" }, @@ -5800,16 +5323,16 @@ }, "property": { "type": "Identifier", - "start": 4177, - "end": 4183, + "start": 3737, + "end": 3743, "loc": { "start": { - "line": 110, - "column": 109 + "line": 126, + "column": 32 }, "end": { - "line": 110, - "column": 115 + "line": 126, + "column": 38 }, "identifierName": "artist" }, @@ -5819,16 +5342,16 @@ }, "property": { "type": "Identifier", - "start": 4184, - "end": 4188, + "start": 3744, + "end": 3748, "loc": { "start": { - "line": 110, - "column": 116 + "line": 126, + "column": 39 }, "end": { - "line": 110, - "column": 120 + "line": 126, + "column": 43 }, "identifierName": "name" }, @@ -5844,7 +5367,7 @@ }, "extra": { "parenthesized": true, - "parenStart": 4021 + "parenStart": 3559 } }, "extra": { @@ -5870,16 +5393,16 @@ ], "test": { "type": "StringLiteral", - "start": 2860, - "end": 2868, + "start": 2510, + "end": 2518, "loc": { "start": { - "line": 92, - "column": 21 + "line": 95, + "column": 13 }, "end": { - "line": 92, - "column": 29 + "line": 95, + "column": 21 } }, "extra": { @@ -5891,60 +5414,60 @@ }, { "type": "SwitchCase", - "start": 4311, - "end": 5427, + "start": 3841, + "end": 4872, "loc": { "start": { - "line": 114, - "column": 16 + "line": 132, + "column": 8 }, "end": { - "line": 131, - "column": 21 + "line": 160, + "column": 12 } }, "consequent": [ { "type": "ReturnStatement", - "start": 4346, - "end": 5427, + "start": 3866, + "end": 4872, "loc": { "start": { - "line": 115, - "column": 20 + "line": 133, + "column": 10 }, "end": { - "line": 131, - "column": 21 + "line": 160, + "column": 12 } }, "argument": { "type": "ObjectExpression", - "start": 4353, - "end": 5427, + "start": 3873, + "end": 4871, "loc": { "start": { - "line": 115, - "column": 27 + "line": 133, + "column": 17 }, "end": { - "line": 131, - "column": 21 + "line": 160, + "column": 11 } }, "properties": [ { "type": "ObjectProperty", - "start": 4379, - "end": 5405, + "start": 3887, + "end": 4859, "loc": { "start": { - "line": 116, - "column": 24 + "line": 134, + "column": 12 }, "end": { - "line": 130, - "column": 26 + "line": 159, + "column": 14 } }, "method": false, @@ -5952,16 +5475,16 @@ "computed": true, "key": { "type": "Identifier", - "start": 4380, - "end": 4383, + "start": 3888, + "end": 3891, "loc": { "start": { - "line": 116, - "column": 25 + "line": 134, + "column": 13 }, "end": { - "line": 116, - "column": 28 + "line": 134, + "column": 16 }, "identifierName": "key" }, @@ -5969,44 +5492,44 @@ }, "value": { "type": "CallExpression", - "start": 4386, - "end": 5405, + "start": 3894, + "end": 4859, "loc": { "start": { - "line": 116, - "column": 31 + "line": 134, + "column": 19 }, "end": { - "line": 130, - "column": 26 + "line": 159, + "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 4386, - "end": 4399, + "start": 3894, + "end": 3907, "loc": { "start": { - "line": 116, - "column": 31 + "line": 134, + "column": 19 }, "end": { - "line": 116, - "column": 44 + "line": 134, + "column": 32 } }, "object": { "type": "Identifier", - "start": 4386, - "end": 4392, + "start": 3894, + "end": 3900, "loc": { "start": { - "line": 116, - "column": 31 + "line": 134, + "column": 19 }, "end": { - "line": 116, - "column": 37 + "line": 134, + "column": 25 }, "identifierName": "Object" }, @@ -6014,16 +5537,16 @@ }, "property": { "type": "Identifier", - "start": 4393, - "end": 4399, + "start": 3901, + "end": 3907, "loc": { "start": { - "line": 116, - "column": 38 + "line": 134, + "column": 26 }, "end": { - "line": 116, - "column": 44 + "line": 134, + "column": 32 }, "identifierName": "assign" }, @@ -6034,44 +5557,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 4400, - "end": 4418, + "start": 3908, + "end": 3926, "loc": { "start": { - "line": 116, - "column": 45 + "line": 134, + "column": 33 }, "end": { - "line": 116, - "column": 63 + "line": 134, + "column": 51 } }, "object": { "type": "MemberExpression", - "start": 4400, - "end": 4413, + "start": 3908, + "end": 3921, "loc": { "start": { - "line": 116, - "column": 45 + "line": 134, + "column": 33 }, "end": { - "line": 116, - "column": 58 + "line": 134, + "column": 46 } }, "object": { "type": "Identifier", - "start": 4400, - "end": 4408, + "start": 3908, + "end": 3916, "loc": { "start": { - "line": 116, - "column": 45 + "line": 134, + "column": 33 }, "end": { - "line": 116, - "column": 53 + "line": 134, + "column": 41 }, "identifierName": "response" }, @@ -6079,16 +5602,16 @@ }, "property": { "type": "Identifier", - "start": 4409, - "end": 4413, + "start": 3917, + "end": 3921, "loc": { "start": { - "line": 116, - "column": 54 + "line": 134, + "column": 42 }, "end": { - "line": 116, - "column": 58 + "line": 134, + "column": 46 }, "identifierName": "data" }, @@ -6098,16 +5621,16 @@ }, "property": { "type": "Identifier", - "start": 4414, - "end": 4417, + "start": 3922, + "end": 3925, "loc": { "start": { - "line": 116, - "column": 59 + "line": 134, + "column": 47 }, "end": { - "line": 116, - "column": 62 + "line": 134, + "column": 50 }, "identifierName": "key" }, @@ -6117,31 +5640,31 @@ }, { "type": "ObjectExpression", - "start": 4420, - "end": 5404, + "start": 3928, + "end": 4858, "loc": { "start": { - "line": 116, - "column": 65 + "line": 134, + "column": 53 }, "end": { - "line": 130, - "column": 25 + "line": 159, + "column": 13 } }, "properties": [ { "type": "ObjectProperty", - "start": 4450, - "end": 5378, + "start": 3944, + "end": 4844, "loc": { "start": { - "line": 117, - "column": 28 + "line": 135, + "column": 14 }, "end": { - "line": 129, - "column": 34 + "line": 158, + "column": 16 } }, "method": false, @@ -6149,16 +5672,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 4450, - "end": 4454, + "start": 3944, + "end": 3948, "loc": { "start": { - "line": 117, - "column": 28 + "line": 135, + "column": 14 }, "end": { - "line": 117, - "column": 32 + "line": 135, + "column": 18 }, "identifierName": "data" }, @@ -6166,86 +5689,86 @@ }, "value": { "type": "CallExpression", - "start": 4456, - "end": 5378, + "start": 3950, + "end": 4844, "loc": { "start": { - "line": 117, - "column": 34 + "line": 135, + "column": 20 }, "end": { - "line": 129, - "column": 34 + "line": 158, + "column": 16 } }, "callee": { "type": "MemberExpression", - "start": 4456, - "end": 4519, + "start": 3950, + "end": 3980, "loc": { "start": { - "line": 117, - "column": 34 + "line": 135, + "column": 20 }, "end": { - "line": 118, - "column": 39 + "line": 135, + "column": 50 } }, "object": { "type": "MemberExpression", - "start": 4456, - "end": 4479, + "start": 3950, + "end": 3973, "loc": { "start": { - "line": 117, - "column": 34 + "line": 135, + "column": 20 }, "end": { - "line": 117, - "column": 57 + "line": 135, + "column": 43 } }, "object": { "type": "MemberExpression", - "start": 4456, - "end": 4474, + "start": 3950, + "end": 3968, "loc": { "start": { - "line": 117, - "column": 34 + "line": 135, + "column": 20 }, "end": { - "line": 117, - "column": 52 + "line": 135, + "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4456, - "end": 4469, + "start": 3950, + "end": 3963, "loc": { "start": { - "line": 117, - "column": 34 + "line": 135, + "column": 20 }, "end": { - "line": 117, - "column": 47 + "line": 135, + "column": 33 } }, "object": { "type": "Identifier", - "start": 4456, - "end": 4464, + "start": 3950, + "end": 3958, "loc": { "start": { - "line": 117, - "column": 34 + "line": 135, + "column": 20 }, "end": { - "line": 117, - "column": 42 + "line": 135, + "column": 28 }, "identifierName": "response" }, @@ -6253,16 +5776,16 @@ }, "property": { "type": "Identifier", - "start": 4465, - "end": 4469, + "start": 3959, + "end": 3963, "loc": { "start": { - "line": 117, - "column": 43 + "line": 135, + "column": 29 }, "end": { - "line": 117, - "column": 47 + "line": 135, + "column": 33 }, "identifierName": "data" }, @@ -6272,16 +5795,16 @@ }, "property": { "type": "Identifier", - "start": 4470, - "end": 4473, + "start": 3964, + "end": 3967, "loc": { "start": { - "line": 117, - "column": 48 + "line": 135, + "column": 34 }, "end": { - "line": 117, - "column": 51 + "line": 135, + "column": 37 }, "identifierName": "key" }, @@ -6291,16 +5814,16 @@ }, "property": { "type": "Identifier", - "start": 4475, - "end": 4479, + "start": 3969, + "end": 3973, "loc": { "start": { - "line": 117, - "column": 53 + "line": 135, + "column": 39 }, "end": { - "line": 117, - "column": 57 + "line": 135, + "column": 43 }, "identifierName": "data" }, @@ -6310,16 +5833,16 @@ }, "property": { "type": "Identifier", - "start": 4513, - "end": 4519, + "start": 3974, + "end": 3980, "loc": { "start": { - "line": 118, - "column": 33 + "line": 135, + "column": 44 }, "end": { - "line": 118, - "column": 39 + "line": 135, + "column": 50 }, "identifierName": "filter" }, @@ -6330,16 +5853,16 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 4520, - "end": 5377, + "start": 3981, + "end": 4843, "loc": { "start": { - "line": 118, - "column": 40 + "line": 135, + "column": 51 }, "end": { - "line": 129, - "column": 33 + "line": 158, + "column": 15 } }, "id": null, @@ -6349,16 +5872,16 @@ "params": [ { "type": "Identifier", - "start": 4520, - "end": 4525, + "start": 3981, + "end": 3986, "loc": { "start": { - "line": 118, - "column": 40 + "line": 135, + "column": 51 }, "end": { - "line": 118, - "column": 45 + "line": 135, + "column": 56 }, "identifierName": "album" }, @@ -6367,116 +5890,116 @@ ], "body": { "type": "BlockStatement", - "start": 4529, - "end": 5377, + "start": 3990, + "end": 4843, "loc": { "start": { - "line": 118, - "column": 49 + "line": 135, + "column": 60 }, "end": { - "line": 129, - "column": 33 + "line": 158, + "column": 15 } }, "body": [ { "type": "IfStatement", - "start": 4567, - "end": 4844, + "start": 4008, + "end": 4296, "loc": { "start": { - "line": 119, - "column": 36 + "line": 136, + "column": 16 }, "end": { - "line": 122, - "column": 37 + "line": 143, + "column": 17 } }, "test": { "type": "LogicalExpression", - "start": 4571, - "end": 4750, + "start": 4031, + "end": 4226, "loc": { "start": { - "line": 119, - "column": 40 + "line": 137, + "column": 18 }, "end": { - "line": 120, - "column": 120 + "line": 140, + "column": 19 } }, "left": { "type": "BinaryExpression", - "start": 4571, - "end": 4626, + "start": 4031, + "end": 4085, "loc": { "start": { - "line": 119, - "column": 40 + "line": 137, + "column": 18 }, "end": { - "line": 119, - "column": 95 + "line": 137, + "column": 72 } }, "left": { "type": "MemberExpression", - "start": 4571, - "end": 4612, + "start": 4031, + "end": 4071, "loc": { "start": { - "line": 119, - "column": 40 + "line": 137, + "column": 18 }, "end": { - "line": 119, - "column": 81 + "line": 137, + "column": 58 } }, "object": { "type": "MemberExpression", - "start": 4571, - "end": 4592, + "start": 4031, + "end": 4052, "loc": { "start": { - "line": 119, - "column": 40 + "line": 137, + "column": 18 }, "end": { - "line": 119, - "column": 61 + "line": 137, + "column": 39 } }, "object": { "type": "ThisExpression", - "start": 4571, - "end": 4575, + "start": 4031, + "end": 4035, "loc": { "start": { - "line": 119, - "column": 40 + "line": 137, + "column": 18 }, "end": { - "line": 119, - "column": 44 + "line": 137, + "column": 22 } } }, "property": { "type": "Identifier", - "start": 4576, - "end": 4592, + "start": 4036, + "end": 4052, "loc": { "start": { - "line": 119, - "column": 45 + "line": 137, + "column": 23 }, "end": { - "line": 119, - "column": 61 + "line": 137, + "column": 39 }, "identifierName": "filterConditions" }, @@ -6486,36 +6009,36 @@ }, "property": { "type": "Identifier", - "start": 4593, - "end": 4612, + "start": 4053, + "end": 4071, "loc": { "start": { - "line": 119, - "column": 62 + "line": 137, + "column": 40 }, "end": { - "line": 119, - "column": 81 + "line": 137, + "column": 58 }, - "identifierName": "available_territory" + "identifierName": "availableTerritory" }, - "name": "available_territory" + "name": "availableTerritory" }, "computed": false }, "operator": "!==", "right": { "type": "Identifier", - "start": 4617, - "end": 4626, + "start": 4076, + "end": 4085, "loc": { "start": { - "line": 119, - "column": 86 + "line": 137, + "column": 63 }, "end": { - "line": 119, - "column": 95 + "line": 137, + "column": 72 }, "identifierName": "undefined" }, @@ -6525,74 +6048,74 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 4670, - "end": 4750, + "start": 4107, + "end": 4226, "loc": { "start": { - "line": 120, - "column": 40 + "line": 138, + "column": 18 }, "end": { - "line": 120, - "column": 120 + "line": 140, + "column": 19 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", - "start": 4671, - "end": 4750, + "start": 4108, + "end": 4226, "loc": { "start": { - "line": 120, - "column": 41 + "line": 138, + "column": 19 }, "end": { - "line": 120, - "column": 120 + "line": 140, + "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 4671, - "end": 4707, + "start": 4108, + "end": 4144, "loc": { "start": { - "line": 120, - "column": 41 + "line": 138, + "column": 19 }, "end": { - "line": 120, - "column": 77 + "line": 138, + "column": 55 } }, "object": { "type": "MemberExpression", - "start": 4671, - "end": 4698, + "start": 4108, + "end": 4135, "loc": { "start": { - "line": 120, - "column": 41 + "line": 138, + "column": 19 }, "end": { - "line": 120, - "column": 68 + "line": 138, + "column": 46 } }, "object": { "type": "Identifier", - "start": 4671, - "end": 4676, + "start": 4108, + "end": 4113, "loc": { "start": { - "line": 120, - "column": 41 + "line": 138, + "column": 19 }, "end": { - "line": 120, - "column": 46 + "line": 138, + "column": 24 }, "identifierName": "album" }, @@ -6600,16 +6123,16 @@ }, "property": { "type": "Identifier", - "start": 4677, - "end": 4698, + "start": 4114, + "end": 4135, "loc": { "start": { - "line": 120, - "column": 47 + "line": 138, + "column": 25 }, "end": { - "line": 120, - "column": 68 + "line": 138, + "column": 46 }, "identifierName": "available_territories" }, @@ -6619,16 +6142,16 @@ }, "property": { "type": "Identifier", - "start": 4699, - "end": 4707, + "start": 4136, + "end": 4144, "loc": { "start": { - "line": 120, - "column": 69 + "line": 138, + "column": 47 }, "end": { - "line": 120, - "column": 77 + "line": 138, + "column": 55 }, "identifierName": "includes" }, @@ -6639,59 +6162,59 @@ "arguments": [ { "type": "MemberExpression", - "start": 4708, - "end": 4749, + "start": 4166, + "end": 4206, "loc": { "start": { - "line": 120, - "column": 78 + "line": 139, + "column": 20 }, "end": { - "line": 120, - "column": 119 + "line": 139, + "column": 60 } }, "object": { "type": "MemberExpression", - "start": 4708, - "end": 4729, + "start": 4166, + "end": 4187, "loc": { "start": { - "line": 120, - "column": 78 + "line": 139, + "column": 20 }, "end": { - "line": 120, - "column": 99 + "line": 139, + "column": 41 } }, "object": { "type": "ThisExpression", - "start": 4708, - "end": 4712, + "start": 4166, + "end": 4170, "loc": { "start": { - "line": 120, - "column": 78 + "line": 139, + "column": 20 }, "end": { - "line": 120, - "column": 82 + "line": 139, + "column": 24 } } }, "property": { "type": "Identifier", - "start": 4713, - "end": 4729, + "start": 4171, + "end": 4187, "loc": { "start": { - "line": 120, - "column": 83 + "line": 139, + "column": 25 }, "end": { - "line": 120, - "column": 99 + "line": 139, + "column": 41 }, "identifierName": "filterConditions" }, @@ -6701,20 +6224,20 @@ }, "property": { "type": "Identifier", - "start": 4730, - "end": 4749, + "start": 4188, + "end": 4206, "loc": { "start": { - "line": 120, - "column": 100 + "line": 139, + "column": 42 }, "end": { - "line": 120, - "column": 119 + "line": 139, + "column": 60 }, - "identifierName": "available_territory" + "identifierName": "availableTerritory" }, - "name": "available_territory" + "name": "availableTerritory" }, "computed": false } @@ -6727,45 +6250,45 @@ }, "consequent": { "type": "BlockStatement", - "start": 4752, - "end": 4844, + "start": 4245, + "end": 4296, "loc": { "start": { - "line": 120, - "column": 122 + "line": 141, + "column": 18 }, "end": { - "line": 122, - "column": 37 + "line": 143, + "column": 17 } }, "body": [ { "type": "ReturnStatement", - "start": 4794, - "end": 4806, + "start": 4265, + "end": 4278, "loc": { "start": { - "line": 121, - "column": 40 + "line": 142, + "column": 18 }, "end": { - "line": 121, - "column": 52 + "line": 142, + "column": 31 } }, "argument": { "type": "BooleanLiteral", - "start": 4801, - "end": 4806, + "start": 4272, + "end": 4277, "loc": { "start": { - "line": 121, - "column": 47 + "line": 142, + "column": 25 }, "end": { - "line": 121, - "column": 52 + "line": 142, + "column": 30 } }, "value": false @@ -6778,101 +6301,101 @@ }, { "type": "IfStatement", - "start": 4881, - "end": 5135, + "start": 4313, + "end": 4580, "loc": { "start": { - "line": 123, - "column": 36 + "line": 144, + "column": 16 }, "end": { - "line": 126, - "column": 37 + "line": 151, + "column": 17 } }, "test": { "type": "LogicalExpression", - "start": 4885, - "end": 5041, + "start": 4336, + "end": 4510, "loc": { "start": { - "line": 123, - "column": 40 + "line": 145, + "column": 18 }, "end": { - "line": 124, - "column": 111 + "line": 148, + "column": 19 } }, "left": { "type": "BinaryExpression", - "start": 4885, - "end": 4926, + "start": 4336, + "end": 4377, "loc": { "start": { - "line": 123, - "column": 40 + "line": 145, + "column": 18 }, "end": { - "line": 123, - "column": 81 + "line": 145, + "column": 59 } }, "left": { "type": "MemberExpression", - "start": 4885, - "end": 4912, + "start": 4336, + "end": 4363, "loc": { "start": { - "line": 123, - "column": 40 + "line": 145, + "column": 18 }, "end": { - "line": 123, - "column": 67 + "line": 145, + "column": 45 } }, "object": { "type": "MemberExpression", - "start": 4885, - "end": 4906, + "start": 4336, + "end": 4357, "loc": { "start": { - "line": 123, - "column": 40 + "line": 145, + "column": 18 }, "end": { - "line": 123, - "column": 61 + "line": 145, + "column": 39 } }, "object": { "type": "ThisExpression", - "start": 4885, - "end": 4889, + "start": 4336, + "end": 4340, "loc": { "start": { - "line": 123, - "column": 40 + "line": 145, + "column": 18 }, "end": { - "line": 123, - "column": 44 + "line": 145, + "column": 22 } } }, "property": { "type": "Identifier", - "start": 4890, - "end": 4906, + "start": 4341, + "end": 4357, "loc": { "start": { - "line": 123, - "column": 45 + "line": 145, + "column": 23 }, "end": { - "line": 123, - "column": 61 + "line": 145, + "column": 39 }, "identifierName": "filterConditions" }, @@ -6882,16 +6405,16 @@ }, "property": { "type": "Identifier", - "start": 4907, - "end": 4912, + "start": 4358, + "end": 4363, "loc": { "start": { - "line": 123, - "column": 62 + "line": 145, + "column": 40 }, "end": { - "line": 123, - "column": 67 + "line": 145, + "column": 45 }, "identifierName": "album" }, @@ -6902,16 +6425,16 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 4917, - "end": 4926, + "start": 4368, + "end": 4377, "loc": { "start": { - "line": 123, - "column": 72 + "line": 145, + "column": 50 }, "end": { - "line": 123, - "column": 81 + "line": 145, + "column": 59 }, "identifierName": "undefined" }, @@ -6921,74 +6444,74 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 4970, - "end": 5041, + "start": 4399, + "end": 4510, "loc": { "start": { - "line": 124, - "column": 40 + "line": 146, + "column": 18 }, "end": { - "line": 124, - "column": 111 + "line": 148, + "column": 19 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", - "start": 4971, - "end": 5041, + "start": 4400, + "end": 4510, "loc": { "start": { - "line": 124, - "column": 41 + "line": 146, + "column": 19 }, "end": { - "line": 124, - "column": 111 + "line": 148, + "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 4971, - "end": 5029, + "start": 4400, + "end": 4458, "loc": { "start": { - "line": 124, - "column": 41 + "line": 146, + "column": 19 }, "end": { - "line": 124, - "column": 99 + "line": 146, + "column": 77 } }, "object": { "type": "NewExpression", - "start": 4971, - "end": 5024, + "start": 4400, + "end": 4453, "loc": { "start": { - "line": 124, - "column": 41 + "line": 146, + "column": 19 }, "end": { - "line": 124, - "column": 94 + "line": 146, + "column": 72 } }, "callee": { "type": "Identifier", - "start": 4975, - "end": 4981, + "start": 4404, + "end": 4410, "loc": { "start": { - "line": 124, - "column": 45 + "line": 146, + "column": 23 }, "end": { - "line": 124, - "column": 51 + "line": 146, + "column": 29 }, "identifierName": "RegExp" }, @@ -6997,44 +6520,44 @@ "arguments": [ { "type": "BinaryExpression", - "start": 4982, - "end": 5023, + "start": 4411, + "end": 4452, "loc": { "start": { - "line": 124, - "column": 52 + "line": 146, + "column": 30 }, "end": { - "line": 124, - "column": 93 + "line": 146, + "column": 71 } }, "left": { "type": "BinaryExpression", - "start": 4982, - "end": 5016, + "start": 4411, + "end": 4445, "loc": { "start": { - "line": 124, - "column": 52 + "line": 146, + "column": 30 }, "end": { - "line": 124, - "column": 86 + "line": 146, + "column": 64 } }, "left": { "type": "StringLiteral", - "start": 4982, - "end": 4986, + "start": 4411, + "end": 4415, "loc": { "start": { - "line": 124, - "column": 52 + "line": 146, + "column": 30 }, "end": { - "line": 124, - "column": 56 + "line": 146, + "column": 34 } }, "extra": { @@ -7046,59 +6569,59 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 4989, - "end": 5016, + "start": 4418, + "end": 4445, "loc": { "start": { - "line": 124, - "column": 59 + "line": 146, + "column": 37 }, "end": { - "line": 124, - "column": 86 + "line": 146, + "column": 64 } }, "object": { "type": "MemberExpression", - "start": 4989, - "end": 5010, + "start": 4418, + "end": 4439, "loc": { "start": { - "line": 124, - "column": 59 + "line": 146, + "column": 37 }, "end": { - "line": 124, - "column": 80 + "line": 146, + "column": 58 } }, "object": { "type": "ThisExpression", - "start": 4989, - "end": 4993, + "start": 4418, + "end": 4422, "loc": { "start": { - "line": 124, - "column": 59 + "line": 146, + "column": 37 }, "end": { - "line": 124, - "column": 63 + "line": 146, + "column": 41 } } }, "property": { "type": "Identifier", - "start": 4994, - "end": 5010, + "start": 4423, + "end": 4439, "loc": { "start": { - "line": 124, - "column": 64 + "line": 146, + "column": 42 }, "end": { - "line": 124, - "column": 80 + "line": 146, + "column": 58 }, "identifierName": "filterConditions" }, @@ -7108,16 +6631,16 @@ }, "property": { "type": "Identifier", - "start": 5011, - "end": 5016, + "start": 4440, + "end": 4445, "loc": { "start": { - "line": 124, - "column": 81 + "line": 146, + "column": 59 }, "end": { - "line": 124, - "column": 86 + "line": 146, + "column": 64 }, "identifierName": "album" }, @@ -7129,16 +6652,16 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 5019, - "end": 5023, + "start": 4448, + "end": 4452, "loc": { "start": { - "line": 124, - "column": 89 + "line": 146, + "column": 67 }, "end": { - "line": 124, - "column": 93 + "line": 146, + "column": 71 } }, "extra": { @@ -7152,16 +6675,16 @@ }, "property": { "type": "Identifier", - "start": 5025, - "end": 5029, + "start": 4454, + "end": 4458, "loc": { "start": { - "line": 124, - "column": 95 + "line": 146, + "column": 73 }, "end": { - "line": 124, - "column": 99 + "line": 146, + "column": 77 }, "identifierName": "test" }, @@ -7172,30 +6695,30 @@ "arguments": [ { "type": "MemberExpression", - "start": 5030, - "end": 5040, + "start": 4480, + "end": 4490, "loc": { "start": { - "line": 124, - "column": 100 + "line": 147, + "column": 20 }, "end": { - "line": 124, - "column": 110 + "line": 147, + "column": 30 } }, "object": { "type": "Identifier", - "start": 5030, - "end": 5035, + "start": 4480, + "end": 4485, "loc": { "start": { - "line": 124, - "column": 100 + "line": 147, + "column": 20 }, "end": { - "line": 124, - "column": 105 + "line": 147, + "column": 25 }, "identifierName": "album" }, @@ -7203,16 +6726,16 @@ }, "property": { "type": "Identifier", - "start": 5036, - "end": 5040, + "start": 4486, + "end": 4490, "loc": { "start": { - "line": 124, - "column": 106 + "line": 147, + "column": 26 }, "end": { - "line": 124, - "column": 110 + "line": 147, + "column": 30 }, "identifierName": "name" }, @@ -7229,45 +6752,45 @@ }, "consequent": { "type": "BlockStatement", - "start": 5043, - "end": 5135, + "start": 4529, + "end": 4580, "loc": { "start": { - "line": 124, - "column": 113 + "line": 149, + "column": 18 }, "end": { - "line": 126, - "column": 37 + "line": 151, + "column": 17 } }, "body": [ { "type": "ReturnStatement", - "start": 5085, - "end": 5097, + "start": 4549, + "end": 4562, "loc": { "start": { - "line": 125, - "column": 40 + "line": 150, + "column": 18 }, "end": { - "line": 125, - "column": 52 + "line": 150, + "column": 31 } }, "argument": { "type": "BooleanLiteral", - "start": 5092, - "end": 5097, + "start": 4556, + "end": 4561, "loc": { "start": { - "line": 125, - "column": 47 + "line": 150, + "column": 25 }, "end": { - "line": 125, - "column": 52 + "line": 150, + "column": 30 } }, "value": false @@ -7280,117 +6803,117 @@ }, { "type": "ReturnStatement", - "start": 5172, - "end": 5343, + "start": 4597, + "end": 4827, "loc": { "start": { - "line": 127, - "column": 36 + "line": 152, + "column": 16 }, "end": { - "line": 128, - "column": 116 + "line": 157, + "column": 18 } }, "argument": { "type": "UnaryExpression", - "start": 5179, - "end": 5343, + "start": 4604, + "end": 4826, "loc": { "start": { - "line": 127, - "column": 43 + "line": 152, + "column": 23 }, "end": { - "line": 128, - "column": 116 + "line": 157, + "column": 17 } }, "operator": "!", "prefix": true, "argument": { "type": "LogicalExpression", - "start": 5181, - "end": 5342, + "start": 4625, + "end": 4808, "loc": { "start": { - "line": 127, - "column": 45 + "line": 153, + "column": 18 }, "end": { - "line": 128, - "column": 115 + "line": 156, + "column": 19 } }, "left": { "type": "BinaryExpression", - "start": 5181, - "end": 5223, + "start": 4625, + "end": 4667, "loc": { "start": { - "line": 127, - "column": 45 + "line": 153, + "column": 18 }, "end": { - "line": 127, - "column": 87 + "line": 153, + "column": 60 } }, "left": { "type": "MemberExpression", - "start": 5181, - "end": 5209, + "start": 4625, + "end": 4653, "loc": { "start": { - "line": 127, - "column": 45 + "line": 153, + "column": 18 }, "end": { - "line": 127, - "column": 73 + "line": 153, + "column": 46 } }, "object": { "type": "MemberExpression", - "start": 5181, - "end": 5202, + "start": 4625, + "end": 4646, "loc": { "start": { - "line": 127, - "column": 45 + "line": 153, + "column": 18 }, "end": { - "line": 127, - "column": 66 + "line": 153, + "column": 39 } }, "object": { "type": "ThisExpression", - "start": 5181, - "end": 5185, + "start": 4625, + "end": 4629, "loc": { "start": { - "line": 127, - "column": 45 + "line": 153, + "column": 18 }, "end": { - "line": 127, - "column": 49 + "line": 153, + "column": 22 } } }, "property": { "type": "Identifier", - "start": 5186, - "end": 5202, + "start": 4630, + "end": 4646, "loc": { "start": { - "line": 127, - "column": 50 + "line": 153, + "column": 23 }, "end": { - "line": 127, - "column": 66 + "line": 153, + "column": 39 }, "identifierName": "filterConditions" }, @@ -7400,16 +6923,16 @@ }, "property": { "type": "Identifier", - "start": 5203, - "end": 5209, + "start": 4647, + "end": 4653, "loc": { "start": { - "line": 127, - "column": 67 + "line": 153, + "column": 40 }, "end": { - "line": 127, - "column": 73 + "line": 153, + "column": 46 }, "identifierName": "artist" }, @@ -7420,16 +6943,16 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 5214, - "end": 5223, + "start": 4658, + "end": 4667, "loc": { "start": { - "line": 127, - "column": 78 + "line": 153, + "column": 51 }, "end": { - "line": 127, - "column": 87 + "line": 153, + "column": 60 }, "identifierName": "undefined" }, @@ -7439,74 +6962,74 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 5263, - "end": 5342, + "start": 4689, + "end": 4808, "loc": { "start": { - "line": 128, - "column": 36 + "line": 154, + "column": 18 }, "end": { - "line": 128, - "column": 115 + "line": 156, + "column": 19 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", - "start": 5264, - "end": 5342, + "start": 4690, + "end": 4808, "loc": { "start": { - "line": 128, - "column": 37 + "line": 154, + "column": 19 }, "end": { - "line": 128, - "column": 115 + "line": 156, + "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 5264, - "end": 5323, + "start": 4690, + "end": 4749, "loc": { "start": { - "line": 128, - "column": 37 + "line": 154, + "column": 19 }, "end": { - "line": 128, - "column": 96 + "line": 154, + "column": 78 } }, "object": { "type": "NewExpression", - "start": 5264, - "end": 5318, + "start": 4690, + "end": 4744, "loc": { "start": { - "line": 128, - "column": 37 + "line": 154, + "column": 19 }, "end": { - "line": 128, - "column": 91 + "line": 154, + "column": 73 } }, "callee": { "type": "Identifier", - "start": 5268, - "end": 5274, + "start": 4694, + "end": 4700, "loc": { "start": { - "line": 128, - "column": 41 + "line": 154, + "column": 23 }, "end": { - "line": 128, - "column": 47 + "line": 154, + "column": 29 }, "identifierName": "RegExp" }, @@ -7515,44 +7038,44 @@ "arguments": [ { "type": "BinaryExpression", - "start": 5275, - "end": 5317, + "start": 4701, + "end": 4743, "loc": { "start": { - "line": 128, - "column": 48 + "line": 154, + "column": 30 }, "end": { - "line": 128, - "column": 90 + "line": 154, + "column": 72 } }, "left": { "type": "BinaryExpression", - "start": 5275, - "end": 5310, + "start": 4701, + "end": 4736, "loc": { "start": { - "line": 128, - "column": 48 + "line": 154, + "column": 30 }, "end": { - "line": 128, - "column": 83 + "line": 154, + "column": 65 } }, "left": { "type": "StringLiteral", - "start": 5275, - "end": 5279, + "start": 4701, + "end": 4705, "loc": { "start": { - "line": 128, - "column": 48 + "line": 154, + "column": 30 }, "end": { - "line": 128, - "column": 52 + "line": 154, + "column": 34 } }, "extra": { @@ -7564,59 +7087,59 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 5282, - "end": 5310, + "start": 4708, + "end": 4736, "loc": { "start": { - "line": 128, - "column": 55 + "line": 154, + "column": 37 }, "end": { - "line": 128, - "column": 83 + "line": 154, + "column": 65 } }, "object": { "type": "MemberExpression", - "start": 5282, - "end": 5303, + "start": 4708, + "end": 4729, "loc": { "start": { - "line": 128, - "column": 55 + "line": 154, + "column": 37 }, "end": { - "line": 128, - "column": 76 + "line": 154, + "column": 58 } }, "object": { "type": "ThisExpression", - "start": 5282, - "end": 5286, + "start": 4708, + "end": 4712, "loc": { "start": { - "line": 128, - "column": 55 + "line": 154, + "column": 37 }, "end": { - "line": 128, - "column": 59 + "line": 154, + "column": 41 } } }, "property": { "type": "Identifier", - "start": 5287, - "end": 5303, + "start": 4713, + "end": 4729, "loc": { "start": { - "line": 128, - "column": 60 + "line": 154, + "column": 42 }, "end": { - "line": 128, - "column": 76 + "line": 154, + "column": 58 }, "identifierName": "filterConditions" }, @@ -7626,16 +7149,16 @@ }, "property": { "type": "Identifier", - "start": 5304, - "end": 5310, + "start": 4730, + "end": 4736, "loc": { "start": { - "line": 128, - "column": 77 + "line": 154, + "column": 59 }, "end": { - "line": 128, - "column": 83 + "line": 154, + "column": 65 }, "identifierName": "artist" }, @@ -7647,16 +7170,16 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 5313, - "end": 5317, + "start": 4739, + "end": 4743, "loc": { "start": { - "line": 128, - "column": 86 + "line": 154, + "column": 68 }, "end": { - "line": 128, - "column": 90 + "line": 154, + "column": 72 } }, "extra": { @@ -7670,16 +7193,16 @@ }, "property": { "type": "Identifier", - "start": 5319, - "end": 5323, + "start": 4745, + "end": 4749, "loc": { "start": { - "line": 128, - "column": 92 + "line": 154, + "column": 74 }, "end": { - "line": 128, - "column": 96 + "line": 154, + "column": 78 }, "identifierName": "test" }, @@ -7690,44 +7213,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 5324, - "end": 5341, + "start": 4771, + "end": 4788, "loc": { "start": { - "line": 128, - "column": 97 + "line": 155, + "column": 20 }, "end": { - "line": 128, - "column": 114 + "line": 155, + "column": 37 } }, "object": { "type": "MemberExpression", - "start": 5324, - "end": 5336, + "start": 4771, + "end": 4783, "loc": { "start": { - "line": 128, - "column": 97 + "line": 155, + "column": 20 }, "end": { - "line": 128, - "column": 109 + "line": 155, + "column": 32 } }, "object": { "type": "Identifier", - "start": 5324, - "end": 5329, + "start": 4771, + "end": 4776, "loc": { "start": { - "line": 128, - "column": 97 + "line": 155, + "column": 20 }, "end": { - "line": 128, - "column": 102 + "line": 155, + "column": 25 }, "identifierName": "album" }, @@ -7735,16 +7258,16 @@ }, "property": { "type": "Identifier", - "start": 5330, - "end": 5336, + "start": 4777, + "end": 4783, "loc": { "start": { - "line": 128, - "column": 103 + "line": 155, + "column": 26 }, "end": { - "line": 128, - "column": 109 + "line": 155, + "column": 32 }, "identifierName": "artist" }, @@ -7754,16 +7277,16 @@ }, "property": { "type": "Identifier", - "start": 5337, - "end": 5341, + "start": 4784, + "end": 4788, "loc": { "start": { - "line": 128, - "column": 110 + "line": 155, + "column": 33 }, "end": { - "line": 128, - "column": 114 + "line": 155, + "column": 37 }, "identifierName": "name" }, @@ -7779,7 +7302,7 @@ }, "extra": { "parenthesized": true, - "parenStart": 5180 + "parenStart": 4605 } }, "extra": { @@ -7805,16 +7328,16 @@ ], "test": { "type": "StringLiteral", - "start": 4316, - "end": 4324, + "start": 3846, + "end": 3854, "loc": { "start": { - "line": 114, - "column": 21 + "line": 132, + "column": 13 }, "end": { - "line": 114, - "column": 29 + "line": 132, + "column": 21 } }, "extra": { @@ -7826,60 +7349,60 @@ }, { "type": "SwitchCase", - "start": 5464, - "end": 6110, + "start": 4881, + "end": 5357, "loc": { "start": { - "line": 132, - "column": 16 + "line": 161, + "column": 8 }, "end": { - "line": 144, - "column": 21 + "line": 174, + "column": 12 } }, "consequent": [ { "type": "ReturnStatement", - "start": 5500, - "end": 6110, + "start": 4907, + "end": 5357, "loc": { "start": { - "line": 133, - "column": 20 + "line": 162, + "column": 10 }, "end": { - "line": 144, - "column": 21 + "line": 174, + "column": 12 } }, "argument": { "type": "ObjectExpression", - "start": 5507, - "end": 6110, + "start": 4914, + "end": 5356, "loc": { "start": { - "line": 133, - "column": 27 + "line": 162, + "column": 17 }, "end": { - "line": 144, - "column": 21 + "line": 174, + "column": 11 } }, "properties": [ { "type": "ObjectProperty", - "start": 5533, - "end": 6088, + "start": 4928, + "end": 5344, "loc": { "start": { - "line": 134, - "column": 24 + "line": 163, + "column": 12 }, "end": { - "line": 143, - "column": 26 + "line": 173, + "column": 14 } }, "method": false, @@ -7887,16 +7410,16 @@ "computed": true, "key": { "type": "Identifier", - "start": 5534, - "end": 5537, + "start": 4929, + "end": 4932, "loc": { "start": { - "line": 134, - "column": 25 + "line": 163, + "column": 13 }, "end": { - "line": 134, - "column": 28 + "line": 163, + "column": 16 }, "identifierName": "key" }, @@ -7904,44 +7427,44 @@ }, "value": { "type": "CallExpression", - "start": 5540, - "end": 6088, + "start": 4935, + "end": 5344, "loc": { "start": { - "line": 134, - "column": 31 + "line": 163, + "column": 19 }, "end": { - "line": 143, - "column": 26 + "line": 173, + "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 5540, - "end": 5553, + "start": 4935, + "end": 4948, "loc": { "start": { - "line": 134, - "column": 31 + "line": 163, + "column": 19 }, "end": { - "line": 134, - "column": 44 + "line": 163, + "column": 32 } }, "object": { "type": "Identifier", - "start": 5540, - "end": 5546, + "start": 4935, + "end": 4941, "loc": { "start": { - "line": 134, - "column": 31 + "line": 163, + "column": 19 }, "end": { - "line": 134, - "column": 37 + "line": 163, + "column": 25 }, "identifierName": "Object" }, @@ -7949,16 +7472,16 @@ }, "property": { "type": "Identifier", - "start": 5547, - "end": 5553, + "start": 4942, + "end": 4948, "loc": { "start": { - "line": 134, - "column": 38 + "line": 163, + "column": 26 }, "end": { - "line": 134, - "column": 44 + "line": 163, + "column": 32 }, "identifierName": "assign" }, @@ -7969,44 +7492,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 5554, - "end": 5572, + "start": 4949, + "end": 4967, "loc": { "start": { - "line": 134, - "column": 45 + "line": 163, + "column": 33 }, "end": { - "line": 134, - "column": 63 + "line": 163, + "column": 51 } }, "object": { "type": "MemberExpression", - "start": 5554, - "end": 5567, + "start": 4949, + "end": 4962, "loc": { "start": { - "line": 134, - "column": 45 + "line": 163, + "column": 33 }, "end": { - "line": 134, - "column": 58 + "line": 163, + "column": 46 } }, "object": { "type": "Identifier", - "start": 5554, - "end": 5562, + "start": 4949, + "end": 4957, "loc": { "start": { - "line": 134, - "column": 45 + "line": 163, + "column": 33 }, "end": { - "line": 134, - "column": 53 + "line": 163, + "column": 41 }, "identifierName": "response" }, @@ -8014,16 +7537,16 @@ }, "property": { "type": "Identifier", - "start": 5563, - "end": 5567, + "start": 4958, + "end": 4962, "loc": { "start": { - "line": 134, - "column": 54 + "line": 163, + "column": 42 }, "end": { - "line": 134, - "column": 58 + "line": 163, + "column": 46 }, "identifierName": "data" }, @@ -8033,16 +7556,16 @@ }, "property": { "type": "Identifier", - "start": 5568, - "end": 5571, + "start": 4963, + "end": 4966, "loc": { "start": { - "line": 134, - "column": 59 + "line": 163, + "column": 47 }, "end": { - "line": 134, - "column": 62 + "line": 163, + "column": 50 }, "identifierName": "key" }, @@ -8052,31 +7575,31 @@ }, { "type": "ObjectExpression", - "start": 5574, - "end": 6087, + "start": 4969, + "end": 5343, "loc": { "start": { - "line": 134, - "column": 65 + "line": 163, + "column": 53 }, "end": { - "line": 143, - "column": 25 + "line": 173, + "column": 13 } }, "properties": [ { "type": "ObjectProperty", - "start": 5604, - "end": 6061, + "start": 4985, + "end": 5329, "loc": { "start": { - "line": 135, - "column": 28 + "line": 164, + "column": 14 }, "end": { - "line": 142, - "column": 34 + "line": 172, + "column": 16 } }, "method": false, @@ -8084,16 +7607,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 5604, - "end": 5608, + "start": 4985, + "end": 4989, "loc": { "start": { - "line": 135, - "column": 28 + "line": 164, + "column": 14 }, "end": { - "line": 135, - "column": 32 + "line": 164, + "column": 18 }, "identifierName": "data" }, @@ -8101,86 +7624,86 @@ }, "value": { "type": "CallExpression", - "start": 5610, - "end": 6061, + "start": 4991, + "end": 5329, "loc": { "start": { - "line": 135, - "column": 34 + "line": 164, + "column": 20 }, "end": { - "line": 142, - "column": 34 + "line": 172, + "column": 16 } }, "callee": { "type": "MemberExpression", - "start": 5610, - "end": 5673, + "start": 4991, + "end": 5021, "loc": { "start": { - "line": 135, - "column": 34 + "line": 164, + "column": 20 }, "end": { - "line": 136, - "column": 39 + "line": 164, + "column": 50 } }, "object": { "type": "MemberExpression", - "start": 5610, - "end": 5633, + "start": 4991, + "end": 5014, "loc": { "start": { - "line": 135, - "column": 34 + "line": 164, + "column": 20 }, "end": { - "line": 135, - "column": 57 + "line": 164, + "column": 43 } }, "object": { "type": "MemberExpression", - "start": 5610, - "end": 5628, + "start": 4991, + "end": 5009, "loc": { "start": { - "line": 135, - "column": 34 + "line": 164, + "column": 20 }, "end": { - "line": 135, - "column": 52 + "line": 164, + "column": 38 } }, "object": { "type": "MemberExpression", - "start": 5610, - "end": 5623, + "start": 4991, + "end": 5004, "loc": { "start": { - "line": 135, - "column": 34 + "line": 164, + "column": 20 }, "end": { - "line": 135, - "column": 47 + "line": 164, + "column": 33 } }, "object": { "type": "Identifier", - "start": 5610, - "end": 5618, + "start": 4991, + "end": 4999, "loc": { "start": { - "line": 135, - "column": 34 + "line": 164, + "column": 20 }, "end": { - "line": 135, - "column": 42 + "line": 164, + "column": 28 }, "identifierName": "response" }, @@ -8188,16 +7711,16 @@ }, "property": { "type": "Identifier", - "start": 5619, - "end": 5623, + "start": 5000, + "end": 5004, "loc": { "start": { - "line": 135, - "column": 43 + "line": 164, + "column": 29 }, "end": { - "line": 135, - "column": 47 + "line": 164, + "column": 33 }, "identifierName": "data" }, @@ -8207,16 +7730,16 @@ }, "property": { "type": "Identifier", - "start": 5624, - "end": 5627, + "start": 5005, + "end": 5008, "loc": { "start": { - "line": 135, - "column": 48 + "line": 164, + "column": 34 }, "end": { - "line": 135, - "column": 51 + "line": 164, + "column": 37 }, "identifierName": "key" }, @@ -8226,16 +7749,16 @@ }, "property": { "type": "Identifier", - "start": 5629, - "end": 5633, + "start": 5010, + "end": 5014, "loc": { "start": { - "line": 135, - "column": 53 + "line": 164, + "column": 39 }, "end": { - "line": 135, - "column": 57 + "line": 164, + "column": 43 }, "identifierName": "data" }, @@ -8245,16 +7768,16 @@ }, "property": { "type": "Identifier", - "start": 5667, - "end": 5673, + "start": 5015, + "end": 5021, "loc": { "start": { - "line": 136, - "column": 33 + "line": 164, + "column": 44 }, "end": { - "line": 136, - "column": 39 + "line": 164, + "column": 50 }, "identifierName": "filter" }, @@ -8265,16 +7788,16 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 5674, - "end": 6060, + "start": 5022, + "end": 5328, "loc": { "start": { - "line": 136, - "column": 40 + "line": 164, + "column": 51 }, "end": { - "line": 142, - "column": 33 + "line": 172, + "column": 15 } }, "id": null, @@ -8284,16 +7807,16 @@ "params": [ { "type": "Identifier", - "start": 5674, - "end": 5680, + "start": 5022, + "end": 5028, "loc": { "start": { - "line": 136, - "column": 40 + "line": 164, + "column": 51 }, "end": { - "line": 136, - "column": 46 + "line": 164, + "column": 57 }, "identifierName": "artist" }, @@ -8302,102 +7825,102 @@ ], "body": { "type": "BlockStatement", - "start": 5684, - "end": 6060, + "start": 5032, + "end": 5328, "loc": { "start": { - "line": 136, - "column": 50 + "line": 164, + "column": 61 }, "end": { - "line": 142, - "column": 33 + "line": 172, + "column": 15 } }, "body": [ { "type": "IfStatement", - "start": 5722, - "end": 6026, + "start": 5050, + "end": 5312, "loc": { "start": { - "line": 137, - "column": 36 + "line": 165, + "column": 16 }, "end": { - "line": 141, - "column": 37 + "line": 171, + "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 5726, - "end": 5768, + "start": 5054, + "end": 5096, "loc": { "start": { - "line": 137, - "column": 40 + "line": 165, + "column": 20 }, "end": { - "line": 137, - "column": 82 + "line": 165, + "column": 62 } }, "left": { "type": "MemberExpression", - "start": 5726, - "end": 5754, + "start": 5054, + "end": 5082, "loc": { "start": { - "line": 137, - "column": 40 + "line": 165, + "column": 20 }, "end": { - "line": 137, - "column": 68 + "line": 165, + "column": 48 } }, "object": { "type": "MemberExpression", - "start": 5726, - "end": 5747, + "start": 5054, + "end": 5075, "loc": { "start": { - "line": 137, - "column": 40 + "line": 165, + "column": 20 }, "end": { - "line": 137, - "column": 61 + "line": 165, + "column": 41 } }, "object": { "type": "ThisExpression", - "start": 5726, - "end": 5730, + "start": 5054, + "end": 5058, "loc": { "start": { - "line": 137, - "column": 40 + "line": 165, + "column": 20 }, "end": { - "line": 137, - "column": 44 + "line": 165, + "column": 24 } } }, "property": { "type": "Identifier", - "start": 5731, - "end": 5747, + "start": 5059, + "end": 5075, "loc": { "start": { - "line": 137, - "column": 45 + "line": 165, + "column": 25 }, "end": { - "line": 137, - "column": 61 + "line": 165, + "column": 41 }, "identifierName": "filterConditions" }, @@ -8407,16 +7930,16 @@ }, "property": { "type": "Identifier", - "start": 5748, - "end": 5754, + "start": 5076, + "end": 5082, "loc": { "start": { - "line": 137, - "column": 62 + "line": 165, + "column": 42 }, "end": { - "line": 137, - "column": 68 + "line": 165, + "column": 48 }, "identifierName": "artist" }, @@ -8427,16 +7950,16 @@ "operator": "===", "right": { "type": "Identifier", - "start": 5759, - "end": 5768, + "start": 5087, + "end": 5096, "loc": { "start": { - "line": 137, - "column": 73 + "line": 165, + "column": 53 }, "end": { - "line": 137, - "column": 82 + "line": 165, + "column": 62 }, "identifierName": "undefined" }, @@ -8445,45 +7968,45 @@ }, "consequent": { "type": "BlockStatement", - "start": 5770, - "end": 5861, + "start": 5098, + "end": 5148, "loc": { "start": { - "line": 137, - "column": 84 + "line": 165, + "column": 64 }, "end": { - "line": 139, - "column": 37 + "line": 167, + "column": 17 } }, "body": [ { "type": "ReturnStatement", - "start": 5812, - "end": 5823, + "start": 5118, + "end": 5130, "loc": { "start": { - "line": 138, - "column": 40 + "line": 166, + "column": 18 }, "end": { - "line": 138, - "column": 51 + "line": 166, + "column": 30 } }, "argument": { "type": "BooleanLiteral", - "start": 5819, - "end": 5823, + "start": 5125, + "end": 5129, "loc": { "start": { - "line": 138, - "column": 47 + "line": 166, + "column": 25 }, "end": { - "line": 138, - "column": 51 + "line": 166, + "column": 29 } }, "value": true @@ -8494,87 +8017,87 @@ }, "alternate": { "type": "BlockStatement", - "start": 5867, - "end": 6026, + "start": 5154, + "end": 5312, "loc": { "start": { - "line": 139, - "column": 43 + "line": 167, + "column": 23 }, "end": { - "line": 141, - "column": 37 + "line": 171, + "column": 17 } }, "body": [ { "type": "ReturnStatement", - "start": 5909, - "end": 5988, + "start": 5174, + "end": 5294, "loc": { "start": { - "line": 140, - "column": 40 + "line": 168, + "column": 18 }, "end": { - "line": 140, - "column": 119 + "line": 170, + "column": 38 } }, "argument": { "type": "CallExpression", - "start": 5916, - "end": 5988, + "start": 5181, + "end": 5293, "loc": { "start": { - "line": 140, - "column": 47 + "line": 168, + "column": 25 }, "end": { - "line": 140, - "column": 119 + "line": 170, + "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 5916, - "end": 5975, + "start": 5181, + "end": 5280, "loc": { "start": { - "line": 140, - "column": 47 + "line": 168, + "column": 25 }, "end": { - "line": 140, - "column": 106 + "line": 170, + "column": 24 } }, "object": { "type": "NewExpression", - "start": 5916, - "end": 5970, + "start": 5181, + "end": 5275, "loc": { "start": { - "line": 140, - "column": 47 + "line": 168, + "column": 25 }, "end": { - "line": 140, - "column": 101 + "line": 170, + "column": 19 } }, "callee": { "type": "Identifier", - "start": 5920, - "end": 5926, + "start": 5185, + "end": 5191, "loc": { "start": { - "line": 140, - "column": 51 + "line": 168, + "column": 29 }, "end": { - "line": 140, - "column": 57 + "line": 168, + "column": 35 }, "identifierName": "RegExp" }, @@ -8583,44 +8106,44 @@ "arguments": [ { "type": "BinaryExpression", - "start": 5927, - "end": 5969, + "start": 5213, + "end": 5255, "loc": { "start": { - "line": 140, - "column": 58 + "line": 169, + "column": 20 }, "end": { - "line": 140, - "column": 100 + "line": 169, + "column": 62 } }, "left": { "type": "BinaryExpression", - "start": 5927, - "end": 5962, + "start": 5213, + "end": 5248, "loc": { "start": { - "line": 140, - "column": 58 + "line": 169, + "column": 20 }, "end": { - "line": 140, - "column": 93 + "line": 169, + "column": 55 } }, "left": { "type": "StringLiteral", - "start": 5927, - "end": 5931, + "start": 5213, + "end": 5217, "loc": { "start": { - "line": 140, - "column": 58 + "line": 169, + "column": 20 }, "end": { - "line": 140, - "column": 62 + "line": 169, + "column": 24 } }, "extra": { @@ -8632,59 +8155,59 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 5934, - "end": 5962, + "start": 5220, + "end": 5248, "loc": { "start": { - "line": 140, - "column": 65 + "line": 169, + "column": 27 }, "end": { - "line": 140, - "column": 93 + "line": 169, + "column": 55 } }, "object": { "type": "MemberExpression", - "start": 5934, - "end": 5955, + "start": 5220, + "end": 5241, "loc": { "start": { - "line": 140, - "column": 65 + "line": 169, + "column": 27 }, "end": { - "line": 140, - "column": 86 + "line": 169, + "column": 48 } }, "object": { "type": "ThisExpression", - "start": 5934, - "end": 5938, + "start": 5220, + "end": 5224, "loc": { "start": { - "line": 140, - "column": 65 + "line": 169, + "column": 27 }, "end": { - "line": 140, - "column": 69 + "line": 169, + "column": 31 } } }, "property": { "type": "Identifier", - "start": 5939, - "end": 5955, + "start": 5225, + "end": 5241, "loc": { "start": { - "line": 140, - "column": 70 + "line": 169, + "column": 32 }, "end": { - "line": 140, - "column": 86 + "line": 169, + "column": 48 }, "identifierName": "filterConditions" }, @@ -8694,16 +8217,16 @@ }, "property": { "type": "Identifier", - "start": 5956, - "end": 5962, + "start": 5242, + "end": 5248, "loc": { "start": { - "line": 140, - "column": 87 + "line": 169, + "column": 49 }, "end": { - "line": 140, - "column": 93 + "line": 169, + "column": 55 }, "identifierName": "artist" }, @@ -8715,16 +8238,16 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 5965, - "end": 5969, + "start": 5251, + "end": 5255, "loc": { "start": { - "line": 140, - "column": 96 + "line": 169, + "column": 58 }, "end": { - "line": 140, - "column": 100 + "line": 169, + "column": 62 } }, "extra": { @@ -8738,16 +8261,16 @@ }, "property": { "type": "Identifier", - "start": 5971, - "end": 5975, + "start": 5276, + "end": 5280, "loc": { "start": { - "line": 140, - "column": 102 + "line": 170, + "column": 20 }, "end": { - "line": 140, - "column": 106 + "line": 170, + "column": 24 }, "identifierName": "test" }, @@ -8758,30 +8281,30 @@ "arguments": [ { "type": "MemberExpression", - "start": 5976, - "end": 5987, + "start": 5281, + "end": 5292, "loc": { "start": { - "line": 140, - "column": 107 + "line": 170, + "column": 25 }, "end": { - "line": 140, - "column": 118 + "line": 170, + "column": 36 } }, "object": { "type": "Identifier", - "start": 5976, - "end": 5982, + "start": 5281, + "end": 5287, "loc": { "start": { - "line": 140, - "column": 107 + "line": 170, + "column": 25 }, "end": { - "line": 140, - "column": 113 + "line": 170, + "column": 31 }, "identifierName": "artist" }, @@ -8789,16 +8312,16 @@ }, "property": { "type": "Identifier", - "start": 5983, - "end": 5987, + "start": 5288, + "end": 5292, "loc": { "start": { - "line": 140, - "column": 114 + "line": 170, + "column": 32 }, "end": { - "line": 140, - "column": 118 + "line": 170, + "column": 36 }, "identifierName": "name" }, @@ -8831,16 +8354,16 @@ ], "test": { "type": "StringLiteral", - "start": 5469, - "end": 5478, + "start": 4886, + "end": 4895, "loc": { "start": { - "line": 132, - "column": 21 + "line": 161, + "column": 13 }, "end": { - "line": 132, - "column": 30 + "line": 161, + "column": 22 } }, "extra": { @@ -8852,60 +8375,60 @@ }, { "type": "SwitchCase", - "start": 6147, - "end": 6804, + "start": 5366, + "end": 5853, "loc": { "start": { - "line": 145, - "column": 16 + "line": 175, + "column": 8 }, "end": { - "line": 157, - "column": 21 + "line": 188, + "column": 12 } }, "consequent": [ { "type": "ReturnStatement", - "start": 6185, - "end": 6804, + "start": 5394, + "end": 5853, "loc": { "start": { - "line": 146, - "column": 20 + "line": 176, + "column": 10 }, "end": { - "line": 157, - "column": 21 + "line": 188, + "column": 12 } }, "argument": { "type": "ObjectExpression", - "start": 6192, - "end": 6804, + "start": 5401, + "end": 5852, "loc": { "start": { - "line": 146, - "column": 27 + "line": 176, + "column": 17 }, "end": { - "line": 157, - "column": 21 + "line": 188, + "column": 11 } }, "properties": [ { "type": "ObjectProperty", - "start": 6218, - "end": 6782, + "start": 5415, + "end": 5840, "loc": { "start": { - "line": 147, - "column": 24 + "line": 177, + "column": 12 }, "end": { - "line": 156, - "column": 26 + "line": 187, + "column": 14 } }, "method": false, @@ -8913,16 +8436,16 @@ "computed": true, "key": { "type": "Identifier", - "start": 6219, - "end": 6222, + "start": 5416, + "end": 5419, "loc": { "start": { - "line": 147, - "column": 25 + "line": 177, + "column": 13 }, "end": { - "line": 147, - "column": 28 + "line": 177, + "column": 16 }, "identifierName": "key" }, @@ -8930,44 +8453,44 @@ }, "value": { "type": "CallExpression", - "start": 6225, - "end": 6782, + "start": 5422, + "end": 5840, "loc": { "start": { - "line": 147, - "column": 31 + "line": 177, + "column": 19 }, "end": { - "line": 156, - "column": 26 + "line": 187, + "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 6225, - "end": 6238, + "start": 5422, + "end": 5435, "loc": { "start": { - "line": 147, - "column": 31 + "line": 177, + "column": 19 }, "end": { - "line": 147, - "column": 44 + "line": 177, + "column": 32 } }, "object": { "type": "Identifier", - "start": 6225, - "end": 6231, + "start": 5422, + "end": 5428, "loc": { "start": { - "line": 147, - "column": 31 + "line": 177, + "column": 19 }, "end": { - "line": 147, - "column": 37 + "line": 177, + "column": 25 }, "identifierName": "Object" }, @@ -8975,16 +8498,16 @@ }, "property": { "type": "Identifier", - "start": 6232, - "end": 6238, + "start": 5429, + "end": 5435, "loc": { "start": { - "line": 147, - "column": 38 + "line": 177, + "column": 26 }, "end": { - "line": 147, - "column": 44 + "line": 177, + "column": 32 }, "identifierName": "assign" }, @@ -8995,44 +8518,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 6239, - "end": 6257, + "start": 5436, + "end": 5454, "loc": { "start": { - "line": 147, - "column": 45 + "line": 177, + "column": 33 }, "end": { - "line": 147, - "column": 63 + "line": 177, + "column": 51 } }, "object": { "type": "MemberExpression", - "start": 6239, - "end": 6252, + "start": 5436, + "end": 5449, "loc": { "start": { - "line": 147, - "column": 45 + "line": 177, + "column": 33 }, "end": { - "line": 147, - "column": 58 + "line": 177, + "column": 46 } }, "object": { "type": "Identifier", - "start": 6239, - "end": 6247, + "start": 5436, + "end": 5444, "loc": { "start": { - "line": 147, - "column": 45 + "line": 177, + "column": 33 }, "end": { - "line": 147, - "column": 53 + "line": 177, + "column": 41 }, "identifierName": "response" }, @@ -9040,16 +8563,16 @@ }, "property": { "type": "Identifier", - "start": 6248, - "end": 6252, + "start": 5445, + "end": 5449, "loc": { "start": { - "line": 147, - "column": 54 + "line": 177, + "column": 42 }, "end": { - "line": 147, - "column": 58 + "line": 177, + "column": 46 }, "identifierName": "data" }, @@ -9059,16 +8582,16 @@ }, "property": { "type": "Identifier", - "start": 6253, - "end": 6256, + "start": 5450, + "end": 5453, "loc": { "start": { - "line": 147, - "column": 59 + "line": 177, + "column": 47 }, "end": { - "line": 147, - "column": 62 + "line": 177, + "column": 50 }, "identifierName": "key" }, @@ -9078,31 +8601,31 @@ }, { "type": "ObjectExpression", - "start": 6259, - "end": 6781, + "start": 5456, + "end": 5839, "loc": { "start": { - "line": 147, - "column": 65 + "line": 177, + "column": 53 }, "end": { - "line": 156, - "column": 25 + "line": 187, + "column": 13 } }, "properties": [ { "type": "ObjectProperty", - "start": 6289, - "end": 6755, + "start": 5472, + "end": 5825, "loc": { "start": { - "line": 148, - "column": 28 + "line": 178, + "column": 14 }, "end": { - "line": 155, - "column": 34 + "line": 186, + "column": 16 } }, "method": false, @@ -9110,16 +8633,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 6289, - "end": 6293, + "start": 5472, + "end": 5476, "loc": { "start": { - "line": 148, - "column": 28 + "line": 178, + "column": 14 }, "end": { - "line": 148, - "column": 32 + "line": 178, + "column": 18 }, "identifierName": "data" }, @@ -9127,86 +8650,86 @@ }, "value": { "type": "CallExpression", - "start": 6295, - "end": 6755, + "start": 5478, + "end": 5825, "loc": { "start": { - "line": 148, - "column": 34 + "line": 178, + "column": 20 }, "end": { - "line": 155, - "column": 34 + "line": 186, + "column": 16 } }, "callee": { "type": "MemberExpression", - "start": 6295, - "end": 6358, + "start": 5478, + "end": 5508, "loc": { "start": { - "line": 148, - "column": 34 + "line": 178, + "column": 20 }, "end": { - "line": 149, - "column": 39 + "line": 178, + "column": 50 } }, "object": { "type": "MemberExpression", - "start": 6295, - "end": 6318, + "start": 5478, + "end": 5501, "loc": { "start": { - "line": 148, - "column": 34 + "line": 178, + "column": 20 }, "end": { - "line": 148, - "column": 57 + "line": 178, + "column": 43 } }, "object": { "type": "MemberExpression", - "start": 6295, - "end": 6313, + "start": 5478, + "end": 5496, "loc": { "start": { - "line": 148, - "column": 34 + "line": 178, + "column": 20 }, "end": { - "line": 148, - "column": 52 + "line": 178, + "column": 38 } }, "object": { "type": "MemberExpression", - "start": 6295, - "end": 6308, + "start": 5478, + "end": 5491, "loc": { "start": { - "line": 148, - "column": 34 + "line": 178, + "column": 20 }, "end": { - "line": 148, - "column": 47 + "line": 178, + "column": 33 } }, "object": { "type": "Identifier", - "start": 6295, - "end": 6303, + "start": 5478, + "end": 5486, "loc": { "start": { - "line": 148, - "column": 34 + "line": 178, + "column": 20 }, "end": { - "line": 148, - "column": 42 + "line": 178, + "column": 28 }, "identifierName": "response" }, @@ -9214,16 +8737,16 @@ }, "property": { "type": "Identifier", - "start": 6304, - "end": 6308, + "start": 5487, + "end": 5491, "loc": { "start": { - "line": 148, - "column": 43 + "line": 178, + "column": 29 }, "end": { - "line": 148, - "column": 47 + "line": 178, + "column": 33 }, "identifierName": "data" }, @@ -9233,16 +8756,16 @@ }, "property": { "type": "Identifier", - "start": 6309, - "end": 6312, + "start": 5492, + "end": 5495, "loc": { "start": { - "line": 148, - "column": 48 + "line": 178, + "column": 34 }, "end": { - "line": 148, - "column": 51 + "line": 178, + "column": 37 }, "identifierName": "key" }, @@ -9252,16 +8775,16 @@ }, "property": { "type": "Identifier", - "start": 6314, - "end": 6318, + "start": 5497, + "end": 5501, "loc": { "start": { - "line": 148, - "column": 53 + "line": 178, + "column": 39 }, "end": { - "line": 148, - "column": 57 + "line": 178, + "column": 43 }, "identifierName": "data" }, @@ -9271,16 +8794,16 @@ }, "property": { "type": "Identifier", - "start": 6352, - "end": 6358, + "start": 5502, + "end": 5508, "loc": { "start": { - "line": 149, - "column": 33 + "line": 178, + "column": 44 }, "end": { - "line": 149, - "column": 39 + "line": 178, + "column": 50 }, "identifierName": "filter" }, @@ -9291,16 +8814,16 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 6359, - "end": 6754, + "start": 5509, + "end": 5824, "loc": { "start": { - "line": 149, - "column": 40 + "line": 178, + "column": 51 }, "end": { - "line": 155, - "column": 33 + "line": 186, + "column": 15 } }, "id": null, @@ -9310,16 +8833,16 @@ "params": [ { "type": "Identifier", - "start": 6359, - "end": 6367, + "start": 5509, + "end": 5517, "loc": { "start": { - "line": 149, - "column": 40 + "line": 178, + "column": 51 }, "end": { - "line": 149, - "column": 48 + "line": 178, + "column": 59 }, "identifierName": "playlist" }, @@ -9328,102 +8851,102 @@ ], "body": { "type": "BlockStatement", - "start": 6371, - "end": 6754, + "start": 5521, + "end": 5824, "loc": { "start": { - "line": 149, - "column": 52 + "line": 178, + "column": 63 }, "end": { - "line": 155, - "column": 33 + "line": 186, + "column": 15 } }, "body": [ { "type": "IfStatement", - "start": 6409, - "end": 6720, + "start": 5539, + "end": 5808, "loc": { "start": { - "line": 150, - "column": 36 + "line": 179, + "column": 16 }, "end": { - "line": 154, - "column": 37 + "line": 185, + "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 6413, - "end": 6457, + "start": 5543, + "end": 5587, "loc": { "start": { - "line": 150, - "column": 40 + "line": 179, + "column": 20 }, "end": { - "line": 150, - "column": 84 + "line": 179, + "column": 64 } }, "left": { "type": "MemberExpression", - "start": 6413, - "end": 6443, + "start": 5543, + "end": 5573, "loc": { "start": { - "line": 150, - "column": 40 + "line": 179, + "column": 20 }, "end": { - "line": 150, - "column": 70 + "line": 179, + "column": 50 } }, "object": { "type": "MemberExpression", - "start": 6413, - "end": 6434, + "start": 5543, + "end": 5564, "loc": { "start": { - "line": 150, - "column": 40 + "line": 179, + "column": 20 }, "end": { - "line": 150, - "column": 61 + "line": 179, + "column": 41 } }, "object": { "type": "ThisExpression", - "start": 6413, - "end": 6417, + "start": 5543, + "end": 5547, "loc": { "start": { - "line": 150, - "column": 40 + "line": 179, + "column": 20 }, "end": { - "line": 150, - "column": 44 + "line": 179, + "column": 24 } } }, "property": { "type": "Identifier", - "start": 6418, - "end": 6434, + "start": 5548, + "end": 5564, "loc": { "start": { - "line": 150, - "column": 45 + "line": 179, + "column": 25 }, "end": { - "line": 150, - "column": 61 + "line": 179, + "column": 41 }, "identifierName": "filterConditions" }, @@ -9433,16 +8956,16 @@ }, "property": { "type": "Identifier", - "start": 6435, - "end": 6443, + "start": 5565, + "end": 5573, "loc": { "start": { - "line": 150, - "column": 62 + "line": 179, + "column": 42 }, "end": { - "line": 150, - "column": 70 + "line": 179, + "column": 50 }, "identifierName": "playlist" }, @@ -9453,16 +8976,16 @@ "operator": "===", "right": { "type": "Identifier", - "start": 6448, - "end": 6457, + "start": 5578, + "end": 5587, "loc": { "start": { - "line": 150, - "column": 75 + "line": 179, + "column": 55 }, "end": { - "line": 150, - "column": 84 + "line": 179, + "column": 64 }, "identifierName": "undefined" }, @@ -9471,45 +8994,45 @@ }, "consequent": { "type": "BlockStatement", - "start": 6459, - "end": 6550, + "start": 5589, + "end": 5639, "loc": { "start": { - "line": 150, - "column": 86 + "line": 179, + "column": 66 }, "end": { - "line": 152, - "column": 37 + "line": 181, + "column": 17 } }, "body": [ { "type": "ReturnStatement", - "start": 6501, - "end": 6512, + "start": 5609, + "end": 5621, "loc": { "start": { - "line": 151, - "column": 40 + "line": 180, + "column": 18 }, "end": { - "line": 151, - "column": 51 + "line": 180, + "column": 30 } }, "argument": { "type": "BooleanLiteral", - "start": 6508, - "end": 6512, + "start": 5616, + "end": 5620, "loc": { "start": { - "line": 151, - "column": 47 + "line": 180, + "column": 25 }, "end": { - "line": 151, - "column": 51 + "line": 180, + "column": 29 } }, "value": true @@ -9520,87 +9043,87 @@ }, "alternate": { "type": "BlockStatement", - "start": 6556, - "end": 6720, + "start": 5645, + "end": 5808, "loc": { "start": { - "line": 152, - "column": 43 + "line": 181, + "column": 23 }, "end": { - "line": 154, - "column": 37 + "line": 185, + "column": 17 } }, "body": [ { "type": "ReturnStatement", - "start": 6598, - "end": 6682, + "start": 5665, + "end": 5790, "loc": { "start": { - "line": 153, - "column": 40 + "line": 182, + "column": 18 }, "end": { - "line": 153, - "column": 124 + "line": 184, + "column": 41 } }, "argument": { "type": "CallExpression", - "start": 6605, - "end": 6682, + "start": 5672, + "end": 5789, "loc": { "start": { - "line": 153, - "column": 47 + "line": 182, + "column": 25 }, "end": { - "line": 153, - "column": 124 + "line": 184, + "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 6605, - "end": 6666, + "start": 5672, + "end": 5773, "loc": { "start": { - "line": 153, - "column": 47 + "line": 182, + "column": 25 }, "end": { - "line": 153, - "column": 108 + "line": 184, + "column": 24 } }, "object": { "type": "NewExpression", - "start": 6605, - "end": 6661, + "start": 5672, + "end": 5768, "loc": { "start": { - "line": 153, - "column": 47 + "line": 182, + "column": 25 }, "end": { - "line": 153, - "column": 103 + "line": 184, + "column": 19 } }, "callee": { "type": "Identifier", - "start": 6609, - "end": 6615, + "start": 5676, + "end": 5682, "loc": { "start": { - "line": 153, - "column": 51 + "line": 182, + "column": 29 }, "end": { - "line": 153, - "column": 57 + "line": 182, + "column": 35 }, "identifierName": "RegExp" }, @@ -9609,44 +9132,44 @@ "arguments": [ { "type": "BinaryExpression", - "start": 6616, - "end": 6660, + "start": 5704, + "end": 5748, "loc": { "start": { - "line": 153, - "column": 58 + "line": 183, + "column": 20 }, "end": { - "line": 153, - "column": 102 + "line": 183, + "column": 64 } }, "left": { "type": "BinaryExpression", - "start": 6616, - "end": 6653, + "start": 5704, + "end": 5741, "loc": { "start": { - "line": 153, - "column": 58 + "line": 183, + "column": 20 }, "end": { - "line": 153, - "column": 95 + "line": 183, + "column": 57 } }, "left": { "type": "StringLiteral", - "start": 6616, - "end": 6620, + "start": 5704, + "end": 5708, "loc": { "start": { - "line": 153, - "column": 58 + "line": 183, + "column": 20 }, "end": { - "line": 153, - "column": 62 + "line": 183, + "column": 24 } }, "extra": { @@ -9658,59 +9181,59 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 6623, - "end": 6653, + "start": 5711, + "end": 5741, "loc": { "start": { - "line": 153, - "column": 65 + "line": 183, + "column": 27 }, "end": { - "line": 153, - "column": 95 + "line": 183, + "column": 57 } }, "object": { "type": "MemberExpression", - "start": 6623, - "end": 6644, + "start": 5711, + "end": 5732, "loc": { "start": { - "line": 153, - "column": 65 + "line": 183, + "column": 27 }, "end": { - "line": 153, - "column": 86 + "line": 183, + "column": 48 } }, "object": { "type": "ThisExpression", - "start": 6623, - "end": 6627, + "start": 5711, + "end": 5715, "loc": { "start": { - "line": 153, - "column": 65 + "line": 183, + "column": 27 }, "end": { - "line": 153, - "column": 69 + "line": 183, + "column": 31 } } }, "property": { "type": "Identifier", - "start": 6628, - "end": 6644, + "start": 5716, + "end": 5732, "loc": { "start": { - "line": 153, - "column": 70 + "line": 183, + "column": 32 }, "end": { - "line": 153, - "column": 86 + "line": 183, + "column": 48 }, "identifierName": "filterConditions" }, @@ -9720,16 +9243,16 @@ }, "property": { "type": "Identifier", - "start": 6645, - "end": 6653, + "start": 5733, + "end": 5741, "loc": { "start": { - "line": 153, - "column": 87 + "line": 183, + "column": 49 }, "end": { - "line": 153, - "column": 95 + "line": 183, + "column": 57 }, "identifierName": "playlist" }, @@ -9741,16 +9264,16 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 6656, - "end": 6660, + "start": 5744, + "end": 5748, "loc": { "start": { - "line": 153, - "column": 98 + "line": 183, + "column": 60 }, "end": { - "line": 153, - "column": 102 + "line": 183, + "column": 64 } }, "extra": { @@ -9764,16 +9287,16 @@ }, "property": { "type": "Identifier", - "start": 6662, - "end": 6666, + "start": 5769, + "end": 5773, "loc": { "start": { - "line": 153, - "column": 104 + "line": 184, + "column": 20 }, "end": { - "line": 153, - "column": 108 + "line": 184, + "column": 24 }, "identifierName": "test" }, @@ -9784,30 +9307,30 @@ "arguments": [ { "type": "MemberExpression", - "start": 6667, - "end": 6681, + "start": 5774, + "end": 5788, "loc": { "start": { - "line": 153, - "column": 109 + "line": 184, + "column": 25 }, "end": { - "line": 153, - "column": 123 + "line": 184, + "column": 39 } }, "object": { "type": "Identifier", - "start": 6667, - "end": 6675, + "start": 5774, + "end": 5782, "loc": { "start": { - "line": 153, - "column": 109 + "line": 184, + "column": 25 }, "end": { - "line": 153, - "column": 117 + "line": 184, + "column": 33 }, "identifierName": "playlist" }, @@ -9815,16 +9338,16 @@ }, "property": { "type": "Identifier", - "start": 6676, - "end": 6681, + "start": 5783, + "end": 5788, "loc": { "start": { - "line": 153, - "column": 118 + "line": 184, + "column": 34 }, "end": { - "line": 153, - "column": 123 + "line": 184, + "column": 39 }, "identifierName": "title" }, @@ -9857,16 +9380,16 @@ ], "test": { "type": "StringLiteral", - "start": 6152, - "end": 6163, + "start": 5371, + "end": 5382, "loc": { "start": { - "line": 145, - "column": 21 + "line": 175, + "column": 13 }, "end": { - "line": 145, - "column": 32 + "line": 175, + "column": 24 } }, "extra": { @@ -9878,60 +9401,60 @@ }, { "type": "SwitchCase", - "start": 6841, - "end": 6904, + "start": 5862, + "end": 5940, "loc": { "start": { - "line": 158, - "column": 16 + "line": 189, + "column": 8 }, "end": { - "line": 159, - "column": 54 + "line": 192, + "column": 12 } }, "consequent": [ { "type": "ReturnStatement", - "start": 6870, - "end": 6904, + "start": 5881, + "end": 5940, "loc": { "start": { - "line": 159, - "column": 20 + "line": 190, + "column": 10 }, "end": { - "line": 159, - "column": 54 + "line": 192, + "column": 12 } }, "argument": { "type": "ObjectExpression", - "start": 6877, - "end": 6904, + "start": 5888, + "end": 5939, "loc": { "start": { - "line": 159, - "column": 27 + "line": 190, + "column": 17 }, "end": { - "line": 159, - "column": 54 + "line": 192, + "column": 11 } }, "properties": [ { "type": "ObjectProperty", - "start": 6878, - "end": 6903, + "start": 5902, + "end": 5927, "loc": { "start": { - "line": 159, - "column": 28 + "line": 191, + "column": 12 }, "end": { - "line": 159, - "column": 53 + "line": 191, + "column": 37 } }, "method": false, @@ -9939,16 +9462,16 @@ "computed": true, "key": { "type": "Identifier", - "start": 6879, - "end": 6882, + "start": 5903, + "end": 5906, "loc": { "start": { - "line": 159, - "column": 29 + "line": 191, + "column": 13 }, "end": { - "line": 159, - "column": 32 + "line": 191, + "column": 16 }, "identifierName": "key" }, @@ -9956,44 +9479,44 @@ }, "value": { "type": "MemberExpression", - "start": 6885, - "end": 6903, + "start": 5909, + "end": 5927, "loc": { "start": { - "line": 159, - "column": 35 + "line": 191, + "column": 19 }, "end": { - "line": 159, - "column": 53 + "line": 191, + "column": 37 } }, "object": { "type": "MemberExpression", - "start": 6885, - "end": 6898, + "start": 5909, + "end": 5922, "loc": { "start": { - "line": 159, - "column": 35 + "line": 191, + "column": 19 }, "end": { - "line": 159, - "column": 48 + "line": 191, + "column": 32 } }, "object": { "type": "Identifier", - "start": 6885, - "end": 6893, + "start": 5909, + "end": 5917, "loc": { "start": { - "line": 159, - "column": 35 + "line": 191, + "column": 19 }, "end": { - "line": 159, - "column": 43 + "line": 191, + "column": 27 }, "identifierName": "response" }, @@ -10001,16 +9524,16 @@ }, "property": { "type": "Identifier", - "start": 6894, - "end": 6898, + "start": 5918, + "end": 5922, "loc": { "start": { - "line": 159, - "column": 44 + "line": 191, + "column": 28 }, "end": { - "line": 159, - "column": 48 + "line": 191, + "column": 32 }, "identifierName": "data" }, @@ -10020,16 +9543,16 @@ }, "property": { "type": "Identifier", - "start": 6899, - "end": 6902, + "start": 5923, + "end": 5926, "loc": { "start": { - "line": 159, - "column": 49 + "line": 191, + "column": 33 }, "end": { - "line": 159, - "column": 52 + "line": 191, + "column": 36 }, "identifierName": "key" }, @@ -10058,58 +9581,58 @@ }, { "type": "ReturnStatement", - "start": 6938, - "end": 7000, + "start": 5961, + "end": 6036, "loc": { "start": { - "line": 162, - "column": 8 + "line": 195, + "column": 4 }, "end": { - "line": 162, - "column": 70 + "line": 197, + "column": 7 } }, "argument": { "type": "CallExpression", - "start": 6945, - "end": 7000, + "start": 5968, + "end": 6035, "loc": { "start": { - "line": 162, - "column": 15 + "line": 195, + "column": 11 }, "end": { - "line": 162, - "column": 70 + "line": 197, + "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 6945, - "end": 6958, + "start": 5968, + "end": 5981, "loc": { "start": { - "line": 162, - "column": 15 + "line": 195, + "column": 11 }, "end": { - "line": 162, - "column": 28 + "line": 195, + "column": 24 } }, "object": { "type": "Identifier", - "start": 6945, - "end": 6951, + "start": 5968, + "end": 5974, "loc": { "start": { - "line": 162, - "column": 15 + "line": 195, + "column": 11 }, "end": { - "line": 162, - "column": 21 + "line": 195, + "column": 17 }, "identifierName": "Object" }, @@ -10117,16 +9640,16 @@ }, "property": { "type": "Identifier", - "start": 6952, - "end": 6958, + "start": 5975, + "end": 5981, "loc": { "start": { - "line": 162, - "column": 22 + "line": 195, + "column": 18 }, "end": { - "line": 162, - "column": 28 + "line": 195, + "column": 24 }, "identifierName": "assign" }, @@ -10137,16 +9660,16 @@ "arguments": [ { "type": "Identifier", - "start": 6959, - "end": 6967, + "start": 5982, + "end": 5990, "loc": { "start": { - "line": 162, - "column": 29 + "line": 195, + "column": 25 }, "end": { - "line": 162, - "column": 37 + "line": 195, + "column": 33 }, "identifierName": "response" }, @@ -10154,31 +9677,31 @@ }, { "type": "ObjectExpression", - "start": 6969, - "end": 6999, + "start": 5992, + "end": 6034, "loc": { "start": { - "line": 162, - "column": 39 + "line": 195, + "column": 35 }, "end": { - "line": 162, - "column": 69 + "line": 197, + "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 6970, - "end": 6998, + "start": 6000, + "end": 6028, "loc": { "start": { - "line": 162, - "column": 40 + "line": 196, + "column": 6 }, "end": { - "line": 162, - "column": 68 + "line": 196, + "column": 34 } }, "method": false, @@ -10186,16 +9709,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 6970, - "end": 6974, + "start": 6000, + "end": 6004, "loc": { "start": { - "line": 162, - "column": 40 + "line": 196, + "column": 6 }, "end": { - "line": 162, - "column": 44 + "line": 196, + "column": 10 }, "identifierName": "data" }, @@ -10203,44 +9726,44 @@ }, "value": { "type": "CallExpression", - "start": 6976, - "end": 6998, + "start": 6006, + "end": 6028, "loc": { "start": { - "line": 162, - "column": 46 + "line": 196, + "column": 12 }, "end": { - "line": 162, - "column": 68 + "line": 196, + "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 6976, - "end": 6989, + "start": 6006, + "end": 6019, "loc": { "start": { - "line": 162, - "column": 46 + "line": 196, + "column": 12 }, "end": { - "line": 162, - "column": 59 + "line": 196, + "column": 25 } }, "object": { "type": "Identifier", - "start": 6976, - "end": 6982, + "start": 6006, + "end": 6012, "loc": { "start": { - "line": 162, - "column": 46 + "line": 196, + "column": 12 }, "end": { - "line": 162, - "column": 52 + "line": 196, + "column": 18 }, "identifierName": "Object" }, @@ -10248,16 +9771,16 @@ }, "property": { "type": "Identifier", - "start": 6983, - "end": 6989, + "start": 6013, + "end": 6019, "loc": { "start": { - "line": 162, - "column": 53 + "line": 196, + "column": 19 }, "end": { - "line": 162, - "column": 59 + "line": 196, + "column": 25 }, "identifierName": "assign" }, @@ -10268,30 +9791,30 @@ "arguments": [ { "type": "SpreadElement", - "start": 6990, - "end": 6997, + "start": 6020, + "end": 6027, "loc": { "start": { - "line": 162, - "column": 60 + "line": 196, + "column": 26 }, "end": { - "line": 162, - "column": 67 + "line": 196, + "column": 33 } }, "argument": { "type": "Identifier", - "start": 6993, - "end": 6997, + "start": 6023, + "end": 6027, "loc": { "start": { - "line": 162, - "column": 63 + "line": 196, + "column": 29 }, "end": { - "line": 162, - "column": 67 + "line": 196, + "column": 33 }, "identifierName": "data" }, @@ -10311,45 +9834,45 @@ }, "alternate": { "type": "BlockStatement", - "start": 7012, - "end": 7043, + "start": 6046, + "end": 6072, "loc": { "start": { - "line": 163, - "column": 11 + "line": 198, + "column": 9 }, "end": { - "line": 165, - "column": 5 + "line": 200, + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 7022, - "end": 7037, + "start": 6052, + "end": 6068, "loc": { "start": { - "line": 164, - "column": 8 + "line": 199, + "column": 4 }, "end": { - "line": 164, - "column": 23 + "line": 199, + "column": 20 } }, "argument": { "type": "Identifier", - "start": 7029, - "end": 7037, + "start": 6059, + "end": 6067, "loc": { "start": { - "line": 164, - "column": 15 + "line": 199, + "column": 11 }, "end": { - "line": 164, - "column": 23 + "line": 199, + "column": 19 }, "identifierName": "response" }, @@ -10370,9 +9893,9 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * Search API.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/search\n ", - "start": 80, - "end": 169, + "value": "*\n * Search API.\n * @see https://docs-en.kkbox.codes/v1.1/reference#search\n ", + "start": 84, + "end": 164, "loc": { "start": { "line": 4, @@ -10386,113 +9909,113 @@ }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 227, - "end": 253, + "value": "*\n * @ignore\n ", + "start": 220, + "end": 242, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 336, - "end": 370, + "value": "*\n * @ignore\n ", + "start": 316, + "end": 342, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 422, - "end": 456, + "value": "*\n * @ignore\n ", + "start": 387, + "end": 413, "loc": { "start": { "line": 20, - "column": 8 + "column": 4 }, "end": { "line": 22, - "column": 11 + "column": 7 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 493, - "end": 527, + "value": "*\n * @ignore\n ", + "start": 443, + "end": 469, "loc": { "start": { "line": 25, - "column": 8 + "column": 4 }, "end": { "line": 27, - "column": 11 + "column": 7 } } }, { "type": "CommentBlock", - "value": "*\n * Filter what you don't want when search.\n *\n * @param {Object} [conditions] - search conditions.\n * @param {string} conditions.track - track's name.\n * @param {string} conditions.album - album's name.\n * @param {string} conditions.artist - artist's name.\n * @param {string} conditions.playlist - playlist's title.\n * @param {string} conditions.available_territory - tracks and albums available territory.\n * @return {Search}\n * @example api.searchFetcher.setSearchCriteria('五月天 好好').filter({artist: '五月天'}).fetchSearchResult()\n ", - "start": 569, - "end": 1149, + "value": "*\n * Filter what you don't want when search.\n *\n * @param {Object} [conditions] - search conditions.\n * @param {string} conditions.track - track's name.\n * @param {string} conditions.album - album's name.\n * @param {string} conditions.artist - artist's name.\n * @param {string} conditions.playlist - playlist's title.\n * @param {string} conditions.availableTerritory - tracks and albums available territory.\n * @return {Search}\n * @example\n * api.searchFetcher\n * .setSearchCriteria('五月天 好好')\n * .filter({artist: '五月天'})\n * .fetchSearchResult();\n ", + "start": 504, + "end": 1088, "loc": { "start": { "line": 31, - "column": 4 + "column": 2 }, "end": { - "line": 42, - "column": 7 + "line": 46, + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Init the search fetcher for the artist, album, track or playlist.\n *\n * @param {string} q - The keyword to be searched.\n * @param {string} [type] - ['artist', 'album', 'track', 'playlist'] The type of search. Default to search all types. If you want to use multiple type at the same time, you may use ',' to separate them.\n * @return {Search}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/search\n ", - "start": 1416, - "end": 1864, + "value": "*\n * Init the search fetcher for the artist, album, track or playlist.\n *\n * @param {string} q - The keyword to be searched.\n * @param {string} [type] - ['artist', 'album', 'track', 'playlist'] The type of search. Default to search all types. If you want to use multiple type at the same time, you may use ',' to separate them.\n * @return {Search}\n * @see https://docs-en.kkbox.codes/v1.1/reference#search_1\n ", + "start": 1181, + "end": 1608, "loc": { "start": { - "line": 54, - "column": 4 + "line": 52, + "column": 2 }, "end": { - "line": 61, - "column": 7 + "line": 59, + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch the search result.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.searchFetcher.setSearchCriteria('五月天 好好').fetchSearchResult()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/search/endpoints/get-search\n ", - "start": 1993, - "end": 2367, + "value": "*\n * Fetch the search result.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example\n * api.searchFetcher\n * .setSearchCriteria('五月天 好好')\n * .fetchSearchResult();\n * @see https://docs-en.kkbox.codes/v1.1/reference#search_1\n ", + "start": 1714, + "end": 2064, "loc": { "start": { - "line": 68, - "column": 4 + "line": 66, + "column": 2 }, "end": { - "line": 76, - "column": 7 + "line": 77, + "column": 5 } } } @@ -10503,7 +10026,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10564,16 +10087,16 @@ "binop": null }, "value": "SEARCH", - "start": 8, - "end": 14, + "start": 9, + "end": 15, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 14 + "column": 15 } } }, @@ -10590,16 +10113,16 @@ "binop": null }, "value": "as", - "start": 15, - "end": 17, + "start": 16, + "end": 18, "loc": { "start": { "line": 1, - "column": 15 + "column": 16 }, "end": { "line": 1, - "column": 17 + "column": 18 } } }, @@ -10616,16 +10139,16 @@ "binop": null }, "value": "ENDPOINT", - "start": 18, - "end": 26, + "start": 19, + "end": 27, "loc": { "start": { "line": 1, - "column": 18 + "column": 19 }, "end": { "line": 1, - "column": 26 + "column": 27 } } }, @@ -10641,16 +10164,16 @@ "postfix": false, "binop": null }, - "start": 26, - "end": 27, + "start": 28, + "end": 29, "loc": { "start": { "line": 1, - "column": 26 + "column": 28 }, "end": { "line": 1, - "column": 27 + "column": 29 } } }, @@ -10667,16 +10190,16 @@ "binop": null }, "value": "from", - "start": 28, - "end": 32, + "start": 30, + "end": 34, "loc": { "start": { "line": 1, - "column": 28 + "column": 30 }, "end": { "line": 1, - "column": 32 + "column": 34 } } }, @@ -10694,16 +10217,42 @@ "updateContext": null }, "value": "../Endpoint", - "start": 33, - "end": 46, + "start": 35, + "end": 48, "loc": { "start": { "line": 1, - "column": 33 + "column": 35 }, "end": { "line": 1, - "column": 46 + "column": 48 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 48, + "end": 49, + "loc": { + "start": { + "line": 1, + "column": 48 + }, + "end": { + "line": 1, + "column": 49 } } }, @@ -10712,7 +10261,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10722,8 +10271,8 @@ "updateContext": null }, "value": "import", - "start": 47, - "end": 53, + "start": 50, + "end": 56, "loc": { "start": { "line": 2, @@ -10748,8 +10297,8 @@ "binop": null }, "value": "Fetcher", - "start": 54, - "end": 61, + "start": 57, + "end": 64, "loc": { "start": { "line": 2, @@ -10774,8 +10323,8 @@ "binop": null }, "value": "from", - "start": 62, - "end": 66, + "start": 65, + "end": 69, "loc": { "start": { "line": 2, @@ -10801,8 +10350,8 @@ "updateContext": null }, "value": "./Fetcher", - "start": 67, - "end": 78, + "start": 70, + "end": 81, "loc": { "start": { "line": 2, @@ -10814,11 +10363,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 81, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 32 + } + } + }, { "type": "CommentBlock", - "value": "*\n * Search API.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/search\n ", - "start": 80, - "end": 169, + "value": "*\n * Search API.\n * @see https://docs-en.kkbox.codes/v1.1/reference#search\n ", + "start": 84, + "end": 164, "loc": { "start": { "line": 4, @@ -10845,8 +10420,8 @@ "updateContext": null }, "value": "export", - "start": 170, - "end": 176, + "start": 165, + "end": 171, "loc": { "start": { "line": 8, @@ -10873,8 +10448,8 @@ "updateContext": null }, "value": "default", - "start": 177, - "end": 184, + "start": 172, + "end": 179, "loc": { "start": { "line": 8, @@ -10901,8 +10476,8 @@ "updateContext": null }, "value": "class", - "start": 185, - "end": 190, + "start": 180, + "end": 185, "loc": { "start": { "line": 8, @@ -10927,8 +10502,8 @@ "binop": null }, "value": "SearchFetcher", - "start": 191, - "end": 204, + "start": 186, + "end": 199, "loc": { "start": { "line": 8, @@ -10955,8 +10530,8 @@ "updateContext": null }, "value": "extends", - "start": 205, - "end": 212, + "start": 200, + "end": 207, "loc": { "start": { "line": 8, @@ -10981,8 +10556,8 @@ "binop": null }, "value": "Fetcher", - "start": 213, - "end": 220, + "start": 208, + "end": 215, "loc": { "start": { "line": 8, @@ -11006,8 +10581,8 @@ "postfix": false, "binop": null }, - "start": 221, - "end": 222, + "start": 216, + "end": 217, "loc": { "start": { "line": 8, @@ -11021,17 +10596,17 @@ }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 227, - "end": 253, + "value": "*\n * @ignore\n ", + "start": 220, + "end": 242, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } }, @@ -11048,16 +10623,16 @@ "binop": null }, "value": "constructor", - "start": 258, - "end": 269, + "start": 245, + "end": 256, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 12, - "column": 15 + "column": 13 } } }, @@ -11073,16 +10648,16 @@ "postfix": false, "binop": null }, - "start": 269, - "end": 270, + "start": 256, + "end": 257, "loc": { "start": { "line": 12, - "column": 15 + "column": 13 }, "end": { "line": 12, - "column": 16 + "column": 14 } } }, @@ -11099,16 +10674,16 @@ "binop": null }, "value": "http", - "start": 270, - "end": 274, + "start": 257, + "end": 261, "loc": { "start": { "line": 12, - "column": 16 + "column": 14 }, "end": { "line": 12, - "column": 20 + "column": 18 } } }, @@ -11125,16 +10700,16 @@ "binop": null, "updateContext": null }, - "start": 274, - "end": 275, + "start": 261, + "end": 262, "loc": { "start": { "line": 12, - "column": 20 + "column": 18 }, "end": { "line": 12, - "column": 21 + "column": 19 } } }, @@ -11151,16 +10726,16 @@ "binop": null }, "value": "territory", - "start": 276, - "end": 285, + "start": 263, + "end": 272, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 31 + "column": 29 } } }, @@ -11178,16 +10753,16 @@ "updateContext": null }, "value": "=", - "start": 286, - "end": 287, + "start": 273, + "end": 274, "loc": { "start": { "line": 12, - "column": 32 + "column": 30 }, "end": { "line": 12, - "column": 33 + "column": 31 } } }, @@ -11205,16 +10780,16 @@ "updateContext": null }, "value": "TW", - "start": 288, - "end": 292, + "start": 275, + "end": 279, "loc": { "start": { "line": 12, - "column": 34 + "column": 32 }, "end": { "line": 12, - "column": 38 + "column": 36 } } }, @@ -11230,16 +10805,16 @@ "postfix": false, "binop": null }, - "start": 292, - "end": 293, + "start": 279, + "end": 280, "loc": { "start": { "line": 12, - "column": 38 + "column": 36 }, "end": { "line": 12, - "column": 39 + "column": 37 } } }, @@ -11255,16 +10830,16 @@ "postfix": false, "binop": null }, - "start": 294, - "end": 295, + "start": 281, + "end": 282, "loc": { "start": { "line": 12, - "column": 40 + "column": 38 }, "end": { "line": 12, - "column": 41 + "column": 39 } } }, @@ -11283,16 +10858,16 @@ "updateContext": null }, "value": "super", - "start": 304, - "end": 309, + "start": 287, + "end": 292, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 13 + "column": 9 } } }, @@ -11308,16 +10883,16 @@ "postfix": false, "binop": null }, - "start": 309, - "end": 310, + "start": 292, + "end": 293, "loc": { "start": { "line": 13, - "column": 13 + "column": 9 }, "end": { "line": 13, - "column": 14 + "column": 10 } } }, @@ -11334,16 +10909,16 @@ "binop": null }, "value": "http", - "start": 310, - "end": 314, + "start": 293, + "end": 297, "loc": { "start": { "line": 13, - "column": 14 + "column": 10 }, "end": { "line": 13, - "column": 18 + "column": 14 } } }, @@ -11360,16 +10935,16 @@ "binop": null, "updateContext": null }, - "start": 314, - "end": 315, + "start": 297, + "end": 298, "loc": { "start": { "line": 13, - "column": 18 + "column": 14 }, "end": { "line": 13, - "column": 19 + "column": 15 } } }, @@ -11386,16 +10961,16 @@ "binop": null }, "value": "territory", - "start": 316, - "end": 325, + "start": 299, + "end": 308, "loc": { "start": { "line": 13, - "column": 20 + "column": 16 }, "end": { "line": 13, - "column": 29 + "column": 25 } } }, @@ -11411,32 +10986,58 @@ "postfix": false, "binop": null }, - "start": 325, - "end": 326, + "start": 308, + "end": 309, "loc": { "start": { "line": 13, - "column": 29 + "column": 25 }, "end": { "line": 13, - "column": 30 + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 309, + "end": 310, + "loc": { + "start": { + "line": 13, + "column": 26 + }, + "end": { + "line": 13, + "column": 27 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 336, - "end": 370, + "value": "*\n * @ignore\n ", + "start": 316, + "end": 342, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } }, @@ -11455,16 +11056,16 @@ "updateContext": null }, "value": "this", - "start": 379, - "end": 383, + "start": 347, + "end": 351, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 12 + "column": 8 } } }, @@ -11481,16 +11082,16 @@ "binop": null, "updateContext": null }, - "start": 383, - "end": 384, + "start": 351, + "end": 352, "loc": { "start": { "line": 18, - "column": 12 + "column": 8 }, "end": { "line": 18, - "column": 13 + "column": 9 } } }, @@ -11507,16 +11108,16 @@ "binop": null }, "value": "filterConditions", - "start": 384, - "end": 400, + "start": 352, + "end": 368, "loc": { "start": { "line": 18, - "column": 13 + "column": 9 }, "end": { "line": 18, - "column": 29 + "column": 25 } } }, @@ -11534,16 +11135,16 @@ "updateContext": null }, "value": "=", - "start": 401, - "end": 402, + "start": 369, + "end": 370, "loc": { "start": { "line": 18, - "column": 30 + "column": 26 }, "end": { "line": 18, - "column": 31 + "column": 27 } } }, @@ -11560,41 +11161,24 @@ "binop": null }, "value": "undefined", - "start": 403, - "end": 412, + "start": 371, + "end": 380, "loc": { "start": { "line": 18, - "column": 32 + "column": 28 }, "end": { "line": 18, - "column": 41 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 422, - "end": 456, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 22, - "column": 11 + "column": 37 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -11603,17 +11187,60 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 465, - "end": 469, + "start": 380, + "end": 381, + "loc": { + "start": { + "line": 18, + "column": 37 + }, + "end": { + "line": 18, + "column": 38 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @ignore\n ", + "start": 387, + "end": 413, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 22, + "column": 7 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 418, + "end": 422, "loc": { "start": { "line": 23, - "column": 8 + "column": 4 }, "end": { "line": 23, - "column": 12 + "column": 8 } } }, @@ -11630,16 +11257,16 @@ "binop": null, "updateContext": null }, - "start": 469, - "end": 470, + "start": 422, + "end": 423, "loc": { "start": { "line": 23, - "column": 12 + "column": 8 }, "end": { "line": 23, - "column": 13 + "column": 9 } } }, @@ -11656,16 +11283,16 @@ "binop": null }, "value": "q", - "start": 470, - "end": 471, + "start": 423, + "end": 424, "loc": { "start": { "line": 23, - "column": 13 + "column": 9 }, "end": { "line": 23, - "column": 14 + "column": 10 } } }, @@ -11683,16 +11310,16 @@ "updateContext": null }, "value": "=", - "start": 472, - "end": 473, + "start": 425, + "end": 426, "loc": { "start": { "line": 23, - "column": 15 + "column": 11 }, "end": { "line": 23, - "column": 16 + "column": 12 } } }, @@ -11709,32 +11336,58 @@ "binop": null }, "value": "undefined", - "start": 474, - "end": 483, + "start": 427, + "end": 436, "loc": { "start": { "line": 23, - "column": 17 + "column": 13 }, "end": { "line": 23, - "column": 26 + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 436, + "end": 437, + "loc": { + "start": { + "line": 23, + "column": 22 + }, + "end": { + "line": 23, + "column": 23 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 493, - "end": 527, + "value": "*\n * @ignore\n ", + "start": 443, + "end": 469, "loc": { "start": { "line": 25, - "column": 8 + "column": 4 }, "end": { "line": 27, - "column": 11 + "column": 7 } } }, @@ -11753,16 +11406,16 @@ "updateContext": null }, "value": "this", - "start": 536, - "end": 540, + "start": 474, + "end": 478, "loc": { "start": { "line": 28, - "column": 8 + "column": 4 }, "end": { "line": 28, - "column": 12 + "column": 8 } } }, @@ -11779,16 +11432,16 @@ "binop": null, "updateContext": null }, - "start": 540, - "end": 541, + "start": 478, + "end": 479, "loc": { "start": { "line": 28, - "column": 12 + "column": 8 }, "end": { "line": 28, - "column": 13 + "column": 9 } } }, @@ -11805,16 +11458,16 @@ "binop": null }, "value": "type", - "start": 541, - "end": 545, + "start": 479, + "end": 483, "loc": { "start": { "line": 28, - "column": 13 + "column": 9 }, "end": { "line": 28, - "column": 17 + "column": 13 } } }, @@ -11832,16 +11485,16 @@ "updateContext": null }, "value": "=", - "start": 546, - "end": 547, + "start": 484, + "end": 485, "loc": { "start": { "line": 28, - "column": 18 + "column": 14 }, "end": { "line": 28, - "column": 19 + "column": 15 } } }, @@ -11858,16 +11511,42 @@ "binop": null }, "value": "undefined", - "start": 548, - "end": 557, + "start": 486, + "end": 495, "loc": { "start": { "line": 28, - "column": 20 + "column": 16 }, "end": { "line": 28, - "column": 29 + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 495, + "end": 496, + "loc": { + "start": { + "line": 28, + "column": 25 + }, + "end": { + "line": 28, + "column": 26 } } }, @@ -11883,32 +11562,32 @@ "postfix": false, "binop": null }, - "start": 562, - "end": 563, + "start": 499, + "end": 500, "loc": { "start": { "line": 29, - "column": 4 + "column": 2 }, "end": { "line": 29, - "column": 5 + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Filter what you don't want when search.\n *\n * @param {Object} [conditions] - search conditions.\n * @param {string} conditions.track - track's name.\n * @param {string} conditions.album - album's name.\n * @param {string} conditions.artist - artist's name.\n * @param {string} conditions.playlist - playlist's title.\n * @param {string} conditions.available_territory - tracks and albums available territory.\n * @return {Search}\n * @example api.searchFetcher.setSearchCriteria('五月天 好好').filter({artist: '五月天'}).fetchSearchResult()\n ", - "start": 569, - "end": 1149, + "value": "*\n * Filter what you don't want when search.\n *\n * @param {Object} [conditions] - search conditions.\n * @param {string} conditions.track - track's name.\n * @param {string} conditions.album - album's name.\n * @param {string} conditions.artist - artist's name.\n * @param {string} conditions.playlist - playlist's title.\n * @param {string} conditions.availableTerritory - tracks and albums available territory.\n * @return {Search}\n * @example\n * api.searchFetcher\n * .setSearchCriteria('五月天 好好')\n * .filter({artist: '五月天'})\n * .fetchSearchResult();\n ", + "start": 504, + "end": 1088, "loc": { "start": { "line": 31, - "column": 4 + "column": 2 }, "end": { - "line": 42, - "column": 7 + "line": 46, + "column": 5 } } }, @@ -11925,16 +11604,16 @@ "binop": null }, "value": "filter", - "start": 1154, - "end": 1160, + "start": 1091, + "end": 1097, "loc": { "start": { - "line": 43, - "column": 4 + "line": 47, + "column": 2 }, "end": { - "line": 43, - "column": 10 + "line": 47, + "column": 8 } } }, @@ -11950,16 +11629,16 @@ "postfix": false, "binop": null }, - "start": 1160, - "end": 1161, + "start": 1097, + "end": 1098, "loc": { "start": { - "line": 43, - "column": 10 + "line": 47, + "column": 8 }, "end": { - "line": 43, - "column": 11 + "line": 47, + "column": 9 } } }, @@ -11976,16 +11655,16 @@ "binop": null }, "value": "conditions", - "start": 1161, - "end": 1171, + "start": 1098, + "end": 1108, "loc": { "start": { - "line": 43, - "column": 11 + "line": 47, + "column": 9 }, "end": { - "line": 43, - "column": 21 + "line": 47, + "column": 19 } } }, @@ -12003,16 +11682,16 @@ "updateContext": null }, "value": "=", - "start": 1172, - "end": 1173, + "start": 1109, + "end": 1110, "loc": { "start": { - "line": 43, - "column": 22 + "line": 47, + "column": 20 }, "end": { - "line": 43, - "column": 23 + "line": 47, + "column": 21 } } }, @@ -12028,24 +11707,24 @@ "postfix": false, "binop": null }, - "start": 1174, - "end": 1175, + "start": 1111, + "end": 1112, "loc": { "start": { - "line": 43, - "column": 24 + "line": 47, + "column": 22 }, "end": { - "line": 43, - "column": 25 + "line": 47, + "column": 23 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12053,51 +11732,48 @@ "postfix": false, "binop": null }, - "value": "track", - "start": 1184, - "end": 1189, + "start": 1112, + "end": 1113, "loc": { "start": { - "line": 44, - "column": 8 + "line": 47, + "column": 23 }, "end": { - "line": 44, - "column": 13 + "line": 47, + "column": 24 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1190, - "end": 1191, + "start": 1113, + "end": 1114, "loc": { "start": { - "line": 44, - "column": 14 + "line": 47, + "column": 24 }, "end": { - "line": 44, - "column": 15 + "line": 47, + "column": 25 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -12106,25 +11782,25 @@ "postfix": false, "binop": null }, - "value": "undefined", - "start": 1192, - "end": 1201, + "start": 1115, + "end": 1116, "loc": { "start": { - "line": 44, - "column": 16 + "line": 47, + "column": 26 }, "end": { - "line": 44, - "column": 25 + "line": 47, + "column": 27 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12133,357 +11809,69 @@ "binop": null, "updateContext": null }, - "start": 1201, - "end": 1202, + "value": "this", + "start": 1121, + "end": 1125, "loc": { "start": { - "line": 44, - "column": 25 + "line": 48, + "column": 4 }, "end": { - "line": 44, - "column": 26 + "line": 48, + "column": 8 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "album", - "start": 1211, - "end": 1216, + "start": 1125, + "end": 1126, "loc": { "start": { - "line": 45, + "line": 48, "column": 8 }, "end": { - "line": 45, - "column": 13 + "line": 48, + "column": 9 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1217, - "end": 1218, - "loc": { - "start": { - "line": 45, - "column": 14 - }, - "end": { - "line": 45, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "undefined", - "start": 1219, - "end": 1228, - "loc": { - "start": { - "line": 45, - "column": 16 - }, - "end": { - "line": 45, - "column": 25 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1228, - "end": 1229, - "loc": { - "start": { - "line": 45, - "column": 25 - }, - "end": { - "line": 45, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "artist", - "start": 1238, - "end": 1244, - "loc": { - "start": { - "line": 46, - "column": 8 - }, - "end": { - "line": 46, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1245, - "end": 1246, - "loc": { - "start": { - "line": 46, - "column": 15 - }, - "end": { - "line": 46, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "undefined", - "start": 1247, - "end": 1256, - "loc": { - "start": { - "line": 46, - "column": 17 - }, - "end": { - "line": 46, - "column": 26 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1256, - "end": 1257, - "loc": { - "start": { - "line": 46, - "column": 26 - }, - "end": { - "line": 46, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "playlist", - "start": 1266, - "end": 1274, - "loc": { - "start": { - "line": 47, - "column": 8 - }, - "end": { - "line": 47, - "column": 16 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1275, - "end": 1276, - "loc": { - "start": { - "line": 47, - "column": 17 - }, - "end": { - "line": 47, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "undefined", - "start": 1277, - "end": 1286, - "loc": { - "start": { - "line": 47, - "column": 19 - }, - "end": { - "line": 47, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1286, - "end": 1287, - "loc": { - "start": { - "line": 47, - "column": 28 - }, - "end": { - "line": 47, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "available_territory", - "start": 1296, - "end": 1315, + "value": "filterConditions", + "start": 1126, + "end": 1142, "loc": { "start": { "line": 48, - "column": 8 + "column": 9 }, "end": { "line": 48, - "column": 27 + "column": 25 } } }, @@ -12501,16 +11889,16 @@ "updateContext": null }, "value": "=", - "start": 1316, - "end": 1317, + "start": 1143, + "end": 1144, "loc": { "start": { "line": 48, - "column": 28 + "column": 26 }, "end": { "line": 48, - "column": 29 + "column": 27 } } }, @@ -12526,204 +11914,24 @@ "postfix": false, "binop": null }, - "value": "undefined", - "start": 1318, - "end": 1327, + "value": "conditions", + "start": 1145, + "end": 1155, "loc": { "start": { "line": 48, - "column": 30 + "column": 28 }, "end": { "line": 48, - "column": 39 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1332, - "end": 1333, - "loc": { - "start": { - "line": 49, - "column": 4 - }, - "end": { - "line": 49, - "column": 5 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1334, - "end": 1335, - "loc": { - "start": { - "line": 49, - "column": 6 - }, - "end": { - "line": 49, - "column": 7 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1336, - "end": 1337, - "loc": { - "start": { - "line": 49, - "column": 8 - }, - "end": { - "line": 49, - "column": 9 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1337, - "end": 1338, - "loc": { - "start": { - "line": 49, - "column": 9 - }, - "end": { - "line": 49, - "column": 10 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1338, - "end": 1339, - "loc": { - "start": { - "line": 49, - "column": 10 - }, - "end": { - "line": 49, - "column": 11 + "column": 38 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1340, - "end": 1341, - "loc": { - "start": { - "line": 49, - "column": 12 - }, - "end": { - "line": 49, - "column": 13 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 1350, - "end": 1354, - "loc": { - "start": { - "line": 50, - "column": 8 - }, - "end": { - "line": 50, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -12733,95 +11941,16 @@ "binop": null, "updateContext": null }, - "start": 1354, - "end": 1355, - "loc": { - "start": { - "line": 50, - "column": 12 - }, - "end": { - "line": 50, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "filterConditions", - "start": 1355, - "end": 1371, - "loc": { - "start": { - "line": 50, - "column": 13 - }, - "end": { - "line": 50, - "column": 29 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1372, - "end": 1373, - "loc": { - "start": { - "line": 50, - "column": 30 - }, - "end": { - "line": 50, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "conditions", - "start": 1374, - "end": 1384, + "start": 1155, + "end": 1156, "loc": { "start": { - "line": 50, - "column": 32 + "line": 48, + "column": 38 }, "end": { - "line": 50, - "column": 42 + "line": 48, + "column": 39 } } }, @@ -12840,16 +11969,16 @@ "updateContext": null }, "value": "return", - "start": 1393, - "end": 1399, + "start": 1161, + "end": 1167, "loc": { "start": { - "line": 51, - "column": 8 + "line": 49, + "column": 4 }, "end": { - "line": 51, - "column": 14 + "line": 49, + "column": 10 } } }, @@ -12868,16 +11997,42 @@ "updateContext": null }, "value": "this", - "start": 1400, - "end": 1404, + "start": 1168, + "end": 1172, + "loc": { + "start": { + "line": 49, + "column": 11 + }, + "end": { + "line": 49, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1172, + "end": 1173, "loc": { "start": { - "line": 51, + "line": 49, "column": 15 }, "end": { - "line": 51, - "column": 19 + "line": 49, + "column": 16 } } }, @@ -12893,32 +12048,32 @@ "postfix": false, "binop": null }, - "start": 1409, - "end": 1410, + "start": 1176, + "end": 1177, "loc": { "start": { - "line": 52, - "column": 4 + "line": 50, + "column": 2 }, "end": { - "line": 52, - "column": 5 + "line": 50, + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Init the search fetcher for the artist, album, track or playlist.\n *\n * @param {string} q - The keyword to be searched.\n * @param {string} [type] - ['artist', 'album', 'track', 'playlist'] The type of search. Default to search all types. If you want to use multiple type at the same time, you may use ',' to separate them.\n * @return {Search}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/search\n ", - "start": 1416, - "end": 1864, + "value": "*\n * Init the search fetcher for the artist, album, track or playlist.\n *\n * @param {string} q - The keyword to be searched.\n * @param {string} [type] - ['artist', 'album', 'track', 'playlist'] The type of search. Default to search all types. If you want to use multiple type at the same time, you may use ',' to separate them.\n * @return {Search}\n * @see https://docs-en.kkbox.codes/v1.1/reference#search_1\n ", + "start": 1181, + "end": 1608, "loc": { "start": { - "line": 54, - "column": 4 + "line": 52, + "column": 2 }, "end": { - "line": 61, - "column": 7 + "line": 59, + "column": 5 } } }, @@ -12935,16 +12090,16 @@ "binop": null }, "value": "setSearchCriteria", - "start": 1869, - "end": 1886, + "start": 1611, + "end": 1628, "loc": { "start": { - "line": 62, - "column": 4 + "line": 60, + "column": 2 }, "end": { - "line": 62, - "column": 21 + "line": 60, + "column": 19 } } }, @@ -12960,16 +12115,16 @@ "postfix": false, "binop": null }, - "start": 1886, - "end": 1887, + "start": 1628, + "end": 1629, "loc": { "start": { - "line": 62, - "column": 21 + "line": 60, + "column": 19 }, "end": { - "line": 62, - "column": 22 + "line": 60, + "column": 20 } } }, @@ -12986,16 +12141,16 @@ "binop": null }, "value": "q", - "start": 1887, - "end": 1888, + "start": 1629, + "end": 1630, "loc": { "start": { - "line": 62, - "column": 22 + "line": 60, + "column": 20 }, "end": { - "line": 62, - "column": 23 + "line": 60, + "column": 21 } } }, @@ -13012,16 +12167,16 @@ "binop": null, "updateContext": null }, - "start": 1888, - "end": 1889, + "start": 1630, + "end": 1631, "loc": { "start": { - "line": 62, - "column": 23 + "line": 60, + "column": 21 }, "end": { - "line": 62, - "column": 24 + "line": 60, + "column": 22 } } }, @@ -13038,16 +12193,16 @@ "binop": null }, "value": "type", - "start": 1890, - "end": 1894, + "start": 1632, + "end": 1636, "loc": { "start": { - "line": 62, - "column": 25 + "line": 60, + "column": 23 }, "end": { - "line": 62, - "column": 29 + "line": 60, + "column": 27 } } }, @@ -13065,16 +12220,16 @@ "updateContext": null }, "value": "=", - "start": 1895, - "end": 1896, + "start": 1637, + "end": 1638, "loc": { "start": { - "line": 62, - "column": 30 + "line": 60, + "column": 28 }, "end": { - "line": 62, - "column": 31 + "line": 60, + "column": 29 } } }, @@ -13091,16 +12246,16 @@ "binop": null }, "value": "undefined", - "start": 1897, - "end": 1906, + "start": 1639, + "end": 1648, "loc": { "start": { - "line": 62, - "column": 32 + "line": 60, + "column": 30 }, "end": { - "line": 62, - "column": 41 + "line": 60, + "column": 39 } } }, @@ -13116,16 +12271,16 @@ "postfix": false, "binop": null }, - "start": 1906, - "end": 1907, + "start": 1648, + "end": 1649, "loc": { "start": { - "line": 62, - "column": 41 + "line": 60, + "column": 39 }, "end": { - "line": 62, - "column": 42 + "line": 60, + "column": 40 } } }, @@ -13141,16 +12296,16 @@ "postfix": false, "binop": null }, - "start": 1908, - "end": 1909, + "start": 1650, + "end": 1651, "loc": { "start": { - "line": 62, - "column": 43 + "line": 60, + "column": 41 }, "end": { - "line": 62, - "column": 44 + "line": 60, + "column": 42 } } }, @@ -13169,16 +12324,16 @@ "updateContext": null }, "value": "this", - "start": 1918, - "end": 1922, + "start": 1656, + "end": 1660, "loc": { "start": { - "line": 63, - "column": 8 + "line": 61, + "column": 4 }, "end": { - "line": 63, - "column": 12 + "line": 61, + "column": 8 } } }, @@ -13195,16 +12350,16 @@ "binop": null, "updateContext": null }, - "start": 1922, - "end": 1923, + "start": 1660, + "end": 1661, "loc": { "start": { - "line": 63, - "column": 12 + "line": 61, + "column": 8 }, "end": { - "line": 63, - "column": 13 + "line": 61, + "column": 9 } } }, @@ -13221,16 +12376,16 @@ "binop": null }, "value": "q", - "start": 1923, - "end": 1924, + "start": 1661, + "end": 1662, "loc": { "start": { - "line": 63, - "column": 13 + "line": 61, + "column": 9 }, "end": { - "line": 63, - "column": 14 + "line": 61, + "column": 10 } } }, @@ -13248,16 +12403,16 @@ "updateContext": null }, "value": "=", - "start": 1925, - "end": 1926, + "start": 1663, + "end": 1664, "loc": { "start": { - "line": 63, - "column": 15 + "line": 61, + "column": 11 }, "end": { - "line": 63, - "column": 16 + "line": 61, + "column": 12 } } }, @@ -13274,16 +12429,42 @@ "binop": null }, "value": "q", - "start": 1927, - "end": 1928, + "start": 1665, + "end": 1666, "loc": { "start": { - "line": 63, - "column": 17 + "line": 61, + "column": 13 }, "end": { - "line": 63, - "column": 18 + "line": 61, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1666, + "end": 1667, + "loc": { + "start": { + "line": 61, + "column": 14 + }, + "end": { + "line": 61, + "column": 15 } } }, @@ -13302,16 +12483,16 @@ "updateContext": null }, "value": "this", - "start": 1937, - "end": 1941, + "start": 1672, + "end": 1676, "loc": { "start": { - "line": 64, - "column": 8 + "line": 62, + "column": 4 }, "end": { - "line": 64, - "column": 12 + "line": 62, + "column": 8 } } }, @@ -13328,16 +12509,16 @@ "binop": null, "updateContext": null }, - "start": 1941, - "end": 1942, + "start": 1676, + "end": 1677, "loc": { "start": { - "line": 64, - "column": 12 + "line": 62, + "column": 8 }, "end": { - "line": 64, - "column": 13 + "line": 62, + "column": 9 } } }, @@ -13354,16 +12535,16 @@ "binop": null }, "value": "type", - "start": 1942, - "end": 1946, + "start": 1677, + "end": 1681, "loc": { "start": { - "line": 64, - "column": 13 + "line": 62, + "column": 9 }, "end": { - "line": 64, - "column": 17 + "line": 62, + "column": 13 } } }, @@ -13381,16 +12562,16 @@ "updateContext": null }, "value": "=", - "start": 1947, - "end": 1948, + "start": 1682, + "end": 1683, "loc": { "start": { - "line": 64, - "column": 18 + "line": 62, + "column": 14 }, "end": { - "line": 64, - "column": 19 + "line": 62, + "column": 15 } } }, @@ -13407,16 +12588,42 @@ "binop": null }, "value": "type", - "start": 1949, - "end": 1953, + "start": 1684, + "end": 1688, "loc": { "start": { - "line": 64, + "line": 62, + "column": 16 + }, + "end": { + "line": 62, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1688, + "end": 1689, + "loc": { + "start": { + "line": 62, "column": 20 }, "end": { - "line": 64, - "column": 24 + "line": 62, + "column": 21 } } }, @@ -13434,26 +12641,53 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 1970, - "end": 1976, + "value": "return", + "start": 1694, + "end": 1700, + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 63, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1701, + "end": 1705, "loc": { "start": { - "line": 65, - "column": 8 + "line": 63, + "column": 11 }, "end": { - "line": 65, - "column": 14 + "line": 63, + "column": 15 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13462,17 +12696,16 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 1977, - "end": 1981, + "start": 1705, + "end": 1706, "loc": { "start": { - "line": 65, + "line": 63, "column": 15 }, "end": { - "line": 65, - "column": 19 + "line": 63, + "column": 16 } } }, @@ -13488,32 +12721,32 @@ "postfix": false, "binop": null }, - "start": 1986, - "end": 1987, + "start": 1709, + "end": 1710, "loc": { "start": { - "line": 66, - "column": 4 + "line": 64, + "column": 2 }, "end": { - "line": 66, - "column": 5 + "line": 64, + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch the search result.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.searchFetcher.setSearchCriteria('五月天 好好').fetchSearchResult()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/search/endpoints/get-search\n ", - "start": 1993, - "end": 2367, + "value": "*\n * Fetch the search result.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example\n * api.searchFetcher\n * .setSearchCriteria('五月天 好好')\n * .fetchSearchResult();\n * @see https://docs-en.kkbox.codes/v1.1/reference#search_1\n ", + "start": 1714, + "end": 2064, "loc": { "start": { - "line": 68, - "column": 4 + "line": 66, + "column": 2 }, "end": { - "line": 76, - "column": 7 + "line": 77, + "column": 5 } } }, @@ -13530,16 +12763,16 @@ "binop": null }, "value": "fetchSearchResult", - "start": 2372, - "end": 2389, + "start": 2067, + "end": 2084, "loc": { "start": { - "line": 77, - "column": 4 + "line": 78, + "column": 2 }, "end": { - "line": 77, - "column": 21 + "line": 78, + "column": 19 } } }, @@ -13555,16 +12788,16 @@ "postfix": false, "binop": null }, - "start": 2389, - "end": 2390, + "start": 2084, + "end": 2085, "loc": { "start": { - "line": 77, - "column": 21 + "line": 78, + "column": 19 }, "end": { - "line": 77, - "column": 22 + "line": 78, + "column": 20 } } }, @@ -13581,16 +12814,16 @@ "binop": null }, "value": "limit", - "start": 2390, - "end": 2395, + "start": 2085, + "end": 2090, "loc": { "start": { - "line": 77, - "column": 22 + "line": 78, + "column": 20 }, "end": { - "line": 77, - "column": 27 + "line": 78, + "column": 25 } } }, @@ -13608,16 +12841,16 @@ "updateContext": null }, "value": "=", - "start": 2396, - "end": 2397, + "start": 2091, + "end": 2092, "loc": { "start": { - "line": 77, - "column": 28 + "line": 78, + "column": 26 }, "end": { - "line": 77, - "column": 29 + "line": 78, + "column": 27 } } }, @@ -13634,16 +12867,16 @@ "binop": null }, "value": "undefined", - "start": 2398, - "end": 2407, + "start": 2093, + "end": 2102, "loc": { "start": { - "line": 77, - "column": 30 + "line": 78, + "column": 28 }, "end": { - "line": 77, - "column": 39 + "line": 78, + "column": 37 } } }, @@ -13660,16 +12893,16 @@ "binop": null, "updateContext": null }, - "start": 2407, - "end": 2408, + "start": 2102, + "end": 2103, "loc": { "start": { - "line": 77, - "column": 39 + "line": 78, + "column": 37 }, "end": { - "line": 77, - "column": 40 + "line": 78, + "column": 38 } } }, @@ -13686,16 +12919,16 @@ "binop": null }, "value": "offset", - "start": 2409, - "end": 2415, + "start": 2104, + "end": 2110, "loc": { "start": { - "line": 77, - "column": 41 + "line": 78, + "column": 39 }, "end": { - "line": 77, - "column": 47 + "line": 78, + "column": 45 } } }, @@ -13713,16 +12946,16 @@ "updateContext": null }, "value": "=", - "start": 2416, - "end": 2417, + "start": 2111, + "end": 2112, "loc": { "start": { - "line": 77, - "column": 48 + "line": 78, + "column": 46 }, "end": { - "line": 77, - "column": 49 + "line": 78, + "column": 47 } } }, @@ -13739,16 +12972,16 @@ "binop": null }, "value": "undefined", - "start": 2418, - "end": 2427, + "start": 2113, + "end": 2122, "loc": { "start": { - "line": 77, - "column": 50 + "line": 78, + "column": 48 }, "end": { - "line": 77, - "column": 59 + "line": 78, + "column": 57 } } }, @@ -13764,16 +12997,16 @@ "postfix": false, "binop": null }, - "start": 2427, - "end": 2428, + "start": 2122, + "end": 2123, "loc": { "start": { - "line": 77, - "column": 59 + "line": 78, + "column": 57 }, "end": { - "line": 77, - "column": 60 + "line": 78, + "column": 58 } } }, @@ -13789,16 +13022,16 @@ "postfix": false, "binop": null }, - "start": 2429, - "end": 2430, + "start": 2124, + "end": 2125, "loc": { "start": { - "line": 77, - "column": 61 + "line": 78, + "column": 59 }, "end": { - "line": 77, - "column": 62 + "line": 78, + "column": 60 } } }, @@ -13817,16 +13050,16 @@ "updateContext": null }, "value": "return", - "start": 2439, - "end": 2445, + "start": 2130, + "end": 2136, "loc": { "start": { - "line": 78, - "column": 8 + "line": 79, + "column": 4 }, "end": { - "line": 78, - "column": 14 + "line": 79, + "column": 10 } } }, @@ -13845,16 +13078,16 @@ "updateContext": null }, "value": "this", - "start": 2446, - "end": 2450, + "start": 2137, + "end": 2141, "loc": { "start": { - "line": 78, - "column": 15 + "line": 79, + "column": 11 }, "end": { - "line": 78, - "column": 19 + "line": 79, + "column": 15 } } }, @@ -13871,16 +13104,16 @@ "binop": null, "updateContext": null }, - "start": 2450, - "end": 2451, + "start": 2141, + "end": 2142, "loc": { "start": { - "line": 78, - "column": 19 + "line": 79, + "column": 15 }, "end": { - "line": 78, - "column": 20 + "line": 79, + "column": 16 } } }, @@ -13897,16 +13130,16 @@ "binop": null }, "value": "http", - "start": 2451, - "end": 2455, + "start": 2142, + "end": 2146, "loc": { "start": { - "line": 78, - "column": 20 + "line": 79, + "column": 16 }, "end": { - "line": 78, - "column": 24 + "line": 79, + "column": 20 } } }, @@ -13923,16 +13156,16 @@ "binop": null, "updateContext": null }, - "start": 2455, - "end": 2456, + "start": 2153, + "end": 2154, "loc": { "start": { - "line": 78, - "column": 24 + "line": 80, + "column": 6 }, "end": { - "line": 78, - "column": 25 + "line": 80, + "column": 7 } } }, @@ -13949,16 +13182,16 @@ "binop": null }, "value": "get", - "start": 2456, - "end": 2459, + "start": 2154, + "end": 2157, "loc": { "start": { - "line": 78, - "column": 25 + "line": 80, + "column": 7 }, "end": { - "line": 78, - "column": 28 + "line": 80, + "column": 10 } } }, @@ -13974,16 +13207,16 @@ "postfix": false, "binop": null }, - "start": 2459, - "end": 2460, + "start": 2157, + "end": 2158, "loc": { "start": { - "line": 78, - "column": 28 + "line": 80, + "column": 10 }, "end": { - "line": 78, - "column": 29 + "line": 80, + "column": 11 } } }, @@ -14000,16 +13233,16 @@ "binop": null }, "value": "ENDPOINT", - "start": 2460, - "end": 2468, + "start": 2158, + "end": 2166, "loc": { "start": { - "line": 78, - "column": 29 + "line": 80, + "column": 11 }, "end": { - "line": 78, - "column": 37 + "line": 80, + "column": 19 } } }, @@ -14026,16 +13259,16 @@ "binop": null, "updateContext": null }, - "start": 2468, - "end": 2469, + "start": 2166, + "end": 2167, "loc": { "start": { - "line": 78, - "column": 37 + "line": 80, + "column": 19 }, "end": { - "line": 78, - "column": 38 + "line": 80, + "column": 20 } } }, @@ -14051,16 +13284,16 @@ "postfix": false, "binop": null }, - "start": 2470, - "end": 2471, + "start": 2168, + "end": 2169, "loc": { "start": { - "line": 78, - "column": 39 + "line": 80, + "column": 21 }, "end": { - "line": 78, - "column": 40 + "line": 80, + "column": 22 } } }, @@ -14077,16 +13310,16 @@ "binop": null }, "value": "q", - "start": 2484, - "end": 2485, + "start": 2178, + "end": 2179, "loc": { "start": { - "line": 79, - "column": 12 + "line": 81, + "column": 8 }, "end": { - "line": 79, - "column": 13 + "line": 81, + "column": 9 } } }, @@ -14103,16 +13336,16 @@ "binop": null, "updateContext": null }, - "start": 2485, - "end": 2486, + "start": 2179, + "end": 2180, "loc": { "start": { - "line": 79, - "column": 13 + "line": 81, + "column": 9 }, "end": { - "line": 79, - "column": 14 + "line": 81, + "column": 10 } } }, @@ -14131,16 +13364,16 @@ "updateContext": null }, "value": "this", - "start": 2487, - "end": 2491, + "start": 2181, + "end": 2185, "loc": { "start": { - "line": 79, - "column": 15 + "line": 81, + "column": 11 }, "end": { - "line": 79, - "column": 19 + "line": 81, + "column": 15 } } }, @@ -14157,16 +13390,16 @@ "binop": null, "updateContext": null }, - "start": 2491, - "end": 2492, + "start": 2185, + "end": 2186, "loc": { "start": { - "line": 79, - "column": 19 + "line": 81, + "column": 15 }, "end": { - "line": 79, - "column": 20 + "line": 81, + "column": 16 } } }, @@ -14183,16 +13416,16 @@ "binop": null }, "value": "q", - "start": 2492, - "end": 2493, + "start": 2186, + "end": 2187, "loc": { "start": { - "line": 79, - "column": 20 + "line": 81, + "column": 16 }, "end": { - "line": 79, - "column": 21 + "line": 81, + "column": 17 } } }, @@ -14209,16 +13442,16 @@ "binop": null, "updateContext": null }, - "start": 2493, - "end": 2494, + "start": 2187, + "end": 2188, "loc": { "start": { - "line": 79, - "column": 21 + "line": 81, + "column": 17 }, "end": { - "line": 79, - "column": 22 + "line": 81, + "column": 18 } } }, @@ -14235,16 +13468,16 @@ "binop": null }, "value": "type", - "start": 2507, - "end": 2511, + "start": 2197, + "end": 2201, "loc": { "start": { - "line": 80, - "column": 12 + "line": 82, + "column": 8 }, "end": { - "line": 80, - "column": 16 + "line": 82, + "column": 12 } } }, @@ -14261,16 +13494,16 @@ "binop": null, "updateContext": null }, - "start": 2511, - "end": 2512, + "start": 2201, + "end": 2202, "loc": { "start": { - "line": 80, - "column": 16 + "line": 82, + "column": 12 }, "end": { - "line": 80, - "column": 17 + "line": 82, + "column": 13 } } }, @@ -14289,16 +13522,16 @@ "updateContext": null }, "value": "this", - "start": 2513, - "end": 2517, + "start": 2203, + "end": 2207, "loc": { "start": { - "line": 80, - "column": 18 + "line": 82, + "column": 14 }, "end": { - "line": 80, - "column": 22 + "line": 82, + "column": 18 } } }, @@ -14315,16 +13548,16 @@ "binop": null, "updateContext": null }, - "start": 2517, - "end": 2518, + "start": 2207, + "end": 2208, "loc": { "start": { - "line": 80, - "column": 22 + "line": 82, + "column": 18 }, "end": { - "line": 80, - "column": 23 + "line": 82, + "column": 19 } } }, @@ -14341,16 +13574,16 @@ "binop": null }, "value": "type", - "start": 2518, - "end": 2522, + "start": 2208, + "end": 2212, "loc": { "start": { - "line": 80, - "column": 23 + "line": 82, + "column": 19 }, "end": { - "line": 80, - "column": 27 + "line": 82, + "column": 23 } } }, @@ -14367,16 +13600,16 @@ "binop": null, "updateContext": null }, - "start": 2522, - "end": 2523, + "start": 2212, + "end": 2213, "loc": { "start": { - "line": 80, - "column": 27 + "line": 82, + "column": 23 }, "end": { - "line": 80, - "column": 28 + "line": 82, + "column": 24 } } }, @@ -14393,16 +13626,16 @@ "binop": null }, "value": "territory", - "start": 2536, - "end": 2545, + "start": 2222, + "end": 2231, "loc": { "start": { - "line": 81, - "column": 12 + "line": 83, + "column": 8 }, "end": { - "line": 81, - "column": 21 + "line": 83, + "column": 17 } } }, @@ -14419,16 +13652,16 @@ "binop": null, "updateContext": null }, - "start": 2545, - "end": 2546, + "start": 2231, + "end": 2232, "loc": { "start": { - "line": 81, - "column": 21 + "line": 83, + "column": 17 }, "end": { - "line": 81, - "column": 22 + "line": 83, + "column": 18 } } }, @@ -14447,16 +13680,16 @@ "updateContext": null }, "value": "this", - "start": 2547, - "end": 2551, + "start": 2233, + "end": 2237, "loc": { "start": { - "line": 81, - "column": 23 + "line": 83, + "column": 19 }, "end": { - "line": 81, - "column": 27 + "line": 83, + "column": 23 } } }, @@ -14473,16 +13706,16 @@ "binop": null, "updateContext": null }, - "start": 2551, - "end": 2552, + "start": 2237, + "end": 2238, "loc": { "start": { - "line": 81, - "column": 27 + "line": 83, + "column": 23 }, "end": { - "line": 81, - "column": 28 + "line": 83, + "column": 24 } } }, @@ -14499,16 +13732,16 @@ "binop": null }, "value": "territory", - "start": 2552, - "end": 2561, + "start": 2238, + "end": 2247, "loc": { "start": { - "line": 81, - "column": 28 + "line": 83, + "column": 24 }, "end": { - "line": 81, - "column": 37 + "line": 83, + "column": 33 } } }, @@ -14525,16 +13758,16 @@ "binop": null, "updateContext": null }, - "start": 2561, - "end": 2562, + "start": 2247, + "end": 2248, "loc": { "start": { - "line": 81, - "column": 37 + "line": 83, + "column": 33 }, "end": { - "line": 81, - "column": 38 + "line": 83, + "column": 34 } } }, @@ -14551,16 +13784,16 @@ "binop": null }, "value": "limit", - "start": 2575, - "end": 2580, + "start": 2257, + "end": 2262, "loc": { "start": { - "line": 82, - "column": 12 + "line": 84, + "column": 8 }, "end": { - "line": 82, - "column": 17 + "line": 84, + "column": 13 } } }, @@ -14577,16 +13810,16 @@ "binop": null, "updateContext": null }, - "start": 2580, - "end": 2581, + "start": 2262, + "end": 2263, "loc": { "start": { - "line": 82, - "column": 17 + "line": 84, + "column": 13 }, "end": { - "line": 82, - "column": 18 + "line": 84, + "column": 14 } } }, @@ -14603,16 +13836,16 @@ "binop": null }, "value": "limit", - "start": 2582, - "end": 2587, + "start": 2264, + "end": 2269, "loc": { "start": { - "line": 82, - "column": 19 + "line": 84, + "column": 15 }, "end": { - "line": 82, - "column": 24 + "line": 84, + "column": 20 } } }, @@ -14629,16 +13862,16 @@ "binop": null, "updateContext": null }, - "start": 2587, - "end": 2588, + "start": 2269, + "end": 2270, "loc": { "start": { - "line": 82, - "column": 24 + "line": 84, + "column": 20 }, "end": { - "line": 82, - "column": 25 + "line": 84, + "column": 21 } } }, @@ -14655,16 +13888,16 @@ "binop": null }, "value": "offset", - "start": 2601, - "end": 2607, + "start": 2279, + "end": 2285, "loc": { "start": { - "line": 83, - "column": 12 + "line": 85, + "column": 8 }, "end": { - "line": 83, - "column": 18 + "line": 85, + "column": 14 } } }, @@ -14681,16 +13914,16 @@ "binop": null, "updateContext": null }, - "start": 2607, - "end": 2608, + "start": 2285, + "end": 2286, "loc": { "start": { - "line": 83, - "column": 18 + "line": 85, + "column": 14 }, "end": { - "line": 83, - "column": 19 + "line": 85, + "column": 15 } } }, @@ -14707,16 +13940,16 @@ "binop": null }, "value": "offset", - "start": 2609, - "end": 2615, + "start": 2287, + "end": 2293, "loc": { "start": { - "line": 83, - "column": 20 + "line": 85, + "column": 16 }, "end": { - "line": 83, - "column": 26 + "line": 85, + "column": 22 } } }, @@ -14732,16 +13965,16 @@ "postfix": false, "binop": null }, - "start": 2636, - "end": 2637, + "start": 2300, + "end": 2301, "loc": { "start": { - "line": 84, - "column": 8 + "line": 86, + "column": 6 }, "end": { - "line": 84, - "column": 9 + "line": 86, + "column": 7 } } }, @@ -14757,16 +13990,16 @@ "postfix": false, "binop": null }, - "start": 2637, - "end": 2638, + "start": 2301, + "end": 2302, "loc": { "start": { - "line": 84, - "column": 9 + "line": 86, + "column": 7 }, "end": { - "line": 84, - "column": 10 + "line": 86, + "column": 8 } } }, @@ -14783,16 +14016,16 @@ "binop": null, "updateContext": null }, - "start": 2638, - "end": 2639, + "start": 2309, + "end": 2310, "loc": { "start": { - "line": 84, - "column": 10 + "line": 87, + "column": 6 }, "end": { - "line": 84, - "column": 11 + "line": 87, + "column": 7 } } }, @@ -14809,16 +14042,16 @@ "binop": null }, "value": "then", - "start": 2639, - "end": 2643, + "start": 2310, + "end": 2314, "loc": { "start": { - "line": 84, - "column": 11 + "line": 87, + "column": 7 }, "end": { - "line": 84, - "column": 15 + "line": 87, + "column": 11 } } }, @@ -14834,16 +14067,16 @@ "postfix": false, "binop": null }, - "start": 2643, - "end": 2644, + "start": 2314, + "end": 2315, "loc": { "start": { - "line": 84, - "column": 15 + "line": 87, + "column": 11 }, "end": { - "line": 84, - "column": 16 + "line": 87, + "column": 12 } } }, @@ -14860,16 +14093,16 @@ "binop": null }, "value": "doFilter", - "start": 2644, - "end": 2652, + "start": 2315, + "end": 2323, "loc": { "start": { - "line": 84, - "column": 16 + "line": 87, + "column": 12 }, "end": { - "line": 84, - "column": 24 + "line": 87, + "column": 20 } } }, @@ -14886,16 +14119,16 @@ "binop": null, "updateContext": null }, - "start": 2652, - "end": 2653, + "start": 2323, + "end": 2324, "loc": { "start": { - "line": 84, - "column": 24 + "line": 87, + "column": 20 }, "end": { - "line": 84, - "column": 25 + "line": 87, + "column": 21 } } }, @@ -14912,16 +14145,16 @@ "binop": null }, "value": "bind", - "start": 2653, - "end": 2657, + "start": 2324, + "end": 2328, "loc": { "start": { - "line": 84, - "column": 25 + "line": 87, + "column": 21 }, "end": { - "line": 84, - "column": 29 + "line": 87, + "column": 25 } } }, @@ -14937,16 +14170,16 @@ "postfix": false, "binop": null }, - "start": 2657, - "end": 2658, + "start": 2328, + "end": 2329, "loc": { "start": { - "line": 84, - "column": 29 + "line": 87, + "column": 25 }, "end": { - "line": 84, - "column": 30 + "line": 87, + "column": 26 } } }, @@ -14965,16 +14198,41 @@ "updateContext": null }, "value": "this", - "start": 2658, - "end": 2662, + "start": 2329, + "end": 2333, "loc": { "start": { - "line": 84, + "line": 87, + "column": 26 + }, + "end": { + "line": 87, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2333, + "end": 2334, + "loc": { + "start": { + "line": 87, "column": 30 }, "end": { - "line": 84, - "column": 34 + "line": 87, + "column": 31 } } }, @@ -14990,41 +14248,42 @@ "postfix": false, "binop": null }, - "start": 2662, - "end": 2663, + "start": 2334, + "end": 2335, "loc": { "start": { - "line": 84, - "column": 34 + "line": 87, + "column": 31 }, "end": { - "line": 84, - "column": 35 + "line": 87, + "column": 32 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2663, - "end": 2664, + "start": 2335, + "end": 2336, "loc": { "start": { - "line": 84, - "column": 35 + "line": 87, + "column": 32 }, "end": { - "line": 84, - "column": 36 + "line": 87, + "column": 33 } } }, @@ -15040,16 +14299,16 @@ "postfix": false, "binop": null }, - "start": 2669, - "end": 2670, + "start": 2339, + "end": 2340, "loc": { "start": { - "line": 85, - "column": 4 + "line": 88, + "column": 2 }, "end": { - "line": 85, - "column": 5 + "line": 88, + "column": 3 } } }, @@ -15065,15 +14324,15 @@ "postfix": false, "binop": null }, - "start": 2671, - "end": 2672, + "start": 2341, + "end": 2342, "loc": { "start": { - "line": 86, + "line": 89, "column": 0 }, "end": { - "line": 86, + "line": 89, "column": 1 } } @@ -15092,15 +14351,15 @@ "binop": null }, "value": "function", - "start": 2674, - "end": 2682, + "start": 2344, + "end": 2352, "loc": { "start": { - "line": 88, + "line": 91, "column": 0 }, "end": { - "line": 88, + "line": 91, "column": 8 } } @@ -15118,15 +14377,15 @@ "binop": null }, "value": "doFilter", - "start": 2683, - "end": 2691, + "start": 2353, + "end": 2361, "loc": { "start": { - "line": 88, + "line": 91, "column": 9 }, "end": { - "line": 88, + "line": 91, "column": 17 } } @@ -15143,15 +14402,15 @@ "postfix": false, "binop": null }, - "start": 2691, - "end": 2692, + "start": 2361, + "end": 2362, "loc": { "start": { - "line": 88, + "line": 91, "column": 17 }, "end": { - "line": 88, + "line": 91, "column": 18 } } @@ -15169,15 +14428,15 @@ "binop": null }, "value": "response", - "start": 2692, - "end": 2700, + "start": 2362, + "end": 2370, "loc": { "start": { - "line": 88, + "line": 91, "column": 18 }, "end": { - "line": 88, + "line": 91, "column": 26 } } @@ -15194,15 +14453,15 @@ "postfix": false, "binop": null }, - "start": 2700, - "end": 2701, + "start": 2370, + "end": 2371, "loc": { "start": { - "line": 88, + "line": 91, "column": 26 }, "end": { - "line": 88, + "line": 91, "column": 27 } } @@ -15219,15 +14478,15 @@ "postfix": false, "binop": null }, - "start": 2702, - "end": 2703, + "start": 2372, + "end": 2373, "loc": { "start": { - "line": 88, + "line": 91, "column": 28 }, "end": { - "line": 88, + "line": 91, "column": 29 } } @@ -15247,16 +14506,16 @@ "updateContext": null }, "value": "if", - "start": 2708, - "end": 2710, + "start": 2376, + "end": 2378, "loc": { "start": { - "line": 89, - "column": 4 + "line": 92, + "column": 2 }, "end": { - "line": 89, - "column": 6 + "line": 92, + "column": 4 } } }, @@ -15272,16 +14531,16 @@ "postfix": false, "binop": null }, - "start": 2711, - "end": 2712, + "start": 2379, + "end": 2380, "loc": { "start": { - "line": 89, - "column": 7 + "line": 92, + "column": 5 }, "end": { - "line": 89, - "column": 8 + "line": 92, + "column": 6 } } }, @@ -15300,16 +14559,16 @@ "updateContext": null }, "value": "this", - "start": 2712, - "end": 2716, + "start": 2380, + "end": 2384, "loc": { "start": { - "line": 89, - "column": 8 + "line": 92, + "column": 6 }, "end": { - "line": 89, - "column": 12 + "line": 92, + "column": 10 } } }, @@ -15326,16 +14585,16 @@ "binop": null, "updateContext": null }, - "start": 2716, - "end": 2717, + "start": 2384, + "end": 2385, "loc": { "start": { - "line": 89, - "column": 12 + "line": 92, + "column": 10 }, "end": { - "line": 89, - "column": 13 + "line": 92, + "column": 11 } } }, @@ -15352,16 +14611,16 @@ "binop": null }, "value": "filterConditions", - "start": 2717, - "end": 2733, + "start": 2385, + "end": 2401, "loc": { "start": { - "line": 89, - "column": 13 + "line": 92, + "column": 11 }, "end": { - "line": 89, - "column": 29 + "line": 92, + "column": 27 } } }, @@ -15379,16 +14638,16 @@ "updateContext": null }, "value": "!==", - "start": 2734, - "end": 2737, + "start": 2402, + "end": 2405, "loc": { "start": { - "line": 89, - "column": 30 + "line": 92, + "column": 28 }, "end": { - "line": 89, - "column": 33 + "line": 92, + "column": 31 } } }, @@ -15405,16 +14664,16 @@ "binop": null }, "value": "undefined", - "start": 2738, - "end": 2747, + "start": 2406, + "end": 2415, "loc": { "start": { - "line": 89, - "column": 34 + "line": 92, + "column": 32 }, "end": { - "line": 89, - "column": 43 + "line": 92, + "column": 41 } } }, @@ -15430,16 +14689,16 @@ "postfix": false, "binop": null }, - "start": 2747, - "end": 2748, + "start": 2415, + "end": 2416, "loc": { "start": { - "line": 89, - "column": 43 + "line": 92, + "column": 41 }, "end": { - "line": 89, - "column": 44 + "line": 92, + "column": 42 } } }, @@ -15455,16 +14714,16 @@ "postfix": false, "binop": null }, - "start": 2749, - "end": 2750, + "start": 2417, + "end": 2418, "loc": { "start": { - "line": 89, - "column": 45 + "line": 92, + "column": 43 }, "end": { - "line": 89, - "column": 46 + "line": 92, + "column": 44 } } }, @@ -15483,16 +14742,16 @@ "updateContext": null }, "value": "const", - "start": 2759, - "end": 2764, + "start": 2423, + "end": 2428, "loc": { "start": { - "line": 90, - "column": 8 + "line": 93, + "column": 4 }, "end": { - "line": 90, - "column": 13 + "line": 93, + "column": 9 } } }, @@ -15509,16 +14768,16 @@ "binop": null }, "value": "data", - "start": 2765, - "end": 2769, + "start": 2429, + "end": 2433, "loc": { "start": { - "line": 90, - "column": 14 + "line": 93, + "column": 10 }, "end": { - "line": 90, - "column": 18 + "line": 93, + "column": 14 } } }, @@ -15536,16 +14795,16 @@ "updateContext": null }, "value": "=", - "start": 2770, - "end": 2771, + "start": 2434, + "end": 2435, "loc": { "start": { - "line": 90, - "column": 19 + "line": 93, + "column": 15 }, "end": { - "line": 90, - "column": 20 + "line": 93, + "column": 16 } } }, @@ -15562,16 +14821,16 @@ "binop": null }, "value": "Object", - "start": 2772, - "end": 2778, + "start": 2436, + "end": 2442, "loc": { "start": { - "line": 90, - "column": 21 + "line": 93, + "column": 17 }, "end": { - "line": 90, - "column": 27 + "line": 93, + "column": 23 } } }, @@ -15588,16 +14847,16 @@ "binop": null, "updateContext": null }, - "start": 2778, - "end": 2779, + "start": 2442, + "end": 2443, "loc": { "start": { - "line": 90, - "column": 27 + "line": 93, + "column": 23 }, "end": { - "line": 90, - "column": 28 + "line": 93, + "column": 24 } } }, @@ -15614,16 +14873,16 @@ "binop": null }, "value": "keys", - "start": 2779, - "end": 2783, + "start": 2443, + "end": 2447, "loc": { "start": { - "line": 90, - "column": 28 + "line": 93, + "column": 24 }, "end": { - "line": 90, - "column": 32 + "line": 93, + "column": 28 } } }, @@ -15639,16 +14898,16 @@ "postfix": false, "binop": null }, - "start": 2783, - "end": 2784, + "start": 2447, + "end": 2448, "loc": { "start": { - "line": 90, - "column": 32 + "line": 93, + "column": 28 }, "end": { - "line": 90, - "column": 33 + "line": 93, + "column": 29 } } }, @@ -15665,16 +14924,16 @@ "binop": null }, "value": "response", - "start": 2784, - "end": 2792, + "start": 2448, + "end": 2456, "loc": { "start": { - "line": 90, - "column": 33 + "line": 93, + "column": 29 }, "end": { - "line": 90, - "column": 41 + "line": 93, + "column": 37 } } }, @@ -15691,16 +14950,16 @@ "binop": null, "updateContext": null }, - "start": 2792, - "end": 2793, + "start": 2456, + "end": 2457, "loc": { "start": { - "line": 90, - "column": 41 + "line": 93, + "column": 37 }, "end": { - "line": 90, - "column": 42 + "line": 93, + "column": 38 } } }, @@ -15717,16 +14976,16 @@ "binop": null }, "value": "data", - "start": 2793, - "end": 2797, + "start": 2457, + "end": 2461, "loc": { "start": { - "line": 90, - "column": 42 + "line": 93, + "column": 38 }, "end": { - "line": 90, - "column": 46 + "line": 93, + "column": 42 } } }, @@ -15742,16 +15001,16 @@ "postfix": false, "binop": null }, - "start": 2797, - "end": 2798, + "start": 2461, + "end": 2462, "loc": { "start": { - "line": 90, - "column": 46 + "line": 93, + "column": 42 }, "end": { - "line": 90, - "column": 47 + "line": 93, + "column": 43 } } }, @@ -15768,16 +15027,16 @@ "binop": null, "updateContext": null }, - "start": 2798, - "end": 2799, + "start": 2462, + "end": 2463, "loc": { "start": { - "line": 90, - "column": 47 + "line": 93, + "column": 43 }, "end": { - "line": 90, - "column": 48 + "line": 93, + "column": 44 } } }, @@ -15794,16 +15053,16 @@ "binop": null }, "value": "map", - "start": 2799, - "end": 2802, + "start": 2463, + "end": 2466, "loc": { "start": { - "line": 90, - "column": 48 + "line": 93, + "column": 44 }, "end": { - "line": 90, - "column": 51 + "line": 93, + "column": 47 } } }, @@ -15819,16 +15078,16 @@ "postfix": false, "binop": null }, - "start": 2802, - "end": 2803, + "start": 2466, + "end": 2467, "loc": { "start": { - "line": 90, - "column": 51 + "line": 93, + "column": 47 }, "end": { - "line": 90, - "column": 52 + "line": 93, + "column": 48 } } }, @@ -15845,16 +15104,16 @@ "binop": null }, "value": "key", - "start": 2803, - "end": 2806, + "start": 2467, + "end": 2470, "loc": { "start": { - "line": 90, - "column": 52 + "line": 93, + "column": 48 }, "end": { - "line": 90, - "column": 55 + "line": 93, + "column": 51 } } }, @@ -15871,16 +15130,16 @@ "binop": null, "updateContext": null }, - "start": 2807, - "end": 2809, + "start": 2471, + "end": 2473, "loc": { "start": { - "line": 90, - "column": 56 + "line": 93, + "column": 52 }, "end": { - "line": 90, - "column": 58 + "line": 93, + "column": 54 } } }, @@ -15896,16 +15155,16 @@ "postfix": false, "binop": null }, - "start": 2810, - "end": 2811, + "start": 2474, + "end": 2475, "loc": { "start": { - "line": 90, - "column": 59 + "line": 93, + "column": 55 }, "end": { - "line": 90, - "column": 60 + "line": 93, + "column": 56 } } }, @@ -15924,16 +15183,16 @@ "updateContext": null }, "value": "switch", - "start": 2824, - "end": 2830, + "start": 2482, + "end": 2488, "loc": { "start": { - "line": 91, - "column": 12 + "line": 94, + "column": 6 }, "end": { - "line": 91, - "column": 18 + "line": 94, + "column": 12 } } }, @@ -15949,16 +15208,16 @@ "postfix": false, "binop": null }, - "start": 2831, - "end": 2832, + "start": 2489, + "end": 2490, "loc": { "start": { - "line": 91, - "column": 19 + "line": 94, + "column": 13 }, "end": { - "line": 91, - "column": 20 + "line": 94, + "column": 14 } } }, @@ -15975,16 +15234,16 @@ "binop": null }, "value": "key", - "start": 2832, - "end": 2835, + "start": 2490, + "end": 2493, "loc": { "start": { - "line": 91, - "column": 20 + "line": 94, + "column": 14 }, "end": { - "line": 91, - "column": 23 + "line": 94, + "column": 17 } } }, @@ -16000,16 +15259,16 @@ "postfix": false, "binop": null }, - "start": 2835, - "end": 2836, + "start": 2493, + "end": 2494, "loc": { "start": { - "line": 91, - "column": 23 + "line": 94, + "column": 17 }, "end": { - "line": 91, - "column": 24 + "line": 94, + "column": 18 } } }, @@ -16025,16 +15284,16 @@ "postfix": false, "binop": null }, - "start": 2837, - "end": 2838, + "start": 2495, + "end": 2496, "loc": { "start": { - "line": 91, - "column": 25 + "line": 94, + "column": 19 }, "end": { - "line": 91, - "column": 26 + "line": 94, + "column": 20 } } }, @@ -16053,16 +15312,16 @@ "updateContext": null }, "value": "case", - "start": 2855, - "end": 2859, + "start": 2505, + "end": 2509, "loc": { "start": { - "line": 92, - "column": 16 + "line": 95, + "column": 8 }, "end": { - "line": 92, - "column": 20 + "line": 95, + "column": 12 } } }, @@ -16080,16 +15339,16 @@ "updateContext": null }, "value": "tracks", - "start": 2860, - "end": 2868, + "start": 2510, + "end": 2518, "loc": { "start": { - "line": 92, - "column": 21 + "line": 95, + "column": 13 }, "end": { - "line": 92, - "column": 29 + "line": 95, + "column": 21 } } }, @@ -16106,16 +15365,16 @@ "binop": null, "updateContext": null }, - "start": 2868, - "end": 2869, + "start": 2518, + "end": 2519, "loc": { "start": { - "line": 92, - "column": 29 + "line": 95, + "column": 21 }, "end": { - "line": 92, - "column": 30 + "line": 95, + "column": 22 } } }, @@ -16134,16 +15393,16 @@ "updateContext": null }, "value": "return", - "start": 2890, - "end": 2896, + "start": 2530, + "end": 2536, "loc": { "start": { - "line": 93, - "column": 20 + "line": 96, + "column": 10 }, "end": { - "line": 93, - "column": 26 + "line": 96, + "column": 16 } } }, @@ -16159,16 +15418,16 @@ "postfix": false, "binop": null }, - "start": 2897, - "end": 2898, + "start": 2537, + "end": 2538, "loc": { "start": { - "line": 93, - "column": 27 + "line": 96, + "column": 17 }, "end": { - "line": 93, - "column": 28 + "line": 96, + "column": 18 } } }, @@ -16185,16 +15444,16 @@ "binop": null, "updateContext": null }, - "start": 2923, - "end": 2924, + "start": 2551, + "end": 2552, "loc": { "start": { - "line": 94, - "column": 24 + "line": 97, + "column": 12 }, "end": { - "line": 94, - "column": 25 + "line": 97, + "column": 13 } } }, @@ -16211,16 +15470,16 @@ "binop": null }, "value": "key", - "start": 2924, - "end": 2927, + "start": 2552, + "end": 2555, "loc": { "start": { - "line": 94, - "column": 25 + "line": 97, + "column": 13 }, "end": { - "line": 94, - "column": 28 + "line": 97, + "column": 16 } } }, @@ -16237,16 +15496,16 @@ "binop": null, "updateContext": null }, - "start": 2927, - "end": 2928, + "start": 2555, + "end": 2556, "loc": { "start": { - "line": 94, - "column": 28 + "line": 97, + "column": 16 }, "end": { - "line": 94, - "column": 29 + "line": 97, + "column": 17 } } }, @@ -16263,16 +15522,16 @@ "binop": null, "updateContext": null }, - "start": 2928, - "end": 2929, + "start": 2556, + "end": 2557, "loc": { "start": { - "line": 94, - "column": 29 + "line": 97, + "column": 17 }, "end": { - "line": 94, - "column": 30 + "line": 97, + "column": 18 } } }, @@ -16289,16 +15548,16 @@ "binop": null }, "value": "Object", - "start": 2930, - "end": 2936, + "start": 2558, + "end": 2564, "loc": { "start": { - "line": 94, - "column": 31 + "line": 97, + "column": 19 }, "end": { - "line": 94, - "column": 37 + "line": 97, + "column": 25 } } }, @@ -16315,16 +15574,16 @@ "binop": null, "updateContext": null }, - "start": 2936, - "end": 2937, + "start": 2564, + "end": 2565, "loc": { "start": { - "line": 94, - "column": 37 + "line": 97, + "column": 25 }, "end": { - "line": 94, - "column": 38 + "line": 97, + "column": 26 } } }, @@ -16341,16 +15600,16 @@ "binop": null }, "value": "assign", - "start": 2937, - "end": 2943, + "start": 2565, + "end": 2571, "loc": { "start": { - "line": 94, - "column": 38 + "line": 97, + "column": 26 }, "end": { - "line": 94, - "column": 44 + "line": 97, + "column": 32 } } }, @@ -16366,16 +15625,16 @@ "postfix": false, "binop": null }, - "start": 2943, - "end": 2944, + "start": 2571, + "end": 2572, "loc": { "start": { - "line": 94, - "column": 44 + "line": 97, + "column": 32 }, "end": { - "line": 94, - "column": 45 + "line": 97, + "column": 33 } } }, @@ -16392,16 +15651,16 @@ "binop": null }, "value": "response", - "start": 2944, - "end": 2952, + "start": 2572, + "end": 2580, "loc": { "start": { - "line": 94, - "column": 45 + "line": 97, + "column": 33 }, "end": { - "line": 94, - "column": 53 + "line": 97, + "column": 41 } } }, @@ -16418,16 +15677,16 @@ "binop": null, "updateContext": null }, - "start": 2952, - "end": 2953, + "start": 2580, + "end": 2581, "loc": { "start": { - "line": 94, - "column": 53 + "line": 97, + "column": 41 }, "end": { - "line": 94, - "column": 54 + "line": 97, + "column": 42 } } }, @@ -16444,16 +15703,16 @@ "binop": null }, "value": "data", - "start": 2953, - "end": 2957, + "start": 2581, + "end": 2585, "loc": { "start": { - "line": 94, - "column": 54 + "line": 97, + "column": 42 }, "end": { - "line": 94, - "column": 58 + "line": 97, + "column": 46 } } }, @@ -16470,16 +15729,16 @@ "binop": null, "updateContext": null }, - "start": 2957, - "end": 2958, + "start": 2585, + "end": 2586, "loc": { "start": { - "line": 94, - "column": 58 + "line": 97, + "column": 46 }, "end": { - "line": 94, - "column": 59 + "line": 97, + "column": 47 } } }, @@ -16496,16 +15755,16 @@ "binop": null }, "value": "key", - "start": 2958, - "end": 2961, + "start": 2586, + "end": 2589, "loc": { "start": { - "line": 94, - "column": 59 + "line": 97, + "column": 47 }, "end": { - "line": 94, - "column": 62 + "line": 97, + "column": 50 } } }, @@ -16522,16 +15781,16 @@ "binop": null, "updateContext": null }, - "start": 2961, - "end": 2962, + "start": 2589, + "end": 2590, "loc": { "start": { - "line": 94, - "column": 62 + "line": 97, + "column": 50 }, "end": { - "line": 94, - "column": 63 + "line": 97, + "column": 51 } } }, @@ -16548,16 +15807,16 @@ "binop": null, "updateContext": null }, - "start": 2962, - "end": 2963, + "start": 2590, + "end": 2591, "loc": { "start": { - "line": 94, - "column": 63 + "line": 97, + "column": 51 }, "end": { - "line": 94, - "column": 64 + "line": 97, + "column": 52 } } }, @@ -16573,16 +15832,16 @@ "postfix": false, "binop": null }, - "start": 2964, - "end": 2965, + "start": 2592, + "end": 2593, "loc": { "start": { - "line": 94, - "column": 65 + "line": 97, + "column": 53 }, "end": { - "line": 94, - "column": 66 + "line": 97, + "column": 54 } } }, @@ -16599,16 +15858,16 @@ "binop": null }, "value": "data", - "start": 2994, - "end": 2998, + "start": 2608, + "end": 2612, "loc": { "start": { - "line": 95, - "column": 28 + "line": 98, + "column": 14 }, "end": { - "line": 95, - "column": 32 + "line": 98, + "column": 18 } } }, @@ -16625,16 +15884,16 @@ "binop": null, "updateContext": null }, - "start": 2998, - "end": 2999, + "start": 2612, + "end": 2613, "loc": { "start": { - "line": 95, - "column": 32 + "line": 98, + "column": 18 }, "end": { - "line": 95, - "column": 33 + "line": 98, + "column": 19 } } }, @@ -16651,16 +15910,16 @@ "binop": null }, "value": "response", - "start": 3000, - "end": 3008, + "start": 2614, + "end": 2622, "loc": { "start": { - "line": 95, - "column": 34 + "line": 98, + "column": 20 }, "end": { - "line": 95, - "column": 42 + "line": 98, + "column": 28 } } }, @@ -16677,16 +15936,16 @@ "binop": null, "updateContext": null }, - "start": 3008, - "end": 3009, + "start": 2622, + "end": 2623, "loc": { "start": { - "line": 95, - "column": 42 + "line": 98, + "column": 28 }, "end": { - "line": 95, - "column": 43 + "line": 98, + "column": 29 } } }, @@ -16703,16 +15962,16 @@ "binop": null }, "value": "data", - "start": 3009, - "end": 3013, + "start": 2623, + "end": 2627, "loc": { "start": { - "line": 95, - "column": 43 + "line": 98, + "column": 29 }, "end": { - "line": 95, - "column": 47 + "line": 98, + "column": 33 } } }, @@ -16729,16 +15988,16 @@ "binop": null, "updateContext": null }, - "start": 3013, - "end": 3014, + "start": 2627, + "end": 2628, "loc": { "start": { - "line": 95, - "column": 47 + "line": 98, + "column": 33 }, "end": { - "line": 95, - "column": 48 + "line": 98, + "column": 34 } } }, @@ -16755,16 +16014,16 @@ "binop": null }, "value": "key", - "start": 3014, - "end": 3017, + "start": 2628, + "end": 2631, "loc": { - "start": { - "line": 95, - "column": 48 + "start": { + "line": 98, + "column": 34 }, "end": { - "line": 95, - "column": 51 + "line": 98, + "column": 37 } } }, @@ -16781,16 +16040,16 @@ "binop": null, "updateContext": null }, - "start": 3017, - "end": 3018, + "start": 2631, + "end": 2632, "loc": { "start": { - "line": 95, - "column": 51 + "line": 98, + "column": 37 }, "end": { - "line": 95, - "column": 52 + "line": 98, + "column": 38 } } }, @@ -16807,16 +16066,16 @@ "binop": null, "updateContext": null }, - "start": 3018, - "end": 3019, + "start": 2632, + "end": 2633, "loc": { "start": { - "line": 95, - "column": 52 + "line": 98, + "column": 38 }, "end": { - "line": 95, - "column": 53 + "line": 98, + "column": 39 } } }, @@ -16833,16 +16092,16 @@ "binop": null }, "value": "data", - "start": 3019, - "end": 3023, + "start": 2633, + "end": 2637, "loc": { "start": { - "line": 95, - "column": 53 + "line": 98, + "column": 39 }, "end": { - "line": 95, - "column": 57 + "line": 98, + "column": 43 } } }, @@ -16859,16 +16118,16 @@ "binop": null, "updateContext": null }, - "start": 3056, - "end": 3057, + "start": 2637, + "end": 2638, "loc": { "start": { - "line": 96, - "column": 32 + "line": 98, + "column": 43 }, "end": { - "line": 96, - "column": 33 + "line": 98, + "column": 44 } } }, @@ -16885,16 +16144,16 @@ "binop": null }, "value": "filter", - "start": 3057, - "end": 3063, + "start": 2638, + "end": 2644, "loc": { "start": { - "line": 96, - "column": 33 + "line": 98, + "column": 44 }, "end": { - "line": 96, - "column": 39 + "line": 98, + "column": 50 } } }, @@ -16910,16 +16169,16 @@ "postfix": false, "binop": null }, - "start": 3063, - "end": 3064, + "start": 2644, + "end": 2645, "loc": { "start": { - "line": 96, - "column": 39 + "line": 98, + "column": 50 }, "end": { - "line": 96, - "column": 40 + "line": 98, + "column": 51 } } }, @@ -16936,16 +16195,16 @@ "binop": null }, "value": "track", - "start": 3064, - "end": 3069, + "start": 2645, + "end": 2650, "loc": { "start": { - "line": 96, - "column": 40 + "line": 98, + "column": 51 }, "end": { - "line": 96, - "column": 45 + "line": 98, + "column": 56 } } }, @@ -16962,16 +16221,16 @@ "binop": null, "updateContext": null }, - "start": 3070, - "end": 3072, + "start": 2651, + "end": 2653, "loc": { "start": { - "line": 96, - "column": 46 + "line": 98, + "column": 57 }, "end": { - "line": 96, - "column": 48 + "line": 98, + "column": 59 } } }, @@ -16987,16 +16246,16 @@ "postfix": false, "binop": null }, - "start": 3073, - "end": 3074, + "start": 2654, + "end": 2655, "loc": { "start": { - "line": 96, - "column": 49 + "line": 98, + "column": 60 }, "end": { - "line": 96, - "column": 50 + "line": 98, + "column": 61 } } }, @@ -17015,16 +16274,16 @@ "updateContext": null }, "value": "if", - "start": 3111, - "end": 3113, + "start": 2672, + "end": 2674, "loc": { "start": { - "line": 97, - "column": 36 + "line": 99, + "column": 16 }, "end": { - "line": 97, - "column": 38 + "line": 99, + "column": 18 } } }, @@ -17040,16 +16299,16 @@ "postfix": false, "binop": null }, - "start": 3114, - "end": 3115, + "start": 2675, + "end": 2676, "loc": { "start": { - "line": 97, - "column": 39 + "line": 99, + "column": 19 }, "end": { - "line": 97, - "column": 40 + "line": 99, + "column": 20 } } }, @@ -17068,16 +16327,16 @@ "updateContext": null }, "value": "this", - "start": 3115, - "end": 3119, + "start": 2695, + "end": 2699, "loc": { "start": { - "line": 97, - "column": 40 + "line": 100, + "column": 18 }, "end": { - "line": 97, - "column": 44 + "line": 100, + "column": 22 } } }, @@ -17094,16 +16353,16 @@ "binop": null, "updateContext": null }, - "start": 3119, - "end": 3120, + "start": 2699, + "end": 2700, "loc": { "start": { - "line": 97, - "column": 44 + "line": 100, + "column": 22 }, "end": { - "line": 97, - "column": 45 + "line": 100, + "column": 23 } } }, @@ -17120,16 +16379,16 @@ "binop": null }, "value": "filterConditions", - "start": 3120, - "end": 3136, + "start": 2700, + "end": 2716, "loc": { "start": { - "line": 97, - "column": 45 + "line": 100, + "column": 23 }, "end": { - "line": 97, - "column": 61 + "line": 100, + "column": 39 } } }, @@ -17146,16 +16405,16 @@ "binop": null, "updateContext": null }, - "start": 3136, - "end": 3137, + "start": 2716, + "end": 2717, "loc": { "start": { - "line": 97, - "column": 61 + "line": 100, + "column": 39 }, "end": { - "line": 97, - "column": 62 + "line": 100, + "column": 40 } } }, @@ -17171,17 +16430,17 @@ "postfix": false, "binop": null }, - "value": "available_territory", - "start": 3137, - "end": 3156, + "value": "availableTerritory", + "start": 2717, + "end": 2735, "loc": { "start": { - "line": 97, - "column": 62 + "line": 100, + "column": 40 }, "end": { - "line": 97, - "column": 81 + "line": 100, + "column": 58 } } }, @@ -17199,16 +16458,16 @@ "updateContext": null }, "value": "!==", - "start": 3157, - "end": 3160, + "start": 2736, + "end": 2739, "loc": { "start": { - "line": 97, - "column": 82 + "line": 100, + "column": 59 }, "end": { - "line": 97, - "column": 85 + "line": 100, + "column": 62 } } }, @@ -17225,16 +16484,16 @@ "binop": null }, "value": "undefined", - "start": 3161, - "end": 3170, + "start": 2740, + "end": 2749, "loc": { "start": { - "line": 97, - "column": 86 + "line": 100, + "column": 63 }, "end": { - "line": 97, - "column": 95 + "line": 100, + "column": 72 } } }, @@ -17252,16 +16511,16 @@ "updateContext": null }, "value": "&&", - "start": 3171, - "end": 3173, + "start": 2750, + "end": 2752, "loc": { "start": { - "line": 97, - "column": 96 + "line": 100, + "column": 73 }, "end": { - "line": 97, - "column": 98 + "line": 100, + "column": 75 } } }, @@ -17279,16 +16538,16 @@ "updateContext": null }, "value": "!", - "start": 3214, - "end": 3215, + "start": 2771, + "end": 2772, "loc": { "start": { - "line": 98, - "column": 40 + "line": 101, + "column": 18 }, "end": { - "line": 98, - "column": 41 + "line": 101, + "column": 19 } } }, @@ -17305,16 +16564,16 @@ "binop": null }, "value": "track", - "start": 3215, - "end": 3220, + "start": 2772, + "end": 2777, "loc": { "start": { - "line": 98, - "column": 41 + "line": 101, + "column": 19 }, "end": { - "line": 98, - "column": 46 + "line": 101, + "column": 24 } } }, @@ -17331,16 +16590,16 @@ "binop": null, "updateContext": null }, - "start": 3220, - "end": 3221, + "start": 2777, + "end": 2778, "loc": { "start": { - "line": 98, - "column": 46 + "line": 101, + "column": 24 }, "end": { - "line": 98, - "column": 47 + "line": 101, + "column": 25 } } }, @@ -17357,16 +16616,16 @@ "binop": null }, "value": "available_territories", - "start": 3221, - "end": 3242, + "start": 2778, + "end": 2799, "loc": { "start": { - "line": 98, - "column": 47 + "line": 101, + "column": 25 }, "end": { - "line": 98, - "column": 68 + "line": 101, + "column": 46 } } }, @@ -17383,16 +16642,16 @@ "binop": null, "updateContext": null }, - "start": 3242, - "end": 3243, + "start": 2799, + "end": 2800, "loc": { "start": { - "line": 98, - "column": 68 + "line": 101, + "column": 46 }, "end": { - "line": 98, - "column": 69 + "line": 101, + "column": 47 } } }, @@ -17409,16 +16668,16 @@ "binop": null }, "value": "includes", - "start": 3243, - "end": 3251, + "start": 2800, + "end": 2808, "loc": { "start": { - "line": 98, - "column": 69 + "line": 101, + "column": 47 }, "end": { - "line": 98, - "column": 77 + "line": 101, + "column": 55 } } }, @@ -17434,16 +16693,16 @@ "postfix": false, "binop": null }, - "start": 3251, - "end": 3252, + "start": 2808, + "end": 2809, "loc": { "start": { - "line": 98, - "column": 77 + "line": 101, + "column": 55 }, "end": { - "line": 98, - "column": 78 + "line": 101, + "column": 56 } } }, @@ -17462,16 +16721,16 @@ "updateContext": null }, "value": "this", - "start": 3252, - "end": 3256, + "start": 2830, + "end": 2834, "loc": { "start": { - "line": 98, - "column": 78 + "line": 102, + "column": 20 }, "end": { - "line": 98, - "column": 82 + "line": 102, + "column": 24 } } }, @@ -17488,16 +16747,16 @@ "binop": null, "updateContext": null }, - "start": 3256, - "end": 3257, + "start": 2834, + "end": 2835, "loc": { "start": { - "line": 98, - "column": 82 + "line": 102, + "column": 24 }, "end": { - "line": 98, - "column": 83 + "line": 102, + "column": 25 } } }, @@ -17514,16 +16773,16 @@ "binop": null }, "value": "filterConditions", - "start": 3257, - "end": 3273, + "start": 2835, + "end": 2851, "loc": { "start": { - "line": 98, - "column": 83 + "line": 102, + "column": 25 }, "end": { - "line": 98, - "column": 99 + "line": 102, + "column": 41 } } }, @@ -17540,16 +16799,16 @@ "binop": null, "updateContext": null }, - "start": 3273, - "end": 3274, + "start": 2851, + "end": 2852, "loc": { "start": { - "line": 98, - "column": 99 + "line": 102, + "column": 41 }, "end": { - "line": 98, - "column": 100 + "line": 102, + "column": 42 } } }, @@ -17565,17 +16824,17 @@ "postfix": false, "binop": null }, - "value": "available_territory", - "start": 3274, - "end": 3293, + "value": "availableTerritory", + "start": 2852, + "end": 2870, "loc": { "start": { - "line": 98, - "column": 100 + "line": 102, + "column": 42 }, "end": { - "line": 98, - "column": 119 + "line": 102, + "column": 60 } } }, @@ -17591,16 +16850,16 @@ "postfix": false, "binop": null }, - "start": 3293, - "end": 3294, + "start": 2889, + "end": 2890, "loc": { "start": { - "line": 98, - "column": 119 + "line": 103, + "column": 18 }, "end": { - "line": 98, - "column": 120 + "line": 103, + "column": 19 } } }, @@ -17616,16 +16875,16 @@ "postfix": false, "binop": null }, - "start": 3294, - "end": 3295, + "start": 2907, + "end": 2908, "loc": { "start": { - "line": 98, - "column": 120 + "line": 104, + "column": 16 }, "end": { - "line": 98, - "column": 121 + "line": 104, + "column": 17 } } }, @@ -17641,16 +16900,16 @@ "postfix": false, "binop": null }, - "start": 3296, - "end": 3297, + "start": 2909, + "end": 2910, "loc": { "start": { - "line": 98, - "column": 122 + "line": 104, + "column": 18 }, "end": { - "line": 98, - "column": 123 + "line": 104, + "column": 19 } } }, @@ -17669,16 +16928,16 @@ "updateContext": null }, "value": "return", - "start": 3338, - "end": 3344, + "start": 2929, + "end": 2935, "loc": { "start": { - "line": 99, - "column": 40 + "line": 105, + "column": 18 }, "end": { - "line": 99, - "column": 46 + "line": 105, + "column": 24 } } }, @@ -17697,16 +16956,42 @@ "updateContext": null }, "value": "false", - "start": 3345, - "end": 3350, + "start": 2936, + "end": 2941, "loc": { "start": { - "line": 99, - "column": 47 + "line": 105, + "column": 25 }, "end": { - "line": 99, - "column": 52 + "line": 105, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2941, + "end": 2942, + "loc": { + "start": { + "line": 105, + "column": 30 + }, + "end": { + "line": 105, + "column": 31 } } }, @@ -17722,16 +17007,16 @@ "postfix": false, "binop": null }, - "start": 3387, - "end": 3388, + "start": 2959, + "end": 2960, "loc": { "start": { - "line": 100, - "column": 36 + "line": 106, + "column": 16 }, "end": { - "line": 100, - "column": 37 + "line": 106, + "column": 17 } } }, @@ -17750,16 +17035,16 @@ "updateContext": null }, "value": "if", - "start": 3425, - "end": 3427, + "start": 2977, + "end": 2979, "loc": { "start": { - "line": 101, - "column": 36 + "line": 107, + "column": 16 }, "end": { - "line": 101, - "column": 38 + "line": 107, + "column": 18 } } }, @@ -17775,16 +17060,16 @@ "postfix": false, "binop": null }, - "start": 3428, - "end": 3429, + "start": 2980, + "end": 2981, "loc": { "start": { - "line": 101, - "column": 39 + "line": 107, + "column": 19 }, "end": { - "line": 101, - "column": 40 + "line": 107, + "column": 20 } } }, @@ -17803,16 +17088,16 @@ "updateContext": null }, "value": "this", - "start": 3429, - "end": 3433, + "start": 3000, + "end": 3004, "loc": { "start": { - "line": 101, - "column": 40 + "line": 108, + "column": 18 }, "end": { - "line": 101, - "column": 44 + "line": 108, + "column": 22 } } }, @@ -17829,16 +17114,16 @@ "binop": null, "updateContext": null }, - "start": 3433, - "end": 3434, + "start": 3004, + "end": 3005, "loc": { "start": { - "line": 101, - "column": 44 + "line": 108, + "column": 22 }, "end": { - "line": 101, - "column": 45 + "line": 108, + "column": 23 } } }, @@ -17855,16 +17140,16 @@ "binop": null }, "value": "filterConditions", - "start": 3434, - "end": 3450, + "start": 3005, + "end": 3021, "loc": { "start": { - "line": 101, - "column": 45 + "line": 108, + "column": 23 }, "end": { - "line": 101, - "column": 61 + "line": 108, + "column": 39 } } }, @@ -17881,16 +17166,16 @@ "binop": null, "updateContext": null }, - "start": 3450, - "end": 3451, + "start": 3021, + "end": 3022, "loc": { "start": { - "line": 101, - "column": 61 + "line": 108, + "column": 39 }, "end": { - "line": 101, - "column": 62 + "line": 108, + "column": 40 } } }, @@ -17907,16 +17192,16 @@ "binop": null }, "value": "track", - "start": 3451, - "end": 3456, + "start": 3022, + "end": 3027, "loc": { "start": { - "line": 101, - "column": 62 + "line": 108, + "column": 40 }, "end": { - "line": 101, - "column": 67 + "line": 108, + "column": 45 } } }, @@ -17934,16 +17219,16 @@ "updateContext": null }, "value": "!==", - "start": 3457, - "end": 3460, + "start": 3028, + "end": 3031, "loc": { "start": { - "line": 101, - "column": 68 + "line": 108, + "column": 46 }, "end": { - "line": 101, - "column": 71 + "line": 108, + "column": 49 } } }, @@ -17960,16 +17245,16 @@ "binop": null }, "value": "undefined", - "start": 3461, - "end": 3470, + "start": 3032, + "end": 3041, "loc": { "start": { - "line": 101, - "column": 72 + "line": 108, + "column": 50 }, "end": { - "line": 101, - "column": 81 + "line": 108, + "column": 59 } } }, @@ -17987,16 +17272,16 @@ "updateContext": null }, "value": "&&", - "start": 3471, - "end": 3473, + "start": 3042, + "end": 3044, "loc": { "start": { - "line": 101, - "column": 82 + "line": 108, + "column": 60 }, "end": { - "line": 101, - "column": 84 + "line": 108, + "column": 62 } } }, @@ -18014,16 +17299,16 @@ "updateContext": null }, "value": "!", - "start": 3514, - "end": 3515, + "start": 3063, + "end": 3064, "loc": { "start": { - "line": 102, - "column": 40 + "line": 109, + "column": 18 }, "end": { - "line": 102, - "column": 41 + "line": 109, + "column": 19 } } }, @@ -18042,16 +17327,16 @@ "updateContext": null }, "value": "new", - "start": 3515, - "end": 3518, + "start": 3064, + "end": 3067, "loc": { "start": { - "line": 102, - "column": 41 + "line": 109, + "column": 19 }, "end": { - "line": 102, - "column": 44 + "line": 109, + "column": 22 } } }, @@ -18068,16 +17353,16 @@ "binop": null }, "value": "RegExp", - "start": 3519, - "end": 3525, + "start": 3068, + "end": 3074, "loc": { "start": { - "line": 102, - "column": 45 + "line": 109, + "column": 23 }, "end": { - "line": 102, - "column": 51 + "line": 109, + "column": 29 } } }, @@ -18093,16 +17378,16 @@ "postfix": false, "binop": null }, - "start": 3525, - "end": 3526, + "start": 3074, + "end": 3075, "loc": { "start": { - "line": 102, - "column": 51 + "line": 109, + "column": 29 }, "end": { - "line": 102, - "column": 52 + "line": 109, + "column": 30 } } }, @@ -18120,16 +17405,16 @@ "updateContext": null }, "value": ".*", - "start": 3526, - "end": 3530, + "start": 3075, + "end": 3079, "loc": { "start": { - "line": 102, - "column": 52 + "line": 109, + "column": 30 }, "end": { - "line": 102, - "column": 56 + "line": 109, + "column": 34 } } }, @@ -18147,16 +17432,16 @@ "updateContext": null }, "value": "+", - "start": 3531, - "end": 3532, + "start": 3080, + "end": 3081, "loc": { "start": { - "line": 102, - "column": 57 + "line": 109, + "column": 35 }, "end": { - "line": 102, - "column": 58 + "line": 109, + "column": 36 } } }, @@ -18175,16 +17460,16 @@ "updateContext": null }, "value": "this", - "start": 3533, - "end": 3537, + "start": 3082, + "end": 3086, "loc": { "start": { - "line": 102, - "column": 59 + "line": 109, + "column": 37 }, "end": { - "line": 102, - "column": 63 + "line": 109, + "column": 41 } } }, @@ -18201,16 +17486,16 @@ "binop": null, "updateContext": null }, - "start": 3537, - "end": 3538, + "start": 3086, + "end": 3087, "loc": { "start": { - "line": 102, - "column": 63 + "line": 109, + "column": 41 }, "end": { - "line": 102, - "column": 64 + "line": 109, + "column": 42 } } }, @@ -18227,16 +17512,16 @@ "binop": null }, "value": "filterConditions", - "start": 3538, - "end": 3554, + "start": 3087, + "end": 3103, "loc": { "start": { - "line": 102, - "column": 64 + "line": 109, + "column": 42 }, "end": { - "line": 102, - "column": 80 + "line": 109, + "column": 58 } } }, @@ -18253,16 +17538,16 @@ "binop": null, "updateContext": null }, - "start": 3554, - "end": 3555, + "start": 3103, + "end": 3104, "loc": { "start": { - "line": 102, - "column": 80 + "line": 109, + "column": 58 }, "end": { - "line": 102, - "column": 81 + "line": 109, + "column": 59 } } }, @@ -18279,16 +17564,16 @@ "binop": null }, "value": "track", - "start": 3555, - "end": 3560, + "start": 3104, + "end": 3109, "loc": { "start": { - "line": 102, - "column": 81 + "line": 109, + "column": 59 }, "end": { - "line": 102, - "column": 86 + "line": 109, + "column": 64 } } }, @@ -18306,16 +17591,16 @@ "updateContext": null }, "value": "+", - "start": 3561, - "end": 3562, + "start": 3110, + "end": 3111, "loc": { "start": { - "line": 102, - "column": 87 + "line": 109, + "column": 65 }, "end": { - "line": 102, - "column": 88 + "line": 109, + "column": 66 } } }, @@ -18333,16 +17618,16 @@ "updateContext": null }, "value": ".*", - "start": 3563, - "end": 3567, + "start": 3112, + "end": 3116, "loc": { "start": { - "line": 102, - "column": 89 + "line": 109, + "column": 67 }, "end": { - "line": 102, - "column": 93 + "line": 109, + "column": 71 } } }, @@ -18358,16 +17643,16 @@ "postfix": false, "binop": null }, - "start": 3567, - "end": 3568, + "start": 3116, + "end": 3117, "loc": { "start": { - "line": 102, - "column": 93 + "line": 109, + "column": 71 }, "end": { - "line": 102, - "column": 94 + "line": 109, + "column": 72 } } }, @@ -18384,16 +17669,16 @@ "binop": null, "updateContext": null }, - "start": 3568, - "end": 3569, + "start": 3117, + "end": 3118, "loc": { "start": { - "line": 102, - "column": 94 + "line": 109, + "column": 72 }, "end": { - "line": 102, - "column": 95 + "line": 109, + "column": 73 } } }, @@ -18410,16 +17695,16 @@ "binop": null }, "value": "test", - "start": 3569, - "end": 3573, + "start": 3118, + "end": 3122, "loc": { "start": { - "line": 102, - "column": 95 + "line": 109, + "column": 73 }, "end": { - "line": 102, - "column": 99 + "line": 109, + "column": 77 } } }, @@ -18435,16 +17720,16 @@ "postfix": false, "binop": null }, - "start": 3573, - "end": 3574, + "start": 3122, + "end": 3123, "loc": { "start": { - "line": 102, - "column": 99 + "line": 109, + "column": 77 }, "end": { - "line": 102, - "column": 100 + "line": 109, + "column": 78 } } }, @@ -18461,16 +17746,16 @@ "binop": null }, "value": "track", - "start": 3574, - "end": 3579, + "start": 3144, + "end": 3149, "loc": { "start": { - "line": 102, - "column": 100 + "line": 110, + "column": 20 }, "end": { - "line": 102, - "column": 105 + "line": 110, + "column": 25 } } }, @@ -18487,16 +17772,16 @@ "binop": null, "updateContext": null }, - "start": 3579, - "end": 3580, + "start": 3149, + "end": 3150, "loc": { "start": { - "line": 102, - "column": 105 + "line": 110, + "column": 25 }, "end": { - "line": 102, - "column": 106 + "line": 110, + "column": 26 } } }, @@ -18513,16 +17798,16 @@ "binop": null }, "value": "name", - "start": 3580, - "end": 3584, + "start": 3150, + "end": 3154, "loc": { "start": { - "line": 102, - "column": 106 + "line": 110, + "column": 26 }, "end": { - "line": 102, - "column": 110 + "line": 110, + "column": 30 } } }, @@ -18538,16 +17823,16 @@ "postfix": false, "binop": null }, - "start": 3584, - "end": 3585, + "start": 3173, + "end": 3174, "loc": { "start": { - "line": 102, - "column": 110 + "line": 111, + "column": 18 }, "end": { - "line": 102, - "column": 111 + "line": 111, + "column": 19 } } }, @@ -18563,16 +17848,16 @@ "postfix": false, "binop": null }, - "start": 3585, - "end": 3586, + "start": 3191, + "end": 3192, "loc": { "start": { - "line": 102, - "column": 111 + "line": 112, + "column": 16 }, "end": { - "line": 102, - "column": 112 + "line": 112, + "column": 17 } } }, @@ -18588,16 +17873,16 @@ "postfix": false, "binop": null }, - "start": 3587, - "end": 3588, + "start": 3193, + "end": 3194, "loc": { "start": { - "line": 102, - "column": 113 + "line": 112, + "column": 18 }, "end": { - "line": 102, - "column": 114 + "line": 112, + "column": 19 } } }, @@ -18616,16 +17901,16 @@ "updateContext": null }, "value": "return", - "start": 3629, - "end": 3635, + "start": 3213, + "end": 3219, "loc": { "start": { - "line": 103, - "column": 40 + "line": 113, + "column": 18 }, "end": { - "line": 103, - "column": 46 + "line": 113, + "column": 24 } } }, @@ -18644,16 +17929,42 @@ "updateContext": null }, "value": "false", - "start": 3636, - "end": 3641, + "start": 3220, + "end": 3225, "loc": { "start": { - "line": 103, - "column": 47 + "line": 113, + "column": 25 }, "end": { - "line": 103, - "column": 52 + "line": 113, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3225, + "end": 3226, + "loc": { + "start": { + "line": 113, + "column": 30 + }, + "end": { + "line": 113, + "column": 31 } } }, @@ -18669,16 +17980,16 @@ "postfix": false, "binop": null }, - "start": 3678, - "end": 3679, + "start": 3243, + "end": 3244, "loc": { "start": { - "line": 104, - "column": 36 + "line": 114, + "column": 16 }, "end": { - "line": 104, - "column": 37 + "line": 114, + "column": 17 } } }, @@ -18697,16 +18008,16 @@ "updateContext": null }, "value": "if", - "start": 3716, - "end": 3718, + "start": 3261, + "end": 3263, "loc": { "start": { - "line": 105, - "column": 36 + "line": 115, + "column": 16 }, "end": { - "line": 105, - "column": 38 + "line": 115, + "column": 18 } } }, @@ -18722,16 +18033,16 @@ "postfix": false, "binop": null }, - "start": 3719, - "end": 3720, + "start": 3264, + "end": 3265, "loc": { "start": { - "line": 105, - "column": 39 + "line": 115, + "column": 19 }, "end": { - "line": 105, - "column": 40 + "line": 115, + "column": 20 } } }, @@ -18750,16 +18061,16 @@ "updateContext": null }, "value": "this", - "start": 3720, - "end": 3724, + "start": 3284, + "end": 3288, "loc": { "start": { - "line": 105, - "column": 40 + "line": 116, + "column": 18 }, "end": { - "line": 105, - "column": 44 + "line": 116, + "column": 22 } } }, @@ -18776,16 +18087,16 @@ "binop": null, "updateContext": null }, - "start": 3724, - "end": 3725, + "start": 3288, + "end": 3289, "loc": { "start": { - "line": 105, - "column": 44 + "line": 116, + "column": 22 }, "end": { - "line": 105, - "column": 45 + "line": 116, + "column": 23 } } }, @@ -18802,16 +18113,16 @@ "binop": null }, "value": "filterConditions", - "start": 3725, - "end": 3741, + "start": 3289, + "end": 3305, "loc": { "start": { - "line": 105, - "column": 45 + "line": 116, + "column": 23 }, "end": { - "line": 105, - "column": 61 + "line": 116, + "column": 39 } } }, @@ -18828,16 +18139,16 @@ "binop": null, "updateContext": null }, - "start": 3741, - "end": 3742, + "start": 3305, + "end": 3306, "loc": { "start": { - "line": 105, - "column": 61 + "line": 116, + "column": 39 }, "end": { - "line": 105, - "column": 62 + "line": 116, + "column": 40 } } }, @@ -18854,16 +18165,16 @@ "binop": null }, "value": "album", - "start": 3742, - "end": 3747, + "start": 3306, + "end": 3311, "loc": { "start": { - "line": 105, - "column": 62 + "line": 116, + "column": 40 }, "end": { - "line": 105, - "column": 67 + "line": 116, + "column": 45 } } }, @@ -18881,16 +18192,16 @@ "updateContext": null }, "value": "!==", - "start": 3748, - "end": 3751, + "start": 3312, + "end": 3315, "loc": { "start": { - "line": 105, - "column": 68 + "line": 116, + "column": 46 }, "end": { - "line": 105, - "column": 71 + "line": 116, + "column": 49 } } }, @@ -18907,16 +18218,16 @@ "binop": null }, "value": "undefined", - "start": 3752, - "end": 3761, + "start": 3316, + "end": 3325, "loc": { "start": { - "line": 105, - "column": 72 + "line": 116, + "column": 50 }, "end": { - "line": 105, - "column": 81 + "line": 116, + "column": 59 } } }, @@ -18934,16 +18245,16 @@ "updateContext": null }, "value": "&&", - "start": 3762, - "end": 3764, + "start": 3326, + "end": 3328, "loc": { "start": { - "line": 105, - "column": 82 + "line": 116, + "column": 60 }, "end": { - "line": 105, - "column": 84 + "line": 116, + "column": 62 } } }, @@ -18961,16 +18272,16 @@ "updateContext": null }, "value": "!", - "start": 3805, - "end": 3806, + "start": 3347, + "end": 3348, "loc": { "start": { - "line": 106, - "column": 40 + "line": 117, + "column": 18 }, "end": { - "line": 106, - "column": 41 + "line": 117, + "column": 19 } } }, @@ -18989,16 +18300,16 @@ "updateContext": null }, "value": "new", - "start": 3806, - "end": 3809, + "start": 3348, + "end": 3351, "loc": { "start": { - "line": 106, - "column": 41 + "line": 117, + "column": 19 }, "end": { - "line": 106, - "column": 44 + "line": 117, + "column": 22 } } }, @@ -19015,16 +18326,16 @@ "binop": null }, "value": "RegExp", - "start": 3810, - "end": 3816, + "start": 3352, + "end": 3358, "loc": { "start": { - "line": 106, - "column": 45 + "line": 117, + "column": 23 }, "end": { - "line": 106, - "column": 51 + "line": 117, + "column": 29 } } }, @@ -19040,16 +18351,16 @@ "postfix": false, "binop": null }, - "start": 3816, - "end": 3817, + "start": 3358, + "end": 3359, "loc": { "start": { - "line": 106, - "column": 51 + "line": 117, + "column": 29 }, "end": { - "line": 106, - "column": 52 + "line": 117, + "column": 30 } } }, @@ -19067,16 +18378,16 @@ "updateContext": null }, "value": ".*", - "start": 3817, - "end": 3821, + "start": 3359, + "end": 3363, "loc": { "start": { - "line": 106, - "column": 52 + "line": 117, + "column": 30 }, "end": { - "line": 106, - "column": 56 + "line": 117, + "column": 34 } } }, @@ -19094,16 +18405,16 @@ "updateContext": null }, "value": "+", - "start": 3822, - "end": 3823, + "start": 3364, + "end": 3365, "loc": { "start": { - "line": 106, - "column": 57 + "line": 117, + "column": 35 }, "end": { - "line": 106, - "column": 58 + "line": 117, + "column": 36 } } }, @@ -19122,16 +18433,16 @@ "updateContext": null }, "value": "this", - "start": 3824, - "end": 3828, + "start": 3366, + "end": 3370, "loc": { "start": { - "line": 106, - "column": 59 + "line": 117, + "column": 37 }, "end": { - "line": 106, - "column": 63 + "line": 117, + "column": 41 } } }, @@ -19148,16 +18459,16 @@ "binop": null, "updateContext": null }, - "start": 3828, - "end": 3829, + "start": 3370, + "end": 3371, "loc": { "start": { - "line": 106, - "column": 63 + "line": 117, + "column": 41 }, "end": { - "line": 106, - "column": 64 + "line": 117, + "column": 42 } } }, @@ -19174,16 +18485,16 @@ "binop": null }, "value": "filterConditions", - "start": 3829, - "end": 3845, + "start": 3371, + "end": 3387, "loc": { "start": { - "line": 106, - "column": 64 + "line": 117, + "column": 42 }, "end": { - "line": 106, - "column": 80 + "line": 117, + "column": 58 } } }, @@ -19200,16 +18511,16 @@ "binop": null, "updateContext": null }, - "start": 3845, - "end": 3846, + "start": 3387, + "end": 3388, "loc": { "start": { - "line": 106, - "column": 80 + "line": 117, + "column": 58 }, "end": { - "line": 106, - "column": 81 + "line": 117, + "column": 59 } } }, @@ -19226,16 +18537,16 @@ "binop": null }, "value": "album", - "start": 3846, - "end": 3851, + "start": 3388, + "end": 3393, "loc": { "start": { - "line": 106, - "column": 81 + "line": 117, + "column": 59 }, "end": { - "line": 106, - "column": 86 + "line": 117, + "column": 64 } } }, @@ -19253,16 +18564,16 @@ "updateContext": null }, "value": "+", - "start": 3852, - "end": 3853, + "start": 3394, + "end": 3395, "loc": { "start": { - "line": 106, - "column": 87 + "line": 117, + "column": 65 }, "end": { - "line": 106, - "column": 88 + "line": 117, + "column": 66 } } }, @@ -19280,16 +18591,16 @@ "updateContext": null }, "value": ".*", - "start": 3854, - "end": 3858, + "start": 3396, + "end": 3400, "loc": { "start": { - "line": 106, - "column": 89 + "line": 117, + "column": 67 }, "end": { - "line": 106, - "column": 93 + "line": 117, + "column": 71 } } }, @@ -19305,16 +18616,16 @@ "postfix": false, "binop": null }, - "start": 3858, - "end": 3859, + "start": 3400, + "end": 3401, "loc": { "start": { - "line": 106, - "column": 93 + "line": 117, + "column": 71 }, "end": { - "line": 106, - "column": 94 + "line": 117, + "column": 72 } } }, @@ -19331,16 +18642,16 @@ "binop": null, "updateContext": null }, - "start": 3859, - "end": 3860, + "start": 3401, + "end": 3402, "loc": { "start": { - "line": 106, - "column": 94 + "line": 117, + "column": 72 }, "end": { - "line": 106, - "column": 95 + "line": 117, + "column": 73 } } }, @@ -19357,16 +18668,16 @@ "binop": null }, "value": "test", - "start": 3860, - "end": 3864, + "start": 3402, + "end": 3406, "loc": { "start": { - "line": 106, - "column": 95 + "line": 117, + "column": 73 }, "end": { - "line": 106, - "column": 99 + "line": 117, + "column": 77 } } }, @@ -19382,16 +18693,16 @@ "postfix": false, "binop": null }, - "start": 3864, - "end": 3865, + "start": 3406, + "end": 3407, "loc": { "start": { - "line": 106, - "column": 99 + "line": 117, + "column": 77 }, "end": { - "line": 106, - "column": 100 + "line": 117, + "column": 78 } } }, @@ -19408,16 +18719,16 @@ "binop": null }, "value": "track", - "start": 3865, - "end": 3870, + "start": 3428, + "end": 3433, "loc": { "start": { - "line": 106, - "column": 100 + "line": 118, + "column": 20 }, "end": { - "line": 106, - "column": 105 + "line": 118, + "column": 25 } } }, @@ -19434,16 +18745,16 @@ "binop": null, "updateContext": null }, - "start": 3870, - "end": 3871, + "start": 3433, + "end": 3434, "loc": { "start": { - "line": 106, - "column": 105 + "line": 118, + "column": 25 }, "end": { - "line": 106, - "column": 106 + "line": 118, + "column": 26 } } }, @@ -19460,16 +18771,16 @@ "binop": null }, "value": "album", - "start": 3871, - "end": 3876, + "start": 3434, + "end": 3439, "loc": { "start": { - "line": 106, - "column": 106 + "line": 118, + "column": 26 }, "end": { - "line": 106, - "column": 111 + "line": 118, + "column": 31 } } }, @@ -19486,16 +18797,16 @@ "binop": null, "updateContext": null }, - "start": 3876, - "end": 3877, + "start": 3439, + "end": 3440, "loc": { "start": { - "line": 106, - "column": 111 + "line": 118, + "column": 31 }, "end": { - "line": 106, - "column": 112 + "line": 118, + "column": 32 } } }, @@ -19512,16 +18823,16 @@ "binop": null }, "value": "name", - "start": 3877, - "end": 3881, + "start": 3440, + "end": 3444, "loc": { "start": { - "line": 106, - "column": 112 + "line": 118, + "column": 32 }, "end": { - "line": 106, - "column": 116 + "line": 118, + "column": 36 } } }, @@ -19537,16 +18848,16 @@ "postfix": false, "binop": null }, - "start": 3881, - "end": 3882, + "start": 3463, + "end": 3464, "loc": { "start": { - "line": 106, - "column": 116 + "line": 119, + "column": 18 }, "end": { - "line": 106, - "column": 117 + "line": 119, + "column": 19 } } }, @@ -19562,16 +18873,16 @@ "postfix": false, "binop": null }, - "start": 3882, - "end": 3883, + "start": 3481, + "end": 3482, "loc": { "start": { - "line": 106, - "column": 117 + "line": 120, + "column": 16 }, "end": { - "line": 106, - "column": 118 + "line": 120, + "column": 17 } } }, @@ -19587,16 +18898,16 @@ "postfix": false, "binop": null }, - "start": 3884, - "end": 3885, + "start": 3483, + "end": 3484, "loc": { "start": { - "line": 106, - "column": 119 + "line": 120, + "column": 18 }, "end": { - "line": 106, - "column": 120 + "line": 120, + "column": 19 } } }, @@ -19615,16 +18926,16 @@ "updateContext": null }, "value": "return", - "start": 3926, - "end": 3932, + "start": 3503, + "end": 3509, "loc": { "start": { - "line": 107, - "column": 40 + "line": 121, + "column": 18 }, "end": { - "line": 107, - "column": 46 + "line": 121, + "column": 24 } } }, @@ -19643,16 +18954,42 @@ "updateContext": null }, "value": "false", - "start": 3933, - "end": 3938, + "start": 3510, + "end": 3515, "loc": { "start": { - "line": 107, - "column": 47 + "line": 121, + "column": 25 }, "end": { - "line": 107, - "column": 52 + "line": 121, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3515, + "end": 3516, + "loc": { + "start": { + "line": 121, + "column": 30 + }, + "end": { + "line": 121, + "column": 31 } } }, @@ -19668,16 +19005,16 @@ "postfix": false, "binop": null }, - "start": 3975, - "end": 3976, + "start": 3533, + "end": 3534, "loc": { "start": { - "line": 108, - "column": 36 + "line": 122, + "column": 16 }, "end": { - "line": 108, - "column": 37 + "line": 122, + "column": 17 } } }, @@ -19696,16 +19033,16 @@ "updateContext": null }, "value": "return", - "start": 4013, - "end": 4019, + "start": 3551, + "end": 3557, "loc": { "start": { - "line": 109, - "column": 36 + "line": 123, + "column": 16 }, "end": { - "line": 109, - "column": 42 + "line": 123, + "column": 22 } } }, @@ -19723,16 +19060,16 @@ "updateContext": null }, "value": "!", - "start": 4020, - "end": 4021, + "start": 3558, + "end": 3559, "loc": { "start": { - "line": 109, - "column": 43 + "line": 123, + "column": 23 }, "end": { - "line": 109, - "column": 44 + "line": 123, + "column": 24 } } }, @@ -19748,16 +19085,16 @@ "postfix": false, "binop": null }, - "start": 4021, - "end": 4022, + "start": 3559, + "end": 3560, "loc": { "start": { - "line": 109, - "column": 44 + "line": 123, + "column": 24 }, "end": { - "line": 109, - "column": 45 + "line": 123, + "column": 25 } } }, @@ -19776,16 +19113,16 @@ "updateContext": null }, "value": "this", - "start": 4022, - "end": 4026, + "start": 3579, + "end": 3583, "loc": { "start": { - "line": 109, - "column": 45 + "line": 124, + "column": 18 }, "end": { - "line": 109, - "column": 49 + "line": 124, + "column": 22 } } }, @@ -19802,16 +19139,16 @@ "binop": null, "updateContext": null }, - "start": 4026, - "end": 4027, + "start": 3583, + "end": 3584, "loc": { "start": { - "line": 109, - "column": 49 + "line": 124, + "column": 22 }, "end": { - "line": 109, - "column": 50 + "line": 124, + "column": 23 } } }, @@ -19828,16 +19165,16 @@ "binop": null }, "value": "filterConditions", - "start": 4027, - "end": 4043, + "start": 3584, + "end": 3600, "loc": { "start": { - "line": 109, - "column": 50 + "line": 124, + "column": 23 }, "end": { - "line": 109, - "column": 66 + "line": 124, + "column": 39 } } }, @@ -19854,16 +19191,16 @@ "binop": null, "updateContext": null }, - "start": 4043, - "end": 4044, + "start": 3600, + "end": 3601, "loc": { "start": { - "line": 109, - "column": 66 + "line": 124, + "column": 39 }, "end": { - "line": 109, - "column": 67 + "line": 124, + "column": 40 } } }, @@ -19880,16 +19217,16 @@ "binop": null }, "value": "artist", - "start": 4044, - "end": 4050, + "start": 3601, + "end": 3607, "loc": { "start": { - "line": 109, - "column": 67 + "line": 124, + "column": 40 }, "end": { - "line": 109, - "column": 73 + "line": 124, + "column": 46 } } }, @@ -19907,16 +19244,16 @@ "updateContext": null }, "value": "!==", - "start": 4051, - "end": 4054, + "start": 3608, + "end": 3611, "loc": { "start": { - "line": 109, - "column": 74 + "line": 124, + "column": 47 }, "end": { - "line": 109, - "column": 77 + "line": 124, + "column": 50 } } }, @@ -19933,16 +19270,16 @@ "binop": null }, "value": "undefined", - "start": 4055, - "end": 4064, + "start": 3612, + "end": 3621, "loc": { "start": { - "line": 109, - "column": 78 + "line": 124, + "column": 51 }, "end": { - "line": 109, - "column": 87 + "line": 124, + "column": 60 } } }, @@ -19960,16 +19297,16 @@ "updateContext": null }, "value": "&&", - "start": 4065, - "end": 4067, + "start": 3622, + "end": 3624, "loc": { "start": { - "line": 109, - "column": 88 + "line": 124, + "column": 61 }, "end": { - "line": 109, - "column": 90 + "line": 124, + "column": 63 } } }, @@ -19987,16 +19324,16 @@ "updateContext": null }, "value": "!", - "start": 4104, - "end": 4105, + "start": 3643, + "end": 3644, "loc": { "start": { - "line": 110, - "column": 36 + "line": 125, + "column": 18 }, "end": { - "line": 110, - "column": 37 + "line": 125, + "column": 19 } } }, @@ -20015,16 +19352,16 @@ "updateContext": null }, "value": "new", - "start": 4105, - "end": 4108, + "start": 3644, + "end": 3647, "loc": { "start": { - "line": 110, - "column": 37 + "line": 125, + "column": 19 }, "end": { - "line": 110, - "column": 40 + "line": 125, + "column": 22 } } }, @@ -20041,16 +19378,16 @@ "binop": null }, "value": "RegExp", - "start": 4109, - "end": 4115, + "start": 3648, + "end": 3654, "loc": { "start": { - "line": 110, - "column": 41 + "line": 125, + "column": 23 }, "end": { - "line": 110, - "column": 47 + "line": 125, + "column": 29 } } }, @@ -20066,16 +19403,16 @@ "postfix": false, "binop": null }, - "start": 4115, - "end": 4116, + "start": 3654, + "end": 3655, "loc": { "start": { - "line": 110, - "column": 47 + "line": 125, + "column": 29 }, "end": { - "line": 110, - "column": 48 + "line": 125, + "column": 30 } } }, @@ -20093,16 +19430,16 @@ "updateContext": null }, "value": ".*", - "start": 4116, - "end": 4120, + "start": 3655, + "end": 3659, "loc": { "start": { - "line": 110, - "column": 48 + "line": 125, + "column": 30 }, "end": { - "line": 110, - "column": 52 + "line": 125, + "column": 34 } } }, @@ -20120,16 +19457,16 @@ "updateContext": null }, "value": "+", - "start": 4121, - "end": 4122, + "start": 3660, + "end": 3661, "loc": { "start": { - "line": 110, - "column": 53 + "line": 125, + "column": 35 }, "end": { - "line": 110, - "column": 54 + "line": 125, + "column": 36 } } }, @@ -20148,16 +19485,16 @@ "updateContext": null }, "value": "this", - "start": 4123, - "end": 4127, + "start": 3662, + "end": 3666, "loc": { "start": { - "line": 110, - "column": 55 + "line": 125, + "column": 37 }, "end": { - "line": 110, - "column": 59 + "line": 125, + "column": 41 } } }, @@ -20174,16 +19511,16 @@ "binop": null, "updateContext": null }, - "start": 4127, - "end": 4128, + "start": 3666, + "end": 3667, "loc": { "start": { - "line": 110, - "column": 59 + "line": 125, + "column": 41 }, "end": { - "line": 110, - "column": 60 + "line": 125, + "column": 42 } } }, @@ -20200,16 +19537,16 @@ "binop": null }, "value": "filterConditions", - "start": 4128, - "end": 4144, + "start": 3667, + "end": 3683, "loc": { "start": { - "line": 110, - "column": 60 + "line": 125, + "column": 42 }, "end": { - "line": 110, - "column": 76 + "line": 125, + "column": 58 } } }, @@ -20226,16 +19563,16 @@ "binop": null, "updateContext": null }, - "start": 4144, - "end": 4145, + "start": 3683, + "end": 3684, "loc": { "start": { - "line": 110, - "column": 76 + "line": 125, + "column": 58 }, "end": { - "line": 110, - "column": 77 + "line": 125, + "column": 59 } } }, @@ -20252,16 +19589,16 @@ "binop": null }, "value": "artist", - "start": 4145, - "end": 4151, + "start": 3684, + "end": 3690, "loc": { "start": { - "line": 110, - "column": 77 + "line": 125, + "column": 59 }, "end": { - "line": 110, - "column": 83 + "line": 125, + "column": 65 } } }, @@ -20279,16 +19616,16 @@ "updateContext": null }, "value": "+", - "start": 4152, - "end": 4153, + "start": 3691, + "end": 3692, "loc": { "start": { - "line": 110, - "column": 84 + "line": 125, + "column": 66 }, "end": { - "line": 110, - "column": 85 + "line": 125, + "column": 67 } } }, @@ -20306,16 +19643,16 @@ "updateContext": null }, "value": ".*", - "start": 4154, - "end": 4158, + "start": 3693, + "end": 3697, "loc": { "start": { - "line": 110, - "column": 86 + "line": 125, + "column": 68 }, "end": { - "line": 110, - "column": 90 + "line": 125, + "column": 72 } } }, @@ -20331,16 +19668,16 @@ "postfix": false, "binop": null }, - "start": 4158, - "end": 4159, + "start": 3697, + "end": 3698, "loc": { "start": { - "line": 110, - "column": 90 + "line": 125, + "column": 72 }, "end": { - "line": 110, - "column": 91 + "line": 125, + "column": 73 } } }, @@ -20357,16 +19694,16 @@ "binop": null, "updateContext": null }, - "start": 4159, - "end": 4160, + "start": 3698, + "end": 3699, "loc": { "start": { - "line": 110, - "column": 91 + "line": 125, + "column": 73 }, "end": { - "line": 110, - "column": 92 + "line": 125, + "column": 74 } } }, @@ -20383,16 +19720,16 @@ "binop": null }, "value": "test", - "start": 4160, - "end": 4164, + "start": 3699, + "end": 3703, "loc": { "start": { - "line": 110, - "column": 92 + "line": 125, + "column": 74 }, "end": { - "line": 110, - "column": 96 + "line": 125, + "column": 78 } } }, @@ -20408,16 +19745,16 @@ "postfix": false, "binop": null }, - "start": 4164, - "end": 4165, + "start": 3703, + "end": 3704, "loc": { "start": { - "line": 110, - "column": 96 + "line": 125, + "column": 78 }, "end": { - "line": 110, - "column": 97 + "line": 125, + "column": 79 } } }, @@ -20434,16 +19771,16 @@ "binop": null }, "value": "track", - "start": 4165, - "end": 4170, + "start": 3725, + "end": 3730, "loc": { "start": { - "line": 110, - "column": 97 + "line": 126, + "column": 20 }, "end": { - "line": 110, - "column": 102 + "line": 126, + "column": 25 } } }, @@ -20460,16 +19797,16 @@ "binop": null, "updateContext": null }, - "start": 4170, - "end": 4171, + "start": 3730, + "end": 3731, "loc": { "start": { - "line": 110, - "column": 102 + "line": 126, + "column": 25 }, "end": { - "line": 110, - "column": 103 + "line": 126, + "column": 26 } } }, @@ -20486,16 +19823,16 @@ "binop": null }, "value": "album", - "start": 4171, - "end": 4176, + "start": 3731, + "end": 3736, "loc": { "start": { - "line": 110, - "column": 103 + "line": 126, + "column": 26 }, "end": { - "line": 110, - "column": 108 + "line": 126, + "column": 31 } } }, @@ -20512,16 +19849,16 @@ "binop": null, "updateContext": null }, - "start": 4176, - "end": 4177, + "start": 3736, + "end": 3737, "loc": { "start": { - "line": 110, - "column": 108 + "line": 126, + "column": 31 }, "end": { - "line": 110, - "column": 109 + "line": 126, + "column": 32 } } }, @@ -20538,16 +19875,16 @@ "binop": null }, "value": "artist", - "start": 4177, - "end": 4183, + "start": 3737, + "end": 3743, "loc": { "start": { - "line": 110, - "column": 109 + "line": 126, + "column": 32 }, "end": { - "line": 110, - "column": 115 + "line": 126, + "column": 38 } } }, @@ -20564,16 +19901,16 @@ "binop": null, "updateContext": null }, - "start": 4183, - "end": 4184, + "start": 3743, + "end": 3744, "loc": { "start": { - "line": 110, - "column": 115 + "line": 126, + "column": 38 }, "end": { - "line": 110, - "column": 116 + "line": 126, + "column": 39 } } }, @@ -20590,16 +19927,16 @@ "binop": null }, "value": "name", - "start": 4184, - "end": 4188, + "start": 3744, + "end": 3748, "loc": { "start": { - "line": 110, - "column": 116 + "line": 126, + "column": 39 }, "end": { - "line": 110, - "column": 120 + "line": 126, + "column": 43 } } }, @@ -20615,16 +19952,16 @@ "postfix": false, "binop": null }, - "start": 4188, - "end": 4189, + "start": 3767, + "end": 3768, "loc": { "start": { - "line": 110, - "column": 120 + "line": 127, + "column": 18 }, "end": { - "line": 110, - "column": 121 + "line": 127, + "column": 19 } } }, @@ -20640,16 +19977,42 @@ "postfix": false, "binop": null }, - "start": 4189, - "end": 4190, + "start": 3785, + "end": 3786, "loc": { "start": { - "line": 110, - "column": 121 + "line": 128, + "column": 16 }, "end": { - "line": 110, - "column": 122 + "line": 128, + "column": 17 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3786, + "end": 3787, + "loc": { + "start": { + "line": 128, + "column": 17 + }, + "end": { + "line": 128, + "column": 18 } } }, @@ -20665,16 +20028,16 @@ "postfix": false, "binop": null }, - "start": 4223, - "end": 4224, + "start": 3802, + "end": 3803, "loc": { "start": { - "line": 111, - "column": 32 + "line": 129, + "column": 14 }, "end": { - "line": 111, - "column": 33 + "line": 129, + "column": 15 } } }, @@ -20690,16 +20053,16 @@ "postfix": false, "binop": null }, - "start": 4224, - "end": 4225, + "start": 3803, + "end": 3804, "loc": { "start": { - "line": 111, - "column": 33 + "line": 129, + "column": 15 }, "end": { - "line": 111, - "column": 34 + "line": 129, + "column": 16 } } }, @@ -20715,22 +20078,47 @@ "postfix": false, "binop": null }, - "start": 4250, - "end": 4251, + "start": 3817, + "end": 3818, "loc": { "start": { - "line": 112, - "column": 24 + "line": 130, + "column": 12 }, "end": { - "line": 112, - "column": 25 + "line": 130, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3818, + "end": 3819, + "loc": { + "start": { + "line": 130, + "column": 13 + }, + "end": { + "line": 130, + "column": 14 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -20740,41 +20128,42 @@ "postfix": false, "binop": null }, - "start": 4251, - "end": 4252, + "start": 3830, + "end": 3831, "loc": { "start": { - "line": 112, - "column": 25 + "line": 131, + "column": 10 }, "end": { - "line": 112, - "column": 26 + "line": 131, + "column": 11 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4273, - "end": 4274, + "start": 3831, + "end": 3832, "loc": { "start": { - "line": 113, - "column": 20 + "line": 131, + "column": 11 }, "end": { - "line": 113, - "column": 21 + "line": 131, + "column": 12 } } }, @@ -20793,16 +20182,16 @@ "updateContext": null }, "value": "case", - "start": 4311, - "end": 4315, + "start": 3841, + "end": 3845, "loc": { "start": { - "line": 114, - "column": 16 + "line": 132, + "column": 8 }, "end": { - "line": 114, - "column": 20 + "line": 132, + "column": 12 } } }, @@ -20820,16 +20209,16 @@ "updateContext": null }, "value": "albums", - "start": 4316, - "end": 4324, + "start": 3846, + "end": 3854, "loc": { "start": { - "line": 114, - "column": 21 + "line": 132, + "column": 13 }, "end": { - "line": 114, - "column": 29 + "line": 132, + "column": 21 } } }, @@ -20846,16 +20235,16 @@ "binop": null, "updateContext": null }, - "start": 4324, - "end": 4325, + "start": 3854, + "end": 3855, "loc": { "start": { - "line": 114, - "column": 29 + "line": 132, + "column": 21 }, "end": { - "line": 114, - "column": 30 + "line": 132, + "column": 22 } } }, @@ -20874,16 +20263,16 @@ "updateContext": null }, "value": "return", - "start": 4346, - "end": 4352, + "start": 3866, + "end": 3872, "loc": { "start": { - "line": 115, - "column": 20 + "line": 133, + "column": 10 }, "end": { - "line": 115, - "column": 26 + "line": 133, + "column": 16 } } }, @@ -20899,16 +20288,16 @@ "postfix": false, "binop": null }, - "start": 4353, - "end": 4354, + "start": 3873, + "end": 3874, "loc": { "start": { - "line": 115, - "column": 27 + "line": 133, + "column": 17 }, "end": { - "line": 115, - "column": 28 + "line": 133, + "column": 18 } } }, @@ -20925,16 +20314,16 @@ "binop": null, "updateContext": null }, - "start": 4379, - "end": 4380, + "start": 3887, + "end": 3888, "loc": { "start": { - "line": 116, - "column": 24 + "line": 134, + "column": 12 }, "end": { - "line": 116, - "column": 25 + "line": 134, + "column": 13 } } }, @@ -20951,16 +20340,16 @@ "binop": null }, "value": "key", - "start": 4380, - "end": 4383, + "start": 3888, + "end": 3891, "loc": { "start": { - "line": 116, - "column": 25 + "line": 134, + "column": 13 }, "end": { - "line": 116, - "column": 28 + "line": 134, + "column": 16 } } }, @@ -20977,16 +20366,16 @@ "binop": null, "updateContext": null }, - "start": 4383, - "end": 4384, + "start": 3891, + "end": 3892, "loc": { "start": { - "line": 116, - "column": 28 + "line": 134, + "column": 16 }, "end": { - "line": 116, - "column": 29 + "line": 134, + "column": 17 } } }, @@ -21003,16 +20392,16 @@ "binop": null, "updateContext": null }, - "start": 4384, - "end": 4385, + "start": 3892, + "end": 3893, "loc": { "start": { - "line": 116, - "column": 29 + "line": 134, + "column": 17 }, "end": { - "line": 116, - "column": 30 + "line": 134, + "column": 18 } } }, @@ -21029,16 +20418,16 @@ "binop": null }, "value": "Object", - "start": 4386, - "end": 4392, + "start": 3894, + "end": 3900, "loc": { "start": { - "line": 116, - "column": 31 + "line": 134, + "column": 19 }, "end": { - "line": 116, - "column": 37 + "line": 134, + "column": 25 } } }, @@ -21055,16 +20444,16 @@ "binop": null, "updateContext": null }, - "start": 4392, - "end": 4393, + "start": 3900, + "end": 3901, "loc": { "start": { - "line": 116, - "column": 37 + "line": 134, + "column": 25 }, "end": { - "line": 116, - "column": 38 + "line": 134, + "column": 26 } } }, @@ -21081,16 +20470,16 @@ "binop": null }, "value": "assign", - "start": 4393, - "end": 4399, + "start": 3901, + "end": 3907, "loc": { "start": { - "line": 116, - "column": 38 + "line": 134, + "column": 26 }, "end": { - "line": 116, - "column": 44 + "line": 134, + "column": 32 } } }, @@ -21106,16 +20495,16 @@ "postfix": false, "binop": null }, - "start": 4399, - "end": 4400, + "start": 3907, + "end": 3908, "loc": { "start": { - "line": 116, - "column": 44 + "line": 134, + "column": 32 }, "end": { - "line": 116, - "column": 45 + "line": 134, + "column": 33 } } }, @@ -21132,16 +20521,16 @@ "binop": null }, "value": "response", - "start": 4400, - "end": 4408, + "start": 3908, + "end": 3916, "loc": { "start": { - "line": 116, - "column": 45 + "line": 134, + "column": 33 }, "end": { - "line": 116, - "column": 53 + "line": 134, + "column": 41 } } }, @@ -21158,16 +20547,16 @@ "binop": null, "updateContext": null }, - "start": 4408, - "end": 4409, + "start": 3916, + "end": 3917, "loc": { "start": { - "line": 116, - "column": 53 + "line": 134, + "column": 41 }, "end": { - "line": 116, - "column": 54 + "line": 134, + "column": 42 } } }, @@ -21184,16 +20573,16 @@ "binop": null }, "value": "data", - "start": 4409, - "end": 4413, + "start": 3917, + "end": 3921, "loc": { "start": { - "line": 116, - "column": 54 + "line": 134, + "column": 42 }, "end": { - "line": 116, - "column": 58 + "line": 134, + "column": 46 } } }, @@ -21210,16 +20599,16 @@ "binop": null, "updateContext": null }, - "start": 4413, - "end": 4414, + "start": 3921, + "end": 3922, "loc": { "start": { - "line": 116, - "column": 58 + "line": 134, + "column": 46 }, "end": { - "line": 116, - "column": 59 + "line": 134, + "column": 47 } } }, @@ -21236,16 +20625,16 @@ "binop": null }, "value": "key", - "start": 4414, - "end": 4417, + "start": 3922, + "end": 3925, "loc": { "start": { - "line": 116, - "column": 59 + "line": 134, + "column": 47 }, "end": { - "line": 116, - "column": 62 + "line": 134, + "column": 50 } } }, @@ -21262,16 +20651,16 @@ "binop": null, "updateContext": null }, - "start": 4417, - "end": 4418, + "start": 3925, + "end": 3926, "loc": { "start": { - "line": 116, - "column": 62 + "line": 134, + "column": 50 }, "end": { - "line": 116, - "column": 63 + "line": 134, + "column": 51 } } }, @@ -21288,16 +20677,16 @@ "binop": null, "updateContext": null }, - "start": 4418, - "end": 4419, + "start": 3926, + "end": 3927, "loc": { "start": { - "line": 116, - "column": 63 + "line": 134, + "column": 51 }, "end": { - "line": 116, - "column": 64 + "line": 134, + "column": 52 } } }, @@ -21313,16 +20702,16 @@ "postfix": false, "binop": null }, - "start": 4420, - "end": 4421, + "start": 3928, + "end": 3929, "loc": { "start": { - "line": 116, - "column": 65 + "line": 134, + "column": 53 }, "end": { - "line": 116, - "column": 66 + "line": 134, + "column": 54 } } }, @@ -21339,16 +20728,16 @@ "binop": null }, "value": "data", - "start": 4450, - "end": 4454, + "start": 3944, + "end": 3948, "loc": { "start": { - "line": 117, - "column": 28 + "line": 135, + "column": 14 }, "end": { - "line": 117, - "column": 32 + "line": 135, + "column": 18 } } }, @@ -21365,16 +20754,16 @@ "binop": null, "updateContext": null }, - "start": 4454, - "end": 4455, + "start": 3948, + "end": 3949, "loc": { "start": { - "line": 117, - "column": 32 + "line": 135, + "column": 18 }, "end": { - "line": 117, - "column": 33 + "line": 135, + "column": 19 } } }, @@ -21391,16 +20780,16 @@ "binop": null }, "value": "response", - "start": 4456, - "end": 4464, + "start": 3950, + "end": 3958, "loc": { "start": { - "line": 117, - "column": 34 + "line": 135, + "column": 20 }, "end": { - "line": 117, - "column": 42 + "line": 135, + "column": 28 } } }, @@ -21417,16 +20806,16 @@ "binop": null, "updateContext": null }, - "start": 4464, - "end": 4465, + "start": 3958, + "end": 3959, "loc": { "start": { - "line": 117, - "column": 42 + "line": 135, + "column": 28 }, "end": { - "line": 117, - "column": 43 + "line": 135, + "column": 29 } } }, @@ -21443,16 +20832,16 @@ "binop": null }, "value": "data", - "start": 4465, - "end": 4469, + "start": 3959, + "end": 3963, "loc": { "start": { - "line": 117, - "column": 43 + "line": 135, + "column": 29 }, "end": { - "line": 117, - "column": 47 + "line": 135, + "column": 33 } } }, @@ -21469,16 +20858,16 @@ "binop": null, "updateContext": null }, - "start": 4469, - "end": 4470, + "start": 3963, + "end": 3964, "loc": { "start": { - "line": 117, - "column": 47 + "line": 135, + "column": 33 }, "end": { - "line": 117, - "column": 48 + "line": 135, + "column": 34 } } }, @@ -21495,16 +20884,16 @@ "binop": null }, "value": "key", - "start": 4470, - "end": 4473, + "start": 3964, + "end": 3967, "loc": { "start": { - "line": 117, - "column": 48 + "line": 135, + "column": 34 }, "end": { - "line": 117, - "column": 51 + "line": 135, + "column": 37 } } }, @@ -21521,16 +20910,16 @@ "binop": null, "updateContext": null }, - "start": 4473, - "end": 4474, + "start": 3967, + "end": 3968, "loc": { "start": { - "line": 117, - "column": 51 + "line": 135, + "column": 37 }, "end": { - "line": 117, - "column": 52 + "line": 135, + "column": 38 } } }, @@ -21547,16 +20936,16 @@ "binop": null, "updateContext": null }, - "start": 4474, - "end": 4475, + "start": 3968, + "end": 3969, "loc": { "start": { - "line": 117, - "column": 52 + "line": 135, + "column": 38 }, "end": { - "line": 117, - "column": 53 + "line": 135, + "column": 39 } } }, @@ -21573,16 +20962,16 @@ "binop": null }, "value": "data", - "start": 4475, - "end": 4479, + "start": 3969, + "end": 3973, "loc": { "start": { - "line": 117, - "column": 53 + "line": 135, + "column": 39 }, "end": { - "line": 117, - "column": 57 + "line": 135, + "column": 43 } } }, @@ -21599,16 +20988,16 @@ "binop": null, "updateContext": null }, - "start": 4512, - "end": 4513, + "start": 3973, + "end": 3974, "loc": { "start": { - "line": 118, - "column": 32 + "line": 135, + "column": 43 }, "end": { - "line": 118, - "column": 33 + "line": 135, + "column": 44 } } }, @@ -21625,16 +21014,16 @@ "binop": null }, "value": "filter", - "start": 4513, - "end": 4519, + "start": 3974, + "end": 3980, "loc": { "start": { - "line": 118, - "column": 33 + "line": 135, + "column": 44 }, "end": { - "line": 118, - "column": 39 + "line": 135, + "column": 50 } } }, @@ -21650,16 +21039,16 @@ "postfix": false, "binop": null }, - "start": 4519, - "end": 4520, + "start": 3980, + "end": 3981, "loc": { "start": { - "line": 118, - "column": 39 + "line": 135, + "column": 50 }, "end": { - "line": 118, - "column": 40 + "line": 135, + "column": 51 } } }, @@ -21676,16 +21065,16 @@ "binop": null }, "value": "album", - "start": 4520, - "end": 4525, + "start": 3981, + "end": 3986, "loc": { "start": { - "line": 118, - "column": 40 + "line": 135, + "column": 51 }, "end": { - "line": 118, - "column": 45 + "line": 135, + "column": 56 } } }, @@ -21702,16 +21091,16 @@ "binop": null, "updateContext": null }, - "start": 4526, - "end": 4528, + "start": 3987, + "end": 3989, "loc": { "start": { - "line": 118, - "column": 46 + "line": 135, + "column": 57 }, "end": { - "line": 118, - "column": 48 + "line": 135, + "column": 59 } } }, @@ -21727,16 +21116,16 @@ "postfix": false, "binop": null }, - "start": 4529, - "end": 4530, + "start": 3990, + "end": 3991, "loc": { "start": { - "line": 118, - "column": 49 + "line": 135, + "column": 60 }, "end": { - "line": 118, - "column": 50 + "line": 135, + "column": 61 } } }, @@ -21755,16 +21144,16 @@ "updateContext": null }, "value": "if", - "start": 4567, - "end": 4569, + "start": 4008, + "end": 4010, "loc": { "start": { - "line": 119, - "column": 36 + "line": 136, + "column": 16 }, "end": { - "line": 119, - "column": 38 + "line": 136, + "column": 18 } } }, @@ -21780,16 +21169,16 @@ "postfix": false, "binop": null }, - "start": 4570, - "end": 4571, + "start": 4011, + "end": 4012, "loc": { "start": { - "line": 119, - "column": 39 + "line": 136, + "column": 19 }, "end": { - "line": 119, - "column": 40 + "line": 136, + "column": 20 } } }, @@ -21808,16 +21197,16 @@ "updateContext": null }, "value": "this", - "start": 4571, - "end": 4575, + "start": 4031, + "end": 4035, "loc": { "start": { - "line": 119, - "column": 40 + "line": 137, + "column": 18 }, "end": { - "line": 119, - "column": 44 + "line": 137, + "column": 22 } } }, @@ -21834,16 +21223,16 @@ "binop": null, "updateContext": null }, - "start": 4575, - "end": 4576, + "start": 4035, + "end": 4036, "loc": { "start": { - "line": 119, - "column": 44 + "line": 137, + "column": 22 }, "end": { - "line": 119, - "column": 45 + "line": 137, + "column": 23 } } }, @@ -21860,16 +21249,16 @@ "binop": null }, "value": "filterConditions", - "start": 4576, - "end": 4592, + "start": 4036, + "end": 4052, "loc": { "start": { - "line": 119, - "column": 45 + "line": 137, + "column": 23 }, "end": { - "line": 119, - "column": 61 + "line": 137, + "column": 39 } } }, @@ -21886,16 +21275,16 @@ "binop": null, "updateContext": null }, - "start": 4592, - "end": 4593, + "start": 4052, + "end": 4053, "loc": { "start": { - "line": 119, - "column": 61 + "line": 137, + "column": 39 }, "end": { - "line": 119, - "column": 62 + "line": 137, + "column": 40 } } }, @@ -21911,17 +21300,17 @@ "postfix": false, "binop": null }, - "value": "available_territory", - "start": 4593, - "end": 4612, + "value": "availableTerritory", + "start": 4053, + "end": 4071, "loc": { "start": { - "line": 119, - "column": 62 + "line": 137, + "column": 40 }, "end": { - "line": 119, - "column": 81 + "line": 137, + "column": 58 } } }, @@ -21939,16 +21328,16 @@ "updateContext": null }, "value": "!==", - "start": 4613, - "end": 4616, + "start": 4072, + "end": 4075, "loc": { "start": { - "line": 119, - "column": 82 + "line": 137, + "column": 59 }, "end": { - "line": 119, - "column": 85 + "line": 137, + "column": 62 } } }, @@ -21965,16 +21354,16 @@ "binop": null }, "value": "undefined", - "start": 4617, - "end": 4626, + "start": 4076, + "end": 4085, "loc": { "start": { - "line": 119, - "column": 86 + "line": 137, + "column": 63 }, "end": { - "line": 119, - "column": 95 + "line": 137, + "column": 72 } } }, @@ -21992,16 +21381,16 @@ "updateContext": null }, "value": "&&", - "start": 4627, - "end": 4629, + "start": 4086, + "end": 4088, "loc": { "start": { - "line": 119, - "column": 96 + "line": 137, + "column": 73 }, "end": { - "line": 119, - "column": 98 + "line": 137, + "column": 75 } } }, @@ -22019,16 +21408,16 @@ "updateContext": null }, "value": "!", - "start": 4670, - "end": 4671, + "start": 4107, + "end": 4108, "loc": { "start": { - "line": 120, - "column": 40 + "line": 138, + "column": 18 }, "end": { - "line": 120, - "column": 41 + "line": 138, + "column": 19 } } }, @@ -22045,16 +21434,16 @@ "binop": null }, "value": "album", - "start": 4671, - "end": 4676, + "start": 4108, + "end": 4113, "loc": { "start": { - "line": 120, - "column": 41 + "line": 138, + "column": 19 }, "end": { - "line": 120, - "column": 46 + "line": 138, + "column": 24 } } }, @@ -22071,16 +21460,16 @@ "binop": null, "updateContext": null }, - "start": 4676, - "end": 4677, + "start": 4113, + "end": 4114, "loc": { "start": { - "line": 120, - "column": 46 + "line": 138, + "column": 24 }, "end": { - "line": 120, - "column": 47 + "line": 138, + "column": 25 } } }, @@ -22097,16 +21486,16 @@ "binop": null }, "value": "available_territories", - "start": 4677, - "end": 4698, + "start": 4114, + "end": 4135, "loc": { "start": { - "line": 120, - "column": 47 + "line": 138, + "column": 25 }, "end": { - "line": 120, - "column": 68 + "line": 138, + "column": 46 } } }, @@ -22123,16 +21512,16 @@ "binop": null, "updateContext": null }, - "start": 4698, - "end": 4699, + "start": 4135, + "end": 4136, "loc": { "start": { - "line": 120, - "column": 68 + "line": 138, + "column": 46 }, "end": { - "line": 120, - "column": 69 + "line": 138, + "column": 47 } } }, @@ -22149,16 +21538,16 @@ "binop": null }, "value": "includes", - "start": 4699, - "end": 4707, + "start": 4136, + "end": 4144, "loc": { "start": { - "line": 120, - "column": 69 + "line": 138, + "column": 47 }, "end": { - "line": 120, - "column": 77 + "line": 138, + "column": 55 } } }, @@ -22174,16 +21563,16 @@ "postfix": false, "binop": null }, - "start": 4707, - "end": 4708, + "start": 4144, + "end": 4145, "loc": { "start": { - "line": 120, - "column": 77 + "line": 138, + "column": 55 }, "end": { - "line": 120, - "column": 78 + "line": 138, + "column": 56 } } }, @@ -22202,16 +21591,16 @@ "updateContext": null }, "value": "this", - "start": 4708, - "end": 4712, + "start": 4166, + "end": 4170, "loc": { "start": { - "line": 120, - "column": 78 + "line": 139, + "column": 20 }, "end": { - "line": 120, - "column": 82 + "line": 139, + "column": 24 } } }, @@ -22228,16 +21617,16 @@ "binop": null, "updateContext": null }, - "start": 4712, - "end": 4713, + "start": 4170, + "end": 4171, "loc": { "start": { - "line": 120, - "column": 82 + "line": 139, + "column": 24 }, "end": { - "line": 120, - "column": 83 + "line": 139, + "column": 25 } } }, @@ -22254,16 +21643,16 @@ "binop": null }, "value": "filterConditions", - "start": 4713, - "end": 4729, + "start": 4171, + "end": 4187, "loc": { "start": { - "line": 120, - "column": 83 + "line": 139, + "column": 25 }, "end": { - "line": 120, - "column": 99 + "line": 139, + "column": 41 } } }, @@ -22280,16 +21669,16 @@ "binop": null, "updateContext": null }, - "start": 4729, - "end": 4730, + "start": 4187, + "end": 4188, "loc": { "start": { - "line": 120, - "column": 99 + "line": 139, + "column": 41 }, "end": { - "line": 120, - "column": 100 + "line": 139, + "column": 42 } } }, @@ -22305,17 +21694,17 @@ "postfix": false, "binop": null }, - "value": "available_territory", - "start": 4730, - "end": 4749, + "value": "availableTerritory", + "start": 4188, + "end": 4206, "loc": { "start": { - "line": 120, - "column": 100 + "line": 139, + "column": 42 }, "end": { - "line": 120, - "column": 119 + "line": 139, + "column": 60 } } }, @@ -22331,16 +21720,16 @@ "postfix": false, "binop": null }, - "start": 4749, - "end": 4750, + "start": 4225, + "end": 4226, "loc": { "start": { - "line": 120, - "column": 119 + "line": 140, + "column": 18 }, "end": { - "line": 120, - "column": 120 + "line": 140, + "column": 19 } } }, @@ -22356,16 +21745,16 @@ "postfix": false, "binop": null }, - "start": 4750, - "end": 4751, + "start": 4243, + "end": 4244, "loc": { "start": { - "line": 120, - "column": 120 + "line": 141, + "column": 16 }, "end": { - "line": 120, - "column": 121 + "line": 141, + "column": 17 } } }, @@ -22381,16 +21770,16 @@ "postfix": false, "binop": null }, - "start": 4752, - "end": 4753, + "start": 4245, + "end": 4246, "loc": { "start": { - "line": 120, - "column": 122 + "line": 141, + "column": 18 }, "end": { - "line": 120, - "column": 123 + "line": 141, + "column": 19 } } }, @@ -22409,16 +21798,16 @@ "updateContext": null }, "value": "return", - "start": 4794, - "end": 4800, + "start": 4265, + "end": 4271, "loc": { "start": { - "line": 121, - "column": 40 + "line": 142, + "column": 18 }, "end": { - "line": 121, - "column": 46 + "line": 142, + "column": 24 } } }, @@ -22437,16 +21826,42 @@ "updateContext": null }, "value": "false", - "start": 4801, - "end": 4806, + "start": 4272, + "end": 4277, "loc": { "start": { - "line": 121, - "column": 47 + "line": 142, + "column": 25 }, "end": { - "line": 121, - "column": 52 + "line": 142, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4277, + "end": 4278, + "loc": { + "start": { + "line": 142, + "column": 30 + }, + "end": { + "line": 142, + "column": 31 } } }, @@ -22462,16 +21877,16 @@ "postfix": false, "binop": null }, - "start": 4843, - "end": 4844, + "start": 4295, + "end": 4296, "loc": { "start": { - "line": 122, - "column": 36 + "line": 143, + "column": 16 }, "end": { - "line": 122, - "column": 37 + "line": 143, + "column": 17 } } }, @@ -22490,16 +21905,16 @@ "updateContext": null }, "value": "if", - "start": 4881, - "end": 4883, + "start": 4313, + "end": 4315, "loc": { "start": { - "line": 123, - "column": 36 + "line": 144, + "column": 16 }, "end": { - "line": 123, - "column": 38 + "line": 144, + "column": 18 } } }, @@ -22515,16 +21930,16 @@ "postfix": false, "binop": null }, - "start": 4884, - "end": 4885, + "start": 4316, + "end": 4317, "loc": { "start": { - "line": 123, - "column": 39 + "line": 144, + "column": 19 }, "end": { - "line": 123, - "column": 40 + "line": 144, + "column": 20 } } }, @@ -22543,16 +21958,16 @@ "updateContext": null }, "value": "this", - "start": 4885, - "end": 4889, + "start": 4336, + "end": 4340, "loc": { "start": { - "line": 123, - "column": 40 + "line": 145, + "column": 18 }, "end": { - "line": 123, - "column": 44 + "line": 145, + "column": 22 } } }, @@ -22569,16 +21984,16 @@ "binop": null, "updateContext": null }, - "start": 4889, - "end": 4890, + "start": 4340, + "end": 4341, "loc": { "start": { - "line": 123, - "column": 44 + "line": 145, + "column": 22 }, "end": { - "line": 123, - "column": 45 + "line": 145, + "column": 23 } } }, @@ -22595,16 +22010,16 @@ "binop": null }, "value": "filterConditions", - "start": 4890, - "end": 4906, + "start": 4341, + "end": 4357, "loc": { "start": { - "line": 123, - "column": 45 + "line": 145, + "column": 23 }, "end": { - "line": 123, - "column": 61 + "line": 145, + "column": 39 } } }, @@ -22621,16 +22036,16 @@ "binop": null, "updateContext": null }, - "start": 4906, - "end": 4907, + "start": 4357, + "end": 4358, "loc": { "start": { - "line": 123, - "column": 61 + "line": 145, + "column": 39 }, "end": { - "line": 123, - "column": 62 + "line": 145, + "column": 40 } } }, @@ -22647,16 +22062,16 @@ "binop": null }, "value": "album", - "start": 4907, - "end": 4912, + "start": 4358, + "end": 4363, "loc": { "start": { - "line": 123, - "column": 62 + "line": 145, + "column": 40 }, "end": { - "line": 123, - "column": 67 + "line": 145, + "column": 45 } } }, @@ -22674,16 +22089,16 @@ "updateContext": null }, "value": "!==", - "start": 4913, - "end": 4916, + "start": 4364, + "end": 4367, "loc": { "start": { - "line": 123, - "column": 68 + "line": 145, + "column": 46 }, "end": { - "line": 123, - "column": 71 + "line": 145, + "column": 49 } } }, @@ -22700,16 +22115,16 @@ "binop": null }, "value": "undefined", - "start": 4917, - "end": 4926, + "start": 4368, + "end": 4377, "loc": { "start": { - "line": 123, - "column": 72 + "line": 145, + "column": 50 }, "end": { - "line": 123, - "column": 81 + "line": 145, + "column": 59 } } }, @@ -22727,16 +22142,16 @@ "updateContext": null }, "value": "&&", - "start": 4927, - "end": 4929, + "start": 4378, + "end": 4380, "loc": { "start": { - "line": 123, - "column": 82 + "line": 145, + "column": 60 }, "end": { - "line": 123, - "column": 84 + "line": 145, + "column": 62 } } }, @@ -22754,16 +22169,16 @@ "updateContext": null }, "value": "!", - "start": 4970, - "end": 4971, + "start": 4399, + "end": 4400, "loc": { "start": { - "line": 124, - "column": 40 + "line": 146, + "column": 18 }, "end": { - "line": 124, - "column": 41 + "line": 146, + "column": 19 } } }, @@ -22782,16 +22197,16 @@ "updateContext": null }, "value": "new", - "start": 4971, - "end": 4974, + "start": 4400, + "end": 4403, "loc": { "start": { - "line": 124, - "column": 41 + "line": 146, + "column": 19 }, "end": { - "line": 124, - "column": 44 + "line": 146, + "column": 22 } } }, @@ -22808,16 +22223,16 @@ "binop": null }, "value": "RegExp", - "start": 4975, - "end": 4981, + "start": 4404, + "end": 4410, "loc": { "start": { - "line": 124, - "column": 45 + "line": 146, + "column": 23 }, "end": { - "line": 124, - "column": 51 + "line": 146, + "column": 29 } } }, @@ -22833,16 +22248,16 @@ "postfix": false, "binop": null }, - "start": 4981, - "end": 4982, + "start": 4410, + "end": 4411, "loc": { "start": { - "line": 124, - "column": 51 + "line": 146, + "column": 29 }, "end": { - "line": 124, - "column": 52 + "line": 146, + "column": 30 } } }, @@ -22860,16 +22275,16 @@ "updateContext": null }, "value": ".*", - "start": 4982, - "end": 4986, + "start": 4411, + "end": 4415, "loc": { "start": { - "line": 124, - "column": 52 + "line": 146, + "column": 30 }, "end": { - "line": 124, - "column": 56 + "line": 146, + "column": 34 } } }, @@ -22887,16 +22302,16 @@ "updateContext": null }, "value": "+", - "start": 4987, - "end": 4988, + "start": 4416, + "end": 4417, "loc": { "start": { - "line": 124, - "column": 57 + "line": 146, + "column": 35 }, "end": { - "line": 124, - "column": 58 + "line": 146, + "column": 36 } } }, @@ -22915,16 +22330,16 @@ "updateContext": null }, "value": "this", - "start": 4989, - "end": 4993, + "start": 4418, + "end": 4422, "loc": { "start": { - "line": 124, - "column": 59 + "line": 146, + "column": 37 }, "end": { - "line": 124, - "column": 63 + "line": 146, + "column": 41 } } }, @@ -22941,16 +22356,16 @@ "binop": null, "updateContext": null }, - "start": 4993, - "end": 4994, + "start": 4422, + "end": 4423, "loc": { "start": { - "line": 124, - "column": 63 + "line": 146, + "column": 41 }, "end": { - "line": 124, - "column": 64 + "line": 146, + "column": 42 } } }, @@ -22967,16 +22382,16 @@ "binop": null }, "value": "filterConditions", - "start": 4994, - "end": 5010, + "start": 4423, + "end": 4439, "loc": { "start": { - "line": 124, - "column": 64 + "line": 146, + "column": 42 }, "end": { - "line": 124, - "column": 80 + "line": 146, + "column": 58 } } }, @@ -22993,16 +22408,16 @@ "binop": null, "updateContext": null }, - "start": 5010, - "end": 5011, + "start": 4439, + "end": 4440, "loc": { "start": { - "line": 124, - "column": 80 + "line": 146, + "column": 58 }, "end": { - "line": 124, - "column": 81 + "line": 146, + "column": 59 } } }, @@ -23019,16 +22434,16 @@ "binop": null }, "value": "album", - "start": 5011, - "end": 5016, + "start": 4440, + "end": 4445, "loc": { "start": { - "line": 124, - "column": 81 + "line": 146, + "column": 59 }, "end": { - "line": 124, - "column": 86 + "line": 146, + "column": 64 } } }, @@ -23046,16 +22461,16 @@ "updateContext": null }, "value": "+", - "start": 5017, - "end": 5018, + "start": 4446, + "end": 4447, "loc": { "start": { - "line": 124, - "column": 87 + "line": 146, + "column": 65 }, "end": { - "line": 124, - "column": 88 + "line": 146, + "column": 66 } } }, @@ -23073,16 +22488,16 @@ "updateContext": null }, "value": ".*", - "start": 5019, - "end": 5023, + "start": 4448, + "end": 4452, "loc": { "start": { - "line": 124, - "column": 89 + "line": 146, + "column": 67 }, "end": { - "line": 124, - "column": 93 + "line": 146, + "column": 71 } } }, @@ -23098,16 +22513,16 @@ "postfix": false, "binop": null }, - "start": 5023, - "end": 5024, + "start": 4452, + "end": 4453, "loc": { "start": { - "line": 124, - "column": 93 + "line": 146, + "column": 71 }, "end": { - "line": 124, - "column": 94 + "line": 146, + "column": 72 } } }, @@ -23124,16 +22539,16 @@ "binop": null, "updateContext": null }, - "start": 5024, - "end": 5025, + "start": 4453, + "end": 4454, "loc": { "start": { - "line": 124, - "column": 94 + "line": 146, + "column": 72 }, "end": { - "line": 124, - "column": 95 + "line": 146, + "column": 73 } } }, @@ -23150,16 +22565,16 @@ "binop": null }, "value": "test", - "start": 5025, - "end": 5029, + "start": 4454, + "end": 4458, "loc": { "start": { - "line": 124, - "column": 95 + "line": 146, + "column": 73 }, "end": { - "line": 124, - "column": 99 + "line": 146, + "column": 77 } } }, @@ -23175,16 +22590,16 @@ "postfix": false, "binop": null }, - "start": 5029, - "end": 5030, + "start": 4458, + "end": 4459, "loc": { "start": { - "line": 124, - "column": 99 + "line": 146, + "column": 77 }, "end": { - "line": 124, - "column": 100 + "line": 146, + "column": 78 } } }, @@ -23201,16 +22616,16 @@ "binop": null }, "value": "album", - "start": 5030, - "end": 5035, + "start": 4480, + "end": 4485, "loc": { "start": { - "line": 124, - "column": 100 + "line": 147, + "column": 20 }, "end": { - "line": 124, - "column": 105 + "line": 147, + "column": 25 } } }, @@ -23227,16 +22642,16 @@ "binop": null, "updateContext": null }, - "start": 5035, - "end": 5036, + "start": 4485, + "end": 4486, "loc": { "start": { - "line": 124, - "column": 105 + "line": 147, + "column": 25 }, "end": { - "line": 124, - "column": 106 + "line": 147, + "column": 26 } } }, @@ -23253,16 +22668,16 @@ "binop": null }, "value": "name", - "start": 5036, - "end": 5040, + "start": 4486, + "end": 4490, "loc": { "start": { - "line": 124, - "column": 106 + "line": 147, + "column": 26 }, "end": { - "line": 124, - "column": 110 + "line": 147, + "column": 30 } } }, @@ -23278,16 +22693,16 @@ "postfix": false, "binop": null }, - "start": 5040, - "end": 5041, + "start": 4509, + "end": 4510, "loc": { "start": { - "line": 124, - "column": 110 + "line": 148, + "column": 18 }, "end": { - "line": 124, - "column": 111 + "line": 148, + "column": 19 } } }, @@ -23303,16 +22718,16 @@ "postfix": false, "binop": null }, - "start": 5041, - "end": 5042, + "start": 4527, + "end": 4528, "loc": { "start": { - "line": 124, - "column": 111 + "line": 149, + "column": 16 }, "end": { - "line": 124, - "column": 112 + "line": 149, + "column": 17 } } }, @@ -23328,16 +22743,16 @@ "postfix": false, "binop": null }, - "start": 5043, - "end": 5044, + "start": 4529, + "end": 4530, "loc": { "start": { - "line": 124, - "column": 113 + "line": 149, + "column": 18 }, "end": { - "line": 124, - "column": 114 + "line": 149, + "column": 19 } } }, @@ -23356,16 +22771,16 @@ "updateContext": null }, "value": "return", - "start": 5085, - "end": 5091, + "start": 4549, + "end": 4555, "loc": { "start": { - "line": 125, - "column": 40 + "line": 150, + "column": 18 }, "end": { - "line": 125, - "column": 46 + "line": 150, + "column": 24 } } }, @@ -23384,16 +22799,42 @@ "updateContext": null }, "value": "false", - "start": 5092, - "end": 5097, + "start": 4556, + "end": 4561, "loc": { "start": { - "line": 125, - "column": 47 + "line": 150, + "column": 25 }, "end": { - "line": 125, - "column": 52 + "line": 150, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4561, + "end": 4562, + "loc": { + "start": { + "line": 150, + "column": 30 + }, + "end": { + "line": 150, + "column": 31 } } }, @@ -23409,16 +22850,16 @@ "postfix": false, "binop": null }, - "start": 5134, - "end": 5135, + "start": 4579, + "end": 4580, "loc": { "start": { - "line": 126, - "column": 36 + "line": 151, + "column": 16 }, "end": { - "line": 126, - "column": 37 + "line": 151, + "column": 17 } } }, @@ -23437,16 +22878,16 @@ "updateContext": null }, "value": "return", - "start": 5172, - "end": 5178, + "start": 4597, + "end": 4603, "loc": { "start": { - "line": 127, - "column": 36 + "line": 152, + "column": 16 }, "end": { - "line": 127, - "column": 42 + "line": 152, + "column": 22 } } }, @@ -23464,16 +22905,16 @@ "updateContext": null }, "value": "!", - "start": 5179, - "end": 5180, + "start": 4604, + "end": 4605, "loc": { "start": { - "line": 127, - "column": 43 + "line": 152, + "column": 23 }, "end": { - "line": 127, - "column": 44 + "line": 152, + "column": 24 } } }, @@ -23489,16 +22930,16 @@ "postfix": false, "binop": null }, - "start": 5180, - "end": 5181, + "start": 4605, + "end": 4606, "loc": { "start": { - "line": 127, - "column": 44 + "line": 152, + "column": 24 }, "end": { - "line": 127, - "column": 45 + "line": 152, + "column": 25 } } }, @@ -23517,16 +22958,16 @@ "updateContext": null }, "value": "this", - "start": 5181, - "end": 5185, + "start": 4625, + "end": 4629, "loc": { "start": { - "line": 127, - "column": 45 + "line": 153, + "column": 18 }, "end": { - "line": 127, - "column": 49 + "line": 153, + "column": 22 } } }, @@ -23543,16 +22984,16 @@ "binop": null, "updateContext": null }, - "start": 5185, - "end": 5186, + "start": 4629, + "end": 4630, "loc": { "start": { - "line": 127, - "column": 49 + "line": 153, + "column": 22 }, "end": { - "line": 127, - "column": 50 + "line": 153, + "column": 23 } } }, @@ -23569,16 +23010,16 @@ "binop": null }, "value": "filterConditions", - "start": 5186, - "end": 5202, + "start": 4630, + "end": 4646, "loc": { "start": { - "line": 127, - "column": 50 + "line": 153, + "column": 23 }, "end": { - "line": 127, - "column": 66 + "line": 153, + "column": 39 } } }, @@ -23595,16 +23036,16 @@ "binop": null, "updateContext": null }, - "start": 5202, - "end": 5203, + "start": 4646, + "end": 4647, "loc": { "start": { - "line": 127, - "column": 66 + "line": 153, + "column": 39 }, "end": { - "line": 127, - "column": 67 + "line": 153, + "column": 40 } } }, @@ -23621,16 +23062,16 @@ "binop": null }, "value": "artist", - "start": 5203, - "end": 5209, + "start": 4647, + "end": 4653, "loc": { "start": { - "line": 127, - "column": 67 + "line": 153, + "column": 40 }, "end": { - "line": 127, - "column": 73 + "line": 153, + "column": 46 } } }, @@ -23648,16 +23089,16 @@ "updateContext": null }, "value": "!==", - "start": 5210, - "end": 5213, + "start": 4654, + "end": 4657, "loc": { "start": { - "line": 127, - "column": 74 + "line": 153, + "column": 47 }, "end": { - "line": 127, - "column": 77 + "line": 153, + "column": 50 } } }, @@ -23674,16 +23115,16 @@ "binop": null }, "value": "undefined", - "start": 5214, - "end": 5223, + "start": 4658, + "end": 4667, "loc": { "start": { - "line": 127, - "column": 78 + "line": 153, + "column": 51 }, "end": { - "line": 127, - "column": 87 + "line": 153, + "column": 60 } } }, @@ -23701,16 +23142,16 @@ "updateContext": null }, "value": "&&", - "start": 5224, - "end": 5226, + "start": 4668, + "end": 4670, "loc": { "start": { - "line": 127, - "column": 88 + "line": 153, + "column": 61 }, "end": { - "line": 127, - "column": 90 + "line": 153, + "column": 63 } } }, @@ -23728,16 +23169,16 @@ "updateContext": null }, "value": "!", - "start": 5263, - "end": 5264, + "start": 4689, + "end": 4690, "loc": { "start": { - "line": 128, - "column": 36 + "line": 154, + "column": 18 }, "end": { - "line": 128, - "column": 37 + "line": 154, + "column": 19 } } }, @@ -23756,16 +23197,16 @@ "updateContext": null }, "value": "new", - "start": 5264, - "end": 5267, + "start": 4690, + "end": 4693, "loc": { "start": { - "line": 128, - "column": 37 + "line": 154, + "column": 19 }, "end": { - "line": 128, - "column": 40 + "line": 154, + "column": 22 } } }, @@ -23782,16 +23223,16 @@ "binop": null }, "value": "RegExp", - "start": 5268, - "end": 5274, + "start": 4694, + "end": 4700, "loc": { "start": { - "line": 128, - "column": 41 + "line": 154, + "column": 23 }, "end": { - "line": 128, - "column": 47 + "line": 154, + "column": 29 } } }, @@ -23807,16 +23248,16 @@ "postfix": false, "binop": null }, - "start": 5274, - "end": 5275, + "start": 4700, + "end": 4701, "loc": { "start": { - "line": 128, - "column": 47 + "line": 154, + "column": 29 }, "end": { - "line": 128, - "column": 48 + "line": 154, + "column": 30 } } }, @@ -23834,16 +23275,16 @@ "updateContext": null }, "value": ".*", - "start": 5275, - "end": 5279, + "start": 4701, + "end": 4705, "loc": { "start": { - "line": 128, - "column": 48 + "line": 154, + "column": 30 }, "end": { - "line": 128, - "column": 52 + "line": 154, + "column": 34 } } }, @@ -23861,16 +23302,16 @@ "updateContext": null }, "value": "+", - "start": 5280, - "end": 5281, + "start": 4706, + "end": 4707, "loc": { "start": { - "line": 128, - "column": 53 + "line": 154, + "column": 35 }, "end": { - "line": 128, - "column": 54 + "line": 154, + "column": 36 } } }, @@ -23889,16 +23330,16 @@ "updateContext": null }, "value": "this", - "start": 5282, - "end": 5286, + "start": 4708, + "end": 4712, "loc": { "start": { - "line": 128, - "column": 55 + "line": 154, + "column": 37 }, "end": { - "line": 128, - "column": 59 + "line": 154, + "column": 41 } } }, @@ -23915,16 +23356,16 @@ "binop": null, "updateContext": null }, - "start": 5286, - "end": 5287, + "start": 4712, + "end": 4713, "loc": { "start": { - "line": 128, - "column": 59 + "line": 154, + "column": 41 }, "end": { - "line": 128, - "column": 60 + "line": 154, + "column": 42 } } }, @@ -23941,16 +23382,16 @@ "binop": null }, "value": "filterConditions", - "start": 5287, - "end": 5303, + "start": 4713, + "end": 4729, "loc": { "start": { - "line": 128, - "column": 60 + "line": 154, + "column": 42 }, "end": { - "line": 128, - "column": 76 + "line": 154, + "column": 58 } } }, @@ -23967,16 +23408,16 @@ "binop": null, "updateContext": null }, - "start": 5303, - "end": 5304, + "start": 4729, + "end": 4730, "loc": { "start": { - "line": 128, - "column": 76 + "line": 154, + "column": 58 }, "end": { - "line": 128, - "column": 77 + "line": 154, + "column": 59 } } }, @@ -23993,16 +23434,16 @@ "binop": null }, "value": "artist", - "start": 5304, - "end": 5310, + "start": 4730, + "end": 4736, "loc": { "start": { - "line": 128, - "column": 77 + "line": 154, + "column": 59 }, "end": { - "line": 128, - "column": 83 + "line": 154, + "column": 65 } } }, @@ -24020,16 +23461,16 @@ "updateContext": null }, "value": "+", - "start": 5311, - "end": 5312, + "start": 4737, + "end": 4738, "loc": { "start": { - "line": 128, - "column": 84 + "line": 154, + "column": 66 }, "end": { - "line": 128, - "column": 85 + "line": 154, + "column": 67 } } }, @@ -24047,16 +23488,16 @@ "updateContext": null }, "value": ".*", - "start": 5313, - "end": 5317, + "start": 4739, + "end": 4743, "loc": { "start": { - "line": 128, - "column": 86 + "line": 154, + "column": 68 }, "end": { - "line": 128, - "column": 90 + "line": 154, + "column": 72 } } }, @@ -24072,16 +23513,16 @@ "postfix": false, "binop": null }, - "start": 5317, - "end": 5318, + "start": 4743, + "end": 4744, "loc": { "start": { - "line": 128, - "column": 90 + "line": 154, + "column": 72 }, "end": { - "line": 128, - "column": 91 + "line": 154, + "column": 73 } } }, @@ -24098,16 +23539,16 @@ "binop": null, "updateContext": null }, - "start": 5318, - "end": 5319, + "start": 4744, + "end": 4745, "loc": { "start": { - "line": 128, - "column": 91 + "line": 154, + "column": 73 }, "end": { - "line": 128, - "column": 92 + "line": 154, + "column": 74 } } }, @@ -24124,16 +23565,16 @@ "binop": null }, "value": "test", - "start": 5319, - "end": 5323, + "start": 4745, + "end": 4749, "loc": { "start": { - "line": 128, - "column": 92 + "line": 154, + "column": 74 }, "end": { - "line": 128, - "column": 96 + "line": 154, + "column": 78 } } }, @@ -24149,16 +23590,16 @@ "postfix": false, "binop": null }, - "start": 5323, - "end": 5324, + "start": 4749, + "end": 4750, "loc": { "start": { - "line": 128, - "column": 96 + "line": 154, + "column": 78 }, "end": { - "line": 128, - "column": 97 + "line": 154, + "column": 79 } } }, @@ -24175,16 +23616,16 @@ "binop": null }, "value": "album", - "start": 5324, - "end": 5329, + "start": 4771, + "end": 4776, "loc": { "start": { - "line": 128, - "column": 97 + "line": 155, + "column": 20 }, "end": { - "line": 128, - "column": 102 + "line": 155, + "column": 25 } } }, @@ -24201,16 +23642,16 @@ "binop": null, "updateContext": null }, - "start": 5329, - "end": 5330, + "start": 4776, + "end": 4777, "loc": { "start": { - "line": 128, - "column": 102 + "line": 155, + "column": 25 }, "end": { - "line": 128, - "column": 103 + "line": 155, + "column": 26 } } }, @@ -24227,16 +23668,16 @@ "binop": null }, "value": "artist", - "start": 5330, - "end": 5336, + "start": 4777, + "end": 4783, "loc": { "start": { - "line": 128, - "column": 103 + "line": 155, + "column": 26 }, "end": { - "line": 128, - "column": 109 + "line": 155, + "column": 32 } } }, @@ -24253,16 +23694,16 @@ "binop": null, "updateContext": null }, - "start": 5336, - "end": 5337, + "start": 4783, + "end": 4784, "loc": { "start": { - "line": 128, - "column": 109 + "line": 155, + "column": 32 }, "end": { - "line": 128, - "column": 110 + "line": 155, + "column": 33 } } }, @@ -24279,16 +23720,16 @@ "binop": null }, "value": "name", - "start": 5337, - "end": 5341, + "start": 4784, + "end": 4788, "loc": { "start": { - "line": 128, - "column": 110 + "line": 155, + "column": 33 }, "end": { - "line": 128, - "column": 114 + "line": 155, + "column": 37 } } }, @@ -24304,16 +23745,16 @@ "postfix": false, "binop": null }, - "start": 5341, - "end": 5342, + "start": 4807, + "end": 4808, "loc": { "start": { - "line": 128, - "column": 114 + "line": 156, + "column": 18 }, "end": { - "line": 128, - "column": 115 + "line": 156, + "column": 19 } } }, @@ -24329,16 +23770,42 @@ "postfix": false, "binop": null }, - "start": 5342, - "end": 5343, + "start": 4825, + "end": 4826, "loc": { "start": { - "line": 128, - "column": 115 + "line": 157, + "column": 16 }, "end": { - "line": 128, - "column": 116 + "line": 157, + "column": 17 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4826, + "end": 4827, + "loc": { + "start": { + "line": 157, + "column": 17 + }, + "end": { + "line": 157, + "column": 18 } } }, @@ -24354,16 +23821,16 @@ "postfix": false, "binop": null }, - "start": 5376, - "end": 5377, + "start": 4842, + "end": 4843, "loc": { "start": { - "line": 129, - "column": 32 + "line": 158, + "column": 14 }, "end": { - "line": 129, - "column": 33 + "line": 158, + "column": 15 } } }, @@ -24379,16 +23846,16 @@ "postfix": false, "binop": null }, - "start": 5377, - "end": 5378, + "start": 4843, + "end": 4844, "loc": { "start": { - "line": 129, - "column": 33 + "line": 158, + "column": 15 }, "end": { - "line": 129, - "column": 34 + "line": 158, + "column": 16 } } }, @@ -24404,16 +23871,16 @@ "postfix": false, "binop": null }, - "start": 5403, - "end": 5404, + "start": 4857, + "end": 4858, "loc": { "start": { - "line": 130, - "column": 24 + "line": 159, + "column": 12 }, "end": { - "line": 130, - "column": 25 + "line": 159, + "column": 13 } } }, @@ -24429,16 +23896,16 @@ "postfix": false, "binop": null }, - "start": 5404, - "end": 5405, + "start": 4858, + "end": 4859, "loc": { "start": { - "line": 130, - "column": 25 + "line": 159, + "column": 13 }, "end": { - "line": 130, - "column": 26 + "line": 159, + "column": 14 } } }, @@ -24454,16 +23921,42 @@ "postfix": false, "binop": null }, - "start": 5426, - "end": 5427, + "start": 4870, + "end": 4871, "loc": { "start": { - "line": 131, - "column": 20 + "line": 160, + "column": 10 }, "end": { - "line": 131, - "column": 21 + "line": 160, + "column": 11 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4871, + "end": 4872, + "loc": { + "start": { + "line": 160, + "column": 11 + }, + "end": { + "line": 160, + "column": 12 } } }, @@ -24482,16 +23975,16 @@ "updateContext": null }, "value": "case", - "start": 5464, - "end": 5468, + "start": 4881, + "end": 4885, "loc": { "start": { - "line": 132, - "column": 16 + "line": 161, + "column": 8 }, "end": { - "line": 132, - "column": 20 + "line": 161, + "column": 12 } } }, @@ -24509,16 +24002,16 @@ "updateContext": null }, "value": "artists", - "start": 5469, - "end": 5478, + "start": 4886, + "end": 4895, "loc": { "start": { - "line": 132, - "column": 21 + "line": 161, + "column": 13 }, "end": { - "line": 132, - "column": 30 + "line": 161, + "column": 22 } } }, @@ -24535,16 +24028,16 @@ "binop": null, "updateContext": null }, - "start": 5478, - "end": 5479, + "start": 4895, + "end": 4896, "loc": { "start": { - "line": 132, - "column": 30 + "line": 161, + "column": 22 }, - "end": { - "line": 132, - "column": 31 + "end": { + "line": 161, + "column": 23 } } }, @@ -24563,16 +24056,16 @@ "updateContext": null }, "value": "return", - "start": 5500, - "end": 5506, + "start": 4907, + "end": 4913, "loc": { "start": { - "line": 133, - "column": 20 + "line": 162, + "column": 10 }, "end": { - "line": 133, - "column": 26 + "line": 162, + "column": 16 } } }, @@ -24588,16 +24081,16 @@ "postfix": false, "binop": null }, - "start": 5507, - "end": 5508, + "start": 4914, + "end": 4915, "loc": { "start": { - "line": 133, - "column": 27 + "line": 162, + "column": 17 }, "end": { - "line": 133, - "column": 28 + "line": 162, + "column": 18 } } }, @@ -24614,16 +24107,16 @@ "binop": null, "updateContext": null }, - "start": 5533, - "end": 5534, + "start": 4928, + "end": 4929, "loc": { "start": { - "line": 134, - "column": 24 + "line": 163, + "column": 12 }, "end": { - "line": 134, - "column": 25 + "line": 163, + "column": 13 } } }, @@ -24640,16 +24133,16 @@ "binop": null }, "value": "key", - "start": 5534, - "end": 5537, + "start": 4929, + "end": 4932, "loc": { "start": { - "line": 134, - "column": 25 + "line": 163, + "column": 13 }, "end": { - "line": 134, - "column": 28 + "line": 163, + "column": 16 } } }, @@ -24666,16 +24159,16 @@ "binop": null, "updateContext": null }, - "start": 5537, - "end": 5538, + "start": 4932, + "end": 4933, "loc": { "start": { - "line": 134, - "column": 28 + "line": 163, + "column": 16 }, "end": { - "line": 134, - "column": 29 + "line": 163, + "column": 17 } } }, @@ -24692,16 +24185,16 @@ "binop": null, "updateContext": null }, - "start": 5538, - "end": 5539, + "start": 4933, + "end": 4934, "loc": { "start": { - "line": 134, - "column": 29 + "line": 163, + "column": 17 }, "end": { - "line": 134, - "column": 30 + "line": 163, + "column": 18 } } }, @@ -24718,16 +24211,16 @@ "binop": null }, "value": "Object", - "start": 5540, - "end": 5546, + "start": 4935, + "end": 4941, "loc": { "start": { - "line": 134, - "column": 31 + "line": 163, + "column": 19 }, "end": { - "line": 134, - "column": 37 + "line": 163, + "column": 25 } } }, @@ -24744,16 +24237,16 @@ "binop": null, "updateContext": null }, - "start": 5546, - "end": 5547, + "start": 4941, + "end": 4942, "loc": { "start": { - "line": 134, - "column": 37 + "line": 163, + "column": 25 }, "end": { - "line": 134, - "column": 38 + "line": 163, + "column": 26 } } }, @@ -24770,16 +24263,16 @@ "binop": null }, "value": "assign", - "start": 5547, - "end": 5553, + "start": 4942, + "end": 4948, "loc": { "start": { - "line": 134, - "column": 38 + "line": 163, + "column": 26 }, "end": { - "line": 134, - "column": 44 + "line": 163, + "column": 32 } } }, @@ -24795,16 +24288,16 @@ "postfix": false, "binop": null }, - "start": 5553, - "end": 5554, + "start": 4948, + "end": 4949, "loc": { "start": { - "line": 134, - "column": 44 + "line": 163, + "column": 32 }, "end": { - "line": 134, - "column": 45 + "line": 163, + "column": 33 } } }, @@ -24821,16 +24314,16 @@ "binop": null }, "value": "response", - "start": 5554, - "end": 5562, + "start": 4949, + "end": 4957, "loc": { "start": { - "line": 134, - "column": 45 + "line": 163, + "column": 33 }, "end": { - "line": 134, - "column": 53 + "line": 163, + "column": 41 } } }, @@ -24847,16 +24340,16 @@ "binop": null, "updateContext": null }, - "start": 5562, - "end": 5563, + "start": 4957, + "end": 4958, "loc": { "start": { - "line": 134, - "column": 53 + "line": 163, + "column": 41 }, "end": { - "line": 134, - "column": 54 + "line": 163, + "column": 42 } } }, @@ -24873,16 +24366,16 @@ "binop": null }, "value": "data", - "start": 5563, - "end": 5567, + "start": 4958, + "end": 4962, "loc": { "start": { - "line": 134, - "column": 54 + "line": 163, + "column": 42 }, "end": { - "line": 134, - "column": 58 + "line": 163, + "column": 46 } } }, @@ -24899,16 +24392,16 @@ "binop": null, "updateContext": null }, - "start": 5567, - "end": 5568, + "start": 4962, + "end": 4963, "loc": { "start": { - "line": 134, - "column": 58 + "line": 163, + "column": 46 }, "end": { - "line": 134, - "column": 59 + "line": 163, + "column": 47 } } }, @@ -24925,16 +24418,16 @@ "binop": null }, "value": "key", - "start": 5568, - "end": 5571, + "start": 4963, + "end": 4966, "loc": { "start": { - "line": 134, - "column": 59 + "line": 163, + "column": 47 }, "end": { - "line": 134, - "column": 62 + "line": 163, + "column": 50 } } }, @@ -24951,16 +24444,16 @@ "binop": null, "updateContext": null }, - "start": 5571, - "end": 5572, + "start": 4966, + "end": 4967, "loc": { "start": { - "line": 134, - "column": 62 + "line": 163, + "column": 50 }, "end": { - "line": 134, - "column": 63 + "line": 163, + "column": 51 } } }, @@ -24977,16 +24470,16 @@ "binop": null, "updateContext": null }, - "start": 5572, - "end": 5573, + "start": 4967, + "end": 4968, "loc": { "start": { - "line": 134, - "column": 63 + "line": 163, + "column": 51 }, "end": { - "line": 134, - "column": 64 + "line": 163, + "column": 52 } } }, @@ -25002,16 +24495,16 @@ "postfix": false, "binop": null }, - "start": 5574, - "end": 5575, + "start": 4969, + "end": 4970, "loc": { "start": { - "line": 134, - "column": 65 + "line": 163, + "column": 53 }, "end": { - "line": 134, - "column": 66 + "line": 163, + "column": 54 } } }, @@ -25028,16 +24521,16 @@ "binop": null }, "value": "data", - "start": 5604, - "end": 5608, + "start": 4985, + "end": 4989, "loc": { "start": { - "line": 135, - "column": 28 + "line": 164, + "column": 14 }, "end": { - "line": 135, - "column": 32 + "line": 164, + "column": 18 } } }, @@ -25054,16 +24547,16 @@ "binop": null, "updateContext": null }, - "start": 5608, - "end": 5609, + "start": 4989, + "end": 4990, "loc": { "start": { - "line": 135, - "column": 32 + "line": 164, + "column": 18 }, "end": { - "line": 135, - "column": 33 + "line": 164, + "column": 19 } } }, @@ -25080,16 +24573,16 @@ "binop": null }, "value": "response", - "start": 5610, - "end": 5618, + "start": 4991, + "end": 4999, "loc": { "start": { - "line": 135, - "column": 34 + "line": 164, + "column": 20 }, "end": { - "line": 135, - "column": 42 + "line": 164, + "column": 28 } } }, @@ -25106,16 +24599,16 @@ "binop": null, "updateContext": null }, - "start": 5618, - "end": 5619, + "start": 4999, + "end": 5000, "loc": { "start": { - "line": 135, - "column": 42 + "line": 164, + "column": 28 }, "end": { - "line": 135, - "column": 43 + "line": 164, + "column": 29 } } }, @@ -25132,16 +24625,16 @@ "binop": null }, "value": "data", - "start": 5619, - "end": 5623, + "start": 5000, + "end": 5004, "loc": { "start": { - "line": 135, - "column": 43 + "line": 164, + "column": 29 }, "end": { - "line": 135, - "column": 47 + "line": 164, + "column": 33 } } }, @@ -25158,16 +24651,16 @@ "binop": null, "updateContext": null }, - "start": 5623, - "end": 5624, + "start": 5004, + "end": 5005, "loc": { "start": { - "line": 135, - "column": 47 + "line": 164, + "column": 33 }, "end": { - "line": 135, - "column": 48 + "line": 164, + "column": 34 } } }, @@ -25184,16 +24677,16 @@ "binop": null }, "value": "key", - "start": 5624, - "end": 5627, + "start": 5005, + "end": 5008, "loc": { "start": { - "line": 135, - "column": 48 + "line": 164, + "column": 34 }, "end": { - "line": 135, - "column": 51 + "line": 164, + "column": 37 } } }, @@ -25210,16 +24703,16 @@ "binop": null, "updateContext": null }, - "start": 5627, - "end": 5628, + "start": 5008, + "end": 5009, "loc": { "start": { - "line": 135, - "column": 51 + "line": 164, + "column": 37 }, "end": { - "line": 135, - "column": 52 + "line": 164, + "column": 38 } } }, @@ -25236,16 +24729,16 @@ "binop": null, "updateContext": null }, - "start": 5628, - "end": 5629, + "start": 5009, + "end": 5010, "loc": { "start": { - "line": 135, - "column": 52 + "line": 164, + "column": 38 }, "end": { - "line": 135, - "column": 53 + "line": 164, + "column": 39 } } }, @@ -25262,16 +24755,16 @@ "binop": null }, "value": "data", - "start": 5629, - "end": 5633, + "start": 5010, + "end": 5014, "loc": { "start": { - "line": 135, - "column": 53 + "line": 164, + "column": 39 }, "end": { - "line": 135, - "column": 57 + "line": 164, + "column": 43 } } }, @@ -25288,16 +24781,16 @@ "binop": null, "updateContext": null }, - "start": 5666, - "end": 5667, + "start": 5014, + "end": 5015, "loc": { "start": { - "line": 136, - "column": 32 + "line": 164, + "column": 43 }, "end": { - "line": 136, - "column": 33 + "line": 164, + "column": 44 } } }, @@ -25314,16 +24807,16 @@ "binop": null }, "value": "filter", - "start": 5667, - "end": 5673, + "start": 5015, + "end": 5021, "loc": { "start": { - "line": 136, - "column": 33 + "line": 164, + "column": 44 }, "end": { - "line": 136, - "column": 39 + "line": 164, + "column": 50 } } }, @@ -25339,16 +24832,16 @@ "postfix": false, "binop": null }, - "start": 5673, - "end": 5674, + "start": 5021, + "end": 5022, "loc": { - "start": { - "line": 136, - "column": 39 + "start": { + "line": 164, + "column": 50 }, "end": { - "line": 136, - "column": 40 + "line": 164, + "column": 51 } } }, @@ -25365,16 +24858,16 @@ "binop": null }, "value": "artist", - "start": 5674, - "end": 5680, + "start": 5022, + "end": 5028, "loc": { "start": { - "line": 136, - "column": 40 + "line": 164, + "column": 51 }, "end": { - "line": 136, - "column": 46 + "line": 164, + "column": 57 } } }, @@ -25391,16 +24884,16 @@ "binop": null, "updateContext": null }, - "start": 5681, - "end": 5683, + "start": 5029, + "end": 5031, "loc": { "start": { - "line": 136, - "column": 47 + "line": 164, + "column": 58 }, "end": { - "line": 136, - "column": 49 + "line": 164, + "column": 60 } } }, @@ -25416,16 +24909,16 @@ "postfix": false, "binop": null }, - "start": 5684, - "end": 5685, + "start": 5032, + "end": 5033, "loc": { "start": { - "line": 136, - "column": 50 + "line": 164, + "column": 61 }, "end": { - "line": 136, - "column": 51 + "line": 164, + "column": 62 } } }, @@ -25444,16 +24937,16 @@ "updateContext": null }, "value": "if", - "start": 5722, - "end": 5724, + "start": 5050, + "end": 5052, "loc": { "start": { - "line": 137, - "column": 36 + "line": 165, + "column": 16 }, "end": { - "line": 137, - "column": 38 + "line": 165, + "column": 18 } } }, @@ -25469,16 +24962,16 @@ "postfix": false, "binop": null }, - "start": 5725, - "end": 5726, + "start": 5053, + "end": 5054, "loc": { "start": { - "line": 137, - "column": 39 + "line": 165, + "column": 19 }, "end": { - "line": 137, - "column": 40 + "line": 165, + "column": 20 } } }, @@ -25497,16 +24990,16 @@ "updateContext": null }, "value": "this", - "start": 5726, - "end": 5730, + "start": 5054, + "end": 5058, "loc": { "start": { - "line": 137, - "column": 40 + "line": 165, + "column": 20 }, "end": { - "line": 137, - "column": 44 + "line": 165, + "column": 24 } } }, @@ -25523,16 +25016,16 @@ "binop": null, "updateContext": null }, - "start": 5730, - "end": 5731, + "start": 5058, + "end": 5059, "loc": { "start": { - "line": 137, - "column": 44 + "line": 165, + "column": 24 }, "end": { - "line": 137, - "column": 45 + "line": 165, + "column": 25 } } }, @@ -25549,16 +25042,16 @@ "binop": null }, "value": "filterConditions", - "start": 5731, - "end": 5747, + "start": 5059, + "end": 5075, "loc": { "start": { - "line": 137, - "column": 45 + "line": 165, + "column": 25 }, "end": { - "line": 137, - "column": 61 + "line": 165, + "column": 41 } } }, @@ -25575,16 +25068,16 @@ "binop": null, "updateContext": null }, - "start": 5747, - "end": 5748, + "start": 5075, + "end": 5076, "loc": { "start": { - "line": 137, - "column": 61 + "line": 165, + "column": 41 }, "end": { - "line": 137, - "column": 62 + "line": 165, + "column": 42 } } }, @@ -25601,16 +25094,16 @@ "binop": null }, "value": "artist", - "start": 5748, - "end": 5754, + "start": 5076, + "end": 5082, "loc": { "start": { - "line": 137, - "column": 62 + "line": 165, + "column": 42 }, "end": { - "line": 137, - "column": 68 + "line": 165, + "column": 48 } } }, @@ -25628,16 +25121,16 @@ "updateContext": null }, "value": "===", - "start": 5755, - "end": 5758, + "start": 5083, + "end": 5086, "loc": { "start": { - "line": 137, - "column": 69 + "line": 165, + "column": 49 }, "end": { - "line": 137, - "column": 72 + "line": 165, + "column": 52 } } }, @@ -25654,16 +25147,16 @@ "binop": null }, "value": "undefined", - "start": 5759, - "end": 5768, + "start": 5087, + "end": 5096, "loc": { "start": { - "line": 137, - "column": 73 + "line": 165, + "column": 53 }, "end": { - "line": 137, - "column": 82 + "line": 165, + "column": 62 } } }, @@ -25679,16 +25172,16 @@ "postfix": false, "binop": null }, - "start": 5768, - "end": 5769, + "start": 5096, + "end": 5097, "loc": { "start": { - "line": 137, - "column": 82 + "line": 165, + "column": 62 }, "end": { - "line": 137, - "column": 83 + "line": 165, + "column": 63 } } }, @@ -25704,16 +25197,16 @@ "postfix": false, "binop": null }, - "start": 5770, - "end": 5771, + "start": 5098, + "end": 5099, "loc": { "start": { - "line": 137, - "column": 84 + "line": 165, + "column": 64 }, "end": { - "line": 137, - "column": 85 + "line": 165, + "column": 65 } } }, @@ -25732,16 +25225,16 @@ "updateContext": null }, "value": "return", - "start": 5812, - "end": 5818, + "start": 5118, + "end": 5124, "loc": { "start": { - "line": 138, - "column": 40 + "line": 166, + "column": 18 }, "end": { - "line": 138, - "column": 46 + "line": 166, + "column": 24 } } }, @@ -25760,16 +25253,42 @@ "updateContext": null }, "value": "true", - "start": 5819, - "end": 5823, + "start": 5125, + "end": 5129, "loc": { "start": { - "line": 138, - "column": 47 + "line": 166, + "column": 25 }, "end": { - "line": 138, - "column": 51 + "line": 166, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5129, + "end": 5130, + "loc": { + "start": { + "line": 166, + "column": 29 + }, + "end": { + "line": 166, + "column": 30 } } }, @@ -25785,16 +25304,16 @@ "postfix": false, "binop": null }, - "start": 5860, - "end": 5861, + "start": 5147, + "end": 5148, "loc": { "start": { - "line": 139, - "column": 36 + "line": 167, + "column": 16 }, "end": { - "line": 139, - "column": 37 + "line": 167, + "column": 17 } } }, @@ -25813,16 +25332,16 @@ "updateContext": null }, "value": "else", - "start": 5862, - "end": 5866, + "start": 5149, + "end": 5153, "loc": { "start": { - "line": 139, - "column": 38 + "line": 167, + "column": 18 }, "end": { - "line": 139, - "column": 42 + "line": 167, + "column": 22 } } }, @@ -25838,16 +25357,16 @@ "postfix": false, "binop": null }, - "start": 5867, - "end": 5868, + "start": 5154, + "end": 5155, "loc": { "start": { - "line": 139, - "column": 43 + "line": 167, + "column": 23 }, "end": { - "line": 139, - "column": 44 + "line": 167, + "column": 24 } } }, @@ -25866,16 +25385,16 @@ "updateContext": null }, "value": "return", - "start": 5909, - "end": 5915, + "start": 5174, + "end": 5180, "loc": { "start": { - "line": 140, - "column": 40 + "line": 168, + "column": 18 }, "end": { - "line": 140, - "column": 46 + "line": 168, + "column": 24 } } }, @@ -25894,16 +25413,16 @@ "updateContext": null }, "value": "new", - "start": 5916, - "end": 5919, + "start": 5181, + "end": 5184, "loc": { "start": { - "line": 140, - "column": 47 + "line": 168, + "column": 25 }, "end": { - "line": 140, - "column": 50 + "line": 168, + "column": 28 } } }, @@ -25920,16 +25439,16 @@ "binop": null }, "value": "RegExp", - "start": 5920, - "end": 5926, + "start": 5185, + "end": 5191, "loc": { "start": { - "line": 140, - "column": 51 + "line": 168, + "column": 29 }, "end": { - "line": 140, - "column": 57 + "line": 168, + "column": 35 } } }, @@ -25945,16 +25464,16 @@ "postfix": false, "binop": null }, - "start": 5926, - "end": 5927, + "start": 5191, + "end": 5192, "loc": { "start": { - "line": 140, - "column": 57 + "line": 168, + "column": 35 }, "end": { - "line": 140, - "column": 58 + "line": 168, + "column": 36 } } }, @@ -25972,16 +25491,16 @@ "updateContext": null }, "value": ".*", - "start": 5927, - "end": 5931, + "start": 5213, + "end": 5217, "loc": { "start": { - "line": 140, - "column": 58 + "line": 169, + "column": 20 }, "end": { - "line": 140, - "column": 62 + "line": 169, + "column": 24 } } }, @@ -25999,16 +25518,16 @@ "updateContext": null }, "value": "+", - "start": 5932, - "end": 5933, + "start": 5218, + "end": 5219, "loc": { "start": { - "line": 140, - "column": 63 + "line": 169, + "column": 25 }, "end": { - "line": 140, - "column": 64 + "line": 169, + "column": 26 } } }, @@ -26027,16 +25546,16 @@ "updateContext": null }, "value": "this", - "start": 5934, - "end": 5938, + "start": 5220, + "end": 5224, "loc": { "start": { - "line": 140, - "column": 65 + "line": 169, + "column": 27 }, "end": { - "line": 140, - "column": 69 + "line": 169, + "column": 31 } } }, @@ -26053,16 +25572,16 @@ "binop": null, "updateContext": null }, - "start": 5938, - "end": 5939, + "start": 5224, + "end": 5225, "loc": { "start": { - "line": 140, - "column": 69 + "line": 169, + "column": 31 }, "end": { - "line": 140, - "column": 70 + "line": 169, + "column": 32 } } }, @@ -26079,16 +25598,16 @@ "binop": null }, "value": "filterConditions", - "start": 5939, - "end": 5955, + "start": 5225, + "end": 5241, "loc": { "start": { - "line": 140, - "column": 70 + "line": 169, + "column": 32 }, "end": { - "line": 140, - "column": 86 + "line": 169, + "column": 48 } } }, @@ -26105,16 +25624,16 @@ "binop": null, "updateContext": null }, - "start": 5955, - "end": 5956, + "start": 5241, + "end": 5242, "loc": { "start": { - "line": 140, - "column": 86 + "line": 169, + "column": 48 }, "end": { - "line": 140, - "column": 87 + "line": 169, + "column": 49 } } }, @@ -26131,16 +25650,16 @@ "binop": null }, "value": "artist", - "start": 5956, - "end": 5962, + "start": 5242, + "end": 5248, "loc": { "start": { - "line": 140, - "column": 87 + "line": 169, + "column": 49 }, "end": { - "line": 140, - "column": 93 + "line": 169, + "column": 55 } } }, @@ -26158,16 +25677,16 @@ "updateContext": null }, "value": "+", - "start": 5963, - "end": 5964, + "start": 5249, + "end": 5250, "loc": { "start": { - "line": 140, - "column": 94 + "line": 169, + "column": 56 }, "end": { - "line": 140, - "column": 95 + "line": 169, + "column": 57 } } }, @@ -26185,16 +25704,16 @@ "updateContext": null }, "value": ".*", - "start": 5965, - "end": 5969, + "start": 5251, + "end": 5255, "loc": { "start": { - "line": 140, - "column": 96 + "line": 169, + "column": 58 }, "end": { - "line": 140, - "column": 100 + "line": 169, + "column": 62 } } }, @@ -26210,16 +25729,16 @@ "postfix": false, "binop": null }, - "start": 5969, - "end": 5970, + "start": 5274, + "end": 5275, "loc": { "start": { - "line": 140, - "column": 100 + "line": 170, + "column": 18 }, "end": { - "line": 140, - "column": 101 + "line": 170, + "column": 19 } } }, @@ -26236,16 +25755,16 @@ "binop": null, "updateContext": null }, - "start": 5970, - "end": 5971, + "start": 5275, + "end": 5276, "loc": { "start": { - "line": 140, - "column": 101 + "line": 170, + "column": 19 }, "end": { - "line": 140, - "column": 102 + "line": 170, + "column": 20 } } }, @@ -26262,16 +25781,16 @@ "binop": null }, "value": "test", - "start": 5971, - "end": 5975, + "start": 5276, + "end": 5280, "loc": { "start": { - "line": 140, - "column": 102 + "line": 170, + "column": 20 }, "end": { - "line": 140, - "column": 106 + "line": 170, + "column": 24 } } }, @@ -26287,16 +25806,16 @@ "postfix": false, "binop": null }, - "start": 5975, - "end": 5976, + "start": 5280, + "end": 5281, "loc": { "start": { - "line": 140, - "column": 106 + "line": 170, + "column": 24 }, "end": { - "line": 140, - "column": 107 + "line": 170, + "column": 25 } } }, @@ -26313,16 +25832,16 @@ "binop": null }, "value": "artist", - "start": 5976, - "end": 5982, + "start": 5281, + "end": 5287, "loc": { "start": { - "line": 140, - "column": 107 + "line": 170, + "column": 25 }, "end": { - "line": 140, - "column": 113 + "line": 170, + "column": 31 } } }, @@ -26339,16 +25858,16 @@ "binop": null, "updateContext": null }, - "start": 5982, - "end": 5983, + "start": 5287, + "end": 5288, "loc": { "start": { - "line": 140, - "column": 113 + "line": 170, + "column": 31 }, "end": { - "line": 140, - "column": 114 + "line": 170, + "column": 32 } } }, @@ -26365,16 +25884,16 @@ "binop": null }, "value": "name", - "start": 5983, - "end": 5987, + "start": 5288, + "end": 5292, "loc": { "start": { - "line": 140, - "column": 114 + "line": 170, + "column": 32 }, "end": { - "line": 140, - "column": 118 + "line": 170, + "column": 36 } } }, @@ -26390,16 +25909,42 @@ "postfix": false, "binop": null }, - "start": 5987, - "end": 5988, + "start": 5292, + "end": 5293, "loc": { "start": { - "line": 140, - "column": 118 + "line": 170, + "column": 36 }, "end": { - "line": 140, - "column": 119 + "line": 170, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5293, + "end": 5294, + "loc": { + "start": { + "line": 170, + "column": 37 + }, + "end": { + "line": 170, + "column": 38 } } }, @@ -26415,16 +25960,16 @@ "postfix": false, "binop": null }, - "start": 6025, - "end": 6026, + "start": 5311, + "end": 5312, "loc": { "start": { - "line": 141, - "column": 36 + "line": 171, + "column": 16 }, "end": { - "line": 141, - "column": 37 + "line": 171, + "column": 17 } } }, @@ -26440,16 +25985,16 @@ "postfix": false, "binop": null }, - "start": 6059, - "end": 6060, + "start": 5327, + "end": 5328, "loc": { "start": { - "line": 142, - "column": 32 + "line": 172, + "column": 14 }, "end": { - "line": 142, - "column": 33 + "line": 172, + "column": 15 } } }, @@ -26465,16 +26010,16 @@ "postfix": false, "binop": null }, - "start": 6060, - "end": 6061, + "start": 5328, + "end": 5329, "loc": { "start": { - "line": 142, - "column": 33 + "line": 172, + "column": 15 }, "end": { - "line": 142, - "column": 34 + "line": 172, + "column": 16 } } }, @@ -26490,16 +26035,16 @@ "postfix": false, "binop": null }, - "start": 6086, - "end": 6087, + "start": 5342, + "end": 5343, "loc": { "start": { - "line": 143, - "column": 24 + "line": 173, + "column": 12 }, "end": { - "line": 143, - "column": 25 + "line": 173, + "column": 13 } } }, @@ -26515,16 +26060,16 @@ "postfix": false, "binop": null }, - "start": 6087, - "end": 6088, + "start": 5343, + "end": 5344, "loc": { "start": { - "line": 143, - "column": 25 + "line": 173, + "column": 13 }, "end": { - "line": 143, - "column": 26 + "line": 173, + "column": 14 } } }, @@ -26540,16 +26085,42 @@ "postfix": false, "binop": null }, - "start": 6109, - "end": 6110, + "start": 5355, + "end": 5356, "loc": { "start": { - "line": 144, - "column": 20 + "line": 174, + "column": 10 }, "end": { - "line": 144, - "column": 21 + "line": 174, + "column": 11 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5356, + "end": 5357, + "loc": { + "start": { + "line": 174, + "column": 11 + }, + "end": { + "line": 174, + "column": 12 } } }, @@ -26568,16 +26139,16 @@ "updateContext": null }, "value": "case", - "start": 6147, - "end": 6151, + "start": 5366, + "end": 5370, "loc": { "start": { - "line": 145, - "column": 16 + "line": 175, + "column": 8 }, "end": { - "line": 145, - "column": 20 + "line": 175, + "column": 12 } } }, @@ -26595,16 +26166,16 @@ "updateContext": null }, "value": "playlists", - "start": 6152, - "end": 6163, + "start": 5371, + "end": 5382, "loc": { "start": { - "line": 145, - "column": 21 + "line": 175, + "column": 13 }, "end": { - "line": 145, - "column": 32 + "line": 175, + "column": 24 } } }, @@ -26621,16 +26192,16 @@ "binop": null, "updateContext": null }, - "start": 6163, - "end": 6164, + "start": 5382, + "end": 5383, "loc": { "start": { - "line": 145, - "column": 32 + "line": 175, + "column": 24 }, "end": { - "line": 145, - "column": 33 + "line": 175, + "column": 25 } } }, @@ -26649,16 +26220,16 @@ "updateContext": null }, "value": "return", - "start": 6185, - "end": 6191, + "start": 5394, + "end": 5400, "loc": { "start": { - "line": 146, - "column": 20 + "line": 176, + "column": 10 }, "end": { - "line": 146, - "column": 26 + "line": 176, + "column": 16 } } }, @@ -26674,16 +26245,16 @@ "postfix": false, "binop": null }, - "start": 6192, - "end": 6193, + "start": 5401, + "end": 5402, "loc": { "start": { - "line": 146, - "column": 27 + "line": 176, + "column": 17 }, "end": { - "line": 146, - "column": 28 + "line": 176, + "column": 18 } } }, @@ -26700,16 +26271,16 @@ "binop": null, "updateContext": null }, - "start": 6218, - "end": 6219, + "start": 5415, + "end": 5416, "loc": { "start": { - "line": 147, - "column": 24 + "line": 177, + "column": 12 }, "end": { - "line": 147, - "column": 25 + "line": 177, + "column": 13 } } }, @@ -26726,16 +26297,16 @@ "binop": null }, "value": "key", - "start": 6219, - "end": 6222, + "start": 5416, + "end": 5419, "loc": { "start": { - "line": 147, - "column": 25 + "line": 177, + "column": 13 }, "end": { - "line": 147, - "column": 28 + "line": 177, + "column": 16 } } }, @@ -26752,16 +26323,16 @@ "binop": null, "updateContext": null }, - "start": 6222, - "end": 6223, + "start": 5419, + "end": 5420, "loc": { "start": { - "line": 147, - "column": 28 + "line": 177, + "column": 16 }, "end": { - "line": 147, - "column": 29 + "line": 177, + "column": 17 } } }, @@ -26778,16 +26349,16 @@ "binop": null, "updateContext": null }, - "start": 6223, - "end": 6224, + "start": 5420, + "end": 5421, "loc": { "start": { - "line": 147, - "column": 29 + "line": 177, + "column": 17 }, "end": { - "line": 147, - "column": 30 + "line": 177, + "column": 18 } } }, @@ -26804,16 +26375,16 @@ "binop": null }, "value": "Object", - "start": 6225, - "end": 6231, + "start": 5422, + "end": 5428, "loc": { "start": { - "line": 147, - "column": 31 + "line": 177, + "column": 19 }, "end": { - "line": 147, - "column": 37 + "line": 177, + "column": 25 } } }, @@ -26830,16 +26401,16 @@ "binop": null, "updateContext": null }, - "start": 6231, - "end": 6232, + "start": 5428, + "end": 5429, "loc": { "start": { - "line": 147, - "column": 37 + "line": 177, + "column": 25 }, "end": { - "line": 147, - "column": 38 + "line": 177, + "column": 26 } } }, @@ -26856,16 +26427,16 @@ "binop": null }, "value": "assign", - "start": 6232, - "end": 6238, + "start": 5429, + "end": 5435, "loc": { "start": { - "line": 147, - "column": 38 + "line": 177, + "column": 26 }, "end": { - "line": 147, - "column": 44 + "line": 177, + "column": 32 } } }, @@ -26881,16 +26452,16 @@ "postfix": false, "binop": null }, - "start": 6238, - "end": 6239, + "start": 5435, + "end": 5436, "loc": { "start": { - "line": 147, - "column": 44 + "line": 177, + "column": 32 }, "end": { - "line": 147, - "column": 45 + "line": 177, + "column": 33 } } }, @@ -26907,16 +26478,16 @@ "binop": null }, "value": "response", - "start": 6239, - "end": 6247, + "start": 5436, + "end": 5444, "loc": { "start": { - "line": 147, - "column": 45 + "line": 177, + "column": 33 }, "end": { - "line": 147, - "column": 53 + "line": 177, + "column": 41 } } }, @@ -26933,16 +26504,16 @@ "binop": null, "updateContext": null }, - "start": 6247, - "end": 6248, + "start": 5444, + "end": 5445, "loc": { "start": { - "line": 147, - "column": 53 + "line": 177, + "column": 41 }, "end": { - "line": 147, - "column": 54 + "line": 177, + "column": 42 } } }, @@ -26959,16 +26530,16 @@ "binop": null }, "value": "data", - "start": 6248, - "end": 6252, + "start": 5445, + "end": 5449, "loc": { "start": { - "line": 147, - "column": 54 + "line": 177, + "column": 42 }, "end": { - "line": 147, - "column": 58 + "line": 177, + "column": 46 } } }, @@ -26985,16 +26556,16 @@ "binop": null, "updateContext": null }, - "start": 6252, - "end": 6253, + "start": 5449, + "end": 5450, "loc": { "start": { - "line": 147, - "column": 58 + "line": 177, + "column": 46 }, "end": { - "line": 147, - "column": 59 + "line": 177, + "column": 47 } } }, @@ -27011,16 +26582,16 @@ "binop": null }, "value": "key", - "start": 6253, - "end": 6256, + "start": 5450, + "end": 5453, "loc": { "start": { - "line": 147, - "column": 59 + "line": 177, + "column": 47 }, "end": { - "line": 147, - "column": 62 + "line": 177, + "column": 50 } } }, @@ -27037,16 +26608,16 @@ "binop": null, "updateContext": null }, - "start": 6256, - "end": 6257, + "start": 5453, + "end": 5454, "loc": { "start": { - "line": 147, - "column": 62 + "line": 177, + "column": 50 }, "end": { - "line": 147, - "column": 63 + "line": 177, + "column": 51 } } }, @@ -27063,16 +26634,16 @@ "binop": null, "updateContext": null }, - "start": 6257, - "end": 6258, + "start": 5454, + "end": 5455, "loc": { "start": { - "line": 147, - "column": 63 + "line": 177, + "column": 51 }, "end": { - "line": 147, - "column": 64 + "line": 177, + "column": 52 } } }, @@ -27088,16 +26659,16 @@ "postfix": false, "binop": null }, - "start": 6259, - "end": 6260, + "start": 5456, + "end": 5457, "loc": { "start": { - "line": 147, - "column": 65 + "line": 177, + "column": 53 }, "end": { - "line": 147, - "column": 66 + "line": 177, + "column": 54 } } }, @@ -27114,16 +26685,16 @@ "binop": null }, "value": "data", - "start": 6289, - "end": 6293, + "start": 5472, + "end": 5476, "loc": { "start": { - "line": 148, - "column": 28 + "line": 178, + "column": 14 }, "end": { - "line": 148, - "column": 32 + "line": 178, + "column": 18 } } }, @@ -27140,16 +26711,16 @@ "binop": null, "updateContext": null }, - "start": 6293, - "end": 6294, + "start": 5476, + "end": 5477, "loc": { "start": { - "line": 148, - "column": 32 + "line": 178, + "column": 18 }, "end": { - "line": 148, - "column": 33 + "line": 178, + "column": 19 } } }, @@ -27166,16 +26737,16 @@ "binop": null }, "value": "response", - "start": 6295, - "end": 6303, + "start": 5478, + "end": 5486, "loc": { "start": { - "line": 148, - "column": 34 + "line": 178, + "column": 20 }, "end": { - "line": 148, - "column": 42 + "line": 178, + "column": 28 } } }, @@ -27192,16 +26763,16 @@ "binop": null, "updateContext": null }, - "start": 6303, - "end": 6304, + "start": 5486, + "end": 5487, "loc": { "start": { - "line": 148, - "column": 42 + "line": 178, + "column": 28 }, "end": { - "line": 148, - "column": 43 + "line": 178, + "column": 29 } } }, @@ -27218,16 +26789,16 @@ "binop": null }, "value": "data", - "start": 6304, - "end": 6308, + "start": 5487, + "end": 5491, "loc": { "start": { - "line": 148, - "column": 43 + "line": 178, + "column": 29 }, "end": { - "line": 148, - "column": 47 + "line": 178, + "column": 33 } } }, @@ -27244,16 +26815,16 @@ "binop": null, "updateContext": null }, - "start": 6308, - "end": 6309, + "start": 5491, + "end": 5492, "loc": { "start": { - "line": 148, - "column": 47 + "line": 178, + "column": 33 }, "end": { - "line": 148, - "column": 48 + "line": 178, + "column": 34 } } }, @@ -27270,16 +26841,16 @@ "binop": null }, "value": "key", - "start": 6309, - "end": 6312, + "start": 5492, + "end": 5495, "loc": { "start": { - "line": 148, - "column": 48 + "line": 178, + "column": 34 }, "end": { - "line": 148, - "column": 51 + "line": 178, + "column": 37 } } }, @@ -27296,16 +26867,16 @@ "binop": null, "updateContext": null }, - "start": 6312, - "end": 6313, + "start": 5495, + "end": 5496, "loc": { "start": { - "line": 148, - "column": 51 + "line": 178, + "column": 37 }, "end": { - "line": 148, - "column": 52 + "line": 178, + "column": 38 } } }, @@ -27322,16 +26893,16 @@ "binop": null, "updateContext": null }, - "start": 6313, - "end": 6314, + "start": 5496, + "end": 5497, "loc": { "start": { - "line": 148, - "column": 52 + "line": 178, + "column": 38 }, "end": { - "line": 148, - "column": 53 + "line": 178, + "column": 39 } } }, @@ -27348,16 +26919,16 @@ "binop": null }, "value": "data", - "start": 6314, - "end": 6318, + "start": 5497, + "end": 5501, "loc": { "start": { - "line": 148, - "column": 53 + "line": 178, + "column": 39 }, "end": { - "line": 148, - "column": 57 + "line": 178, + "column": 43 } } }, @@ -27374,16 +26945,16 @@ "binop": null, "updateContext": null }, - "start": 6351, - "end": 6352, + "start": 5501, + "end": 5502, "loc": { "start": { - "line": 149, - "column": 32 + "line": 178, + "column": 43 }, "end": { - "line": 149, - "column": 33 + "line": 178, + "column": 44 } } }, @@ -27400,16 +26971,16 @@ "binop": null }, "value": "filter", - "start": 6352, - "end": 6358, + "start": 5502, + "end": 5508, "loc": { "start": { - "line": 149, - "column": 33 + "line": 178, + "column": 44 }, "end": { - "line": 149, - "column": 39 + "line": 178, + "column": 50 } } }, @@ -27425,16 +26996,16 @@ "postfix": false, "binop": null }, - "start": 6358, - "end": 6359, + "start": 5508, + "end": 5509, "loc": { "start": { - "line": 149, - "column": 39 + "line": 178, + "column": 50 }, "end": { - "line": 149, - "column": 40 + "line": 178, + "column": 51 } } }, @@ -27451,16 +27022,16 @@ "binop": null }, "value": "playlist", - "start": 6359, - "end": 6367, + "start": 5509, + "end": 5517, "loc": { "start": { - "line": 149, - "column": 40 + "line": 178, + "column": 51 }, "end": { - "line": 149, - "column": 48 + "line": 178, + "column": 59 } } }, @@ -27477,16 +27048,16 @@ "binop": null, "updateContext": null }, - "start": 6368, - "end": 6370, + "start": 5518, + "end": 5520, "loc": { "start": { - "line": 149, - "column": 49 + "line": 178, + "column": 60 }, "end": { - "line": 149, - "column": 51 + "line": 178, + "column": 62 } } }, @@ -27502,16 +27073,16 @@ "postfix": false, "binop": null }, - "start": 6371, - "end": 6372, + "start": 5521, + "end": 5522, "loc": { "start": { - "line": 149, - "column": 52 + "line": 178, + "column": 63 }, "end": { - "line": 149, - "column": 53 + "line": 178, + "column": 64 } } }, @@ -27530,16 +27101,16 @@ "updateContext": null }, "value": "if", - "start": 6409, - "end": 6411, + "start": 5539, + "end": 5541, "loc": { "start": { - "line": 150, - "column": 36 + "line": 179, + "column": 16 }, "end": { - "line": 150, - "column": 38 + "line": 179, + "column": 18 } } }, @@ -27555,16 +27126,16 @@ "postfix": false, "binop": null }, - "start": 6412, - "end": 6413, + "start": 5542, + "end": 5543, "loc": { "start": { - "line": 150, - "column": 39 + "line": 179, + "column": 19 }, "end": { - "line": 150, - "column": 40 + "line": 179, + "column": 20 } } }, @@ -27583,16 +27154,16 @@ "updateContext": null }, "value": "this", - "start": 6413, - "end": 6417, + "start": 5543, + "end": 5547, "loc": { "start": { - "line": 150, - "column": 40 + "line": 179, + "column": 20 }, "end": { - "line": 150, - "column": 44 + "line": 179, + "column": 24 } } }, @@ -27609,16 +27180,16 @@ "binop": null, "updateContext": null }, - "start": 6417, - "end": 6418, + "start": 5547, + "end": 5548, "loc": { "start": { - "line": 150, - "column": 44 + "line": 179, + "column": 24 }, "end": { - "line": 150, - "column": 45 + "line": 179, + "column": 25 } } }, @@ -27635,16 +27206,16 @@ "binop": null }, "value": "filterConditions", - "start": 6418, - "end": 6434, + "start": 5548, + "end": 5564, "loc": { "start": { - "line": 150, - "column": 45 + "line": 179, + "column": 25 }, "end": { - "line": 150, - "column": 61 + "line": 179, + "column": 41 } } }, @@ -27661,16 +27232,16 @@ "binop": null, "updateContext": null }, - "start": 6434, - "end": 6435, + "start": 5564, + "end": 5565, "loc": { "start": { - "line": 150, - "column": 61 + "line": 179, + "column": 41 }, "end": { - "line": 150, - "column": 62 + "line": 179, + "column": 42 } } }, @@ -27687,16 +27258,16 @@ "binop": null }, "value": "playlist", - "start": 6435, - "end": 6443, + "start": 5565, + "end": 5573, "loc": { "start": { - "line": 150, - "column": 62 + "line": 179, + "column": 42 }, "end": { - "line": 150, - "column": 70 + "line": 179, + "column": 50 } } }, @@ -27714,16 +27285,16 @@ "updateContext": null }, "value": "===", - "start": 6444, - "end": 6447, + "start": 5574, + "end": 5577, "loc": { "start": { - "line": 150, - "column": 71 + "line": 179, + "column": 51 }, "end": { - "line": 150, - "column": 74 + "line": 179, + "column": 54 } } }, @@ -27740,16 +27311,16 @@ "binop": null }, "value": "undefined", - "start": 6448, - "end": 6457, + "start": 5578, + "end": 5587, "loc": { "start": { - "line": 150, - "column": 75 + "line": 179, + "column": 55 }, "end": { - "line": 150, - "column": 84 + "line": 179, + "column": 64 } } }, @@ -27765,16 +27336,16 @@ "postfix": false, "binop": null }, - "start": 6457, - "end": 6458, + "start": 5587, + "end": 5588, "loc": { "start": { - "line": 150, - "column": 84 + "line": 179, + "column": 64 }, "end": { - "line": 150, - "column": 85 + "line": 179, + "column": 65 } } }, @@ -27790,16 +27361,16 @@ "postfix": false, "binop": null }, - "start": 6459, - "end": 6460, + "start": 5589, + "end": 5590, "loc": { "start": { - "line": 150, - "column": 86 + "line": 179, + "column": 66 }, "end": { - "line": 150, - "column": 87 + "line": 179, + "column": 67 } } }, @@ -27818,16 +27389,16 @@ "updateContext": null }, "value": "return", - "start": 6501, - "end": 6507, + "start": 5609, + "end": 5615, "loc": { "start": { - "line": 151, - "column": 40 + "line": 180, + "column": 18 }, "end": { - "line": 151, - "column": 46 + "line": 180, + "column": 24 } } }, @@ -27846,16 +27417,42 @@ "updateContext": null }, "value": "true", - "start": 6508, - "end": 6512, + "start": 5616, + "end": 5620, "loc": { "start": { - "line": 151, - "column": 47 + "line": 180, + "column": 25 }, "end": { - "line": 151, - "column": 51 + "line": 180, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5620, + "end": 5621, + "loc": { + "start": { + "line": 180, + "column": 29 + }, + "end": { + "line": 180, + "column": 30 } } }, @@ -27871,16 +27468,16 @@ "postfix": false, "binop": null }, - "start": 6549, - "end": 6550, + "start": 5638, + "end": 5639, "loc": { "start": { - "line": 152, - "column": 36 + "line": 181, + "column": 16 }, "end": { - "line": 152, - "column": 37 + "line": 181, + "column": 17 } } }, @@ -27899,16 +27496,16 @@ "updateContext": null }, "value": "else", - "start": 6551, - "end": 6555, + "start": 5640, + "end": 5644, "loc": { "start": { - "line": 152, - "column": 38 + "line": 181, + "column": 18 }, "end": { - "line": 152, - "column": 42 + "line": 181, + "column": 22 } } }, @@ -27924,16 +27521,16 @@ "postfix": false, "binop": null }, - "start": 6556, - "end": 6557, + "start": 5645, + "end": 5646, "loc": { "start": { - "line": 152, - "column": 43 + "line": 181, + "column": 23 }, "end": { - "line": 152, - "column": 44 + "line": 181, + "column": 24 } } }, @@ -27952,16 +27549,16 @@ "updateContext": null }, "value": "return", - "start": 6598, - "end": 6604, + "start": 5665, + "end": 5671, "loc": { "start": { - "line": 153, - "column": 40 + "line": 182, + "column": 18 }, "end": { - "line": 153, - "column": 46 + "line": 182, + "column": 24 } } }, @@ -27980,16 +27577,16 @@ "updateContext": null }, "value": "new", - "start": 6605, - "end": 6608, + "start": 5672, + "end": 5675, "loc": { "start": { - "line": 153, - "column": 47 + "line": 182, + "column": 25 }, "end": { - "line": 153, - "column": 50 + "line": 182, + "column": 28 } } }, @@ -28006,16 +27603,16 @@ "binop": null }, "value": "RegExp", - "start": 6609, - "end": 6615, + "start": 5676, + "end": 5682, "loc": { "start": { - "line": 153, - "column": 51 + "line": 182, + "column": 29 }, "end": { - "line": 153, - "column": 57 + "line": 182, + "column": 35 } } }, @@ -28031,16 +27628,16 @@ "postfix": false, "binop": null }, - "start": 6615, - "end": 6616, + "start": 5682, + "end": 5683, "loc": { "start": { - "line": 153, - "column": 57 + "line": 182, + "column": 35 }, "end": { - "line": 153, - "column": 58 + "line": 182, + "column": 36 } } }, @@ -28058,16 +27655,16 @@ "updateContext": null }, "value": ".*", - "start": 6616, - "end": 6620, + "start": 5704, + "end": 5708, "loc": { "start": { - "line": 153, - "column": 58 + "line": 183, + "column": 20 }, "end": { - "line": 153, - "column": 62 + "line": 183, + "column": 24 } } }, @@ -28085,16 +27682,16 @@ "updateContext": null }, "value": "+", - "start": 6621, - "end": 6622, + "start": 5709, + "end": 5710, "loc": { "start": { - "line": 153, - "column": 63 + "line": 183, + "column": 25 }, "end": { - "line": 153, - "column": 64 + "line": 183, + "column": 26 } } }, @@ -28113,16 +27710,16 @@ "updateContext": null }, "value": "this", - "start": 6623, - "end": 6627, + "start": 5711, + "end": 5715, "loc": { "start": { - "line": 153, - "column": 65 + "line": 183, + "column": 27 }, "end": { - "line": 153, - "column": 69 + "line": 183, + "column": 31 } } }, @@ -28139,16 +27736,16 @@ "binop": null, "updateContext": null }, - "start": 6627, - "end": 6628, + "start": 5715, + "end": 5716, "loc": { "start": { - "line": 153, - "column": 69 + "line": 183, + "column": 31 }, "end": { - "line": 153, - "column": 70 + "line": 183, + "column": 32 } } }, @@ -28165,16 +27762,16 @@ "binop": null }, "value": "filterConditions", - "start": 6628, - "end": 6644, + "start": 5716, + "end": 5732, "loc": { "start": { - "line": 153, - "column": 70 + "line": 183, + "column": 32 }, "end": { - "line": 153, - "column": 86 + "line": 183, + "column": 48 } } }, @@ -28191,16 +27788,16 @@ "binop": null, "updateContext": null }, - "start": 6644, - "end": 6645, + "start": 5732, + "end": 5733, "loc": { "start": { - "line": 153, - "column": 86 + "line": 183, + "column": 48 }, "end": { - "line": 153, - "column": 87 + "line": 183, + "column": 49 } } }, @@ -28217,16 +27814,16 @@ "binop": null }, "value": "playlist", - "start": 6645, - "end": 6653, + "start": 5733, + "end": 5741, "loc": { "start": { - "line": 153, - "column": 87 + "line": 183, + "column": 49 }, "end": { - "line": 153, - "column": 95 + "line": 183, + "column": 57 } } }, @@ -28244,16 +27841,16 @@ "updateContext": null }, "value": "+", - "start": 6654, - "end": 6655, + "start": 5742, + "end": 5743, "loc": { "start": { - "line": 153, - "column": 96 + "line": 183, + "column": 58 }, "end": { - "line": 153, - "column": 97 + "line": 183, + "column": 59 } } }, @@ -28271,16 +27868,16 @@ "updateContext": null }, "value": ".*", - "start": 6656, - "end": 6660, + "start": 5744, + "end": 5748, "loc": { "start": { - "line": 153, - "column": 98 + "line": 183, + "column": 60 }, "end": { - "line": 153, - "column": 102 + "line": 183, + "column": 64 } } }, @@ -28296,16 +27893,16 @@ "postfix": false, "binop": null }, - "start": 6660, - "end": 6661, + "start": 5767, + "end": 5768, "loc": { "start": { - "line": 153, - "column": 102 + "line": 184, + "column": 18 }, "end": { - "line": 153, - "column": 103 + "line": 184, + "column": 19 } } }, @@ -28322,16 +27919,16 @@ "binop": null, "updateContext": null }, - "start": 6661, - "end": 6662, + "start": 5768, + "end": 5769, "loc": { "start": { - "line": 153, - "column": 103 + "line": 184, + "column": 19 }, "end": { - "line": 153, - "column": 104 + "line": 184, + "column": 20 } } }, @@ -28348,16 +27945,16 @@ "binop": null }, "value": "test", - "start": 6662, - "end": 6666, + "start": 5769, + "end": 5773, "loc": { "start": { - "line": 153, - "column": 104 + "line": 184, + "column": 20 }, "end": { - "line": 153, - "column": 108 + "line": 184, + "column": 24 } } }, @@ -28373,16 +27970,16 @@ "postfix": false, "binop": null }, - "start": 6666, - "end": 6667, + "start": 5773, + "end": 5774, "loc": { "start": { - "line": 153, - "column": 108 + "line": 184, + "column": 24 }, "end": { - "line": 153, - "column": 109 + "line": 184, + "column": 25 } } }, @@ -28399,16 +27996,16 @@ "binop": null }, "value": "playlist", - "start": 6667, - "end": 6675, + "start": 5774, + "end": 5782, "loc": { "start": { - "line": 153, - "column": 109 + "line": 184, + "column": 25 }, "end": { - "line": 153, - "column": 117 + "line": 184, + "column": 33 } } }, @@ -28425,16 +28022,16 @@ "binop": null, "updateContext": null }, - "start": 6675, - "end": 6676, + "start": 5782, + "end": 5783, "loc": { "start": { - "line": 153, - "column": 117 + "line": 184, + "column": 33 }, "end": { - "line": 153, - "column": 118 + "line": 184, + "column": 34 } } }, @@ -28451,16 +28048,16 @@ "binop": null }, "value": "title", - "start": 6676, - "end": 6681, + "start": 5783, + "end": 5788, "loc": { "start": { - "line": 153, - "column": 118 + "line": 184, + "column": 34 }, "end": { - "line": 153, - "column": 123 + "line": 184, + "column": 39 } } }, @@ -28476,16 +28073,42 @@ "postfix": false, "binop": null }, - "start": 6681, - "end": 6682, + "start": 5788, + "end": 5789, "loc": { "start": { - "line": 153, - "column": 123 + "line": 184, + "column": 39 }, "end": { - "line": 153, - "column": 124 + "line": 184, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5789, + "end": 5790, + "loc": { + "start": { + "line": 184, + "column": 40 + }, + "end": { + "line": 184, + "column": 41 } } }, @@ -28501,16 +28124,16 @@ "postfix": false, "binop": null }, - "start": 6719, - "end": 6720, + "start": 5807, + "end": 5808, "loc": { "start": { - "line": 154, - "column": 36 + "line": 185, + "column": 16 }, "end": { - "line": 154, - "column": 37 + "line": 185, + "column": 17 } } }, @@ -28526,16 +28149,16 @@ "postfix": false, "binop": null }, - "start": 6753, - "end": 6754, + "start": 5823, + "end": 5824, "loc": { "start": { - "line": 155, - "column": 32 + "line": 186, + "column": 14 }, "end": { - "line": 155, - "column": 33 + "line": 186, + "column": 15 } } }, @@ -28551,16 +28174,16 @@ "postfix": false, "binop": null }, - "start": 6754, - "end": 6755, + "start": 5824, + "end": 5825, "loc": { "start": { - "line": 155, - "column": 33 + "line": 186, + "column": 15 }, "end": { - "line": 155, - "column": 34 + "line": 186, + "column": 16 } } }, @@ -28576,16 +28199,16 @@ "postfix": false, "binop": null }, - "start": 6780, - "end": 6781, + "start": 5838, + "end": 5839, "loc": { "start": { - "line": 156, - "column": 24 + "line": 187, + "column": 12 }, "end": { - "line": 156, - "column": 25 + "line": 187, + "column": 13 } } }, @@ -28601,16 +28224,16 @@ "postfix": false, "binop": null }, - "start": 6781, - "end": 6782, + "start": 5839, + "end": 5840, "loc": { "start": { - "line": 156, - "column": 25 + "line": 187, + "column": 13 }, "end": { - "line": 156, - "column": 26 + "line": 187, + "column": 14 } } }, @@ -28626,16 +28249,42 @@ "postfix": false, "binop": null }, - "start": 6803, - "end": 6804, + "start": 5851, + "end": 5852, "loc": { "start": { - "line": 157, - "column": 20 + "line": 188, + "column": 10 }, "end": { - "line": 157, - "column": 21 + "line": 188, + "column": 11 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5852, + "end": 5853, + "loc": { + "start": { + "line": 188, + "column": 11 + }, + "end": { + "line": 188, + "column": 12 } } }, @@ -28654,16 +28303,16 @@ "updateContext": null }, "value": "default", - "start": 6841, - "end": 6848, + "start": 5862, + "end": 5869, "loc": { "start": { - "line": 158, - "column": 16 + "line": 189, + "column": 8 }, "end": { - "line": 158, - "column": 23 + "line": 189, + "column": 15 } } }, @@ -28680,16 +28329,16 @@ "binop": null, "updateContext": null }, - "start": 6848, - "end": 6849, + "start": 5869, + "end": 5870, "loc": { "start": { - "line": 158, - "column": 23 + "line": 189, + "column": 15 }, "end": { - "line": 158, - "column": 24 + "line": 189, + "column": 16 } } }, @@ -28708,16 +28357,16 @@ "updateContext": null }, "value": "return", - "start": 6870, - "end": 6876, + "start": 5881, + "end": 5887, "loc": { "start": { - "line": 159, - "column": 20 + "line": 190, + "column": 10 }, "end": { - "line": 159, - "column": 26 + "line": 190, + "column": 16 } } }, @@ -28733,16 +28382,16 @@ "postfix": false, "binop": null }, - "start": 6877, - "end": 6878, + "start": 5888, + "end": 5889, "loc": { "start": { - "line": 159, - "column": 27 + "line": 190, + "column": 17 }, "end": { - "line": 159, - "column": 28 + "line": 190, + "column": 18 } } }, @@ -28759,16 +28408,16 @@ "binop": null, "updateContext": null }, - "start": 6878, - "end": 6879, + "start": 5902, + "end": 5903, "loc": { "start": { - "line": 159, - "column": 28 + "line": 191, + "column": 12 }, "end": { - "line": 159, - "column": 29 + "line": 191, + "column": 13 } } }, @@ -28785,16 +28434,16 @@ "binop": null }, "value": "key", - "start": 6879, - "end": 6882, + "start": 5903, + "end": 5906, "loc": { "start": { - "line": 159, - "column": 29 + "line": 191, + "column": 13 }, "end": { - "line": 159, - "column": 32 + "line": 191, + "column": 16 } } }, @@ -28811,16 +28460,16 @@ "binop": null, "updateContext": null }, - "start": 6882, - "end": 6883, + "start": 5906, + "end": 5907, "loc": { "start": { - "line": 159, - "column": 32 + "line": 191, + "column": 16 }, "end": { - "line": 159, - "column": 33 + "line": 191, + "column": 17 } } }, @@ -28837,16 +28486,16 @@ "binop": null, "updateContext": null }, - "start": 6883, - "end": 6884, + "start": 5907, + "end": 5908, "loc": { "start": { - "line": 159, - "column": 33 + "line": 191, + "column": 17 }, "end": { - "line": 159, - "column": 34 + "line": 191, + "column": 18 } } }, @@ -28863,16 +28512,16 @@ "binop": null }, "value": "response", - "start": 6885, - "end": 6893, + "start": 5909, + "end": 5917, "loc": { "start": { - "line": 159, - "column": 35 + "line": 191, + "column": 19 }, "end": { - "line": 159, - "column": 43 + "line": 191, + "column": 27 } } }, @@ -28889,16 +28538,16 @@ "binop": null, "updateContext": null }, - "start": 6893, - "end": 6894, + "start": 5917, + "end": 5918, "loc": { "start": { - "line": 159, - "column": 43 + "line": 191, + "column": 27 }, "end": { - "line": 159, - "column": 44 + "line": 191, + "column": 28 } } }, @@ -28915,16 +28564,16 @@ "binop": null }, "value": "data", - "start": 6894, - "end": 6898, + "start": 5918, + "end": 5922, "loc": { "start": { - "line": 159, - "column": 44 + "line": 191, + "column": 28 }, "end": { - "line": 159, - "column": 48 + "line": 191, + "column": 32 } } }, @@ -28941,16 +28590,16 @@ "binop": null, "updateContext": null }, - "start": 6898, - "end": 6899, + "start": 5922, + "end": 5923, "loc": { "start": { - "line": 159, - "column": 48 + "line": 191, + "column": 32 }, "end": { - "line": 159, - "column": 49 + "line": 191, + "column": 33 } } }, @@ -28958,7 +28607,59 @@ "type": { "label": "name", "beforeExpr": false, - "startsExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 5923, + "end": 5926, + "loc": { + "start": { + "line": 191, + "column": 33 + }, + "end": { + "line": 191, + "column": 36 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5926, + "end": 5927, + "loc": { + "start": { + "line": 191, + "column": 36 + }, + "end": { + "line": 191, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -28966,24 +28667,23 @@ "postfix": false, "binop": null }, - "value": "key", - "start": 6899, - "end": 6902, + "start": 5938, + "end": 5939, "loc": { "start": { - "line": 159, - "column": 49 + "line": 192, + "column": 10 }, "end": { - "line": 159, - "column": 52 + "line": 192, + "column": 11 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -28993,16 +28693,16 @@ "binop": null, "updateContext": null }, - "start": 6902, - "end": 6903, + "start": 5939, + "end": 5940, "loc": { "start": { - "line": 159, - "column": 52 + "line": 192, + "column": 11 }, "end": { - "line": 159, - "column": 53 + "line": 192, + "column": 12 } } }, @@ -29018,16 +28718,16 @@ "postfix": false, "binop": null }, - "start": 6903, - "end": 6904, + "start": 5947, + "end": 5948, "loc": { "start": { - "line": 159, - "column": 53 + "line": 193, + "column": 6 }, "end": { - "line": 159, - "column": 54 + "line": 193, + "column": 7 } } }, @@ -29043,22 +28743,22 @@ "postfix": false, "binop": null }, - "start": 6917, - "end": 6918, + "start": 5953, + "end": 5954, "loc": { "start": { - "line": 160, - "column": 12 + "line": 194, + "column": 4 }, "end": { - "line": 160, - "column": 13 + "line": 194, + "column": 5 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -29068,41 +28768,42 @@ "postfix": false, "binop": null }, - "start": 6927, - "end": 6928, + "start": 5954, + "end": 5955, "loc": { "start": { - "line": 161, - "column": 8 + "line": 194, + "column": 5 }, "end": { - "line": 161, - "column": 9 + "line": 194, + "column": 6 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6928, - "end": 6929, + "start": 5955, + "end": 5956, "loc": { "start": { - "line": 161, - "column": 9 + "line": 194, + "column": 6 }, "end": { - "line": 161, - "column": 10 + "line": 194, + "column": 7 } } }, @@ -29121,16 +28822,16 @@ "updateContext": null }, "value": "return", - "start": 6938, - "end": 6944, + "start": 5961, + "end": 5967, "loc": { "start": { - "line": 162, - "column": 8 + "line": 195, + "column": 4 }, "end": { - "line": 162, - "column": 14 + "line": 195, + "column": 10 } } }, @@ -29147,16 +28848,16 @@ "binop": null }, "value": "Object", - "start": 6945, - "end": 6951, + "start": 5968, + "end": 5974, "loc": { "start": { - "line": 162, - "column": 15 + "line": 195, + "column": 11 }, "end": { - "line": 162, - "column": 21 + "line": 195, + "column": 17 } } }, @@ -29173,16 +28874,16 @@ "binop": null, "updateContext": null }, - "start": 6951, - "end": 6952, + "start": 5974, + "end": 5975, "loc": { "start": { - "line": 162, - "column": 21 + "line": 195, + "column": 17 }, "end": { - "line": 162, - "column": 22 + "line": 195, + "column": 18 } } }, @@ -29199,16 +28900,16 @@ "binop": null }, "value": "assign", - "start": 6952, - "end": 6958, + "start": 5975, + "end": 5981, "loc": { "start": { - "line": 162, - "column": 22 + "line": 195, + "column": 18 }, "end": { - "line": 162, - "column": 28 + "line": 195, + "column": 24 } } }, @@ -29224,16 +28925,16 @@ "postfix": false, "binop": null }, - "start": 6958, - "end": 6959, + "start": 5981, + "end": 5982, "loc": { "start": { - "line": 162, - "column": 28 + "line": 195, + "column": 24 }, "end": { - "line": 162, - "column": 29 + "line": 195, + "column": 25 } } }, @@ -29250,16 +28951,16 @@ "binop": null }, "value": "response", - "start": 6959, - "end": 6967, + "start": 5982, + "end": 5990, "loc": { "start": { - "line": 162, - "column": 29 + "line": 195, + "column": 25 }, "end": { - "line": 162, - "column": 37 + "line": 195, + "column": 33 } } }, @@ -29276,16 +28977,16 @@ "binop": null, "updateContext": null }, - "start": 6967, - "end": 6968, + "start": 5990, + "end": 5991, "loc": { "start": { - "line": 162, - "column": 37 + "line": 195, + "column": 33 }, "end": { - "line": 162, - "column": 38 + "line": 195, + "column": 34 } } }, @@ -29301,16 +29002,16 @@ "postfix": false, "binop": null }, - "start": 6969, - "end": 6970, + "start": 5992, + "end": 5993, "loc": { "start": { - "line": 162, - "column": 39 + "line": 195, + "column": 35 }, "end": { - "line": 162, - "column": 40 + "line": 195, + "column": 36 } } }, @@ -29327,16 +29028,16 @@ "binop": null }, "value": "data", - "start": 6970, - "end": 6974, + "start": 6000, + "end": 6004, "loc": { "start": { - "line": 162, - "column": 40 + "line": 196, + "column": 6 }, "end": { - "line": 162, - "column": 44 + "line": 196, + "column": 10 } } }, @@ -29353,16 +29054,16 @@ "binop": null, "updateContext": null }, - "start": 6974, - "end": 6975, + "start": 6004, + "end": 6005, "loc": { "start": { - "line": 162, - "column": 44 + "line": 196, + "column": 10 }, "end": { - "line": 162, - "column": 45 + "line": 196, + "column": 11 } } }, @@ -29379,16 +29080,16 @@ "binop": null }, "value": "Object", - "start": 6976, - "end": 6982, + "start": 6006, + "end": 6012, "loc": { "start": { - "line": 162, - "column": 46 + "line": 196, + "column": 12 }, "end": { - "line": 162, - "column": 52 + "line": 196, + "column": 18 } } }, @@ -29405,16 +29106,16 @@ "binop": null, "updateContext": null }, - "start": 6982, - "end": 6983, + "start": 6012, + "end": 6013, "loc": { "start": { - "line": 162, - "column": 52 + "line": 196, + "column": 18 }, "end": { - "line": 162, - "column": 53 + "line": 196, + "column": 19 } } }, @@ -29431,16 +29132,16 @@ "binop": null }, "value": "assign", - "start": 6983, - "end": 6989, + "start": 6013, + "end": 6019, "loc": { "start": { - "line": 162, - "column": 53 + "line": 196, + "column": 19 }, "end": { - "line": 162, - "column": 59 + "line": 196, + "column": 25 } } }, @@ -29456,16 +29157,16 @@ "postfix": false, "binop": null }, - "start": 6989, - "end": 6990, + "start": 6019, + "end": 6020, "loc": { "start": { - "line": 162, - "column": 59 + "line": 196, + "column": 25 }, "end": { - "line": 162, - "column": 60 + "line": 196, + "column": 26 } } }, @@ -29482,16 +29183,16 @@ "binop": null, "updateContext": null }, - "start": 6990, - "end": 6993, + "start": 6020, + "end": 6023, "loc": { "start": { - "line": 162, - "column": 60 + "line": 196, + "column": 26 }, "end": { - "line": 162, - "column": 63 + "line": 196, + "column": 29 } } }, @@ -29508,16 +29209,16 @@ "binop": null }, "value": "data", - "start": 6993, - "end": 6997, + "start": 6023, + "end": 6027, "loc": { "start": { - "line": 162, - "column": 63 + "line": 196, + "column": 29 }, "end": { - "line": 162, - "column": 67 + "line": 196, + "column": 33 } } }, @@ -29533,16 +29234,16 @@ "postfix": false, "binop": null }, - "start": 6997, - "end": 6998, + "start": 6027, + "end": 6028, "loc": { "start": { - "line": 162, - "column": 67 + "line": 196, + "column": 33 }, "end": { - "line": 162, - "column": 68 + "line": 196, + "column": 34 } } }, @@ -29558,16 +29259,16 @@ "postfix": false, "binop": null }, - "start": 6998, - "end": 6999, + "start": 6033, + "end": 6034, "loc": { "start": { - "line": 162, - "column": 68 + "line": 197, + "column": 4 }, "end": { - "line": 162, - "column": 69 + "line": 197, + "column": 5 } } }, @@ -29583,16 +29284,42 @@ "postfix": false, "binop": null }, - "start": 6999, - "end": 7000, + "start": 6034, + "end": 6035, "loc": { "start": { - "line": 162, - "column": 69 + "line": 197, + "column": 5 }, "end": { - "line": 162, - "column": 70 + "line": 197, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6035, + "end": 6036, + "loc": { + "start": { + "line": 197, + "column": 6 + }, + "end": { + "line": 197, + "column": 7 } } }, @@ -29608,16 +29335,16 @@ "postfix": false, "binop": null }, - "start": 7005, - "end": 7006, + "start": 6039, + "end": 6040, "loc": { "start": { - "line": 163, - "column": 4 + "line": 198, + "column": 2 }, "end": { - "line": 163, - "column": 5 + "line": 198, + "column": 3 } } }, @@ -29636,16 +29363,16 @@ "updateContext": null }, "value": "else", - "start": 7007, - "end": 7011, + "start": 6041, + "end": 6045, "loc": { "start": { - "line": 163, - "column": 6 + "line": 198, + "column": 4 }, "end": { - "line": 163, - "column": 10 + "line": 198, + "column": 8 } } }, @@ -29661,16 +29388,16 @@ "postfix": false, "binop": null }, - "start": 7012, - "end": 7013, + "start": 6046, + "end": 6047, "loc": { "start": { - "line": 163, - "column": 11 + "line": 198, + "column": 9 }, "end": { - "line": 163, - "column": 12 + "line": 198, + "column": 10 } } }, @@ -29689,16 +29416,16 @@ "updateContext": null }, "value": "return", - "start": 7022, - "end": 7028, + "start": 6052, + "end": 6058, "loc": { "start": { - "line": 164, - "column": 8 + "line": 199, + "column": 4 }, "end": { - "line": 164, - "column": 14 + "line": 199, + "column": 10 } } }, @@ -29715,16 +29442,42 @@ "binop": null }, "value": "response", - "start": 7029, - "end": 7037, + "start": 6059, + "end": 6067, "loc": { "start": { - "line": 164, - "column": 15 + "line": 199, + "column": 11 }, "end": { - "line": 164, - "column": 23 + "line": 199, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6067, + "end": 6068, + "loc": { + "start": { + "line": 199, + "column": 19 + }, + "end": { + "line": 199, + "column": 20 } } }, @@ -29740,16 +29493,16 @@ "postfix": false, "binop": null }, - "start": 7042, - "end": 7043, + "start": 6071, + "end": 6072, "loc": { "start": { - "line": 165, - "column": 4 + "line": 200, + "column": 2 }, "end": { - "line": 165, - "column": 5 + "line": 200, + "column": 3 } } }, @@ -29765,15 +29518,15 @@ "postfix": false, "binop": null }, - "start": 7044, - "end": 7045, + "start": 6073, + "end": 6074, "loc": { "start": { - "line": 166, + "line": 201, "column": 0 }, "end": { - "line": 166, + "line": 201, "column": 1 } } @@ -29791,16 +29544,16 @@ "binop": null, "updateContext": null }, - "start": 7045, - "end": 7045, + "start": 6075, + "end": 6075, "loc": { "start": { - "line": 166, - "column": 1 + "line": 202, + "column": 0 }, "end": { - "line": 166, - "column": 1 + "line": 202, + "column": 0 } } } diff --git a/docs/ast/source/api/SharedPlaylistFetcher.js.json b/docs/ast/source/api/SharedPlaylistFetcher.js.json index 600d7be..eaa7c66 100644 --- a/docs/ast/source/api/SharedPlaylistFetcher.js.json +++ b/docs/ast/source/api/SharedPlaylistFetcher.js.json @@ -1,29 +1,29 @@ { "type": "File", "start": 0, - "end": 2262, + "end": 2065, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 69, - "column": 1 + "line": 78, + "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 2262, + "end": 2065, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 69, - "column": 1 + "line": 78, + "column": 0 } }, "sourceType": "module", @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 56, + "end": 59, "loc": { "start": { "line": 1, @@ -39,36 +39,36 @@ }, "end": { "line": 1, - "column": 56 + "column": 59 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 8, - "end": 36, + "start": 9, + "end": 37, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 36 + "column": 37 } }, "imported": { "type": "Identifier", - "start": 8, - "end": 24, + "start": 9, + "end": 25, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 24 + "column": 25 }, "identifierName": "SHARED_PLAYLISTS" }, @@ -76,16 +76,16 @@ }, "local": { "type": "Identifier", - "start": 28, - "end": 36, + "start": 29, + "end": 37, "loc": { "start": { "line": 1, - "column": 28 + "column": 29 }, "end": { "line": 1, - "column": 36 + "column": 37 }, "identifierName": "ENDPOINT" }, @@ -95,16 +95,16 @@ ], "source": { "type": "StringLiteral", - "start": 43, - "end": 56, + "start": 45, + "end": 58, "loc": { "start": { "line": 1, - "column": 43 + "column": 45 }, "end": { "line": 1, - "column": 56 + "column": 58 } }, "extra": { @@ -116,8 +116,8 @@ }, { "type": "ImportDeclaration", - "start": 57, - "end": 88, + "start": 60, + "end": 92, "loc": { "start": { "line": 2, @@ -125,14 +125,14 @@ }, "end": { "line": 2, - "column": 31 + "column": 32 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 64, - "end": 71, + "start": 67, + "end": 74, "loc": { "start": { "line": 2, @@ -145,8 +145,8 @@ }, "local": { "type": "Identifier", - "start": 64, - "end": 71, + "start": 67, + "end": 74, "loc": { "start": { "line": 2, @@ -164,8 +164,8 @@ ], "source": { "type": "StringLiteral", - "start": 77, - "end": 88, + "start": 80, + "end": 91, "loc": { "start": { "line": 2, @@ -180,16 +180,14 @@ "rawValue": "./Fetcher", "raw": "'./Fetcher'" }, - "value": "./Fetcher", - "leadingComments": null, - "trailingComments": null + "value": "./Fetcher" }, "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Get playlist metadata.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists\n ", - "start": 90, - "end": 200, + "value": "*\n * Get playlist metadata.\n * @see https://docs-en.kkbox.codes/v1.1/reference#shared-playlists\n ", + "start": 94, + "end": 195, "loc": { "start": { "line": 4, @@ -205,36 +203,36 @@ }, { "type": "ExportDefaultDeclaration", - "start": 201, - "end": 2262, + "start": 196, + "end": 2064, "loc": { "start": { "line": 8, "column": 0 }, "end": { - "line": 69, + "line": 77, "column": 1 } }, "declaration": { "type": "ClassDeclaration", - "start": 216, - "end": 2262, + "start": 211, + "end": 2064, "loc": { "start": { "line": 8, "column": 15 }, "end": { - "line": 69, + "line": 77, "column": 1 } }, "id": { "type": "Identifier", - "start": 222, - "end": 243, + "start": 217, + "end": 238, "loc": { "start": { "line": 8, @@ -251,8 +249,8 @@ }, "superClass": { "type": "Identifier", - "start": 252, - "end": 259, + "start": 247, + "end": 254, "loc": { "start": { "line": 8, @@ -268,53 +266,53 @@ }, "body": { "type": "ClassBody", - "start": 260, - "end": 2262, + "start": 255, + "end": 2064, "loc": { "start": { "line": 8, "column": 59 }, "end": { - "line": 69, + "line": 77, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 297, - "end": 452, + "start": 284, + "end": 418, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 19, - "column": 5 + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 297, - "end": 308, + "start": 284, + "end": 295, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 12, - "column": 15 + "column": 13 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, - "static": false, "kind": "constructor", "id": null, "generator": false, @@ -323,16 +321,16 @@ "params": [ { "type": "Identifier", - "start": 309, - "end": 313, + "start": 296, + "end": 300, "loc": { "start": { "line": 12, - "column": 16 + "column": 14 }, "end": { "line": 12, - "column": 20 + "column": 18 }, "identifierName": "http" }, @@ -340,30 +338,30 @@ }, { "type": "AssignmentPattern", - "start": 315, - "end": 331, + "start": 302, + "end": 318, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 38 + "column": 36 } }, "left": { "type": "Identifier", - "start": 315, - "end": 324, + "start": 302, + "end": 311, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 31 + "column": 29 }, "identifierName": "territory" }, @@ -371,16 +369,16 @@ }, "right": { "type": "StringLiteral", - "start": 327, - "end": 331, + "start": 314, + "end": 318, "loc": { "start": { "line": 12, - "column": 34 + "column": 32 }, "end": { "line": 12, - "column": 38 + "column": 36 } }, "extra": { @@ -393,75 +391,75 @@ ], "body": { "type": "BlockStatement", - "start": 333, - "end": 452, + "start": 320, + "end": 418, "loc": { "start": { "line": 12, - "column": 40 + "column": 38 }, "end": { "line": 19, - "column": 5 + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 343, - "end": 365, + "start": 326, + "end": 349, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 30 + "column": 27 } }, "expression": { "type": "CallExpression", - "start": 343, - "end": 365, + "start": 326, + "end": 348, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 30 + "column": 26 } }, "callee": { "type": "Super", - "start": 343, - "end": 348, + "start": 326, + "end": 331, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 13 + "column": 9 } } }, "arguments": [ { "type": "Identifier", - "start": 349, - "end": 353, + "start": 332, + "end": 336, "loc": { "start": { "line": 13, - "column": 14 + "column": 10 }, "end": { "line": 13, - "column": 18 + "column": 14 }, "identifierName": "http" }, @@ -469,38 +467,37 @@ }, { "type": "Identifier", - "start": 355, - "end": 364, + "start": 338, + "end": 347, "loc": { "start": { "line": 13, - "column": 20 + "column": 16 }, "end": { "line": 13, - "column": 29 + "column": 25 }, "identifierName": "territory" }, "name": "territory" } - ], - "trailingComments": null + ] }, "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 375, - "end": 409, + "value": "*\n * @ignore\n ", + "start": 355, + "end": 381, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } } @@ -508,95 +505,95 @@ }, { "type": "ExpressionStatement", - "start": 418, - "end": 446, + "start": 386, + "end": 414, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 36 + "column": 32 } }, "expression": { "type": "AssignmentExpression", - "start": 418, - "end": 446, + "start": 386, + "end": 413, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 36 + "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 418, - "end": 434, + "start": 386, + "end": 401, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 24 + "column": 19 } }, "object": { "type": "ThisExpression", - "start": 418, - "end": 422, + "start": 386, + "end": 390, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 12 + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 423, - "end": 434, + "start": 391, + "end": 401, "loc": { "start": { "line": 18, - "column": 13 + "column": 9 }, "end": { "line": 18, - "column": 24 + "column": 19 }, - "identifierName": "playlist_id" + "identifierName": "playlistID" }, - "name": "playlist_id" + "name": "playlistID" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", - "start": 437, - "end": 446, + "start": 404, + "end": 413, "loc": { "start": { "line": 18, - "column": 27 + "column": 22 }, "end": { "line": 18, - "column": 36 + "column": 31 }, "identifierName": "undefined" }, @@ -607,17 +604,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 375, - "end": 409, + "value": "*\n * @ignore\n ", + "start": 355, + "end": 381, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } } @@ -630,17 +627,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 266, - "end": 292, + "value": "*\n * @ignore\n ", + "start": 259, + "end": 281, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } } @@ -648,17 +645,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Init the shared playlist fetcher.\n *\n * @param {string} playlist_id - The ID of a playlist.\n * @return {SharedPlaylistFetcher}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists/endpoints/get-shared-playlists-playlist_id\n ", - "start": 458, - "end": 739, + "value": "*\n * Init the shared playlist fetcher.\n *\n * @param {string} playlistID - The ID of a playlist.\n * @return {SharedPlaylistFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#sharedplaylists-playlist_id\n ", + "start": 422, + "end": 649, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 27, - "column": 7 + "column": 5 } } } @@ -666,38 +663,38 @@ }, { "type": "ClassMethod", - "start": 744, - "end": 837, + "start": 652, + "end": 734, "loc": { "start": { "line": 28, - "column": 4 + "column": 2 }, "end": { "line": 31, - "column": 5 + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 744, - "end": 757, + "start": 652, + "end": 665, "loc": { "start": { "line": 28, - "column": 4 + "column": 2 }, "end": { "line": 28, - "column": 17 + "column": 15 }, "identifierName": "setPlaylistID" }, "name": "setPlaylistID", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -706,159 +703,159 @@ "params": [ { "type": "Identifier", - "start": 758, - "end": 769, + "start": 666, + "end": 676, "loc": { "start": { "line": 28, - "column": 18 + "column": 16 }, "end": { "line": 28, - "column": 29 + "column": 26 }, - "identifierName": "playlist_id" + "identifierName": "playlistID" }, - "name": "playlist_id" + "name": "playlistID" } ], "body": { "type": "BlockStatement", - "start": 771, - "end": 837, + "start": 678, + "end": 734, "loc": { "start": { "line": 28, - "column": 31 + "column": 28 }, "end": { "line": 31, - "column": 5 + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 781, - "end": 811, + "start": 684, + "end": 713, "loc": { "start": { "line": 29, - "column": 8 + "column": 4 }, "end": { "line": 29, - "column": 38 + "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 781, - "end": 811, + "start": 684, + "end": 712, "loc": { "start": { "line": 29, - "column": 8 + "column": 4 }, "end": { "line": 29, - "column": 38 + "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 781, - "end": 797, + "start": 684, + "end": 699, "loc": { "start": { "line": 29, - "column": 8 + "column": 4 }, "end": { "line": 29, - "column": 24 + "column": 19 } }, "object": { "type": "ThisExpression", - "start": 781, - "end": 785, + "start": 684, + "end": 688, "loc": { "start": { "line": 29, - "column": 8 + "column": 4 }, "end": { "line": 29, - "column": 12 + "column": 8 } } }, "property": { "type": "Identifier", - "start": 786, - "end": 797, + "start": 689, + "end": 699, "loc": { "start": { "line": 29, - "column": 13 + "column": 9 }, "end": { "line": 29, - "column": 24 + "column": 19 }, - "identifierName": "playlist_id" + "identifierName": "playlistID" }, - "name": "playlist_id" + "name": "playlistID" }, "computed": false }, "right": { "type": "Identifier", - "start": 800, - "end": 811, + "start": 702, + "end": 712, "loc": { "start": { "line": 29, - "column": 27 + "column": 22 }, "end": { "line": 29, - "column": 38 + "column": 32 }, - "identifierName": "playlist_id" + "identifierName": "playlistID" }, - "name": "playlist_id" + "name": "playlistID" } } }, { "type": "ReturnStatement", - "start": 820, - "end": 831, + "start": 718, + "end": 730, "loc": { "start": { "line": 30, - "column": 8 + "column": 4 }, "end": { "line": 30, - "column": 19 + "column": 16 } }, "argument": { "type": "ThisExpression", - "start": 827, - "end": 831, + "start": 725, + "end": 729, "loc": { "start": { "line": 30, - "column": 15 + "column": 11 }, "end": { "line": 30, - "column": 19 + "column": 15 } } } @@ -870,17 +867,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Init the shared playlist fetcher.\n *\n * @param {string} playlist_id - The ID of a playlist.\n * @return {SharedPlaylistFetcher}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists/endpoints/get-shared-playlists-playlist_id\n ", - "start": 458, - "end": 739, + "value": "*\n * Init the shared playlist fetcher.\n *\n * @param {string} playlistID - The ID of a playlist.\n * @return {SharedPlaylistFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#sharedplaylists-playlist_id\n ", + "start": 422, + "end": 649, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 27, - "column": 7 + "column": 5 } } } @@ -888,17 +885,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch metadata of the shared playlist with the shared playlist fetcher.\n *\n * @return {Promise}\n * @example api.SharedPlaylistFetcher.setPlaylistID('4nUZM-TY2aVxZ2xaA-').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists/endpoints/get-shared-playlists-playlist_id\n ", - "start": 843, - "end": 1183, + "value": "*\n * Fetch metadata of the shared playlist with the shared playlist fetcher.\n *\n * @return {Promise}\n * @example\n * api.sharedPlaylistFetcher\n * .setPlaylistID('4nUZM-TY2aVxZ2xaA-')\n * .fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#sharedplaylists-playlist_id\n ", + "start": 738, + "end": 1050, "loc": { "start": { "line": 33, - "column": 4 + "column": 2 }, "end": { - "line": 39, - "column": 7 + "line": 42, + "column": 5 } } } @@ -906,38 +903,38 @@ }, { "type": "ClassMethod", - "start": 1188, - "end": 1298, + "start": 1053, + "end": 1175, "loc": { "start": { - "line": 40, - "column": 4 + "line": 43, + "column": 2 }, "end": { - "line": 42, - "column": 5 + "line": 47, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 1188, - "end": 1201, + "start": 1053, + "end": 1066, "loc": { "start": { - "line": 40, - "column": 4 + "line": 43, + "column": 2 }, "end": { - "line": 40, - "column": 17 + "line": 43, + "column": 15 }, "identifierName": "fetchMetadata" }, "name": "fetchMetadata", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -946,102 +943,102 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1204, - "end": 1298, + "start": 1069, + "end": 1175, "loc": { "start": { - "line": 40, - "column": 20 + "line": 43, + "column": 18 }, "end": { - "line": 42, - "column": 5 + "line": 47, + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 1214, - "end": 1292, + "start": 1075, + "end": 1171, "loc": { "start": { - "line": 41, - "column": 8 + "line": 44, + "column": 4 }, "end": { - "line": 41, - "column": 86 + "line": 46, + "column": 7 } }, "argument": { "type": "CallExpression", - "start": 1221, - "end": 1292, + "start": 1082, + "end": 1170, "loc": { "start": { - "line": 41, - "column": 15 + "line": 44, + "column": 11 }, "end": { - "line": 41, - "column": 86 + "line": 46, + "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 1221, - "end": 1234, + "start": 1082, + "end": 1095, "loc": { "start": { - "line": 41, - "column": 15 + "line": 44, + "column": 11 }, "end": { - "line": 41, - "column": 28 + "line": 44, + "column": 24 } }, "object": { "type": "MemberExpression", - "start": 1221, - "end": 1230, + "start": 1082, + "end": 1091, "loc": { "start": { - "line": 41, - "column": 15 + "line": 44, + "column": 11 }, "end": { - "line": 41, - "column": 24 + "line": 44, + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 1221, - "end": 1225, + "start": 1082, + "end": 1086, "loc": { "start": { - "line": 41, - "column": 15 + "line": 44, + "column": 11 }, "end": { - "line": 41, - "column": 19 + "line": 44, + "column": 15 } } }, "property": { "type": "Identifier", - "start": 1226, - "end": 1230, + "start": 1087, + "end": 1091, "loc": { "start": { - "line": 41, - "column": 20 + "line": 44, + "column": 16 }, "end": { - "line": 41, - "column": 24 + "line": 44, + "column": 20 }, "identifierName": "http" }, @@ -1051,16 +1048,16 @@ }, "property": { "type": "Identifier", - "start": 1231, - "end": 1234, + "start": 1092, + "end": 1095, "loc": { "start": { - "line": 41, - "column": 25 + "line": 44, + "column": 21 }, "end": { - "line": 41, - "column": 28 + "line": 44, + "column": 24 }, "identifierName": "get" }, @@ -1071,112 +1068,148 @@ "arguments": [ { "type": "BinaryExpression", - "start": 1235, - "end": 1262, + "start": 1096, + "end": 1128, "loc": { "start": { - "line": 41, - "column": 29 + "line": 44, + "column": 25 }, "end": { - "line": 41, - "column": 56 + "line": 44, + "column": 57 } }, "left": { - "type": "Identifier", - "start": 1235, - "end": 1243, + "type": "BinaryExpression", + "start": 1096, + "end": 1110, "loc": { "start": { - "line": 41, - "column": 29 + "line": 44, + "column": 25 }, "end": { - "line": 41, - "column": 37 + "line": 44, + "column": 39 + } + }, + "left": { + "type": "Identifier", + "start": 1096, + "end": 1104, + "loc": { + "start": { + "line": 44, + "column": 25 + }, + "end": { + "line": 44, + "column": 33 + }, + "identifierName": "ENDPOINT" }, - "identifierName": "ENDPOINT" + "name": "ENDPOINT" }, - "name": "ENDPOINT" + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 1107, + "end": 1110, + "loc": { + "start": { + "line": 44, + "column": 36 + }, + "end": { + "line": 44, + "column": 39 + } + }, + "extra": { + "rawValue": "/", + "raw": "'/'" + }, + "value": "/" + } }, "operator": "+", "right": { "type": "MemberExpression", - "start": 1246, - "end": 1262, + "start": 1113, + "end": 1128, "loc": { "start": { - "line": 41, - "column": 40 + "line": 44, + "column": 42 }, "end": { - "line": 41, - "column": 56 + "line": 44, + "column": 57 } }, "object": { "type": "ThisExpression", - "start": 1246, - "end": 1250, + "start": 1113, + "end": 1117, "loc": { "start": { - "line": 41, - "column": 40 + "line": 44, + "column": 42 }, "end": { - "line": 41, - "column": 44 + "line": 44, + "column": 46 } } }, "property": { "type": "Identifier", - "start": 1251, - "end": 1262, + "start": 1118, + "end": 1128, "loc": { "start": { - "line": 41, - "column": 45 + "line": 44, + "column": 47 }, "end": { - "line": 41, - "column": 56 + "line": 44, + "column": 57 }, - "identifierName": "playlist_id" + "identifierName": "playlistID" }, - "name": "playlist_id" + "name": "playlistID" }, "computed": false } }, { "type": "ObjectExpression", - "start": 1264, - "end": 1291, + "start": 1130, + "end": 1169, "loc": { "start": { - "line": 41, - "column": 58 + "line": 44, + "column": 59 }, "end": { - "line": 41, - "column": 85 + "line": 46, + "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 1265, - "end": 1290, + "start": 1138, + "end": 1163, "loc": { "start": { - "line": 41, - "column": 59 + "line": 45, + "column": 6 }, "end": { - "line": 41, - "column": 84 + "line": 45, + "column": 31 } }, "method": false, @@ -1184,16 +1217,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 1265, - "end": 1274, + "start": 1138, + "end": 1147, "loc": { "start": { - "line": 41, - "column": 59 + "line": 45, + "column": 6 }, "end": { - "line": 41, - "column": 68 + "line": 45, + "column": 15 }, "identifierName": "territory" }, @@ -1201,45 +1234,45 @@ }, "value": { "type": "MemberExpression", - "start": 1276, - "end": 1290, + "start": 1149, + "end": 1163, "loc": { "start": { - "line": 41, - "column": 70 + "line": 45, + "column": 17 }, "end": { - "line": 41, - "column": 84 + "line": 45, + "column": 31 } }, "object": { "type": "ThisExpression", - "start": 1276, - "end": 1280, + "start": 1149, + "end": 1153, "loc": { "start": { - "line": 41, - "column": 70 + "line": 45, + "column": 17 }, "end": { - "line": 41, - "column": 74 + "line": 45, + "column": 21 } } }, "property": { "type": "Identifier", - "start": 1281, - "end": 1290, + "start": 1154, + "end": 1163, "loc": { "start": { - "line": 41, - "column": 75 + "line": 45, + "column": 22 }, "end": { - "line": 41, - "column": 84 + "line": 45, + "column": 31 }, "identifierName": "territory" }, @@ -1260,17 +1293,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch metadata of the shared playlist with the shared playlist fetcher.\n *\n * @return {Promise}\n * @example api.SharedPlaylistFetcher.setPlaylistID('4nUZM-TY2aVxZ2xaA-').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists/endpoints/get-shared-playlists-playlist_id\n ", - "start": 843, - "end": 1183, + "value": "*\n * Fetch metadata of the shared playlist with the shared playlist fetcher.\n *\n * @return {Promise}\n * @example\n * api.sharedPlaylistFetcher\n * .setPlaylistID('4nUZM-TY2aVxZ2xaA-')\n * .fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#sharedplaylists-playlist_id\n ", + "start": 738, + "end": 1050, "loc": { "start": { "line": 33, - "column": 4 + "column": 2 }, "end": { - "line": 39, - "column": 7 + "line": 42, + "column": 5 } } } @@ -1278,17 +1311,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Get KKBOX web widget uri of the playlist.\n * @example https://widget.kkbox.com/v1/?id=KmjwNXizu5MxHFSloP&type=playlist\n * @return {string}\n ", - "start": 1304, - "end": 1469, + "value": "*\n * Get KKBOX web widget uri of the playlist.\n * @example https://widget.kkbox.com/v1/?id=KmjwNXizu5MxHFSloP&type=playlist\n * @return {string}\n ", + "start": 1179, + "end": 1336, "loc": { "start": { - "line": 44, - "column": 4 + "line": 49, + "column": 2 }, "end": { - "line": 48, - "column": 7 + "line": 53, + "column": 5 } } } @@ -1296,38 +1329,38 @@ }, { "type": "ClassMethod", - "start": 1474, - "end": 1578, + "start": 1339, + "end": 1438, "loc": { "start": { - "line": 49, - "column": 4 + "line": 54, + "column": 2 }, "end": { - "line": 51, - "column": 5 + "line": 56, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 1474, - "end": 1486, + "start": 1339, + "end": 1351, "loc": { "start": { - "line": 49, - "column": 4 + "line": 54, + "column": 2 }, "end": { - "line": 49, - "column": 16 + "line": 54, + "column": 14 }, "identifierName": "getWidgetUri" }, "name": "getWidgetUri", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -1336,93 +1369,93 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1488, - "end": 1578, + "start": 1354, + "end": 1438, "loc": { "start": { - "line": 49, - "column": 18 + "line": 54, + "column": 17 }, "end": { - "line": 51, - "column": 5 + "line": 56, + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 1498, - "end": 1572, + "start": 1360, + "end": 1434, "loc": { "start": { - "line": 50, - "column": 8 + "line": 55, + "column": 4 }, "end": { - "line": 50, - "column": 82 + "line": 55, + "column": 78 } }, "argument": { "type": "TemplateLiteral", - "start": 1505, - "end": 1572, + "start": 1367, + "end": 1433, "loc": { "start": { - "line": 50, - "column": 15 + "line": 55, + "column": 11 }, "end": { - "line": 50, - "column": 82 + "line": 55, + "column": 77 } }, "expressions": [ { "type": "MemberExpression", - "start": 1540, - "end": 1556, + "start": 1402, + "end": 1417, "loc": { "start": { - "line": 50, - "column": 50 + "line": 55, + "column": 46 }, "end": { - "line": 50, - "column": 66 + "line": 55, + "column": 61 } }, "object": { "type": "ThisExpression", - "start": 1540, - "end": 1544, + "start": 1402, + "end": 1406, "loc": { "start": { - "line": 50, - "column": 50 + "line": 55, + "column": 46 }, "end": { - "line": 50, - "column": 54 + "line": 55, + "column": 50 } } }, "property": { "type": "Identifier", - "start": 1545, - "end": 1556, + "start": 1407, + "end": 1417, "loc": { "start": { - "line": 50, - "column": 55 + "line": 55, + "column": 51 }, "end": { - "line": 50, - "column": 66 + "line": 55, + "column": 61 }, - "identifierName": "playlist_id" + "identifierName": "playlistID" }, - "name": "playlist_id" + "name": "playlistID" }, "computed": false } @@ -1430,16 +1463,16 @@ "quasis": [ { "type": "TemplateElement", - "start": 1506, - "end": 1538, + "start": 1368, + "end": 1400, "loc": { "start": { - "line": 50, - "column": 16 + "line": 55, + "column": 12 }, "end": { - "line": 50, - "column": 48 + "line": 55, + "column": 44 } }, "value": { @@ -1450,16 +1483,16 @@ }, { "type": "TemplateElement", - "start": 1557, - "end": 1571, + "start": 1418, + "end": 1432, "loc": { "start": { - "line": 50, - "column": 67 + "line": 55, + "column": 62 }, "end": { - "line": 50, - "column": 81 + "line": 55, + "column": 76 } }, "value": { @@ -1478,17 +1511,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Get KKBOX web widget uri of the playlist.\n * @example https://widget.kkbox.com/v1/?id=KmjwNXizu5MxHFSloP&type=playlist\n * @return {string}\n ", - "start": 1304, - "end": 1469, + "value": "*\n * Get KKBOX web widget uri of the playlist.\n * @example https://widget.kkbox.com/v1/?id=KmjwNXizu5MxHFSloP&type=playlist\n * @return {string}\n ", + "start": 1179, + "end": 1336, "loc": { "start": { - "line": 44, - "column": 4 + "line": 49, + "column": 2 }, "end": { - "line": 48, - "column": 7 + "line": 53, + "column": 5 } } } @@ -1496,17 +1529,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch track list of a shared playlist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.SharedPlaylistFetcher.setPlaylistID('4nUZM-TY2aVxZ2xaA-').fetchTracks()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists/endpoints/get-shared-playlists-playlist_id-tracks\n ", - "start": 1584, - "end": 2022, + "value": "*\n * Fetch track list of a shared playlist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example\n * api.sharedPlaylistFetcher\n * .setPlaylistID('4nUZM-TY2aVxZ2xaA-')\n * .fetchTracks();\n * @see https://docs-en.kkbox.codes/v1.1/reference#sharedplaylists-playlist_id-tracks\n ", + "start": 1442, + "end": 1848, "loc": { "start": { - "line": 53, - "column": 4 + "line": 58, + "column": 2 }, "end": { - "line": 61, - "column": 7 + "line": 69, + "column": 5 } } } @@ -1514,38 +1547,38 @@ }, { "type": "ClassMethod", - "start": 2027, - "end": 2260, + "start": 1851, + "end": 2062, "loc": { "start": { - "line": 62, - "column": 4 + "line": 70, + "column": 2 }, "end": { - "line": 68, - "column": 5 + "line": 76, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 2027, - "end": 2038, + "start": 1851, + "end": 1862, "loc": { "start": { - "line": 62, - "column": 4 + "line": 70, + "column": 2 }, "end": { - "line": 62, - "column": 15 + "line": 70, + "column": 13 }, "identifierName": "fetchTracks" }, "name": "fetchTracks", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -1554,30 +1587,30 @@ "params": [ { "type": "AssignmentPattern", - "start": 2039, - "end": 2056, + "start": 1863, + "end": 1880, "loc": { "start": { - "line": 62, - "column": 16 + "line": 70, + "column": 14 }, "end": { - "line": 62, - "column": 33 + "line": 70, + "column": 31 } }, "left": { "type": "Identifier", - "start": 2039, - "end": 2044, + "start": 1863, + "end": 1868, "loc": { "start": { - "line": 62, - "column": 16 + "line": 70, + "column": 14 }, "end": { - "line": 62, - "column": 21 + "line": 70, + "column": 19 }, "identifierName": "limit" }, @@ -1585,16 +1618,16 @@ }, "right": { "type": "Identifier", - "start": 2047, - "end": 2056, + "start": 1871, + "end": 1880, "loc": { "start": { - "line": 62, - "column": 24 + "line": 70, + "column": 22 }, "end": { - "line": 62, - "column": 33 + "line": 70, + "column": 31 }, "identifierName": "undefined" }, @@ -1603,30 +1636,30 @@ }, { "type": "AssignmentPattern", - "start": 2058, - "end": 2076, + "start": 1882, + "end": 1900, "loc": { "start": { - "line": 62, - "column": 35 + "line": 70, + "column": 33 }, "end": { - "line": 62, - "column": 53 + "line": 70, + "column": 51 } }, "left": { "type": "Identifier", - "start": 2058, - "end": 2064, + "start": 1882, + "end": 1888, "loc": { "start": { - "line": 62, - "column": 35 + "line": 70, + "column": 33 }, "end": { - "line": 62, - "column": 41 + "line": 70, + "column": 39 }, "identifierName": "offset" }, @@ -1634,16 +1667,16 @@ }, "right": { "type": "Identifier", - "start": 2067, - "end": 2076, + "start": 1891, + "end": 1900, "loc": { "start": { - "line": 62, - "column": 44 + "line": 70, + "column": 42 }, "end": { - "line": 62, - "column": 53 + "line": 70, + "column": 51 }, "identifierName": "undefined" }, @@ -1653,102 +1686,102 @@ ], "body": { "type": "BlockStatement", - "start": 2078, - "end": 2260, + "start": 1902, + "end": 2062, "loc": { "start": { - "line": 62, - "column": 55 + "line": 70, + "column": 53 }, "end": { - "line": 68, - "column": 5 + "line": 76, + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 2088, - "end": 2254, + "start": 1908, + "end": 2058, "loc": { "start": { - "line": 63, - "column": 8 + "line": 71, + "column": 4 }, "end": { - "line": 67, - "column": 10 + "line": 75, + "column": 7 } }, "argument": { "type": "CallExpression", - "start": 2095, - "end": 2254, + "start": 1915, + "end": 2057, "loc": { "start": { - "line": 63, - "column": 15 + "line": 71, + "column": 11 }, "end": { - "line": 67, - "column": 10 + "line": 75, + "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 2095, - "end": 2108, + "start": 1915, + "end": 1928, "loc": { "start": { - "line": 63, - "column": 15 + "line": 71, + "column": 11 }, "end": { - "line": 63, - "column": 28 + "line": 71, + "column": 24 } }, "object": { "type": "MemberExpression", - "start": 2095, - "end": 2104, + "start": 1915, + "end": 1924, "loc": { "start": { - "line": 63, - "column": 15 + "line": 71, + "column": 11 }, "end": { - "line": 63, - "column": 24 + "line": 71, + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 2095, - "end": 2099, + "start": 1915, + "end": 1919, "loc": { "start": { - "line": 63, - "column": 15 + "line": 71, + "column": 11 }, "end": { - "line": 63, - "column": 19 + "line": 71, + "column": 15 } } }, "property": { "type": "Identifier", - "start": 2100, - "end": 2104, + "start": 1920, + "end": 1924, "loc": { "start": { - "line": 63, - "column": 20 + "line": 71, + "column": 16 }, "end": { - "line": 63, - "column": 24 + "line": 71, + "column": 20 }, "identifierName": "http" }, @@ -1758,16 +1791,16 @@ }, "property": { "type": "Identifier", - "start": 2105, - "end": 2108, + "start": 1925, + "end": 1928, "loc": { "start": { - "line": 63, - "column": 25 + "line": 71, + "column": 21 }, "end": { - "line": 63, - "column": 28 + "line": 71, + "column": 24 }, "identifierName": "get" }, @@ -1778,95 +1811,131 @@ "arguments": [ { "type": "BinaryExpression", - "start": 2109, - "end": 2148, + "start": 1929, + "end": 1973, "loc": { "start": { - "line": 63, - "column": 29 + "line": 71, + "column": 25 }, "end": { - "line": 63, - "column": 68 + "line": 71, + "column": 69 } }, "left": { "type": "BinaryExpression", - "start": 2109, - "end": 2136, + "start": 1929, + "end": 1961, "loc": { "start": { - "line": 63, - "column": 29 + "line": 71, + "column": 25 }, "end": { - "line": 63, - "column": 56 + "line": 71, + "column": 57 } }, "left": { - "type": "Identifier", - "start": 2109, - "end": 2117, + "type": "BinaryExpression", + "start": 1929, + "end": 1943, "loc": { "start": { - "line": 63, - "column": 29 + "line": 71, + "column": 25 }, "end": { - "line": 63, - "column": 37 + "line": 71, + "column": 39 + } + }, + "left": { + "type": "Identifier", + "start": 1929, + "end": 1937, + "loc": { + "start": { + "line": 71, + "column": 25 + }, + "end": { + "line": 71, + "column": 33 + }, + "identifierName": "ENDPOINT" }, - "identifierName": "ENDPOINT" + "name": "ENDPOINT" }, - "name": "ENDPOINT" + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 1940, + "end": 1943, + "loc": { + "start": { + "line": 71, + "column": 36 + }, + "end": { + "line": 71, + "column": 39 + } + }, + "extra": { + "rawValue": "/", + "raw": "'/'" + }, + "value": "/" + } }, "operator": "+", "right": { "type": "MemberExpression", - "start": 2120, - "end": 2136, + "start": 1946, + "end": 1961, "loc": { "start": { - "line": 63, - "column": 40 + "line": 71, + "column": 42 }, "end": { - "line": 63, - "column": 56 + "line": 71, + "column": 57 } }, "object": { "type": "ThisExpression", - "start": 2120, - "end": 2124, + "start": 1946, + "end": 1950, "loc": { "start": { - "line": 63, - "column": 40 + "line": 71, + "column": 42 }, "end": { - "line": 63, - "column": 44 + "line": 71, + "column": 46 } } }, "property": { "type": "Identifier", - "start": 2125, - "end": 2136, + "start": 1951, + "end": 1961, "loc": { "start": { - "line": 63, - "column": 45 + "line": 71, + "column": 47 }, "end": { - "line": 63, - "column": 56 + "line": 71, + "column": 57 }, - "identifierName": "playlist_id" + "identifierName": "playlistID" }, - "name": "playlist_id" + "name": "playlistID" }, "computed": false } @@ -1874,16 +1943,16 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 2139, - "end": 2148, + "start": 1964, + "end": 1973, "loc": { "start": { - "line": 63, - "column": 59 + "line": 71, + "column": 60 }, "end": { - "line": 63, - "column": 68 + "line": 71, + "column": 69 } }, "extra": { @@ -1895,31 +1964,31 @@ }, { "type": "ObjectExpression", - "start": 2150, - "end": 2253, + "start": 1975, + "end": 2056, "loc": { "start": { - "line": 63, - "column": 70 + "line": 71, + "column": 71 }, "end": { - "line": 67, - "column": 9 + "line": 75, + "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 2164, - "end": 2189, + "start": 1983, + "end": 2008, "loc": { "start": { - "line": 64, - "column": 12 + "line": 72, + "column": 6 }, "end": { - "line": 64, - "column": 37 + "line": 72, + "column": 31 } }, "method": false, @@ -1927,16 +1996,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 2164, - "end": 2173, + "start": 1983, + "end": 1992, "loc": { "start": { - "line": 64, - "column": 12 + "line": 72, + "column": 6 }, "end": { - "line": 64, - "column": 21 + "line": 72, + "column": 15 }, "identifierName": "territory" }, @@ -1944,45 +2013,45 @@ }, "value": { "type": "MemberExpression", - "start": 2175, - "end": 2189, + "start": 1994, + "end": 2008, "loc": { "start": { - "line": 64, - "column": 23 + "line": 72, + "column": 17 }, "end": { - "line": 64, - "column": 37 + "line": 72, + "column": 31 } }, "object": { "type": "ThisExpression", - "start": 2175, - "end": 2179, + "start": 1994, + "end": 1998, "loc": { "start": { - "line": 64, - "column": 23 + "line": 72, + "column": 17 }, "end": { - "line": 64, - "column": 27 + "line": 72, + "column": 21 } } }, "property": { "type": "Identifier", - "start": 2180, - "end": 2189, + "start": 1999, + "end": 2008, "loc": { "start": { - "line": 64, - "column": 28 + "line": 72, + "column": 22 }, "end": { - "line": 64, - "column": 37 + "line": 72, + "column": 31 }, "identifierName": "territory" }, @@ -1993,16 +2062,16 @@ }, { "type": "ObjectProperty", - "start": 2203, - "end": 2215, + "start": 2016, + "end": 2028, "loc": { "start": { - "line": 65, - "column": 12 + "line": 73, + "column": 6 }, "end": { - "line": 65, - "column": 24 + "line": 73, + "column": 18 } }, "method": false, @@ -2010,16 +2079,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 2203, - "end": 2208, + "start": 2016, + "end": 2021, "loc": { "start": { - "line": 65, - "column": 12 + "line": 73, + "column": 6 }, "end": { - "line": 65, - "column": 17 + "line": 73, + "column": 11 }, "identifierName": "limit" }, @@ -2027,16 +2096,16 @@ }, "value": { "type": "Identifier", - "start": 2210, - "end": 2215, + "start": 2023, + "end": 2028, "loc": { "start": { - "line": 65, - "column": 19 + "line": 73, + "column": 13 }, "end": { - "line": 65, - "column": 24 + "line": 73, + "column": 18 }, "identifierName": "limit" }, @@ -2045,16 +2114,16 @@ }, { "type": "ObjectProperty", - "start": 2229, - "end": 2243, + "start": 2036, + "end": 2050, "loc": { "start": { - "line": 66, - "column": 12 + "line": 74, + "column": 6 }, "end": { - "line": 66, - "column": 26 + "line": 74, + "column": 20 } }, "method": false, @@ -2062,16 +2131,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 2229, - "end": 2235, + "start": 2036, + "end": 2042, "loc": { "start": { - "line": 66, - "column": 12 + "line": 74, + "column": 6 }, "end": { - "line": 66, - "column": 18 + "line": 74, + "column": 12 }, "identifierName": "offset" }, @@ -2079,16 +2148,16 @@ }, "value": { "type": "Identifier", - "start": 2237, - "end": 2243, + "start": 2044, + "end": 2050, "loc": { "start": { - "line": 66, - "column": 20 + "line": 74, + "column": 14 }, "end": { - "line": 66, - "column": 26 + "line": 74, + "column": 20 }, "identifierName": "offset" }, @@ -2106,17 +2175,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch track list of a shared playlist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.SharedPlaylistFetcher.setPlaylistID('4nUZM-TY2aVxZ2xaA-').fetchTracks()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists/endpoints/get-shared-playlists-playlist_id-tracks\n ", - "start": 1584, - "end": 2022, + "value": "*\n * Fetch track list of a shared playlist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example\n * api.sharedPlaylistFetcher\n * .setPlaylistID('4nUZM-TY2aVxZ2xaA-')\n * .fetchTracks();\n * @see https://docs-en.kkbox.codes/v1.1/reference#sharedplaylists-playlist_id-tracks\n ", + "start": 1442, + "end": 1848, "loc": { "start": { - "line": 53, - "column": 4 + "line": 58, + "column": 2 }, "end": { - "line": 61, - "column": 7 + "line": 69, + "column": 5 } } } @@ -2127,9 +2196,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Get playlist metadata.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists\n ", - "start": 90, - "end": 200, + "value": "*\n * Get playlist metadata.\n * @see https://docs-en.kkbox.codes/v1.1/reference#shared-playlists\n ", + "start": 94, + "end": 195, "loc": { "start": { "line": 4, @@ -2147,9 +2216,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Get playlist metadata.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists\n ", - "start": 90, - "end": 200, + "value": "*\n * Get playlist metadata.\n * @see https://docs-en.kkbox.codes/v1.1/reference#shared-playlists\n ", + "start": 94, + "end": 195, "loc": { "start": { "line": 4, @@ -2169,9 +2238,9 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * Get playlist metadata.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists\n ", - "start": 90, - "end": 200, + "value": "*\n * Get playlist metadata.\n * @see https://docs-en.kkbox.codes/v1.1/reference#shared-playlists\n ", + "start": 94, + "end": 195, "loc": { "start": { "line": 4, @@ -2185,97 +2254,97 @@ }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 266, - "end": 292, + "value": "*\n * @ignore\n ", + "start": 259, + "end": 281, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 375, - "end": 409, + "value": "*\n * @ignore\n ", + "start": 355, + "end": 381, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } }, { "type": "CommentBlock", - "value": "*\n * Init the shared playlist fetcher.\n *\n * @param {string} playlist_id - The ID of a playlist.\n * @return {SharedPlaylistFetcher}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists/endpoints/get-shared-playlists-playlist_id\n ", - "start": 458, - "end": 739, + "value": "*\n * Init the shared playlist fetcher.\n *\n * @param {string} playlistID - The ID of a playlist.\n * @return {SharedPlaylistFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#sharedplaylists-playlist_id\n ", + "start": 422, + "end": 649, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 27, - "column": 7 + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch metadata of the shared playlist with the shared playlist fetcher.\n *\n * @return {Promise}\n * @example api.SharedPlaylistFetcher.setPlaylistID('4nUZM-TY2aVxZ2xaA-').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists/endpoints/get-shared-playlists-playlist_id\n ", - "start": 843, - "end": 1183, + "value": "*\n * Fetch metadata of the shared playlist with the shared playlist fetcher.\n *\n * @return {Promise}\n * @example\n * api.sharedPlaylistFetcher\n * .setPlaylistID('4nUZM-TY2aVxZ2xaA-')\n * .fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#sharedplaylists-playlist_id\n ", + "start": 738, + "end": 1050, "loc": { "start": { "line": 33, - "column": 4 + "column": 2 }, "end": { - "line": 39, - "column": 7 + "line": 42, + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Get KKBOX web widget uri of the playlist.\n * @example https://widget.kkbox.com/v1/?id=KmjwNXizu5MxHFSloP&type=playlist\n * @return {string}\n ", - "start": 1304, - "end": 1469, + "value": "*\n * Get KKBOX web widget uri of the playlist.\n * @example https://widget.kkbox.com/v1/?id=KmjwNXizu5MxHFSloP&type=playlist\n * @return {string}\n ", + "start": 1179, + "end": 1336, "loc": { "start": { - "line": 44, - "column": 4 + "line": 49, + "column": 2 }, "end": { - "line": 48, - "column": 7 + "line": 53, + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch track list of a shared playlist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.SharedPlaylistFetcher.setPlaylistID('4nUZM-TY2aVxZ2xaA-').fetchTracks()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists/endpoints/get-shared-playlists-playlist_id-tracks\n ", - "start": 1584, - "end": 2022, + "value": "*\n * Fetch track list of a shared playlist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example\n * api.sharedPlaylistFetcher\n * .setPlaylistID('4nUZM-TY2aVxZ2xaA-')\n * .fetchTracks();\n * @see https://docs-en.kkbox.codes/v1.1/reference#sharedplaylists-playlist_id-tracks\n ", + "start": 1442, + "end": 1848, "loc": { "start": { - "line": 53, - "column": 4 + "line": 58, + "column": 2 }, "end": { - "line": 61, - "column": 7 + "line": 69, + "column": 5 } } } @@ -2286,7 +2355,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2347,16 +2416,16 @@ "binop": null }, "value": "SHARED_PLAYLISTS", - "start": 8, - "end": 24, + "start": 9, + "end": 25, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 24 + "column": 25 } } }, @@ -2373,16 +2442,16 @@ "binop": null }, "value": "as", - "start": 25, - "end": 27, + "start": 26, + "end": 28, "loc": { "start": { "line": 1, - "column": 25 + "column": 26 }, "end": { "line": 1, - "column": 27 + "column": 28 } } }, @@ -2399,16 +2468,16 @@ "binop": null }, "value": "ENDPOINT", - "start": 28, - "end": 36, + "start": 29, + "end": 37, "loc": { "start": { "line": 1, - "column": 28 + "column": 29 }, "end": { "line": 1, - "column": 36 + "column": 37 } } }, @@ -2424,16 +2493,16 @@ "postfix": false, "binop": null }, - "start": 36, - "end": 37, + "start": 38, + "end": 39, "loc": { "start": { "line": 1, - "column": 36 + "column": 38 }, "end": { "line": 1, - "column": 37 + "column": 39 } } }, @@ -2450,16 +2519,16 @@ "binop": null }, "value": "from", - "start": 38, - "end": 42, + "start": 40, + "end": 44, "loc": { "start": { "line": 1, - "column": 38 + "column": 40 }, "end": { "line": 1, - "column": 42 + "column": 44 } } }, @@ -2477,16 +2546,42 @@ "updateContext": null }, "value": "../Endpoint", - "start": 43, - "end": 56, + "start": 45, + "end": 58, "loc": { "start": { "line": 1, - "column": 43 + "column": 45 + }, + "end": { + "line": 1, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 58, + "end": 59, + "loc": { + "start": { + "line": 1, + "column": 58 }, "end": { "line": 1, - "column": 56 + "column": 59 } } }, @@ -2495,7 +2590,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2505,8 +2600,8 @@ "updateContext": null }, "value": "import", - "start": 57, - "end": 63, + "start": 60, + "end": 66, "loc": { "start": { "line": 2, @@ -2531,8 +2626,8 @@ "binop": null }, "value": "Fetcher", - "start": 64, - "end": 71, + "start": 67, + "end": 74, "loc": { "start": { "line": 2, @@ -2557,8 +2652,8 @@ "binop": null }, "value": "from", - "start": 72, - "end": 76, + "start": 75, + "end": 79, "loc": { "start": { "line": 2, @@ -2584,8 +2679,8 @@ "updateContext": null }, "value": "./Fetcher", - "start": 77, - "end": 88, + "start": 80, + "end": 91, "loc": { "start": { "line": 2, @@ -2597,27 +2692,10 @@ } } }, - { - "type": "CommentBlock", - "value": "*\n * Get playlist metadata.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists\n ", - "start": 90, - "end": 200, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 7, - "column": 3 - } - } - }, { "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -2627,12 +2705,55 @@ "binop": null, "updateContext": null }, - "value": "export", - "start": 201, - "end": 207, + "start": 91, + "end": 92, "loc": { "start": { - "line": 8, + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 32 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Get playlist metadata.\n * @see https://docs-en.kkbox.codes/v1.1/reference#shared-playlists\n ", + "start": 94, + "end": 195, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 196, + "end": 202, + "loc": { + "start": { + "line": 8, "column": 0 }, "end": { @@ -2656,8 +2777,8 @@ "updateContext": null }, "value": "default", - "start": 208, - "end": 215, + "start": 203, + "end": 210, "loc": { "start": { "line": 8, @@ -2684,8 +2805,8 @@ "updateContext": null }, "value": "class", - "start": 216, - "end": 221, + "start": 211, + "end": 216, "loc": { "start": { "line": 8, @@ -2710,8 +2831,8 @@ "binop": null }, "value": "SharedPlaylistFetcher", - "start": 222, - "end": 243, + "start": 217, + "end": 238, "loc": { "start": { "line": 8, @@ -2738,8 +2859,8 @@ "updateContext": null }, "value": "extends", - "start": 244, - "end": 251, + "start": 239, + "end": 246, "loc": { "start": { "line": 8, @@ -2764,8 +2885,8 @@ "binop": null }, "value": "Fetcher", - "start": 252, - "end": 259, + "start": 247, + "end": 254, "loc": { "start": { "line": 8, @@ -2789,8 +2910,8 @@ "postfix": false, "binop": null }, - "start": 260, - "end": 261, + "start": 255, + "end": 256, "loc": { "start": { "line": 8, @@ -2804,17 +2925,17 @@ }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 266, - "end": 292, + "value": "*\n * @ignore\n ", + "start": 259, + "end": 281, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } }, @@ -2831,16 +2952,16 @@ "binop": null }, "value": "constructor", - "start": 297, - "end": 308, + "start": 284, + "end": 295, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 12, - "column": 15 + "column": 13 } } }, @@ -2856,16 +2977,16 @@ "postfix": false, "binop": null }, - "start": 308, - "end": 309, + "start": 295, + "end": 296, "loc": { "start": { "line": 12, - "column": 15 + "column": 13 }, "end": { "line": 12, - "column": 16 + "column": 14 } } }, @@ -2882,16 +3003,16 @@ "binop": null }, "value": "http", - "start": 309, - "end": 313, + "start": 296, + "end": 300, "loc": { "start": { "line": 12, - "column": 16 + "column": 14 }, "end": { "line": 12, - "column": 20 + "column": 18 } } }, @@ -2908,16 +3029,16 @@ "binop": null, "updateContext": null }, - "start": 313, - "end": 314, + "start": 300, + "end": 301, "loc": { "start": { "line": 12, - "column": 20 + "column": 18 }, "end": { "line": 12, - "column": 21 + "column": 19 } } }, @@ -2934,16 +3055,16 @@ "binop": null }, "value": "territory", - "start": 315, - "end": 324, + "start": 302, + "end": 311, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 31 + "column": 29 } } }, @@ -2961,16 +3082,16 @@ "updateContext": null }, "value": "=", - "start": 325, - "end": 326, + "start": 312, + "end": 313, "loc": { "start": { "line": 12, - "column": 32 + "column": 30 }, "end": { "line": 12, - "column": 33 + "column": 31 } } }, @@ -2988,16 +3109,16 @@ "updateContext": null }, "value": "TW", - "start": 327, - "end": 331, + "start": 314, + "end": 318, "loc": { "start": { "line": 12, - "column": 34 + "column": 32 }, "end": { "line": 12, - "column": 38 + "column": 36 } } }, @@ -3013,16 +3134,16 @@ "postfix": false, "binop": null }, - "start": 331, - "end": 332, + "start": 318, + "end": 319, "loc": { "start": { "line": 12, - "column": 38 + "column": 36 }, "end": { "line": 12, - "column": 39 + "column": 37 } } }, @@ -3038,16 +3159,16 @@ "postfix": false, "binop": null }, - "start": 333, - "end": 334, + "start": 320, + "end": 321, "loc": { "start": { "line": 12, - "column": 40 + "column": 38 }, "end": { "line": 12, - "column": 41 + "column": 39 } } }, @@ -3066,16 +3187,16 @@ "updateContext": null }, "value": "super", - "start": 343, - "end": 348, + "start": 326, + "end": 331, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 13 + "column": 9 } } }, @@ -3091,16 +3212,16 @@ "postfix": false, "binop": null }, - "start": 348, - "end": 349, + "start": 331, + "end": 332, "loc": { "start": { "line": 13, - "column": 13 + "column": 9 }, "end": { "line": 13, - "column": 14 + "column": 10 } } }, @@ -3117,16 +3238,16 @@ "binop": null }, "value": "http", - "start": 349, - "end": 353, + "start": 332, + "end": 336, "loc": { "start": { "line": 13, - "column": 14 + "column": 10 }, "end": { "line": 13, - "column": 18 + "column": 14 } } }, @@ -3143,16 +3264,16 @@ "binop": null, "updateContext": null }, - "start": 353, - "end": 354, + "start": 336, + "end": 337, "loc": { "start": { "line": 13, - "column": 18 + "column": 14 }, "end": { "line": 13, - "column": 19 + "column": 15 } } }, @@ -3169,16 +3290,16 @@ "binop": null }, "value": "territory", - "start": 355, - "end": 364, + "start": 338, + "end": 347, "loc": { "start": { "line": 13, - "column": 20 + "column": 16 }, "end": { "line": 13, - "column": 29 + "column": 25 } } }, @@ -3194,32 +3315,58 @@ "postfix": false, "binop": null }, - "start": 364, - "end": 365, + "start": 347, + "end": 348, "loc": { "start": { "line": 13, - "column": 29 + "column": 25 }, "end": { "line": 13, - "column": 30 + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 348, + "end": 349, + "loc": { + "start": { + "line": 13, + "column": 26 + }, + "end": { + "line": 13, + "column": 27 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 375, - "end": 409, + "value": "*\n * @ignore\n ", + "start": 355, + "end": 381, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } }, @@ -3238,16 +3385,16 @@ "updateContext": null }, "value": "this", - "start": 418, - "end": 422, + "start": 386, + "end": 390, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 12 + "column": 8 } } }, @@ -3264,16 +3411,16 @@ "binop": null, "updateContext": null }, - "start": 422, - "end": 423, + "start": 390, + "end": 391, "loc": { "start": { "line": 18, - "column": 12 + "column": 8 }, "end": { "line": 18, - "column": 13 + "column": 9 } } }, @@ -3289,17 +3436,17 @@ "postfix": false, "binop": null }, - "value": "playlist_id", - "start": 423, - "end": 434, + "value": "playlistID", + "start": 391, + "end": 401, "loc": { "start": { "line": 18, - "column": 13 + "column": 9 }, "end": { "line": 18, - "column": 24 + "column": 19 } } }, @@ -3317,16 +3464,16 @@ "updateContext": null }, "value": "=", - "start": 435, - "end": 436, + "start": 402, + "end": 403, "loc": { "start": { "line": 18, - "column": 25 + "column": 20 }, "end": { "line": 18, - "column": 26 + "column": 21 } } }, @@ -3343,16 +3490,42 @@ "binop": null }, "value": "undefined", - "start": 437, - "end": 446, + "start": 404, + "end": 413, "loc": { "start": { "line": 18, - "column": 27 + "column": 22 }, "end": { "line": 18, - "column": 36 + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 413, + "end": 414, + "loc": { + "start": { + "line": 18, + "column": 31 + }, + "end": { + "line": 18, + "column": 32 } } }, @@ -3368,32 +3541,32 @@ "postfix": false, "binop": null }, - "start": 451, - "end": 452, + "start": 417, + "end": 418, "loc": { "start": { "line": 19, - "column": 4 + "column": 2 }, "end": { "line": 19, - "column": 5 + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Init the shared playlist fetcher.\n *\n * @param {string} playlist_id - The ID of a playlist.\n * @return {SharedPlaylistFetcher}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists/endpoints/get-shared-playlists-playlist_id\n ", - "start": 458, - "end": 739, + "value": "*\n * Init the shared playlist fetcher.\n *\n * @param {string} playlistID - The ID of a playlist.\n * @return {SharedPlaylistFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#sharedplaylists-playlist_id\n ", + "start": 422, + "end": 649, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 27, - "column": 7 + "column": 5 } } }, @@ -3410,16 +3583,16 @@ "binop": null }, "value": "setPlaylistID", - "start": 744, - "end": 757, + "start": 652, + "end": 665, "loc": { "start": { "line": 28, - "column": 4 + "column": 2 }, "end": { "line": 28, - "column": 17 + "column": 15 } } }, @@ -3435,16 +3608,16 @@ "postfix": false, "binop": null }, - "start": 757, - "end": 758, + "start": 665, + "end": 666, "loc": { "start": { "line": 28, - "column": 17 + "column": 15 }, "end": { "line": 28, - "column": 18 + "column": 16 } } }, @@ -3460,17 +3633,17 @@ "postfix": false, "binop": null }, - "value": "playlist_id", - "start": 758, - "end": 769, + "value": "playlistID", + "start": 666, + "end": 676, "loc": { "start": { "line": 28, - "column": 18 + "column": 16 }, "end": { "line": 28, - "column": 29 + "column": 26 } } }, @@ -3486,16 +3659,16 @@ "postfix": false, "binop": null }, - "start": 769, - "end": 770, + "start": 676, + "end": 677, "loc": { "start": { "line": 28, - "column": 29 + "column": 26 }, "end": { "line": 28, - "column": 30 + "column": 27 } } }, @@ -3511,16 +3684,16 @@ "postfix": false, "binop": null }, - "start": 771, - "end": 772, + "start": 678, + "end": 679, "loc": { "start": { "line": 28, - "column": 31 + "column": 28 }, "end": { "line": 28, - "column": 32 + "column": 29 } } }, @@ -3539,16 +3712,16 @@ "updateContext": null }, "value": "this", - "start": 781, - "end": 785, + "start": 684, + "end": 688, "loc": { "start": { "line": 29, - "column": 8 + "column": 4 }, "end": { "line": 29, - "column": 12 + "column": 8 } } }, @@ -3565,16 +3738,16 @@ "binop": null, "updateContext": null }, - "start": 785, - "end": 786, + "start": 688, + "end": 689, "loc": { "start": { "line": 29, - "column": 12 + "column": 8 }, "end": { "line": 29, - "column": 13 + "column": 9 } } }, @@ -3590,17 +3763,17 @@ "postfix": false, "binop": null }, - "value": "playlist_id", - "start": 786, - "end": 797, + "value": "playlistID", + "start": 689, + "end": 699, "loc": { "start": { "line": 29, - "column": 13 + "column": 9 }, "end": { "line": 29, - "column": 24 + "column": 19 } } }, @@ -3618,16 +3791,16 @@ "updateContext": null }, "value": "=", - "start": 798, - "end": 799, + "start": 700, + "end": 701, "loc": { "start": { "line": 29, - "column": 25 + "column": 20 }, "end": { "line": 29, - "column": 26 + "column": 21 } } }, @@ -3643,24 +3816,23 @@ "postfix": false, "binop": null }, - "value": "playlist_id", - "start": 800, - "end": 811, + "value": "playlistID", + "start": 702, + "end": 712, "loc": { "start": { "line": 29, - "column": 27 + "column": 22 }, "end": { "line": 29, - "column": 38 + "column": 32 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -3671,26 +3843,53 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 820, - "end": 826, + "start": 712, + "end": 713, "loc": { "start": { - "line": 30, - "column": 8 + "line": 29, + "column": 32 }, "end": { - "line": 30, - "column": 14 + "line": 29, + "column": 33 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 718, + "end": 724, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3700,8 +3899,34 @@ "updateContext": null }, "value": "this", - "start": 827, - "end": 831, + "start": 725, + "end": 729, + "loc": { + "start": { + "line": 30, + "column": 11 + }, + "end": { + "line": 30, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 729, + "end": 730, "loc": { "start": { "line": 30, @@ -3709,7 +3934,7 @@ }, "end": { "line": 30, - "column": 19 + "column": 16 } } }, @@ -3725,32 +3950,32 @@ "postfix": false, "binop": null }, - "start": 836, - "end": 837, + "start": 733, + "end": 734, "loc": { "start": { "line": 31, - "column": 4 + "column": 2 }, "end": { "line": 31, - "column": 5 + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch metadata of the shared playlist with the shared playlist fetcher.\n *\n * @return {Promise}\n * @example api.SharedPlaylistFetcher.setPlaylistID('4nUZM-TY2aVxZ2xaA-').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists/endpoints/get-shared-playlists-playlist_id\n ", - "start": 843, - "end": 1183, + "value": "*\n * Fetch metadata of the shared playlist with the shared playlist fetcher.\n *\n * @return {Promise}\n * @example\n * api.sharedPlaylistFetcher\n * .setPlaylistID('4nUZM-TY2aVxZ2xaA-')\n * .fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#sharedplaylists-playlist_id\n ", + "start": 738, + "end": 1050, "loc": { "start": { "line": 33, - "column": 4 + "column": 2 }, "end": { - "line": 39, - "column": 7 + "line": 42, + "column": 5 } } }, @@ -3767,16 +3992,16 @@ "binop": null }, "value": "fetchMetadata", - "start": 1188, - "end": 1201, + "start": 1053, + "end": 1066, "loc": { "start": { - "line": 40, - "column": 4 + "line": 43, + "column": 2 }, "end": { - "line": 40, - "column": 17 + "line": 43, + "column": 15 } } }, @@ -3792,16 +4017,16 @@ "postfix": false, "binop": null }, - "start": 1201, - "end": 1202, + "start": 1066, + "end": 1067, "loc": { "start": { - "line": 40, - "column": 17 + "line": 43, + "column": 15 }, "end": { - "line": 40, - "column": 18 + "line": 43, + "column": 16 } } }, @@ -3817,16 +4042,16 @@ "postfix": false, "binop": null }, - "start": 1202, - "end": 1203, + "start": 1067, + "end": 1068, "loc": { "start": { - "line": 40, - "column": 18 + "line": 43, + "column": 16 }, "end": { - "line": 40, - "column": 19 + "line": 43, + "column": 17 } } }, @@ -3842,16 +4067,16 @@ "postfix": false, "binop": null }, - "start": 1204, - "end": 1205, + "start": 1069, + "end": 1070, "loc": { "start": { - "line": 40, - "column": 20 + "line": 43, + "column": 18 }, "end": { - "line": 40, - "column": 21 + "line": 43, + "column": 19 } } }, @@ -3870,16 +4095,16 @@ "updateContext": null }, "value": "return", - "start": 1214, - "end": 1220, + "start": 1075, + "end": 1081, "loc": { "start": { - "line": 41, - "column": 8 + "line": 44, + "column": 4 }, "end": { - "line": 41, - "column": 14 + "line": 44, + "column": 10 } } }, @@ -3898,16 +4123,16 @@ "updateContext": null }, "value": "this", - "start": 1221, - "end": 1225, + "start": 1082, + "end": 1086, "loc": { "start": { - "line": 41, - "column": 15 + "line": 44, + "column": 11 }, "end": { - "line": 41, - "column": 19 + "line": 44, + "column": 15 } } }, @@ -3924,16 +4149,16 @@ "binop": null, "updateContext": null }, - "start": 1225, - "end": 1226, + "start": 1086, + "end": 1087, "loc": { "start": { - "line": 41, - "column": 19 + "line": 44, + "column": 15 }, "end": { - "line": 41, - "column": 20 + "line": 44, + "column": 16 } } }, @@ -3950,16 +4175,16 @@ "binop": null }, "value": "http", - "start": 1226, - "end": 1230, + "start": 1087, + "end": 1091, "loc": { "start": { - "line": 41, - "column": 20 + "line": 44, + "column": 16 }, "end": { - "line": 41, - "column": 24 + "line": 44, + "column": 20 } } }, @@ -3976,16 +4201,16 @@ "binop": null, "updateContext": null }, - "start": 1230, - "end": 1231, + "start": 1091, + "end": 1092, "loc": { "start": { - "line": 41, - "column": 24 + "line": 44, + "column": 20 }, "end": { - "line": 41, - "column": 25 + "line": 44, + "column": 21 } } }, @@ -4002,16 +4227,16 @@ "binop": null }, "value": "get", - "start": 1231, - "end": 1234, + "start": 1092, + "end": 1095, "loc": { "start": { - "line": 41, - "column": 25 + "line": 44, + "column": 21 }, "end": { - "line": 41, - "column": 28 + "line": 44, + "column": 24 } } }, @@ -4027,16 +4252,16 @@ "postfix": false, "binop": null }, - "start": 1234, - "end": 1235, + "start": 1095, + "end": 1096, "loc": { "start": { - "line": 41, - "column": 28 + "line": 44, + "column": 24 }, "end": { - "line": 41, - "column": 29 + "line": 44, + "column": 25 } } }, @@ -4053,16 +4278,16 @@ "binop": null }, "value": "ENDPOINT", - "start": 1235, - "end": 1243, + "start": 1096, + "end": 1104, "loc": { "start": { - "line": 41, - "column": 29 + "line": 44, + "column": 25 }, "end": { - "line": 41, - "column": 37 + "line": 44, + "column": 33 } } }, @@ -4080,19 +4305,73 @@ "updateContext": null }, "value": "+", - "start": 1244, - "end": 1245, + "start": 1105, + "end": 1106, "loc": { "start": { - "line": 41, - "column": 38 + "line": 44, + "column": 34 + }, + "end": { + "line": 44, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "/", + "start": 1107, + "end": 1110, + "loc": { + "start": { + "line": 44, + "column": 36 }, "end": { - "line": 41, + "line": 44, "column": 39 } } }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 1111, + "end": 1112, + "loc": { + "start": { + "line": 44, + "column": 40 + }, + "end": { + "line": 44, + "column": 41 + } + } + }, { "type": { "label": "this", @@ -4108,16 +4387,16 @@ "updateContext": null }, "value": "this", - "start": 1246, - "end": 1250, + "start": 1113, + "end": 1117, "loc": { "start": { - "line": 41, - "column": 40 + "line": 44, + "column": 42 }, "end": { - "line": 41, - "column": 44 + "line": 44, + "column": 46 } } }, @@ -4134,16 +4413,16 @@ "binop": null, "updateContext": null }, - "start": 1250, - "end": 1251, + "start": 1117, + "end": 1118, "loc": { "start": { - "line": 41, - "column": 44 + "line": 44, + "column": 46 }, "end": { - "line": 41, - "column": 45 + "line": 44, + "column": 47 } } }, @@ -4159,17 +4438,17 @@ "postfix": false, "binop": null }, - "value": "playlist_id", - "start": 1251, - "end": 1262, + "value": "playlistID", + "start": 1118, + "end": 1128, "loc": { "start": { - "line": 41, - "column": 45 + "line": 44, + "column": 47 }, "end": { - "line": 41, - "column": 56 + "line": 44, + "column": 57 } } }, @@ -4186,16 +4465,16 @@ "binop": null, "updateContext": null }, - "start": 1262, - "end": 1263, + "start": 1128, + "end": 1129, "loc": { "start": { - "line": 41, - "column": 56 + "line": 44, + "column": 57 }, "end": { - "line": 41, - "column": 57 + "line": 44, + "column": 58 } } }, @@ -4211,16 +4490,16 @@ "postfix": false, "binop": null }, - "start": 1264, - "end": 1265, + "start": 1130, + "end": 1131, "loc": { "start": { - "line": 41, - "column": 58 + "line": 44, + "column": 59 }, "end": { - "line": 41, - "column": 59 + "line": 44, + "column": 60 } } }, @@ -4237,16 +4516,16 @@ "binop": null }, "value": "territory", - "start": 1265, - "end": 1274, + "start": 1138, + "end": 1147, "loc": { "start": { - "line": 41, - "column": 59 + "line": 45, + "column": 6 }, "end": { - "line": 41, - "column": 68 + "line": 45, + "column": 15 } } }, @@ -4263,16 +4542,16 @@ "binop": null, "updateContext": null }, - "start": 1274, - "end": 1275, + "start": 1147, + "end": 1148, "loc": { "start": { - "line": 41, - "column": 68 + "line": 45, + "column": 15 }, "end": { - "line": 41, - "column": 69 + "line": 45, + "column": 16 } } }, @@ -4291,16 +4570,16 @@ "updateContext": null }, "value": "this", - "start": 1276, - "end": 1280, + "start": 1149, + "end": 1153, "loc": { "start": { - "line": 41, - "column": 70 + "line": 45, + "column": 17 }, "end": { - "line": 41, - "column": 74 + "line": 45, + "column": 21 } } }, @@ -4317,16 +4596,16 @@ "binop": null, "updateContext": null }, - "start": 1280, - "end": 1281, + "start": 1153, + "end": 1154, "loc": { "start": { - "line": 41, - "column": 74 + "line": 45, + "column": 21 }, "end": { - "line": 41, - "column": 75 + "line": 45, + "column": 22 } } }, @@ -4343,16 +4622,16 @@ "binop": null }, "value": "territory", - "start": 1281, - "end": 1290, + "start": 1154, + "end": 1163, "loc": { "start": { - "line": 41, - "column": 75 + "line": 45, + "column": 22 }, "end": { - "line": 41, - "column": 84 + "line": 45, + "column": 31 } } }, @@ -4368,16 +4647,16 @@ "postfix": false, "binop": null }, - "start": 1290, - "end": 1291, + "start": 1168, + "end": 1169, "loc": { "start": { - "line": 41, - "column": 84 + "line": 46, + "column": 4 }, "end": { - "line": 41, - "column": 85 + "line": 46, + "column": 5 } } }, @@ -4393,16 +4672,42 @@ "postfix": false, "binop": null }, - "start": 1291, - "end": 1292, + "start": 1169, + "end": 1170, + "loc": { + "start": { + "line": 46, + "column": 5 + }, + "end": { + "line": 46, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1170, + "end": 1171, "loc": { "start": { - "line": 41, - "column": 85 + "line": 46, + "column": 6 }, "end": { - "line": 41, - "column": 86 + "line": 46, + "column": 7 } } }, @@ -4418,32 +4723,32 @@ "postfix": false, "binop": null }, - "start": 1297, - "end": 1298, + "start": 1174, + "end": 1175, "loc": { "start": { - "line": 42, - "column": 4 + "line": 47, + "column": 2 }, "end": { - "line": 42, - "column": 5 + "line": 47, + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Get KKBOX web widget uri of the playlist.\n * @example https://widget.kkbox.com/v1/?id=KmjwNXizu5MxHFSloP&type=playlist\n * @return {string}\n ", - "start": 1304, - "end": 1469, + "value": "*\n * Get KKBOX web widget uri of the playlist.\n * @example https://widget.kkbox.com/v1/?id=KmjwNXizu5MxHFSloP&type=playlist\n * @return {string}\n ", + "start": 1179, + "end": 1336, "loc": { "start": { - "line": 44, - "column": 4 + "line": 49, + "column": 2 }, "end": { - "line": 48, - "column": 7 + "line": 53, + "column": 5 } } }, @@ -4460,16 +4765,16 @@ "binop": null }, "value": "getWidgetUri", - "start": 1474, - "end": 1486, + "start": 1339, + "end": 1351, "loc": { "start": { - "line": 49, - "column": 4 + "line": 54, + "column": 2 }, "end": { - "line": 49, - "column": 16 + "line": 54, + "column": 14 } } }, @@ -4485,16 +4790,16 @@ "postfix": false, "binop": null }, - "start": 1486, - "end": 1487, + "start": 1351, + "end": 1352, "loc": { "start": { - "line": 49, - "column": 16 + "line": 54, + "column": 14 }, "end": { - "line": 49, - "column": 17 + "line": 54, + "column": 15 } } }, @@ -4510,16 +4815,16 @@ "postfix": false, "binop": null }, - "start": 1487, - "end": 1488, + "start": 1352, + "end": 1353, "loc": { "start": { - "line": 49, - "column": 17 + "line": 54, + "column": 15 }, "end": { - "line": 49, - "column": 18 + "line": 54, + "column": 16 } } }, @@ -4535,16 +4840,16 @@ "postfix": false, "binop": null }, - "start": 1488, - "end": 1489, + "start": 1354, + "end": 1355, "loc": { "start": { - "line": 49, - "column": 18 + "line": 54, + "column": 17 }, "end": { - "line": 49, - "column": 19 + "line": 54, + "column": 18 } } }, @@ -4563,16 +4868,16 @@ "updateContext": null }, "value": "return", - "start": 1498, - "end": 1504, + "start": 1360, + "end": 1366, "loc": { "start": { - "line": 50, - "column": 8 + "line": 55, + "column": 4 }, "end": { - "line": 50, - "column": 14 + "line": 55, + "column": 10 } } }, @@ -4588,16 +4893,16 @@ "postfix": false, "binop": null }, - "start": 1505, - "end": 1506, + "start": 1367, + "end": 1368, "loc": { "start": { - "line": 50, - "column": 15 + "line": 55, + "column": 11 }, "end": { - "line": 50, - "column": 16 + "line": 55, + "column": 12 } } }, @@ -4615,16 +4920,16 @@ "updateContext": null }, "value": "https://widget.kkbox.com/v1/?id=", - "start": 1506, - "end": 1538, + "start": 1368, + "end": 1400, "loc": { "start": { - "line": 50, - "column": 16 + "line": 55, + "column": 12 }, "end": { - "line": 50, - "column": 48 + "line": 55, + "column": 44 } } }, @@ -4640,16 +4945,16 @@ "postfix": false, "binop": null }, - "start": 1538, - "end": 1540, + "start": 1400, + "end": 1402, "loc": { "start": { - "line": 50, - "column": 48 + "line": 55, + "column": 44 }, "end": { - "line": 50, - "column": 50 + "line": 55, + "column": 46 } } }, @@ -4668,16 +4973,16 @@ "updateContext": null }, "value": "this", - "start": 1540, - "end": 1544, + "start": 1402, + "end": 1406, "loc": { "start": { - "line": 50, - "column": 50 + "line": 55, + "column": 46 }, "end": { - "line": 50, - "column": 54 + "line": 55, + "column": 50 } } }, @@ -4694,16 +4999,16 @@ "binop": null, "updateContext": null }, - "start": 1544, - "end": 1545, + "start": 1406, + "end": 1407, "loc": { "start": { - "line": 50, - "column": 54 + "line": 55, + "column": 50 }, "end": { - "line": 50, - "column": 55 + "line": 55, + "column": 51 } } }, @@ -4719,17 +5024,17 @@ "postfix": false, "binop": null }, - "value": "playlist_id", - "start": 1545, - "end": 1556, + "value": "playlistID", + "start": 1407, + "end": 1417, "loc": { "start": { - "line": 50, - "column": 55 + "line": 55, + "column": 51 }, "end": { - "line": 50, - "column": 66 + "line": 55, + "column": 61 } } }, @@ -4745,16 +5050,16 @@ "postfix": false, "binop": null }, - "start": 1556, - "end": 1557, + "start": 1417, + "end": 1418, "loc": { "start": { - "line": 50, - "column": 66 + "line": 55, + "column": 61 }, "end": { - "line": 50, - "column": 67 + "line": 55, + "column": 62 } } }, @@ -4772,16 +5077,16 @@ "updateContext": null }, "value": "&type=playlist", - "start": 1557, - "end": 1571, + "start": 1418, + "end": 1432, "loc": { "start": { - "line": 50, - "column": 67 + "line": 55, + "column": 62 }, "end": { - "line": 50, - "column": 81 + "line": 55, + "column": 76 } } }, @@ -4795,18 +5100,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null + }, + "start": 1432, + "end": 1433, + "loc": { + "start": { + "line": 55, + "column": 76 + }, + "end": { + "line": 55, + "column": 77 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null }, - "start": 1571, - "end": 1572, + "start": 1433, + "end": 1434, "loc": { "start": { - "line": 50, - "column": 81 + "line": 55, + "column": 77 }, "end": { - "line": 50, - "column": 82 + "line": 55, + "column": 78 } } }, @@ -4822,32 +5153,32 @@ "postfix": false, "binop": null }, - "start": 1577, - "end": 1578, + "start": 1437, + "end": 1438, "loc": { "start": { - "line": 51, - "column": 4 + "line": 56, + "column": 2 }, "end": { - "line": 51, - "column": 5 + "line": 56, + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch track list of a shared playlist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.SharedPlaylistFetcher.setPlaylistID('4nUZM-TY2aVxZ2xaA-').fetchTracks()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists/endpoints/get-shared-playlists-playlist_id-tracks\n ", - "start": 1584, - "end": 2022, + "value": "*\n * Fetch track list of a shared playlist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example\n * api.sharedPlaylistFetcher\n * .setPlaylistID('4nUZM-TY2aVxZ2xaA-')\n * .fetchTracks();\n * @see https://docs-en.kkbox.codes/v1.1/reference#sharedplaylists-playlist_id-tracks\n ", + "start": 1442, + "end": 1848, "loc": { "start": { - "line": 53, - "column": 4 + "line": 58, + "column": 2 }, "end": { - "line": 61, - "column": 7 + "line": 69, + "column": 5 } } }, @@ -4864,16 +5195,16 @@ "binop": null }, "value": "fetchTracks", - "start": 2027, - "end": 2038, + "start": 1851, + "end": 1862, "loc": { "start": { - "line": 62, - "column": 4 + "line": 70, + "column": 2 }, "end": { - "line": 62, - "column": 15 + "line": 70, + "column": 13 } } }, @@ -4889,16 +5220,16 @@ "postfix": false, "binop": null }, - "start": 2038, - "end": 2039, + "start": 1862, + "end": 1863, "loc": { "start": { - "line": 62, - "column": 15 + "line": 70, + "column": 13 }, "end": { - "line": 62, - "column": 16 + "line": 70, + "column": 14 } } }, @@ -4915,16 +5246,16 @@ "binop": null }, "value": "limit", - "start": 2039, - "end": 2044, + "start": 1863, + "end": 1868, "loc": { "start": { - "line": 62, - "column": 16 + "line": 70, + "column": 14 }, "end": { - "line": 62, - "column": 21 + "line": 70, + "column": 19 } } }, @@ -4942,16 +5273,16 @@ "updateContext": null }, "value": "=", - "start": 2045, - "end": 2046, + "start": 1869, + "end": 1870, "loc": { "start": { - "line": 62, - "column": 22 + "line": 70, + "column": 20 }, "end": { - "line": 62, - "column": 23 + "line": 70, + "column": 21 } } }, @@ -4968,16 +5299,16 @@ "binop": null }, "value": "undefined", - "start": 2047, - "end": 2056, + "start": 1871, + "end": 1880, "loc": { "start": { - "line": 62, - "column": 24 + "line": 70, + "column": 22 }, "end": { - "line": 62, - "column": 33 + "line": 70, + "column": 31 } } }, @@ -4994,16 +5325,16 @@ "binop": null, "updateContext": null }, - "start": 2056, - "end": 2057, + "start": 1880, + "end": 1881, "loc": { "start": { - "line": 62, - "column": 33 + "line": 70, + "column": 31 }, "end": { - "line": 62, - "column": 34 + "line": 70, + "column": 32 } } }, @@ -5020,16 +5351,16 @@ "binop": null }, "value": "offset", - "start": 2058, - "end": 2064, + "start": 1882, + "end": 1888, "loc": { "start": { - "line": 62, - "column": 35 + "line": 70, + "column": 33 }, "end": { - "line": 62, - "column": 41 + "line": 70, + "column": 39 } } }, @@ -5047,16 +5378,16 @@ "updateContext": null }, "value": "=", - "start": 2065, - "end": 2066, + "start": 1889, + "end": 1890, "loc": { "start": { - "line": 62, - "column": 42 + "line": 70, + "column": 40 }, "end": { - "line": 62, - "column": 43 + "line": 70, + "column": 41 } } }, @@ -5073,16 +5404,16 @@ "binop": null }, "value": "undefined", - "start": 2067, - "end": 2076, + "start": 1891, + "end": 1900, "loc": { "start": { - "line": 62, - "column": 44 + "line": 70, + "column": 42 }, "end": { - "line": 62, - "column": 53 + "line": 70, + "column": 51 } } }, @@ -5098,16 +5429,16 @@ "postfix": false, "binop": null }, - "start": 2076, - "end": 2077, + "start": 1900, + "end": 1901, "loc": { "start": { - "line": 62, - "column": 53 + "line": 70, + "column": 51 }, "end": { - "line": 62, - "column": 54 + "line": 70, + "column": 52 } } }, @@ -5123,16 +5454,16 @@ "postfix": false, "binop": null }, - "start": 2078, - "end": 2079, + "start": 1902, + "end": 1903, "loc": { "start": { - "line": 62, - "column": 55 + "line": 70, + "column": 53 }, "end": { - "line": 62, - "column": 56 + "line": 70, + "column": 54 } } }, @@ -5151,16 +5482,16 @@ "updateContext": null }, "value": "return", - "start": 2088, - "end": 2094, + "start": 1908, + "end": 1914, "loc": { "start": { - "line": 63, - "column": 8 + "line": 71, + "column": 4 }, "end": { - "line": 63, - "column": 14 + "line": 71, + "column": 10 } } }, @@ -5179,16 +5510,16 @@ "updateContext": null }, "value": "this", - "start": 2095, - "end": 2099, + "start": 1915, + "end": 1919, "loc": { "start": { - "line": 63, - "column": 15 + "line": 71, + "column": 11 }, "end": { - "line": 63, - "column": 19 + "line": 71, + "column": 15 } } }, @@ -5205,16 +5536,16 @@ "binop": null, "updateContext": null }, - "start": 2099, - "end": 2100, + "start": 1919, + "end": 1920, "loc": { "start": { - "line": 63, - "column": 19 + "line": 71, + "column": 15 }, "end": { - "line": 63, - "column": 20 + "line": 71, + "column": 16 } } }, @@ -5231,16 +5562,16 @@ "binop": null }, "value": "http", - "start": 2100, - "end": 2104, + "start": 1920, + "end": 1924, "loc": { "start": { - "line": 63, - "column": 20 + "line": 71, + "column": 16 }, "end": { - "line": 63, - "column": 24 + "line": 71, + "column": 20 } } }, @@ -5257,16 +5588,16 @@ "binop": null, "updateContext": null }, - "start": 2104, - "end": 2105, + "start": 1924, + "end": 1925, "loc": { "start": { - "line": 63, - "column": 24 + "line": 71, + "column": 20 }, "end": { - "line": 63, - "column": 25 + "line": 71, + "column": 21 } } }, @@ -5283,16 +5614,16 @@ "binop": null }, "value": "get", - "start": 2105, - "end": 2108, + "start": 1925, + "end": 1928, "loc": { "start": { - "line": 63, - "column": 25 + "line": 71, + "column": 21 }, "end": { - "line": 63, - "column": 28 + "line": 71, + "column": 24 } } }, @@ -5308,16 +5639,16 @@ "postfix": false, "binop": null }, - "start": 2108, - "end": 2109, + "start": 1928, + "end": 1929, "loc": { "start": { - "line": 63, - "column": 28 + "line": 71, + "column": 24 }, "end": { - "line": 63, - "column": 29 + "line": 71, + "column": 25 } } }, @@ -5334,16 +5665,16 @@ "binop": null }, "value": "ENDPOINT", - "start": 2109, - "end": 2117, + "start": 1929, + "end": 1937, "loc": { "start": { - "line": 63, - "column": 29 + "line": 71, + "column": 25 }, "end": { - "line": 63, - "column": 37 + "line": 71, + "column": 33 } } }, @@ -5361,19 +5692,73 @@ "updateContext": null }, "value": "+", - "start": 2118, - "end": 2119, + "start": 1938, + "end": 1939, "loc": { "start": { - "line": 63, - "column": 38 + "line": 71, + "column": 34 + }, + "end": { + "line": 71, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "/", + "start": 1940, + "end": 1943, + "loc": { + "start": { + "line": 71, + "column": 36 }, "end": { - "line": 63, + "line": 71, "column": 39 } } }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 1944, + "end": 1945, + "loc": { + "start": { + "line": 71, + "column": 40 + }, + "end": { + "line": 71, + "column": 41 + } + } + }, { "type": { "label": "this", @@ -5389,16 +5774,16 @@ "updateContext": null }, "value": "this", - "start": 2120, - "end": 2124, + "start": 1946, + "end": 1950, "loc": { "start": { - "line": 63, - "column": 40 + "line": 71, + "column": 42 }, "end": { - "line": 63, - "column": 44 + "line": 71, + "column": 46 } } }, @@ -5415,16 +5800,16 @@ "binop": null, "updateContext": null }, - "start": 2124, - "end": 2125, + "start": 1950, + "end": 1951, "loc": { "start": { - "line": 63, - "column": 44 + "line": 71, + "column": 46 }, "end": { - "line": 63, - "column": 45 + "line": 71, + "column": 47 } } }, @@ -5440,17 +5825,17 @@ "postfix": false, "binop": null }, - "value": "playlist_id", - "start": 2125, - "end": 2136, + "value": "playlistID", + "start": 1951, + "end": 1961, "loc": { "start": { - "line": 63, - "column": 45 + "line": 71, + "column": 47 }, "end": { - "line": 63, - "column": 56 + "line": 71, + "column": 57 } } }, @@ -5468,16 +5853,16 @@ "updateContext": null }, "value": "+", - "start": 2137, - "end": 2138, + "start": 1962, + "end": 1963, "loc": { "start": { - "line": 63, - "column": 57 + "line": 71, + "column": 58 }, "end": { - "line": 63, - "column": 58 + "line": 71, + "column": 59 } } }, @@ -5495,16 +5880,16 @@ "updateContext": null }, "value": "/tracks", - "start": 2139, - "end": 2148, + "start": 1964, + "end": 1973, "loc": { "start": { - "line": 63, - "column": 59 + "line": 71, + "column": 60 }, "end": { - "line": 63, - "column": 68 + "line": 71, + "column": 69 } } }, @@ -5521,16 +5906,16 @@ "binop": null, "updateContext": null }, - "start": 2148, - "end": 2149, + "start": 1973, + "end": 1974, "loc": { "start": { - "line": 63, - "column": 68 + "line": 71, + "column": 69 }, "end": { - "line": 63, - "column": 69 + "line": 71, + "column": 70 } } }, @@ -5546,16 +5931,16 @@ "postfix": false, "binop": null }, - "start": 2150, - "end": 2151, + "start": 1975, + "end": 1976, "loc": { "start": { - "line": 63, - "column": 70 + "line": 71, + "column": 71 }, "end": { - "line": 63, - "column": 71 + "line": 71, + "column": 72 } } }, @@ -5572,16 +5957,16 @@ "binop": null }, "value": "territory", - "start": 2164, - "end": 2173, + "start": 1983, + "end": 1992, "loc": { "start": { - "line": 64, - "column": 12 + "line": 72, + "column": 6 }, "end": { - "line": 64, - "column": 21 + "line": 72, + "column": 15 } } }, @@ -5598,16 +5983,16 @@ "binop": null, "updateContext": null }, - "start": 2173, - "end": 2174, + "start": 1992, + "end": 1993, "loc": { "start": { - "line": 64, - "column": 21 + "line": 72, + "column": 15 }, "end": { - "line": 64, - "column": 22 + "line": 72, + "column": 16 } } }, @@ -5626,16 +6011,16 @@ "updateContext": null }, "value": "this", - "start": 2175, - "end": 2179, + "start": 1994, + "end": 1998, "loc": { "start": { - "line": 64, - "column": 23 + "line": 72, + "column": 17 }, "end": { - "line": 64, - "column": 27 + "line": 72, + "column": 21 } } }, @@ -5652,16 +6037,16 @@ "binop": null, "updateContext": null }, - "start": 2179, - "end": 2180, + "start": 1998, + "end": 1999, "loc": { "start": { - "line": 64, - "column": 27 + "line": 72, + "column": 21 }, "end": { - "line": 64, - "column": 28 + "line": 72, + "column": 22 } } }, @@ -5678,16 +6063,16 @@ "binop": null }, "value": "territory", - "start": 2180, - "end": 2189, + "start": 1999, + "end": 2008, "loc": { "start": { - "line": 64, - "column": 28 + "line": 72, + "column": 22 }, "end": { - "line": 64, - "column": 37 + "line": 72, + "column": 31 } } }, @@ -5704,16 +6089,16 @@ "binop": null, "updateContext": null }, - "start": 2189, - "end": 2190, + "start": 2008, + "end": 2009, "loc": { "start": { - "line": 64, - "column": 37 + "line": 72, + "column": 31 }, "end": { - "line": 64, - "column": 38 + "line": 72, + "column": 32 } } }, @@ -5730,16 +6115,16 @@ "binop": null }, "value": "limit", - "start": 2203, - "end": 2208, + "start": 2016, + "end": 2021, "loc": { "start": { - "line": 65, - "column": 12 + "line": 73, + "column": 6 }, "end": { - "line": 65, - "column": 17 + "line": 73, + "column": 11 } } }, @@ -5756,16 +6141,16 @@ "binop": null, "updateContext": null }, - "start": 2208, - "end": 2209, + "start": 2021, + "end": 2022, "loc": { "start": { - "line": 65, - "column": 17 + "line": 73, + "column": 11 }, "end": { - "line": 65, - "column": 18 + "line": 73, + "column": 12 } } }, @@ -5782,16 +6167,16 @@ "binop": null }, "value": "limit", - "start": 2210, - "end": 2215, + "start": 2023, + "end": 2028, "loc": { "start": { - "line": 65, - "column": 19 + "line": 73, + "column": 13 }, "end": { - "line": 65, - "column": 24 + "line": 73, + "column": 18 } } }, @@ -5808,16 +6193,16 @@ "binop": null, "updateContext": null }, - "start": 2215, - "end": 2216, + "start": 2028, + "end": 2029, "loc": { "start": { - "line": 65, - "column": 24 + "line": 73, + "column": 18 }, "end": { - "line": 65, - "column": 25 + "line": 73, + "column": 19 } } }, @@ -5834,16 +6219,16 @@ "binop": null }, "value": "offset", - "start": 2229, - "end": 2235, + "start": 2036, + "end": 2042, "loc": { "start": { - "line": 66, - "column": 12 + "line": 74, + "column": 6 }, "end": { - "line": 66, - "column": 18 + "line": 74, + "column": 12 } } }, @@ -5860,16 +6245,16 @@ "binop": null, "updateContext": null }, - "start": 2235, - "end": 2236, + "start": 2042, + "end": 2043, "loc": { "start": { - "line": 66, - "column": 18 + "line": 74, + "column": 12 }, "end": { - "line": 66, - "column": 19 + "line": 74, + "column": 13 } } }, @@ -5886,16 +6271,16 @@ "binop": null }, "value": "offset", - "start": 2237, - "end": 2243, + "start": 2044, + "end": 2050, "loc": { "start": { - "line": 66, - "column": 20 + "line": 74, + "column": 14 }, "end": { - "line": 66, - "column": 26 + "line": 74, + "column": 20 } } }, @@ -5911,16 +6296,16 @@ "postfix": false, "binop": null }, - "start": 2252, - "end": 2253, + "start": 2055, + "end": 2056, "loc": { "start": { - "line": 67, - "column": 8 + "line": 75, + "column": 4 }, "end": { - "line": 67, - "column": 9 + "line": 75, + "column": 5 } } }, @@ -5936,16 +6321,42 @@ "postfix": false, "binop": null }, - "start": 2253, - "end": 2254, + "start": 2056, + "end": 2057, "loc": { "start": { - "line": 67, - "column": 9 + "line": 75, + "column": 5 }, "end": { - "line": 67, - "column": 10 + "line": 75, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2057, + "end": 2058, + "loc": { + "start": { + "line": 75, + "column": 6 + }, + "end": { + "line": 75, + "column": 7 } } }, @@ -5961,16 +6372,16 @@ "postfix": false, "binop": null }, - "start": 2259, - "end": 2260, + "start": 2061, + "end": 2062, "loc": { "start": { - "line": 68, - "column": 4 + "line": 76, + "column": 2 }, "end": { - "line": 68, - "column": 5 + "line": 76, + "column": 3 } } }, @@ -5986,15 +6397,15 @@ "postfix": false, "binop": null }, - "start": 2261, - "end": 2262, + "start": 2063, + "end": 2064, "loc": { "start": { - "line": 69, + "line": 77, "column": 0 }, "end": { - "line": 69, + "line": 77, "column": 1 } } @@ -6012,16 +6423,16 @@ "binop": null, "updateContext": null }, - "start": 2262, - "end": 2262, + "start": 2065, + "end": 2065, "loc": { "start": { - "line": 69, - "column": 1 + "line": 78, + "column": 0 }, "end": { - "line": 69, - "column": 1 + "line": 78, + "column": 0 } } } diff --git a/docs/ast/source/api/TrackFetcher.js.json b/docs/ast/source/api/TrackFetcher.js.json index 35ab4d3..6c41379 100644 --- a/docs/ast/source/api/TrackFetcher.js.json +++ b/docs/ast/source/api/TrackFetcher.js.json @@ -1,29 +1,29 @@ { "type": "File", "start": 0, - "end": 1412, + "end": 1278, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 52, - "column": 1 + "line": 55, + "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 1412, + "end": 1278, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 52, - "column": 1 + "line": 55, + "column": 0 } }, "sourceType": "module", @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 46, + "end": 49, "loc": { "start": { "line": 1, @@ -39,36 +39,36 @@ }, "end": { "line": 1, - "column": 46 + "column": 49 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 8, - "end": 26, + "start": 9, + "end": 27, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 26 + "column": 27 } }, "imported": { "type": "Identifier", - "start": 8, - "end": 14, + "start": 9, + "end": 15, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 14 + "column": 15 }, "identifierName": "TRACKS" }, @@ -76,16 +76,16 @@ }, "local": { "type": "Identifier", - "start": 18, - "end": 26, + "start": 19, + "end": 27, "loc": { "start": { "line": 1, - "column": 18 + "column": 19 }, "end": { "line": 1, - "column": 26 + "column": 27 }, "identifierName": "ENDPOINT" }, @@ -95,16 +95,16 @@ ], "source": { "type": "StringLiteral", - "start": 33, - "end": 46, + "start": 35, + "end": 48, "loc": { "start": { "line": 1, - "column": 33 + "column": 35 }, "end": { "line": 1, - "column": 46 + "column": 48 } }, "extra": { @@ -116,8 +116,8 @@ }, { "type": "ImportDeclaration", - "start": 47, - "end": 78, + "start": 50, + "end": 82, "loc": { "start": { "line": 2, @@ -125,14 +125,14 @@ }, "end": { "line": 2, - "column": 31 + "column": 32 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 54, - "end": 61, + "start": 57, + "end": 64, "loc": { "start": { "line": 2, @@ -145,8 +145,8 @@ }, "local": { "type": "Identifier", - "start": 54, - "end": 61, + "start": 57, + "end": 64, "loc": { "start": { "line": 2, @@ -164,8 +164,8 @@ ], "source": { "type": "StringLiteral", - "start": 67, - "end": 78, + "start": 70, + "end": 81, "loc": { "start": { "line": 2, @@ -180,16 +180,14 @@ "rawValue": "./Fetcher", "raw": "'./Fetcher'" }, - "value": "./Fetcher", - "leadingComments": null, - "trailingComments": null + "value": "./Fetcher" }, "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Get metadata of a track.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/tracks\n ", - "start": 80, - "end": 182, + "value": "*\n * Get metadata of a track.\n * @see https://docs-en.kkbox.codes/v1.1/reference#tracks\n ", + "start": 84, + "end": 177, "loc": { "start": { "line": 4, @@ -205,36 +203,36 @@ }, { "type": "ExportDefaultDeclaration", - "start": 183, - "end": 1412, + "start": 178, + "end": 1277, "loc": { "start": { "line": 8, "column": 0 }, "end": { - "line": 52, + "line": 54, "column": 1 } }, "declaration": { "type": "ClassDeclaration", - "start": 198, - "end": 1412, + "start": 193, + "end": 1277, "loc": { "start": { "line": 8, "column": 15 }, "end": { - "line": 52, + "line": 54, "column": 1 } }, "id": { "type": "Identifier", - "start": 204, - "end": 216, + "start": 199, + "end": 211, "loc": { "start": { "line": 8, @@ -251,8 +249,8 @@ }, "superClass": { "type": "Identifier", - "start": 225, - "end": 232, + "start": 220, + "end": 227, "loc": { "start": { "line": 8, @@ -268,53 +266,53 @@ }, "body": { "type": "ClassBody", - "start": 233, - "end": 1412, + "start": 228, + "end": 1277, "loc": { "start": { "line": 8, "column": 50 }, "end": { - "line": 52, + "line": 54, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 270, - "end": 422, + "start": 257, + "end": 388, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 19, - "column": 5 + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 270, - "end": 281, + "start": 257, + "end": 268, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 12, - "column": 15 + "column": 13 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, - "static": false, "kind": "constructor", "id": null, "generator": false, @@ -323,16 +321,16 @@ "params": [ { "type": "Identifier", - "start": 282, - "end": 286, + "start": 269, + "end": 273, "loc": { "start": { "line": 12, - "column": 16 + "column": 14 }, "end": { "line": 12, - "column": 20 + "column": 18 }, "identifierName": "http" }, @@ -340,30 +338,30 @@ }, { "type": "AssignmentPattern", - "start": 288, - "end": 304, + "start": 275, + "end": 291, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 38 + "column": 36 } }, "left": { "type": "Identifier", - "start": 288, - "end": 297, + "start": 275, + "end": 284, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 31 + "column": 29 }, "identifierName": "territory" }, @@ -371,16 +369,16 @@ }, "right": { "type": "StringLiteral", - "start": 300, - "end": 304, + "start": 287, + "end": 291, "loc": { "start": { "line": 12, - "column": 34 + "column": 32 }, "end": { "line": 12, - "column": 38 + "column": 36 } }, "extra": { @@ -393,75 +391,75 @@ ], "body": { "type": "BlockStatement", - "start": 306, - "end": 422, + "start": 293, + "end": 388, "loc": { "start": { "line": 12, - "column": 40 + "column": 38 }, "end": { "line": 19, - "column": 5 + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 316, - "end": 338, + "start": 299, + "end": 322, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 30 + "column": 27 } }, "expression": { "type": "CallExpression", - "start": 316, - "end": 338, + "start": 299, + "end": 321, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 30 + "column": 26 } }, "callee": { "type": "Super", - "start": 316, - "end": 321, + "start": 299, + "end": 304, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 13 + "column": 9 } } }, "arguments": [ { "type": "Identifier", - "start": 322, - "end": 326, + "start": 305, + "end": 309, "loc": { "start": { "line": 13, - "column": 14 + "column": 10 }, "end": { "line": 13, - "column": 18 + "column": 14 }, "identifierName": "http" }, @@ -469,38 +467,37 @@ }, { "type": "Identifier", - "start": 328, - "end": 337, + "start": 311, + "end": 320, "loc": { "start": { "line": 13, - "column": 20 + "column": 16 }, "end": { "line": 13, - "column": 29 + "column": 25 }, "identifierName": "territory" }, "name": "territory" } - ], - "trailingComments": null + ] }, "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 348, - "end": 382, + "value": "*\n * @ignore\n ", + "start": 328, + "end": 354, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } } @@ -508,95 +505,95 @@ }, { "type": "ExpressionStatement", - "start": 391, - "end": 416, + "start": 359, + "end": 384, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 33 + "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 391, - "end": 416, + "start": 359, + "end": 383, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 33 + "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 391, - "end": 404, + "start": 359, + "end": 371, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 21 + "column": 16 } }, "object": { "type": "ThisExpression", - "start": 391, - "end": 395, + "start": 359, + "end": 363, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 12 + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 396, - "end": 404, + "start": 364, + "end": 371, "loc": { "start": { "line": 18, - "column": 13 + "column": 9 }, "end": { "line": 18, - "column": 21 + "column": 16 }, - "identifierName": "track_id" + "identifierName": "trackID" }, - "name": "track_id" + "name": "trackID" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", - "start": 407, - "end": 416, + "start": 374, + "end": 383, "loc": { "start": { "line": 18, - "column": 24 + "column": 19 }, "end": { "line": 18, - "column": 33 + "column": 28 }, "identifierName": "undefined" }, @@ -607,17 +604,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 348, - "end": 382, + "value": "*\n * @ignore\n ", + "start": 328, + "end": 354, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } } @@ -630,17 +627,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 239, - "end": 265, + "value": "*\n * @ignore\n ", + "start": 232, + "end": 254, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } } @@ -648,17 +645,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Set the track fetcher's track ID.\n *\n * @param {string} track_id - The ID of a track.\n * @return {Track}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/tracks/endpoints/get-tracks-track_id\n ", - "start": 428, - "end": 664, + "value": "*\n * Set the track fetcher's track ID.\n *\n * @param {string} trackID - The ID of a track.\n * @return {Track}\n * @see https://docs-en.kkbox.codes/v1.1/reference#tracks-track_id\n ", + "start": 392, + "end": 585, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 27, - "column": 7 + "column": 5 } } } @@ -666,38 +663,38 @@ }, { "type": "ClassMethod", - "start": 669, - "end": 750, + "start": 588, + "end": 658, "loc": { "start": { "line": 28, - "column": 4 + "column": 2 }, "end": { "line": 31, - "column": 5 + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 669, - "end": 679, + "start": 588, + "end": 598, "loc": { "start": { "line": 28, - "column": 4 + "column": 2 }, "end": { "line": 28, - "column": 14 + "column": 12 }, "identifierName": "setTrackID" }, "name": "setTrackID", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -706,159 +703,159 @@ "params": [ { "type": "Identifier", - "start": 680, - "end": 688, + "start": 599, + "end": 606, "loc": { "start": { "line": 28, - "column": 15 + "column": 13 }, "end": { "line": 28, - "column": 23 + "column": 20 }, - "identifierName": "track_id" + "identifierName": "trackID" }, - "name": "track_id" + "name": "trackID" } ], "body": { "type": "BlockStatement", - "start": 690, - "end": 750, + "start": 608, + "end": 658, "loc": { "start": { "line": 28, - "column": 25 + "column": 22 }, "end": { "line": 31, - "column": 5 + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 700, - "end": 724, + "start": 614, + "end": 637, "loc": { "start": { "line": 29, - "column": 8 + "column": 4 }, "end": { "line": 29, - "column": 32 + "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 700, - "end": 724, + "start": 614, + "end": 636, "loc": { "start": { "line": 29, - "column": 8 + "column": 4 }, "end": { "line": 29, - "column": 32 + "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 700, - "end": 713, + "start": 614, + "end": 626, "loc": { "start": { "line": 29, - "column": 8 + "column": 4 }, "end": { "line": 29, - "column": 21 + "column": 16 } }, "object": { "type": "ThisExpression", - "start": 700, - "end": 704, + "start": 614, + "end": 618, "loc": { "start": { "line": 29, - "column": 8 + "column": 4 }, "end": { "line": 29, - "column": 12 + "column": 8 } } }, "property": { "type": "Identifier", - "start": 705, - "end": 713, + "start": 619, + "end": 626, "loc": { "start": { "line": 29, - "column": 13 + "column": 9 }, "end": { "line": 29, - "column": 21 + "column": 16 }, - "identifierName": "track_id" + "identifierName": "trackID" }, - "name": "track_id" + "name": "trackID" }, "computed": false }, "right": { "type": "Identifier", - "start": 716, - "end": 724, + "start": 629, + "end": 636, "loc": { "start": { "line": 29, - "column": 24 + "column": 19 }, "end": { "line": 29, - "column": 32 + "column": 26 }, - "identifierName": "track_id" + "identifierName": "trackID" }, - "name": "track_id" + "name": "trackID" } } }, { "type": "ReturnStatement", - "start": 733, - "end": 744, + "start": 642, + "end": 654, "loc": { "start": { "line": 30, - "column": 8 + "column": 4 }, "end": { "line": 30, - "column": 19 + "column": 16 } }, "argument": { "type": "ThisExpression", - "start": 740, - "end": 744, + "start": 649, + "end": 653, "loc": { "start": { "line": 30, - "column": 15 + "column": 11 }, "end": { "line": 30, - "column": 19 + "column": 15 } } } @@ -870,17 +867,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Set the track fetcher's track ID.\n *\n * @param {string} track_id - The ID of a track.\n * @return {Track}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/tracks/endpoints/get-tracks-track_id\n ", - "start": 428, - "end": 664, + "value": "*\n * Set the track fetcher's track ID.\n *\n * @param {string} trackID - The ID of a track.\n * @return {Track}\n * @see https://docs-en.kkbox.codes/v1.1/reference#tracks-track_id\n ", + "start": 392, + "end": 585, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 27, - "column": 7 + "column": 5 } } } @@ -888,17 +885,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Get metadata of the track with the track fetcher.\n *\n * @return {Promise}\n * @example api.Track.setTrackID('KpnEGVHEsGgkoB0MBk').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/tracks/endpoints/get-tracks-track_id\n ", - "start": 756, - "end": 1032, + "value": "*\n * Get metadata of the track with the track fetcher.\n *\n * @return {Promise}\n * @example api.trackFetcher.setTrackID('KpnEGVHEsGgkoB0MBk').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#tracks-track_id\n ", + "start": 662, + "end": 904, "loc": { "start": { "line": 33, - "column": 4 + "column": 2 }, "end": { "line": 39, - "column": 7 + "column": 5 } } } @@ -906,38 +903,38 @@ }, { "type": "ClassMethod", - "start": 1037, - "end": 1144, + "start": 907, + "end": 1026, "loc": { "start": { "line": 40, - "column": 4 + "column": 2 }, "end": { - "line": 42, - "column": 5 + "line": 44, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 1037, - "end": 1050, + "start": 907, + "end": 920, "loc": { "start": { "line": 40, - "column": 4 + "column": 2 }, "end": { "line": 40, - "column": 17 + "column": 15 }, "identifierName": "fetchMetadata" }, "name": "fetchMetadata", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -946,102 +943,102 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1053, - "end": 1144, + "start": 923, + "end": 1026, "loc": { "start": { "line": 40, - "column": 20 + "column": 18 }, "end": { - "line": 42, - "column": 5 + "line": 44, + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 1063, - "end": 1138, + "start": 929, + "end": 1022, "loc": { "start": { "line": 41, - "column": 8 + "column": 4 }, "end": { - "line": 41, - "column": 83 + "line": 43, + "column": 7 } }, "argument": { "type": "CallExpression", - "start": 1070, - "end": 1138, + "start": 936, + "end": 1021, "loc": { "start": { "line": 41, - "column": 15 + "column": 11 }, "end": { - "line": 41, - "column": 83 + "line": 43, + "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 1070, - "end": 1083, + "start": 936, + "end": 949, "loc": { "start": { "line": 41, - "column": 15 + "column": 11 }, "end": { "line": 41, - "column": 28 + "column": 24 } }, "object": { "type": "MemberExpression", - "start": 1070, - "end": 1079, + "start": 936, + "end": 945, "loc": { "start": { "line": 41, - "column": 15 + "column": 11 }, "end": { "line": 41, - "column": 24 + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 1070, - "end": 1074, + "start": 936, + "end": 940, "loc": { "start": { "line": 41, - "column": 15 + "column": 11 }, "end": { "line": 41, - "column": 19 + "column": 15 } } }, "property": { "type": "Identifier", - "start": 1075, - "end": 1079, + "start": 941, + "end": 945, "loc": { "start": { "line": 41, - "column": 20 + "column": 16 }, "end": { "line": 41, - "column": 24 + "column": 20 }, "identifierName": "http" }, @@ -1051,16 +1048,16 @@ }, "property": { "type": "Identifier", - "start": 1080, - "end": 1083, + "start": 946, + "end": 949, "loc": { "start": { "line": 41, - "column": 25 + "column": 21 }, "end": { "line": 41, - "column": 28 + "column": 24 }, "identifierName": "get" }, @@ -1071,112 +1068,148 @@ "arguments": [ { "type": "BinaryExpression", - "start": 1084, - "end": 1108, + "start": 950, + "end": 979, "loc": { "start": { "line": 41, - "column": 29 + "column": 25 }, "end": { "line": 41, - "column": 53 + "column": 54 } }, "left": { - "type": "Identifier", - "start": 1084, - "end": 1092, + "type": "BinaryExpression", + "start": 950, + "end": 964, "loc": { "start": { "line": 41, - "column": 29 + "column": 25 }, "end": { "line": 41, - "column": 37 + "column": 39 + } + }, + "left": { + "type": "Identifier", + "start": 950, + "end": 958, + "loc": { + "start": { + "line": 41, + "column": 25 + }, + "end": { + "line": 41, + "column": 33 + }, + "identifierName": "ENDPOINT" }, - "identifierName": "ENDPOINT" + "name": "ENDPOINT" }, - "name": "ENDPOINT" + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 961, + "end": 964, + "loc": { + "start": { + "line": 41, + "column": 36 + }, + "end": { + "line": 41, + "column": 39 + } + }, + "extra": { + "rawValue": "/", + "raw": "'/'" + }, + "value": "/" + } }, "operator": "+", "right": { "type": "MemberExpression", - "start": 1095, - "end": 1108, + "start": 967, + "end": 979, "loc": { "start": { "line": 41, - "column": 40 + "column": 42 }, "end": { "line": 41, - "column": 53 + "column": 54 } }, "object": { "type": "ThisExpression", - "start": 1095, - "end": 1099, + "start": 967, + "end": 971, "loc": { "start": { "line": 41, - "column": 40 + "column": 42 }, "end": { "line": 41, - "column": 44 + "column": 46 } } }, "property": { "type": "Identifier", - "start": 1100, - "end": 1108, + "start": 972, + "end": 979, "loc": { "start": { "line": 41, - "column": 45 + "column": 47 }, "end": { "line": 41, - "column": 53 + "column": 54 }, - "identifierName": "track_id" + "identifierName": "trackID" }, - "name": "track_id" + "name": "trackID" }, "computed": false } }, { "type": "ObjectExpression", - "start": 1110, - "end": 1137, + "start": 981, + "end": 1020, "loc": { "start": { "line": 41, - "column": 55 + "column": 56 }, "end": { - "line": 41, - "column": 82 + "line": 43, + "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 1111, - "end": 1136, + "start": 989, + "end": 1014, "loc": { "start": { - "line": 41, - "column": 56 + "line": 42, + "column": 6 }, "end": { - "line": 41, - "column": 81 + "line": 42, + "column": 31 } }, "method": false, @@ -1184,16 +1217,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 1111, - "end": 1120, + "start": 989, + "end": 998, "loc": { "start": { - "line": 41, - "column": 56 + "line": 42, + "column": 6 }, "end": { - "line": 41, - "column": 65 + "line": 42, + "column": 15 }, "identifierName": "territory" }, @@ -1201,45 +1234,45 @@ }, "value": { "type": "MemberExpression", - "start": 1122, - "end": 1136, + "start": 1000, + "end": 1014, "loc": { "start": { - "line": 41, - "column": 67 + "line": 42, + "column": 17 }, "end": { - "line": 41, - "column": 81 + "line": 42, + "column": 31 } }, "object": { "type": "ThisExpression", - "start": 1122, - "end": 1126, + "start": 1000, + "end": 1004, "loc": { "start": { - "line": 41, - "column": 67 + "line": 42, + "column": 17 }, "end": { - "line": 41, - "column": 71 + "line": 42, + "column": 21 } } }, "property": { "type": "Identifier", - "start": 1127, - "end": 1136, + "start": 1005, + "end": 1014, "loc": { "start": { - "line": 41, - "column": 72 + "line": 42, + "column": 22 }, "end": { - "line": 41, - "column": 81 + "line": 42, + "column": 31 }, "identifierName": "territory" }, @@ -1260,17 +1293,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Get metadata of the track with the track fetcher.\n *\n * @return {Promise}\n * @example api.Track.setTrackID('KpnEGVHEsGgkoB0MBk').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/tracks/endpoints/get-tracks-track_id\n ", - "start": 756, - "end": 1032, + "value": "*\n * Get metadata of the track with the track fetcher.\n *\n * @return {Promise}\n * @example api.trackFetcher.setTrackID('KpnEGVHEsGgkoB0MBk').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#tracks-track_id\n ", + "start": 662, + "end": 904, "loc": { "start": { "line": 33, - "column": 4 + "column": 2 }, "end": { "line": 39, - "column": 7 + "column": 5 } } } @@ -1278,17 +1311,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Get KKBOX web widget uri of the track.\n * @example https://widget.kkbox.com/v1/?id=8sD5pE4dV0Zqmmler6&type=song\n * @return {string}\n ", - "start": 1150, - "end": 1308, + "value": "*\n * Get KKBOX web widget uri of the track.\n * @example https://widget.kkbox.com/v1/?id=8sD5pE4dV0Zqmmler6&type=song\n * @return {string}\n ", + "start": 1030, + "end": 1180, "loc": { "start": { - "line": 44, - "column": 4 + "line": 46, + "column": 2 }, "end": { - "line": 48, - "column": 7 + "line": 50, + "column": 5 } } } @@ -1296,38 +1329,38 @@ }, { "type": "ClassMethod", - "start": 1313, - "end": 1410, + "start": 1183, + "end": 1275, "loc": { "start": { - "line": 49, - "column": 4 + "line": 51, + "column": 2 }, "end": { - "line": 51, - "column": 5 + "line": 53, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 1313, - "end": 1325, + "start": 1183, + "end": 1195, "loc": { "start": { - "line": 49, - "column": 4 + "line": 51, + "column": 2 }, "end": { - "line": 49, - "column": 16 + "line": 51, + "column": 14 }, "identifierName": "getWidgetUri" }, "name": "getWidgetUri", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -1336,93 +1369,93 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1327, - "end": 1410, + "start": 1198, + "end": 1275, "loc": { "start": { - "line": 49, - "column": 18 + "line": 51, + "column": 17 }, "end": { - "line": 51, - "column": 5 + "line": 53, + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 1337, - "end": 1404, + "start": 1204, + "end": 1271, "loc": { "start": { - "line": 50, - "column": 8 + "line": 52, + "column": 4 }, "end": { - "line": 50, - "column": 75 + "line": 52, + "column": 71 } }, "argument": { "type": "TemplateLiteral", - "start": 1344, - "end": 1404, + "start": 1211, + "end": 1270, "loc": { "start": { - "line": 50, - "column": 15 + "line": 52, + "column": 11 }, "end": { - "line": 50, - "column": 75 + "line": 52, + "column": 70 } }, "expressions": [ { "type": "MemberExpression", - "start": 1379, - "end": 1392, + "start": 1246, + "end": 1258, "loc": { "start": { - "line": 50, - "column": 50 + "line": 52, + "column": 46 }, "end": { - "line": 50, - "column": 63 + "line": 52, + "column": 58 } }, "object": { "type": "ThisExpression", - "start": 1379, - "end": 1383, + "start": 1246, + "end": 1250, "loc": { "start": { - "line": 50, - "column": 50 + "line": 52, + "column": 46 }, "end": { - "line": 50, - "column": 54 + "line": 52, + "column": 50 } } }, "property": { "type": "Identifier", - "start": 1384, - "end": 1392, + "start": 1251, + "end": 1258, "loc": { "start": { - "line": 50, - "column": 55 + "line": 52, + "column": 51 }, "end": { - "line": 50, - "column": 63 + "line": 52, + "column": 58 }, - "identifierName": "track_id" + "identifierName": "trackID" }, - "name": "track_id" + "name": "trackID" }, "computed": false } @@ -1430,16 +1463,16 @@ "quasis": [ { "type": "TemplateElement", - "start": 1345, - "end": 1377, + "start": 1212, + "end": 1244, "loc": { "start": { - "line": 50, - "column": 16 + "line": 52, + "column": 12 }, "end": { - "line": 50, - "column": 48 + "line": 52, + "column": 44 } }, "value": { @@ -1450,16 +1483,16 @@ }, { "type": "TemplateElement", - "start": 1393, - "end": 1403, + "start": 1259, + "end": 1269, "loc": { "start": { - "line": 50, - "column": 64 + "line": 52, + "column": 59 }, "end": { - "line": 50, - "column": 74 + "line": 52, + "column": 69 } }, "value": { @@ -1477,17 +1510,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Get KKBOX web widget uri of the track.\n * @example https://widget.kkbox.com/v1/?id=8sD5pE4dV0Zqmmler6&type=song\n * @return {string}\n ", - "start": 1150, - "end": 1308, + "value": "*\n * Get KKBOX web widget uri of the track.\n * @example https://widget.kkbox.com/v1/?id=8sD5pE4dV0Zqmmler6&type=song\n * @return {string}\n ", + "start": 1030, + "end": 1180, "loc": { "start": { - "line": 44, - "column": 4 + "line": 46, + "column": 2 }, "end": { - "line": 48, - "column": 7 + "line": 50, + "column": 5 } } } @@ -1498,9 +1531,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Get metadata of a track.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/tracks\n ", - "start": 80, - "end": 182, + "value": "*\n * Get metadata of a track.\n * @see https://docs-en.kkbox.codes/v1.1/reference#tracks\n ", + "start": 84, + "end": 177, "loc": { "start": { "line": 4, @@ -1518,9 +1551,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Get metadata of a track.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/tracks\n ", - "start": 80, - "end": 182, + "value": "*\n * Get metadata of a track.\n * @see https://docs-en.kkbox.codes/v1.1/reference#tracks\n ", + "start": 84, + "end": 177, "loc": { "start": { "line": 4, @@ -1540,9 +1573,9 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * Get metadata of a track.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/tracks\n ", - "start": 80, - "end": 182, + "value": "*\n * Get metadata of a track.\n * @see https://docs-en.kkbox.codes/v1.1/reference#tracks\n ", + "start": 84, + "end": 177, "loc": { "start": { "line": 4, @@ -1556,81 +1589,81 @@ }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 239, - "end": 265, + "value": "*\n * @ignore\n ", + "start": 232, + "end": 254, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 348, - "end": 382, + "value": "*\n * @ignore\n ", + "start": 328, + "end": 354, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } }, { "type": "CommentBlock", - "value": "*\n * Set the track fetcher's track ID.\n *\n * @param {string} track_id - The ID of a track.\n * @return {Track}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/tracks/endpoints/get-tracks-track_id\n ", - "start": 428, - "end": 664, + "value": "*\n * Set the track fetcher's track ID.\n *\n * @param {string} trackID - The ID of a track.\n * @return {Track}\n * @see https://docs-en.kkbox.codes/v1.1/reference#tracks-track_id\n ", + "start": 392, + "end": 585, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 27, - "column": 7 + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Get metadata of the track with the track fetcher.\n *\n * @return {Promise}\n * @example api.Track.setTrackID('KpnEGVHEsGgkoB0MBk').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/tracks/endpoints/get-tracks-track_id\n ", - "start": 756, - "end": 1032, + "value": "*\n * Get metadata of the track with the track fetcher.\n *\n * @return {Promise}\n * @example api.trackFetcher.setTrackID('KpnEGVHEsGgkoB0MBk').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#tracks-track_id\n ", + "start": 662, + "end": 904, "loc": { "start": { "line": 33, - "column": 4 + "column": 2 }, "end": { "line": 39, - "column": 7 + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Get KKBOX web widget uri of the track.\n * @example https://widget.kkbox.com/v1/?id=8sD5pE4dV0Zqmmler6&type=song\n * @return {string}\n ", - "start": 1150, - "end": 1308, + "value": "*\n * Get KKBOX web widget uri of the track.\n * @example https://widget.kkbox.com/v1/?id=8sD5pE4dV0Zqmmler6&type=song\n * @return {string}\n ", + "start": 1030, + "end": 1180, "loc": { "start": { - "line": 44, - "column": 4 + "line": 46, + "column": 2 }, "end": { - "line": 48, - "column": 7 + "line": 50, + "column": 5 } } } @@ -1641,7 +1674,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1702,16 +1735,16 @@ "binop": null }, "value": "TRACKS", - "start": 8, - "end": 14, + "start": 9, + "end": 15, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 14 + "column": 15 } } }, @@ -1728,16 +1761,16 @@ "binop": null }, "value": "as", - "start": 15, - "end": 17, + "start": 16, + "end": 18, "loc": { "start": { "line": 1, - "column": 15 + "column": 16 }, "end": { "line": 1, - "column": 17 + "column": 18 } } }, @@ -1754,16 +1787,16 @@ "binop": null }, "value": "ENDPOINT", - "start": 18, - "end": 26, + "start": 19, + "end": 27, "loc": { "start": { "line": 1, - "column": 18 + "column": 19 }, "end": { "line": 1, - "column": 26 + "column": 27 } } }, @@ -1779,16 +1812,16 @@ "postfix": false, "binop": null }, - "start": 26, - "end": 27, + "start": 28, + "end": 29, "loc": { "start": { "line": 1, - "column": 26 + "column": 28 }, "end": { "line": 1, - "column": 27 + "column": 29 } } }, @@ -1805,16 +1838,16 @@ "binop": null }, "value": "from", - "start": 28, - "end": 32, + "start": 30, + "end": 34, "loc": { "start": { "line": 1, - "column": 28 + "column": 30 }, "end": { "line": 1, - "column": 32 + "column": 34 } } }, @@ -1832,16 +1865,42 @@ "updateContext": null }, "value": "../Endpoint", - "start": 33, - "end": 46, + "start": 35, + "end": 48, "loc": { "start": { "line": 1, - "column": 33 + "column": 35 }, "end": { "line": 1, - "column": 46 + "column": 48 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 48, + "end": 49, + "loc": { + "start": { + "line": 1, + "column": 48 + }, + "end": { + "line": 1, + "column": 49 } } }, @@ -1850,7 +1909,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1860,8 +1919,8 @@ "updateContext": null }, "value": "import", - "start": 47, - "end": 53, + "start": 50, + "end": 56, "loc": { "start": { "line": 2, @@ -1886,8 +1945,8 @@ "binop": null }, "value": "Fetcher", - "start": 54, - "end": 61, + "start": 57, + "end": 64, "loc": { "start": { "line": 2, @@ -1912,8 +1971,8 @@ "binop": null }, "value": "from", - "start": 62, - "end": 66, + "start": 65, + "end": 69, "loc": { "start": { "line": 2, @@ -1939,8 +1998,8 @@ "updateContext": null }, "value": "./Fetcher", - "start": 67, - "end": 78, + "start": 70, + "end": 81, "loc": { "start": { "line": 2, @@ -1952,11 +2011,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 81, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 32 + } + } + }, { "type": "CommentBlock", - "value": "*\n * Get metadata of a track.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/tracks\n ", - "start": 80, - "end": 182, + "value": "*\n * Get metadata of a track.\n * @see https://docs-en.kkbox.codes/v1.1/reference#tracks\n ", + "start": 84, + "end": 177, "loc": { "start": { "line": 4, @@ -1983,8 +2068,8 @@ "updateContext": null }, "value": "export", - "start": 183, - "end": 189, + "start": 178, + "end": 184, "loc": { "start": { "line": 8, @@ -2011,8 +2096,8 @@ "updateContext": null }, "value": "default", - "start": 190, - "end": 197, + "start": 185, + "end": 192, "loc": { "start": { "line": 8, @@ -2039,8 +2124,8 @@ "updateContext": null }, "value": "class", - "start": 198, - "end": 203, + "start": 193, + "end": 198, "loc": { "start": { "line": 8, @@ -2065,8 +2150,8 @@ "binop": null }, "value": "TrackFetcher", - "start": 204, - "end": 216, + "start": 199, + "end": 211, "loc": { "start": { "line": 8, @@ -2093,8 +2178,8 @@ "updateContext": null }, "value": "extends", - "start": 217, - "end": 224, + "start": 212, + "end": 219, "loc": { "start": { "line": 8, @@ -2119,8 +2204,8 @@ "binop": null }, "value": "Fetcher", - "start": 225, - "end": 232, + "start": 220, + "end": 227, "loc": { "start": { "line": 8, @@ -2144,8 +2229,8 @@ "postfix": false, "binop": null }, - "start": 233, - "end": 234, + "start": 228, + "end": 229, "loc": { "start": { "line": 8, @@ -2159,17 +2244,17 @@ }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 239, - "end": 265, + "value": "*\n * @ignore\n ", + "start": 232, + "end": 254, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 11, - "column": 7 + "column": 5 } } }, @@ -2186,16 +2271,16 @@ "binop": null }, "value": "constructor", - "start": 270, - "end": 281, + "start": 257, + "end": 268, "loc": { "start": { "line": 12, - "column": 4 + "column": 2 }, "end": { "line": 12, - "column": 15 + "column": 13 } } }, @@ -2211,16 +2296,16 @@ "postfix": false, "binop": null }, - "start": 281, - "end": 282, + "start": 268, + "end": 269, "loc": { "start": { "line": 12, - "column": 15 + "column": 13 }, "end": { "line": 12, - "column": 16 + "column": 14 } } }, @@ -2237,16 +2322,16 @@ "binop": null }, "value": "http", - "start": 282, - "end": 286, + "start": 269, + "end": 273, "loc": { "start": { "line": 12, - "column": 16 + "column": 14 }, "end": { "line": 12, - "column": 20 + "column": 18 } } }, @@ -2263,16 +2348,16 @@ "binop": null, "updateContext": null }, - "start": 286, - "end": 287, + "start": 273, + "end": 274, "loc": { "start": { "line": 12, - "column": 20 + "column": 18 }, "end": { "line": 12, - "column": 21 + "column": 19 } } }, @@ -2289,16 +2374,16 @@ "binop": null }, "value": "territory", - "start": 288, - "end": 297, + "start": 275, + "end": 284, "loc": { "start": { "line": 12, - "column": 22 + "column": 20 }, "end": { "line": 12, - "column": 31 + "column": 29 } } }, @@ -2316,16 +2401,16 @@ "updateContext": null }, "value": "=", - "start": 298, - "end": 299, + "start": 285, + "end": 286, "loc": { "start": { "line": 12, - "column": 32 + "column": 30 }, "end": { "line": 12, - "column": 33 + "column": 31 } } }, @@ -2343,16 +2428,16 @@ "updateContext": null }, "value": "TW", - "start": 300, - "end": 304, + "start": 287, + "end": 291, "loc": { "start": { "line": 12, - "column": 34 + "column": 32 }, "end": { "line": 12, - "column": 38 + "column": 36 } } }, @@ -2368,16 +2453,16 @@ "postfix": false, "binop": null }, - "start": 304, - "end": 305, + "start": 291, + "end": 292, "loc": { "start": { "line": 12, - "column": 38 + "column": 36 }, "end": { "line": 12, - "column": 39 + "column": 37 } } }, @@ -2393,16 +2478,16 @@ "postfix": false, "binop": null }, - "start": 306, - "end": 307, + "start": 293, + "end": 294, "loc": { "start": { "line": 12, - "column": 40 + "column": 38 }, "end": { "line": 12, - "column": 41 + "column": 39 } } }, @@ -2421,16 +2506,16 @@ "updateContext": null }, "value": "super", - "start": 316, - "end": 321, + "start": 299, + "end": 304, "loc": { "start": { "line": 13, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 13 + "column": 9 } } }, @@ -2446,16 +2531,16 @@ "postfix": false, "binop": null }, - "start": 321, - "end": 322, + "start": 304, + "end": 305, "loc": { "start": { "line": 13, - "column": 13 + "column": 9 }, "end": { "line": 13, - "column": 14 + "column": 10 } } }, @@ -2472,16 +2557,16 @@ "binop": null }, "value": "http", - "start": 322, - "end": 326, + "start": 305, + "end": 309, "loc": { "start": { "line": 13, - "column": 14 + "column": 10 }, "end": { "line": 13, - "column": 18 + "column": 14 } } }, @@ -2498,16 +2583,16 @@ "binop": null, "updateContext": null }, - "start": 326, - "end": 327, + "start": 309, + "end": 310, "loc": { "start": { "line": 13, - "column": 18 + "column": 14 }, "end": { "line": 13, - "column": 19 + "column": 15 } } }, @@ -2524,16 +2609,16 @@ "binop": null }, "value": "territory", - "start": 328, - "end": 337, + "start": 311, + "end": 320, "loc": { "start": { "line": 13, - "column": 20 + "column": 16 }, "end": { "line": 13, - "column": 29 + "column": 25 } } }, @@ -2549,32 +2634,58 @@ "postfix": false, "binop": null }, - "start": 337, - "end": 338, + "start": 320, + "end": 321, "loc": { "start": { "line": 13, - "column": 29 + "column": 25 }, "end": { "line": 13, - "column": 30 + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 321, + "end": 322, + "loc": { + "start": { + "line": 13, + "column": 26 + }, + "end": { + "line": 13, + "column": 27 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 348, - "end": 382, + "value": "*\n * @ignore\n ", + "start": 328, + "end": 354, "loc": { "start": { "line": 15, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 11 + "column": 7 } } }, @@ -2593,16 +2704,16 @@ "updateContext": null }, "value": "this", - "start": 391, - "end": 395, + "start": 359, + "end": 363, "loc": { "start": { "line": 18, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 12 + "column": 8 } } }, @@ -2619,16 +2730,16 @@ "binop": null, "updateContext": null }, - "start": 395, - "end": 396, + "start": 363, + "end": 364, "loc": { "start": { "line": 18, - "column": 12 + "column": 8 }, "end": { "line": 18, - "column": 13 + "column": 9 } } }, @@ -2644,17 +2755,17 @@ "postfix": false, "binop": null }, - "value": "track_id", - "start": 396, - "end": 404, + "value": "trackID", + "start": 364, + "end": 371, "loc": { "start": { "line": 18, - "column": 13 + "column": 9 }, "end": { "line": 18, - "column": 21 + "column": 16 } } }, @@ -2672,16 +2783,16 @@ "updateContext": null }, "value": "=", - "start": 405, - "end": 406, + "start": 372, + "end": 373, "loc": { "start": { "line": 18, - "column": 22 + "column": 17 }, "end": { "line": 18, - "column": 23 + "column": 18 } } }, @@ -2698,16 +2809,42 @@ "binop": null }, "value": "undefined", - "start": 407, - "end": 416, + "start": 374, + "end": 383, "loc": { "start": { "line": 18, - "column": 24 + "column": 19 }, "end": { "line": 18, - "column": 33 + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 383, + "end": 384, + "loc": { + "start": { + "line": 18, + "column": 28 + }, + "end": { + "line": 18, + "column": 29 } } }, @@ -2723,32 +2860,32 @@ "postfix": false, "binop": null }, - "start": 421, - "end": 422, + "start": 387, + "end": 388, "loc": { "start": { "line": 19, - "column": 4 + "column": 2 }, "end": { "line": 19, - "column": 5 + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Set the track fetcher's track ID.\n *\n * @param {string} track_id - The ID of a track.\n * @return {Track}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/tracks/endpoints/get-tracks-track_id\n ", - "start": 428, - "end": 664, + "value": "*\n * Set the track fetcher's track ID.\n *\n * @param {string} trackID - The ID of a track.\n * @return {Track}\n * @see https://docs-en.kkbox.codes/v1.1/reference#tracks-track_id\n ", + "start": 392, + "end": 585, "loc": { "start": { "line": 21, - "column": 4 + "column": 2 }, "end": { "line": 27, - "column": 7 + "column": 5 } } }, @@ -2765,16 +2902,16 @@ "binop": null }, "value": "setTrackID", - "start": 669, - "end": 679, + "start": 588, + "end": 598, "loc": { "start": { "line": 28, - "column": 4 + "column": 2 }, "end": { "line": 28, - "column": 14 + "column": 12 } } }, @@ -2790,16 +2927,16 @@ "postfix": false, "binop": null }, - "start": 679, - "end": 680, + "start": 598, + "end": 599, "loc": { "start": { "line": 28, - "column": 14 + "column": 12 }, "end": { "line": 28, - "column": 15 + "column": 13 } } }, @@ -2815,17 +2952,17 @@ "postfix": false, "binop": null }, - "value": "track_id", - "start": 680, - "end": 688, + "value": "trackID", + "start": 599, + "end": 606, "loc": { "start": { "line": 28, - "column": 15 + "column": 13 }, "end": { "line": 28, - "column": 23 + "column": 20 } } }, @@ -2841,16 +2978,16 @@ "postfix": false, "binop": null }, - "start": 688, - "end": 689, + "start": 606, + "end": 607, "loc": { "start": { "line": 28, - "column": 23 + "column": 20 }, "end": { "line": 28, - "column": 24 + "column": 21 } } }, @@ -2866,16 +3003,16 @@ "postfix": false, "binop": null }, - "start": 690, - "end": 691, + "start": 608, + "end": 609, "loc": { "start": { "line": 28, - "column": 25 + "column": 22 }, "end": { "line": 28, - "column": 26 + "column": 23 } } }, @@ -2894,16 +3031,16 @@ "updateContext": null }, "value": "this", - "start": 700, - "end": 704, + "start": 614, + "end": 618, "loc": { "start": { "line": 29, - "column": 8 + "column": 4 }, "end": { "line": 29, - "column": 12 + "column": 8 } } }, @@ -2920,16 +3057,16 @@ "binop": null, "updateContext": null }, - "start": 704, - "end": 705, + "start": 618, + "end": 619, "loc": { "start": { "line": 29, - "column": 12 + "column": 8 }, "end": { "line": 29, - "column": 13 + "column": 9 } } }, @@ -2945,17 +3082,17 @@ "postfix": false, "binop": null }, - "value": "track_id", - "start": 705, - "end": 713, + "value": "trackID", + "start": 619, + "end": 626, "loc": { "start": { "line": 29, - "column": 13 + "column": 9 }, "end": { "line": 29, - "column": 21 + "column": 16 } } }, @@ -2973,16 +3110,16 @@ "updateContext": null }, "value": "=", - "start": 714, - "end": 715, + "start": 627, + "end": 628, "loc": { "start": { "line": 29, - "column": 22 + "column": 17 }, "end": { "line": 29, - "column": 23 + "column": 18 } } }, @@ -2998,17 +3135,43 @@ "postfix": false, "binop": null }, - "value": "track_id", - "start": 716, - "end": 724, + "value": "trackID", + "start": 629, + "end": 636, "loc": { "start": { "line": 29, - "column": 24 + "column": 19 }, "end": { "line": 29, - "column": 32 + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 636, + "end": 637, + "loc": { + "start": { + "line": 29, + "column": 26 + }, + "end": { + "line": 29, + "column": 27 } } }, @@ -3027,16 +3190,16 @@ "updateContext": null }, "value": "return", - "start": 733, - "end": 739, + "start": 642, + "end": 648, "loc": { "start": { "line": 30, - "column": 8 + "column": 4 }, "end": { "line": 30, - "column": 14 + "column": 10 } } }, @@ -3055,8 +3218,34 @@ "updateContext": null }, "value": "this", - "start": 740, - "end": 744, + "start": 649, + "end": 653, + "loc": { + "start": { + "line": 30, + "column": 11 + }, + "end": { + "line": 30, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 653, + "end": 654, "loc": { "start": { "line": 30, @@ -3064,7 +3253,7 @@ }, "end": { "line": 30, - "column": 19 + "column": 16 } } }, @@ -3080,32 +3269,32 @@ "postfix": false, "binop": null }, - "start": 749, - "end": 750, + "start": 657, + "end": 658, "loc": { "start": { "line": 31, - "column": 4 + "column": 2 }, "end": { "line": 31, - "column": 5 + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Get metadata of the track with the track fetcher.\n *\n * @return {Promise}\n * @example api.Track.setTrackID('KpnEGVHEsGgkoB0MBk').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/tracks/endpoints/get-tracks-track_id\n ", - "start": 756, - "end": 1032, + "value": "*\n * Get metadata of the track with the track fetcher.\n *\n * @return {Promise}\n * @example api.trackFetcher.setTrackID('KpnEGVHEsGgkoB0MBk').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#tracks-track_id\n ", + "start": 662, + "end": 904, "loc": { "start": { "line": 33, - "column": 4 + "column": 2 }, "end": { "line": 39, - "column": 7 + "column": 5 } } }, @@ -3122,16 +3311,16 @@ "binop": null }, "value": "fetchMetadata", - "start": 1037, - "end": 1050, + "start": 907, + "end": 920, "loc": { "start": { "line": 40, - "column": 4 + "column": 2 }, "end": { "line": 40, - "column": 17 + "column": 15 } } }, @@ -3147,16 +3336,16 @@ "postfix": false, "binop": null }, - "start": 1050, - "end": 1051, + "start": 920, + "end": 921, "loc": { "start": { "line": 40, - "column": 17 + "column": 15 }, "end": { "line": 40, - "column": 18 + "column": 16 } } }, @@ -3172,16 +3361,16 @@ "postfix": false, "binop": null }, - "start": 1051, - "end": 1052, + "start": 921, + "end": 922, "loc": { "start": { "line": 40, - "column": 18 + "column": 16 }, "end": { "line": 40, - "column": 19 + "column": 17 } } }, @@ -3197,16 +3386,16 @@ "postfix": false, "binop": null }, - "start": 1053, - "end": 1054, + "start": 923, + "end": 924, "loc": { "start": { "line": 40, - "column": 20 + "column": 18 }, "end": { "line": 40, - "column": 21 + "column": 19 } } }, @@ -3225,16 +3414,16 @@ "updateContext": null }, "value": "return", - "start": 1063, - "end": 1069, + "start": 929, + "end": 935, "loc": { "start": { "line": 41, - "column": 8 + "column": 4 }, "end": { "line": 41, - "column": 14 + "column": 10 } } }, @@ -3253,16 +3442,16 @@ "updateContext": null }, "value": "this", - "start": 1070, - "end": 1074, + "start": 936, + "end": 940, "loc": { "start": { "line": 41, - "column": 15 + "column": 11 }, "end": { "line": 41, - "column": 19 + "column": 15 } } }, @@ -3279,16 +3468,16 @@ "binop": null, "updateContext": null }, - "start": 1074, - "end": 1075, + "start": 940, + "end": 941, "loc": { "start": { "line": 41, - "column": 19 + "column": 15 }, "end": { "line": 41, - "column": 20 + "column": 16 } } }, @@ -3305,16 +3494,16 @@ "binop": null }, "value": "http", - "start": 1075, - "end": 1079, + "start": 941, + "end": 945, "loc": { "start": { "line": 41, - "column": 20 + "column": 16 }, "end": { "line": 41, - "column": 24 + "column": 20 } } }, @@ -3331,16 +3520,16 @@ "binop": null, "updateContext": null }, - "start": 1079, - "end": 1080, + "start": 945, + "end": 946, "loc": { "start": { "line": 41, - "column": 24 + "column": 20 }, "end": { "line": 41, - "column": 25 + "column": 21 } } }, @@ -3357,16 +3546,16 @@ "binop": null }, "value": "get", - "start": 1080, - "end": 1083, + "start": 946, + "end": 949, "loc": { "start": { "line": 41, - "column": 25 + "column": 21 }, "end": { "line": 41, - "column": 28 + "column": 24 } } }, @@ -3382,16 +3571,16 @@ "postfix": false, "binop": null }, - "start": 1083, - "end": 1084, + "start": 949, + "end": 950, "loc": { "start": { "line": 41, - "column": 28 + "column": 24 }, "end": { "line": 41, - "column": 29 + "column": 25 } } }, @@ -3408,16 +3597,16 @@ "binop": null }, "value": "ENDPOINT", - "start": 1084, - "end": 1092, + "start": 950, + "end": 958, "loc": { "start": { "line": 41, - "column": 29 + "column": 25 }, "end": { "line": 41, - "column": 37 + "column": 33 } } }, @@ -3435,12 +3624,39 @@ "updateContext": null }, "value": "+", - "start": 1093, - "end": 1094, + "start": 959, + "end": 960, "loc": { "start": { "line": 41, - "column": 38 + "column": 34 + }, + "end": { + "line": 41, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "/", + "start": 961, + "end": 964, + "loc": { + "start": { + "line": 41, + "column": 36 }, "end": { "line": 41, @@ -3448,6 +3664,33 @@ } } }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 965, + "end": 966, + "loc": { + "start": { + "line": 41, + "column": 40 + }, + "end": { + "line": 41, + "column": 41 + } + } + }, { "type": { "label": "this", @@ -3463,16 +3706,16 @@ "updateContext": null }, "value": "this", - "start": 1095, - "end": 1099, + "start": 967, + "end": 971, "loc": { "start": { "line": 41, - "column": 40 + "column": 42 }, "end": { "line": 41, - "column": 44 + "column": 46 } } }, @@ -3489,16 +3732,16 @@ "binop": null, "updateContext": null }, - "start": 1099, - "end": 1100, + "start": 971, + "end": 972, "loc": { "start": { "line": 41, - "column": 44 + "column": 46 }, "end": { "line": 41, - "column": 45 + "column": 47 } } }, @@ -3514,17 +3757,17 @@ "postfix": false, "binop": null }, - "value": "track_id", - "start": 1100, - "end": 1108, + "value": "trackID", + "start": 972, + "end": 979, "loc": { "start": { "line": 41, - "column": 45 + "column": 47 }, "end": { "line": 41, - "column": 53 + "column": 54 } } }, @@ -3541,16 +3784,16 @@ "binop": null, "updateContext": null }, - "start": 1108, - "end": 1109, + "start": 979, + "end": 980, "loc": { "start": { "line": 41, - "column": 53 + "column": 54 }, "end": { "line": 41, - "column": 54 + "column": 55 } } }, @@ -3566,16 +3809,16 @@ "postfix": false, "binop": null }, - "start": 1110, - "end": 1111, + "start": 981, + "end": 982, "loc": { "start": { "line": 41, - "column": 55 + "column": 56 }, "end": { "line": 41, - "column": 56 + "column": 57 } } }, @@ -3592,16 +3835,16 @@ "binop": null }, "value": "territory", - "start": 1111, - "end": 1120, + "start": 989, + "end": 998, "loc": { "start": { - "line": 41, - "column": 56 + "line": 42, + "column": 6 }, "end": { - "line": 41, - "column": 65 + "line": 42, + "column": 15 } } }, @@ -3618,16 +3861,16 @@ "binop": null, "updateContext": null }, - "start": 1120, - "end": 1121, + "start": 998, + "end": 999, "loc": { "start": { - "line": 41, - "column": 65 + "line": 42, + "column": 15 }, "end": { - "line": 41, - "column": 66 + "line": 42, + "column": 16 } } }, @@ -3646,16 +3889,16 @@ "updateContext": null }, "value": "this", - "start": 1122, - "end": 1126, + "start": 1000, + "end": 1004, "loc": { "start": { - "line": 41, - "column": 67 + "line": 42, + "column": 17 }, "end": { - "line": 41, - "column": 71 + "line": 42, + "column": 21 } } }, @@ -3672,16 +3915,16 @@ "binop": null, "updateContext": null }, - "start": 1126, - "end": 1127, + "start": 1004, + "end": 1005, "loc": { "start": { - "line": 41, - "column": 71 + "line": 42, + "column": 21 }, "end": { - "line": 41, - "column": 72 + "line": 42, + "column": 22 } } }, @@ -3698,16 +3941,16 @@ "binop": null }, "value": "territory", - "start": 1127, - "end": 1136, + "start": 1005, + "end": 1014, "loc": { "start": { - "line": 41, - "column": 72 + "line": 42, + "column": 22 }, "end": { - "line": 41, - "column": 81 + "line": 42, + "column": 31 } } }, @@ -3723,16 +3966,16 @@ "postfix": false, "binop": null }, - "start": 1136, - "end": 1137, + "start": 1019, + "end": 1020, "loc": { "start": { - "line": 41, - "column": 81 + "line": 43, + "column": 4 }, "end": { - "line": 41, - "column": 82 + "line": 43, + "column": 5 } } }, @@ -3748,16 +3991,42 @@ "postfix": false, "binop": null }, - "start": 1137, - "end": 1138, + "start": 1020, + "end": 1021, "loc": { "start": { - "line": 41, - "column": 82 + "line": 43, + "column": 5 }, "end": { - "line": 41, - "column": 83 + "line": 43, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1021, + "end": 1022, + "loc": { + "start": { + "line": 43, + "column": 6 + }, + "end": { + "line": 43, + "column": 7 } } }, @@ -3773,32 +4042,32 @@ "postfix": false, "binop": null }, - "start": 1143, - "end": 1144, + "start": 1025, + "end": 1026, "loc": { "start": { - "line": 42, - "column": 4 + "line": 44, + "column": 2 }, "end": { - "line": 42, - "column": 5 + "line": 44, + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Get KKBOX web widget uri of the track.\n * @example https://widget.kkbox.com/v1/?id=8sD5pE4dV0Zqmmler6&type=song\n * @return {string}\n ", - "start": 1150, - "end": 1308, + "value": "*\n * Get KKBOX web widget uri of the track.\n * @example https://widget.kkbox.com/v1/?id=8sD5pE4dV0Zqmmler6&type=song\n * @return {string}\n ", + "start": 1030, + "end": 1180, "loc": { "start": { - "line": 44, - "column": 4 + "line": 46, + "column": 2 }, "end": { - "line": 48, - "column": 7 + "line": 50, + "column": 5 } } }, @@ -3815,16 +4084,16 @@ "binop": null }, "value": "getWidgetUri", - "start": 1313, - "end": 1325, + "start": 1183, + "end": 1195, "loc": { "start": { - "line": 49, - "column": 4 + "line": 51, + "column": 2 }, "end": { - "line": 49, - "column": 16 + "line": 51, + "column": 14 } } }, @@ -3840,16 +4109,16 @@ "postfix": false, "binop": null }, - "start": 1325, - "end": 1326, + "start": 1195, + "end": 1196, "loc": { "start": { - "line": 49, - "column": 16 + "line": 51, + "column": 14 }, "end": { - "line": 49, - "column": 17 + "line": 51, + "column": 15 } } }, @@ -3865,16 +4134,16 @@ "postfix": false, "binop": null }, - "start": 1326, - "end": 1327, + "start": 1196, + "end": 1197, "loc": { "start": { - "line": 49, - "column": 17 + "line": 51, + "column": 15 }, "end": { - "line": 49, - "column": 18 + "line": 51, + "column": 16 } } }, @@ -3890,16 +4159,16 @@ "postfix": false, "binop": null }, - "start": 1327, - "end": 1328, + "start": 1198, + "end": 1199, "loc": { "start": { - "line": 49, - "column": 18 + "line": 51, + "column": 17 }, "end": { - "line": 49, - "column": 19 + "line": 51, + "column": 18 } } }, @@ -3918,16 +4187,16 @@ "updateContext": null }, "value": "return", - "start": 1337, - "end": 1343, + "start": 1204, + "end": 1210, "loc": { "start": { - "line": 50, - "column": 8 + "line": 52, + "column": 4 }, "end": { - "line": 50, - "column": 14 + "line": 52, + "column": 10 } } }, @@ -3943,16 +4212,16 @@ "postfix": false, "binop": null }, - "start": 1344, - "end": 1345, + "start": 1211, + "end": 1212, "loc": { "start": { - "line": 50, - "column": 15 + "line": 52, + "column": 11 }, "end": { - "line": 50, - "column": 16 + "line": 52, + "column": 12 } } }, @@ -3970,16 +4239,16 @@ "updateContext": null }, "value": "https://widget.kkbox.com/v1/?id=", - "start": 1345, - "end": 1377, + "start": 1212, + "end": 1244, "loc": { "start": { - "line": 50, - "column": 16 + "line": 52, + "column": 12 }, "end": { - "line": 50, - "column": 48 + "line": 52, + "column": 44 } } }, @@ -3995,16 +4264,16 @@ "postfix": false, "binop": null }, - "start": 1377, - "end": 1379, + "start": 1244, + "end": 1246, "loc": { "start": { - "line": 50, - "column": 48 + "line": 52, + "column": 44 }, "end": { - "line": 50, - "column": 50 + "line": 52, + "column": 46 } } }, @@ -4023,16 +4292,16 @@ "updateContext": null }, "value": "this", - "start": 1379, - "end": 1383, + "start": 1246, + "end": 1250, "loc": { "start": { - "line": 50, - "column": 50 + "line": 52, + "column": 46 }, "end": { - "line": 50, - "column": 54 + "line": 52, + "column": 50 } } }, @@ -4049,16 +4318,16 @@ "binop": null, "updateContext": null }, - "start": 1383, - "end": 1384, + "start": 1250, + "end": 1251, "loc": { "start": { - "line": 50, - "column": 54 + "line": 52, + "column": 50 }, "end": { - "line": 50, - "column": 55 + "line": 52, + "column": 51 } } }, @@ -4074,17 +4343,17 @@ "postfix": false, "binop": null }, - "value": "track_id", - "start": 1384, - "end": 1392, + "value": "trackID", + "start": 1251, + "end": 1258, "loc": { "start": { - "line": 50, - "column": 55 + "line": 52, + "column": 51 }, "end": { - "line": 50, - "column": 63 + "line": 52, + "column": 58 } } }, @@ -4100,16 +4369,16 @@ "postfix": false, "binop": null }, - "start": 1392, - "end": 1393, + "start": 1258, + "end": 1259, "loc": { "start": { - "line": 50, - "column": 63 + "line": 52, + "column": 58 }, "end": { - "line": 50, - "column": 64 + "line": 52, + "column": 59 } } }, @@ -4127,16 +4396,16 @@ "updateContext": null }, "value": "&type=song", - "start": 1393, - "end": 1403, + "start": 1259, + "end": 1269, "loc": { "start": { - "line": 50, - "column": 64 + "line": 52, + "column": 59 }, "end": { - "line": 50, - "column": 74 + "line": 52, + "column": 69 } } }, @@ -4152,16 +4421,42 @@ "postfix": false, "binop": null }, - "start": 1403, - "end": 1404, + "start": 1269, + "end": 1270, "loc": { "start": { - "line": 50, - "column": 74 + "line": 52, + "column": 69 }, "end": { - "line": 50, - "column": 75 + "line": 52, + "column": 70 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1270, + "end": 1271, + "loc": { + "start": { + "line": 52, + "column": 70 + }, + "end": { + "line": 52, + "column": 71 } } }, @@ -4177,16 +4472,16 @@ "postfix": false, "binop": null }, - "start": 1409, - "end": 1410, + "start": 1274, + "end": 1275, "loc": { "start": { - "line": 51, - "column": 4 + "line": 53, + "column": 2 }, "end": { - "line": 51, - "column": 5 + "line": 53, + "column": 3 } } }, @@ -4202,15 +4497,15 @@ "postfix": false, "binop": null }, - "start": 1411, - "end": 1412, + "start": 1276, + "end": 1277, "loc": { "start": { - "line": 52, + "line": 54, "column": 0 }, "end": { - "line": 52, + "line": 54, "column": 1 } } @@ -4228,16 +4523,16 @@ "binop": null, "updateContext": null }, - "start": 1412, - "end": 1412, + "start": 1278, + "end": 1278, "loc": { "start": { - "line": 52, - "column": 1 + "line": 55, + "column": 0 }, "end": { - "line": 52, - "column": 1 + "line": 55, + "column": 0 } } } diff --git a/docs/ast/source/auth/Auth.js.json b/docs/ast/source/auth/Auth.js.json index e81c7cb..dc4f321 100644 --- a/docs/ast/source/auth/Auth.js.json +++ b/docs/ast/source/auth/Auth.js.json @@ -1,29 +1,29 @@ { "type": "File", "start": 0, - "end": 736, + "end": 684, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 26, - "column": 1 + "line": 27, + "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 736, + "end": 684, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 26, - "column": 1 + "line": 27, + "column": 0 } }, "sourceType": "module", @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 59, + "end": 60, "loc": { "start": { "line": 1, @@ -39,7 +39,7 @@ }, "end": { "line": 1, - "column": 59 + "column": 60 } }, "specifiers": [ @@ -99,8 +99,8 @@ }, { "type": "ImportDeclaration", - "start": 60, - "end": 101, + "start": 61, + "end": 103, "loc": { "start": { "line": 2, @@ -108,14 +108,14 @@ }, "end": { "line": 2, - "column": 41 + "column": 42 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 67, - "end": 79, + "start": 68, + "end": 80, "loc": { "start": { "line": 2, @@ -128,8 +128,8 @@ }, "local": { "type": "Identifier", - "start": 67, - "end": 79, + "start": 68, + "end": 80, "loc": { "start": { "line": 2, @@ -147,8 +147,8 @@ ], "source": { "type": "StringLiteral", - "start": 85, - "end": 101, + "start": 86, + "end": 102, "loc": { "start": { "line": 2, @@ -163,16 +163,14 @@ "rawValue": "./TokenFetcher", "raw": "'./TokenFetcher'" }, - "value": "./TokenFetcher", - "leadingComments": null, - "trailingComments": null + "value": "./TokenFetcher" }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Implements various KKBOX OAuth 2.0 authorization flows.\n ", - "start": 103, - "end": 169, + "start": 105, + "end": 171, "loc": { "start": { "line": 4, @@ -188,8 +186,8 @@ }, { "type": "ExportDefaultDeclaration", - "start": 170, - "end": 736, + "start": 172, + "end": 683, "loc": { "start": { "line": 7, @@ -202,8 +200,8 @@ }, "declaration": { "type": "ClassDeclaration", - "start": 185, - "end": 736, + "start": 187, + "end": 683, "loc": { "start": { "line": 7, @@ -216,8 +214,8 @@ }, "id": { "type": "Identifier", - "start": 191, - "end": 195, + "start": 193, + "end": 197, "loc": { "start": { "line": 7, @@ -235,8 +233,8 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 196, - "end": 736, + "start": 198, + "end": 683, "loc": { "start": { "line": 7, @@ -250,38 +248,38 @@ "body": [ { "type": "ClassMethod", - "start": 414, - "end": 734, + "start": 397, + "end": 681, "loc": { "start": { "line": 15, - "column": 4 + "column": 2 }, "end": { "line": 25, - "column": 5 + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 414, - "end": 425, + "start": 397, + "end": 408, "loc": { "start": { "line": 15, - "column": 4 + "column": 2 }, "end": { "line": 15, - "column": 15 + "column": 13 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, - "static": false, "kind": "constructor", "id": null, "generator": false, @@ -290,125 +288,125 @@ "params": [ { "type": "Identifier", - "start": 426, - "end": 435, + "start": 409, + "end": 417, "loc": { "start": { "line": 15, - "column": 16 + "column": 14 }, "end": { "line": 15, - "column": 25 + "column": 22 }, - "identifierName": "client_id" + "identifierName": "clientID" }, - "name": "client_id" + "name": "clientID" }, { "type": "Identifier", - "start": 437, - "end": 450, + "start": 419, + "end": 431, "loc": { "start": { "line": 15, - "column": 27 + "column": 24 }, "end": { "line": 15, - "column": 40 + "column": 36 }, - "identifierName": "client_secret" + "identifierName": "clientSecret" }, - "name": "client_secret" + "name": "clientSecret" } ], "body": { "type": "BlockStatement", - "start": 452, - "end": 734, + "start": 433, + "end": 681, "loc": { "start": { "line": 15, - "column": 42 + "column": 38 }, "end": { "line": 25, - "column": 5 + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 518, - "end": 580, + "start": 483, + "end": 544, "loc": { "start": { "line": 19, - "column": 8 + "column": 4 }, "end": { "line": 19, - "column": 70 + "column": 65 } }, "expression": { "type": "AssignmentExpression", - "start": 518, - "end": 580, + "start": 483, + "end": 543, "loc": { "start": { "line": 19, - "column": 8 + "column": 4 }, "end": { "line": 19, - "column": 70 + "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 518, - "end": 535, + "start": 483, + "end": 500, "loc": { "start": { "line": 19, - "column": 8 + "column": 4 }, "end": { "line": 19, - "column": 25 + "column": 21 } }, "object": { "type": "ThisExpression", - "start": 518, - "end": 522, + "start": 483, + "end": 487, "loc": { "start": { "line": 19, - "column": 8 + "column": 4 }, "end": { "line": 19, - "column": 12 + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 523, - "end": 535, + "start": 488, + "end": 500, "loc": { "start": { "line": 19, - "column": 13 + "column": 9 }, "end": { "line": 19, - "column": 25 + "column": 21 }, "identifierName": "tokenFetcher" }, @@ -419,30 +417,30 @@ }, "right": { "type": "NewExpression", - "start": 538, - "end": 580, + "start": 503, + "end": 543, "loc": { "start": { "line": 19, - "column": 28 + "column": 24 }, "end": { "line": 19, - "column": 70 + "column": 64 } }, "callee": { "type": "Identifier", - "start": 542, - "end": 554, + "start": 507, + "end": 519, "loc": { "start": { "line": 19, - "column": 32 + "column": 28 }, "end": { "line": 19, - "column": 44 + "column": 40 }, "identifierName": "TokenFetcher" }, @@ -451,58 +449,56 @@ "arguments": [ { "type": "Identifier", - "start": 555, - "end": 564, + "start": 520, + "end": 528, "loc": { "start": { "line": 19, - "column": 45 + "column": 41 }, "end": { "line": 19, - "column": 54 + "column": 49 }, - "identifierName": "client_id" + "identifierName": "clientID" }, - "name": "client_id" + "name": "clientID" }, { "type": "Identifier", - "start": 566, - "end": 579, + "start": 530, + "end": 542, "loc": { "start": { "line": 19, - "column": 56 + "column": 51 }, "end": { "line": 19, - "column": 69 + "column": 63 }, - "identifierName": "client_secret" + "identifierName": "clientSecret" }, - "name": "client_secret" + "name": "clientSecret" } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @type {TokenFetcher}\n ", - "start": 462, - "end": 509, + "value": "*\n * @type {TokenFetcher}\n ", + "start": 439, + "end": 478, "loc": { "start": { "line": 16, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 11 + "column": 7 } } } @@ -510,17 +506,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * @type {ClientCredentialsFlow}\n ", - "start": 590, - "end": 646, + "value": "*\n * @type {ClientCredentialsFlow}\n ", + "start": 550, + "end": 598, "loc": { "start": { "line": 21, - "column": 8 + "column": 4 }, "end": { "line": 23, - "column": 11 + "column": 7 } } } @@ -528,75 +524,75 @@ }, { "type": "ExpressionStatement", - "start": 655, - "end": 728, + "start": 603, + "end": 677, "loc": { "start": { "line": 24, - "column": 8 + "column": 4 }, "end": { "line": 24, - "column": 81 + "column": 78 } }, "expression": { "type": "AssignmentExpression", - "start": 655, - "end": 728, + "start": 603, + "end": 676, "loc": { "start": { "line": 24, - "column": 8 + "column": 4 }, "end": { "line": 24, - "column": 81 + "column": 77 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 655, - "end": 681, + "start": 603, + "end": 629, "loc": { "start": { "line": 24, - "column": 8 + "column": 4 }, "end": { "line": 24, - "column": 34 + "column": 30 } }, "object": { "type": "ThisExpression", - "start": 655, - "end": 659, + "start": 603, + "end": 607, "loc": { "start": { "line": 24, - "column": 8 + "column": 4 }, "end": { "line": 24, - "column": 12 + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 660, - "end": 681, + "start": 608, + "end": 629, "loc": { "start": { "line": 24, - "column": 13 + "column": 9 }, "end": { "line": 24, - "column": 34 + "column": 30 }, "identifierName": "clientCredentialsFlow" }, @@ -607,30 +603,30 @@ }, "right": { "type": "NewExpression", - "start": 684, - "end": 728, + "start": 632, + "end": 676, "loc": { "start": { "line": 24, - "column": 37 + "column": 33 }, "end": { "line": 24, - "column": 81 + "column": 77 } }, "callee": { "type": "Identifier", - "start": 688, - "end": 709, + "start": 636, + "end": 657, "loc": { "start": { "line": 24, - "column": 41 + "column": 37 }, "end": { "line": 24, - "column": 62 + "column": 58 }, "identifierName": "ClientCredentialsFlow" }, @@ -639,45 +635,45 @@ "arguments": [ { "type": "MemberExpression", - "start": 710, - "end": 727, + "start": 658, + "end": 675, "loc": { "start": { "line": 24, - "column": 63 + "column": 59 }, "end": { "line": 24, - "column": 80 + "column": 76 } }, "object": { "type": "ThisExpression", - "start": 710, - "end": 714, + "start": 658, + "end": 662, "loc": { "start": { "line": 24, - "column": 63 + "column": 59 }, "end": { "line": 24, - "column": 67 + "column": 63 } } }, "property": { "type": "Identifier", - "start": 715, - "end": 727, + "start": 663, + "end": 675, "loc": { "start": { "line": 24, - "column": 68 + "column": 64 }, "end": { "line": 24, - "column": 80 + "column": 76 }, "identifierName": "tokenFetcher" }, @@ -692,17 +688,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @type {ClientCredentialsFlow}\n ", - "start": 590, - "end": 646, + "value": "*\n * @type {ClientCredentialsFlow}\n ", + "start": 550, + "end": 598, "loc": { "start": { "line": 21, - "column": 8 + "column": 4 }, "end": { "line": 23, - "column": 11 + "column": 7 } } } @@ -714,17 +710,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Initialize the Auth object with client id and client secret.\n *\n * @param {string} client_id\n * @param {string} client_secret\n * @example new Auth(client_id, client_secret)\n ", + "value": "*\n * Initialize the Auth object with client id and client secret.\n *\n * @param {string} clientID\n * @param {string} clientSecret\n * @example new Auth(clientID, clientSecret);\n ", "start": 202, - "end": 409, + "end": 394, "loc": { "start": { "line": 8, - "column": 4 + "column": 2 }, "end": { "line": 14, - "column": 7 + "column": 5 } } } @@ -736,8 +732,8 @@ { "type": "CommentBlock", "value": "*\n * Implements various KKBOX OAuth 2.0 authorization flows.\n ", - "start": 103, - "end": 169, + "start": 105, + "end": 171, "loc": { "start": { "line": 4, @@ -756,8 +752,8 @@ { "type": "CommentBlock", "value": "*\n * Implements various KKBOX OAuth 2.0 authorization flows.\n ", - "start": 103, - "end": 169, + "start": 105, + "end": 171, "loc": { "start": { "line": 4, @@ -778,8 +774,8 @@ { "type": "CommentBlock", "value": "*\n * Implements various KKBOX OAuth 2.0 authorization flows.\n ", - "start": 103, - "end": 169, + "start": 105, + "end": 171, "loc": { "start": { "line": 4, @@ -793,49 +789,49 @@ }, { "type": "CommentBlock", - "value": "*\n * Initialize the Auth object with client id and client secret.\n *\n * @param {string} client_id\n * @param {string} client_secret\n * @example new Auth(client_id, client_secret)\n ", + "value": "*\n * Initialize the Auth object with client id and client secret.\n *\n * @param {string} clientID\n * @param {string} clientSecret\n * @example new Auth(clientID, clientSecret);\n ", "start": 202, - "end": 409, + "end": 394, "loc": { "start": { "line": 8, - "column": 4 + "column": 2 }, "end": { "line": 14, - "column": 7 + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * @type {TokenFetcher}\n ", - "start": 462, - "end": 509, + "value": "*\n * @type {TokenFetcher}\n ", + "start": 439, + "end": 478, "loc": { "start": { "line": 16, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 11 + "column": 7 } } }, { "type": "CommentBlock", - "value": "*\n * @type {ClientCredentialsFlow}\n ", - "start": 590, - "end": 646, + "value": "*\n * @type {ClientCredentialsFlow}\n ", + "start": 550, + "end": 598, "loc": { "start": { "line": 21, - "column": 8 + "column": 4 }, "end": { "line": 23, - "column": 11 + "column": 7 } } } @@ -846,7 +842,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -948,12 +944,38 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 59, + "end": 60, + "loc": { + "start": { + "line": 1, + "column": 59 + }, + "end": { + "line": 1, + "column": 60 + } + } + }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -963,8 +985,8 @@ "updateContext": null }, "value": "import", - "start": 60, - "end": 66, + "start": 61, + "end": 67, "loc": { "start": { "line": 2, @@ -989,8 +1011,8 @@ "binop": null }, "value": "TokenFetcher", - "start": 67, - "end": 79, + "start": 68, + "end": 80, "loc": { "start": { "line": 2, @@ -1015,8 +1037,8 @@ "binop": null }, "value": "from", - "start": 80, - "end": 84, + "start": 81, + "end": 85, "loc": { "start": { "line": 2, @@ -1042,8 +1064,8 @@ "updateContext": null }, "value": "./TokenFetcher", - "start": 85, - "end": 101, + "start": 86, + "end": 102, "loc": { "start": { "line": 2, @@ -1055,11 +1077,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 102, + "end": 103, + "loc": { + "start": { + "line": 2, + "column": 41 + }, + "end": { + "line": 2, + "column": 42 + } + } + }, { "type": "CommentBlock", "value": "*\n * Implements various KKBOX OAuth 2.0 authorization flows.\n ", - "start": 103, - "end": 169, + "start": 105, + "end": 171, "loc": { "start": { "line": 4, @@ -1086,8 +1134,8 @@ "updateContext": null }, "value": "export", - "start": 170, - "end": 176, + "start": 172, + "end": 178, "loc": { "start": { "line": 7, @@ -1114,8 +1162,8 @@ "updateContext": null }, "value": "default", - "start": 177, - "end": 184, + "start": 179, + "end": 186, "loc": { "start": { "line": 7, @@ -1142,8 +1190,8 @@ "updateContext": null }, "value": "class", - "start": 185, - "end": 190, + "start": 187, + "end": 192, "loc": { "start": { "line": 7, @@ -1168,8 +1216,8 @@ "binop": null }, "value": "Auth", - "start": 191, - "end": 195, + "start": 193, + "end": 197, "loc": { "start": { "line": 7, @@ -1193,8 +1241,8 @@ "postfix": false, "binop": null }, - "start": 196, - "end": 197, + "start": 198, + "end": 199, "loc": { "start": { "line": 7, @@ -1208,17 +1256,17 @@ }, { "type": "CommentBlock", - "value": "*\n * Initialize the Auth object with client id and client secret.\n *\n * @param {string} client_id\n * @param {string} client_secret\n * @example new Auth(client_id, client_secret)\n ", + "value": "*\n * Initialize the Auth object with client id and client secret.\n *\n * @param {string} clientID\n * @param {string} clientSecret\n * @example new Auth(clientID, clientSecret);\n ", "start": 202, - "end": 409, + "end": 394, "loc": { "start": { "line": 8, - "column": 4 + "column": 2 }, "end": { "line": 14, - "column": 7 + "column": 5 } } }, @@ -1235,16 +1283,16 @@ "binop": null }, "value": "constructor", - "start": 414, - "end": 425, + "start": 397, + "end": 408, "loc": { "start": { "line": 15, - "column": 4 + "column": 2 }, "end": { "line": 15, - "column": 15 + "column": 13 } } }, @@ -1260,16 +1308,16 @@ "postfix": false, "binop": null }, - "start": 425, - "end": 426, + "start": 408, + "end": 409, "loc": { "start": { "line": 15, - "column": 15 + "column": 13 }, "end": { "line": 15, - "column": 16 + "column": 14 } } }, @@ -1285,17 +1333,17 @@ "postfix": false, "binop": null }, - "value": "client_id", - "start": 426, - "end": 435, + "value": "clientID", + "start": 409, + "end": 417, "loc": { "start": { "line": 15, - "column": 16 + "column": 14 }, "end": { "line": 15, - "column": 25 + "column": 22 } } }, @@ -1312,16 +1360,16 @@ "binop": null, "updateContext": null }, - "start": 435, - "end": 436, + "start": 417, + "end": 418, "loc": { "start": { "line": 15, - "column": 25 + "column": 22 }, "end": { "line": 15, - "column": 26 + "column": 23 } } }, @@ -1337,17 +1385,17 @@ "postfix": false, "binop": null }, - "value": "client_secret", - "start": 437, - "end": 450, + "value": "clientSecret", + "start": 419, + "end": 431, "loc": { "start": { "line": 15, - "column": 27 + "column": 24 }, "end": { "line": 15, - "column": 40 + "column": 36 } } }, @@ -1363,16 +1411,16 @@ "postfix": false, "binop": null }, - "start": 450, - "end": 451, + "start": 431, + "end": 432, "loc": { "start": { "line": 15, - "column": 40 + "column": 36 }, "end": { "line": 15, - "column": 41 + "column": 37 } } }, @@ -1388,32 +1436,32 @@ "postfix": false, "binop": null }, - "start": 452, - "end": 453, + "start": 433, + "end": 434, "loc": { "start": { "line": 15, - "column": 42 + "column": 38 }, "end": { "line": 15, - "column": 43 + "column": 39 } } }, { "type": "CommentBlock", - "value": "*\n * @type {TokenFetcher}\n ", - "start": 462, - "end": 509, + "value": "*\n * @type {TokenFetcher}\n ", + "start": 439, + "end": 478, "loc": { "start": { "line": 16, - "column": 8 + "column": 4 }, "end": { "line": 18, - "column": 11 + "column": 7 } } }, @@ -1432,16 +1480,16 @@ "updateContext": null }, "value": "this", - "start": 518, - "end": 522, + "start": 483, + "end": 487, "loc": { "start": { "line": 19, - "column": 8 + "column": 4 }, "end": { "line": 19, - "column": 12 + "column": 8 } } }, @@ -1458,16 +1506,16 @@ "binop": null, "updateContext": null }, - "start": 522, - "end": 523, + "start": 487, + "end": 488, "loc": { "start": { "line": 19, - "column": 12 + "column": 8 }, "end": { "line": 19, - "column": 13 + "column": 9 } } }, @@ -1484,16 +1532,16 @@ "binop": null }, "value": "tokenFetcher", - "start": 523, - "end": 535, + "start": 488, + "end": 500, "loc": { "start": { "line": 19, - "column": 13 + "column": 9 }, "end": { "line": 19, - "column": 25 + "column": 21 } } }, @@ -1511,16 +1559,16 @@ "updateContext": null }, "value": "=", - "start": 536, - "end": 537, + "start": 501, + "end": 502, "loc": { "start": { "line": 19, - "column": 26 + "column": 22 }, "end": { "line": 19, - "column": 27 + "column": 23 } } }, @@ -1539,16 +1587,16 @@ "updateContext": null }, "value": "new", - "start": 538, - "end": 541, + "start": 503, + "end": 506, "loc": { "start": { "line": 19, - "column": 28 + "column": 24 }, "end": { "line": 19, - "column": 31 + "column": 27 } } }, @@ -1565,16 +1613,16 @@ "binop": null }, "value": "TokenFetcher", - "start": 542, - "end": 554, + "start": 507, + "end": 519, "loc": { "start": { "line": 19, - "column": 32 + "column": 28 }, "end": { "line": 19, - "column": 44 + "column": 40 } } }, @@ -1590,16 +1638,16 @@ "postfix": false, "binop": null }, - "start": 554, - "end": 555, + "start": 519, + "end": 520, "loc": { "start": { "line": 19, - "column": 44 + "column": 40 }, "end": { "line": 19, - "column": 45 + "column": 41 } } }, @@ -1615,17 +1663,17 @@ "postfix": false, "binop": null }, - "value": "client_id", - "start": 555, - "end": 564, + "value": "clientID", + "start": 520, + "end": 528, "loc": { "start": { "line": 19, - "column": 45 + "column": 41 }, "end": { "line": 19, - "column": 54 + "column": 49 } } }, @@ -1642,16 +1690,16 @@ "binop": null, "updateContext": null }, - "start": 564, - "end": 565, + "start": 528, + "end": 529, "loc": { "start": { "line": 19, - "column": 54 + "column": 49 }, "end": { "line": 19, - "column": 55 + "column": 50 } } }, @@ -1667,17 +1715,17 @@ "postfix": false, "binop": null }, - "value": "client_secret", - "start": 566, - "end": 579, + "value": "clientSecret", + "start": 530, + "end": 542, "loc": { "start": { "line": 19, - "column": 56 + "column": 51 }, "end": { "line": 19, - "column": 69 + "column": 63 } } }, @@ -1693,32 +1741,58 @@ "postfix": false, "binop": null }, - "start": 579, - "end": 580, + "start": 542, + "end": 543, "loc": { "start": { "line": 19, - "column": 69 + "column": 63 }, "end": { "line": 19, - "column": 70 + "column": 64 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 543, + "end": 544, + "loc": { + "start": { + "line": 19, + "column": 64 + }, + "end": { + "line": 19, + "column": 65 } } }, { "type": "CommentBlock", - "value": "*\n * @type {ClientCredentialsFlow}\n ", - "start": 590, - "end": 646, + "value": "*\n * @type {ClientCredentialsFlow}\n ", + "start": 550, + "end": 598, "loc": { "start": { "line": 21, - "column": 8 + "column": 4 }, "end": { "line": 23, - "column": 11 + "column": 7 } } }, @@ -1737,16 +1811,16 @@ "updateContext": null }, "value": "this", - "start": 655, - "end": 659, + "start": 603, + "end": 607, "loc": { "start": { "line": 24, - "column": 8 + "column": 4 }, "end": { "line": 24, - "column": 12 + "column": 8 } } }, @@ -1763,16 +1837,16 @@ "binop": null, "updateContext": null }, - "start": 659, - "end": 660, + "start": 607, + "end": 608, "loc": { "start": { "line": 24, - "column": 12 + "column": 8 }, "end": { "line": 24, - "column": 13 + "column": 9 } } }, @@ -1789,16 +1863,16 @@ "binop": null }, "value": "clientCredentialsFlow", - "start": 660, - "end": 681, + "start": 608, + "end": 629, "loc": { "start": { "line": 24, - "column": 13 + "column": 9 }, "end": { "line": 24, - "column": 34 + "column": 30 } } }, @@ -1816,16 +1890,16 @@ "updateContext": null }, "value": "=", - "start": 682, - "end": 683, + "start": 630, + "end": 631, "loc": { "start": { "line": 24, - "column": 35 + "column": 31 }, "end": { "line": 24, - "column": 36 + "column": 32 } } }, @@ -1844,16 +1918,16 @@ "updateContext": null }, "value": "new", - "start": 684, - "end": 687, + "start": 632, + "end": 635, "loc": { "start": { "line": 24, - "column": 37 + "column": 33 }, "end": { "line": 24, - "column": 40 + "column": 36 } } }, @@ -1870,16 +1944,16 @@ "binop": null }, "value": "ClientCredentialsFlow", - "start": 688, - "end": 709, + "start": 636, + "end": 657, "loc": { "start": { "line": 24, - "column": 41 + "column": 37 }, "end": { "line": 24, - "column": 62 + "column": 58 } } }, @@ -1895,16 +1969,16 @@ "postfix": false, "binop": null }, - "start": 709, - "end": 710, + "start": 657, + "end": 658, "loc": { "start": { "line": 24, - "column": 62 + "column": 58 }, "end": { "line": 24, - "column": 63 + "column": 59 } } }, @@ -1923,16 +1997,16 @@ "updateContext": null }, "value": "this", - "start": 710, - "end": 714, + "start": 658, + "end": 662, "loc": { "start": { "line": 24, - "column": 63 + "column": 59 }, "end": { "line": 24, - "column": 67 + "column": 63 } } }, @@ -1949,16 +2023,16 @@ "binop": null, "updateContext": null }, - "start": 714, - "end": 715, + "start": 662, + "end": 663, "loc": { "start": { "line": 24, - "column": 67 + "column": 63 }, "end": { "line": 24, - "column": 68 + "column": 64 } } }, @@ -1975,16 +2049,16 @@ "binop": null }, "value": "tokenFetcher", - "start": 715, - "end": 727, + "start": 663, + "end": 675, "loc": { "start": { "line": 24, - "column": 68 + "column": 64 }, "end": { "line": 24, - "column": 80 + "column": 76 } } }, @@ -2000,16 +2074,42 @@ "postfix": false, "binop": null }, - "start": 727, - "end": 728, + "start": 675, + "end": 676, + "loc": { + "start": { + "line": 24, + "column": 76 + }, + "end": { + "line": 24, + "column": 77 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 676, + "end": 677, "loc": { "start": { "line": 24, - "column": 80 + "column": 77 }, "end": { "line": 24, - "column": 81 + "column": 78 } } }, @@ -2025,16 +2125,16 @@ "postfix": false, "binop": null }, - "start": 733, - "end": 734, + "start": 680, + "end": 681, "loc": { "start": { "line": 25, - "column": 4 + "column": 2 }, "end": { "line": 25, - "column": 5 + "column": 3 } } }, @@ -2050,8 +2150,8 @@ "postfix": false, "binop": null }, - "start": 735, - "end": 736, + "start": 682, + "end": 683, "loc": { "start": { "line": 26, @@ -2076,16 +2176,16 @@ "binop": null, "updateContext": null }, - "start": 736, - "end": 736, + "start": 684, + "end": 684, "loc": { "start": { - "line": 26, - "column": 1 + "line": 27, + "column": 0 }, "end": { - "line": 26, - "column": 1 + "line": 27, + "column": 0 } } } diff --git a/docs/ast/source/auth/ClientCredentialsFlow.js.json b/docs/ast/source/auth/ClientCredentialsFlow.js.json index e6645d1..fe9af2c 100644 --- a/docs/ast/source/auth/ClientCredentialsFlow.js.json +++ b/docs/ast/source/auth/ClientCredentialsFlow.js.json @@ -1,65 +1,65 @@ { "type": "File", "start": 0, - "end": 617, + "end": 579, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 26, - "column": 1 + "line": 29, + "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 617, + "end": 579, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 26, - "column": 1 + "line": 29, + "column": 0 } }, "sourceType": "module", "body": [ { "type": "ExportDefaultDeclaration", - "start": 191, - "end": 617, + "start": 183, + "end": 578, "loc": { "start": { "line": 6, "column": 0 }, "end": { - "line": 26, + "line": 28, "column": 1 } }, "declaration": { "type": "ClassDeclaration", - "start": 206, - "end": 617, + "start": 198, + "end": 578, "loc": { "start": { "line": 6, "column": 15 }, "end": { - "line": 26, + "line": 28, "column": 1 } }, "id": { "type": "Identifier", - "start": 212, - "end": 233, + "start": 204, + "end": 225, "loc": { "start": { "line": 6, @@ -77,53 +77,53 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 234, - "end": 617, + "start": 226, + "end": 578, "loc": { "start": { "line": 6, "column": 43 }, "end": { - "line": 26, + "line": 28, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 271, - "end": 367, + "start": 255, + "end": 334, "loc": { "start": { "line": 10, - "column": 4 + "column": 2 }, "end": { "line": 15, - "column": 5 + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 271, - "end": 282, + "start": 255, + "end": 266, "loc": { "start": { "line": 10, - "column": 4 + "column": 2 }, "end": { "line": 10, - "column": 15 + "column": 13 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, - "static": false, "kind": "constructor", "id": null, "generator": false, @@ -132,16 +132,16 @@ "params": [ { "type": "Identifier", - "start": 283, - "end": 288, + "start": 267, + "end": 272, "loc": { "start": { "line": 10, - "column": 16 + "column": 14 }, "end": { "line": 10, - "column": 21 + "column": 19 }, "identifierName": "token" }, @@ -150,90 +150,90 @@ ], "body": { "type": "BlockStatement", - "start": 290, - "end": 367, + "start": 274, + "end": 334, "loc": { "start": { "line": 10, - "column": 23 + "column": 21 }, "end": { "line": 15, - "column": 5 + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 343, - "end": 361, + "start": 311, + "end": 330, "loc": { "start": { "line": 14, - "column": 8 + "column": 4 }, "end": { "line": 14, - "column": 26 + "column": 23 } }, "expression": { "type": "AssignmentExpression", - "start": 343, - "end": 361, + "start": 311, + "end": 329, "loc": { "start": { "line": 14, - "column": 8 + "column": 4 }, "end": { "line": 14, - "column": 26 + "column": 22 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 343, - "end": 353, + "start": 311, + "end": 321, "loc": { "start": { "line": 14, - "column": 8 + "column": 4 }, "end": { "line": 14, - "column": 18 + "column": 14 } }, "object": { "type": "ThisExpression", - "start": 343, - "end": 347, + "start": 311, + "end": 315, "loc": { "start": { "line": 14, - "column": 8 + "column": 4 }, "end": { "line": 14, - "column": 12 + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 348, - "end": 353, + "start": 316, + "end": 321, "loc": { "start": { "line": 14, - "column": 13 + "column": 9 }, "end": { "line": 14, - "column": 18 + "column": 14 }, "identifierName": "token" }, @@ -244,16 +244,16 @@ }, "right": { "type": "Identifier", - "start": 356, - "end": 361, + "start": 324, + "end": 329, "loc": { "start": { "line": 14, - "column": 21 + "column": 17 }, "end": { "line": 14, - "column": 26 + "column": 22 }, "identifierName": "token" }, @@ -264,17 +264,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 300, - "end": 334, + "value": "*\n * @ignore\n ", + "start": 280, + "end": 306, "loc": { "start": { "line": 11, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 11 + "column": 7 } } } @@ -287,17 +287,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 240, - "end": 266, + "value": "*\n * @ignore\n ", + "start": 230, + "end": 252, "loc": { "start": { "line": 7, - "column": 4 + "column": 2 }, "end": { "line": 9, - "column": 7 + "column": 5 } } } @@ -305,17 +305,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch access token.\n *\n * @return {Promise}\n * @example auth.clientCredentialsFlow.fetchAccessToken()\n ", - "start": 373, - "end": 505, + "value": "*\n * Fetch access token.\n *\n * @return {Promise}\n * @example auth.clientCredentialsFlow.fetchAccessToken();\n ", + "start": 338, + "end": 461, "loc": { "start": { "line": 17, - "column": 4 + "column": 2 }, "end": { "line": 22, - "column": 7 + "column": 5 } } } @@ -323,38 +323,38 @@ }, { "type": "ClassMethod", - "start": 510, - "end": 615, + "start": 464, + "end": 576, "loc": { "start": { "line": 23, - "column": 4 + "column": 2 }, "end": { - "line": 25, - "column": 5 + "line": 27, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 510, - "end": 526, + "start": 464, + "end": 480, "loc": { "start": { "line": 23, - "column": 4 + "column": 2 }, "end": { "line": 23, - "column": 20 + "column": 18 }, "identifierName": "fetchAccessToken" }, "name": "fetchAccessToken", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -363,102 +363,102 @@ "params": [], "body": { "type": "BlockStatement", - "start": 529, - "end": 615, + "start": 483, + "end": 576, "loc": { "start": { "line": 23, - "column": 23 + "column": 21 }, "end": { - "line": 25, - "column": 5 + "line": 27, + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 539, - "end": 609, + "start": 489, + "end": 572, "loc": { "start": { "line": 24, - "column": 8 + "column": 4 }, "end": { - "line": 24, - "column": 78 + "line": 26, + "column": 7 } }, "argument": { "type": "CallExpression", - "start": 546, - "end": 609, + "start": 496, + "end": 571, "loc": { "start": { "line": 24, - "column": 15 + "column": 11 }, "end": { - "line": 24, - "column": 78 + "line": 26, + "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 546, - "end": 573, + "start": 496, + "end": 523, "loc": { "start": { "line": 24, - "column": 15 + "column": 11 }, "end": { "line": 24, - "column": 42 + "column": 38 } }, "object": { "type": "MemberExpression", - "start": 546, - "end": 556, + "start": 496, + "end": 506, "loc": { "start": { "line": 24, - "column": 15 + "column": 11 }, "end": { "line": 24, - "column": 25 + "column": 21 } }, "object": { "type": "ThisExpression", - "start": 546, - "end": 550, + "start": 496, + "end": 500, "loc": { "start": { "line": 24, - "column": 15 + "column": 11 }, "end": { "line": 24, - "column": 19 + "column": 15 } } }, "property": { "type": "Identifier", - "start": 551, - "end": 556, + "start": 501, + "end": 506, "loc": { "start": { "line": 24, - "column": 20 + "column": 16 }, "end": { "line": 24, - "column": 25 + "column": 21 }, "identifierName": "token" }, @@ -468,16 +468,16 @@ }, "property": { "type": "Identifier", - "start": 557, - "end": 573, + "start": 507, + "end": 523, "loc": { "start": { "line": 24, - "column": 26 + "column": 22 }, "end": { "line": 24, - "column": 42 + "column": 38 }, "identifierName": "fetchAccessToken" }, @@ -488,31 +488,31 @@ "arguments": [ { "type": "ObjectExpression", - "start": 574, - "end": 608, + "start": 524, + "end": 570, "loc": { "start": { "line": 24, - "column": 43 + "column": 39 }, "end": { - "line": 24, - "column": 77 + "line": 26, + "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 575, - "end": 607, + "start": 532, + "end": 564, "loc": { "start": { - "line": 24, - "column": 44 + "line": 25, + "column": 6 }, "end": { - "line": 24, - "column": 76 + "line": 25, + "column": 38 } }, "method": false, @@ -520,16 +520,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 575, - "end": 585, + "start": 532, + "end": 542, "loc": { "start": { - "line": 24, - "column": 44 + "line": 25, + "column": 6 }, "end": { - "line": 24, - "column": 54 + "line": 25, + "column": 16 }, "identifierName": "grant_type" }, @@ -537,16 +537,16 @@ }, "value": { "type": "StringLiteral", - "start": 587, - "end": 607, + "start": 544, + "end": 564, "loc": { "start": { - "line": 24, - "column": 56 + "line": 25, + "column": 18 }, "end": { - "line": 24, - "column": 76 + "line": 25, + "column": 38 } }, "extra": { @@ -567,17 +567,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetch access token.\n *\n * @return {Promise}\n * @example auth.clientCredentialsFlow.fetchAccessToken()\n ", - "start": 373, - "end": 505, + "value": "*\n * Fetch access token.\n *\n * @return {Promise}\n * @example auth.clientCredentialsFlow.fetchAccessToken();\n ", + "start": 338, + "end": 461, "loc": { "start": { "line": 17, - "column": 4 + "column": 2 }, "end": { "line": 22, - "column": 7 + "column": 5 } } } @@ -588,9 +588,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Implements the client credentials flow. Used for accessing APIs that don't need any KKBOX\n * user's personal data.\n * @see https://kkbox.gelato.io/docs/versions/1.1/authentication\n ", + "value": "*\n * Implements the client credentials flow. Used for accessing APIs that don't need any KKBOX\n * user's personal data.\n * @see https://docs-en.kkbox.codes/docs/getting-started\n ", "start": 0, - "end": 190, + "end": 182, "loc": { "start": { "line": 1, @@ -608,9 +608,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Implements the client credentials flow. Used for accessing APIs that don't need any KKBOX\n * user's personal data.\n * @see https://kkbox.gelato.io/docs/versions/1.1/authentication\n ", + "value": "*\n * Implements the client credentials flow. Used for accessing APIs that don't need any KKBOX\n * user's personal data.\n * @see https://docs-en.kkbox.codes/docs/getting-started\n ", "start": 0, - "end": 190, + "end": 182, "loc": { "start": { "line": 1, @@ -630,9 +630,9 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * Implements the client credentials flow. Used for accessing APIs that don't need any KKBOX\n * user's personal data.\n * @see https://kkbox.gelato.io/docs/versions/1.1/authentication\n ", + "value": "*\n * Implements the client credentials flow. Used for accessing APIs that don't need any KKBOX\n * user's personal data.\n * @see https://docs-en.kkbox.codes/docs/getting-started\n ", "start": 0, - "end": 190, + "end": 182, "loc": { "start": { "line": 1, @@ -646,49 +646,49 @@ }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 240, - "end": 266, + "value": "*\n * @ignore\n ", + "start": 230, + "end": 252, "loc": { "start": { "line": 7, - "column": 4 + "column": 2 }, "end": { "line": 9, - "column": 7 + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 300, - "end": 334, + "value": "*\n * @ignore\n ", + "start": 280, + "end": 306, "loc": { "start": { "line": 11, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 11 + "column": 7 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch access token.\n *\n * @return {Promise}\n * @example auth.clientCredentialsFlow.fetchAccessToken()\n ", - "start": 373, - "end": 505, + "value": "*\n * Fetch access token.\n *\n * @return {Promise}\n * @example auth.clientCredentialsFlow.fetchAccessToken();\n ", + "start": 338, + "end": 461, "loc": { "start": { "line": 17, - "column": 4 + "column": 2 }, "end": { "line": 22, - "column": 7 + "column": 5 } } } @@ -696,9 +696,9 @@ "tokens": [ { "type": "CommentBlock", - "value": "*\n * Implements the client credentials flow. Used for accessing APIs that don't need any KKBOX\n * user's personal data.\n * @see https://kkbox.gelato.io/docs/versions/1.1/authentication\n ", + "value": "*\n * Implements the client credentials flow. Used for accessing APIs that don't need any KKBOX\n * user's personal data.\n * @see https://docs-en.kkbox.codes/docs/getting-started\n ", "start": 0, - "end": 190, + "end": 182, "loc": { "start": { "line": 1, @@ -725,8 +725,8 @@ "updateContext": null }, "value": "export", - "start": 191, - "end": 197, + "start": 183, + "end": 189, "loc": { "start": { "line": 6, @@ -753,8 +753,8 @@ "updateContext": null }, "value": "default", - "start": 198, - "end": 205, + "start": 190, + "end": 197, "loc": { "start": { "line": 6, @@ -781,8 +781,8 @@ "updateContext": null }, "value": "class", - "start": 206, - "end": 211, + "start": 198, + "end": 203, "loc": { "start": { "line": 6, @@ -807,8 +807,8 @@ "binop": null }, "value": "ClientCredentialsFlow", - "start": 212, - "end": 233, + "start": 204, + "end": 225, "loc": { "start": { "line": 6, @@ -832,8 +832,8 @@ "postfix": false, "binop": null }, - "start": 234, - "end": 235, + "start": 226, + "end": 227, "loc": { "start": { "line": 6, @@ -847,17 +847,17 @@ }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 240, - "end": 266, + "value": "*\n * @ignore\n ", + "start": 230, + "end": 252, "loc": { "start": { "line": 7, - "column": 4 + "column": 2 }, "end": { "line": 9, - "column": 7 + "column": 5 } } }, @@ -874,16 +874,16 @@ "binop": null }, "value": "constructor", - "start": 271, - "end": 282, + "start": 255, + "end": 266, "loc": { "start": { "line": 10, - "column": 4 + "column": 2 }, "end": { "line": 10, - "column": 15 + "column": 13 } } }, @@ -899,16 +899,16 @@ "postfix": false, "binop": null }, - "start": 282, - "end": 283, + "start": 266, + "end": 267, "loc": { "start": { "line": 10, - "column": 15 + "column": 13 }, "end": { "line": 10, - "column": 16 + "column": 14 } } }, @@ -925,16 +925,16 @@ "binop": null }, "value": "token", - "start": 283, - "end": 288, + "start": 267, + "end": 272, "loc": { "start": { "line": 10, - "column": 16 + "column": 14 }, "end": { "line": 10, - "column": 21 + "column": 19 } } }, @@ -950,16 +950,16 @@ "postfix": false, "binop": null }, - "start": 288, - "end": 289, + "start": 272, + "end": 273, "loc": { "start": { "line": 10, - "column": 21 + "column": 19 }, "end": { "line": 10, - "column": 22 + "column": 20 } } }, @@ -975,32 +975,32 @@ "postfix": false, "binop": null }, - "start": 290, - "end": 291, + "start": 274, + "end": 275, "loc": { "start": { "line": 10, - "column": 23 + "column": 21 }, "end": { "line": 10, - "column": 24 + "column": 22 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 300, - "end": 334, + "value": "*\n * @ignore\n ", + "start": 280, + "end": 306, "loc": { "start": { "line": 11, - "column": 8 + "column": 4 }, "end": { "line": 13, - "column": 11 + "column": 7 } } }, @@ -1019,16 +1019,16 @@ "updateContext": null }, "value": "this", - "start": 343, - "end": 347, + "start": 311, + "end": 315, "loc": { "start": { "line": 14, - "column": 8 + "column": 4 }, "end": { "line": 14, - "column": 12 + "column": 8 } } }, @@ -1045,16 +1045,16 @@ "binop": null, "updateContext": null }, - "start": 347, - "end": 348, + "start": 315, + "end": 316, "loc": { "start": { "line": 14, - "column": 12 + "column": 8 }, "end": { "line": 14, - "column": 13 + "column": 9 } } }, @@ -1071,16 +1071,16 @@ "binop": null }, "value": "token", - "start": 348, - "end": 353, + "start": 316, + "end": 321, "loc": { "start": { "line": 14, - "column": 13 + "column": 9 }, "end": { "line": 14, - "column": 18 + "column": 14 } } }, @@ -1098,16 +1098,16 @@ "updateContext": null }, "value": "=", - "start": 354, - "end": 355, + "start": 322, + "end": 323, "loc": { "start": { "line": 14, - "column": 19 + "column": 15 }, "end": { "line": 14, - "column": 20 + "column": 16 } } }, @@ -1124,16 +1124,42 @@ "binop": null }, "value": "token", - "start": 356, - "end": 361, + "start": 324, + "end": 329, "loc": { "start": { "line": 14, - "column": 21 + "column": 17 + }, + "end": { + "line": 14, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 329, + "end": 330, + "loc": { + "start": { + "line": 14, + "column": 22 }, "end": { "line": 14, - "column": 26 + "column": 23 } } }, @@ -1149,32 +1175,32 @@ "postfix": false, "binop": null }, - "start": 366, - "end": 367, + "start": 333, + "end": 334, "loc": { "start": { "line": 15, - "column": 4 + "column": 2 }, "end": { "line": 15, - "column": 5 + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Fetch access token.\n *\n * @return {Promise}\n * @example auth.clientCredentialsFlow.fetchAccessToken()\n ", - "start": 373, - "end": 505, + "value": "*\n * Fetch access token.\n *\n * @return {Promise}\n * @example auth.clientCredentialsFlow.fetchAccessToken();\n ", + "start": 338, + "end": 461, "loc": { "start": { "line": 17, - "column": 4 + "column": 2 }, "end": { "line": 22, - "column": 7 + "column": 5 } } }, @@ -1191,16 +1217,16 @@ "binop": null }, "value": "fetchAccessToken", - "start": 510, - "end": 526, + "start": 464, + "end": 480, "loc": { "start": { "line": 23, - "column": 4 + "column": 2 }, "end": { "line": 23, - "column": 20 + "column": 18 } } }, @@ -1216,16 +1242,16 @@ "postfix": false, "binop": null }, - "start": 526, - "end": 527, + "start": 480, + "end": 481, "loc": { "start": { "line": 23, - "column": 20 + "column": 18 }, "end": { "line": 23, - "column": 21 + "column": 19 } } }, @@ -1241,16 +1267,16 @@ "postfix": false, "binop": null }, - "start": 527, - "end": 528, + "start": 481, + "end": 482, "loc": { "start": { "line": 23, - "column": 21 + "column": 19 }, "end": { "line": 23, - "column": 22 + "column": 20 } } }, @@ -1266,16 +1292,16 @@ "postfix": false, "binop": null }, - "start": 529, - "end": 530, + "start": 483, + "end": 484, "loc": { "start": { "line": 23, - "column": 23 + "column": 21 }, "end": { "line": 23, - "column": 24 + "column": 22 } } }, @@ -1294,16 +1320,16 @@ "updateContext": null }, "value": "return", - "start": 539, - "end": 545, + "start": 489, + "end": 495, "loc": { "start": { "line": 24, - "column": 8 + "column": 4 }, "end": { "line": 24, - "column": 14 + "column": 10 } } }, @@ -1322,16 +1348,16 @@ "updateContext": null }, "value": "this", - "start": 546, - "end": 550, + "start": 496, + "end": 500, "loc": { "start": { "line": 24, - "column": 15 + "column": 11 }, "end": { "line": 24, - "column": 19 + "column": 15 } } }, @@ -1348,16 +1374,16 @@ "binop": null, "updateContext": null }, - "start": 550, - "end": 551, + "start": 500, + "end": 501, "loc": { "start": { "line": 24, - "column": 19 + "column": 15 }, "end": { "line": 24, - "column": 20 + "column": 16 } } }, @@ -1374,16 +1400,16 @@ "binop": null }, "value": "token", - "start": 551, - "end": 556, + "start": 501, + "end": 506, "loc": { "start": { "line": 24, - "column": 20 + "column": 16 }, "end": { "line": 24, - "column": 25 + "column": 21 } } }, @@ -1400,16 +1426,16 @@ "binop": null, "updateContext": null }, - "start": 556, - "end": 557, + "start": 506, + "end": 507, "loc": { "start": { "line": 24, - "column": 25 + "column": 21 }, "end": { "line": 24, - "column": 26 + "column": 22 } } }, @@ -1426,16 +1452,16 @@ "binop": null }, "value": "fetchAccessToken", - "start": 557, - "end": 573, + "start": 507, + "end": 523, "loc": { "start": { "line": 24, - "column": 26 + "column": 22 }, "end": { "line": 24, - "column": 42 + "column": 38 } } }, @@ -1451,16 +1477,16 @@ "postfix": false, "binop": null }, - "start": 573, - "end": 574, + "start": 523, + "end": 524, "loc": { "start": { "line": 24, - "column": 42 + "column": 38 }, "end": { "line": 24, - "column": 43 + "column": 39 } } }, @@ -1476,16 +1502,16 @@ "postfix": false, "binop": null }, - "start": 574, - "end": 575, + "start": 524, + "end": 525, "loc": { "start": { "line": 24, - "column": 43 + "column": 39 }, "end": { "line": 24, - "column": 44 + "column": 40 } } }, @@ -1502,16 +1528,16 @@ "binop": null }, "value": "grant_type", - "start": 575, - "end": 585, + "start": 532, + "end": 542, "loc": { "start": { - "line": 24, - "column": 44 + "line": 25, + "column": 6 }, "end": { - "line": 24, - "column": 54 + "line": 25, + "column": 16 } } }, @@ -1528,16 +1554,16 @@ "binop": null, "updateContext": null }, - "start": 585, - "end": 586, + "start": 542, + "end": 543, "loc": { "start": { - "line": 24, - "column": 54 + "line": 25, + "column": 16 }, "end": { - "line": 24, - "column": 55 + "line": 25, + "column": 17 } } }, @@ -1555,16 +1581,16 @@ "updateContext": null }, "value": "client_credentials", - "start": 587, - "end": 607, + "start": 544, + "end": 564, "loc": { "start": { - "line": 24, - "column": 56 + "line": 25, + "column": 18 }, "end": { - "line": 24, - "column": 76 + "line": 25, + "column": 38 } } }, @@ -1580,16 +1606,16 @@ "postfix": false, "binop": null }, - "start": 607, - "end": 608, + "start": 569, + "end": 570, "loc": { "start": { - "line": 24, - "column": 76 + "line": 26, + "column": 4 }, "end": { - "line": 24, - "column": 77 + "line": 26, + "column": 5 } } }, @@ -1605,16 +1631,42 @@ "postfix": false, "binop": null }, - "start": 608, - "end": 609, + "start": 570, + "end": 571, "loc": { "start": { - "line": 24, - "column": 77 + "line": 26, + "column": 5 }, "end": { - "line": 24, - "column": 78 + "line": 26, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 571, + "end": 572, + "loc": { + "start": { + "line": 26, + "column": 6 + }, + "end": { + "line": 26, + "column": 7 } } }, @@ -1630,16 +1682,16 @@ "postfix": false, "binop": null }, - "start": 614, - "end": 615, + "start": 575, + "end": 576, "loc": { "start": { - "line": 25, - "column": 4 + "line": 27, + "column": 2 }, "end": { - "line": 25, - "column": 5 + "line": 27, + "column": 3 } } }, @@ -1655,15 +1707,15 @@ "postfix": false, "binop": null }, - "start": 616, - "end": 617, + "start": 577, + "end": 578, "loc": { "start": { - "line": 26, + "line": 28, "column": 0 }, "end": { - "line": 26, + "line": 28, "column": 1 } } @@ -1681,16 +1733,16 @@ "binop": null, "updateContext": null }, - "start": 617, - "end": 617, + "start": 579, + "end": 579, "loc": { "start": { - "line": 26, - "column": 1 + "line": 29, + "column": 0 }, "end": { - "line": 26, - "column": 1 + "line": 29, + "column": 0 } } } diff --git a/docs/ast/source/auth/TokenFetcher.js.json b/docs/ast/source/auth/TokenFetcher.js.json index 38f4fca..4be3f90 100644 --- a/docs/ast/source/auth/TokenFetcher.js.json +++ b/docs/ast/source/auth/TokenFetcher.js.json @@ -1,29 +1,29 @@ { "type": "File", "start": 0, - "end": 916, + "end": 810, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 40, - "column": 1 + "line": 43, + "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 916, + "end": 810, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 40, - "column": 1 + "line": 43, + "column": 0 } }, "sourceType": "module", @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 25, + "end": 26, "loc": { "start": { "line": 1, @@ -39,7 +39,7 @@ }, "end": { "line": 1, - "column": 25 + "column": 26 } }, "specifiers": [ @@ -99,8 +99,8 @@ }, { "type": "ImportDeclaration", - "start": 26, - "end": 65, + "start": 27, + "end": 69, "loc": { "start": { "line": 2, @@ -108,36 +108,36 @@ }, "end": { "line": 2, - "column": 39 + "column": 42 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 34, - "end": 43, + "start": 36, + "end": 45, "loc": { "start": { "line": 2, - "column": 8 + "column": 9 }, "end": { "line": 2, - "column": 17 + "column": 18 } }, "imported": { "type": "Identifier", - "start": 34, - "end": 43, + "start": 36, + "end": 45, "loc": { "start": { "line": 2, - "column": 8 + "column": 9 }, "end": { "line": 2, - "column": 17 + "column": 18 }, "identifierName": "authError" }, @@ -145,16 +145,16 @@ }, "local": { "type": "Identifier", - "start": 34, - "end": 43, + "start": 36, + "end": 45, "loc": { "start": { "line": 2, - "column": 8 + "column": 9 }, "end": { "line": 2, - "column": 17 + "column": 18 }, "identifierName": "authError" }, @@ -164,16 +164,16 @@ ], "source": { "type": "StringLiteral", - "start": 50, - "end": 65, + "start": 53, + "end": 68, "loc": { "start": { "line": 2, - "column": 24 + "column": 26 }, "end": { "line": 2, - "column": 39 + "column": 41 } }, "extra": { @@ -185,8 +185,8 @@ }, { "type": "ImportDeclaration", - "start": 66, - "end": 103, + "start": 70, + "end": 108, "loc": { "start": { "line": 3, @@ -194,14 +194,14 @@ }, "end": { "line": 3, - "column": 37 + "column": 38 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 73, - "end": 84, + "start": 77, + "end": 88, "loc": { "start": { "line": 3, @@ -214,8 +214,8 @@ }, "local": { "type": "Identifier", - "start": 73, - "end": 84, + "start": 77, + "end": 88, "loc": { "start": { "line": 3, @@ -233,8 +233,8 @@ ], "source": { "type": "StringLiteral", - "start": 90, - "end": 103, + "start": 94, + "end": 107, "loc": { "start": { "line": 3, @@ -254,8 +254,8 @@ }, { "type": "ImportDeclaration", - "start": 104, - "end": 155, + "start": 109, + "end": 163, "loc": { "start": { "line": 4, @@ -263,36 +263,36 @@ }, "end": { "line": 4, - "column": 51 + "column": 54 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 112, - "end": 135, + "start": 118, + "end": 141, "loc": { "start": { "line": 4, - "column": 8 + "column": 9 }, "end": { "line": 4, - "column": 31 + "column": 32 } }, "imported": { "type": "Identifier", - "start": 112, - "end": 117, + "start": 118, + "end": 123, "loc": { "start": { "line": 4, - "column": 8 + "column": 9 }, "end": { "line": 4, - "column": 13 + "column": 14 }, "identifierName": "Token" }, @@ -300,16 +300,16 @@ }, "local": { "type": "Identifier", - "start": 121, - "end": 135, + "start": 127, + "end": 141, "loc": { "start": { "line": 4, - "column": 17 + "column": 18 }, "end": { "line": 4, - "column": 31 + "column": 32 }, "identifierName": "ENDPOINT_TOKEN" }, @@ -319,32 +319,30 @@ ], "source": { "type": "StringLiteral", - "start": 142, - "end": 155, + "start": 149, + "end": 162, "loc": { "start": { "line": 4, - "column": 38 + "column": 40 }, "end": { "line": 4, - "column": 51 + "column": 53 } }, "extra": { "rawValue": "../Endpoint", "raw": "'../Endpoint'" }, - "value": "../Endpoint", - "leadingComments": null, - "trailingComments": null + "value": "../Endpoint" }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Fetches access token.\n ", - "start": 157, - "end": 189, + "start": 165, + "end": 197, "loc": { "start": { "line": 6, @@ -360,36 +358,36 @@ }, { "type": "ExportDefaultDeclaration", - "start": 190, - "end": 916, + "start": 198, + "end": 809, "loc": { "start": { "line": 9, "column": 0 }, "end": { - "line": 40, + "line": 42, "column": 1 } }, "declaration": { "type": "ClassDeclaration", - "start": 205, - "end": 916, + "start": 213, + "end": 809, "loc": { "start": { "line": 9, "column": 15 }, "end": { - "line": 40, + "line": 42, "column": 1 } }, "id": { "type": "Identifier", - "start": 211, - "end": 223, + "start": 219, + "end": 231, "loc": { "start": { "line": 9, @@ -407,15 +405,15 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 224, - "end": 916, + "start": 232, + "end": 809, "loc": { "start": { "line": 9, "column": 34 }, "end": { - "line": 40, + "line": 42, "column": 1 } }, @@ -423,17 +421,18 @@ { "type": "ClassMethod", "start": 261, - "end": 471, + "end": 433, "loc": { "start": { "line": 13, - "column": 4 + "column": 2 }, "end": { "line": 23, - "column": 5 + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", @@ -442,18 +441,17 @@ "loc": { "start": { "line": 13, - "column": 4 + "column": 2 }, "end": { "line": 13, - "column": 15 + "column": 13 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, - "static": false, "kind": "constructor", "id": null, "generator": false, @@ -463,168 +461,165 @@ { "type": "Identifier", "start": 273, - "end": 282, + "end": 281, "loc": { "start": { "line": 13, - "column": 16 + "column": 14 }, "end": { "line": 13, - "column": 25 + "column": 22 }, - "identifierName": "client_id" + "identifierName": "clientID" }, - "name": "client_id" + "name": "clientID" }, { "type": "Identifier", - "start": 284, - "end": 297, + "start": 283, + "end": 295, "loc": { "start": { "line": 13, - "column": 27 + "column": 24 }, "end": { "line": 13, - "column": 40 + "column": 36 }, - "identifierName": "client_secret" + "identifierName": "clientSecret" }, - "name": "client_secret" + "name": "clientSecret" } ], "body": { "type": "BlockStatement", - "start": 299, - "end": 471, + "start": 297, + "end": 433, "loc": { "start": { "line": 13, - "column": 42 + "column": 38 }, "end": { "line": 23, - "column": 5 + "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 352, - "end": 378, + "start": 334, + "end": 359, "loc": { "start": { "line": 17, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 34 + "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 352, - "end": 378, + "start": 334, + "end": 358, "loc": { "start": { "line": 17, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 34 + "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 352, - "end": 366, + "start": 334, + "end": 347, "loc": { "start": { "line": 17, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 22 + "column": 17 } }, "object": { "type": "ThisExpression", - "start": 352, - "end": 356, + "start": 334, + "end": 338, "loc": { "start": { "line": 17, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 12 + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 357, - "end": 366, + "start": 339, + "end": 347, "loc": { "start": { "line": 17, - "column": 13 + "column": 9 }, "end": { "line": 17, - "column": 22 + "column": 17 }, - "identifierName": "client_id" + "identifierName": "clientID" }, - "name": "client_id" + "name": "clientID" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", - "start": 369, - "end": 378, + "start": 350, + "end": 358, "loc": { "start": { "line": 17, - "column": 25 + "column": 20 }, "end": { "line": 17, - "column": 34 + "column": 28 }, - "identifierName": "client_id" + "identifierName": "clientID" }, - "name": "client_id", - "leadingComments": null, - "trailingComments": null + "name": "clientID" }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 309, - "end": 343, + "value": "*\n * @ignore\n ", + "start": 303, + "end": 329, "loc": { "start": { "line": 14, - "column": 8 + "column": 4 }, "end": { "line": 16, - "column": 11 + "column": 7 } } } @@ -632,17 +627,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 388, - "end": 422, + "value": "*\n * @ignore\n ", + "start": 365, + "end": 391, "loc": { "start": { "line": 19, - "column": 8 + "column": 4 }, "end": { "line": 21, - "column": 11 + "column": 7 } } } @@ -650,116 +645,116 @@ }, { "type": "ExpressionStatement", - "start": 431, - "end": 465, + "start": 396, + "end": 429, "loc": { "start": { "line": 22, - "column": 8 + "column": 4 }, "end": { "line": 22, - "column": 42 + "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 431, - "end": 465, + "start": 396, + "end": 428, "loc": { "start": { "line": 22, - "column": 8 + "column": 4 }, "end": { "line": 22, - "column": 42 + "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 431, - "end": 449, + "start": 396, + "end": 413, "loc": { "start": { "line": 22, - "column": 8 + "column": 4 }, "end": { "line": 22, - "column": 26 + "column": 21 } }, "object": { "type": "ThisExpression", - "start": 431, - "end": 435, + "start": 396, + "end": 400, "loc": { "start": { "line": 22, - "column": 8 + "column": 4 }, "end": { "line": 22, - "column": 12 + "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", - "start": 436, - "end": 449, + "start": 401, + "end": 413, "loc": { "start": { "line": 22, - "column": 13 + "column": 9 }, "end": { "line": 22, - "column": 26 + "column": 21 }, - "identifierName": "client_secret" + "identifierName": "clientSecret" }, - "name": "client_secret" + "name": "clientSecret" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", - "start": 452, - "end": 465, + "start": 416, + "end": 428, "loc": { "start": { "line": 22, - "column": 29 + "column": 24 }, "end": { "line": 22, - "column": 42 + "column": 36 }, - "identifierName": "client_secret" + "identifierName": "clientSecret" }, - "name": "client_secret" + "name": "clientSecret" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 388, - "end": 422, + "value": "*\n * @ignore\n ", + "start": 365, + "end": 391, "loc": { "start": { "line": 19, - "column": 8 + "column": 4 }, "end": { "line": 21, - "column": 11 + "column": 7 } } } @@ -772,17 +767,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 230, - "end": 256, + "value": "*\n * @ignore\n ", + "start": 236, + "end": 258, "loc": { "start": { "line": 10, - "column": 4 + "column": 2 }, "end": { "line": 12, - "column": 7 + "column": 5 } } } @@ -790,17 +785,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetches access token.\n *\n * @param {object} params - Form data.\n * @return {Promise}\n ", - "start": 477, - "end": 592, + "value": "*\n * Fetches access token.\n *\n * @param {object} params - Form data.\n * @return {Promise}\n ", + "start": 437, + "end": 542, "loc": { "start": { "line": 25, - "column": 4 + "column": 2 }, "end": { "line": 30, - "column": 7 + "column": 5 } } } @@ -808,38 +803,38 @@ }, { "type": "ClassMethod", - "start": 597, - "end": 914, + "start": 545, + "end": 807, "loc": { "start": { "line": 31, - "column": 4 + "column": 2 }, "end": { - "line": 39, - "column": 5 + "line": 41, + "column": 3 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 597, - "end": 613, + "start": 545, + "end": 561, "loc": { "start": { "line": 31, - "column": 4 + "column": 2 }, "end": { "line": 31, - "column": 20 + "column": 18 }, "identifierName": "fetchAccessToken" }, "name": "fetchAccessToken", "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -848,16 +843,16 @@ "params": [ { "type": "Identifier", - "start": 614, - "end": 620, + "start": 562, + "end": 568, "loc": { "start": { "line": 31, - "column": 21 + "column": 19 }, "end": { "line": 31, - "column": 27 + "column": 25 }, "identifierName": "params" }, @@ -866,101 +861,101 @@ ], "body": { "type": "BlockStatement", - "start": 622, - "end": 914, + "start": 570, + "end": 807, "loc": { "start": { "line": 31, - "column": 29 + "column": 27 }, "end": { - "line": 39, - "column": 5 + "line": 41, + "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 632, - "end": 908, + "start": 576, + "end": 803, "loc": { "start": { "line": 32, - "column": 8 + "column": 4 }, "end": { - "line": 38, - "column": 27 + "line": 40, + "column": 24 } }, "argument": { "type": "CallExpression", - "start": 639, - "end": 908, + "start": 583, + "end": 802, "loc": { "start": { "line": 32, - "column": 15 + "column": 11 }, "end": { - "line": 38, - "column": 27 + "line": 40, + "column": 23 } }, "callee": { "type": "MemberExpression", - "start": 639, - "end": 897, + "start": 583, + "end": 791, "loc": { "start": { "line": 32, - "column": 15 + "column": 11 }, "end": { - "line": 38, - "column": 16 + "line": 40, + "column": 12 } }, "object": { "type": "CallExpression", - "start": 639, - "end": 891, + "start": 583, + "end": 778, "loc": { "start": { "line": 32, - "column": 15 + "column": 11 }, "end": { - "line": 38, - "column": 10 + "line": 39, + "column": 8 } }, "callee": { "type": "MemberExpression", - "start": 639, - "end": 649, + "start": 583, + "end": 600, "loc": { "start": { "line": 32, - "column": 15 + "column": 11 }, "end": { - "line": 32, - "column": 25 + "line": 33, + "column": 11 } }, "object": { "type": "Identifier", - "start": 639, - "end": 644, + "start": 583, + "end": 588, "loc": { "start": { "line": 32, - "column": 15 + "column": 11 }, "end": { "line": 32, - "column": 20 + "column": 16 }, "identifierName": "axios" }, @@ -968,16 +963,16 @@ }, "property": { "type": "Identifier", - "start": 645, - "end": 649, + "start": 596, + "end": 600, "loc": { "start": { - "line": 32, - "column": 21 + "line": 33, + "column": 7 }, "end": { - "line": 32, - "column": 25 + "line": 33, + "column": 11 }, "identifierName": "post" }, @@ -988,16 +983,16 @@ "arguments": [ { "type": "Identifier", - "start": 650, - "end": 664, + "start": 601, + "end": 615, "loc": { "start": { - "line": 32, - "column": 26 + "line": 33, + "column": 12 }, "end": { - "line": 32, - "column": 40 + "line": 33, + "column": 26 }, "identifierName": "ENDPOINT_TOKEN" }, @@ -1005,44 +1000,44 @@ }, { "type": "CallExpression", - "start": 666, - "end": 695, + "start": 617, + "end": 646, "loc": { "start": { - "line": 32, - "column": 42 + "line": 33, + "column": 28 }, "end": { - "line": 32, - "column": 71 + "line": 33, + "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 666, - "end": 687, + "start": 617, + "end": 638, "loc": { "start": { - "line": 32, - "column": 42 + "line": 33, + "column": 28 }, "end": { - "line": 32, - "column": 63 + "line": 33, + "column": 49 } }, "object": { "type": "Identifier", - "start": 666, - "end": 677, + "start": 617, + "end": 628, "loc": { "start": { - "line": 32, - "column": 42 + "line": 33, + "column": 28 }, "end": { - "line": 32, - "column": 53 + "line": 33, + "column": 39 }, "identifierName": "querystring" }, @@ -1050,16 +1045,16 @@ }, "property": { "type": "Identifier", - "start": 678, - "end": 687, + "start": 629, + "end": 638, "loc": { "start": { - "line": 32, - "column": 54 + "line": 33, + "column": 40 }, "end": { - "line": 32, - "column": 63 + "line": 33, + "column": 49 }, "identifierName": "stringify" }, @@ -1070,16 +1065,16 @@ "arguments": [ { "type": "Identifier", - "start": 688, - "end": 694, + "start": 639, + "end": 645, "loc": { "start": { - "line": 32, - "column": 64 + "line": 33, + "column": 50 }, "end": { - "line": 32, - "column": 70 + "line": 33, + "column": 56 }, "identifierName": "params" }, @@ -1089,31 +1084,31 @@ }, { "type": "ObjectExpression", - "start": 697, - "end": 890, + "start": 648, + "end": 777, "loc": { "start": { - "line": 32, - "column": 73 + "line": 33, + "column": 59 }, "end": { - "line": 38, - "column": 9 + "line": 39, + "column": 7 } }, "properties": [ { "type": "ObjectProperty", - "start": 711, - "end": 819, + "start": 658, + "end": 748, "loc": { "start": { - "line": 33, - "column": 12 + "line": 34, + "column": 8 }, "end": { - "line": 36, - "column": 13 + "line": 37, + "column": 9 } }, "method": false, @@ -1121,16 +1116,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 711, - "end": 715, + "start": 658, + "end": 662, "loc": { "start": { - "line": 33, - "column": 12 + "line": 34, + "column": 8 }, "end": { - "line": 33, - "column": 16 + "line": 34, + "column": 12 }, "identifierName": "auth" }, @@ -1138,31 +1133,31 @@ }, "value": { "type": "ObjectExpression", - "start": 717, - "end": 819, + "start": 664, + "end": 748, "loc": { "start": { - "line": 33, - "column": 18 + "line": 34, + "column": 14 }, "end": { - "line": 36, - "column": 13 + "line": 37, + "column": 9 } }, "properties": [ { "type": "ObjectProperty", - "start": 735, - "end": 759, + "start": 676, + "end": 699, "loc": { "start": { - "line": 34, - "column": 16 + "line": 35, + "column": 10 }, "end": { - "line": 34, - "column": 40 + "line": 35, + "column": 33 } }, "method": false, @@ -1170,16 +1165,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 735, - "end": 743, + "start": 676, + "end": 684, "loc": { "start": { - "line": 34, - "column": 16 + "line": 35, + "column": 10 }, "end": { - "line": 34, - "column": 24 + "line": 35, + "column": 18 }, "identifierName": "username" }, @@ -1187,65 +1182,65 @@ }, "value": { "type": "MemberExpression", - "start": 745, - "end": 759, + "start": 686, + "end": 699, "loc": { "start": { - "line": 34, - "column": 26 + "line": 35, + "column": 20 }, "end": { - "line": 34, - "column": 40 + "line": 35, + "column": 33 } }, "object": { "type": "ThisExpression", - "start": 745, - "end": 749, + "start": 686, + "end": 690, "loc": { "start": { - "line": 34, - "column": 26 + "line": 35, + "column": 20 }, "end": { - "line": 34, - "column": 30 + "line": 35, + "column": 24 } } }, "property": { "type": "Identifier", - "start": 750, - "end": 759, + "start": 691, + "end": 699, "loc": { "start": { - "line": 34, - "column": 31 + "line": 35, + "column": 25 }, "end": { - "line": 34, - "column": 40 + "line": 35, + "column": 33 }, - "identifierName": "client_id" + "identifierName": "clientID" }, - "name": "client_id" + "name": "clientID" }, "computed": false } }, { "type": "ObjectProperty", - "start": 777, - "end": 805, + "start": 711, + "end": 738, "loc": { "start": { - "line": 35, - "column": 16 + "line": 36, + "column": 10 }, "end": { - "line": 35, - "column": 44 + "line": 36, + "column": 37 } }, "method": false, @@ -1253,16 +1248,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 777, - "end": 785, + "start": 711, + "end": 719, "loc": { "start": { - "line": 35, - "column": 16 + "line": 36, + "column": 10 }, "end": { - "line": 35, - "column": 24 + "line": 36, + "column": 18 }, "identifierName": "password" }, @@ -1270,49 +1265,49 @@ }, "value": { "type": "MemberExpression", - "start": 787, - "end": 805, + "start": 721, + "end": 738, "loc": { "start": { - "line": 35, - "column": 26 + "line": 36, + "column": 20 }, "end": { - "line": 35, - "column": 44 + "line": 36, + "column": 37 } }, "object": { "type": "ThisExpression", - "start": 787, - "end": 791, + "start": 721, + "end": 725, "loc": { "start": { - "line": 35, - "column": 26 + "line": 36, + "column": 20 }, "end": { - "line": 35, - "column": 30 + "line": 36, + "column": 24 } } }, "property": { "type": "Identifier", - "start": 792, - "end": 805, + "start": 726, + "end": 738, "loc": { "start": { - "line": 35, - "column": 31 + "line": 36, + "column": 25 }, "end": { - "line": 35, - "column": 44 + "line": 36, + "column": 37 }, - "identifierName": "client_secret" + "identifierName": "clientSecret" }, - "name": "client_secret" + "name": "clientSecret" }, "computed": false } @@ -1322,16 +1317,16 @@ }, { "type": "ObjectProperty", - "start": 833, - "end": 880, + "start": 758, + "end": 769, "loc": { "start": { - "line": 37, - "column": 12 + "line": 38, + "column": 8 }, "end": { - "line": 37, - "column": 59 + "line": 38, + "column": 19 } }, "method": false, @@ -1339,16 +1334,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 833, - "end": 840, + "start": 758, + "end": 765, "loc": { "start": { - "line": 37, - "column": 12 + "line": 38, + "column": 8 }, "end": { - "line": 37, - "column": 19 + "line": 38, + "column": 15 }, "identifierName": "headers" }, @@ -1356,78 +1351,19 @@ }, "value": { "type": "ObjectExpression", - "start": 842, - "end": 880, + "start": 767, + "end": 769, "loc": { "start": { - "line": 37, - "column": 21 + "line": 38, + "column": 17 }, "end": { - "line": 37, - "column": 59 + "line": 38, + "column": 19 } }, - "properties": [ - { - "type": "ObjectProperty", - "start": 843, - "end": 879, - "loc": { - "start": { - "line": 37, - "column": 22 - }, - "end": { - "line": 37, - "column": 58 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "StringLiteral", - "start": 843, - "end": 855, - "loc": { - "start": { - "line": 37, - "column": 22 - }, - "end": { - "line": 37, - "column": 34 - } - }, - "extra": { - "rawValue": "User-Agent", - "raw": "'User-Agent'" - }, - "value": "User-Agent" - }, - "value": { - "type": "StringLiteral", - "start": 857, - "end": 879, - "loc": { - "start": { - "line": 37, - "column": 36 - }, - "end": { - "line": 37, - "column": 58 - } - }, - "extra": { - "rawValue": "KKBOX JavaScript SDK", - "raw": "'KKBOX JavaScript SDK'" - }, - "value": "KKBOX JavaScript SDK" - } - } - ] + "properties": [] } } ] @@ -1436,16 +1372,16 @@ }, "property": { "type": "Identifier", - "start": 892, - "end": 897, + "start": 786, + "end": 791, "loc": { "start": { - "line": 38, - "column": 11 + "line": 40, + "column": 7 }, "end": { - "line": 38, - "column": 16 + "line": 40, + "column": 12 }, "identifierName": "catch" }, @@ -1456,16 +1392,16 @@ "arguments": [ { "type": "Identifier", - "start": 898, - "end": 907, + "start": 792, + "end": 801, "loc": { "start": { - "line": 38, - "column": 17 + "line": 40, + "column": 13 }, "end": { - "line": 38, - "column": 26 + "line": 40, + "column": 22 }, "identifierName": "authError" }, @@ -1480,17 +1416,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Fetches access token.\n *\n * @param {object} params - Form data.\n * @return {Promise}\n ", - "start": 477, - "end": 592, + "value": "*\n * Fetches access token.\n *\n * @param {object} params - Form data.\n * @return {Promise}\n ", + "start": 437, + "end": 542, "loc": { "start": { "line": 25, - "column": 4 + "column": 2 }, "end": { "line": 30, - "column": 7 + "column": 5 } } } @@ -1502,8 +1438,8 @@ { "type": "CommentBlock", "value": "*\n * Fetches access token.\n ", - "start": 157, - "end": 189, + "start": 165, + "end": 197, "loc": { "start": { "line": 6, @@ -1522,8 +1458,8 @@ { "type": "CommentBlock", "value": "*\n * Fetches access token.\n ", - "start": 157, - "end": 189, + "start": 165, + "end": 197, "loc": { "start": { "line": 6, @@ -1544,8 +1480,8 @@ { "type": "CommentBlock", "value": "*\n * Fetches access token.\n ", - "start": 157, - "end": 189, + "start": 165, + "end": 197, "loc": { "start": { "line": 6, @@ -1559,65 +1495,65 @@ }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 230, - "end": 256, + "value": "*\n * @ignore\n ", + "start": 236, + "end": 258, "loc": { "start": { "line": 10, - "column": 4 + "column": 2 }, "end": { "line": 12, - "column": 7 + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 309, - "end": 343, + "value": "*\n * @ignore\n ", + "start": 303, + "end": 329, "loc": { "start": { "line": 14, - "column": 8 + "column": 4 }, "end": { "line": 16, - "column": 11 + "column": 7 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 388, - "end": 422, + "value": "*\n * @ignore\n ", + "start": 365, + "end": 391, "loc": { "start": { "line": 19, - "column": 8 + "column": 4 }, "end": { "line": 21, - "column": 11 + "column": 7 } } }, { "type": "CommentBlock", - "value": "*\n * Fetches access token.\n *\n * @param {object} params - Form data.\n * @return {Promise}\n ", - "start": 477, - "end": 592, + "value": "*\n * Fetches access token.\n *\n * @param {object} params - Form data.\n * @return {Promise}\n ", + "start": 437, + "end": 542, "loc": { "start": { "line": 25, - "column": 4 + "column": 2 }, "end": { "line": 30, - "column": 7 + "column": 5 } } } @@ -1628,7 +1564,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1730,12 +1666,38 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 25, + "end": 26, + "loc": { + "start": { + "line": 1, + "column": 25 + }, + "end": { + "line": 1, + "column": 26 + } + } + }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1745,8 +1707,8 @@ "updateContext": null }, "value": "import", - "start": 26, - "end": 32, + "start": 27, + "end": 33, "loc": { "start": { "line": 2, @@ -1770,8 +1732,8 @@ "postfix": false, "binop": null }, - "start": 33, - "end": 34, + "start": 34, + "end": 35, "loc": { "start": { "line": 2, @@ -1796,16 +1758,16 @@ "binop": null }, "value": "authError", - "start": 34, - "end": 43, + "start": 36, + "end": 45, "loc": { "start": { "line": 2, - "column": 8 + "column": 9 }, "end": { "line": 2, - "column": 17 + "column": 18 } } }, @@ -1821,16 +1783,16 @@ "postfix": false, "binop": null }, - "start": 43, - "end": 44, + "start": 46, + "end": 47, "loc": { "start": { "line": 2, - "column": 17 + "column": 19 }, "end": { "line": 2, - "column": 18 + "column": 20 } } }, @@ -1847,16 +1809,16 @@ "binop": null }, "value": "from", - "start": 45, - "end": 49, + "start": 48, + "end": 52, "loc": { "start": { "line": 2, - "column": 19 + "column": 21 }, "end": { "line": 2, - "column": 23 + "column": 25 } } }, @@ -1874,16 +1836,42 @@ "updateContext": null }, "value": "../catchError", - "start": 50, - "end": 65, + "start": 53, + "end": 68, "loc": { "start": { "line": 2, - "column": 24 + "column": 26 }, "end": { "line": 2, - "column": 39 + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 68, + "end": 69, + "loc": { + "start": { + "line": 2, + "column": 41 + }, + "end": { + "line": 2, + "column": 42 } } }, @@ -1892,7 +1880,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1902,8 +1890,8 @@ "updateContext": null }, "value": "import", - "start": 66, - "end": 72, + "start": 70, + "end": 76, "loc": { "start": { "line": 3, @@ -1928,8 +1916,8 @@ "binop": null }, "value": "querystring", - "start": 73, - "end": 84, + "start": 77, + "end": 88, "loc": { "start": { "line": 3, @@ -1954,8 +1942,8 @@ "binop": null }, "value": "from", - "start": 85, - "end": 89, + "start": 89, + "end": 93, "loc": { "start": { "line": 3, @@ -1981,8 +1969,8 @@ "updateContext": null }, "value": "querystring", - "start": 90, - "end": 103, + "start": 94, + "end": 107, "loc": { "start": { "line": 3, @@ -1994,12 +1982,38 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 107, + "end": 108, + "loc": { + "start": { + "line": 3, + "column": 37 + }, + "end": { + "line": 3, + "column": 38 + } + } + }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2009,8 +2023,8 @@ "updateContext": null }, "value": "import", - "start": 104, - "end": 110, + "start": 109, + "end": 115, "loc": { "start": { "line": 4, @@ -2034,8 +2048,8 @@ "postfix": false, "binop": null }, - "start": 111, - "end": 112, + "start": 116, + "end": 117, "loc": { "start": { "line": 4, @@ -2060,16 +2074,16 @@ "binop": null }, "value": "Token", - "start": 112, - "end": 117, + "start": 118, + "end": 123, "loc": { "start": { "line": 4, - "column": 8 + "column": 9 }, "end": { "line": 4, - "column": 13 + "column": 14 } } }, @@ -2086,16 +2100,16 @@ "binop": null }, "value": "as", - "start": 118, - "end": 120, + "start": 124, + "end": 126, "loc": { "start": { "line": 4, - "column": 14 + "column": 15 }, "end": { "line": 4, - "column": 16 + "column": 17 } } }, @@ -2112,16 +2126,16 @@ "binop": null }, "value": "ENDPOINT_TOKEN", - "start": 121, - "end": 135, + "start": 127, + "end": 141, "loc": { "start": { "line": 4, - "column": 17 + "column": 18 }, "end": { "line": 4, - "column": 31 + "column": 32 } } }, @@ -2137,16 +2151,16 @@ "postfix": false, "binop": null }, - "start": 135, - "end": 136, + "start": 142, + "end": 143, "loc": { "start": { "line": 4, - "column": 31 + "column": 33 }, "end": { "line": 4, - "column": 32 + "column": 34 } } }, @@ -2163,16 +2177,16 @@ "binop": null }, "value": "from", - "start": 137, - "end": 141, + "start": 144, + "end": 148, "loc": { "start": { "line": 4, - "column": 33 + "column": 35 }, "end": { "line": 4, - "column": 37 + "column": 39 } } }, @@ -2190,24 +2204,50 @@ "updateContext": null }, "value": "../Endpoint", - "start": 142, - "end": 155, + "start": 149, + "end": 162, "loc": { "start": { "line": 4, - "column": 38 + "column": 40 + }, + "end": { + "line": 4, + "column": 53 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 162, + "end": 163, + "loc": { + "start": { + "line": 4, + "column": 53 }, "end": { "line": 4, - "column": 51 + "column": 54 } } }, { "type": "CommentBlock", "value": "*\n * Fetches access token.\n ", - "start": 157, - "end": 189, + "start": 165, + "end": 197, "loc": { "start": { "line": 6, @@ -2234,8 +2274,8 @@ "updateContext": null }, "value": "export", - "start": 190, - "end": 196, + "start": 198, + "end": 204, "loc": { "start": { "line": 9, @@ -2262,8 +2302,8 @@ "updateContext": null }, "value": "default", - "start": 197, - "end": 204, + "start": 205, + "end": 212, "loc": { "start": { "line": 9, @@ -2290,8 +2330,8 @@ "updateContext": null }, "value": "class", - "start": 205, - "end": 210, + "start": 213, + "end": 218, "loc": { "start": { "line": 9, @@ -2316,8 +2356,8 @@ "binop": null }, "value": "TokenFetcher", - "start": 211, - "end": 223, + "start": 219, + "end": 231, "loc": { "start": { "line": 9, @@ -2341,8 +2381,8 @@ "postfix": false, "binop": null }, - "start": 224, - "end": 225, + "start": 232, + "end": 233, "loc": { "start": { "line": 9, @@ -2356,17 +2396,17 @@ }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 230, - "end": 256, + "value": "*\n * @ignore\n ", + "start": 236, + "end": 258, "loc": { "start": { "line": 10, - "column": 4 + "column": 2 }, "end": { "line": 12, - "column": 7 + "column": 5 } } }, @@ -2388,11 +2428,11 @@ "loc": { "start": { "line": 13, - "column": 4 + "column": 2 }, "end": { "line": 13, - "column": 15 + "column": 13 } } }, @@ -2413,11 +2453,11 @@ "loc": { "start": { "line": 13, - "column": 15 + "column": 13 }, "end": { "line": 13, - "column": 16 + "column": 14 } } }, @@ -2433,17 +2473,17 @@ "postfix": false, "binop": null }, - "value": "client_id", + "value": "clientID", "start": 273, - "end": 282, + "end": 281, "loc": { "start": { "line": 13, - "column": 16 + "column": 14 }, "end": { "line": 13, - "column": 25 + "column": 22 } } }, @@ -2460,16 +2500,16 @@ "binop": null, "updateContext": null }, - "start": 282, - "end": 283, + "start": 281, + "end": 282, "loc": { "start": { "line": 13, - "column": 25 + "column": 22 }, "end": { "line": 13, - "column": 26 + "column": 23 } } }, @@ -2485,17 +2525,17 @@ "postfix": false, "binop": null }, - "value": "client_secret", - "start": 284, - "end": 297, + "value": "clientSecret", + "start": 283, + "end": 295, "loc": { "start": { "line": 13, - "column": 27 + "column": 24 }, "end": { "line": 13, - "column": 40 + "column": 36 } } }, @@ -2511,16 +2551,16 @@ "postfix": false, "binop": null }, - "start": 297, - "end": 298, + "start": 295, + "end": 296, "loc": { "start": { "line": 13, - "column": 40 + "column": 36 }, "end": { "line": 13, - "column": 41 + "column": 37 } } }, @@ -2536,32 +2576,32 @@ "postfix": false, "binop": null }, - "start": 299, - "end": 300, + "start": 297, + "end": 298, "loc": { "start": { "line": 13, - "column": 42 + "column": 38 }, "end": { "line": 13, - "column": 43 + "column": 39 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 309, - "end": 343, + "value": "*\n * @ignore\n ", + "start": 303, + "end": 329, "loc": { "start": { "line": 14, - "column": 8 + "column": 4 }, "end": { "line": 16, - "column": 11 + "column": 7 } } }, @@ -2580,16 +2620,16 @@ "updateContext": null }, "value": "this", - "start": 352, - "end": 356, + "start": 334, + "end": 338, "loc": { "start": { "line": 17, - "column": 8 + "column": 4 }, "end": { "line": 17, - "column": 12 + "column": 8 } } }, @@ -2606,16 +2646,16 @@ "binop": null, "updateContext": null }, - "start": 356, - "end": 357, + "start": 338, + "end": 339, "loc": { "start": { "line": 17, - "column": 12 + "column": 8 }, "end": { "line": 17, - "column": 13 + "column": 9 } } }, @@ -2631,17 +2671,17 @@ "postfix": false, "binop": null }, - "value": "client_id", - "start": 357, - "end": 366, + "value": "clientID", + "start": 339, + "end": 347, "loc": { "start": { "line": 17, - "column": 13 + "column": 9 }, "end": { "line": 17, - "column": 22 + "column": 17 } } }, @@ -2659,16 +2699,16 @@ "updateContext": null }, "value": "=", - "start": 367, - "end": 368, + "start": 348, + "end": 349, "loc": { "start": { "line": 17, - "column": 23 + "column": 18 }, "end": { "line": 17, - "column": 24 + "column": 19 } } }, @@ -2684,33 +2724,59 @@ "postfix": false, "binop": null }, - "value": "client_id", - "start": 369, - "end": 378, + "value": "clientID", + "start": 350, + "end": 358, "loc": { "start": { "line": 17, - "column": 25 + "column": 20 }, "end": { "line": 17, - "column": 34 + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 358, + "end": 359, + "loc": { + "start": { + "line": 17, + "column": 28 + }, + "end": { + "line": 17, + "column": 29 } } }, { "type": "CommentBlock", - "value": "*\n * @ignore\n ", - "start": 388, - "end": 422, + "value": "*\n * @ignore\n ", + "start": 365, + "end": 391, "loc": { "start": { "line": 19, - "column": 8 + "column": 4 }, "end": { "line": 21, - "column": 11 + "column": 7 } } }, @@ -2729,16 +2795,16 @@ "updateContext": null }, "value": "this", - "start": 431, - "end": 435, + "start": 396, + "end": 400, "loc": { "start": { "line": 22, - "column": 8 + "column": 4 }, "end": { "line": 22, - "column": 12 + "column": 8 } } }, @@ -2755,16 +2821,16 @@ "binop": null, "updateContext": null }, - "start": 435, - "end": 436, + "start": 400, + "end": 401, "loc": { "start": { "line": 22, - "column": 12 + "column": 8 }, "end": { "line": 22, - "column": 13 + "column": 9 } } }, @@ -2780,17 +2846,17 @@ "postfix": false, "binop": null }, - "value": "client_secret", - "start": 436, - "end": 449, + "value": "clientSecret", + "start": 401, + "end": 413, "loc": { "start": { "line": 22, - "column": 13 + "column": 9 }, "end": { "line": 22, - "column": 26 + "column": 21 } } }, @@ -2808,16 +2874,16 @@ "updateContext": null }, "value": "=", - "start": 450, - "end": 451, + "start": 414, + "end": 415, "loc": { "start": { "line": 22, - "column": 27 + "column": 22 }, "end": { "line": 22, - "column": 28 + "column": 23 } } }, @@ -2833,17 +2899,43 @@ "postfix": false, "binop": null }, - "value": "client_secret", - "start": 452, - "end": 465, + "value": "clientSecret", + "start": 416, + "end": 428, "loc": { "start": { "line": 22, - "column": 29 + "column": 24 }, "end": { "line": 22, - "column": 42 + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 428, + "end": 429, + "loc": { + "start": { + "line": 22, + "column": 36 + }, + "end": { + "line": 22, + "column": 37 } } }, @@ -2859,32 +2951,32 @@ "postfix": false, "binop": null }, - "start": 470, - "end": 471, + "start": 432, + "end": 433, "loc": { "start": { "line": 23, - "column": 4 + "column": 2 }, "end": { "line": 23, - "column": 5 + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Fetches access token.\n *\n * @param {object} params - Form data.\n * @return {Promise}\n ", - "start": 477, - "end": 592, + "value": "*\n * Fetches access token.\n *\n * @param {object} params - Form data.\n * @return {Promise}\n ", + "start": 437, + "end": 542, "loc": { "start": { "line": 25, - "column": 4 + "column": 2 }, "end": { "line": 30, - "column": 7 + "column": 5 } } }, @@ -2901,16 +2993,16 @@ "binop": null }, "value": "fetchAccessToken", - "start": 597, - "end": 613, + "start": 545, + "end": 561, "loc": { "start": { "line": 31, - "column": 4 + "column": 2 }, "end": { "line": 31, - "column": 20 + "column": 18 } } }, @@ -2926,16 +3018,16 @@ "postfix": false, "binop": null }, - "start": 613, - "end": 614, + "start": 561, + "end": 562, "loc": { "start": { "line": 31, - "column": 20 + "column": 18 }, "end": { "line": 31, - "column": 21 + "column": 19 } } }, @@ -2952,16 +3044,16 @@ "binop": null }, "value": "params", - "start": 614, - "end": 620, + "start": 562, + "end": 568, "loc": { "start": { "line": 31, - "column": 21 + "column": 19 }, "end": { "line": 31, - "column": 27 + "column": 25 } } }, @@ -2977,16 +3069,16 @@ "postfix": false, "binop": null }, - "start": 620, - "end": 621, + "start": 568, + "end": 569, "loc": { "start": { "line": 31, - "column": 27 + "column": 25 }, "end": { "line": 31, - "column": 28 + "column": 26 } } }, @@ -3002,16 +3094,16 @@ "postfix": false, "binop": null }, - "start": 622, - "end": 623, + "start": 570, + "end": 571, "loc": { "start": { "line": 31, - "column": 29 + "column": 27 }, "end": { "line": 31, - "column": 30 + "column": 28 } } }, @@ -3030,16 +3122,16 @@ "updateContext": null }, "value": "return", - "start": 632, - "end": 638, + "start": 576, + "end": 582, "loc": { "start": { "line": 32, - "column": 8 + "column": 4 }, "end": { "line": 32, - "column": 14 + "column": 10 } } }, @@ -3056,16 +3148,16 @@ "binop": null }, "value": "axios", - "start": 639, - "end": 644, + "start": 583, + "end": 588, "loc": { "start": { "line": 32, - "column": 15 + "column": 11 }, "end": { "line": 32, - "column": 20 + "column": 16 } } }, @@ -3082,16 +3174,16 @@ "binop": null, "updateContext": null }, - "start": 644, - "end": 645, + "start": 595, + "end": 596, "loc": { "start": { - "line": 32, - "column": 20 + "line": 33, + "column": 6 }, "end": { - "line": 32, - "column": 21 + "line": 33, + "column": 7 } } }, @@ -3108,16 +3200,16 @@ "binop": null }, "value": "post", - "start": 645, - "end": 649, + "start": 596, + "end": 600, "loc": { "start": { - "line": 32, - "column": 21 + "line": 33, + "column": 7 }, "end": { - "line": 32, - "column": 25 + "line": 33, + "column": 11 } } }, @@ -3133,16 +3225,16 @@ "postfix": false, "binop": null }, - "start": 649, - "end": 650, + "start": 600, + "end": 601, "loc": { "start": { - "line": 32, - "column": 25 + "line": 33, + "column": 11 }, "end": { - "line": 32, - "column": 26 + "line": 33, + "column": 12 } } }, @@ -3159,16 +3251,16 @@ "binop": null }, "value": "ENDPOINT_TOKEN", - "start": 650, - "end": 664, + "start": 601, + "end": 615, "loc": { "start": { - "line": 32, - "column": 26 + "line": 33, + "column": 12 }, "end": { - "line": 32, - "column": 40 + "line": 33, + "column": 26 } } }, @@ -3185,16 +3277,16 @@ "binop": null, "updateContext": null }, - "start": 664, - "end": 665, + "start": 615, + "end": 616, "loc": { "start": { - "line": 32, - "column": 40 + "line": 33, + "column": 26 }, "end": { - "line": 32, - "column": 41 + "line": 33, + "column": 27 } } }, @@ -3211,16 +3303,16 @@ "binop": null }, "value": "querystring", - "start": 666, - "end": 677, + "start": 617, + "end": 628, "loc": { "start": { - "line": 32, - "column": 42 + "line": 33, + "column": 28 }, "end": { - "line": 32, - "column": 53 + "line": 33, + "column": 39 } } }, @@ -3237,16 +3329,16 @@ "binop": null, "updateContext": null }, - "start": 677, - "end": 678, + "start": 628, + "end": 629, "loc": { "start": { - "line": 32, - "column": 53 + "line": 33, + "column": 39 }, "end": { - "line": 32, - "column": 54 + "line": 33, + "column": 40 } } }, @@ -3263,16 +3355,16 @@ "binop": null }, "value": "stringify", - "start": 678, - "end": 687, + "start": 629, + "end": 638, "loc": { "start": { - "line": 32, - "column": 54 + "line": 33, + "column": 40 }, "end": { - "line": 32, - "column": 63 + "line": 33, + "column": 49 } } }, @@ -3288,16 +3380,16 @@ "postfix": false, "binop": null }, - "start": 687, - "end": 688, + "start": 638, + "end": 639, "loc": { "start": { - "line": 32, - "column": 63 + "line": 33, + "column": 49 }, "end": { - "line": 32, - "column": 64 + "line": 33, + "column": 50 } } }, @@ -3314,16 +3406,16 @@ "binop": null }, "value": "params", - "start": 688, - "end": 694, + "start": 639, + "end": 645, "loc": { "start": { - "line": 32, - "column": 64 + "line": 33, + "column": 50 }, "end": { - "line": 32, - "column": 70 + "line": 33, + "column": 56 } } }, @@ -3339,16 +3431,16 @@ "postfix": false, "binop": null }, - "start": 694, - "end": 695, + "start": 645, + "end": 646, "loc": { "start": { - "line": 32, - "column": 70 + "line": 33, + "column": 56 }, "end": { - "line": 32, - "column": 71 + "line": 33, + "column": 57 } } }, @@ -3365,16 +3457,16 @@ "binop": null, "updateContext": null }, - "start": 695, - "end": 696, + "start": 646, + "end": 647, "loc": { "start": { - "line": 32, - "column": 71 + "line": 33, + "column": 57 }, "end": { - "line": 32, - "column": 72 + "line": 33, + "column": 58 } } }, @@ -3390,16 +3482,16 @@ "postfix": false, "binop": null }, - "start": 697, - "end": 698, + "start": 648, + "end": 649, "loc": { "start": { - "line": 32, - "column": 73 + "line": 33, + "column": 59 }, "end": { - "line": 32, - "column": 74 + "line": 33, + "column": 60 } } }, @@ -3416,16 +3508,16 @@ "binop": null }, "value": "auth", - "start": 711, - "end": 715, + "start": 658, + "end": 662, "loc": { "start": { - "line": 33, - "column": 12 + "line": 34, + "column": 8 }, "end": { - "line": 33, - "column": 16 + "line": 34, + "column": 12 } } }, @@ -3442,16 +3534,16 @@ "binop": null, "updateContext": null }, - "start": 715, - "end": 716, + "start": 662, + "end": 663, "loc": { "start": { - "line": 33, - "column": 16 + "line": 34, + "column": 12 }, "end": { - "line": 33, - "column": 17 + "line": 34, + "column": 13 } } }, @@ -3467,16 +3559,16 @@ "postfix": false, "binop": null }, - "start": 717, - "end": 718, + "start": 664, + "end": 665, "loc": { "start": { - "line": 33, - "column": 18 + "line": 34, + "column": 14 }, "end": { - "line": 33, - "column": 19 + "line": 34, + "column": 15 } } }, @@ -3493,16 +3585,16 @@ "binop": null }, "value": "username", - "start": 735, - "end": 743, + "start": 676, + "end": 684, "loc": { "start": { - "line": 34, - "column": 16 + "line": 35, + "column": 10 }, "end": { - "line": 34, - "column": 24 + "line": 35, + "column": 18 } } }, @@ -3519,16 +3611,16 @@ "binop": null, "updateContext": null }, - "start": 743, - "end": 744, + "start": 684, + "end": 685, "loc": { "start": { - "line": 34, - "column": 24 + "line": 35, + "column": 18 }, "end": { - "line": 34, - "column": 25 + "line": 35, + "column": 19 } } }, @@ -3547,16 +3639,16 @@ "updateContext": null }, "value": "this", - "start": 745, - "end": 749, + "start": 686, + "end": 690, "loc": { "start": { - "line": 34, - "column": 26 + "line": 35, + "column": 20 }, "end": { - "line": 34, - "column": 30 + "line": 35, + "column": 24 } } }, @@ -3573,16 +3665,16 @@ "binop": null, "updateContext": null }, - "start": 749, - "end": 750, + "start": 690, + "end": 691, "loc": { "start": { - "line": 34, - "column": 30 + "line": 35, + "column": 24 }, "end": { - "line": 34, - "column": 31 + "line": 35, + "column": 25 } } }, @@ -3598,17 +3690,17 @@ "postfix": false, "binop": null }, - "value": "client_id", - "start": 750, - "end": 759, + "value": "clientID", + "start": 691, + "end": 699, "loc": { "start": { - "line": 34, - "column": 31 + "line": 35, + "column": 25 }, "end": { - "line": 34, - "column": 40 + "line": 35, + "column": 33 } } }, @@ -3625,16 +3717,16 @@ "binop": null, "updateContext": null }, - "start": 759, - "end": 760, + "start": 699, + "end": 700, "loc": { "start": { - "line": 34, - "column": 40 + "line": 35, + "column": 33 }, "end": { - "line": 34, - "column": 41 + "line": 35, + "column": 34 } } }, @@ -3651,16 +3743,16 @@ "binop": null }, "value": "password", - "start": 777, - "end": 785, + "start": 711, + "end": 719, "loc": { "start": { - "line": 35, - "column": 16 + "line": 36, + "column": 10 }, "end": { - "line": 35, - "column": 24 + "line": 36, + "column": 18 } } }, @@ -3677,16 +3769,16 @@ "binop": null, "updateContext": null }, - "start": 785, - "end": 786, + "start": 719, + "end": 720, "loc": { "start": { - "line": 35, - "column": 24 + "line": 36, + "column": 18 }, "end": { - "line": 35, - "column": 25 + "line": 36, + "column": 19 } } }, @@ -3705,16 +3797,16 @@ "updateContext": null }, "value": "this", - "start": 787, - "end": 791, + "start": 721, + "end": 725, "loc": { "start": { - "line": 35, - "column": 26 + "line": 36, + "column": 20 }, "end": { - "line": 35, - "column": 30 + "line": 36, + "column": 24 } } }, @@ -3731,16 +3823,16 @@ "binop": null, "updateContext": null }, - "start": 791, - "end": 792, + "start": 725, + "end": 726, "loc": { "start": { - "line": 35, - "column": 30 + "line": 36, + "column": 24 }, "end": { - "line": 35, - "column": 31 + "line": 36, + "column": 25 } } }, @@ -3756,17 +3848,17 @@ "postfix": false, "binop": null }, - "value": "client_secret", - "start": 792, - "end": 805, + "value": "clientSecret", + "start": 726, + "end": 738, "loc": { "start": { - "line": 35, - "column": 31 + "line": 36, + "column": 25 }, "end": { - "line": 35, - "column": 44 + "line": 36, + "column": 37 } } }, @@ -3782,16 +3874,16 @@ "postfix": false, "binop": null }, - "start": 818, - "end": 819, + "start": 747, + "end": 748, "loc": { "start": { - "line": 36, - "column": 12 + "line": 37, + "column": 8 }, "end": { - "line": 36, - "column": 13 + "line": 37, + "column": 9 } } }, @@ -3808,16 +3900,16 @@ "binop": null, "updateContext": null }, - "start": 819, - "end": 820, + "start": 748, + "end": 749, "loc": { "start": { - "line": 36, - "column": 13 + "line": 37, + "column": 9 }, "end": { - "line": 36, - "column": 14 + "line": 37, + "column": 10 } } }, @@ -3834,16 +3926,16 @@ "binop": null }, "value": "headers", - "start": 833, - "end": 840, + "start": 758, + "end": 765, "loc": { "start": { - "line": 37, - "column": 12 + "line": 38, + "column": 8 }, "end": { - "line": 37, - "column": 19 + "line": 38, + "column": 15 } } }, @@ -3860,16 +3952,16 @@ "binop": null, "updateContext": null }, - "start": 840, - "end": 841, + "start": 765, + "end": 766, "loc": { "start": { - "line": 37, - "column": 19 + "line": 38, + "column": 15 }, "end": { - "line": 37, - "column": 20 + "line": 38, + "column": 16 } } }, @@ -3885,96 +3977,16 @@ "postfix": false, "binop": null }, - "start": 842, - "end": 843, - "loc": { - "start": { - "line": 37, - "column": 21 - }, - "end": { - "line": 37, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "User-Agent", - "start": 843, - "end": 855, - "loc": { - "start": { - "line": 37, - "column": 22 - }, - "end": { - "line": 37, - "column": 34 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 855, - "end": 856, - "loc": { - "start": { - "line": 37, - "column": 34 - }, - "end": { - "line": 37, - "column": 35 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "KKBOX JavaScript SDK", - "start": 857, - "end": 879, + "start": 767, + "end": 768, "loc": { "start": { - "line": 37, - "column": 36 + "line": 38, + "column": 17 }, "end": { - "line": 37, - "column": 58 + "line": 38, + "column": 18 } } }, @@ -3990,16 +4002,16 @@ "postfix": false, "binop": null }, - "start": 879, - "end": 880, + "start": 768, + "end": 769, "loc": { "start": { - "line": 37, - "column": 58 + "line": 38, + "column": 18 }, "end": { - "line": 37, - "column": 59 + "line": 38, + "column": 19 } } }, @@ -4015,16 +4027,16 @@ "postfix": false, "binop": null }, - "start": 889, - "end": 890, + "start": 776, + "end": 777, "loc": { "start": { - "line": 38, - "column": 8 + "line": 39, + "column": 6 }, "end": { - "line": 38, - "column": 9 + "line": 39, + "column": 7 } } }, @@ -4040,16 +4052,16 @@ "postfix": false, "binop": null }, - "start": 890, - "end": 891, + "start": 777, + "end": 778, "loc": { "start": { - "line": 38, - "column": 9 + "line": 39, + "column": 7 }, "end": { - "line": 38, - "column": 10 + "line": 39, + "column": 8 } } }, @@ -4066,16 +4078,16 @@ "binop": null, "updateContext": null }, - "start": 891, - "end": 892, + "start": 785, + "end": 786, "loc": { "start": { - "line": 38, - "column": 10 + "line": 40, + "column": 6 }, "end": { - "line": 38, - "column": 11 + "line": 40, + "column": 7 } } }, @@ -4094,16 +4106,16 @@ "updateContext": null }, "value": "catch", - "start": 892, - "end": 897, + "start": 786, + "end": 791, "loc": { "start": { - "line": 38, - "column": 11 + "line": 40, + "column": 7 }, "end": { - "line": 38, - "column": 16 + "line": 40, + "column": 12 } } }, @@ -4119,16 +4131,16 @@ "postfix": false, "binop": null }, - "start": 897, - "end": 898, + "start": 791, + "end": 792, "loc": { "start": { - "line": 38, - "column": 16 + "line": 40, + "column": 12 }, "end": { - "line": 38, - "column": 17 + "line": 40, + "column": 13 } } }, @@ -4145,16 +4157,16 @@ "binop": null }, "value": "authError", - "start": 898, - "end": 907, + "start": 792, + "end": 801, "loc": { "start": { - "line": 38, - "column": 17 + "line": 40, + "column": 13 }, "end": { - "line": 38, - "column": 26 + "line": 40, + "column": 22 } } }, @@ -4170,16 +4182,42 @@ "postfix": false, "binop": null }, - "start": 907, - "end": 908, + "start": 801, + "end": 802, "loc": { "start": { - "line": 38, - "column": 26 + "line": 40, + "column": 22 }, "end": { - "line": 38, - "column": 27 + "line": 40, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 802, + "end": 803, + "loc": { + "start": { + "line": 40, + "column": 23 + }, + "end": { + "line": 40, + "column": 24 } } }, @@ -4195,16 +4233,16 @@ "postfix": false, "binop": null }, - "start": 913, - "end": 914, + "start": 806, + "end": 807, "loc": { "start": { - "line": 39, - "column": 4 + "line": 41, + "column": 2 }, "end": { - "line": 39, - "column": 5 + "line": 41, + "column": 3 } } }, @@ -4220,15 +4258,15 @@ "postfix": false, "binop": null }, - "start": 915, - "end": 916, + "start": 808, + "end": 809, "loc": { "start": { - "line": 40, + "line": 42, "column": 0 }, "end": { - "line": 40, + "line": 42, "column": 1 } } @@ -4246,16 +4284,16 @@ "binop": null, "updateContext": null }, - "start": 916, - "end": 916, + "start": 810, + "end": 810, "loc": { "start": { - "line": 40, - "column": 1 + "line": 43, + "column": 0 }, "end": { - "line": 40, - "column": 1 + "line": 43, + "column": 0 } } } diff --git a/docs/ast/source/catchError.js.json b/docs/ast/source/catchError.js.json index cc9b73d..58e9c0f 100644 --- a/docs/ast/source/catchError.js.json +++ b/docs/ast/source/catchError.js.json @@ -1,29 +1,29 @@ { "type": "File", "start": 0, - "end": 307, + "end": 293, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 17, - "column": 1 + "line": 18, + "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 307, + "end": 293, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 17, - "column": 1 + "line": 18, + "column": 0 } }, "sourceType": "module", @@ -31,7 +31,7 @@ { "type": "ExportNamedDeclaration", "start": 19, - "end": 200, + "end": 187, "loc": { "start": { "line": 4, @@ -39,7 +39,7 @@ }, "end": { "line": 10, - "column": 1 + "column": 2 } }, "specifiers": [], @@ -47,7 +47,7 @@ "declaration": { "type": "VariableDeclaration", "start": 26, - "end": 200, + "end": 187, "loc": { "start": { "line": 4, @@ -55,14 +55,14 @@ }, "end": { "line": 10, - "column": 1 + "column": 2 } }, "declarations": [ { "type": "VariableDeclarator", "start": 32, - "end": 200, + "end": 186, "loc": { "start": { "line": 4, @@ -94,7 +94,7 @@ "init": { "type": "ArrowFunctionExpression", "start": 43, - "end": 200, + "end": 186, "loc": { "start": { "line": 4, @@ -129,16 +129,16 @@ "params": [ { "type": "Identifier", - "start": 44, - "end": 49, + "start": 43, + "end": 48, "loc": { "start": { "line": 4, - "column": 25 + "column": 24 }, "end": { "line": 4, - "column": 30 + "column": 29 }, "identifierName": "error" }, @@ -147,12 +147,12 @@ ], "body": { "type": "BlockStatement", - "start": 54, - "end": 200, + "start": 52, + "end": 186, "loc": { "start": { "line": 4, - "column": 35 + "column": 33 }, "end": { "line": 10, @@ -162,44 +162,44 @@ "body": [ { "type": "IfStatement", - "start": 60, - "end": 198, + "start": 56, + "end": 184, "loc": { "start": { "line": 5, - "column": 4 + "column": 2 }, "end": { "line": 9, - "column": 5 + "column": 3 } }, "test": { "type": "MemberExpression", - "start": 64, - "end": 78, + "start": 60, + "end": 74, "loc": { "start": { "line": 5, - "column": 8 + "column": 6 }, "end": { "line": 5, - "column": 22 + "column": 20 } }, "object": { "type": "Identifier", - "start": 64, - "end": 69, + "start": 60, + "end": 65, "loc": { "start": { "line": 5, - "column": 8 + "column": 6 }, "end": { "line": 5, - "column": 13 + "column": 11 }, "identifierName": "error" }, @@ -207,16 +207,16 @@ }, "property": { "type": "Identifier", - "start": 70, - "end": 78, + "start": 66, + "end": 74, "loc": { "start": { "line": 5, - "column": 14 + "column": 12 }, "end": { "line": 5, - "column": 22 + "column": 20 }, "identifierName": "response" }, @@ -226,59 +226,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 80, - "end": 146, + "start": 76, + "end": 137, "loc": { "start": { "line": 5, - "column": 24 + "column": 22 }, "end": { "line": 7, - "column": 5 + "column": 3 } }, "body": [ { "type": "ThrowStatement", - "start": 90, - "end": 140, + "start": 82, + "end": 133, "loc": { "start": { "line": 6, - "column": 8 + "column": 4 }, "end": { "line": 6, - "column": 58 + "column": 55 } }, "argument": { "type": "NewExpression", - "start": 96, - "end": 140, + "start": 88, + "end": 132, "loc": { "start": { "line": 6, - "column": 14 + "column": 10 }, "end": { "line": 6, - "column": 58 + "column": 54 } }, "callee": { "type": "Identifier", - "start": 100, - "end": 105, + "start": 92, + "end": 97, "loc": { "start": { "line": 6, - "column": 18 + "column": 14 }, "end": { "line": 6, - "column": 23 + "column": 19 }, "identifierName": "Error" }, @@ -287,72 +287,72 @@ "arguments": [ { "type": "MemberExpression", - "start": 106, - "end": 139, + "start": 98, + "end": 131, "loc": { "start": { "line": 6, - "column": 24 + "column": 20 }, "end": { "line": 6, - "column": 57 + "column": 53 } }, "object": { "type": "MemberExpression", - "start": 106, - "end": 131, + "start": 98, + "end": 123, "loc": { "start": { "line": 6, - "column": 24 + "column": 20 }, "end": { "line": 6, - "column": 49 + "column": 45 } }, "object": { "type": "MemberExpression", - "start": 106, - "end": 125, + "start": 98, + "end": 117, "loc": { "start": { "line": 6, - "column": 24 + "column": 20 }, "end": { "line": 6, - "column": 43 + "column": 39 } }, "object": { "type": "MemberExpression", - "start": 106, - "end": 120, + "start": 98, + "end": 112, "loc": { "start": { "line": 6, - "column": 24 + "column": 20 }, "end": { "line": 6, - "column": 38 + "column": 34 } }, "object": { "type": "Identifier", - "start": 106, - "end": 111, + "start": 98, + "end": 103, "loc": { "start": { "line": 6, - "column": 24 + "column": 20 }, "end": { "line": 6, - "column": 29 + "column": 25 }, "identifierName": "error" }, @@ -360,16 +360,16 @@ }, "property": { "type": "Identifier", - "start": 112, - "end": 120, + "start": 104, + "end": 112, "loc": { "start": { "line": 6, - "column": 30 + "column": 26 }, "end": { "line": 6, - "column": 38 + "column": 34 }, "identifierName": "response" }, @@ -379,16 +379,16 @@ }, "property": { "type": "Identifier", - "start": 121, - "end": 125, + "start": 113, + "end": 117, "loc": { "start": { "line": 6, - "column": 39 + "column": 35 }, "end": { "line": 6, - "column": 43 + "column": 39 }, "identifierName": "data" }, @@ -398,16 +398,16 @@ }, "property": { "type": "Identifier", - "start": 126, - "end": 131, + "start": 118, + "end": 123, "loc": { "start": { "line": 6, - "column": 44 + "column": 40 }, "end": { "line": 6, - "column": 49 + "column": 45 }, "identifierName": "error" }, @@ -417,16 +417,16 @@ }, "property": { "type": "Identifier", - "start": 132, - "end": 139, + "start": 124, + "end": 131, "loc": { "start": { "line": 6, - "column": 50 + "column": 46 }, "end": { "line": 6, - "column": 57 + "column": 53 }, "identifierName": "message" }, @@ -442,59 +442,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 152, - "end": 198, + "start": 143, + "end": 184, "loc": { "start": { "line": 7, - "column": 11 + "column": 9 }, "end": { "line": 9, - "column": 5 + "column": 3 } }, "body": [ { "type": "ThrowStatement", - "start": 162, - "end": 192, + "start": 149, + "end": 180, "loc": { "start": { "line": 8, - "column": 8 + "column": 4 }, "end": { "line": 8, - "column": 38 + "column": 35 } }, "argument": { "type": "NewExpression", - "start": 168, - "end": 192, + "start": 155, + "end": 179, "loc": { "start": { "line": 8, - "column": 14 + "column": 10 }, "end": { "line": 8, - "column": 38 + "column": 34 } }, "callee": { "type": "Identifier", - "start": 172, - "end": 177, + "start": 159, + "end": 164, "loc": { "start": { "line": 8, - "column": 18 + "column": 14 }, "end": { "line": 8, - "column": 23 + "column": 19 }, "identifierName": "Error" }, @@ -503,30 +503,30 @@ "arguments": [ { "type": "MemberExpression", - "start": 178, - "end": 191, + "start": 165, + "end": 178, "loc": { "start": { "line": 8, - "column": 24 + "column": 20 }, "end": { "line": 8, - "column": 37 + "column": 33 } }, "object": { "type": "Identifier", - "start": 178, - "end": 183, + "start": 165, + "end": 170, "loc": { "start": { "line": 8, - "column": 24 + "column": 20 }, "end": { "line": 8, - "column": 29 + "column": 25 }, "identifierName": "error" }, @@ -534,16 +534,16 @@ }, "property": { "type": "Identifier", - "start": 184, - "end": 191, + "start": 171, + "end": 178, "loc": { "start": { "line": 8, - "column": 30 + "column": 26 }, "end": { "line": 8, - "column": 37 + "column": 33 }, "identifierName": "message" }, @@ -559,13 +559,10 @@ } } ], - "directives": [], - "trailingComments": null - }, - "trailingComments": null + "directives": [] + } }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null } ], "kind": "const", @@ -591,8 +588,8 @@ { "type": "CommentBlock", "value": "*\n * @ignore\n ", - "start": 202, - "end": 220, + "start": 189, + "end": 207, "loc": { "start": { "line": 12, @@ -628,8 +625,8 @@ { "type": "CommentBlock", "value": "*\n * @ignore\n ", - "start": 202, - "end": 220, + "start": 189, + "end": 207, "loc": { "start": { "line": 12, @@ -645,8 +642,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 221, - "end": 307, + "start": 208, + "end": 292, "loc": { "start": { "line": 15, @@ -654,15 +651,15 @@ }, "end": { "line": 17, - "column": 1 + "column": 2 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", - "start": 228, - "end": 307, + "start": 215, + "end": 292, "loc": { "start": { "line": 15, @@ -670,14 +667,14 @@ }, "end": { "line": 17, - "column": 1 + "column": 2 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 234, - "end": 307, + "start": 221, + "end": 291, "loc": { "start": { "line": 15, @@ -690,8 +687,8 @@ }, "id": { "type": "Identifier", - "start": 234, - "end": 243, + "start": 221, + "end": 230, "loc": { "start": { "line": 15, @@ -708,8 +705,8 @@ }, "init": { "type": "ArrowFunctionExpression", - "start": 246, - "end": 307, + "start": 233, + "end": 291, "loc": { "start": { "line": 15, @@ -722,8 +719,8 @@ }, "id": { "type": "Identifier", - "start": 234, - "end": 243, + "start": 221, + "end": 230, "loc": { "start": { "line": 15, @@ -744,16 +741,16 @@ "params": [ { "type": "Identifier", - "start": 247, - "end": 252, + "start": 233, + "end": 238, "loc": { "start": { "line": 15, - "column": 26 + "column": 25 }, "end": { "line": 15, - "column": 31 + "column": 30 }, "identifierName": "error" }, @@ -762,12 +759,12 @@ ], "body": { "type": "BlockStatement", - "start": 257, - "end": 307, + "start": 242, + "end": 291, "loc": { "start": { "line": 15, - "column": 36 + "column": 34 }, "end": { "line": 17, @@ -777,44 +774,44 @@ "body": [ { "type": "ThrowStatement", - "start": 263, - "end": 305, + "start": 246, + "end": 289, "loc": { "start": { "line": 16, - "column": 4 + "column": 2 }, "end": { "line": 16, - "column": 46 + "column": 45 } }, "argument": { "type": "NewExpression", - "start": 269, - "end": 305, + "start": 252, + "end": 288, "loc": { "start": { "line": 16, - "column": 10 + "column": 8 }, "end": { "line": 16, - "column": 46 + "column": 44 } }, "callee": { "type": "Identifier", - "start": 273, - "end": 278, + "start": 256, + "end": 261, "loc": { "start": { "line": 16, - "column": 14 + "column": 12 }, "end": { "line": 16, - "column": 19 + "column": 17 }, "identifierName": "Error" }, @@ -823,58 +820,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 279, - "end": 304, + "start": 262, + "end": 287, "loc": { "start": { "line": 16, - "column": 20 + "column": 18 }, "end": { "line": 16, - "column": 45 + "column": 43 } }, "object": { "type": "MemberExpression", - "start": 279, - "end": 298, + "start": 262, + "end": 281, "loc": { "start": { "line": 16, - "column": 20 + "column": 18 }, "end": { "line": 16, - "column": 39 + "column": 37 } }, "object": { "type": "MemberExpression", - "start": 279, - "end": 293, + "start": 262, + "end": 276, "loc": { "start": { "line": 16, - "column": 20 + "column": 18 }, "end": { "line": 16, - "column": 34 + "column": 32 } }, "object": { "type": "Identifier", - "start": 279, - "end": 284, + "start": 262, + "end": 267, "loc": { "start": { "line": 16, - "column": 20 + "column": 18 }, "end": { "line": 16, - "column": 25 + "column": 23 }, "identifierName": "error" }, @@ -882,16 +879,16 @@ }, "property": { "type": "Identifier", - "start": 285, - "end": 293, + "start": 268, + "end": 276, "loc": { "start": { "line": 16, - "column": 26 + "column": 24 }, "end": { "line": 16, - "column": 34 + "column": 32 }, "identifierName": "response" }, @@ -901,16 +898,16 @@ }, "property": { "type": "Identifier", - "start": 294, - "end": 298, + "start": 277, + "end": 281, "loc": { "start": { "line": 16, - "column": 35 + "column": 33 }, "end": { "line": 16, - "column": 39 + "column": 37 }, "identifierName": "data" }, @@ -920,16 +917,16 @@ }, "property": { "type": "Identifier", - "start": 299, - "end": 304, + "start": 282, + "end": 287, "loc": { "start": { "line": 16, - "column": 40 + "column": 38 }, "end": { "line": 16, - "column": 45 + "column": 43 }, "identifierName": "error" }, @@ -952,8 +949,8 @@ { "type": "CommentBlock", "value": "*\n * @ignore\n ", - "start": 202, - "end": 220, + "start": 189, + "end": 207, "loc": { "start": { "line": 12, @@ -972,8 +969,8 @@ { "type": "CommentBlock", "value": "*\n * @ignore\n ", - "start": 202, - "end": 220, + "start": 189, + "end": 207, "loc": { "start": { "line": 12, @@ -1010,8 +1007,8 @@ { "type": "CommentBlock", "value": "*\n * @ignore\n ", - "start": 202, - "end": 220, + "start": 189, + "end": 207, "loc": { "start": { "line": 12, @@ -1150,31 +1147,6 @@ } } }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 43, - "end": 44, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 25 - } - } - }, { "type": { "label": "name", @@ -1188,41 +1160,16 @@ "binop": null }, "value": "error", - "start": 44, - "end": 49, - "loc": { - "start": { - "line": 4, - "column": 25 - }, - "end": { - "line": 4, - "column": 30 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 49, - "end": 50, + "start": 43, + "end": 48, "loc": { "start": { "line": 4, - "column": 30 + "column": 24 }, "end": { "line": 4, - "column": 31 + "column": 29 } } }, @@ -1239,16 +1186,16 @@ "binop": null, "updateContext": null }, - "start": 51, - "end": 53, + "start": 49, + "end": 51, "loc": { "start": { "line": 4, - "column": 32 + "column": 30 }, "end": { "line": 4, - "column": 34 + "column": 32 } } }, @@ -1264,16 +1211,16 @@ "postfix": false, "binop": null }, - "start": 54, - "end": 55, + "start": 52, + "end": 53, "loc": { "start": { "line": 4, - "column": 35 + "column": 33 }, "end": { "line": 4, - "column": 36 + "column": 34 } } }, @@ -1292,16 +1239,16 @@ "updateContext": null }, "value": "if", - "start": 60, - "end": 62, + "start": 56, + "end": 58, "loc": { "start": { "line": 5, - "column": 4 + "column": 2 }, "end": { "line": 5, - "column": 6 + "column": 4 } } }, @@ -1317,16 +1264,16 @@ "postfix": false, "binop": null }, - "start": 63, - "end": 64, + "start": 59, + "end": 60, "loc": { "start": { "line": 5, - "column": 7 + "column": 5 }, "end": { "line": 5, - "column": 8 + "column": 6 } } }, @@ -1343,16 +1290,16 @@ "binop": null }, "value": "error", - "start": 64, - "end": 69, + "start": 60, + "end": 65, "loc": { "start": { "line": 5, - "column": 8 + "column": 6 }, "end": { "line": 5, - "column": 13 + "column": 11 } } }, @@ -1369,16 +1316,16 @@ "binop": null, "updateContext": null }, - "start": 69, - "end": 70, + "start": 65, + "end": 66, "loc": { "start": { "line": 5, - "column": 13 + "column": 11 }, "end": { "line": 5, - "column": 14 + "column": 12 } } }, @@ -1395,16 +1342,16 @@ "binop": null }, "value": "response", - "start": 70, - "end": 78, + "start": 66, + "end": 74, "loc": { "start": { "line": 5, - "column": 14 + "column": 12 }, "end": { "line": 5, - "column": 22 + "column": 20 } } }, @@ -1420,16 +1367,16 @@ "postfix": false, "binop": null }, - "start": 78, - "end": 79, + "start": 74, + "end": 75, "loc": { "start": { "line": 5, - "column": 22 + "column": 20 }, "end": { "line": 5, - "column": 23 + "column": 21 } } }, @@ -1445,16 +1392,16 @@ "postfix": false, "binop": null }, - "start": 80, - "end": 81, + "start": 76, + "end": 77, "loc": { "start": { "line": 5, - "column": 24 + "column": 22 }, "end": { "line": 5, - "column": 25 + "column": 23 } } }, @@ -1473,16 +1420,16 @@ "updateContext": null }, "value": "throw", - "start": 90, - "end": 95, + "start": 82, + "end": 87, "loc": { "start": { "line": 6, - "column": 8 + "column": 4 }, "end": { "line": 6, - "column": 13 + "column": 9 } } }, @@ -1501,16 +1448,16 @@ "updateContext": null }, "value": "new", - "start": 96, - "end": 99, + "start": 88, + "end": 91, "loc": { "start": { "line": 6, - "column": 14 + "column": 10 }, "end": { "line": 6, - "column": 17 + "column": 13 } } }, @@ -1527,16 +1474,16 @@ "binop": null }, "value": "Error", - "start": 100, - "end": 105, + "start": 92, + "end": 97, "loc": { "start": { "line": 6, - "column": 18 + "column": 14 }, "end": { "line": 6, - "column": 23 + "column": 19 } } }, @@ -1552,16 +1499,16 @@ "postfix": false, "binop": null }, - "start": 105, - "end": 106, + "start": 97, + "end": 98, "loc": { "start": { "line": 6, - "column": 23 + "column": 19 }, "end": { "line": 6, - "column": 24 + "column": 20 } } }, @@ -1578,16 +1525,16 @@ "binop": null }, "value": "error", - "start": 106, - "end": 111, + "start": 98, + "end": 103, "loc": { "start": { "line": 6, - "column": 24 + "column": 20 }, "end": { "line": 6, - "column": 29 + "column": 25 } } }, @@ -1604,16 +1551,16 @@ "binop": null, "updateContext": null }, - "start": 111, - "end": 112, + "start": 103, + "end": 104, "loc": { "start": { "line": 6, - "column": 29 + "column": 25 }, "end": { "line": 6, - "column": 30 + "column": 26 } } }, @@ -1630,16 +1577,16 @@ "binop": null }, "value": "response", - "start": 112, - "end": 120, + "start": 104, + "end": 112, "loc": { "start": { "line": 6, - "column": 30 + "column": 26 }, "end": { "line": 6, - "column": 38 + "column": 34 } } }, @@ -1656,16 +1603,16 @@ "binop": null, "updateContext": null }, - "start": 120, - "end": 121, + "start": 112, + "end": 113, "loc": { "start": { "line": 6, - "column": 38 + "column": 34 }, "end": { "line": 6, - "column": 39 + "column": 35 } } }, @@ -1682,16 +1629,16 @@ "binop": null }, "value": "data", - "start": 121, - "end": 125, + "start": 113, + "end": 117, "loc": { "start": { "line": 6, - "column": 39 + "column": 35 }, "end": { "line": 6, - "column": 43 + "column": 39 } } }, @@ -1708,16 +1655,16 @@ "binop": null, "updateContext": null }, - "start": 125, - "end": 126, + "start": 117, + "end": 118, "loc": { "start": { "line": 6, - "column": 43 + "column": 39 }, "end": { "line": 6, - "column": 44 + "column": 40 } } }, @@ -1734,16 +1681,16 @@ "binop": null }, "value": "error", - "start": 126, - "end": 131, + "start": 118, + "end": 123, "loc": { "start": { "line": 6, - "column": 44 + "column": 40 }, "end": { "line": 6, - "column": 49 + "column": 45 } } }, @@ -1760,16 +1707,16 @@ "binop": null, "updateContext": null }, - "start": 131, - "end": 132, + "start": 123, + "end": 124, "loc": { "start": { "line": 6, - "column": 49 + "column": 45 }, "end": { "line": 6, - "column": 50 + "column": 46 } } }, @@ -1786,16 +1733,16 @@ "binop": null }, "value": "message", - "start": 132, - "end": 139, + "start": 124, + "end": 131, "loc": { "start": { "line": 6, - "column": 50 + "column": 46 }, "end": { "line": 6, - "column": 57 + "column": 53 } } }, @@ -1811,16 +1758,42 @@ "postfix": false, "binop": null }, - "start": 139, - "end": 140, + "start": 131, + "end": 132, + "loc": { + "start": { + "line": 6, + "column": 53 + }, + "end": { + "line": 6, + "column": 54 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 132, + "end": 133, "loc": { "start": { "line": 6, - "column": 57 + "column": 54 }, "end": { "line": 6, - "column": 58 + "column": 55 } } }, @@ -1836,16 +1809,16 @@ "postfix": false, "binop": null }, - "start": 145, - "end": 146, + "start": 136, + "end": 137, "loc": { "start": { "line": 7, - "column": 4 + "column": 2 }, "end": { "line": 7, - "column": 5 + "column": 3 } } }, @@ -1864,16 +1837,16 @@ "updateContext": null }, "value": "else", - "start": 147, - "end": 151, + "start": 138, + "end": 142, "loc": { "start": { "line": 7, - "column": 6 + "column": 4 }, "end": { "line": 7, - "column": 10 + "column": 8 } } }, @@ -1889,16 +1862,16 @@ "postfix": false, "binop": null }, - "start": 152, - "end": 153, + "start": 143, + "end": 144, "loc": { "start": { "line": 7, - "column": 11 + "column": 9 }, "end": { "line": 7, - "column": 12 + "column": 10 } } }, @@ -1917,16 +1890,16 @@ "updateContext": null }, "value": "throw", - "start": 162, - "end": 167, + "start": 149, + "end": 154, "loc": { "start": { "line": 8, - "column": 8 + "column": 4 }, "end": { "line": 8, - "column": 13 + "column": 9 } } }, @@ -1945,16 +1918,16 @@ "updateContext": null }, "value": "new", - "start": 168, - "end": 171, + "start": 155, + "end": 158, "loc": { "start": { "line": 8, - "column": 14 + "column": 10 }, "end": { "line": 8, - "column": 17 + "column": 13 } } }, @@ -1971,16 +1944,16 @@ "binop": null }, "value": "Error", - "start": 172, - "end": 177, + "start": 159, + "end": 164, "loc": { "start": { "line": 8, - "column": 18 + "column": 14 }, "end": { "line": 8, - "column": 23 + "column": 19 } } }, @@ -1996,16 +1969,16 @@ "postfix": false, "binop": null }, - "start": 177, - "end": 178, + "start": 164, + "end": 165, "loc": { "start": { "line": 8, - "column": 23 + "column": 19 }, "end": { "line": 8, - "column": 24 + "column": 20 } } }, @@ -2022,16 +1995,16 @@ "binop": null }, "value": "error", - "start": 178, - "end": 183, + "start": 165, + "end": 170, "loc": { "start": { "line": 8, - "column": 24 + "column": 20 }, "end": { "line": 8, - "column": 29 + "column": 25 } } }, @@ -2048,16 +2021,16 @@ "binop": null, "updateContext": null }, - "start": 183, - "end": 184, + "start": 170, + "end": 171, "loc": { "start": { "line": 8, - "column": 29 + "column": 25 }, "end": { "line": 8, - "column": 30 + "column": 26 } } }, @@ -2074,16 +2047,16 @@ "binop": null }, "value": "message", - "start": 184, - "end": 191, + "start": 171, + "end": 178, "loc": { "start": { "line": 8, - "column": 30 + "column": 26 }, "end": { "line": 8, - "column": 37 + "column": 33 } } }, @@ -2099,16 +2072,42 @@ "postfix": false, "binop": null }, - "start": 191, - "end": 192, + "start": 178, + "end": 179, "loc": { "start": { "line": 8, - "column": 37 + "column": 33 }, "end": { "line": 8, - "column": 38 + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 179, + "end": 180, + "loc": { + "start": { + "line": 8, + "column": 34 + }, + "end": { + "line": 8, + "column": 35 } } }, @@ -2124,16 +2123,16 @@ "postfix": false, "binop": null }, - "start": 197, - "end": 198, + "start": 183, + "end": 184, "loc": { "start": { "line": 9, - "column": 4 + "column": 2 }, "end": { "line": 9, - "column": 5 + "column": 3 } } }, @@ -2149,8 +2148,8 @@ "postfix": false, "binop": null }, - "start": 199, - "end": 200, + "start": 185, + "end": 186, "loc": { "start": { "line": 10, @@ -2162,11 +2161,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 186, + "end": 187, + "loc": { + "start": { + "line": 10, + "column": 1 + }, + "end": { + "line": 10, + "column": 2 + } + } + }, { "type": "CommentBlock", "value": "*\n * @ignore\n ", - "start": 202, - "end": 220, + "start": 189, + "end": 207, "loc": { "start": { "line": 12, @@ -2193,8 +2218,8 @@ "updateContext": null }, "value": "export", - "start": 221, - "end": 227, + "start": 208, + "end": 214, "loc": { "start": { "line": 15, @@ -2221,8 +2246,8 @@ "updateContext": null }, "value": "const", - "start": 228, - "end": 233, + "start": 215, + "end": 220, "loc": { "start": { "line": 15, @@ -2247,8 +2272,8 @@ "binop": null }, "value": "authError", - "start": 234, - "end": 243, + "start": 221, + "end": 230, "loc": { "start": { "line": 15, @@ -2274,8 +2299,8 @@ "updateContext": null }, "value": "=", - "start": 244, - "end": 245, + "start": 231, + "end": 232, "loc": { "start": { "line": 15, @@ -2287,31 +2312,6 @@ } } }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 246, - "end": 247, - "loc": { - "start": { - "line": 15, - "column": 25 - }, - "end": { - "line": 15, - "column": 26 - } - } - }, { "type": { "label": "name", @@ -2325,41 +2325,16 @@ "binop": null }, "value": "error", - "start": 247, - "end": 252, + "start": 233, + "end": 238, "loc": { "start": { "line": 15, - "column": 26 - }, - "end": { - "line": 15, - "column": 31 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 252, - "end": 253, - "loc": { - "start": { - "line": 15, - "column": 31 + "column": 25 }, "end": { "line": 15, - "column": 32 + "column": 30 } } }, @@ -2376,16 +2351,16 @@ "binop": null, "updateContext": null }, - "start": 254, - "end": 256, + "start": 239, + "end": 241, "loc": { "start": { "line": 15, - "column": 33 + "column": 31 }, "end": { "line": 15, - "column": 35 + "column": 33 } } }, @@ -2401,16 +2376,16 @@ "postfix": false, "binop": null }, - "start": 257, - "end": 258, + "start": 242, + "end": 243, "loc": { "start": { "line": 15, - "column": 36 + "column": 34 }, "end": { "line": 15, - "column": 37 + "column": 35 } } }, @@ -2429,16 +2404,16 @@ "updateContext": null }, "value": "throw", - "start": 263, - "end": 268, + "start": 246, + "end": 251, "loc": { "start": { "line": 16, - "column": 4 + "column": 2 }, "end": { "line": 16, - "column": 9 + "column": 7 } } }, @@ -2457,16 +2432,16 @@ "updateContext": null }, "value": "new", - "start": 269, - "end": 272, + "start": 252, + "end": 255, "loc": { "start": { "line": 16, - "column": 10 + "column": 8 }, "end": { "line": 16, - "column": 13 + "column": 11 } } }, @@ -2483,16 +2458,16 @@ "binop": null }, "value": "Error", - "start": 273, - "end": 278, + "start": 256, + "end": 261, "loc": { "start": { "line": 16, - "column": 14 + "column": 12 }, "end": { "line": 16, - "column": 19 + "column": 17 } } }, @@ -2508,16 +2483,16 @@ "postfix": false, "binop": null }, - "start": 278, - "end": 279, + "start": 261, + "end": 262, "loc": { "start": { "line": 16, - "column": 19 + "column": 17 }, "end": { "line": 16, - "column": 20 + "column": 18 } } }, @@ -2534,16 +2509,16 @@ "binop": null }, "value": "error", - "start": 279, - "end": 284, + "start": 262, + "end": 267, "loc": { "start": { "line": 16, - "column": 20 + "column": 18 }, "end": { "line": 16, - "column": 25 + "column": 23 } } }, @@ -2560,16 +2535,16 @@ "binop": null, "updateContext": null }, - "start": 284, - "end": 285, + "start": 267, + "end": 268, "loc": { "start": { "line": 16, - "column": 25 + "column": 23 }, "end": { "line": 16, - "column": 26 + "column": 24 } } }, @@ -2586,16 +2561,16 @@ "binop": null }, "value": "response", - "start": 285, - "end": 293, + "start": 268, + "end": 276, "loc": { "start": { "line": 16, - "column": 26 + "column": 24 }, "end": { "line": 16, - "column": 34 + "column": 32 } } }, @@ -2612,16 +2587,16 @@ "binop": null, "updateContext": null }, - "start": 293, - "end": 294, + "start": 276, + "end": 277, "loc": { "start": { "line": 16, - "column": 34 + "column": 32 }, "end": { "line": 16, - "column": 35 + "column": 33 } } }, @@ -2638,16 +2613,16 @@ "binop": null }, "value": "data", - "start": 294, - "end": 298, + "start": 277, + "end": 281, "loc": { "start": { "line": 16, - "column": 35 + "column": 33 }, "end": { "line": 16, - "column": 39 + "column": 37 } } }, @@ -2664,16 +2639,16 @@ "binop": null, "updateContext": null }, - "start": 298, - "end": 299, + "start": 281, + "end": 282, "loc": { "start": { "line": 16, - "column": 39 + "column": 37 }, "end": { "line": 16, - "column": 40 + "column": 38 } } }, @@ -2690,16 +2665,16 @@ "binop": null }, "value": "error", - "start": 299, - "end": 304, + "start": 282, + "end": 287, "loc": { "start": { "line": 16, - "column": 40 + "column": 38 }, "end": { "line": 16, - "column": 45 + "column": 43 } } }, @@ -2715,16 +2690,42 @@ "postfix": false, "binop": null }, - "start": 304, - "end": 305, + "start": 287, + "end": 288, "loc": { "start": { "line": 16, - "column": 45 + "column": 43 }, "end": { "line": 16, - "column": 46 + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 288, + "end": 289, + "loc": { + "start": { + "line": 16, + "column": 44 + }, + "end": { + "line": 16, + "column": 45 } } }, @@ -2740,8 +2741,8 @@ "postfix": false, "binop": null }, - "start": 306, - "end": 307, + "start": 290, + "end": 291, "loc": { "start": { "line": 17, @@ -2755,8 +2756,8 @@ }, { "type": { - "label": "eof", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -2766,8 +2767,8 @@ "binop": null, "updateContext": null }, - "start": 307, - "end": 307, + "start": 291, + "end": 292, "loc": { "start": { "line": 17, @@ -2775,7 +2776,33 @@ }, "end": { "line": 17, - "column": 1 + "column": 2 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 293, + "end": 293, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 0 } } } diff --git a/docs/ast/source/SDK.js.json b/docs/ast/source/index.js.json similarity index 80% rename from docs/ast/source/SDK.js.json rename to docs/ast/source/index.js.json index 5cfac56..c3470eb 100644 --- a/docs/ast/source/SDK.js.json +++ b/docs/ast/source/index.js.json @@ -1,29 +1,29 @@ { "type": "File", "start": 0, - "end": 84, + "end": 91, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 40 + "line": 3, + "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 84, + "end": 91, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 40 + "line": 3, + "column": 0 } }, "sourceType": "module", @@ -31,7 +31,7 @@ { "type": "ExportNamedDeclaration", "start": 0, - "end": 43, + "end": 46, "loc": { "start": { "line": 1, @@ -39,37 +39,37 @@ }, "end": { "line": 1, - "column": 43 + "column": 46 } }, "declaration": null, "specifiers": [ { "type": "ExportSpecifier", - "start": 8, - "end": 23, + "start": 9, + "end": 24, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 23 + "column": 24 } }, "local": { "type": "Identifier", - "start": 8, - "end": 15, + "start": 9, + "end": 16, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 15 + "column": 16 }, "identifierName": "default" }, @@ -77,16 +77,16 @@ }, "exported": { "type": "Identifier", - "start": 19, - "end": 23, + "start": 20, + "end": 24, "loc": { "start": { "line": 1, - "column": 19 + "column": 20 }, "end": { "line": 1, - "column": 23 + "column": 24 }, "identifierName": "Auth" }, @@ -96,16 +96,16 @@ ], "source": { "type": "StringLiteral", - "start": 30, - "end": 43, + "start": 32, + "end": 45, "loc": { "start": { "line": 1, - "column": 30 + "column": 32 }, "end": { "line": 1, - "column": 43 + "column": 45 } }, "extra": { @@ -117,8 +117,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 44, - "end": 84, + "start": 47, + "end": 90, "loc": { "start": { "line": 2, @@ -126,37 +126,37 @@ }, "end": { "line": 2, - "column": 40 + "column": 43 } }, "declaration": null, "specifiers": [ { "type": "ExportSpecifier", - "start": 52, - "end": 66, + "start": 56, + "end": 70, "loc": { "start": { "line": 2, - "column": 8 + "column": 9 }, "end": { "line": 2, - "column": 22 + "column": 23 } }, "local": { "type": "Identifier", - "start": 52, - "end": 59, + "start": 56, + "end": 63, "loc": { "start": { "line": 2, - "column": 8 + "column": 9 }, "end": { "line": 2, - "column": 15 + "column": 16 }, "identifierName": "default" }, @@ -164,16 +164,16 @@ }, "exported": { "type": "Identifier", - "start": 63, - "end": 66, + "start": 67, + "end": 70, "loc": { "start": { "line": 2, - "column": 19 + "column": 20 }, "end": { "line": 2, - "column": 22 + "column": 23 }, "identifierName": "Api" }, @@ -183,16 +183,16 @@ ], "source": { "type": "StringLiteral", - "start": 73, - "end": 84, + "start": 78, + "end": 89, "loc": { "start": { "line": 2, - "column": 29 + "column": 31 }, "end": { "line": 2, - "column": 40 + "column": 42 } }, "extra": { @@ -275,16 +275,16 @@ "updateContext": null }, "value": "default", - "start": 8, - "end": 15, + "start": 9, + "end": 16, "loc": { "start": { "line": 1, - "column": 8 + "column": 9 }, "end": { "line": 1, - "column": 15 + "column": 16 } } }, @@ -301,16 +301,16 @@ "binop": null }, "value": "as", - "start": 16, - "end": 18, + "start": 17, + "end": 19, "loc": { "start": { "line": 1, - "column": 16 + "column": 17 }, "end": { "line": 1, - "column": 18 + "column": 19 } } }, @@ -327,16 +327,16 @@ "binop": null }, "value": "Auth", - "start": 19, - "end": 23, + "start": 20, + "end": 24, "loc": { "start": { "line": 1, - "column": 19 + "column": 20 }, "end": { "line": 1, - "column": 23 + "column": 24 } } }, @@ -352,16 +352,16 @@ "postfix": false, "binop": null }, - "start": 23, - "end": 24, + "start": 25, + "end": 26, "loc": { "start": { "line": 1, - "column": 23 + "column": 25 }, "end": { "line": 1, - "column": 24 + "column": 26 } } }, @@ -378,16 +378,16 @@ "binop": null }, "value": "from", - "start": 25, - "end": 29, + "start": 27, + "end": 31, "loc": { "start": { "line": 1, - "column": 25 + "column": 27 }, "end": { "line": 1, - "column": 29 + "column": 31 } } }, @@ -405,16 +405,42 @@ "updateContext": null }, "value": "./auth/Auth", - "start": 30, - "end": 43, + "start": 32, + "end": 45, "loc": { "start": { "line": 1, - "column": 30 + "column": 32 }, "end": { "line": 1, - "column": 43 + "column": 45 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 45, + "end": 46, + "loc": { + "start": { + "line": 1, + "column": 45 + }, + "end": { + "line": 1, + "column": 46 } } }, @@ -433,8 +459,8 @@ "updateContext": null }, "value": "export", - "start": 44, - "end": 50, + "start": 47, + "end": 53, "loc": { "start": { "line": 2, @@ -458,8 +484,8 @@ "postfix": false, "binop": null }, - "start": 51, - "end": 52, + "start": 54, + "end": 55, "loc": { "start": { "line": 2, @@ -486,16 +512,16 @@ "updateContext": null }, "value": "default", - "start": 52, - "end": 59, + "start": 56, + "end": 63, "loc": { "start": { "line": 2, - "column": 8 + "column": 9 }, "end": { "line": 2, - "column": 15 + "column": 16 } } }, @@ -512,16 +538,16 @@ "binop": null }, "value": "as", - "start": 60, - "end": 62, + "start": 64, + "end": 66, "loc": { "start": { "line": 2, - "column": 16 + "column": 17 }, "end": { "line": 2, - "column": 18 + "column": 19 } } }, @@ -538,16 +564,16 @@ "binop": null }, "value": "Api", - "start": 63, - "end": 66, + "start": 67, + "end": 70, "loc": { "start": { "line": 2, - "column": 19 + "column": 20 }, "end": { "line": 2, - "column": 22 + "column": 23 } } }, @@ -563,16 +589,16 @@ "postfix": false, "binop": null }, - "start": 66, - "end": 67, + "start": 71, + "end": 72, "loc": { "start": { "line": 2, - "column": 22 + "column": 24 }, "end": { "line": 2, - "column": 23 + "column": 25 } } }, @@ -589,16 +615,16 @@ "binop": null }, "value": "from", - "start": 68, - "end": 72, + "start": 73, + "end": 77, "loc": { "start": { "line": 2, - "column": 24 + "column": 26 }, "end": { "line": 2, - "column": 28 + "column": 30 } } }, @@ -616,23 +642,23 @@ "updateContext": null }, "value": "./api/Api", - "start": 73, - "end": 84, + "start": 78, + "end": 89, "loc": { "start": { "line": 2, - "column": 29 + "column": 31 }, "end": { "line": 2, - "column": 40 + "column": 42 } } }, { "type": { - "label": "eof", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -642,16 +668,42 @@ "binop": null, "updateContext": null }, - "start": 84, - "end": 84, + "start": 89, + "end": 90, "loc": { "start": { "line": 2, - "column": 40 + "column": 42 }, "end": { "line": 2, - "column": 40 + "column": 43 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 91, + "end": 91, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 0 } } } diff --git a/docs/ast/source/test/apitest.js.json b/docs/ast/source/test/apitest.js.json new file mode 100644 index 0000000..15fb269 --- /dev/null +++ b/docs/ast/source/test/apitest.js.json @@ -0,0 +1,127547 @@ +{ + "type": "File", + "start": 0, + "end": 24867, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 656, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 24867, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 656, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 0, + "end": 28, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 28 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 7, + "end": 13, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 13 + } + }, + "local": { + "type": "Identifier", + "start": 7, + "end": 13, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 13 + }, + "identifierName": "should" + }, + "name": "should" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 19, + "end": 27, + "loc": { + "start": { + "line": 1, + "column": 19 + }, + "end": { + "line": 1, + "column": 27 + } + }, + "extra": { + "rawValue": "should", + "raw": "'should'" + }, + "value": "should" + } + }, + { + "type": "ImportDeclaration", + "start": 29, + "end": 72, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 43 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 36, + "end": 46, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 17 + } + }, + "local": { + "type": "Identifier", + "start": 36, + "end": 46, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 17 + }, + "identifierName": "HttpClient" + }, + "name": "HttpClient" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 52, + "end": 71, + "loc": { + "start": { + "line": 2, + "column": 23 + }, + "end": { + "line": 2, + "column": 42 + } + }, + "extra": { + "rawValue": "../api/HttpClient", + "raw": "'../api/HttpClient'" + }, + "value": "../api/HttpClient" + } + }, + { + "type": "ImportDeclaration", + "start": 73, + "end": 122, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 49 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 80, + "end": 93, + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 20 + } + }, + "local": { + "type": "Identifier", + "start": 80, + "end": 93, + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 20 + }, + "identifierName": "SearchFetcher" + }, + "name": "SearchFetcher" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 99, + "end": 121, + "loc": { + "start": { + "line": 3, + "column": 26 + }, + "end": { + "line": 3, + "column": 48 + } + }, + "extra": { + "rawValue": "../api/SearchFetcher", + "raw": "'../api/SearchFetcher'" + }, + "value": "../api/SearchFetcher" + } + }, + { + "type": "ImportDeclaration", + "start": 123, + "end": 170, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 47 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 130, + "end": 142, + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 19 + } + }, + "local": { + "type": "Identifier", + "start": 130, + "end": 142, + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 19 + }, + "identifierName": "AlbumFetcher" + }, + "name": "AlbumFetcher" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 148, + "end": 169, + "loc": { + "start": { + "line": 4, + "column": 25 + }, + "end": { + "line": 4, + "column": 46 + } + }, + "extra": { + "rawValue": "../api/AlbumFetcher", + "raw": "'../api/AlbumFetcher'" + }, + "value": "../api/AlbumFetcher" + } + }, + { + "type": "ImportDeclaration", + "start": 171, + "end": 220, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 49 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 178, + "end": 191, + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 20 + } + }, + "local": { + "type": "Identifier", + "start": 178, + "end": 191, + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 20 + }, + "identifierName": "ArtistFetcher" + }, + "name": "ArtistFetcher" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 197, + "end": 219, + "loc": { + "start": { + "line": 5, + "column": 26 + }, + "end": { + "line": 5, + "column": 48 + } + }, + "extra": { + "rawValue": "../api/ArtistFetcher", + "raw": "'../api/ArtistFetcher'" + }, + "value": "../api/ArtistFetcher" + } + }, + { + "type": "ImportDeclaration", + "start": 221, + "end": 290, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 69 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 228, + "end": 251, + "loc": { + "start": { + "line": 6, + "column": 7 + }, + "end": { + "line": 6, + "column": 30 + } + }, + "local": { + "type": "Identifier", + "start": 228, + "end": 251, + "loc": { + "start": { + "line": 6, + "column": 7 + }, + "end": { + "line": 6, + "column": 30 + }, + "identifierName": "FeaturedPlaylistFetcher" + }, + "name": "FeaturedPlaylistFetcher" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 257, + "end": 289, + "loc": { + "start": { + "line": 6, + "column": 36 + }, + "end": { + "line": 6, + "column": 68 + } + }, + "extra": { + "rawValue": "../api/FeaturedPlaylistFetcher", + "raw": "'../api/FeaturedPlaylistFetcher'" + }, + "value": "../api/FeaturedPlaylistFetcher" + } + }, + { + "type": "ImportDeclaration", + "start": 291, + "end": 376, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 85 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 298, + "end": 329, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 38 + } + }, + "local": { + "type": "Identifier", + "start": 298, + "end": 329, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 38 + }, + "identifierName": "FeaturedPlaylistCategoryFetcher" + }, + "name": "FeaturedPlaylistCategoryFetcher" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 335, + "end": 375, + "loc": { + "start": { + "line": 7, + "column": 44 + }, + "end": { + "line": 7, + "column": 84 + } + }, + "extra": { + "rawValue": "../api/FeaturedPlaylistCategoryFetcher", + "raw": "'../api/FeaturedPlaylistCategoryFetcher'" + }, + "value": "../api/FeaturedPlaylistCategoryFetcher" + } + }, + { + "type": "ImportDeclaration", + "start": 377, + "end": 450, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 73 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 384, + "end": 409, + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 32 + } + }, + "local": { + "type": "Identifier", + "start": 384, + "end": 409, + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 32 + }, + "identifierName": "NewReleaseCategoryFetcher" + }, + "name": "NewReleaseCategoryFetcher" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 415, + "end": 449, + "loc": { + "start": { + "line": 8, + "column": 38 + }, + "end": { + "line": 8, + "column": 72 + } + }, + "extra": { + "rawValue": "../api/NewReleaseCategoryFetcher", + "raw": "'../api/NewReleaseCategoryFetcher'" + }, + "value": "../api/NewReleaseCategoryFetcher" + } + }, + { + "type": "ImportDeclaration", + "start": 451, + "end": 518, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 67 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 458, + "end": 480, + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 29 + } + }, + "local": { + "type": "Identifier", + "start": 458, + "end": 480, + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 29 + }, + "identifierName": "NewHitsPlaylistFetcher" + }, + "name": "NewHitsPlaylistFetcher" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 486, + "end": 517, + "loc": { + "start": { + "line": 9, + "column": 35 + }, + "end": { + "line": 9, + "column": 66 + } + }, + "extra": { + "rawValue": "../api/NewHitsPlaylistFetcher", + "raw": "'../api/NewHitsPlaylistFetcher'" + }, + "value": "../api/NewHitsPlaylistFetcher" + } + }, + { + "type": "ImportDeclaration", + "start": 519, + "end": 584, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 65 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 526, + "end": 547, + "loc": { + "start": { + "line": 10, + "column": 7 + }, + "end": { + "line": 10, + "column": 28 + } + }, + "local": { + "type": "Identifier", + "start": 526, + "end": 547, + "loc": { + "start": { + "line": 10, + "column": 7 + }, + "end": { + "line": 10, + "column": 28 + }, + "identifierName": "SharedPlaylistFetcher" + }, + "name": "SharedPlaylistFetcher" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 553, + "end": 583, + "loc": { + "start": { + "line": 10, + "column": 34 + }, + "end": { + "line": 10, + "column": 64 + } + }, + "extra": { + "rawValue": "../api/SharedPlaylistFetcher", + "raw": "'../api/SharedPlaylistFetcher'" + }, + "value": "../api/SharedPlaylistFetcher" + } + }, + { + "type": "ImportDeclaration", + "start": 585, + "end": 644, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 59 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 592, + "end": 610, + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 25 + } + }, + "local": { + "type": "Identifier", + "start": 592, + "end": 610, + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 25 + }, + "identifierName": "MoodStationFetcher" + }, + "name": "MoodStationFetcher" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 616, + "end": 643, + "loc": { + "start": { + "line": 11, + "column": 31 + }, + "end": { + "line": 11, + "column": 58 + } + }, + "extra": { + "rawValue": "../api/MoodStationFetcher", + "raw": "'../api/MoodStationFetcher'" + }, + "value": "../api/MoodStationFetcher" + } + }, + { + "type": "ImportDeclaration", + "start": 645, + "end": 706, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 12, + "column": 61 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 652, + "end": 671, + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 12, + "column": 26 + } + }, + "local": { + "type": "Identifier", + "start": 652, + "end": 671, + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 12, + "column": 26 + }, + "identifierName": "GenreStationFetcher" + }, + "name": "GenreStationFetcher" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 677, + "end": 705, + "loc": { + "start": { + "line": 12, + "column": 32 + }, + "end": { + "line": 12, + "column": 60 + } + }, + "extra": { + "rawValue": "../api/GenreStationFetcher", + "raw": "'../api/GenreStationFetcher'" + }, + "value": "../api/GenreStationFetcher" + } + }, + { + "type": "ImportDeclaration", + "start": 707, + "end": 754, + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 13, + "column": 47 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 714, + "end": 726, + "loc": { + "start": { + "line": 13, + "column": 7 + }, + "end": { + "line": 13, + "column": 19 + } + }, + "local": { + "type": "Identifier", + "start": 714, + "end": 726, + "loc": { + "start": { + "line": 13, + "column": 7 + }, + "end": { + "line": 13, + "column": 19 + }, + "identifierName": "ChartFetcher" + }, + "name": "ChartFetcher" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 732, + "end": 753, + "loc": { + "start": { + "line": 13, + "column": 25 + }, + "end": { + "line": 13, + "column": 46 + } + }, + "extra": { + "rawValue": "../api/ChartFetcher", + "raw": "'../api/ChartFetcher'" + }, + "value": "../api/ChartFetcher" + } + }, + { + "type": "ImportDeclaration", + "start": 755, + "end": 802, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 14, + "column": 47 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 762, + "end": 774, + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 19 + } + }, + "local": { + "type": "Identifier", + "start": 762, + "end": 774, + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 19 + }, + "identifierName": "TrackFetcher" + }, + "name": "TrackFetcher" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 780, + "end": 801, + "loc": { + "start": { + "line": 14, + "column": 25 + }, + "end": { + "line": 14, + "column": 46 + } + }, + "extra": { + "rawValue": "../api/TrackFetcher", + "raw": "'../api/TrackFetcher'" + }, + "value": "../api/TrackFetcher" + } + }, + { + "type": "ImportDeclaration", + "start": 803, + "end": 851, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 15, + "column": 48 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 810, + "end": 822, + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 19 + } + }, + "local": { + "type": "Identifier", + "start": 810, + "end": 822, + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 19 + }, + "identifierName": "TokenFetcher" + }, + "name": "TokenFetcher" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 828, + "end": 850, + "loc": { + "start": { + "line": 15, + "column": 25 + }, + "end": { + "line": 15, + "column": 47 + } + }, + "extra": { + "rawValue": "../auth/TokenFetcher", + "raw": "'../auth/TokenFetcher'" + }, + "value": "../auth/TokenFetcher" + } + }, + { + "type": "ImportDeclaration", + "start": 852, + "end": 914, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 16, + "column": 62 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 859, + "end": 876, + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 16, + "column": 24 + } + }, + "local": { + "type": "Identifier", + "start": 859, + "end": 876, + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 16, + "column": 24 + }, + "identifierName": "ClientCredentials" + }, + "name": "ClientCredentials" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 882, + "end": 913, + "loc": { + "start": { + "line": 16, + "column": 30 + }, + "end": { + "line": 16, + "column": 61 + } + }, + "extra": { + "rawValue": "../auth/ClientCredentialsFlow", + "raw": "'../auth/ClientCredentialsFlow'" + }, + "value": "../auth/ClientCredentialsFlow" + } + }, + { + "type": "ImportDeclaration", + "start": 915, + "end": 969, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 54 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 924, + "end": 933, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 18 + } + }, + "imported": { + "type": "Identifier", + "start": 924, + "end": 933, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 18 + }, + "identifierName": "kkbox_sdk" + }, + "name": "kkbox_sdk" + }, + "local": { + "type": "Identifier", + "start": 924, + "end": 933, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 18 + }, + "identifierName": "kkbox_sdk" + }, + "name": "kkbox_sdk" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 941, + "end": 968, + "loc": { + "start": { + "line": 17, + "column": 26 + }, + "end": { + "line": 17, + "column": 53 + } + }, + "extra": { + "rawValue": "../../client_secrets.json", + "raw": "'../../client_secrets.json'" + }, + "value": "../../client_secrets.json" + } + }, + { + "type": "VariableDeclaration", + "start": 970, + "end": 1008, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 38 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 976, + "end": 1007, + "loc": { + "start": { + "line": 18, + "column": 6 + }, + "end": { + "line": 18, + "column": 37 + } + }, + "id": { + "type": "Identifier", + "start": 976, + "end": 985, + "loc": { + "start": { + "line": 18, + "column": 6 + }, + "end": { + "line": 18, + "column": 15 + }, + "identifierName": "CLIENT_ID" + }, + "name": "CLIENT_ID" + }, + "init": { + "type": "MemberExpression", + "start": 988, + "end": 1007, + "loc": { + "start": { + "line": 18, + "column": 18 + }, + "end": { + "line": 18, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 988, + "end": 997, + "loc": { + "start": { + "line": 18, + "column": 18 + }, + "end": { + "line": 18, + "column": 27 + }, + "identifierName": "kkbox_sdk" + }, + "name": "kkbox_sdk" + }, + "property": { + "type": "Identifier", + "start": 998, + "end": 1007, + "loc": { + "start": { + "line": 18, + "column": 28 + }, + "end": { + "line": 18, + "column": 37 + }, + "identifierName": "client_id" + }, + "name": "client_id" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 1009, + "end": 1055, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 46 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1015, + "end": 1054, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 45 + } + }, + "id": { + "type": "Identifier", + "start": 1015, + "end": 1028, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 19 + }, + "identifierName": "CLIENT_SECRET" + }, + "name": "CLIENT_SECRET" + }, + "init": { + "type": "MemberExpression", + "start": 1031, + "end": 1054, + "loc": { + "start": { + "line": 19, + "column": 22 + }, + "end": { + "line": 19, + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 1031, + "end": 1040, + "loc": { + "start": { + "line": 19, + "column": 22 + }, + "end": { + "line": 19, + "column": 31 + }, + "identifierName": "kkbox_sdk" + }, + "name": "kkbox_sdk" + }, + "property": { + "type": "Identifier", + "start": 1041, + "end": 1054, + "loc": { + "start": { + "line": 19, + "column": 32 + }, + "end": { + "line": 19, + "column": 45 + }, + "identifierName": "client_secret" + }, + "name": "client_secret" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 1057, + "end": 24866, + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 655, + "column": 3 + } + }, + "expression": { + "type": "CallExpression", + "start": 1057, + "end": 24865, + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 655, + "column": 2 + } + }, + "callee": { + "type": "Identifier", + "start": 1057, + "end": 1065, + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 21, + "column": 8 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1066, + "end": 1085, + "loc": { + "start": { + "line": 21, + "column": 9 + }, + "end": { + "line": 21, + "column": 28 + } + }, + "extra": { + "rawValue": "Api Begin to Test", + "raw": "'Api Begin to Test'" + }, + "value": "Api Begin to Test" + }, + { + "type": "ArrowFunctionExpression", + "start": 1087, + "end": 24864, + "loc": { + "start": { + "line": 21, + "column": 30 + }, + "end": { + "line": 655, + "column": 1 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1093, + "end": 24864, + "loc": { + "start": { + "line": 21, + "column": 36 + }, + "end": { + "line": 655, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1097, + "end": 24862, + "loc": { + "start": { + "line": 22, + "column": 2 + }, + "end": { + "line": 654, + "column": 5 + } + }, + "expression": { + "type": "CallExpression", + "start": 1097, + "end": 24861, + "loc": { + "start": { + "line": 22, + "column": 2 + }, + "end": { + "line": 654, + "column": 4 + } + }, + "callee": { + "type": "Identifier", + "start": 1097, + "end": 1105, + "loc": { + "start": { + "line": 22, + "column": 2 + }, + "end": { + "line": 22, + "column": 10 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1106, + "end": 1125, + "loc": { + "start": { + "line": 22, + "column": 11 + }, + "end": { + "line": 22, + "column": 30 + } + }, + "extra": { + "rawValue": "ClientCredentials", + "raw": "'ClientCredentials'" + }, + "value": "ClientCredentials" + }, + { + "type": "ArrowFunctionExpression", + "start": 1127, + "end": 24860, + "loc": { + "start": { + "line": 22, + "column": 32 + }, + "end": { + "line": 654, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1133, + "end": 24860, + "loc": { + "start": { + "line": 22, + "column": 38 + }, + "end": { + "line": 654, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1139, + "end": 24856, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 653, + "column": 7 + } + }, + "expression": { + "type": "CallExpression", + "start": 1139, + "end": 24855, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 653, + "column": 6 + } + }, + "callee": { + "type": "Identifier", + "start": 1139, + "end": 1147, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 12 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1148, + "end": 1175, + "loc": { + "start": { + "line": 23, + "column": 13 + }, + "end": { + "line": 23, + "column": 40 + } + }, + "extra": { + "rawValue": "#fetch the access token()", + "raw": "'#fetch the access token()'" + }, + "value": "#fetch the access token()" + }, + { + "type": "ArrowFunctionExpression", + "start": 1177, + "end": 24854, + "loc": { + "start": { + "line": 23, + "column": 42 + }, + "end": { + "line": 653, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1183, + "end": 24854, + "loc": { + "start": { + "line": 23, + "column": 48 + }, + "end": { + "line": 653, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1191, + "end": 24848, + "loc": { + "start": { + "line": 24, + "column": 6 + }, + "end": { + "line": 652, + "column": 9 + } + }, + "expression": { + "type": "CallExpression", + "start": 1191, + "end": 24847, + "loc": { + "start": { + "line": 24, + "column": 6 + }, + "end": { + "line": 652, + "column": 8 + } + }, + "callee": { + "type": "Identifier", + "start": 1191, + "end": 1193, + "loc": { + "start": { + "line": 24, + "column": 6 + }, + "end": { + "line": 24, + "column": 8 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1194, + "end": 1221, + "loc": { + "start": { + "line": 24, + "column": 9 + }, + "end": { + "line": 24, + "column": 36 + } + }, + "extra": { + "rawValue": "should fetch access token", + "raw": "'should fetch access token'" + }, + "value": "should fetch access token" + }, + { + "type": "ArrowFunctionExpression", + "start": 1223, + "end": 24846, + "loc": { + "start": { + "line": 24, + "column": 38 + }, + "end": { + "line": 652, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1229, + "end": 24846, + "loc": { + "start": { + "line": 24, + "column": 44 + }, + "end": { + "line": 652, + "column": 7 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 1239, + "end": 1303, + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 25, + "column": 72 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1245, + "end": 1302, + "loc": { + "start": { + "line": 25, + "column": 14 + }, + "end": { + "line": 25, + "column": 71 + } + }, + "id": { + "type": "Identifier", + "start": 1245, + "end": 1257, + "loc": { + "start": { + "line": 25, + "column": 14 + }, + "end": { + "line": 25, + "column": 26 + }, + "identifierName": "tokenFetcher" + }, + "name": "tokenFetcher" + }, + "init": { + "type": "NewExpression", + "start": 1260, + "end": 1302, + "loc": { + "start": { + "line": 25, + "column": 29 + }, + "end": { + "line": 25, + "column": 71 + } + }, + "callee": { + "type": "Identifier", + "start": 1264, + "end": 1276, + "loc": { + "start": { + "line": 25, + "column": 33 + }, + "end": { + "line": 25, + "column": 45 + }, + "identifierName": "TokenFetcher" + }, + "name": "TokenFetcher" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1277, + "end": 1286, + "loc": { + "start": { + "line": 25, + "column": 46 + }, + "end": { + "line": 25, + "column": 55 + }, + "identifierName": "CLIENT_ID" + }, + "name": "CLIENT_ID" + }, + { + "type": "Identifier", + "start": 1288, + "end": 1301, + "loc": { + "start": { + "line": 25, + "column": 57 + }, + "end": { + "line": 25, + "column": 70 + }, + "identifierName": "CLIENT_SECRET" + }, + "name": "CLIENT_SECRET" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 1312, + "end": 1374, + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 26, + "column": 70 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1318, + "end": 1373, + "loc": { + "start": { + "line": 26, + "column": 14 + }, + "end": { + "line": 26, + "column": 69 + } + }, + "id": { + "type": "Identifier", + "start": 1318, + "end": 1335, + "loc": { + "start": { + "line": 26, + "column": 14 + }, + "end": { + "line": 26, + "column": 31 + }, + "identifierName": "clientCredentials" + }, + "name": "clientCredentials" + }, + "init": { + "type": "NewExpression", + "start": 1338, + "end": 1373, + "loc": { + "start": { + "line": 26, + "column": 34 + }, + "end": { + "line": 26, + "column": 69 + } + }, + "callee": { + "type": "Identifier", + "start": 1342, + "end": 1359, + "loc": { + "start": { + "line": 26, + "column": 38 + }, + "end": { + "line": 26, + "column": 55 + }, + "identifierName": "ClientCredentials" + }, + "name": "ClientCredentials" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1360, + "end": 1372, + "loc": { + "start": { + "line": 26, + "column": 56 + }, + "end": { + "line": 26, + "column": 68 + }, + "identifierName": "tokenFetcher" + }, + "name": "tokenFetcher" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ReturnStatement", + "start": 1383, + "end": 24838, + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 651, + "column": 10 + } + }, + "argument": { + "type": "CallExpression", + "start": 1390, + "end": 24837, + "loc": { + "start": { + "line": 27, + "column": 15 + }, + "end": { + "line": 651, + "column": 9 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1390, + "end": 1431, + "loc": { + "start": { + "line": 27, + "column": 15 + }, + "end": { + "line": 27, + "column": 56 + } + }, + "object": { + "type": "CallExpression", + "start": 1390, + "end": 1426, + "loc": { + "start": { + "line": 27, + "column": 15 + }, + "end": { + "line": 27, + "column": 51 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1390, + "end": 1424, + "loc": { + "start": { + "line": 27, + "column": 15 + }, + "end": { + "line": 27, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 1390, + "end": 1407, + "loc": { + "start": { + "line": 27, + "column": 15 + }, + "end": { + "line": 27, + "column": 32 + }, + "identifierName": "clientCredentials" + }, + "name": "clientCredentials" + }, + "property": { + "type": "Identifier", + "start": 1408, + "end": 1424, + "loc": { + "start": { + "line": 27, + "column": 33 + }, + "end": { + "line": 27, + "column": 49 + }, + "identifierName": "fetchAccessToken" + }, + "name": "fetchAccessToken" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 1427, + "end": 1431, + "loc": { + "start": { + "line": 27, + "column": 52 + }, + "end": { + "line": 27, + "column": 56 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 1443, + "end": 24780, + "loc": { + "start": { + "line": 28, + "column": 10 + }, + "end": { + "line": 649, + "column": 11 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1443, + "end": 1451, + "loc": { + "start": { + "line": 28, + "column": 10 + }, + "end": { + "line": 28, + "column": 18 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 1455, + "end": 24780, + "loc": { + "start": { + "line": 28, + "column": 22 + }, + "end": { + "line": 649, + "column": 11 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 1469, + "end": 1517, + "loc": { + "start": { + "line": 29, + "column": 12 + }, + "end": { + "line": 29, + "column": 60 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1475, + "end": 1516, + "loc": { + "start": { + "line": 29, + "column": 18 + }, + "end": { + "line": 29, + "column": 59 + } + }, + "id": { + "type": "Identifier", + "start": 1475, + "end": 1487, + "loc": { + "start": { + "line": 29, + "column": 18 + }, + "end": { + "line": 29, + "column": 30 + }, + "identifierName": "access_token" + }, + "name": "access_token" + }, + "init": { + "type": "MemberExpression", + "start": 1490, + "end": 1516, + "loc": { + "start": { + "line": 29, + "column": 33 + }, + "end": { + "line": 29, + "column": 59 + } + }, + "object": { + "type": "MemberExpression", + "start": 1490, + "end": 1503, + "loc": { + "start": { + "line": 29, + "column": 33 + }, + "end": { + "line": 29, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 1490, + "end": 1498, + "loc": { + "start": { + "line": 29, + "column": 33 + }, + "end": { + "line": 29, + "column": 41 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 1499, + "end": 1503, + "loc": { + "start": { + "line": 29, + "column": 42 + }, + "end": { + "line": 29, + "column": 46 + }, + "identifierName": "data" + }, + "name": "data" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1504, + "end": 1516, + "loc": { + "start": { + "line": 29, + "column": 47 + }, + "end": { + "line": 29, + "column": 59 + }, + "identifierName": "access_token" + }, + "name": "access_token" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 1530, + "end": 1556, + "loc": { + "start": { + "line": 30, + "column": 12 + }, + "end": { + "line": 30, + "column": 38 + } + }, + "expression": { + "type": "MemberExpression", + "start": 1530, + "end": 1555, + "loc": { + "start": { + "line": 30, + "column": 12 + }, + "end": { + "line": 30, + "column": 37 + } + }, + "object": { + "type": "MemberExpression", + "start": 1530, + "end": 1552, + "loc": { + "start": { + "line": 30, + "column": 12 + }, + "end": { + "line": 30, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 1530, + "end": 1549, + "loc": { + "start": { + "line": 30, + "column": 12 + }, + "end": { + "line": 30, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 1530, + "end": 1542, + "loc": { + "start": { + "line": 30, + "column": 12 + }, + "end": { + "line": 30, + "column": 24 + }, + "identifierName": "access_token" + }, + "name": "access_token" + }, + "property": { + "type": "Identifier", + "start": 1543, + "end": 1549, + "loc": { + "start": { + "line": 30, + "column": 25 + }, + "end": { + "line": 30, + "column": 31 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1550, + "end": 1552, + "loc": { + "start": { + "line": 30, + "column": 32 + }, + "end": { + "line": 30, + "column": 34 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1553, + "end": 1555, + "loc": { + "start": { + "line": 30, + "column": 35 + }, + "end": { + "line": 30, + "column": 37 + }, + "identifierName": "ok" + }, + "name": "ok" + }, + "computed": false + } + }, + { + "type": "VariableDeclaration", + "start": 1570, + "end": 1618, + "loc": { + "start": { + "line": 32, + "column": 12 + }, + "end": { + "line": 32, + "column": 60 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1576, + "end": 1617, + "loc": { + "start": { + "line": 32, + "column": 18 + }, + "end": { + "line": 32, + "column": 59 + } + }, + "id": { + "type": "Identifier", + "start": 1576, + "end": 1586, + "loc": { + "start": { + "line": 32, + "column": 18 + }, + "end": { + "line": 32, + "column": 28 + }, + "identifierName": "httpClient" + }, + "name": "httpClient" + }, + "init": { + "type": "NewExpression", + "start": 1589, + "end": 1617, + "loc": { + "start": { + "line": 32, + "column": 31 + }, + "end": { + "line": 32, + "column": 59 + } + }, + "callee": { + "type": "Identifier", + "start": 1593, + "end": 1603, + "loc": { + "start": { + "line": 32, + "column": 35 + }, + "end": { + "line": 32, + "column": 45 + }, + "identifierName": "HttpClient" + }, + "name": "HttpClient" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1604, + "end": 1616, + "loc": { + "start": { + "line": 32, + "column": 46 + }, + "end": { + "line": 32, + "column": 58 + }, + "identifierName": "access_token" + }, + "name": "access_token" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 1632, + "end": 2724, + "loc": { + "start": { + "line": 34, + "column": 12 + }, + "end": { + "line": 61, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 1632, + "end": 2723, + "loc": { + "start": { + "line": 34, + "column": 12 + }, + "end": { + "line": 61, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 1632, + "end": 1640, + "loc": { + "start": { + "line": 34, + "column": 12 + }, + "end": { + "line": 34, + "column": 20 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1641, + "end": 1649, + "loc": { + "start": { + "line": 34, + "column": 21 + }, + "end": { + "line": 34, + "column": 29 + } + }, + "extra": { + "rawValue": "Search", + "raw": "'Search'" + }, + "value": "Search" + }, + { + "type": "ArrowFunctionExpression", + "start": 1651, + "end": 2722, + "loc": { + "start": { + "line": 34, + "column": 31 + }, + "end": { + "line": 61, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1657, + "end": 2722, + "loc": { + "start": { + "line": 34, + "column": 37 + }, + "end": { + "line": 61, + "column": 13 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 1673, + "end": 1790, + "loc": { + "start": { + "line": 35, + "column": 14 + }, + "end": { + "line": 37, + "column": 49 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1679, + "end": 1789, + "loc": { + "start": { + "line": 35, + "column": 20 + }, + "end": { + "line": 37, + "column": 48 + } + }, + "id": { + "type": "Identifier", + "start": 1679, + "end": 1692, + "loc": { + "start": { + "line": 35, + "column": 20 + }, + "end": { + "line": 35, + "column": 33 + }, + "identifierName": "searchFetcher" + }, + "name": "searchFetcher" + }, + "init": { + "type": "CallExpression", + "start": 1695, + "end": 1789, + "loc": { + "start": { + "line": 35, + "column": 36 + }, + "end": { + "line": 37, + "column": 48 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1695, + "end": 1774, + "loc": { + "start": { + "line": 35, + "column": 36 + }, + "end": { + "line": 37, + "column": 33 + } + }, + "object": { + "type": "NewExpression", + "start": 1695, + "end": 1756, + "loc": { + "start": { + "line": 35, + "column": 36 + }, + "end": { + "line": 37, + "column": 15 + } + }, + "callee": { + "type": "Identifier", + "start": 1699, + "end": 1712, + "loc": { + "start": { + "line": 35, + "column": 40 + }, + "end": { + "line": 35, + "column": 53 + }, + "identifierName": "SearchFetcher" + }, + "name": "SearchFetcher" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1730, + "end": 1740, + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 26 + }, + "identifierName": "httpClient" + }, + "name": "httpClient" + } + ] + }, + "property": { + "type": "Identifier", + "start": 1757, + "end": 1774, + "loc": { + "start": { + "line": 37, + "column": 16 + }, + "end": { + "line": 37, + "column": 33 + }, + "identifierName": "setSearchCriteria" + }, + "name": "setSearchCriteria" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1775, + "end": 1788, + "loc": { + "start": { + "line": 37, + "column": 34 + }, + "end": { + "line": 37, + "column": 47 + } + }, + "extra": { + "rawValue": "Linkin Park", + "raw": "'Linkin Park'" + }, + "value": "Linkin Park" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 1805, + "end": 2159, + "loc": { + "start": { + "line": 38, + "column": 14 + }, + "end": { + "line": 45, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 1805, + "end": 2158, + "loc": { + "start": { + "line": 38, + "column": 14 + }, + "end": { + "line": 45, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 1805, + "end": 1813, + "loc": { + "start": { + "line": 38, + "column": 14 + }, + "end": { + "line": 38, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1814, + "end": 1836, + "loc": { + "start": { + "line": 38, + "column": 23 + }, + "end": { + "line": 38, + "column": 45 + } + }, + "extra": { + "rawValue": "#fetchSearchResult()", + "raw": "'#fetchSearchResult()'" + }, + "value": "#fetchSearchResult()" + }, + { + "type": "ArrowFunctionExpression", + "start": 1838, + "end": 2157, + "loc": { + "start": { + "line": 38, + "column": 47 + }, + "end": { + "line": 45, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1844, + "end": 2157, + "loc": { + "start": { + "line": 38, + "column": 53 + }, + "end": { + "line": 45, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1862, + "end": 2141, + "loc": { + "start": { + "line": 39, + "column": 16 + }, + "end": { + "line": 44, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 1862, + "end": 2140, + "loc": { + "start": { + "line": 39, + "column": 16 + }, + "end": { + "line": 44, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 1862, + "end": 1864, + "loc": { + "start": { + "line": 39, + "column": 16 + }, + "end": { + "line": 39, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1865, + "end": 1893, + "loc": { + "start": { + "line": 39, + "column": 19 + }, + "end": { + "line": 39, + "column": 47 + } + }, + "extra": { + "rawValue": "should response status 200", + "raw": "'should response status 200'" + }, + "value": "should response status 200" + }, + { + "type": "ArrowFunctionExpression", + "start": 1895, + "end": 2139, + "loc": { + "start": { + "line": 39, + "column": 49 + }, + "end": { + "line": 44, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1901, + "end": 2139, + "loc": { + "start": { + "line": 39, + "column": 55 + }, + "end": { + "line": 44, + "column": 17 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1921, + "end": 2121, + "loc": { + "start": { + "line": 40, + "column": 18 + }, + "end": { + "line": 43, + "column": 21 + } + }, + "argument": { + "type": "CallExpression", + "start": 1928, + "end": 2120, + "loc": { + "start": { + "line": 40, + "column": 25 + }, + "end": { + "line": 43, + "column": 20 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1928, + "end": 1966, + "loc": { + "start": { + "line": 40, + "column": 25 + }, + "end": { + "line": 40, + "column": 63 + } + }, + "object": { + "type": "CallExpression", + "start": 1928, + "end": 1961, + "loc": { + "start": { + "line": 40, + "column": 25 + }, + "end": { + "line": 40, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1928, + "end": 1959, + "loc": { + "start": { + "line": 40, + "column": 25 + }, + "end": { + "line": 40, + "column": 56 + } + }, + "object": { + "type": "Identifier", + "start": 1928, + "end": 1941, + "loc": { + "start": { + "line": 40, + "column": 25 + }, + "end": { + "line": 40, + "column": 38 + }, + "identifierName": "searchFetcher" + }, + "name": "searchFetcher" + }, + "property": { + "type": "Identifier", + "start": 1942, + "end": 1959, + "loc": { + "start": { + "line": 40, + "column": 39 + }, + "end": { + "line": 40, + "column": 56 + }, + "identifierName": "fetchSearchResult" + }, + "name": "fetchSearchResult" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 1962, + "end": 1966, + "loc": { + "start": { + "line": 40, + "column": 59 + }, + "end": { + "line": 40, + "column": 63 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 1967, + "end": 2119, + "loc": { + "start": { + "line": 40, + "column": 64 + }, + "end": { + "line": 43, + "column": 19 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1967, + "end": 1975, + "loc": { + "start": { + "line": 40, + "column": 64 + }, + "end": { + "line": 40, + "column": 72 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 1979, + "end": 2119, + "loc": { + "start": { + "line": 40, + "column": 76 + }, + "end": { + "line": 43, + "column": 19 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2001, + "end": 2099, + "loc": { + "start": { + "line": 41, + "column": 20 + }, + "end": { + "line": 42, + "column": 58 + } + }, + "expression": { + "type": "SequenceExpression", + "start": 2001, + "end": 2098, + "loc": { + "start": { + "line": 41, + "column": 20 + }, + "end": { + "line": 42, + "column": 57 + } + }, + "expressions": [ + { + "type": "CallExpression", + "start": 2001, + "end": 2039, + "loc": { + "start": { + "line": 41, + "column": 20 + }, + "end": { + "line": 41, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2001, + "end": 2034, + "loc": { + "start": { + "line": 41, + "column": 20 + }, + "end": { + "line": 41, + "column": 53 + } + }, + "object": { + "type": "MemberExpression", + "start": 2001, + "end": 2026, + "loc": { + "start": { + "line": 41, + "column": 20 + }, + "end": { + "line": 41, + "column": 45 + } + }, + "object": { + "type": "MemberExpression", + "start": 2001, + "end": 2023, + "loc": { + "start": { + "line": 41, + "column": 20 + }, + "end": { + "line": 41, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 2001, + "end": 2016, + "loc": { + "start": { + "line": 41, + "column": 20 + }, + "end": { + "line": 41, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 2001, + "end": 2009, + "loc": { + "start": { + "line": 41, + "column": 20 + }, + "end": { + "line": 41, + "column": 28 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 2010, + "end": 2016, + "loc": { + "start": { + "line": 41, + "column": 29 + }, + "end": { + "line": 41, + "column": 35 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2017, + "end": 2023, + "loc": { + "start": { + "line": 41, + "column": 36 + }, + "end": { + "line": 41, + "column": 42 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2024, + "end": 2026, + "loc": { + "start": { + "line": 41, + "column": 43 + }, + "end": { + "line": 41, + "column": 45 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2027, + "end": 2034, + "loc": { + "start": { + "line": 41, + "column": 46 + }, + "end": { + "line": 41, + "column": 53 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 2035, + "end": 2038, + "loc": { + "start": { + "line": 41, + "column": 54 + }, + "end": { + "line": 41, + "column": 57 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + }, + { + "type": "ArrowFunctionExpression", + "start": 2063, + "end": 2098, + "loc": { + "start": { + "line": 42, + "column": 22 + }, + "end": { + "line": 42, + "column": 57 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2063, + "end": 2069, + "loc": { + "start": { + "line": 42, + "column": 22 + }, + "end": { + "line": 42, + "column": 28 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "CallExpression", + "start": 2073, + "end": 2098, + "loc": { + "start": { + "line": 42, + "column": 32 + }, + "end": { + "line": 42, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2073, + "end": 2090, + "loc": { + "start": { + "line": 42, + "column": 32 + }, + "end": { + "line": 42, + "column": 49 + } + }, + "object": { + "type": "MemberExpression", + "start": 2073, + "end": 2083, + "loc": { + "start": { + "line": 42, + "column": 32 + }, + "end": { + "line": 42, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 2073, + "end": 2079, + "loc": { + "start": { + "line": 42, + "column": 32 + }, + "end": { + "line": 42, + "column": 38 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 2080, + "end": 2083, + "loc": { + "start": { + "line": 42, + "column": 39 + }, + "end": { + "line": 42, + "column": 42 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2084, + "end": 2090, + "loc": { + "start": { + "line": 42, + "column": 43 + }, + "end": { + "line": 42, + "column": 49 + }, + "identifierName": "exists" + }, + "name": "exists" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2091, + "end": 2097, + "loc": { + "start": { + "line": 42, + "column": 50 + }, + "end": { + "line": 42, + "column": 56 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 2175, + "end": 2708, + "loc": { + "start": { + "line": 47, + "column": 14 + }, + "end": { + "line": 60, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 2175, + "end": 2707, + "loc": { + "start": { + "line": 47, + "column": 14 + }, + "end": { + "line": 60, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 2175, + "end": 2183, + "loc": { + "start": { + "line": 47, + "column": 14 + }, + "end": { + "line": 47, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2184, + "end": 2195, + "loc": { + "start": { + "line": 47, + "column": 23 + }, + "end": { + "line": 47, + "column": 34 + } + }, + "extra": { + "rawValue": "#filter()", + "raw": "'#filter()'" + }, + "value": "#filter()" + }, + { + "type": "ArrowFunctionExpression", + "start": 2197, + "end": 2706, + "loc": { + "start": { + "line": 47, + "column": 36 + }, + "end": { + "line": 60, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2203, + "end": 2706, + "loc": { + "start": { + "line": 47, + "column": 42 + }, + "end": { + "line": 60, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2221, + "end": 2690, + "loc": { + "start": { + "line": 48, + "column": 16 + }, + "end": { + "line": 59, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 2221, + "end": 2689, + "loc": { + "start": { + "line": 48, + "column": 16 + }, + "end": { + "line": 59, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 2221, + "end": 2223, + "loc": { + "start": { + "line": 48, + "column": 16 + }, + "end": { + "line": 48, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2224, + "end": 2243, + "loc": { + "start": { + "line": 48, + "column": 19 + }, + "end": { + "line": 48, + "column": 38 + } + }, + "extra": { + "rawValue": "should get result", + "raw": "'should get result'" + }, + "value": "should get result" + }, + { + "type": "ArrowFunctionExpression", + "start": 2245, + "end": 2688, + "loc": { + "start": { + "line": 48, + "column": 40 + }, + "end": { + "line": 59, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2251, + "end": 2688, + "loc": { + "start": { + "line": 48, + "column": 46 + }, + "end": { + "line": 59, + "column": 17 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2271, + "end": 2670, + "loc": { + "start": { + "line": 49, + "column": 18 + }, + "end": { + "line": 58, + "column": 23 + } + }, + "argument": { + "type": "CallExpression", + "start": 2278, + "end": 2669, + "loc": { + "start": { + "line": 49, + "column": 25 + }, + "end": { + "line": 58, + "column": 22 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2278, + "end": 2551, + "loc": { + "start": { + "line": 49, + "column": 25 + }, + "end": { + "line": 56, + "column": 25 + } + }, + "object": { + "type": "CallExpression", + "start": 2278, + "end": 2525, + "loc": { + "start": { + "line": 49, + "column": 25 + }, + "end": { + "line": 55, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2278, + "end": 2523, + "loc": { + "start": { + "line": 49, + "column": 25 + }, + "end": { + "line": 55, + "column": 38 + } + }, + "object": { + "type": "CallExpression", + "start": 2278, + "end": 2484, + "loc": { + "start": { + "line": 49, + "column": 25 + }, + "end": { + "line": 54, + "column": 22 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2278, + "end": 2319, + "loc": { + "start": { + "line": 49, + "column": 25 + }, + "end": { + "line": 50, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 2278, + "end": 2291, + "loc": { + "start": { + "line": 49, + "column": 25 + }, + "end": { + "line": 49, + "column": 38 + }, + "identifierName": "searchFetcher" + }, + "name": "searchFetcher" + }, + "property": { + "type": "Identifier", + "start": 2313, + "end": 2319, + "loc": { + "start": { + "line": 50, + "column": 21 + }, + "end": { + "line": 50, + "column": 27 + }, + "identifierName": "filter" + }, + "name": "filter" + }, + "computed": false + }, + "arguments": [ + { + "type": "ObjectExpression", + "start": 2320, + "end": 2483, + "loc": { + "start": { + "line": 50, + "column": 28 + }, + "end": { + "line": 54, + "column": 21 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 2344, + "end": 2365, + "loc": { + "start": { + "line": 51, + "column": 22 + }, + "end": { + "line": 51, + "column": 43 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2344, + "end": 2350, + "loc": { + "start": { + "line": 51, + "column": 22 + }, + "end": { + "line": 51, + "column": 28 + }, + "identifierName": "artist" + }, + "name": "artist" + }, + "value": { + "type": "StringLiteral", + "start": 2352, + "end": 2365, + "loc": { + "start": { + "line": 51, + "column": 30 + }, + "end": { + "line": 51, + "column": 43 + } + }, + "extra": { + "rawValue": "Linkin Park", + "raw": "'Linkin Park'" + }, + "value": "Linkin Park" + } + }, + { + "type": "ObjectProperty", + "start": 2389, + "end": 2412, + "loc": { + "start": { + "line": 52, + "column": 22 + }, + "end": { + "line": 52, + "column": 45 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2389, + "end": 2394, + "loc": { + "start": { + "line": 52, + "column": 22 + }, + "end": { + "line": 52, + "column": 27 + }, + "identifierName": "album" + }, + "name": "album" + }, + "value": { + "type": "StringLiteral", + "start": 2396, + "end": 2412, + "loc": { + "start": { + "line": 52, + "column": 29 + }, + "end": { + "line": 52, + "column": 45 + } + }, + "extra": { + "rawValue": "One More Light", + "raw": "'One More Light'" + }, + "value": "One More Light" + } + }, + { + "type": "ObjectProperty", + "start": 2436, + "end": 2461, + "loc": { + "start": { + "line": 53, + "column": 22 + }, + "end": { + "line": 53, + "column": 47 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2436, + "end": 2455, + "loc": { + "start": { + "line": 53, + "column": 22 + }, + "end": { + "line": 53, + "column": 41 + }, + "identifierName": "available_territory" + }, + "name": "available_territory" + }, + "value": { + "type": "StringLiteral", + "start": 2457, + "end": 2461, + "loc": { + "start": { + "line": 53, + "column": 43 + }, + "end": { + "line": 53, + "column": 47 + } + }, + "extra": { + "rawValue": "TW", + "raw": "'TW'" + }, + "value": "TW" + } + } + ] + } + ] + }, + "property": { + "type": "Identifier", + "start": 2506, + "end": 2523, + "loc": { + "start": { + "line": 55, + "column": 21 + }, + "end": { + "line": 55, + "column": 38 + }, + "identifierName": "fetchSearchResult" + }, + "name": "fetchSearchResult" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 2547, + "end": 2551, + "loc": { + "start": { + "line": 56, + "column": 21 + }, + "end": { + "line": 56, + "column": 25 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 2552, + "end": 2668, + "loc": { + "start": { + "line": 56, + "column": 26 + }, + "end": { + "line": 58, + "column": 21 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2552, + "end": 2560, + "loc": { + "start": { + "line": 56, + "column": 26 + }, + "end": { + "line": 56, + "column": 34 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 2564, + "end": 2668, + "loc": { + "start": { + "line": 56, + "column": 38 + }, + "end": { + "line": 58, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2588, + "end": 2646, + "loc": { + "start": { + "line": 57, + "column": 22 + }, + "end": { + "line": 57, + "column": 80 + } + }, + "expression": { + "type": "CallExpression", + "start": 2588, + "end": 2645, + "loc": { + "start": { + "line": 57, + "column": 22 + }, + "end": { + "line": 57, + "column": 79 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2588, + "end": 2642, + "loc": { + "start": { + "line": 57, + "column": 22 + }, + "end": { + "line": 57, + "column": 76 + } + }, + "object": { + "type": "MemberExpression", + "start": 2588, + "end": 2630, + "loc": { + "start": { + "line": 57, + "column": 22 + }, + "end": { + "line": 57, + "column": 64 + } + }, + "object": { + "type": "MemberExpression", + "start": 2588, + "end": 2627, + "loc": { + "start": { + "line": 57, + "column": 22 + }, + "end": { + "line": 57, + "column": 61 + } + }, + "object": { + "type": "MemberExpression", + "start": 2588, + "end": 2620, + "loc": { + "start": { + "line": 57, + "column": 22 + }, + "end": { + "line": 57, + "column": 54 + } + }, + "object": { + "type": "MemberExpression", + "start": 2588, + "end": 2613, + "loc": { + "start": { + "line": 57, + "column": 22 + }, + "end": { + "line": 57, + "column": 47 + } + }, + "object": { + "type": "MemberExpression", + "start": 2588, + "end": 2608, + "loc": { + "start": { + "line": 57, + "column": 22 + }, + "end": { + "line": 57, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 2588, + "end": 2601, + "loc": { + "start": { + "line": 57, + "column": 22 + }, + "end": { + "line": 57, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 2588, + "end": 2596, + "loc": { + "start": { + "line": 57, + "column": 22 + }, + "end": { + "line": 57, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 2597, + "end": 2601, + "loc": { + "start": { + "line": 57, + "column": 31 + }, + "end": { + "line": 57, + "column": 35 + }, + "identifierName": "data" + }, + "name": "data" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2602, + "end": 2608, + "loc": { + "start": { + "line": 57, + "column": 36 + }, + "end": { + "line": 57, + "column": 42 + }, + "identifierName": "tracks" + }, + "name": "tracks" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2609, + "end": 2613, + "loc": { + "start": { + "line": 57, + "column": 43 + }, + "end": { + "line": 57, + "column": 47 + }, + "identifierName": "data" + }, + "name": "data" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2614, + "end": 2620, + "loc": { + "start": { + "line": 57, + "column": 48 + }, + "end": { + "line": 57, + "column": 54 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2621, + "end": 2627, + "loc": { + "start": { + "line": 57, + "column": 55 + }, + "end": { + "line": 57, + "column": 61 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2628, + "end": 2630, + "loc": { + "start": { + "line": 57, + "column": 62 + }, + "end": { + "line": 57, + "column": 64 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2631, + "end": 2642, + "loc": { + "start": { + "line": 57, + "column": 65 + }, + "end": { + "line": 57, + "column": 76 + }, + "identifierName": "greaterThan" + }, + "name": "greaterThan" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 2643, + "end": 2644, + "loc": { + "start": { + "line": 57, + "column": 77 + }, + "end": { + "line": 57, + "column": 78 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 2738, + "end": 3656, + "loc": { + "start": { + "line": 63, + "column": 12 + }, + "end": { + "line": 87, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 2738, + "end": 3655, + "loc": { + "start": { + "line": 63, + "column": 12 + }, + "end": { + "line": 87, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 2738, + "end": 2746, + "loc": { + "start": { + "line": 63, + "column": 12 + }, + "end": { + "line": 63, + "column": 20 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2747, + "end": 2754, + "loc": { + "start": { + "line": 63, + "column": 21 + }, + "end": { + "line": 63, + "column": 28 + } + }, + "extra": { + "rawValue": "Track", + "raw": "'Track'" + }, + "value": "Track" + }, + { + "type": "ArrowFunctionExpression", + "start": 2756, + "end": 3654, + "loc": { + "start": { + "line": 63, + "column": 30 + }, + "end": { + "line": 87, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2762, + "end": 3654, + "loc": { + "start": { + "line": 63, + "column": 36 + }, + "end": { + "line": 87, + "column": 13 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 2778, + "end": 2816, + "loc": { + "start": { + "line": 64, + "column": 14 + }, + "end": { + "line": 64, + "column": 52 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2784, + "end": 2815, + "loc": { + "start": { + "line": 64, + "column": 20 + }, + "end": { + "line": 64, + "column": 51 + } + }, + "id": { + "type": "Identifier", + "start": 2784, + "end": 2792, + "loc": { + "start": { + "line": 64, + "column": 20 + }, + "end": { + "line": 64, + "column": 28 + }, + "identifierName": "track_id" + }, + "name": "track_id" + }, + "init": { + "type": "StringLiteral", + "start": 2795, + "end": 2815, + "loc": { + "start": { + "line": 64, + "column": 31 + }, + "end": { + "line": 64, + "column": 51 + } + }, + "extra": { + "rawValue": "KpnEGVHEsGgkoB0MBk", + "raw": "'KpnEGVHEsGgkoB0MBk'" + }, + "value": "KpnEGVHEsGgkoB0MBk" + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2831, + "end": 2934, + "loc": { + "start": { + "line": 65, + "column": 14 + }, + "end": { + "line": 67, + "column": 16 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2837, + "end": 2933, + "loc": { + "start": { + "line": 65, + "column": 20 + }, + "end": { + "line": 67, + "column": 15 + } + }, + "id": { + "type": "Identifier", + "start": 2837, + "end": 2849, + "loc": { + "start": { + "line": 65, + "column": 20 + }, + "end": { + "line": 65, + "column": 32 + }, + "identifierName": "trackFetcher" + }, + "name": "trackFetcher" + }, + "init": { + "type": "CallExpression", + "start": 2852, + "end": 2933, + "loc": { + "start": { + "line": 65, + "column": 35 + }, + "end": { + "line": 67, + "column": 15 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2852, + "end": 2891, + "loc": { + "start": { + "line": 65, + "column": 35 + }, + "end": { + "line": 65, + "column": 74 + } + }, + "object": { + "type": "NewExpression", + "start": 2852, + "end": 2880, + "loc": { + "start": { + "line": 65, + "column": 35 + }, + "end": { + "line": 65, + "column": 63 + } + }, + "callee": { + "type": "Identifier", + "start": 2856, + "end": 2868, + "loc": { + "start": { + "line": 65, + "column": 39 + }, + "end": { + "line": 65, + "column": 51 + }, + "identifierName": "TrackFetcher" + }, + "name": "TrackFetcher" + }, + "arguments": [ + { + "type": "Identifier", + "start": 2869, + "end": 2879, + "loc": { + "start": { + "line": 65, + "column": 52 + }, + "end": { + "line": 65, + "column": 62 + }, + "identifierName": "httpClient" + }, + "name": "httpClient" + } + ] + }, + "property": { + "type": "Identifier", + "start": 2881, + "end": 2891, + "loc": { + "start": { + "line": 65, + "column": 64 + }, + "end": { + "line": 65, + "column": 74 + }, + "identifierName": "setTrackID" + }, + "name": "setTrackID" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2909, + "end": 2917, + "loc": { + "start": { + "line": 66, + "column": 16 + }, + "end": { + "line": 66, + "column": 24 + }, + "identifierName": "track_id" + }, + "name": "track_id" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 2949, + "end": 3252, + "loc": { + "start": { + "line": 68, + "column": 14 + }, + "end": { + "line": 75, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 2949, + "end": 3251, + "loc": { + "start": { + "line": 68, + "column": 14 + }, + "end": { + "line": 75, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 2949, + "end": 2951, + "loc": { + "start": { + "line": 68, + "column": 14 + }, + "end": { + "line": 68, + "column": 16 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2952, + "end": 2980, + "loc": { + "start": { + "line": 68, + "column": 17 + }, + "end": { + "line": 68, + "column": 45 + } + }, + "extra": { + "rawValue": "should response status 200", + "raw": "'should response status 200'" + }, + "value": "should response status 200" + }, + { + "type": "ArrowFunctionExpression", + "start": 2982, + "end": 3250, + "loc": { + "start": { + "line": 68, + "column": 47 + }, + "end": { + "line": 75, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2988, + "end": 3250, + "loc": { + "start": { + "line": 68, + "column": 53 + }, + "end": { + "line": 75, + "column": 15 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 3006, + "end": 3234, + "loc": { + "start": { + "line": 69, + "column": 16 + }, + "end": { + "line": 74, + "column": 20 + } + }, + "argument": { + "type": "CallExpression", + "start": 3013, + "end": 3233, + "loc": { + "start": { + "line": 69, + "column": 23 + }, + "end": { + "line": 74, + "column": 19 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3013, + "end": 3084, + "loc": { + "start": { + "line": 69, + "column": 23 + }, + "end": { + "line": 71, + "column": 23 + } + }, + "object": { + "type": "CallExpression", + "start": 3013, + "end": 3060, + "loc": { + "start": { + "line": 69, + "column": 23 + }, + "end": { + "line": 70, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3013, + "end": 3058, + "loc": { + "start": { + "line": 69, + "column": 23 + }, + "end": { + "line": 70, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 3013, + "end": 3025, + "loc": { + "start": { + "line": 69, + "column": 23 + }, + "end": { + "line": 69, + "column": 35 + }, + "identifierName": "trackFetcher" + }, + "name": "trackFetcher" + }, + "property": { + "type": "Identifier", + "start": 3045, + "end": 3058, + "loc": { + "start": { + "line": 70, + "column": 19 + }, + "end": { + "line": 70, + "column": 32 + }, + "identifierName": "fetchMetadata" + }, + "name": "fetchMetadata" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 3080, + "end": 3084, + "loc": { + "start": { + "line": 71, + "column": 19 + }, + "end": { + "line": 71, + "column": 23 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 3106, + "end": 3156, + "loc": { + "start": { + "line": 72, + "column": 20 + }, + "end": { + "line": 72, + "column": 70 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3106, + "end": 3114, + "loc": { + "start": { + "line": 72, + "column": 20 + }, + "end": { + "line": 72, + "column": 28 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "CallExpression", + "start": 3118, + "end": 3156, + "loc": { + "start": { + "line": 72, + "column": 32 + }, + "end": { + "line": 72, + "column": 70 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3118, + "end": 3151, + "loc": { + "start": { + "line": 72, + "column": 32 + }, + "end": { + "line": 72, + "column": 65 + } + }, + "object": { + "type": "MemberExpression", + "start": 3118, + "end": 3143, + "loc": { + "start": { + "line": 72, + "column": 32 + }, + "end": { + "line": 72, + "column": 57 + } + }, + "object": { + "type": "MemberExpression", + "start": 3118, + "end": 3140, + "loc": { + "start": { + "line": 72, + "column": 32 + }, + "end": { + "line": 72, + "column": 54 + } + }, + "object": { + "type": "MemberExpression", + "start": 3118, + "end": 3133, + "loc": { + "start": { + "line": 72, + "column": 32 + }, + "end": { + "line": 72, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 3118, + "end": 3126, + "loc": { + "start": { + "line": 72, + "column": 32 + }, + "end": { + "line": 72, + "column": 40 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 3127, + "end": 3133, + "loc": { + "start": { + "line": 72, + "column": 41 + }, + "end": { + "line": 72, + "column": 47 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3134, + "end": 3140, + "loc": { + "start": { + "line": 72, + "column": 48 + }, + "end": { + "line": 72, + "column": 54 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3141, + "end": 3143, + "loc": { + "start": { + "line": 72, + "column": 55 + }, + "end": { + "line": 72, + "column": 57 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3144, + "end": 3151, + "loc": { + "start": { + "line": 72, + "column": 58 + }, + "end": { + "line": 72, + "column": 65 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 3152, + "end": 3155, + "loc": { + "start": { + "line": 72, + "column": 66 + }, + "end": { + "line": 72, + "column": 69 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 3178, + "end": 3213, + "loc": { + "start": { + "line": 73, + "column": 20 + }, + "end": { + "line": 73, + "column": 55 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3178, + "end": 3184, + "loc": { + "start": { + "line": 73, + "column": 20 + }, + "end": { + "line": 73, + "column": 26 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "CallExpression", + "start": 3188, + "end": 3213, + "loc": { + "start": { + "line": 73, + "column": 30 + }, + "end": { + "line": 73, + "column": 55 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3188, + "end": 3205, + "loc": { + "start": { + "line": 73, + "column": 30 + }, + "end": { + "line": 73, + "column": 47 + } + }, + "object": { + "type": "MemberExpression", + "start": 3188, + "end": 3198, + "loc": { + "start": { + "line": 73, + "column": 30 + }, + "end": { + "line": 73, + "column": 40 + } + }, + "object": { + "type": "Identifier", + "start": 3188, + "end": 3194, + "loc": { + "start": { + "line": 73, + "column": 30 + }, + "end": { + "line": 73, + "column": 36 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 3195, + "end": 3198, + "loc": { + "start": { + "line": 73, + "column": 37 + }, + "end": { + "line": 73, + "column": 40 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3199, + "end": 3205, + "loc": { + "start": { + "line": 73, + "column": 41 + }, + "end": { + "line": 73, + "column": 47 + }, + "identifierName": "exists" + }, + "name": "exists" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 3206, + "end": 3212, + "loc": { + "start": { + "line": 73, + "column": 48 + }, + "end": { + "line": 73, + "column": 54 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 3268, + "end": 3640, + "loc": { + "start": { + "line": 77, + "column": 14 + }, + "end": { + "line": 86, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 3268, + "end": 3639, + "loc": { + "start": { + "line": 77, + "column": 14 + }, + "end": { + "line": 86, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 3268, + "end": 3276, + "loc": { + "start": { + "line": 77, + "column": 14 + }, + "end": { + "line": 77, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 3277, + "end": 3292, + "loc": { + "start": { + "line": 77, + "column": 23 + }, + "end": { + "line": 77, + "column": 38 + } + }, + "extra": { + "rawValue": "#getWidgetUri", + "raw": "'#getWidgetUri'" + }, + "value": "#getWidgetUri" + }, + { + "type": "ArrowFunctionExpression", + "start": 3294, + "end": 3638, + "loc": { + "start": { + "line": 77, + "column": 40 + }, + "end": { + "line": 86, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3300, + "end": 3638, + "loc": { + "start": { + "line": 77, + "column": 46 + }, + "end": { + "line": 86, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3318, + "end": 3622, + "loc": { + "start": { + "line": 78, + "column": 16 + }, + "end": { + "line": 85, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 3318, + "end": 3621, + "loc": { + "start": { + "line": 78, + "column": 16 + }, + "end": { + "line": 85, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 3318, + "end": 3320, + "loc": { + "start": { + "line": 78, + "column": 16 + }, + "end": { + "line": 78, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 3321, + "end": 3346, + "loc": { + "start": { + "line": 78, + "column": 19 + }, + "end": { + "line": 78, + "column": 44 + } + }, + "extra": { + "rawValue": "should return right uri", + "raw": "'should return right uri'" + }, + "value": "should return right uri" + }, + { + "type": "FunctionExpression", + "start": 3348, + "end": 3620, + "loc": { + "start": { + "line": 78, + "column": 46 + }, + "end": { + "line": 85, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3357, + "end": 3363, + "loc": { + "start": { + "line": 78, + "column": 55 + }, + "end": { + "line": 78, + "column": 61 + }, + "identifierName": "doneCb" + }, + "name": "doneCb" + } + ], + "body": { + "type": "BlockStatement", + "start": 3365, + "end": 3620, + "loc": { + "start": { + "line": 78, + "column": 63 + }, + "end": { + "line": 85, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3385, + "end": 3574, + "loc": { + "start": { + "line": 79, + "column": 18 + }, + "end": { + "line": 83, + "column": 22 + } + }, + "expression": { + "type": "CallExpression", + "start": 3385, + "end": 3573, + "loc": { + "start": { + "line": 79, + "column": 18 + }, + "end": { + "line": 83, + "column": 21 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3385, + "end": 3472, + "loc": { + "start": { + "line": 79, + "column": 18 + }, + "end": { + "line": 81, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 3385, + "end": 3464, + "loc": { + "start": { + "line": 79, + "column": 18 + }, + "end": { + "line": 81, + "column": 30 + } + }, + "object": { + "type": "MemberExpression", + "start": 3385, + "end": 3461, + "loc": { + "start": { + "line": 79, + "column": 18 + }, + "end": { + "line": 81, + "column": 27 + } + }, + "object": { + "type": "CallExpression", + "start": 3385, + "end": 3433, + "loc": { + "start": { + "line": 79, + "column": 18 + }, + "end": { + "line": 80, + "column": 35 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3385, + "end": 3431, + "loc": { + "start": { + "line": 79, + "column": 18 + }, + "end": { + "line": 80, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 3385, + "end": 3397, + "loc": { + "start": { + "line": 79, + "column": 18 + }, + "end": { + "line": 79, + "column": 30 + }, + "identifierName": "trackFetcher" + }, + "name": "trackFetcher" + }, + "property": { + "type": "Identifier", + "start": 3419, + "end": 3431, + "loc": { + "start": { + "line": 80, + "column": 21 + }, + "end": { + "line": 80, + "column": 33 + }, + "identifierName": "getWidgetUri" + }, + "name": "getWidgetUri" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 3455, + "end": 3461, + "loc": { + "start": { + "line": 81, + "column": 21 + }, + "end": { + "line": 81, + "column": 27 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3462, + "end": 3464, + "loc": { + "start": { + "line": 81, + "column": 28 + }, + "end": { + "line": 81, + "column": 30 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3465, + "end": 3472, + "loc": { + "start": { + "line": 81, + "column": 31 + }, + "end": { + "line": 81, + "column": 38 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "TemplateLiteral", + "start": 3496, + "end": 3551, + "loc": { + "start": { + "line": 82, + "column": 22 + }, + "end": { + "line": 82, + "column": 77 + } + }, + "expressions": [ + { + "type": "Identifier", + "start": 3531, + "end": 3539, + "loc": { + "start": { + "line": 82, + "column": 57 + }, + "end": { + "line": 82, + "column": 65 + }, + "identifierName": "track_id" + }, + "name": "track_id" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 3497, + "end": 3529, + "loc": { + "start": { + "line": 82, + "column": 23 + }, + "end": { + "line": 82, + "column": 55 + } + }, + "value": { + "raw": "https://widget.kkbox.com/v1/?id=", + "cooked": "https://widget.kkbox.com/v1/?id=" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 3540, + "end": 3550, + "loc": { + "start": { + "line": 82, + "column": 66 + }, + "end": { + "line": 82, + "column": 76 + } + }, + "value": { + "raw": "&type=song", + "cooked": "&type=song" + }, + "tail": true + } + ] + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 3593, + "end": 3602, + "loc": { + "start": { + "line": 84, + "column": 18 + }, + "end": { + "line": 84, + "column": 27 + } + }, + "expression": { + "type": "CallExpression", + "start": 3593, + "end": 3601, + "loc": { + "start": { + "line": 84, + "column": 18 + }, + "end": { + "line": 84, + "column": 26 + } + }, + "callee": { + "type": "Identifier", + "start": 3593, + "end": 3599, + "loc": { + "start": { + "line": 84, + "column": 18 + }, + "end": { + "line": 84, + "column": 24 + }, + "identifierName": "doneCb" + }, + "name": "doneCb" + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 3670, + "end": 5814, + "loc": { + "start": { + "line": 89, + "column": 12 + }, + "end": { + "line": 148, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 3670, + "end": 5813, + "loc": { + "start": { + "line": 89, + "column": 12 + }, + "end": { + "line": 148, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 3670, + "end": 3678, + "loc": { + "start": { + "line": 89, + "column": 12 + }, + "end": { + "line": 89, + "column": 20 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 3679, + "end": 3686, + "loc": { + "start": { + "line": 89, + "column": 21 + }, + "end": { + "line": 89, + "column": 28 + } + }, + "extra": { + "rawValue": "Album", + "raw": "'Album'" + }, + "value": "Album" + }, + { + "type": "ArrowFunctionExpression", + "start": 3688, + "end": 5812, + "loc": { + "start": { + "line": 89, + "column": 30 + }, + "end": { + "line": 148, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3694, + "end": 5812, + "loc": { + "start": { + "line": 89, + "column": 36 + }, + "end": { + "line": 148, + "column": 13 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 3710, + "end": 3748, + "loc": { + "start": { + "line": 90, + "column": 14 + }, + "end": { + "line": 90, + "column": 52 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3716, + "end": 3747, + "loc": { + "start": { + "line": 90, + "column": 20 + }, + "end": { + "line": 90, + "column": 51 + } + }, + "id": { + "type": "Identifier", + "start": 3716, + "end": 3724, + "loc": { + "start": { + "line": 90, + "column": 20 + }, + "end": { + "line": 90, + "column": 28 + }, + "identifierName": "album_id" + }, + "name": "album_id" + }, + "init": { + "type": "StringLiteral", + "start": 3727, + "end": 3747, + "loc": { + "start": { + "line": 90, + "column": 31 + }, + "end": { + "line": 90, + "column": 51 + } + }, + "extra": { + "rawValue": "KmRKnW5qmUrTnGRuxF", + "raw": "'KmRKnW5qmUrTnGRuxF'" + }, + "value": "KmRKnW5qmUrTnGRuxF" + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 3763, + "end": 3866, + "loc": { + "start": { + "line": 91, + "column": 14 + }, + "end": { + "line": 93, + "column": 16 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3769, + "end": 3865, + "loc": { + "start": { + "line": 91, + "column": 20 + }, + "end": { + "line": 93, + "column": 15 + } + }, + "id": { + "type": "Identifier", + "start": 3769, + "end": 3781, + "loc": { + "start": { + "line": 91, + "column": 20 + }, + "end": { + "line": 91, + "column": 32 + }, + "identifierName": "albumFetcher" + }, + "name": "albumFetcher" + }, + "init": { + "type": "CallExpression", + "start": 3784, + "end": 3865, + "loc": { + "start": { + "line": 91, + "column": 35 + }, + "end": { + "line": 93, + "column": 15 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3784, + "end": 3823, + "loc": { + "start": { + "line": 91, + "column": 35 + }, + "end": { + "line": 91, + "column": 74 + } + }, + "object": { + "type": "NewExpression", + "start": 3784, + "end": 3812, + "loc": { + "start": { + "line": 91, + "column": 35 + }, + "end": { + "line": 91, + "column": 63 + } + }, + "callee": { + "type": "Identifier", + "start": 3788, + "end": 3800, + "loc": { + "start": { + "line": 91, + "column": 39 + }, + "end": { + "line": 91, + "column": 51 + }, + "identifierName": "AlbumFetcher" + }, + "name": "AlbumFetcher" + }, + "arguments": [ + { + "type": "Identifier", + "start": 3801, + "end": 3811, + "loc": { + "start": { + "line": 91, + "column": 52 + }, + "end": { + "line": 91, + "column": 62 + }, + "identifierName": "httpClient" + }, + "name": "httpClient" + } + ] + }, + "property": { + "type": "Identifier", + "start": 3813, + "end": 3823, + "loc": { + "start": { + "line": 91, + "column": 64 + }, + "end": { + "line": 91, + "column": 74 + }, + "identifierName": "setAlbumID" + }, + "name": "setAlbumID" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 3841, + "end": 3849, + "loc": { + "start": { + "line": 92, + "column": 16 + }, + "end": { + "line": 92, + "column": 24 + }, + "identifierName": "album_id" + }, + "name": "album_id" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 3881, + "end": 4314, + "loc": { + "start": { + "line": 94, + "column": 14 + }, + "end": { + "line": 105, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 3881, + "end": 4313, + "loc": { + "start": { + "line": 94, + "column": 14 + }, + "end": { + "line": 105, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 3881, + "end": 3889, + "loc": { + "start": { + "line": 94, + "column": 14 + }, + "end": { + "line": 94, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 3890, + "end": 3908, + "loc": { + "start": { + "line": 94, + "column": 23 + }, + "end": { + "line": 94, + "column": 41 + } + }, + "extra": { + "rawValue": "#fetchMetadata()", + "raw": "'#fetchMetadata()'" + }, + "value": "#fetchMetadata()" + }, + { + "type": "ArrowFunctionExpression", + "start": 3910, + "end": 4312, + "loc": { + "start": { + "line": 94, + "column": 43 + }, + "end": { + "line": 105, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3916, + "end": 4312, + "loc": { + "start": { + "line": 94, + "column": 49 + }, + "end": { + "line": 105, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3934, + "end": 4296, + "loc": { + "start": { + "line": 95, + "column": 16 + }, + "end": { + "line": 104, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 3934, + "end": 4295, + "loc": { + "start": { + "line": 95, + "column": 16 + }, + "end": { + "line": 104, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 3934, + "end": 3936, + "loc": { + "start": { + "line": 95, + "column": 16 + }, + "end": { + "line": 95, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 3937, + "end": 3965, + "loc": { + "start": { + "line": 95, + "column": 19 + }, + "end": { + "line": 95, + "column": 47 + } + }, + "extra": { + "rawValue": "should response status 200", + "raw": "'should response status 200'" + }, + "value": "should response status 200" + }, + { + "type": "ArrowFunctionExpression", + "start": 3967, + "end": 4294, + "loc": { + "start": { + "line": 95, + "column": 49 + }, + "end": { + "line": 104, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3973, + "end": 4294, + "loc": { + "start": { + "line": 95, + "column": 55 + }, + "end": { + "line": 104, + "column": 17 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 3993, + "end": 4276, + "loc": { + "start": { + "line": 96, + "column": 18 + }, + "end": { + "line": 103, + "column": 20 + } + }, + "argument": { + "type": "CallExpression", + "start": 4000, + "end": 4275, + "loc": { + "start": { + "line": 96, + "column": 25 + }, + "end": { + "line": 103, + "column": 19 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4000, + "end": 4033, + "loc": { + "start": { + "line": 96, + "column": 25 + }, + "end": { + "line": 96, + "column": 58 + } + }, + "object": { + "type": "CallExpression", + "start": 4000, + "end": 4028, + "loc": { + "start": { + "line": 96, + "column": 25 + }, + "end": { + "line": 96, + "column": 53 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4000, + "end": 4026, + "loc": { + "start": { + "line": 96, + "column": 25 + }, + "end": { + "line": 96, + "column": 51 + } + }, + "object": { + "type": "Identifier", + "start": 4000, + "end": 4012, + "loc": { + "start": { + "line": 96, + "column": 25 + }, + "end": { + "line": 96, + "column": 37 + }, + "identifierName": "albumFetcher" + }, + "name": "albumFetcher" + }, + "property": { + "type": "Identifier", + "start": 4013, + "end": 4026, + "loc": { + "start": { + "line": 96, + "column": 38 + }, + "end": { + "line": 96, + "column": 51 + }, + "identifierName": "fetchMetadata" + }, + "name": "fetchMetadata" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 4029, + "end": 4033, + "loc": { + "start": { + "line": 96, + "column": 54 + }, + "end": { + "line": 96, + "column": 58 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 4055, + "end": 4152, + "loc": { + "start": { + "line": 97, + "column": 20 + }, + "end": { + "line": 99, + "column": 21 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4055, + "end": 4063, + "loc": { + "start": { + "line": 97, + "column": 20 + }, + "end": { + "line": 97, + "column": 28 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 4067, + "end": 4152, + "loc": { + "start": { + "line": 97, + "column": 32 + }, + "end": { + "line": 99, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4091, + "end": 4130, + "loc": { + "start": { + "line": 98, + "column": 22 + }, + "end": { + "line": 98, + "column": 61 + } + }, + "expression": { + "type": "CallExpression", + "start": 4091, + "end": 4129, + "loc": { + "start": { + "line": 98, + "column": 22 + }, + "end": { + "line": 98, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4091, + "end": 4124, + "loc": { + "start": { + "line": 98, + "column": 22 + }, + "end": { + "line": 98, + "column": 55 + } + }, + "object": { + "type": "MemberExpression", + "start": 4091, + "end": 4116, + "loc": { + "start": { + "line": 98, + "column": 22 + }, + "end": { + "line": 98, + "column": 47 + } + }, + "object": { + "type": "MemberExpression", + "start": 4091, + "end": 4113, + "loc": { + "start": { + "line": 98, + "column": 22 + }, + "end": { + "line": 98, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 4091, + "end": 4106, + "loc": { + "start": { + "line": 98, + "column": 22 + }, + "end": { + "line": 98, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 4091, + "end": 4099, + "loc": { + "start": { + "line": 98, + "column": 22 + }, + "end": { + "line": 98, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 4100, + "end": 4106, + "loc": { + "start": { + "line": 98, + "column": 31 + }, + "end": { + "line": 98, + "column": 37 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4107, + "end": 4113, + "loc": { + "start": { + "line": 98, + "column": 38 + }, + "end": { + "line": 98, + "column": 44 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4114, + "end": 4116, + "loc": { + "start": { + "line": 98, + "column": 45 + }, + "end": { + "line": 98, + "column": 47 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4117, + "end": 4124, + "loc": { + "start": { + "line": 98, + "column": 48 + }, + "end": { + "line": 98, + "column": 55 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 4125, + "end": 4128, + "loc": { + "start": { + "line": 98, + "column": 56 + }, + "end": { + "line": 98, + "column": 59 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 4174, + "end": 4255, + "loc": { + "start": { + "line": 100, + "column": 20 + }, + "end": { + "line": 102, + "column": 21 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4174, + "end": 4180, + "loc": { + "start": { + "line": 100, + "column": 20 + }, + "end": { + "line": 100, + "column": 26 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "BlockStatement", + "start": 4184, + "end": 4255, + "loc": { + "start": { + "line": 100, + "column": 30 + }, + "end": { + "line": 102, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4208, + "end": 4233, + "loc": { + "start": { + "line": 101, + "column": 22 + }, + "end": { + "line": 101, + "column": 47 + } + }, + "expression": { + "type": "CallExpression", + "start": 4208, + "end": 4232, + "loc": { + "start": { + "line": 101, + "column": 22 + }, + "end": { + "line": 101, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4208, + "end": 4224, + "loc": { + "start": { + "line": 101, + "column": 22 + }, + "end": { + "line": 101, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 4208, + "end": 4218, + "loc": { + "start": { + "line": 101, + "column": 22 + }, + "end": { + "line": 101, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 4208, + "end": 4214, + "loc": { + "start": { + "line": 101, + "column": 22 + }, + "end": { + "line": 101, + "column": 28 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 4215, + "end": 4218, + "loc": { + "start": { + "line": 101, + "column": 29 + }, + "end": { + "line": 101, + "column": 32 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4219, + "end": 4224, + "loc": { + "start": { + "line": 101, + "column": 33 + }, + "end": { + "line": 101, + "column": 38 + }, + "identifierName": "exist" + }, + "name": "exist" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4225, + "end": 4231, + "loc": { + "start": { + "line": 101, + "column": 39 + }, + "end": { + "line": 101, + "column": 45 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 4330, + "end": 5420, + "loc": { + "start": { + "line": 107, + "column": 14 + }, + "end": { + "line": 136, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 4330, + "end": 5419, + "loc": { + "start": { + "line": 107, + "column": 14 + }, + "end": { + "line": 136, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 4330, + "end": 4338, + "loc": { + "start": { + "line": 107, + "column": 14 + }, + "end": { + "line": 107, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 4339, + "end": 4355, + "loc": { + "start": { + "line": 107, + "column": 23 + }, + "end": { + "line": 107, + "column": 39 + } + }, + "extra": { + "rawValue": "#fetchTracks()", + "raw": "'#fetchTracks()'" + }, + "value": "#fetchTracks()" + }, + { + "type": "ArrowFunctionExpression", + "start": 4357, + "end": 5418, + "loc": { + "start": { + "line": 107, + "column": 41 + }, + "end": { + "line": 136, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 4363, + "end": 5418, + "loc": { + "start": { + "line": 107, + "column": 47 + }, + "end": { + "line": 136, + "column": 15 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 4381, + "end": 4409, + "loc": { + "start": { + "line": 108, + "column": 16 + }, + "end": { + "line": 108, + "column": 44 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4385, + "end": 4408, + "loc": { + "start": { + "line": 108, + "column": 20 + }, + "end": { + "line": 108, + "column": 43 + } + }, + "id": { + "type": "Identifier", + "start": 4385, + "end": 4396, + "loc": { + "start": { + "line": 108, + "column": 20 + }, + "end": { + "line": 108, + "column": 31 + }, + "identifierName": "fulfillment" + }, + "name": "fulfillment" + }, + "init": { + "type": "Identifier", + "start": 4399, + "end": 4408, + "loc": { + "start": { + "line": 108, + "column": 34 + }, + "end": { + "line": 108, + "column": 43 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } + } + ], + "kind": "var" + }, + { + "type": "ExpressionStatement", + "start": 4426, + "end": 4832, + "loc": { + "start": { + "line": 109, + "column": 16 + }, + "end": { + "line": 119, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 4426, + "end": 4831, + "loc": { + "start": { + "line": 109, + "column": 16 + }, + "end": { + "line": 119, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 4426, + "end": 4428, + "loc": { + "start": { + "line": 109, + "column": 16 + }, + "end": { + "line": 109, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 4429, + "end": 4457, + "loc": { + "start": { + "line": 109, + "column": 19 + }, + "end": { + "line": 109, + "column": 47 + } + }, + "extra": { + "rawValue": "should response status 200", + "raw": "'should response status 200'" + }, + "value": "should response status 200" + }, + { + "type": "ArrowFunctionExpression", + "start": 4459, + "end": 4830, + "loc": { + "start": { + "line": 109, + "column": 49 + }, + "end": { + "line": 119, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 4465, + "end": 4830, + "loc": { + "start": { + "line": 109, + "column": 55 + }, + "end": { + "line": 119, + "column": 17 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 4485, + "end": 4812, + "loc": { + "start": { + "line": 110, + "column": 18 + }, + "end": { + "line": 118, + "column": 20 + } + }, + "argument": { + "type": "CallExpression", + "start": 4492, + "end": 4811, + "loc": { + "start": { + "line": 110, + "column": 25 + }, + "end": { + "line": 118, + "column": 19 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4492, + "end": 4523, + "loc": { + "start": { + "line": 110, + "column": 25 + }, + "end": { + "line": 110, + "column": 56 + } + }, + "object": { + "type": "CallExpression", + "start": 4492, + "end": 4518, + "loc": { + "start": { + "line": 110, + "column": 25 + }, + "end": { + "line": 110, + "column": 51 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4492, + "end": 4516, + "loc": { + "start": { + "line": 110, + "column": 25 + }, + "end": { + "line": 110, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 4492, + "end": 4504, + "loc": { + "start": { + "line": 110, + "column": 25 + }, + "end": { + "line": 110, + "column": 37 + }, + "identifierName": "albumFetcher" + }, + "name": "albumFetcher" + }, + "property": { + "type": "Identifier", + "start": 4505, + "end": 4516, + "loc": { + "start": { + "line": 110, + "column": 38 + }, + "end": { + "line": 110, + "column": 49 + }, + "identifierName": "fetchTracks" + }, + "name": "fetchTracks" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 4519, + "end": 4523, + "loc": { + "start": { + "line": 110, + "column": 52 + }, + "end": { + "line": 110, + "column": 56 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 4545, + "end": 4688, + "loc": { + "start": { + "line": 111, + "column": 20 + }, + "end": { + "line": 114, + "column": 21 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4545, + "end": 4553, + "loc": { + "start": { + "line": 111, + "column": 20 + }, + "end": { + "line": 111, + "column": 28 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 4557, + "end": 4688, + "loc": { + "start": { + "line": 111, + "column": 32 + }, + "end": { + "line": 114, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4581, + "end": 4620, + "loc": { + "start": { + "line": 112, + "column": 22 + }, + "end": { + "line": 112, + "column": 61 + } + }, + "expression": { + "type": "CallExpression", + "start": 4581, + "end": 4619, + "loc": { + "start": { + "line": 112, + "column": 22 + }, + "end": { + "line": 112, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4581, + "end": 4614, + "loc": { + "start": { + "line": 112, + "column": 22 + }, + "end": { + "line": 112, + "column": 55 + } + }, + "object": { + "type": "MemberExpression", + "start": 4581, + "end": 4606, + "loc": { + "start": { + "line": 112, + "column": 22 + }, + "end": { + "line": 112, + "column": 47 + } + }, + "object": { + "type": "MemberExpression", + "start": 4581, + "end": 4603, + "loc": { + "start": { + "line": 112, + "column": 22 + }, + "end": { + "line": 112, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 4581, + "end": 4596, + "loc": { + "start": { + "line": 112, + "column": 22 + }, + "end": { + "line": 112, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 4581, + "end": 4589, + "loc": { + "start": { + "line": 112, + "column": 22 + }, + "end": { + "line": 112, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 4590, + "end": 4596, + "loc": { + "start": { + "line": 112, + "column": 31 + }, + "end": { + "line": 112, + "column": 37 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4597, + "end": 4603, + "loc": { + "start": { + "line": 112, + "column": 38 + }, + "end": { + "line": 112, + "column": 44 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4604, + "end": 4606, + "loc": { + "start": { + "line": 112, + "column": 45 + }, + "end": { + "line": 112, + "column": 47 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4607, + "end": 4614, + "loc": { + "start": { + "line": 112, + "column": 48 + }, + "end": { + "line": 112, + "column": 55 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 4615, + "end": 4618, + "loc": { + "start": { + "line": 112, + "column": 56 + }, + "end": { + "line": 112, + "column": 59 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 4643, + "end": 4666, + "loc": { + "start": { + "line": 113, + "column": 22 + }, + "end": { + "line": 113, + "column": 45 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4643, + "end": 4665, + "loc": { + "start": { + "line": 113, + "column": 22 + }, + "end": { + "line": 113, + "column": 44 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 4643, + "end": 4654, + "loc": { + "start": { + "line": 113, + "column": 22 + }, + "end": { + "line": 113, + "column": 33 + }, + "identifierName": "fulfillment" + }, + "name": "fulfillment" + }, + "right": { + "type": "Identifier", + "start": 4657, + "end": 4665, + "loc": { + "start": { + "line": 113, + "column": 36 + }, + "end": { + "line": 113, + "column": 44 + }, + "identifierName": "response" + }, + "name": "response" + } + } + } + ], + "directives": [] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 4710, + "end": 4791, + "loc": { + "start": { + "line": 115, + "column": 20 + }, + "end": { + "line": 117, + "column": 21 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4710, + "end": 4716, + "loc": { + "start": { + "line": 115, + "column": 20 + }, + "end": { + "line": 115, + "column": 26 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "BlockStatement", + "start": 4720, + "end": 4791, + "loc": { + "start": { + "line": 115, + "column": 30 + }, + "end": { + "line": 117, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4744, + "end": 4769, + "loc": { + "start": { + "line": 116, + "column": 22 + }, + "end": { + "line": 116, + "column": 47 + } + }, + "expression": { + "type": "CallExpression", + "start": 4744, + "end": 4768, + "loc": { + "start": { + "line": 116, + "column": 22 + }, + "end": { + "line": 116, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4744, + "end": 4760, + "loc": { + "start": { + "line": 116, + "column": 22 + }, + "end": { + "line": 116, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 4744, + "end": 4754, + "loc": { + "start": { + "line": 116, + "column": 22 + }, + "end": { + "line": 116, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 4744, + "end": 4750, + "loc": { + "start": { + "line": 116, + "column": 22 + }, + "end": { + "line": 116, + "column": 28 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 4751, + "end": 4754, + "loc": { + "start": { + "line": 116, + "column": 29 + }, + "end": { + "line": 116, + "column": 32 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4755, + "end": 4760, + "loc": { + "start": { + "line": 116, + "column": 33 + }, + "end": { + "line": 116, + "column": 38 + }, + "identifierName": "exist" + }, + "name": "exist" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4761, + "end": 4767, + "loc": { + "start": { + "line": 116, + "column": 39 + }, + "end": { + "line": 116, + "column": 45 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 4850, + "end": 5224, + "loc": { + "start": { + "line": 121, + "column": 16 + }, + "end": { + "line": 130, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 4850, + "end": 5223, + "loc": { + "start": { + "line": 121, + "column": 16 + }, + "end": { + "line": 130, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 4850, + "end": 4852, + "loc": { + "start": { + "line": 121, + "column": 16 + }, + "end": { + "line": 121, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 4853, + "end": 4882, + "loc": { + "start": { + "line": 121, + "column": 19 + }, + "end": { + "line": 121, + "column": 48 + } + }, + "extra": { + "rawValue": "fetch next page should fail", + "raw": "'fetch next page should fail'" + }, + "value": "fetch next page should fail" + }, + { + "type": "ArrowFunctionExpression", + "start": 4884, + "end": 5222, + "loc": { + "start": { + "line": 121, + "column": 50 + }, + "end": { + "line": 130, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 4890, + "end": 5222, + "loc": { + "start": { + "line": 121, + "column": 56 + }, + "end": { + "line": 130, + "column": 17 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 4910, + "end": 5204, + "loc": { + "start": { + "line": 122, + "column": 18 + }, + "end": { + "line": 129, + "column": 20 + } + }, + "argument": { + "type": "CallExpression", + "start": 4917, + "end": 5203, + "loc": { + "start": { + "line": 122, + "column": 25 + }, + "end": { + "line": 129, + "column": 19 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4917, + "end": 4961, + "loc": { + "start": { + "line": 122, + "column": 25 + }, + "end": { + "line": 122, + "column": 69 + } + }, + "object": { + "type": "CallExpression", + "start": 4917, + "end": 4956, + "loc": { + "start": { + "line": 122, + "column": 25 + }, + "end": { + "line": 122, + "column": 64 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4917, + "end": 4943, + "loc": { + "start": { + "line": 122, + "column": 25 + }, + "end": { + "line": 122, + "column": 51 + } + }, + "object": { + "type": "Identifier", + "start": 4917, + "end": 4929, + "loc": { + "start": { + "line": 122, + "column": 25 + }, + "end": { + "line": 122, + "column": 37 + }, + "identifierName": "albumFetcher" + }, + "name": "albumFetcher" + }, + "property": { + "type": "Identifier", + "start": 4930, + "end": 4943, + "loc": { + "start": { + "line": 122, + "column": 38 + }, + "end": { + "line": 122, + "column": 51 + }, + "identifierName": "fetchNextPage" + }, + "name": "fetchNextPage" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4944, + "end": 4955, + "loc": { + "start": { + "line": 122, + "column": 52 + }, + "end": { + "line": 122, + "column": 63 + }, + "identifierName": "fulfillment" + }, + "name": "fulfillment" + } + ] + }, + "property": { + "type": "Identifier", + "start": 4957, + "end": 4961, + "loc": { + "start": { + "line": 122, + "column": 65 + }, + "end": { + "line": 122, + "column": 69 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 4983, + "end": 5084, + "loc": { + "start": { + "line": 123, + "column": 20 + }, + "end": { + "line": 125, + "column": 21 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4983, + "end": 4991, + "loc": { + "start": { + "line": 123, + "column": 20 + }, + "end": { + "line": 123, + "column": 28 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 4995, + "end": 5084, + "loc": { + "start": { + "line": 123, + "column": 32 + }, + "end": { + "line": 125, + "column": 21 + } + }, + "body": [ + { + "type": "ThrowStatement", + "start": 5019, + "end": 5062, + "loc": { + "start": { + "line": 124, + "column": 22 + }, + "end": { + "line": 124, + "column": 65 + } + }, + "argument": { + "type": "NewExpression", + "start": 5025, + "end": 5061, + "loc": { + "start": { + "line": 124, + "column": 28 + }, + "end": { + "line": 124, + "column": 64 + } + }, + "callee": { + "type": "Identifier", + "start": 5029, + "end": 5034, + "loc": { + "start": { + "line": 124, + "column": 32 + }, + "end": { + "line": 124, + "column": 37 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 5035, + "end": 5060, + "loc": { + "start": { + "line": 124, + "column": 38 + }, + "end": { + "line": 124, + "column": 63 + } + }, + "extra": { + "rawValue": "Should not get response", + "raw": "'Should not get response'" + }, + "value": "Should not get response" + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 5106, + "end": 5183, + "loc": { + "start": { + "line": 126, + "column": 20 + }, + "end": { + "line": 128, + "column": 21 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 5106, + "end": 5112, + "loc": { + "start": { + "line": 126, + "column": 20 + }, + "end": { + "line": 126, + "column": 26 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "BlockStatement", + "start": 5116, + "end": 5183, + "loc": { + "start": { + "line": 126, + "column": 30 + }, + "end": { + "line": 128, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 5140, + "end": 5161, + "loc": { + "start": { + "line": 127, + "column": 22 + }, + "end": { + "line": 127, + "column": 43 + } + }, + "expression": { + "type": "CallExpression", + "start": 5140, + "end": 5160, + "loc": { + "start": { + "line": 127, + "column": 22 + }, + "end": { + "line": 127, + "column": 42 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5140, + "end": 5152, + "loc": { + "start": { + "line": 127, + "column": 22 + }, + "end": { + "line": 127, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 5140, + "end": 5146, + "loc": { + "start": { + "line": 127, + "column": 22 + }, + "end": { + "line": 127, + "column": 28 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 5147, + "end": 5152, + "loc": { + "start": { + "line": 127, + "column": 29 + }, + "end": { + "line": 127, + "column": 34 + }, + "identifierName": "exist" + }, + "name": "exist" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 5153, + "end": 5159, + "loc": { + "start": { + "line": 127, + "column": 35 + }, + "end": { + "line": 127, + "column": 41 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 5242, + "end": 5402, + "loc": { + "start": { + "line": 132, + "column": 16 + }, + "end": { + "line": 135, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 5242, + "end": 5401, + "loc": { + "start": { + "line": 132, + "column": 16 + }, + "end": { + "line": 135, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 5242, + "end": 5244, + "loc": { + "start": { + "line": 132, + "column": 16 + }, + "end": { + "line": 132, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 5245, + "end": 5272, + "loc": { + "start": { + "line": 132, + "column": 19 + }, + "end": { + "line": 132, + "column": 46 + } + }, + "extra": { + "rawValue": "should not have next page", + "raw": "'should not have next page'" + }, + "value": "should not have next page" + }, + { + "type": "ArrowFunctionExpression", + "start": 5274, + "end": 5400, + "loc": { + "start": { + "line": 132, + "column": 48 + }, + "end": { + "line": 135, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 5274, + "end": 5278, + "loc": { + "start": { + "line": 132, + "column": 48 + }, + "end": { + "line": 132, + "column": 52 + }, + "identifierName": "done" + }, + "name": "done" + } + ], + "body": { + "type": "BlockStatement", + "start": 5282, + "end": 5400, + "loc": { + "start": { + "line": 132, + "column": 56 + }, + "end": { + "line": 135, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 5302, + "end": 5356, + "loc": { + "start": { + "line": 133, + "column": 18 + }, + "end": { + "line": 133, + "column": 72 + } + }, + "expression": { + "type": "MemberExpression", + "start": 5302, + "end": 5355, + "loc": { + "start": { + "line": 133, + "column": 18 + }, + "end": { + "line": 133, + "column": 71 + } + }, + "object": { + "type": "MemberExpression", + "start": 5302, + "end": 5349, + "loc": { + "start": { + "line": 133, + "column": 18 + }, + "end": { + "line": 133, + "column": 65 + } + }, + "object": { + "type": "MemberExpression", + "start": 5302, + "end": 5346, + "loc": { + "start": { + "line": 133, + "column": 18 + }, + "end": { + "line": 133, + "column": 62 + } + }, + "object": { + "type": "CallExpression", + "start": 5302, + "end": 5339, + "loc": { + "start": { + "line": 133, + "column": 18 + }, + "end": { + "line": 133, + "column": 55 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5302, + "end": 5326, + "loc": { + "start": { + "line": 133, + "column": 18 + }, + "end": { + "line": 133, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 5302, + "end": 5314, + "loc": { + "start": { + "line": 133, + "column": 18 + }, + "end": { + "line": 133, + "column": 30 + }, + "identifierName": "albumFetcher" + }, + "name": "albumFetcher" + }, + "property": { + "type": "Identifier", + "start": 5315, + "end": 5326, + "loc": { + "start": { + "line": 133, + "column": 31 + }, + "end": { + "line": 133, + "column": 42 + }, + "identifierName": "hasNextPage" + }, + "name": "hasNextPage" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 5327, + "end": 5338, + "loc": { + "start": { + "line": 133, + "column": 43 + }, + "end": { + "line": 133, + "column": 54 + }, + "identifierName": "fulfillment" + }, + "name": "fulfillment" + } + ] + }, + "property": { + "type": "Identifier", + "start": 5340, + "end": 5346, + "loc": { + "start": { + "line": 133, + "column": 56 + }, + "end": { + "line": 133, + "column": 62 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5347, + "end": 5349, + "loc": { + "start": { + "line": 133, + "column": 63 + }, + "end": { + "line": 133, + "column": 65 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5350, + "end": 5355, + "loc": { + "start": { + "line": 133, + "column": 66 + }, + "end": { + "line": 133, + "column": 71 + }, + "identifierName": "false" + }, + "name": "false" + }, + "computed": false + } + }, + { + "type": "ExpressionStatement", + "start": 5375, + "end": 5382, + "loc": { + "start": { + "line": 134, + "column": 18 + }, + "end": { + "line": 134, + "column": 25 + } + }, + "expression": { + "type": "CallExpression", + "start": 5375, + "end": 5381, + "loc": { + "start": { + "line": 134, + "column": 18 + }, + "end": { + "line": 134, + "column": 24 + } + }, + "callee": { + "type": "Identifier", + "start": 5375, + "end": 5379, + "loc": { + "start": { + "line": 134, + "column": 18 + }, + "end": { + "line": 134, + "column": 22 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 5436, + "end": 5798, + "loc": { + "start": { + "line": 138, + "column": 14 + }, + "end": { + "line": 147, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 5436, + "end": 5797, + "loc": { + "start": { + "line": 138, + "column": 14 + }, + "end": { + "line": 147, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 5436, + "end": 5444, + "loc": { + "start": { + "line": 138, + "column": 14 + }, + "end": { + "line": 138, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 5445, + "end": 5460, + "loc": { + "start": { + "line": 138, + "column": 23 + }, + "end": { + "line": 138, + "column": 38 + } + }, + "extra": { + "rawValue": "#getWidgetUri", + "raw": "'#getWidgetUri'" + }, + "value": "#getWidgetUri" + }, + { + "type": "ArrowFunctionExpression", + "start": 5462, + "end": 5796, + "loc": { + "start": { + "line": 138, + "column": 40 + }, + "end": { + "line": 147, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 5468, + "end": 5796, + "loc": { + "start": { + "line": 138, + "column": 46 + }, + "end": { + "line": 147, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 5486, + "end": 5780, + "loc": { + "start": { + "line": 139, + "column": 16 + }, + "end": { + "line": 146, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 5486, + "end": 5779, + "loc": { + "start": { + "line": 139, + "column": 16 + }, + "end": { + "line": 146, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 5486, + "end": 5488, + "loc": { + "start": { + "line": 139, + "column": 16 + }, + "end": { + "line": 139, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 5489, + "end": 5514, + "loc": { + "start": { + "line": 139, + "column": 19 + }, + "end": { + "line": 139, + "column": 44 + } + }, + "extra": { + "rawValue": "should return right uri", + "raw": "'should return right uri'" + }, + "value": "should return right uri" + }, + { + "type": "ArrowFunctionExpression", + "start": 5516, + "end": 5778, + "loc": { + "start": { + "line": 139, + "column": 46 + }, + "end": { + "line": 146, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 5516, + "end": 5520, + "loc": { + "start": { + "line": 139, + "column": 46 + }, + "end": { + "line": 139, + "column": 50 + }, + "identifierName": "done" + }, + "name": "done" + } + ], + "body": { + "type": "BlockStatement", + "start": 5524, + "end": 5778, + "loc": { + "start": { + "line": 139, + "column": 54 + }, + "end": { + "line": 146, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 5544, + "end": 5734, + "loc": { + "start": { + "line": 140, + "column": 18 + }, + "end": { + "line": 144, + "column": 22 + } + }, + "expression": { + "type": "CallExpression", + "start": 5544, + "end": 5733, + "loc": { + "start": { + "line": 140, + "column": 18 + }, + "end": { + "line": 144, + "column": 21 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5544, + "end": 5631, + "loc": { + "start": { + "line": 140, + "column": 18 + }, + "end": { + "line": 142, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 5544, + "end": 5623, + "loc": { + "start": { + "line": 140, + "column": 18 + }, + "end": { + "line": 142, + "column": 30 + } + }, + "object": { + "type": "MemberExpression", + "start": 5544, + "end": 5620, + "loc": { + "start": { + "line": 140, + "column": 18 + }, + "end": { + "line": 142, + "column": 27 + } + }, + "object": { + "type": "CallExpression", + "start": 5544, + "end": 5592, + "loc": { + "start": { + "line": 140, + "column": 18 + }, + "end": { + "line": 141, + "column": 35 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5544, + "end": 5590, + "loc": { + "start": { + "line": 140, + "column": 18 + }, + "end": { + "line": 141, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 5544, + "end": 5556, + "loc": { + "start": { + "line": 140, + "column": 18 + }, + "end": { + "line": 140, + "column": 30 + }, + "identifierName": "albumFetcher" + }, + "name": "albumFetcher" + }, + "property": { + "type": "Identifier", + "start": 5578, + "end": 5590, + "loc": { + "start": { + "line": 141, + "column": 21 + }, + "end": { + "line": 141, + "column": 33 + }, + "identifierName": "getWidgetUri" + }, + "name": "getWidgetUri" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 5614, + "end": 5620, + "loc": { + "start": { + "line": 142, + "column": 21 + }, + "end": { + "line": 142, + "column": 27 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5621, + "end": 5623, + "loc": { + "start": { + "line": 142, + "column": 28 + }, + "end": { + "line": 142, + "column": 30 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5624, + "end": 5631, + "loc": { + "start": { + "line": 142, + "column": 31 + }, + "end": { + "line": 142, + "column": 38 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "TemplateLiteral", + "start": 5655, + "end": 5711, + "loc": { + "start": { + "line": 143, + "column": 22 + }, + "end": { + "line": 143, + "column": 78 + } + }, + "expressions": [ + { + "type": "Identifier", + "start": 5690, + "end": 5698, + "loc": { + "start": { + "line": 143, + "column": 57 + }, + "end": { + "line": 143, + "column": 65 + }, + "identifierName": "album_id" + }, + "name": "album_id" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 5656, + "end": 5688, + "loc": { + "start": { + "line": 143, + "column": 23 + }, + "end": { + "line": 143, + "column": 55 + } + }, + "value": { + "raw": "https://widget.kkbox.com/v1/?id=", + "cooked": "https://widget.kkbox.com/v1/?id=" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 5699, + "end": 5710, + "loc": { + "start": { + "line": 143, + "column": 66 + }, + "end": { + "line": 143, + "column": 77 + } + }, + "value": { + "raw": "&type=album", + "cooked": "&type=album" + }, + "tail": true + } + ] + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 5753, + "end": 5760, + "loc": { + "start": { + "line": 145, + "column": 18 + }, + "end": { + "line": 145, + "column": 25 + } + }, + "expression": { + "type": "CallExpression", + "start": 5753, + "end": 5759, + "loc": { + "start": { + "line": 145, + "column": 18 + }, + "end": { + "line": 145, + "column": 24 + } + }, + "callee": { + "type": "Identifier", + "start": 5753, + "end": 5757, + "loc": { + "start": { + "line": 145, + "column": 18 + }, + "end": { + "line": 145, + "column": 22 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 5828, + "end": 7049, + "loc": { + "start": { + "line": 150, + "column": 12 + }, + "end": { + "line": 179, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 5828, + "end": 7048, + "loc": { + "start": { + "line": 150, + "column": 12 + }, + "end": { + "line": 179, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 5828, + "end": 5836, + "loc": { + "start": { + "line": 150, + "column": 12 + }, + "end": { + "line": 150, + "column": 20 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 5837, + "end": 5862, + "loc": { + "start": { + "line": 150, + "column": 21 + }, + "end": { + "line": 150, + "column": 46 + } + }, + "extra": { + "rawValue": "Album fetch next tracks", + "raw": "'Album fetch next tracks'" + }, + "value": "Album fetch next tracks" + }, + { + "type": "ArrowFunctionExpression", + "start": 5864, + "end": 7047, + "loc": { + "start": { + "line": 150, + "column": 48 + }, + "end": { + "line": 179, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 5870, + "end": 7047, + "loc": { + "start": { + "line": 150, + "column": 54 + }, + "end": { + "line": 179, + "column": 13 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 5886, + "end": 5924, + "loc": { + "start": { + "line": 151, + "column": 14 + }, + "end": { + "line": 151, + "column": 52 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 5892, + "end": 5923, + "loc": { + "start": { + "line": 151, + "column": 20 + }, + "end": { + "line": 151, + "column": 51 + } + }, + "id": { + "type": "Identifier", + "start": 5892, + "end": 5900, + "loc": { + "start": { + "line": 151, + "column": 20 + }, + "end": { + "line": 151, + "column": 28 + }, + "identifierName": "album_id" + }, + "name": "album_id" + }, + "init": { + "type": "StringLiteral", + "start": 5903, + "end": 5923, + "loc": { + "start": { + "line": 151, + "column": 31 + }, + "end": { + "line": 151, + "column": 51 + } + }, + "extra": { + "rawValue": "Ks8MAYNedkIB_sGajW", + "raw": "'Ks8MAYNedkIB_sGajW'" + }, + "value": "Ks8MAYNedkIB_sGajW" + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentLine", + "value": " Cosmic Explorer from Perfume", + "start": 5925, + "end": 5956, + "loc": { + "start": { + "line": 151, + "column": 53 + }, + "end": { + "line": 151, + "column": 84 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 5971, + "end": 6074, + "loc": { + "start": { + "line": 152, + "column": 14 + }, + "end": { + "line": 154, + "column": 16 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 5977, + "end": 6073, + "loc": { + "start": { + "line": 152, + "column": 20 + }, + "end": { + "line": 154, + "column": 15 + } + }, + "id": { + "type": "Identifier", + "start": 5977, + "end": 5989, + "loc": { + "start": { + "line": 152, + "column": 20 + }, + "end": { + "line": 152, + "column": 32 + }, + "identifierName": "albumFetcher" + }, + "name": "albumFetcher", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 5992, + "end": 6073, + "loc": { + "start": { + "line": 152, + "column": 35 + }, + "end": { + "line": 154, + "column": 15 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5992, + "end": 6031, + "loc": { + "start": { + "line": 152, + "column": 35 + }, + "end": { + "line": 152, + "column": 74 + } + }, + "object": { + "type": "NewExpression", + "start": 5992, + "end": 6020, + "loc": { + "start": { + "line": 152, + "column": 35 + }, + "end": { + "line": 152, + "column": 63 + } + }, + "callee": { + "type": "Identifier", + "start": 5996, + "end": 6008, + "loc": { + "start": { + "line": 152, + "column": 39 + }, + "end": { + "line": 152, + "column": 51 + }, + "identifierName": "AlbumFetcher" + }, + "name": "AlbumFetcher" + }, + "arguments": [ + { + "type": "Identifier", + "start": 6009, + "end": 6019, + "loc": { + "start": { + "line": 152, + "column": 52 + }, + "end": { + "line": 152, + "column": 62 + }, + "identifierName": "httpClient" + }, + "name": "httpClient" + } + ] + }, + "property": { + "type": "Identifier", + "start": 6021, + "end": 6031, + "loc": { + "start": { + "line": 152, + "column": 64 + }, + "end": { + "line": 152, + "column": 74 + }, + "identifierName": "setAlbumID" + }, + "name": "setAlbumID" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 6049, + "end": 6057, + "loc": { + "start": { + "line": 153, + "column": 16 + }, + "end": { + "line": 153, + "column": 24 + }, + "identifierName": "album_id" + }, + "name": "album_id" + } + ] + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentLine", + "value": " Cosmic Explorer from Perfume", + "start": 5925, + "end": 5956, + "loc": { + "start": { + "line": 151, + "column": 53 + }, + "end": { + "line": 151, + "column": 84 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 6090, + "end": 7033, + "loc": { + "start": { + "line": 156, + "column": 14 + }, + "end": { + "line": 178, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 6090, + "end": 7032, + "loc": { + "start": { + "line": 156, + "column": 14 + }, + "end": { + "line": 178, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 6090, + "end": 6098, + "loc": { + "start": { + "line": 156, + "column": 14 + }, + "end": { + "line": 156, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 6099, + "end": 6116, + "loc": { + "start": { + "line": 156, + "column": 23 + }, + "end": { + "line": 156, + "column": 40 + } + }, + "extra": { + "rawValue": "#fetchTracks(1)", + "raw": "'#fetchTracks(1)'" + }, + "value": "#fetchTracks(1)" + }, + { + "type": "ArrowFunctionExpression", + "start": 6118, + "end": 7031, + "loc": { + "start": { + "line": 156, + "column": 42 + }, + "end": { + "line": 178, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 6124, + "end": 7031, + "loc": { + "start": { + "line": 156, + "column": 48 + }, + "end": { + "line": 178, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 6142, + "end": 7015, + "loc": { + "start": { + "line": 157, + "column": 16 + }, + "end": { + "line": 177, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 6142, + "end": 7014, + "loc": { + "start": { + "line": 157, + "column": 16 + }, + "end": { + "line": 177, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 6142, + "end": 6144, + "loc": { + "start": { + "line": 157, + "column": 16 + }, + "end": { + "line": 157, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 6145, + "end": 6196, + "loc": { + "start": { + "line": 157, + "column": 19 + }, + "end": { + "line": 157, + "column": 70 + } + }, + "extra": { + "rawValue": "should succeed and should fetch next page succeed", + "raw": "'should succeed and should fetch next page succeed'" + }, + "value": "should succeed and should fetch next page succeed" + }, + { + "type": "ArrowFunctionExpression", + "start": 6198, + "end": 7013, + "loc": { + "start": { + "line": 157, + "column": 72 + }, + "end": { + "line": 177, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 6198, + "end": 6202, + "loc": { + "start": { + "line": 157, + "column": 72 + }, + "end": { + "line": 157, + "column": 76 + }, + "identifierName": "done" + }, + "name": "done" + } + ], + "body": { + "type": "BlockStatement", + "start": 6206, + "end": 7013, + "loc": { + "start": { + "line": 157, + "column": 80 + }, + "end": { + "line": 177, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 6226, + "end": 6995, + "loc": { + "start": { + "line": 158, + "column": 18 + }, + "end": { + "line": 176, + "column": 20 + } + }, + "expression": { + "type": "CallExpression", + "start": 6226, + "end": 6994, + "loc": { + "start": { + "line": 158, + "column": 18 + }, + "end": { + "line": 176, + "column": 19 + } + }, + "callee": { + "type": "MemberExpression", + "start": 6226, + "end": 6258, + "loc": { + "start": { + "line": 158, + "column": 18 + }, + "end": { + "line": 158, + "column": 50 + } + }, + "object": { + "type": "CallExpression", + "start": 6226, + "end": 6253, + "loc": { + "start": { + "line": 158, + "column": 18 + }, + "end": { + "line": 158, + "column": 45 + } + }, + "callee": { + "type": "MemberExpression", + "start": 6226, + "end": 6250, + "loc": { + "start": { + "line": 158, + "column": 18 + }, + "end": { + "line": 158, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 6226, + "end": 6238, + "loc": { + "start": { + "line": 158, + "column": 18 + }, + "end": { + "line": 158, + "column": 30 + }, + "identifierName": "albumFetcher" + }, + "name": "albumFetcher" + }, + "property": { + "type": "Identifier", + "start": 6239, + "end": 6250, + "loc": { + "start": { + "line": 158, + "column": 31 + }, + "end": { + "line": 158, + "column": 42 + }, + "identifierName": "fetchTracks" + }, + "name": "fetchTracks" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 6251, + "end": 6252, + "loc": { + "start": { + "line": 158, + "column": 43 + }, + "end": { + "line": 158, + "column": 44 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + ] + }, + "property": { + "type": "Identifier", + "start": 6254, + "end": 6258, + "loc": { + "start": { + "line": 158, + "column": 46 + }, + "end": { + "line": 158, + "column": 50 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 6280, + "end": 6883, + "loc": { + "start": { + "line": 159, + "column": 20 + }, + "end": { + "line": 172, + "column": 21 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 6280, + "end": 6288, + "loc": { + "start": { + "line": 159, + "column": 20 + }, + "end": { + "line": 159, + "column": 28 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 6292, + "end": 6883, + "loc": { + "start": { + "line": 159, + "column": 32 + }, + "end": { + "line": 172, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 6316, + "end": 6355, + "loc": { + "start": { + "line": 160, + "column": 22 + }, + "end": { + "line": 160, + "column": 61 + } + }, + "expression": { + "type": "CallExpression", + "start": 6316, + "end": 6354, + "loc": { + "start": { + "line": 160, + "column": 22 + }, + "end": { + "line": 160, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 6316, + "end": 6349, + "loc": { + "start": { + "line": 160, + "column": 22 + }, + "end": { + "line": 160, + "column": 55 + } + }, + "object": { + "type": "MemberExpression", + "start": 6316, + "end": 6341, + "loc": { + "start": { + "line": 160, + "column": 22 + }, + "end": { + "line": 160, + "column": 47 + } + }, + "object": { + "type": "MemberExpression", + "start": 6316, + "end": 6338, + "loc": { + "start": { + "line": 160, + "column": 22 + }, + "end": { + "line": 160, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 6316, + "end": 6331, + "loc": { + "start": { + "line": 160, + "column": 22 + }, + "end": { + "line": 160, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 6316, + "end": 6324, + "loc": { + "start": { + "line": 160, + "column": 22 + }, + "end": { + "line": 160, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 6325, + "end": 6331, + "loc": { + "start": { + "line": 160, + "column": 31 + }, + "end": { + "line": 160, + "column": 37 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 6332, + "end": 6338, + "loc": { + "start": { + "line": 160, + "column": 38 + }, + "end": { + "line": 160, + "column": 44 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 6339, + "end": 6341, + "loc": { + "start": { + "line": 160, + "column": 45 + }, + "end": { + "line": 160, + "column": 47 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 6342, + "end": 6349, + "loc": { + "start": { + "line": 160, + "column": 48 + }, + "end": { + "line": 160, + "column": 55 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 6350, + "end": 6353, + "loc": { + "start": { + "line": 160, + "column": 56 + }, + "end": { + "line": 160, + "column": 59 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 6378, + "end": 6861, + "loc": { + "start": { + "line": 161, + "column": 22 + }, + "end": { + "line": 171, + "column": 24 + } + }, + "expression": { + "type": "CallExpression", + "start": 6378, + "end": 6860, + "loc": { + "start": { + "line": 161, + "column": 22 + }, + "end": { + "line": 171, + "column": 23 + } + }, + "callee": { + "type": "MemberExpression", + "start": 6378, + "end": 6419, + "loc": { + "start": { + "line": 161, + "column": 22 + }, + "end": { + "line": 161, + "column": 63 + } + }, + "object": { + "type": "CallExpression", + "start": 6378, + "end": 6414, + "loc": { + "start": { + "line": 161, + "column": 22 + }, + "end": { + "line": 161, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 6378, + "end": 6404, + "loc": { + "start": { + "line": 161, + "column": 22 + }, + "end": { + "line": 161, + "column": 48 + } + }, + "object": { + "type": "Identifier", + "start": 6378, + "end": 6390, + "loc": { + "start": { + "line": 161, + "column": 22 + }, + "end": { + "line": 161, + "column": 34 + }, + "identifierName": "albumFetcher" + }, + "name": "albumFetcher" + }, + "property": { + "type": "Identifier", + "start": 6391, + "end": 6404, + "loc": { + "start": { + "line": 161, + "column": 35 + }, + "end": { + "line": 161, + "column": 48 + }, + "identifierName": "fetchNextPage" + }, + "name": "fetchNextPage" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 6405, + "end": 6413, + "loc": { + "start": { + "line": 161, + "column": 49 + }, + "end": { + "line": 161, + "column": 57 + }, + "identifierName": "response" + }, + "name": "response" + } + ] + }, + "property": { + "type": "Identifier", + "start": 6415, + "end": 6419, + "loc": { + "start": { + "line": 161, + "column": 59 + }, + "end": { + "line": 161, + "column": 63 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 6445, + "end": 6733, + "loc": { + "start": { + "line": 162, + "column": 24 + }, + "end": { + "line": 167, + "column": 25 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 6445, + "end": 6453, + "loc": { + "start": { + "line": 162, + "column": 24 + }, + "end": { + "line": 162, + "column": 32 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 6457, + "end": 6733, + "loc": { + "start": { + "line": 162, + "column": 36 + }, + "end": { + "line": 167, + "column": 25 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 6485, + "end": 6535, + "loc": { + "start": { + "line": 163, + "column": 26 + }, + "end": { + "line": 163, + "column": 76 + } + }, + "expression": { + "type": "CallExpression", + "start": 6485, + "end": 6534, + "loc": { + "start": { + "line": 163, + "column": 26 + }, + "end": { + "line": 163, + "column": 75 + } + }, + "callee": { + "type": "MemberExpression", + "start": 6485, + "end": 6527, + "loc": { + "start": { + "line": 163, + "column": 26 + }, + "end": { + "line": 163, + "column": 68 + } + }, + "object": { + "type": "MemberExpression", + "start": 6485, + "end": 6516, + "loc": { + "start": { + "line": 163, + "column": 26 + }, + "end": { + "line": 163, + "column": 57 + } + }, + "object": { + "type": "MemberExpression", + "start": 6485, + "end": 6513, + "loc": { + "start": { + "line": 163, + "column": 26 + }, + "end": { + "line": 163, + "column": 54 + } + }, + "object": { + "type": "MemberExpression", + "start": 6485, + "end": 6510, + "loc": { + "start": { + "line": 163, + "column": 26 + }, + "end": { + "line": 163, + "column": 51 + } + }, + "object": { + "type": "MemberExpression", + "start": 6485, + "end": 6503, + "loc": { + "start": { + "line": 163, + "column": 26 + }, + "end": { + "line": 163, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 6485, + "end": 6498, + "loc": { + "start": { + "line": 163, + "column": 26 + }, + "end": { + "line": 163, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 6485, + "end": 6493, + "loc": { + "start": { + "line": 163, + "column": 26 + }, + "end": { + "line": 163, + "column": 34 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 6494, + "end": 6498, + "loc": { + "start": { + "line": 163, + "column": 35 + }, + "end": { + "line": 163, + "column": 39 + }, + "identifierName": "data" + }, + "name": "data" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 6499, + "end": 6503, + "loc": { + "start": { + "line": 163, + "column": 40 + }, + "end": { + "line": 163, + "column": 44 + }, + "identifierName": "data" + }, + "name": "data" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 6504, + "end": 6510, + "loc": { + "start": { + "line": 163, + "column": 45 + }, + "end": { + "line": 163, + "column": 51 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 6511, + "end": 6513, + "loc": { + "start": { + "line": 163, + "column": 52 + }, + "end": { + "line": 163, + "column": 54 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 6514, + "end": 6516, + "loc": { + "start": { + "line": 163, + "column": 55 + }, + "end": { + "line": 163, + "column": 57 + }, + "identifierName": "an" + }, + "name": "an" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 6517, + "end": 6527, + "loc": { + "start": { + "line": 163, + "column": 58 + }, + "end": { + "line": 163, + "column": 68 + }, + "identifierName": "instanceOf" + }, + "name": "instanceOf" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 6528, + "end": 6533, + "loc": { + "start": { + "line": 163, + "column": 69 + }, + "end": { + "line": 163, + "column": 74 + }, + "identifierName": "Array" + }, + "name": "Array" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 6562, + "end": 6607, + "loc": { + "start": { + "line": 164, + "column": 26 + }, + "end": { + "line": 164, + "column": 71 + } + }, + "expression": { + "type": "CallExpression", + "start": 6562, + "end": 6606, + "loc": { + "start": { + "line": 164, + "column": 26 + }, + "end": { + "line": 164, + "column": 70 + } + }, + "callee": { + "type": "MemberExpression", + "start": 6562, + "end": 6603, + "loc": { + "start": { + "line": 164, + "column": 26 + }, + "end": { + "line": 164, + "column": 67 + } + }, + "object": { + "type": "MemberExpression", + "start": 6562, + "end": 6597, + "loc": { + "start": { + "line": 164, + "column": 26 + }, + "end": { + "line": 164, + "column": 61 + } + }, + "object": { + "type": "MemberExpression", + "start": 6562, + "end": 6594, + "loc": { + "start": { + "line": 164, + "column": 26 + }, + "end": { + "line": 164, + "column": 58 + } + }, + "object": { + "type": "MemberExpression", + "start": 6562, + "end": 6587, + "loc": { + "start": { + "line": 164, + "column": 26 + }, + "end": { + "line": 164, + "column": 51 + } + }, + "object": { + "type": "MemberExpression", + "start": 6562, + "end": 6580, + "loc": { + "start": { + "line": 164, + "column": 26 + }, + "end": { + "line": 164, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 6562, + "end": 6575, + "loc": { + "start": { + "line": 164, + "column": 26 + }, + "end": { + "line": 164, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 6562, + "end": 6570, + "loc": { + "start": { + "line": 164, + "column": 26 + }, + "end": { + "line": 164, + "column": 34 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 6571, + "end": 6575, + "loc": { + "start": { + "line": 164, + "column": 35 + }, + "end": { + "line": 164, + "column": 39 + }, + "identifierName": "data" + }, + "name": "data" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 6576, + "end": 6580, + "loc": { + "start": { + "line": 164, + "column": 40 + }, + "end": { + "line": 164, + "column": 44 + }, + "identifierName": "data" + }, + "name": "data" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 6581, + "end": 6587, + "loc": { + "start": { + "line": 164, + "column": 45 + }, + "end": { + "line": 164, + "column": 51 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 6588, + "end": 6594, + "loc": { + "start": { + "line": 164, + "column": 52 + }, + "end": { + "line": 164, + "column": 58 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 6595, + "end": 6597, + "loc": { + "start": { + "line": 164, + "column": 59 + }, + "end": { + "line": 164, + "column": 61 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 6598, + "end": 6603, + "loc": { + "start": { + "line": 164, + "column": 62 + }, + "end": { + "line": 164, + "column": 67 + }, + "identifierName": "equal" + }, + "name": "equal" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 6604, + "end": 6605, + "loc": { + "start": { + "line": 164, + "column": 68 + }, + "end": { + "line": 164, + "column": 69 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 6634, + "end": 6673, + "loc": { + "start": { + "line": 165, + "column": 26 + }, + "end": { + "line": 165, + "column": 65 + } + }, + "expression": { + "type": "CallExpression", + "start": 6634, + "end": 6672, + "loc": { + "start": { + "line": 165, + "column": 26 + }, + "end": { + "line": 165, + "column": 64 + } + }, + "callee": { + "type": "MemberExpression", + "start": 6634, + "end": 6667, + "loc": { + "start": { + "line": 165, + "column": 26 + }, + "end": { + "line": 165, + "column": 59 + } + }, + "object": { + "type": "MemberExpression", + "start": 6634, + "end": 6659, + "loc": { + "start": { + "line": 165, + "column": 26 + }, + "end": { + "line": 165, + "column": 51 + } + }, + "object": { + "type": "MemberExpression", + "start": 6634, + "end": 6656, + "loc": { + "start": { + "line": 165, + "column": 26 + }, + "end": { + "line": 165, + "column": 48 + } + }, + "object": { + "type": "MemberExpression", + "start": 6634, + "end": 6649, + "loc": { + "start": { + "line": 165, + "column": 26 + }, + "end": { + "line": 165, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 6634, + "end": 6642, + "loc": { + "start": { + "line": 165, + "column": 26 + }, + "end": { + "line": 165, + "column": 34 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 6643, + "end": 6649, + "loc": { + "start": { + "line": 165, + "column": 35 + }, + "end": { + "line": 165, + "column": 41 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 6650, + "end": 6656, + "loc": { + "start": { + "line": 165, + "column": 42 + }, + "end": { + "line": 165, + "column": 48 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 6657, + "end": 6659, + "loc": { + "start": { + "line": 165, + "column": 49 + }, + "end": { + "line": 165, + "column": 51 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 6660, + "end": 6667, + "loc": { + "start": { + "line": 165, + "column": 52 + }, + "end": { + "line": 165, + "column": 59 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 6668, + "end": 6671, + "loc": { + "start": { + "line": 165, + "column": 60 + }, + "end": { + "line": 165, + "column": 63 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 6700, + "end": 6707, + "loc": { + "start": { + "line": 166, + "column": 26 + }, + "end": { + "line": 166, + "column": 33 + } + }, + "expression": { + "type": "CallExpression", + "start": 6700, + "end": 6706, + "loc": { + "start": { + "line": 166, + "column": 26 + }, + "end": { + "line": 166, + "column": 32 + } + }, + "callee": { + "type": "Identifier", + "start": 6700, + "end": 6704, + "loc": { + "start": { + "line": 166, + "column": 26 + }, + "end": { + "line": 166, + "column": 30 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [] + } + } + ], + "directives": [] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 6759, + "end": 6836, + "loc": { + "start": { + "line": 168, + "column": 24 + }, + "end": { + "line": 170, + "column": 25 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 6759, + "end": 6765, + "loc": { + "start": { + "line": 168, + "column": 24 + }, + "end": { + "line": 168, + "column": 30 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "BlockStatement", + "start": 6769, + "end": 6836, + "loc": { + "start": { + "line": 168, + "column": 34 + }, + "end": { + "line": 170, + "column": 25 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 6797, + "end": 6810, + "loc": { + "start": { + "line": 169, + "column": 26 + }, + "end": { + "line": 169, + "column": 39 + } + }, + "expression": { + "type": "CallExpression", + "start": 6797, + "end": 6809, + "loc": { + "start": { + "line": 169, + "column": 26 + }, + "end": { + "line": 169, + "column": 38 + } + }, + "callee": { + "type": "Identifier", + "start": 6797, + "end": 6801, + "loc": { + "start": { + "line": 169, + "column": 26 + }, + "end": { + "line": 169, + "column": 30 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [ + { + "type": "Identifier", + "start": 6802, + "end": 6808, + "loc": { + "start": { + "line": 169, + "column": 31 + }, + "end": { + "line": 169, + "column": 37 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 6905, + "end": 6974, + "loc": { + "start": { + "line": 173, + "column": 20 + }, + "end": { + "line": 175, + "column": 21 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 6905, + "end": 6911, + "loc": { + "start": { + "line": 173, + "column": 20 + }, + "end": { + "line": 173, + "column": 26 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "BlockStatement", + "start": 6915, + "end": 6974, + "loc": { + "start": { + "line": 173, + "column": 30 + }, + "end": { + "line": 175, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 6939, + "end": 6952, + "loc": { + "start": { + "line": 174, + "column": 22 + }, + "end": { + "line": 174, + "column": 35 + } + }, + "expression": { + "type": "CallExpression", + "start": 6939, + "end": 6951, + "loc": { + "start": { + "line": 174, + "column": 22 + }, + "end": { + "line": 174, + "column": 34 + } + }, + "callee": { + "type": "Identifier", + "start": 6939, + "end": 6943, + "loc": { + "start": { + "line": 174, + "column": 22 + }, + "end": { + "line": 174, + "column": 26 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [ + { + "type": "Identifier", + "start": 6944, + "end": 6950, + "loc": { + "start": { + "line": 174, + "column": 27 + }, + "end": { + "line": 174, + "column": 33 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 7063, + "end": 8019, + "loc": { + "start": { + "line": 181, + "column": 12 + }, + "end": { + "line": 205, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 7063, + "end": 8018, + "loc": { + "start": { + "line": 181, + "column": 12 + }, + "end": { + "line": 205, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 7063, + "end": 7071, + "loc": { + "start": { + "line": 181, + "column": 12 + }, + "end": { + "line": 181, + "column": 20 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 7072, + "end": 7095, + "loc": { + "start": { + "line": 181, + "column": 21 + }, + "end": { + "line": 181, + "column": 44 + } + }, + "extra": { + "rawValue": "Album fetch next page", + "raw": "'Album fetch next page'" + }, + "value": "Album fetch next page" + }, + { + "type": "ArrowFunctionExpression", + "start": 7097, + "end": 8017, + "loc": { + "start": { + "line": 181, + "column": 46 + }, + "end": { + "line": 205, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 7103, + "end": 8017, + "loc": { + "start": { + "line": 181, + "column": 52 + }, + "end": { + "line": 205, + "column": 13 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 7119, + "end": 7157, + "loc": { + "start": { + "line": 182, + "column": 14 + }, + "end": { + "line": 182, + "column": 52 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 7125, + "end": 7156, + "loc": { + "start": { + "line": 182, + "column": 20 + }, + "end": { + "line": 182, + "column": 51 + } + }, + "id": { + "type": "Identifier", + "start": 7125, + "end": 7133, + "loc": { + "start": { + "line": 182, + "column": 20 + }, + "end": { + "line": 182, + "column": 28 + }, + "identifierName": "album_id" + }, + "name": "album_id" + }, + "init": { + "type": "StringLiteral", + "start": 7136, + "end": 7156, + "loc": { + "start": { + "line": 182, + "column": 31 + }, + "end": { + "line": 182, + "column": 51 + } + }, + "extra": { + "rawValue": "Ks8MAYNedkIB_sGajW", + "raw": "'Ks8MAYNedkIB_sGajW'" + }, + "value": "Ks8MAYNedkIB_sGajW" + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentLine", + "value": " Cosmic Explorer from Perfume", + "start": 7158, + "end": 7189, + "loc": { + "start": { + "line": 182, + "column": 53 + }, + "end": { + "line": 182, + "column": 84 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 7204, + "end": 7307, + "loc": { + "start": { + "line": 183, + "column": 14 + }, + "end": { + "line": 185, + "column": 16 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 7210, + "end": 7306, + "loc": { + "start": { + "line": 183, + "column": 20 + }, + "end": { + "line": 185, + "column": 15 + } + }, + "id": { + "type": "Identifier", + "start": 7210, + "end": 7222, + "loc": { + "start": { + "line": 183, + "column": 20 + }, + "end": { + "line": 183, + "column": 32 + }, + "identifierName": "albumFetcher" + }, + "name": "albumFetcher", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 7225, + "end": 7306, + "loc": { + "start": { + "line": 183, + "column": 35 + }, + "end": { + "line": 185, + "column": 15 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7225, + "end": 7264, + "loc": { + "start": { + "line": 183, + "column": 35 + }, + "end": { + "line": 183, + "column": 74 + } + }, + "object": { + "type": "NewExpression", + "start": 7225, + "end": 7253, + "loc": { + "start": { + "line": 183, + "column": 35 + }, + "end": { + "line": 183, + "column": 63 + } + }, + "callee": { + "type": "Identifier", + "start": 7229, + "end": 7241, + "loc": { + "start": { + "line": 183, + "column": 39 + }, + "end": { + "line": 183, + "column": 51 + }, + "identifierName": "AlbumFetcher" + }, + "name": "AlbumFetcher" + }, + "arguments": [ + { + "type": "Identifier", + "start": 7242, + "end": 7252, + "loc": { + "start": { + "line": 183, + "column": 52 + }, + "end": { + "line": 183, + "column": 62 + }, + "identifierName": "httpClient" + }, + "name": "httpClient" + } + ] + }, + "property": { + "type": "Identifier", + "start": 7254, + "end": 7264, + "loc": { + "start": { + "line": 183, + "column": 64 + }, + "end": { + "line": 183, + "column": 74 + }, + "identifierName": "setAlbumID" + }, + "name": "setAlbumID" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 7282, + "end": 7290, + "loc": { + "start": { + "line": 184, + "column": 16 + }, + "end": { + "line": 184, + "column": 24 + }, + "identifierName": "album_id" + }, + "name": "album_id" + } + ] + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentLine", + "value": " Cosmic Explorer from Perfume", + "start": 7158, + "end": 7189, + "loc": { + "start": { + "line": 182, + "column": 53 + }, + "end": { + "line": 182, + "column": 84 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 7323, + "end": 8003, + "loc": { + "start": { + "line": 187, + "column": 14 + }, + "end": { + "line": 204, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 7323, + "end": 8002, + "loc": { + "start": { + "line": 187, + "column": 14 + }, + "end": { + "line": 204, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 7323, + "end": 7325, + "loc": { + "start": { + "line": 187, + "column": 14 + }, + "end": { + "line": 187, + "column": 16 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 7326, + "end": 7370, + "loc": { + "start": { + "line": 187, + "column": 17 + }, + "end": { + "line": 187, + "column": 61 + } + }, + "extra": { + "rawValue": "fetch next page should response status 200", + "raw": "'fetch next page should response status 200'" + }, + "value": "fetch next page should response status 200" + }, + { + "type": "ArrowFunctionExpression", + "start": 7372, + "end": 8001, + "loc": { + "start": { + "line": 187, + "column": 63 + }, + "end": { + "line": 204, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 7378, + "end": 8001, + "loc": { + "start": { + "line": 187, + "column": 69 + }, + "end": { + "line": 204, + "column": 15 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 7396, + "end": 7985, + "loc": { + "start": { + "line": 188, + "column": 16 + }, + "end": { + "line": 203, + "column": 18 + } + }, + "argument": { + "type": "CallExpression", + "start": 7403, + "end": 7984, + "loc": { + "start": { + "line": 188, + "column": 23 + }, + "end": { + "line": 203, + "column": 17 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7403, + "end": 7435, + "loc": { + "start": { + "line": 188, + "column": 23 + }, + "end": { + "line": 188, + "column": 55 + } + }, + "object": { + "type": "CallExpression", + "start": 7403, + "end": 7430, + "loc": { + "start": { + "line": 188, + "column": 23 + }, + "end": { + "line": 188, + "column": 50 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7403, + "end": 7427, + "loc": { + "start": { + "line": 188, + "column": 23 + }, + "end": { + "line": 188, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 7403, + "end": 7415, + "loc": { + "start": { + "line": 188, + "column": 23 + }, + "end": { + "line": 188, + "column": 35 + }, + "identifierName": "albumFetcher" + }, + "name": "albumFetcher" + }, + "property": { + "type": "Identifier", + "start": 7416, + "end": 7427, + "loc": { + "start": { + "line": 188, + "column": 36 + }, + "end": { + "line": 188, + "column": 47 + }, + "identifierName": "fetchTracks" + }, + "name": "fetchTracks" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 7428, + "end": 7429, + "loc": { + "start": { + "line": 188, + "column": 48 + }, + "end": { + "line": 188, + "column": 49 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + ] + }, + "property": { + "type": "Identifier", + "start": 7431, + "end": 7435, + "loc": { + "start": { + "line": 188, + "column": 51 + }, + "end": { + "line": 188, + "column": 55 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 7455, + "end": 7868, + "loc": { + "start": { + "line": 189, + "column": 18 + }, + "end": { + "line": 199, + "column": 19 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 7455, + "end": 7463, + "loc": { + "start": { + "line": 189, + "column": 18 + }, + "end": { + "line": 189, + "column": 26 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 7467, + "end": 7868, + "loc": { + "start": { + "line": 189, + "column": 30 + }, + "end": { + "line": 199, + "column": 19 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 7489, + "end": 7528, + "loc": { + "start": { + "line": 190, + "column": 20 + }, + "end": { + "line": 190, + "column": 59 + } + }, + "expression": { + "type": "CallExpression", + "start": 7489, + "end": 7527, + "loc": { + "start": { + "line": 190, + "column": 20 + }, + "end": { + "line": 190, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7489, + "end": 7522, + "loc": { + "start": { + "line": 190, + "column": 20 + }, + "end": { + "line": 190, + "column": 53 + } + }, + "object": { + "type": "MemberExpression", + "start": 7489, + "end": 7514, + "loc": { + "start": { + "line": 190, + "column": 20 + }, + "end": { + "line": 190, + "column": 45 + } + }, + "object": { + "type": "MemberExpression", + "start": 7489, + "end": 7511, + "loc": { + "start": { + "line": 190, + "column": 20 + }, + "end": { + "line": 190, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 7489, + "end": 7504, + "loc": { + "start": { + "line": 190, + "column": 20 + }, + "end": { + "line": 190, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 7489, + "end": 7497, + "loc": { + "start": { + "line": 190, + "column": 20 + }, + "end": { + "line": 190, + "column": 28 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 7498, + "end": 7504, + "loc": { + "start": { + "line": 190, + "column": 29 + }, + "end": { + "line": 190, + "column": 35 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7505, + "end": 7511, + "loc": { + "start": { + "line": 190, + "column": 36 + }, + "end": { + "line": 190, + "column": 42 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7512, + "end": 7514, + "loc": { + "start": { + "line": 190, + "column": 43 + }, + "end": { + "line": 190, + "column": 45 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7515, + "end": 7522, + "loc": { + "start": { + "line": 190, + "column": 46 + }, + "end": { + "line": 190, + "column": 53 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 7523, + "end": 7526, + "loc": { + "start": { + "line": 190, + "column": 54 + }, + "end": { + "line": 190, + "column": 57 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 7549, + "end": 7848, + "loc": { + "start": { + "line": 191, + "column": 20 + }, + "end": { + "line": 198, + "column": 22 + } + }, + "expression": { + "type": "CallExpression", + "start": 7549, + "end": 7847, + "loc": { + "start": { + "line": 191, + "column": 20 + }, + "end": { + "line": 198, + "column": 21 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7549, + "end": 7590, + "loc": { + "start": { + "line": 191, + "column": 20 + }, + "end": { + "line": 191, + "column": 61 + } + }, + "object": { + "type": "CallExpression", + "start": 7549, + "end": 7585, + "loc": { + "start": { + "line": 191, + "column": 20 + }, + "end": { + "line": 191, + "column": 56 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7549, + "end": 7575, + "loc": { + "start": { + "line": 191, + "column": 20 + }, + "end": { + "line": 191, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 7549, + "end": 7561, + "loc": { + "start": { + "line": 191, + "column": 20 + }, + "end": { + "line": 191, + "column": 32 + }, + "identifierName": "albumFetcher" + }, + "name": "albumFetcher" + }, + "property": { + "type": "Identifier", + "start": 7562, + "end": 7575, + "loc": { + "start": { + "line": 191, + "column": 33 + }, + "end": { + "line": 191, + "column": 46 + }, + "identifierName": "fetchNextPage" + }, + "name": "fetchNextPage" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 7576, + "end": 7584, + "loc": { + "start": { + "line": 191, + "column": 47 + }, + "end": { + "line": 191, + "column": 55 + }, + "identifierName": "response" + }, + "name": "response" + } + ] + }, + "property": { + "type": "Identifier", + "start": 7586, + "end": 7590, + "loc": { + "start": { + "line": 191, + "column": 57 + }, + "end": { + "line": 191, + "column": 61 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 7614, + "end": 7715, + "loc": { + "start": { + "line": 192, + "column": 22 + }, + "end": { + "line": 194, + "column": 23 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 7614, + "end": 7622, + "loc": { + "start": { + "line": 192, + "column": 22 + }, + "end": { + "line": 192, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 7626, + "end": 7715, + "loc": { + "start": { + "line": 192, + "column": 34 + }, + "end": { + "line": 194, + "column": 23 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 7652, + "end": 7691, + "loc": { + "start": { + "line": 193, + "column": 24 + }, + "end": { + "line": 193, + "column": 63 + } + }, + "expression": { + "type": "CallExpression", + "start": 7652, + "end": 7690, + "loc": { + "start": { + "line": 193, + "column": 24 + }, + "end": { + "line": 193, + "column": 62 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7652, + "end": 7685, + "loc": { + "start": { + "line": 193, + "column": 24 + }, + "end": { + "line": 193, + "column": 57 + } + }, + "object": { + "type": "MemberExpression", + "start": 7652, + "end": 7677, + "loc": { + "start": { + "line": 193, + "column": 24 + }, + "end": { + "line": 193, + "column": 49 + } + }, + "object": { + "type": "MemberExpression", + "start": 7652, + "end": 7674, + "loc": { + "start": { + "line": 193, + "column": 24 + }, + "end": { + "line": 193, + "column": 46 + } + }, + "object": { + "type": "MemberExpression", + "start": 7652, + "end": 7667, + "loc": { + "start": { + "line": 193, + "column": 24 + }, + "end": { + "line": 193, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 7652, + "end": 7660, + "loc": { + "start": { + "line": 193, + "column": 24 + }, + "end": { + "line": 193, + "column": 32 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 7661, + "end": 7667, + "loc": { + "start": { + "line": 193, + "column": 33 + }, + "end": { + "line": 193, + "column": 39 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7668, + "end": 7674, + "loc": { + "start": { + "line": 193, + "column": 40 + }, + "end": { + "line": 193, + "column": 46 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7675, + "end": 7677, + "loc": { + "start": { + "line": 193, + "column": 47 + }, + "end": { + "line": 193, + "column": 49 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7678, + "end": 7685, + "loc": { + "start": { + "line": 193, + "column": 50 + }, + "end": { + "line": 193, + "column": 57 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 7686, + "end": 7689, + "loc": { + "start": { + "line": 193, + "column": 58 + }, + "end": { + "line": 193, + "column": 61 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 7739, + "end": 7825, + "loc": { + "start": { + "line": 195, + "column": 22 + }, + "end": { + "line": 197, + "column": 23 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 7739, + "end": 7745, + "loc": { + "start": { + "line": 195, + "column": 22 + }, + "end": { + "line": 195, + "column": 28 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "BlockStatement", + "start": 7749, + "end": 7825, + "loc": { + "start": { + "line": 195, + "column": 32 + }, + "end": { + "line": 197, + "column": 23 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 7775, + "end": 7801, + "loc": { + "start": { + "line": 196, + "column": 24 + }, + "end": { + "line": 196, + "column": 50 + } + }, + "expression": { + "type": "CallExpression", + "start": 7775, + "end": 7800, + "loc": { + "start": { + "line": 196, + "column": 24 + }, + "end": { + "line": 196, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7775, + "end": 7792, + "loc": { + "start": { + "line": 196, + "column": 24 + }, + "end": { + "line": 196, + "column": 41 + } + }, + "object": { + "type": "MemberExpression", + "start": 7775, + "end": 7785, + "loc": { + "start": { + "line": 196, + "column": 24 + }, + "end": { + "line": 196, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 7775, + "end": 7781, + "loc": { + "start": { + "line": 196, + "column": 24 + }, + "end": { + "line": 196, + "column": 30 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 7782, + "end": 7785, + "loc": { + "start": { + "line": 196, + "column": 31 + }, + "end": { + "line": 196, + "column": 34 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7786, + "end": 7792, + "loc": { + "start": { + "line": 196, + "column": 35 + }, + "end": { + "line": 196, + "column": 41 + }, + "identifierName": "exists" + }, + "name": "exists" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 7793, + "end": 7799, + "loc": { + "start": { + "line": 196, + "column": 42 + }, + "end": { + "line": 196, + "column": 48 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 7888, + "end": 7966, + "loc": { + "start": { + "line": 200, + "column": 18 + }, + "end": { + "line": 202, + "column": 19 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 7888, + "end": 7894, + "loc": { + "start": { + "line": 200, + "column": 18 + }, + "end": { + "line": 200, + "column": 24 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "BlockStatement", + "start": 7898, + "end": 7966, + "loc": { + "start": { + "line": 200, + "column": 28 + }, + "end": { + "line": 202, + "column": 19 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 7920, + "end": 7946, + "loc": { + "start": { + "line": 201, + "column": 20 + }, + "end": { + "line": 201, + "column": 46 + } + }, + "expression": { + "type": "CallExpression", + "start": 7920, + "end": 7945, + "loc": { + "start": { + "line": 201, + "column": 20 + }, + "end": { + "line": 201, + "column": 45 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7920, + "end": 7937, + "loc": { + "start": { + "line": 201, + "column": 20 + }, + "end": { + "line": 201, + "column": 37 + } + }, + "object": { + "type": "MemberExpression", + "start": 7920, + "end": 7930, + "loc": { + "start": { + "line": 201, + "column": 20 + }, + "end": { + "line": 201, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 7920, + "end": 7926, + "loc": { + "start": { + "line": 201, + "column": 20 + }, + "end": { + "line": 201, + "column": 26 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 7927, + "end": 7930, + "loc": { + "start": { + "line": 201, + "column": 27 + }, + "end": { + "line": 201, + "column": 30 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7931, + "end": 7937, + "loc": { + "start": { + "line": 201, + "column": 31 + }, + "end": { + "line": 201, + "column": 37 + }, + "identifierName": "exists" + }, + "name": "exists" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 7938, + "end": 7944, + "loc": { + "start": { + "line": 201, + "column": 38 + }, + "end": { + "line": 201, + "column": 44 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 8033, + "end": 9662, + "loc": { + "start": { + "line": 207, + "column": 12 + }, + "end": { + "line": 251, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 8033, + "end": 9661, + "loc": { + "start": { + "line": 207, + "column": 12 + }, + "end": { + "line": 251, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 8033, + "end": 8041, + "loc": { + "start": { + "line": 207, + "column": 12 + }, + "end": { + "line": 207, + "column": 20 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 8042, + "end": 8060, + "loc": { + "start": { + "line": 207, + "column": 21 + }, + "end": { + "line": 207, + "column": 39 + } + }, + "extra": { + "rawValue": "Shared Playlists", + "raw": "'Shared Playlists'" + }, + "value": "Shared Playlists" + }, + { + "type": "ArrowFunctionExpression", + "start": 8062, + "end": 9660, + "loc": { + "start": { + "line": 207, + "column": 41 + }, + "end": { + "line": 251, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 8068, + "end": 9660, + "loc": { + "start": { + "line": 207, + "column": 47 + }, + "end": { + "line": 251, + "column": 13 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 8084, + "end": 8125, + "loc": { + "start": { + "line": 208, + "column": 14 + }, + "end": { + "line": 208, + "column": 55 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8090, + "end": 8124, + "loc": { + "start": { + "line": 208, + "column": 20 + }, + "end": { + "line": 208, + "column": 54 + } + }, + "id": { + "type": "Identifier", + "start": 8090, + "end": 8101, + "loc": { + "start": { + "line": 208, + "column": 20 + }, + "end": { + "line": 208, + "column": 31 + }, + "identifierName": "playlist_id" + }, + "name": "playlist_id" + }, + "init": { + "type": "StringLiteral", + "start": 8104, + "end": 8124, + "loc": { + "start": { + "line": 208, + "column": 34 + }, + "end": { + "line": 208, + "column": 54 + } + }, + "extra": { + "rawValue": "4nUZM-TY2aVxZ2xaA-", + "raw": "'4nUZM-TY2aVxZ2xaA-'" + }, + "value": "4nUZM-TY2aVxZ2xaA-" + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 8140, + "end": 8267, + "loc": { + "start": { + "line": 209, + "column": 14 + }, + "end": { + "line": 211, + "column": 43 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8146, + "end": 8266, + "loc": { + "start": { + "line": 209, + "column": 20 + }, + "end": { + "line": 211, + "column": 42 + } + }, + "id": { + "type": "Identifier", + "start": 8146, + "end": 8167, + "loc": { + "start": { + "line": 209, + "column": 20 + }, + "end": { + "line": 209, + "column": 41 + }, + "identifierName": "sharedPlaylistFetcher" + }, + "name": "sharedPlaylistFetcher" + }, + "init": { + "type": "CallExpression", + "start": 8170, + "end": 8266, + "loc": { + "start": { + "line": 209, + "column": 44 + }, + "end": { + "line": 211, + "column": 42 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8170, + "end": 8253, + "loc": { + "start": { + "line": 209, + "column": 44 + }, + "end": { + "line": 211, + "column": 29 + } + }, + "object": { + "type": "NewExpression", + "start": 8170, + "end": 8239, + "loc": { + "start": { + "line": 209, + "column": 44 + }, + "end": { + "line": 211, + "column": 15 + } + }, + "callee": { + "type": "Identifier", + "start": 8174, + "end": 8195, + "loc": { + "start": { + "line": 209, + "column": 48 + }, + "end": { + "line": 209, + "column": 69 + }, + "identifierName": "SharedPlaylistFetcher" + }, + "name": "SharedPlaylistFetcher" + }, + "arguments": [ + { + "type": "Identifier", + "start": 8213, + "end": 8223, + "loc": { + "start": { + "line": 210, + "column": 16 + }, + "end": { + "line": 210, + "column": 26 + }, + "identifierName": "httpClient" + }, + "name": "httpClient" + } + ] + }, + "property": { + "type": "Identifier", + "start": 8240, + "end": 8253, + "loc": { + "start": { + "line": 211, + "column": 16 + }, + "end": { + "line": 211, + "column": 29 + }, + "identifierName": "setPlaylistID" + }, + "name": "setPlaylistID" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 8254, + "end": 8265, + "loc": { + "start": { + "line": 211, + "column": 30 + }, + "end": { + "line": 211, + "column": 41 + }, + "identifierName": "playlist_id" + }, + "name": "playlist_id" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 8282, + "end": 8791, + "loc": { + "start": { + "line": 212, + "column": 14 + }, + "end": { + "line": 225, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 8282, + "end": 8790, + "loc": { + "start": { + "line": 212, + "column": 14 + }, + "end": { + "line": 225, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 8282, + "end": 8290, + "loc": { + "start": { + "line": 212, + "column": 14 + }, + "end": { + "line": 212, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 8291, + "end": 8308, + "loc": { + "start": { + "line": 212, + "column": 23 + }, + "end": { + "line": 212, + "column": 40 + } + }, + "extra": { + "rawValue": "#find and get()", + "raw": "'#find and get()'" + }, + "value": "#find and get()" + }, + { + "type": "ArrowFunctionExpression", + "start": 8310, + "end": 8789, + "loc": { + "start": { + "line": 212, + "column": 42 + }, + "end": { + "line": 225, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 8316, + "end": 8789, + "loc": { + "start": { + "line": 212, + "column": 48 + }, + "end": { + "line": 225, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8334, + "end": 8773, + "loc": { + "start": { + "line": 213, + "column": 16 + }, + "end": { + "line": 224, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 8334, + "end": 8772, + "loc": { + "start": { + "line": 213, + "column": 16 + }, + "end": { + "line": 224, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 8334, + "end": 8336, + "loc": { + "start": { + "line": 213, + "column": 16 + }, + "end": { + "line": 213, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 8337, + "end": 8365, + "loc": { + "start": { + "line": 213, + "column": 19 + }, + "end": { + "line": 213, + "column": 47 + } + }, + "extra": { + "rawValue": "should response status 200", + "raw": "'should response status 200'" + }, + "value": "should response status 200" + }, + { + "type": "ArrowFunctionExpression", + "start": 8367, + "end": 8771, + "loc": { + "start": { + "line": 213, + "column": 49 + }, + "end": { + "line": 224, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 8367, + "end": 8371, + "loc": { + "start": { + "line": 213, + "column": 49 + }, + "end": { + "line": 213, + "column": 53 + }, + "identifierName": "done" + }, + "name": "done" + } + ], + "body": { + "type": "BlockStatement", + "start": 8375, + "end": 8771, + "loc": { + "start": { + "line": 213, + "column": 57 + }, + "end": { + "line": 224, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8395, + "end": 8753, + "loc": { + "start": { + "line": 214, + "column": 18 + }, + "end": { + "line": 223, + "column": 23 + } + }, + "expression": { + "type": "CallExpression", + "start": 8395, + "end": 8752, + "loc": { + "start": { + "line": 214, + "column": 18 + }, + "end": { + "line": 223, + "column": 22 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8395, + "end": 8635, + "loc": { + "start": { + "line": 214, + "column": 18 + }, + "end": { + "line": 220, + "column": 26 + } + }, + "object": { + "type": "CallExpression", + "start": 8395, + "end": 8608, + "loc": { + "start": { + "line": 214, + "column": 18 + }, + "end": { + "line": 219, + "column": 22 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8395, + "end": 8479, + "loc": { + "start": { + "line": 214, + "column": 18 + }, + "end": { + "line": 216, + "column": 25 + } + }, + "object": { + "type": "CallExpression", + "start": 8395, + "end": 8453, + "loc": { + "start": { + "line": 214, + "column": 18 + }, + "end": { + "line": 215, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8395, + "end": 8451, + "loc": { + "start": { + "line": 214, + "column": 18 + }, + "end": { + "line": 215, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 8395, + "end": 8416, + "loc": { + "start": { + "line": 214, + "column": 18 + }, + "end": { + "line": 214, + "column": 39 + }, + "identifierName": "sharedPlaylistFetcher" + }, + "name": "sharedPlaylistFetcher" + }, + "property": { + "type": "Identifier", + "start": 8438, + "end": 8451, + "loc": { + "start": { + "line": 215, + "column": 21 + }, + "end": { + "line": 215, + "column": 34 + }, + "identifierName": "fetchMetadata" + }, + "name": "fetchMetadata" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 8475, + "end": 8479, + "loc": { + "start": { + "line": 216, + "column": 21 + }, + "end": { + "line": 216, + "column": 25 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 8480, + "end": 8607, + "loc": { + "start": { + "line": 216, + "column": 26 + }, + "end": { + "line": 219, + "column": 21 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 8480, + "end": 8488, + "loc": { + "start": { + "line": 216, + "column": 26 + }, + "end": { + "line": 216, + "column": 34 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 8492, + "end": 8607, + "loc": { + "start": { + "line": 216, + "column": 38 + }, + "end": { + "line": 219, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8516, + "end": 8555, + "loc": { + "start": { + "line": 217, + "column": 22 + }, + "end": { + "line": 217, + "column": 61 + } + }, + "expression": { + "type": "CallExpression", + "start": 8516, + "end": 8554, + "loc": { + "start": { + "line": 217, + "column": 22 + }, + "end": { + "line": 217, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8516, + "end": 8549, + "loc": { + "start": { + "line": 217, + "column": 22 + }, + "end": { + "line": 217, + "column": 55 + } + }, + "object": { + "type": "MemberExpression", + "start": 8516, + "end": 8541, + "loc": { + "start": { + "line": 217, + "column": 22 + }, + "end": { + "line": 217, + "column": 47 + } + }, + "object": { + "type": "MemberExpression", + "start": 8516, + "end": 8538, + "loc": { + "start": { + "line": 217, + "column": 22 + }, + "end": { + "line": 217, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 8516, + "end": 8531, + "loc": { + "start": { + "line": 217, + "column": 22 + }, + "end": { + "line": 217, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 8516, + "end": 8524, + "loc": { + "start": { + "line": 217, + "column": 22 + }, + "end": { + "line": 217, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 8525, + "end": 8531, + "loc": { + "start": { + "line": 217, + "column": 31 + }, + "end": { + "line": 217, + "column": 37 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8532, + "end": 8538, + "loc": { + "start": { + "line": 217, + "column": 38 + }, + "end": { + "line": 217, + "column": 44 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8539, + "end": 8541, + "loc": { + "start": { + "line": 217, + "column": 45 + }, + "end": { + "line": 217, + "column": 47 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8542, + "end": 8549, + "loc": { + "start": { + "line": 217, + "column": 48 + }, + "end": { + "line": 217, + "column": 55 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 8550, + "end": 8553, + "loc": { + "start": { + "line": 217, + "column": 56 + }, + "end": { + "line": 217, + "column": 59 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 8578, + "end": 8585, + "loc": { + "start": { + "line": 218, + "column": 22 + }, + "end": { + "line": 218, + "column": 29 + } + }, + "expression": { + "type": "CallExpression", + "start": 8578, + "end": 8584, + "loc": { + "start": { + "line": 218, + "column": 22 + }, + "end": { + "line": 218, + "column": 28 + } + }, + "callee": { + "type": "Identifier", + "start": 8578, + "end": 8582, + "loc": { + "start": { + "line": 218, + "column": 22 + }, + "end": { + "line": 218, + "column": 26 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + ] + }, + "property": { + "type": "Identifier", + "start": 8630, + "end": 8635, + "loc": { + "start": { + "line": 220, + "column": 21 + }, + "end": { + "line": 220, + "column": 26 + }, + "identifierName": "catch" + }, + "name": "catch" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 8636, + "end": 8751, + "loc": { + "start": { + "line": 220, + "column": 27 + }, + "end": { + "line": 223, + "column": 21 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 8636, + "end": 8641, + "loc": { + "start": { + "line": 220, + "column": 27 + }, + "end": { + "line": 220, + "column": 32 + }, + "identifierName": "error" + }, + "name": "error" + } + ], + "body": { + "type": "BlockStatement", + "start": 8645, + "end": 8751, + "loc": { + "start": { + "line": 220, + "column": 36 + }, + "end": { + "line": 223, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8669, + "end": 8694, + "loc": { + "start": { + "line": 221, + "column": 22 + }, + "end": { + "line": 221, + "column": 47 + } + }, + "expression": { + "type": "CallExpression", + "start": 8669, + "end": 8693, + "loc": { + "start": { + "line": 221, + "column": 22 + }, + "end": { + "line": 221, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8669, + "end": 8686, + "loc": { + "start": { + "line": 221, + "column": 22 + }, + "end": { + "line": 221, + "column": 39 + } + }, + "object": { + "type": "MemberExpression", + "start": 8669, + "end": 8679, + "loc": { + "start": { + "line": 221, + "column": 22 + }, + "end": { + "line": 221, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 8669, + "end": 8675, + "loc": { + "start": { + "line": 221, + "column": 22 + }, + "end": { + "line": 221, + "column": 28 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 8676, + "end": 8679, + "loc": { + "start": { + "line": 221, + "column": 29 + }, + "end": { + "line": 221, + "column": 32 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8680, + "end": 8686, + "loc": { + "start": { + "line": 221, + "column": 33 + }, + "end": { + "line": 221, + "column": 39 + }, + "identifierName": "exists" + }, + "name": "exists" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 8687, + "end": 8692, + "loc": { + "start": { + "line": 221, + "column": 40 + }, + "end": { + "line": 221, + "column": 45 + }, + "identifierName": "error" + }, + "name": "error" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 8717, + "end": 8729, + "loc": { + "start": { + "line": 222, + "column": 22 + }, + "end": { + "line": 222, + "column": 34 + } + }, + "expression": { + "type": "CallExpression", + "start": 8717, + "end": 8728, + "loc": { + "start": { + "line": 222, + "column": 22 + }, + "end": { + "line": 222, + "column": 33 + } + }, + "callee": { + "type": "Identifier", + "start": 8717, + "end": 8721, + "loc": { + "start": { + "line": 222, + "column": 22 + }, + "end": { + "line": 222, + "column": 26 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [ + { + "type": "Identifier", + "start": 8722, + "end": 8727, + "loc": { + "start": { + "line": 222, + "column": 27 + }, + "end": { + "line": 222, + "column": 32 + }, + "identifierName": "error" + }, + "name": "error" + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 8807, + "end": 9253, + "loc": { + "start": { + "line": 227, + "column": 14 + }, + "end": { + "line": 239, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 8807, + "end": 9252, + "loc": { + "start": { + "line": 227, + "column": 14 + }, + "end": { + "line": 239, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 8807, + "end": 8815, + "loc": { + "start": { + "line": 227, + "column": 14 + }, + "end": { + "line": 227, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 8816, + "end": 8827, + "loc": { + "start": { + "line": 227, + "column": 23 + }, + "end": { + "line": 227, + "column": 34 + } + }, + "extra": { + "rawValue": "#tracks()", + "raw": "'#tracks()'" + }, + "value": "#tracks()" + }, + { + "type": "ArrowFunctionExpression", + "start": 8829, + "end": 9251, + "loc": { + "start": { + "line": 227, + "column": 36 + }, + "end": { + "line": 239, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 8835, + "end": 9251, + "loc": { + "start": { + "line": 227, + "column": 42 + }, + "end": { + "line": 239, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8853, + "end": 9235, + "loc": { + "start": { + "line": 228, + "column": 16 + }, + "end": { + "line": 238, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 8853, + "end": 9234, + "loc": { + "start": { + "line": 228, + "column": 16 + }, + "end": { + "line": 238, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 8853, + "end": 8855, + "loc": { + "start": { + "line": 228, + "column": 16 + }, + "end": { + "line": 228, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 8856, + "end": 8884, + "loc": { + "start": { + "line": 228, + "column": 19 + }, + "end": { + "line": 228, + "column": 47 + } + }, + "extra": { + "rawValue": "should response status 200", + "raw": "'should response status 200'" + }, + "value": "should response status 200" + }, + { + "type": "ArrowFunctionExpression", + "start": 8886, + "end": 9233, + "loc": { + "start": { + "line": 228, + "column": 49 + }, + "end": { + "line": 238, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 8886, + "end": 8890, + "loc": { + "start": { + "line": 228, + "column": 49 + }, + "end": { + "line": 228, + "column": 53 + }, + "identifierName": "done" + }, + "name": "done" + } + ], + "body": { + "type": "BlockStatement", + "start": 8894, + "end": 9233, + "loc": { + "start": { + "line": 228, + "column": 57 + }, + "end": { + "line": 238, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8914, + "end": 9215, + "loc": { + "start": { + "line": 229, + "column": 18 + }, + "end": { + "line": 237, + "column": 20 + } + }, + "expression": { + "type": "CallExpression", + "start": 8914, + "end": 9214, + "loc": { + "start": { + "line": 229, + "column": 18 + }, + "end": { + "line": 237, + "column": 19 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8914, + "end": 8954, + "loc": { + "start": { + "line": 229, + "column": 18 + }, + "end": { + "line": 229, + "column": 58 + } + }, + "object": { + "type": "CallExpression", + "start": 8914, + "end": 8949, + "loc": { + "start": { + "line": 229, + "column": 18 + }, + "end": { + "line": 229, + "column": 53 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8914, + "end": 8947, + "loc": { + "start": { + "line": 229, + "column": 18 + }, + "end": { + "line": 229, + "column": 51 + } + }, + "object": { + "type": "Identifier", + "start": 8914, + "end": 8935, + "loc": { + "start": { + "line": 229, + "column": 18 + }, + "end": { + "line": 229, + "column": 39 + }, + "identifierName": "sharedPlaylistFetcher" + }, + "name": "sharedPlaylistFetcher" + }, + "property": { + "type": "Identifier", + "start": 8936, + "end": 8947, + "loc": { + "start": { + "line": 229, + "column": 40 + }, + "end": { + "line": 229, + "column": 51 + }, + "identifierName": "fetchTracks" + }, + "name": "fetchTracks" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 8950, + "end": 8954, + "loc": { + "start": { + "line": 229, + "column": 54 + }, + "end": { + "line": 229, + "column": 58 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 8976, + "end": 9103, + "loc": { + "start": { + "line": 230, + "column": 20 + }, + "end": { + "line": 233, + "column": 21 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 8976, + "end": 8984, + "loc": { + "start": { + "line": 230, + "column": 20 + }, + "end": { + "line": 230, + "column": 28 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 8988, + "end": 9103, + "loc": { + "start": { + "line": 230, + "column": 32 + }, + "end": { + "line": 233, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 9012, + "end": 9051, + "loc": { + "start": { + "line": 231, + "column": 22 + }, + "end": { + "line": 231, + "column": 61 + } + }, + "expression": { + "type": "CallExpression", + "start": 9012, + "end": 9050, + "loc": { + "start": { + "line": 231, + "column": 22 + }, + "end": { + "line": 231, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9012, + "end": 9045, + "loc": { + "start": { + "line": 231, + "column": 22 + }, + "end": { + "line": 231, + "column": 55 + } + }, + "object": { + "type": "MemberExpression", + "start": 9012, + "end": 9037, + "loc": { + "start": { + "line": 231, + "column": 22 + }, + "end": { + "line": 231, + "column": 47 + } + }, + "object": { + "type": "MemberExpression", + "start": 9012, + "end": 9034, + "loc": { + "start": { + "line": 231, + "column": 22 + }, + "end": { + "line": 231, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 9012, + "end": 9027, + "loc": { + "start": { + "line": 231, + "column": 22 + }, + "end": { + "line": 231, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 9012, + "end": 9020, + "loc": { + "start": { + "line": 231, + "column": 22 + }, + "end": { + "line": 231, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 9021, + "end": 9027, + "loc": { + "start": { + "line": 231, + "column": 31 + }, + "end": { + "line": 231, + "column": 37 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 9028, + "end": 9034, + "loc": { + "start": { + "line": 231, + "column": 38 + }, + "end": { + "line": 231, + "column": 44 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 9035, + "end": 9037, + "loc": { + "start": { + "line": 231, + "column": 45 + }, + "end": { + "line": 231, + "column": 47 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 9038, + "end": 9045, + "loc": { + "start": { + "line": 231, + "column": 48 + }, + "end": { + "line": 231, + "column": 55 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 9046, + "end": 9049, + "loc": { + "start": { + "line": 231, + "column": 56 + }, + "end": { + "line": 231, + "column": 59 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 9074, + "end": 9081, + "loc": { + "start": { + "line": 232, + "column": 22 + }, + "end": { + "line": 232, + "column": 29 + } + }, + "expression": { + "type": "CallExpression", + "start": 9074, + "end": 9080, + "loc": { + "start": { + "line": 232, + "column": 22 + }, + "end": { + "line": 232, + "column": 28 + } + }, + "callee": { + "type": "Identifier", + "start": 9074, + "end": 9078, + "loc": { + "start": { + "line": 232, + "column": 22 + }, + "end": { + "line": 232, + "column": 26 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [] + } + } + ], + "directives": [] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 9125, + "end": 9194, + "loc": { + "start": { + "line": 234, + "column": 20 + }, + "end": { + "line": 236, + "column": 21 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 9125, + "end": 9131, + "loc": { + "start": { + "line": 234, + "column": 20 + }, + "end": { + "line": 234, + "column": 26 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "BlockStatement", + "start": 9135, + "end": 9194, + "loc": { + "start": { + "line": 234, + "column": 30 + }, + "end": { + "line": 236, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 9159, + "end": 9172, + "loc": { + "start": { + "line": 235, + "column": 22 + }, + "end": { + "line": 235, + "column": 35 + } + }, + "expression": { + "type": "CallExpression", + "start": 9159, + "end": 9171, + "loc": { + "start": { + "line": 235, + "column": 22 + }, + "end": { + "line": 235, + "column": 34 + } + }, + "callee": { + "type": "Identifier", + "start": 9159, + "end": 9163, + "loc": { + "start": { + "line": 235, + "column": 22 + }, + "end": { + "line": 235, + "column": 26 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [ + { + "type": "Identifier", + "start": 9164, + "end": 9170, + "loc": { + "start": { + "line": 235, + "column": 27 + }, + "end": { + "line": 235, + "column": 33 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 9269, + "end": 9646, + "loc": { + "start": { + "line": 241, + "column": 14 + }, + "end": { + "line": 250, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 9269, + "end": 9645, + "loc": { + "start": { + "line": 241, + "column": 14 + }, + "end": { + "line": 250, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 9269, + "end": 9277, + "loc": { + "start": { + "line": 241, + "column": 14 + }, + "end": { + "line": 241, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 9278, + "end": 9293, + "loc": { + "start": { + "line": 241, + "column": 23 + }, + "end": { + "line": 241, + "column": 38 + } + }, + "extra": { + "rawValue": "#getWidgetUri", + "raw": "'#getWidgetUri'" + }, + "value": "#getWidgetUri" + }, + { + "type": "ArrowFunctionExpression", + "start": 9295, + "end": 9644, + "loc": { + "start": { + "line": 241, + "column": 40 + }, + "end": { + "line": 250, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 9301, + "end": 9644, + "loc": { + "start": { + "line": 241, + "column": 46 + }, + "end": { + "line": 250, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 9319, + "end": 9628, + "loc": { + "start": { + "line": 242, + "column": 16 + }, + "end": { + "line": 249, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 9319, + "end": 9627, + "loc": { + "start": { + "line": 242, + "column": 16 + }, + "end": { + "line": 249, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 9319, + "end": 9321, + "loc": { + "start": { + "line": 242, + "column": 16 + }, + "end": { + "line": 242, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 9322, + "end": 9347, + "loc": { + "start": { + "line": 242, + "column": 19 + }, + "end": { + "line": 242, + "column": 44 + } + }, + "extra": { + "rawValue": "should return right uri", + "raw": "'should return right uri'" + }, + "value": "should return right uri" + }, + { + "type": "ArrowFunctionExpression", + "start": 9349, + "end": 9626, + "loc": { + "start": { + "line": 242, + "column": 46 + }, + "end": { + "line": 249, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 9349, + "end": 9353, + "loc": { + "start": { + "line": 242, + "column": 46 + }, + "end": { + "line": 242, + "column": 50 + }, + "identifierName": "done" + }, + "name": "done" + } + ], + "body": { + "type": "BlockStatement", + "start": 9357, + "end": 9626, + "loc": { + "start": { + "line": 242, + "column": 54 + }, + "end": { + "line": 249, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 9377, + "end": 9582, + "loc": { + "start": { + "line": 243, + "column": 18 + }, + "end": { + "line": 247, + "column": 22 + } + }, + "expression": { + "type": "CallExpression", + "start": 9377, + "end": 9581, + "loc": { + "start": { + "line": 243, + "column": 18 + }, + "end": { + "line": 247, + "column": 21 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9377, + "end": 9473, + "loc": { + "start": { + "line": 243, + "column": 18 + }, + "end": { + "line": 245, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 9377, + "end": 9465, + "loc": { + "start": { + "line": 243, + "column": 18 + }, + "end": { + "line": 245, + "column": 30 + } + }, + "object": { + "type": "MemberExpression", + "start": 9377, + "end": 9462, + "loc": { + "start": { + "line": 243, + "column": 18 + }, + "end": { + "line": 245, + "column": 27 + } + }, + "object": { + "type": "CallExpression", + "start": 9377, + "end": 9434, + "loc": { + "start": { + "line": 243, + "column": 18 + }, + "end": { + "line": 244, + "column": 35 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9377, + "end": 9432, + "loc": { + "start": { + "line": 243, + "column": 18 + }, + "end": { + "line": 244, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 9377, + "end": 9398, + "loc": { + "start": { + "line": 243, + "column": 18 + }, + "end": { + "line": 243, + "column": 39 + }, + "identifierName": "sharedPlaylistFetcher" + }, + "name": "sharedPlaylistFetcher" + }, + "property": { + "type": "Identifier", + "start": 9420, + "end": 9432, + "loc": { + "start": { + "line": 244, + "column": 21 + }, + "end": { + "line": 244, + "column": 33 + }, + "identifierName": "getWidgetUri" + }, + "name": "getWidgetUri" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 9456, + "end": 9462, + "loc": { + "start": { + "line": 245, + "column": 21 + }, + "end": { + "line": 245, + "column": 27 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 9463, + "end": 9465, + "loc": { + "start": { + "line": 245, + "column": 28 + }, + "end": { + "line": 245, + "column": 30 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 9466, + "end": 9473, + "loc": { + "start": { + "line": 245, + "column": 31 + }, + "end": { + "line": 245, + "column": 38 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "TemplateLiteral", + "start": 9497, + "end": 9559, + "loc": { + "start": { + "line": 246, + "column": 22 + }, + "end": { + "line": 246, + "column": 84 + } + }, + "expressions": [ + { + "type": "Identifier", + "start": 9532, + "end": 9543, + "loc": { + "start": { + "line": 246, + "column": 57 + }, + "end": { + "line": 246, + "column": 68 + }, + "identifierName": "playlist_id" + }, + "name": "playlist_id" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 9498, + "end": 9530, + "loc": { + "start": { + "line": 246, + "column": 23 + }, + "end": { + "line": 246, + "column": 55 + } + }, + "value": { + "raw": "https://widget.kkbox.com/v1/?id=", + "cooked": "https://widget.kkbox.com/v1/?id=" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 9544, + "end": 9558, + "loc": { + "start": { + "line": 246, + "column": 69 + }, + "end": { + "line": 246, + "column": 83 + } + }, + "value": { + "raw": "&type=playlist", + "cooked": "&type=playlist" + }, + "tail": true + } + ] + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 9601, + "end": 9608, + "loc": { + "start": { + "line": 248, + "column": 18 + }, + "end": { + "line": 248, + "column": 25 + } + }, + "expression": { + "type": "CallExpression", + "start": 9601, + "end": 9607, + "loc": { + "start": { + "line": 248, + "column": 18 + }, + "end": { + "line": 248, + "column": 24 + } + }, + "callee": { + "type": "Identifier", + "start": 9601, + "end": 9605, + "loc": { + "start": { + "line": 248, + "column": 18 + }, + "end": { + "line": 248, + "column": 22 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 9676, + "end": 12124, + "loc": { + "start": { + "line": 253, + "column": 12 + }, + "end": { + "line": 317, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 9676, + "end": 12123, + "loc": { + "start": { + "line": 253, + "column": 12 + }, + "end": { + "line": 317, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 9676, + "end": 9684, + "loc": { + "start": { + "line": 253, + "column": 12 + }, + "end": { + "line": 253, + "column": 20 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 9685, + "end": 9693, + "loc": { + "start": { + "line": 253, + "column": 21 + }, + "end": { + "line": 253, + "column": 29 + } + }, + "extra": { + "rawValue": "Artist", + "raw": "'Artist'" + }, + "value": "Artist" + }, + { + "type": "ArrowFunctionExpression", + "start": 9695, + "end": 12122, + "loc": { + "start": { + "line": 253, + "column": 31 + }, + "end": { + "line": 317, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 9701, + "end": 12122, + "loc": { + "start": { + "line": 253, + "column": 37 + }, + "end": { + "line": 317, + "column": 13 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 9717, + "end": 9835, + "loc": { + "start": { + "line": 254, + "column": 14 + }, + "end": { + "line": 256, + "column": 16 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 9723, + "end": 9834, + "loc": { + "start": { + "line": 254, + "column": 20 + }, + "end": { + "line": 256, + "column": 15 + } + }, + "id": { + "type": "Identifier", + "start": 9723, + "end": 9736, + "loc": { + "start": { + "line": 254, + "column": 20 + }, + "end": { + "line": 254, + "column": 33 + }, + "identifierName": "artistFetcher" + }, + "name": "artistFetcher" + }, + "init": { + "type": "CallExpression", + "start": 9739, + "end": 9834, + "loc": { + "start": { + "line": 254, + "column": 36 + }, + "end": { + "line": 256, + "column": 15 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9739, + "end": 9780, + "loc": { + "start": { + "line": 254, + "column": 36 + }, + "end": { + "line": 254, + "column": 77 + } + }, + "object": { + "type": "NewExpression", + "start": 9739, + "end": 9768, + "loc": { + "start": { + "line": 254, + "column": 36 + }, + "end": { + "line": 254, + "column": 65 + } + }, + "callee": { + "type": "Identifier", + "start": 9743, + "end": 9756, + "loc": { + "start": { + "line": 254, + "column": 40 + }, + "end": { + "line": 254, + "column": 53 + }, + "identifierName": "ArtistFetcher" + }, + "name": "ArtistFetcher" + }, + "arguments": [ + { + "type": "Identifier", + "start": 9757, + "end": 9767, + "loc": { + "start": { + "line": 254, + "column": 54 + }, + "end": { + "line": 254, + "column": 64 + }, + "identifierName": "httpClient" + }, + "name": "httpClient" + } + ] + }, + "property": { + "type": "Identifier", + "start": 9769, + "end": 9780, + "loc": { + "start": { + "line": 254, + "column": 66 + }, + "end": { + "line": 254, + "column": 77 + }, + "identifierName": "setArtistID" + }, + "name": "setArtistID" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 9798, + "end": 9818, + "loc": { + "start": { + "line": 255, + "column": 16 + }, + "end": { + "line": 255, + "column": 36 + } + }, + "extra": { + "rawValue": "Cnv_K6i5Ft4y41SxLy", + "raw": "'Cnv_K6i5Ft4y41SxLy'" + }, + "value": "Cnv_K6i5Ft4y41SxLy" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 9850, + "end": 10284, + "loc": { + "start": { + "line": 257, + "column": 14 + }, + "end": { + "line": 267, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 9850, + "end": 10283, + "loc": { + "start": { + "line": 257, + "column": 14 + }, + "end": { + "line": 267, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 9850, + "end": 9858, + "loc": { + "start": { + "line": 257, + "column": 14 + }, + "end": { + "line": 257, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 9859, + "end": 9877, + "loc": { + "start": { + "line": 257, + "column": 23 + }, + "end": { + "line": 257, + "column": 41 + } + }, + "extra": { + "rawValue": "#fetchMetadata()", + "raw": "'#fetchMetadata()'" + }, + "value": "#fetchMetadata()" + }, + { + "type": "ArrowFunctionExpression", + "start": 9879, + "end": 10282, + "loc": { + "start": { + "line": 257, + "column": 43 + }, + "end": { + "line": 267, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 9885, + "end": 10282, + "loc": { + "start": { + "line": 257, + "column": 49 + }, + "end": { + "line": 267, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 9903, + "end": 10266, + "loc": { + "start": { + "line": 258, + "column": 16 + }, + "end": { + "line": 266, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 9903, + "end": 10265, + "loc": { + "start": { + "line": 258, + "column": 16 + }, + "end": { + "line": 266, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 9903, + "end": 9905, + "loc": { + "start": { + "line": 258, + "column": 16 + }, + "end": { + "line": 258, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 9906, + "end": 9934, + "loc": { + "start": { + "line": 258, + "column": 19 + }, + "end": { + "line": 258, + "column": 47 + } + }, + "extra": { + "rawValue": "should response status 200", + "raw": "'should response status 200'" + }, + "value": "should response status 200" + }, + { + "type": "ArrowFunctionExpression", + "start": 9936, + "end": 10264, + "loc": { + "start": { + "line": 258, + "column": 49 + }, + "end": { + "line": 266, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 9942, + "end": 10264, + "loc": { + "start": { + "line": 258, + "column": 55 + }, + "end": { + "line": 266, + "column": 17 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 9962, + "end": 10246, + "loc": { + "start": { + "line": 259, + "column": 18 + }, + "end": { + "line": 265, + "column": 62 + } + }, + "argument": { + "type": "CallExpression", + "start": 9969, + "end": 10245, + "loc": { + "start": { + "line": 259, + "column": 25 + }, + "end": { + "line": 265, + "column": 61 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9969, + "end": 10210, + "loc": { + "start": { + "line": 259, + "column": 25 + }, + "end": { + "line": 265, + "column": 26 + } + }, + "object": { + "type": "CallExpression", + "start": 9969, + "end": 10183, + "loc": { + "start": { + "line": 259, + "column": 25 + }, + "end": { + "line": 264, + "column": 22 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9969, + "end": 10045, + "loc": { + "start": { + "line": 259, + "column": 25 + }, + "end": { + "line": 261, + "column": 25 + } + }, + "object": { + "type": "CallExpression", + "start": 9969, + "end": 10019, + "loc": { + "start": { + "line": 259, + "column": 25 + }, + "end": { + "line": 260, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9969, + "end": 10017, + "loc": { + "start": { + "line": 259, + "column": 25 + }, + "end": { + "line": 260, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 9969, + "end": 9982, + "loc": { + "start": { + "line": 259, + "column": 25 + }, + "end": { + "line": 259, + "column": 38 + }, + "identifierName": "artistFetcher" + }, + "name": "artistFetcher" + }, + "property": { + "type": "Identifier", + "start": 10004, + "end": 10017, + "loc": { + "start": { + "line": 260, + "column": 21 + }, + "end": { + "line": 260, + "column": 34 + }, + "identifierName": "fetchMetadata" + }, + "name": "fetchMetadata" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 10041, + "end": 10045, + "loc": { + "start": { + "line": 261, + "column": 21 + }, + "end": { + "line": 261, + "column": 25 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 10046, + "end": 10182, + "loc": { + "start": { + "line": 261, + "column": 26 + }, + "end": { + "line": 264, + "column": 21 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 10046, + "end": 10054, + "loc": { + "start": { + "line": 261, + "column": 26 + }, + "end": { + "line": 261, + "column": 34 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 10058, + "end": 10182, + "loc": { + "start": { + "line": 261, + "column": 38 + }, + "end": { + "line": 264, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 10082, + "end": 10121, + "loc": { + "start": { + "line": 262, + "column": 22 + }, + "end": { + "line": 262, + "column": 61 + } + }, + "expression": { + "type": "CallExpression", + "start": 10082, + "end": 10120, + "loc": { + "start": { + "line": 262, + "column": 22 + }, + "end": { + "line": 262, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10082, + "end": 10115, + "loc": { + "start": { + "line": 262, + "column": 22 + }, + "end": { + "line": 262, + "column": 55 + } + }, + "object": { + "type": "MemberExpression", + "start": 10082, + "end": 10107, + "loc": { + "start": { + "line": 262, + "column": 22 + }, + "end": { + "line": 262, + "column": 47 + } + }, + "object": { + "type": "MemberExpression", + "start": 10082, + "end": 10104, + "loc": { + "start": { + "line": 262, + "column": 22 + }, + "end": { + "line": 262, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 10082, + "end": 10097, + "loc": { + "start": { + "line": 262, + "column": 22 + }, + "end": { + "line": 262, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 10082, + "end": 10090, + "loc": { + "start": { + "line": 262, + "column": 22 + }, + "end": { + "line": 262, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 10091, + "end": 10097, + "loc": { + "start": { + "line": 262, + "column": 31 + }, + "end": { + "line": 262, + "column": 37 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 10098, + "end": 10104, + "loc": { + "start": { + "line": 262, + "column": 38 + }, + "end": { + "line": 262, + "column": 44 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 10105, + "end": 10107, + "loc": { + "start": { + "line": 262, + "column": 45 + }, + "end": { + "line": 262, + "column": 47 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 10108, + "end": 10115, + "loc": { + "start": { + "line": 262, + "column": 48 + }, + "end": { + "line": 262, + "column": 55 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 10116, + "end": 10119, + "loc": { + "start": { + "line": 262, + "column": 56 + }, + "end": { + "line": 262, + "column": 59 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ReturnStatement", + "start": 10144, + "end": 10160, + "loc": { + "start": { + "line": 263, + "column": 22 + }, + "end": { + "line": 263, + "column": 38 + } + }, + "argument": { + "type": "Identifier", + "start": 10151, + "end": 10159, + "loc": { + "start": { + "line": 263, + "column": 29 + }, + "end": { + "line": 263, + "column": 37 + }, + "identifierName": "response" + }, + "name": "response" + } + } + ], + "directives": [] + } + } + ] + }, + "property": { + "type": "Identifier", + "start": 10205, + "end": 10210, + "loc": { + "start": { + "line": 265, + "column": 21 + }, + "end": { + "line": 265, + "column": 26 + }, + "identifierName": "catch" + }, + "name": "catch" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 10211, + "end": 10244, + "loc": { + "start": { + "line": 265, + "column": 27 + }, + "end": { + "line": 265, + "column": 60 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 10211, + "end": 10216, + "loc": { + "start": { + "line": 265, + "column": 27 + }, + "end": { + "line": 265, + "column": 32 + }, + "identifierName": "error" + }, + "name": "error" + } + ], + "body": { + "type": "CallExpression", + "start": 10220, + "end": 10244, + "loc": { + "start": { + "line": 265, + "column": 36 + }, + "end": { + "line": 265, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10220, + "end": 10237, + "loc": { + "start": { + "line": 265, + "column": 36 + }, + "end": { + "line": 265, + "column": 53 + } + }, + "object": { + "type": "MemberExpression", + "start": 10220, + "end": 10230, + "loc": { + "start": { + "line": 265, + "column": 36 + }, + "end": { + "line": 265, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 10220, + "end": 10226, + "loc": { + "start": { + "line": 265, + "column": 36 + }, + "end": { + "line": 265, + "column": 42 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 10227, + "end": 10230, + "loc": { + "start": { + "line": 265, + "column": 43 + }, + "end": { + "line": 265, + "column": 46 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 10231, + "end": 10237, + "loc": { + "start": { + "line": 265, + "column": 47 + }, + "end": { + "line": 265, + "column": 53 + }, + "identifierName": "exists" + }, + "name": "exists" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 10238, + "end": 10243, + "loc": { + "start": { + "line": 265, + "column": 54 + }, + "end": { + "line": 265, + "column": 59 + }, + "identifierName": "error" + }, + "name": "error" + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 10300, + "end": 11082, + "loc": { + "start": { + "line": 269, + "column": 14 + }, + "end": { + "line": 286, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 10300, + "end": 11081, + "loc": { + "start": { + "line": 269, + "column": 14 + }, + "end": { + "line": 286, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 10300, + "end": 10308, + "loc": { + "start": { + "line": 269, + "column": 14 + }, + "end": { + "line": 269, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 10309, + "end": 10325, + "loc": { + "start": { + "line": 269, + "column": 23 + }, + "end": { + "line": 269, + "column": 39 + } + }, + "extra": { + "rawValue": "#fetchAlbums()", + "raw": "'#fetchAlbums()'" + }, + "value": "#fetchAlbums()" + }, + { + "type": "ArrowFunctionExpression", + "start": 10327, + "end": 11080, + "loc": { + "start": { + "line": 269, + "column": 41 + }, + "end": { + "line": 286, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 10333, + "end": 11080, + "loc": { + "start": { + "line": 269, + "column": 47 + }, + "end": { + "line": 286, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 10351, + "end": 11064, + "loc": { + "start": { + "line": 270, + "column": 16 + }, + "end": { + "line": 285, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 10351, + "end": 11063, + "loc": { + "start": { + "line": 270, + "column": 16 + }, + "end": { + "line": 285, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 10351, + "end": 10353, + "loc": { + "start": { + "line": 270, + "column": 16 + }, + "end": { + "line": 270, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 10354, + "end": 10402, + "loc": { + "start": { + "line": 270, + "column": 19 + }, + "end": { + "line": 270, + "column": 67 + } + }, + "extra": { + "rawValue": "should succeed and fetch next page should fail", + "raw": "'should succeed and fetch next page should fail'" + }, + "value": "should succeed and fetch next page should fail" + }, + { + "type": "ArrowFunctionExpression", + "start": 10404, + "end": 11062, + "loc": { + "start": { + "line": 270, + "column": 69 + }, + "end": { + "line": 285, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 10410, + "end": 11062, + "loc": { + "start": { + "line": 270, + "column": 75 + }, + "end": { + "line": 285, + "column": 17 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 10430, + "end": 11044, + "loc": { + "start": { + "line": 271, + "column": 18 + }, + "end": { + "line": 284, + "column": 62 + } + }, + "argument": { + "type": "CallExpression", + "start": 10437, + "end": 11043, + "loc": { + "start": { + "line": 271, + "column": 25 + }, + "end": { + "line": 284, + "column": 61 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10437, + "end": 11008, + "loc": { + "start": { + "line": 271, + "column": 25 + }, + "end": { + "line": 284, + "column": 26 + } + }, + "object": { + "type": "CallExpression", + "start": 10437, + "end": 10981, + "loc": { + "start": { + "line": 271, + "column": 25 + }, + "end": { + "line": 283, + "column": 22 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10437, + "end": 10511, + "loc": { + "start": { + "line": 271, + "column": 25 + }, + "end": { + "line": 273, + "column": 25 + } + }, + "object": { + "type": "CallExpression", + "start": 10437, + "end": 10485, + "loc": { + "start": { + "line": 271, + "column": 25 + }, + "end": { + "line": 272, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10437, + "end": 10483, + "loc": { + "start": { + "line": 271, + "column": 25 + }, + "end": { + "line": 272, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 10437, + "end": 10450, + "loc": { + "start": { + "line": 271, + "column": 25 + }, + "end": { + "line": 271, + "column": 38 + }, + "identifierName": "artistFetcher" + }, + "name": "artistFetcher" + }, + "property": { + "type": "Identifier", + "start": 10472, + "end": 10483, + "loc": { + "start": { + "line": 272, + "column": 21 + }, + "end": { + "line": 272, + "column": 32 + }, + "identifierName": "fetchAlbums" + }, + "name": "fetchAlbums" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 10507, + "end": 10511, + "loc": { + "start": { + "line": 273, + "column": 21 + }, + "end": { + "line": 273, + "column": 25 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 10512, + "end": 10980, + "loc": { + "start": { + "line": 273, + "column": 26 + }, + "end": { + "line": 283, + "column": 21 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 10512, + "end": 10520, + "loc": { + "start": { + "line": 273, + "column": 26 + }, + "end": { + "line": 273, + "column": 34 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 10524, + "end": 10980, + "loc": { + "start": { + "line": 273, + "column": 38 + }, + "end": { + "line": 283, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 10548, + "end": 10587, + "loc": { + "start": { + "line": 274, + "column": 22 + }, + "end": { + "line": 274, + "column": 61 + } + }, + "expression": { + "type": "CallExpression", + "start": 10548, + "end": 10586, + "loc": { + "start": { + "line": 274, + "column": 22 + }, + "end": { + "line": 274, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10548, + "end": 10581, + "loc": { + "start": { + "line": 274, + "column": 22 + }, + "end": { + "line": 274, + "column": 55 + } + }, + "object": { + "type": "MemberExpression", + "start": 10548, + "end": 10573, + "loc": { + "start": { + "line": 274, + "column": 22 + }, + "end": { + "line": 274, + "column": 47 + } + }, + "object": { + "type": "MemberExpression", + "start": 10548, + "end": 10570, + "loc": { + "start": { + "line": 274, + "column": 22 + }, + "end": { + "line": 274, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 10548, + "end": 10563, + "loc": { + "start": { + "line": 274, + "column": 22 + }, + "end": { + "line": 274, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 10548, + "end": 10556, + "loc": { + "start": { + "line": 274, + "column": 22 + }, + "end": { + "line": 274, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 10557, + "end": 10563, + "loc": { + "start": { + "line": 274, + "column": 31 + }, + "end": { + "line": 274, + "column": 37 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 10564, + "end": 10570, + "loc": { + "start": { + "line": 274, + "column": 38 + }, + "end": { + "line": 274, + "column": 44 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 10571, + "end": 10573, + "loc": { + "start": { + "line": 274, + "column": 45 + }, + "end": { + "line": 274, + "column": 47 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 10574, + "end": 10581, + "loc": { + "start": { + "line": 274, + "column": 48 + }, + "end": { + "line": 274, + "column": 55 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 10582, + "end": 10585, + "loc": { + "start": { + "line": 274, + "column": 56 + }, + "end": { + "line": 274, + "column": 59 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 10610, + "end": 10919, + "loc": { + "start": { + "line": 275, + "column": 22 + }, + "end": { + "line": 281, + "column": 62 + } + }, + "expression": { + "type": "CallExpression", + "start": 10610, + "end": 10918, + "loc": { + "start": { + "line": 275, + "column": 22 + }, + "end": { + "line": 281, + "column": 61 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10610, + "end": 10887, + "loc": { + "start": { + "line": 275, + "column": 22 + }, + "end": { + "line": 281, + "column": 30 + } + }, + "object": { + "type": "CallExpression", + "start": 10610, + "end": 10856, + "loc": { + "start": { + "line": 275, + "column": 22 + }, + "end": { + "line": 280, + "column": 26 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10610, + "end": 10702, + "loc": { + "start": { + "line": 275, + "column": 22 + }, + "end": { + "line": 277, + "column": 29 + } + }, + "object": { + "type": "CallExpression", + "start": 10610, + "end": 10672, + "loc": { + "start": { + "line": 275, + "column": 22 + }, + "end": { + "line": 276, + "column": 48 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10610, + "end": 10662, + "loc": { + "start": { + "line": 275, + "column": 22 + }, + "end": { + "line": 276, + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 10610, + "end": 10623, + "loc": { + "start": { + "line": 275, + "column": 22 + }, + "end": { + "line": 275, + "column": 35 + }, + "identifierName": "artistFetcher" + }, + "name": "artistFetcher" + }, + "property": { + "type": "Identifier", + "start": 10649, + "end": 10662, + "loc": { + "start": { + "line": 276, + "column": 25 + }, + "end": { + "line": 276, + "column": 38 + }, + "identifierName": "fetchNextPage" + }, + "name": "fetchNextPage" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 10663, + "end": 10671, + "loc": { + "start": { + "line": 276, + "column": 39 + }, + "end": { + "line": 276, + "column": 47 + }, + "identifierName": "response" + }, + "name": "response" + } + ] + }, + "property": { + "type": "Identifier", + "start": 10698, + "end": 10702, + "loc": { + "start": { + "line": 277, + "column": 25 + }, + "end": { + "line": 277, + "column": 29 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 10703, + "end": 10855, + "loc": { + "start": { + "line": 277, + "column": 30 + }, + "end": { + "line": 280, + "column": 25 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 10703, + "end": 10711, + "loc": { + "start": { + "line": 277, + "column": 30 + }, + "end": { + "line": 277, + "column": 38 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 10715, + "end": 10855, + "loc": { + "start": { + "line": 277, + "column": 42 + }, + "end": { + "line": 280, + "column": 25 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 10743, + "end": 10786, + "loc": { + "start": { + "line": 278, + "column": 26 + }, + "end": { + "line": 278, + "column": 69 + } + }, + "expression": { + "type": "CallExpression", + "start": 10743, + "end": 10785, + "loc": { + "start": { + "line": 278, + "column": 26 + }, + "end": { + "line": 278, + "column": 68 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10743, + "end": 10780, + "loc": { + "start": { + "line": 278, + "column": 26 + }, + "end": { + "line": 278, + "column": 63 + } + }, + "object": { + "type": "MemberExpression", + "start": 10743, + "end": 10772, + "loc": { + "start": { + "line": 278, + "column": 26 + }, + "end": { + "line": 278, + "column": 55 + } + }, + "object": { + "type": "MemberExpression", + "start": 10743, + "end": 10769, + "loc": { + "start": { + "line": 278, + "column": 26 + }, + "end": { + "line": 278, + "column": 52 + } + }, + "object": { + "type": "MemberExpression", + "start": 10743, + "end": 10765, + "loc": { + "start": { + "line": 278, + "column": 26 + }, + "end": { + "line": 278, + "column": 48 + } + }, + "object": { + "type": "MemberExpression", + "start": 10743, + "end": 10758, + "loc": { + "start": { + "line": 278, + "column": 26 + }, + "end": { + "line": 278, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 10743, + "end": 10751, + "loc": { + "start": { + "line": 278, + "column": 26 + }, + "end": { + "line": 278, + "column": 34 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 10752, + "end": 10758, + "loc": { + "start": { + "line": 278, + "column": 35 + }, + "end": { + "line": 278, + "column": 41 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 10759, + "end": 10765, + "loc": { + "start": { + "line": 278, + "column": 42 + }, + "end": { + "line": 278, + "column": 48 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 10766, + "end": 10769, + "loc": { + "start": { + "line": 278, + "column": 49 + }, + "end": { + "line": 278, + "column": 52 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 10770, + "end": 10772, + "loc": { + "start": { + "line": 278, + "column": 53 + }, + "end": { + "line": 278, + "column": 55 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 10773, + "end": 10780, + "loc": { + "start": { + "line": 278, + "column": 56 + }, + "end": { + "line": 278, + "column": 63 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 10781, + "end": 10784, + "loc": { + "start": { + "line": 278, + "column": 64 + }, + "end": { + "line": 278, + "column": 67 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ReturnStatement", + "start": 10813, + "end": 10829, + "loc": { + "start": { + "line": 279, + "column": 26 + }, + "end": { + "line": 279, + "column": 42 + } + }, + "argument": { + "type": "Identifier", + "start": 10820, + "end": 10828, + "loc": { + "start": { + "line": 279, + "column": 33 + }, + "end": { + "line": 279, + "column": 41 + }, + "identifierName": "response" + }, + "name": "response" + } + } + ], + "directives": [] + } + } + ] + }, + "property": { + "type": "Identifier", + "start": 10882, + "end": 10887, + "loc": { + "start": { + "line": 281, + "column": 25 + }, + "end": { + "line": 281, + "column": 30 + }, + "identifierName": "catch" + }, + "name": "catch" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 10888, + "end": 10917, + "loc": { + "start": { + "line": 281, + "column": 31 + }, + "end": { + "line": 281, + "column": 60 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 10888, + "end": 10893, + "loc": { + "start": { + "line": 281, + "column": 31 + }, + "end": { + "line": 281, + "column": 36 + }, + "identifierName": "error" + }, + "name": "error" + } + ], + "body": { + "type": "CallExpression", + "start": 10897, + "end": 10917, + "loc": { + "start": { + "line": 281, + "column": 40 + }, + "end": { + "line": 281, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10897, + "end": 10910, + "loc": { + "start": { + "line": 281, + "column": 40 + }, + "end": { + "line": 281, + "column": 53 + } + }, + "object": { + "type": "Identifier", + "start": 10897, + "end": 10903, + "loc": { + "start": { + "line": 281, + "column": 40 + }, + "end": { + "line": 281, + "column": 46 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 10904, + "end": 10910, + "loc": { + "start": { + "line": 281, + "column": 47 + }, + "end": { + "line": 281, + "column": 53 + }, + "identifierName": "exists" + }, + "name": "exists" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 10911, + "end": 10916, + "loc": { + "start": { + "line": 281, + "column": 54 + }, + "end": { + "line": 281, + "column": 59 + }, + "identifierName": "error" + }, + "name": "error" + } + ] + } + } + ] + } + }, + { + "type": "ReturnStatement", + "start": 10942, + "end": 10958, + "loc": { + "start": { + "line": 282, + "column": 22 + }, + "end": { + "line": 282, + "column": 38 + } + }, + "argument": { + "type": "Identifier", + "start": 10949, + "end": 10957, + "loc": { + "start": { + "line": 282, + "column": 29 + }, + "end": { + "line": 282, + "column": 37 + }, + "identifierName": "response" + }, + "name": "response" + } + } + ], + "directives": [] + } + } + ] + }, + "property": { + "type": "Identifier", + "start": 11003, + "end": 11008, + "loc": { + "start": { + "line": 284, + "column": 21 + }, + "end": { + "line": 284, + "column": 26 + }, + "identifierName": "catch" + }, + "name": "catch" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 11009, + "end": 11042, + "loc": { + "start": { + "line": 284, + "column": 27 + }, + "end": { + "line": 284, + "column": 60 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 11009, + "end": 11014, + "loc": { + "start": { + "line": 284, + "column": 27 + }, + "end": { + "line": 284, + "column": 32 + }, + "identifierName": "error" + }, + "name": "error" + } + ], + "body": { + "type": "CallExpression", + "start": 11018, + "end": 11042, + "loc": { + "start": { + "line": 284, + "column": 36 + }, + "end": { + "line": 284, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 11018, + "end": 11035, + "loc": { + "start": { + "line": 284, + "column": 36 + }, + "end": { + "line": 284, + "column": 53 + } + }, + "object": { + "type": "MemberExpression", + "start": 11018, + "end": 11028, + "loc": { + "start": { + "line": 284, + "column": 36 + }, + "end": { + "line": 284, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 11018, + "end": 11024, + "loc": { + "start": { + "line": 284, + "column": 36 + }, + "end": { + "line": 284, + "column": 42 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 11025, + "end": 11028, + "loc": { + "start": { + "line": 284, + "column": 43 + }, + "end": { + "line": 284, + "column": 46 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 11029, + "end": 11035, + "loc": { + "start": { + "line": 284, + "column": 47 + }, + "end": { + "line": 284, + "column": 53 + }, + "identifierName": "exists" + }, + "name": "exists" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 11036, + "end": 11041, + "loc": { + "start": { + "line": 284, + "column": 54 + }, + "end": { + "line": 284, + "column": 59 + }, + "identifierName": "error" + }, + "name": "error" + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 11098, + "end": 11590, + "loc": { + "start": { + "line": 288, + "column": 14 + }, + "end": { + "line": 301, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 11098, + "end": 11589, + "loc": { + "start": { + "line": 288, + "column": 14 + }, + "end": { + "line": 301, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 11098, + "end": 11106, + "loc": { + "start": { + "line": 288, + "column": 14 + }, + "end": { + "line": 288, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 11107, + "end": 11126, + "loc": { + "start": { + "line": 288, + "column": 23 + }, + "end": { + "line": 288, + "column": 42 + } + }, + "extra": { + "rawValue": "#fetchTopTracks()", + "raw": "'#fetchTopTracks()'" + }, + "value": "#fetchTopTracks()" + }, + { + "type": "ArrowFunctionExpression", + "start": 11128, + "end": 11588, + "loc": { + "start": { + "line": 288, + "column": 44 + }, + "end": { + "line": 301, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 11134, + "end": 11588, + "loc": { + "start": { + "line": 288, + "column": 50 + }, + "end": { + "line": 301, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 11152, + "end": 11572, + "loc": { + "start": { + "line": 289, + "column": 16 + }, + "end": { + "line": 300, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 11152, + "end": 11571, + "loc": { + "start": { + "line": 289, + "column": 16 + }, + "end": { + "line": 300, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 11152, + "end": 11154, + "loc": { + "start": { + "line": 289, + "column": 16 + }, + "end": { + "line": 289, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 11155, + "end": 11183, + "loc": { + "start": { + "line": 289, + "column": 19 + }, + "end": { + "line": 289, + "column": 47 + } + }, + "extra": { + "rawValue": "should response status 200", + "raw": "'should response status 200'" + }, + "value": "should response status 200" + }, + { + "type": "ArrowFunctionExpression", + "start": 11185, + "end": 11570, + "loc": { + "start": { + "line": 289, + "column": 49 + }, + "end": { + "line": 300, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 11185, + "end": 11189, + "loc": { + "start": { + "line": 289, + "column": 49 + }, + "end": { + "line": 289, + "column": 53 + }, + "identifierName": "done" + }, + "name": "done" + } + ], + "body": { + "type": "BlockStatement", + "start": 11193, + "end": 11570, + "loc": { + "start": { + "line": 289, + "column": 57 + }, + "end": { + "line": 300, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 11213, + "end": 11552, + "loc": { + "start": { + "line": 290, + "column": 18 + }, + "end": { + "line": 299, + "column": 20 + } + }, + "expression": { + "type": "CallExpression", + "start": 11213, + "end": 11551, + "loc": { + "start": { + "line": 290, + "column": 18 + }, + "end": { + "line": 299, + "column": 19 + } + }, + "callee": { + "type": "MemberExpression", + "start": 11213, + "end": 11248, + "loc": { + "start": { + "line": 290, + "column": 18 + }, + "end": { + "line": 290, + "column": 53 + } + }, + "object": { + "type": "CallExpression", + "start": 11213, + "end": 11243, + "loc": { + "start": { + "line": 290, + "column": 18 + }, + "end": { + "line": 290, + "column": 48 + } + }, + "callee": { + "type": "MemberExpression", + "start": 11213, + "end": 11241, + "loc": { + "start": { + "line": 290, + "column": 18 + }, + "end": { + "line": 290, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 11213, + "end": 11226, + "loc": { + "start": { + "line": 290, + "column": 18 + }, + "end": { + "line": 290, + "column": 31 + }, + "identifierName": "artistFetcher" + }, + "name": "artistFetcher" + }, + "property": { + "type": "Identifier", + "start": 11227, + "end": 11241, + "loc": { + "start": { + "line": 290, + "column": 32 + }, + "end": { + "line": 290, + "column": 46 + }, + "identifierName": "fetchTopTracks" + }, + "name": "fetchTopTracks" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 11244, + "end": 11248, + "loc": { + "start": { + "line": 290, + "column": 49 + }, + "end": { + "line": 290, + "column": 53 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 11270, + "end": 11397, + "loc": { + "start": { + "line": 291, + "column": 20 + }, + "end": { + "line": 294, + "column": 21 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 11270, + "end": 11278, + "loc": { + "start": { + "line": 291, + "column": 20 + }, + "end": { + "line": 291, + "column": 28 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 11282, + "end": 11397, + "loc": { + "start": { + "line": 291, + "column": 32 + }, + "end": { + "line": 294, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 11306, + "end": 11345, + "loc": { + "start": { + "line": 292, + "column": 22 + }, + "end": { + "line": 292, + "column": 61 + } + }, + "expression": { + "type": "CallExpression", + "start": 11306, + "end": 11344, + "loc": { + "start": { + "line": 292, + "column": 22 + }, + "end": { + "line": 292, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 11306, + "end": 11339, + "loc": { + "start": { + "line": 292, + "column": 22 + }, + "end": { + "line": 292, + "column": 55 + } + }, + "object": { + "type": "MemberExpression", + "start": 11306, + "end": 11331, + "loc": { + "start": { + "line": 292, + "column": 22 + }, + "end": { + "line": 292, + "column": 47 + } + }, + "object": { + "type": "MemberExpression", + "start": 11306, + "end": 11328, + "loc": { + "start": { + "line": 292, + "column": 22 + }, + "end": { + "line": 292, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 11306, + "end": 11321, + "loc": { + "start": { + "line": 292, + "column": 22 + }, + "end": { + "line": 292, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 11306, + "end": 11314, + "loc": { + "start": { + "line": 292, + "column": 22 + }, + "end": { + "line": 292, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 11315, + "end": 11321, + "loc": { + "start": { + "line": 292, + "column": 31 + }, + "end": { + "line": 292, + "column": 37 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 11322, + "end": 11328, + "loc": { + "start": { + "line": 292, + "column": 38 + }, + "end": { + "line": 292, + "column": 44 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 11329, + "end": 11331, + "loc": { + "start": { + "line": 292, + "column": 45 + }, + "end": { + "line": 292, + "column": 47 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 11332, + "end": 11339, + "loc": { + "start": { + "line": 292, + "column": 48 + }, + "end": { + "line": 292, + "column": 55 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 11340, + "end": 11343, + "loc": { + "start": { + "line": 292, + "column": 56 + }, + "end": { + "line": 292, + "column": 59 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 11368, + "end": 11375, + "loc": { + "start": { + "line": 293, + "column": 22 + }, + "end": { + "line": 293, + "column": 29 + } + }, + "expression": { + "type": "CallExpression", + "start": 11368, + "end": 11374, + "loc": { + "start": { + "line": 293, + "column": 22 + }, + "end": { + "line": 293, + "column": 28 + } + }, + "callee": { + "type": "Identifier", + "start": 11368, + "end": 11372, + "loc": { + "start": { + "line": 293, + "column": 22 + }, + "end": { + "line": 293, + "column": 26 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [] + } + } + ], + "directives": [] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 11419, + "end": 11531, + "loc": { + "start": { + "line": 295, + "column": 20 + }, + "end": { + "line": 298, + "column": 21 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 11419, + "end": 11425, + "loc": { + "start": { + "line": 295, + "column": 20 + }, + "end": { + "line": 295, + "column": 26 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "BlockStatement", + "start": 11429, + "end": 11531, + "loc": { + "start": { + "line": 295, + "column": 30 + }, + "end": { + "line": 298, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 11453, + "end": 11479, + "loc": { + "start": { + "line": 296, + "column": 22 + }, + "end": { + "line": 296, + "column": 48 + } + }, + "expression": { + "type": "CallExpression", + "start": 11453, + "end": 11478, + "loc": { + "start": { + "line": 296, + "column": 22 + }, + "end": { + "line": 296, + "column": 47 + } + }, + "callee": { + "type": "MemberExpression", + "start": 11453, + "end": 11470, + "loc": { + "start": { + "line": 296, + "column": 22 + }, + "end": { + "line": 296, + "column": 39 + } + }, + "object": { + "type": "MemberExpression", + "start": 11453, + "end": 11463, + "loc": { + "start": { + "line": 296, + "column": 22 + }, + "end": { + "line": 296, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 11453, + "end": 11459, + "loc": { + "start": { + "line": 296, + "column": 22 + }, + "end": { + "line": 296, + "column": 28 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 11460, + "end": 11463, + "loc": { + "start": { + "line": 296, + "column": 29 + }, + "end": { + "line": 296, + "column": 32 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 11464, + "end": 11470, + "loc": { + "start": { + "line": 296, + "column": 33 + }, + "end": { + "line": 296, + "column": 39 + }, + "identifierName": "exists" + }, + "name": "exists" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 11471, + "end": 11477, + "loc": { + "start": { + "line": 296, + "column": 40 + }, + "end": { + "line": 296, + "column": 46 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 11502, + "end": 11509, + "loc": { + "start": { + "line": 297, + "column": 22 + }, + "end": { + "line": 297, + "column": 29 + } + }, + "expression": { + "type": "CallExpression", + "start": 11502, + "end": 11508, + "loc": { + "start": { + "line": 297, + "column": 22 + }, + "end": { + "line": 297, + "column": 28 + } + }, + "callee": { + "type": "Identifier", + "start": 11502, + "end": 11506, + "loc": { + "start": { + "line": 297, + "column": 22 + }, + "end": { + "line": 297, + "column": 26 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 11606, + "end": 12108, + "loc": { + "start": { + "line": 303, + "column": 14 + }, + "end": { + "line": 316, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 11606, + "end": 12107, + "loc": { + "start": { + "line": 303, + "column": 14 + }, + "end": { + "line": 316, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 11606, + "end": 11614, + "loc": { + "start": { + "line": 303, + "column": 14 + }, + "end": { + "line": 303, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 11615, + "end": 11639, + "loc": { + "start": { + "line": 303, + "column": 23 + }, + "end": { + "line": 303, + "column": 47 + } + }, + "extra": { + "rawValue": "#fetchRelatedArtists()", + "raw": "'#fetchRelatedArtists()'" + }, + "value": "#fetchRelatedArtists()" + }, + { + "type": "ArrowFunctionExpression", + "start": 11641, + "end": 12106, + "loc": { + "start": { + "line": 303, + "column": 49 + }, + "end": { + "line": 316, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 11647, + "end": 12106, + "loc": { + "start": { + "line": 303, + "column": 55 + }, + "end": { + "line": 316, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 11665, + "end": 12090, + "loc": { + "start": { + "line": 304, + "column": 16 + }, + "end": { + "line": 315, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 11665, + "end": 12089, + "loc": { + "start": { + "line": 304, + "column": 16 + }, + "end": { + "line": 315, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 11665, + "end": 11667, + "loc": { + "start": { + "line": 304, + "column": 16 + }, + "end": { + "line": 304, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 11668, + "end": 11696, + "loc": { + "start": { + "line": 304, + "column": 19 + }, + "end": { + "line": 304, + "column": 47 + } + }, + "extra": { + "rawValue": "should response status 200", + "raw": "'should response status 200'" + }, + "value": "should response status 200" + }, + { + "type": "ArrowFunctionExpression", + "start": 11698, + "end": 12088, + "loc": { + "start": { + "line": 304, + "column": 49 + }, + "end": { + "line": 315, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 11698, + "end": 11702, + "loc": { + "start": { + "line": 304, + "column": 49 + }, + "end": { + "line": 304, + "column": 53 + }, + "identifierName": "done" + }, + "name": "done" + } + ], + "body": { + "type": "BlockStatement", + "start": 11706, + "end": 12088, + "loc": { + "start": { + "line": 304, + "column": 57 + }, + "end": { + "line": 315, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 11726, + "end": 12070, + "loc": { + "start": { + "line": 305, + "column": 18 + }, + "end": { + "line": 314, + "column": 20 + } + }, + "expression": { + "type": "CallExpression", + "start": 11726, + "end": 12069, + "loc": { + "start": { + "line": 305, + "column": 18 + }, + "end": { + "line": 314, + "column": 19 + } + }, + "callee": { + "type": "MemberExpression", + "start": 11726, + "end": 11766, + "loc": { + "start": { + "line": 305, + "column": 18 + }, + "end": { + "line": 305, + "column": 58 + } + }, + "object": { + "type": "CallExpression", + "start": 11726, + "end": 11761, + "loc": { + "start": { + "line": 305, + "column": 18 + }, + "end": { + "line": 305, + "column": 53 + } + }, + "callee": { + "type": "MemberExpression", + "start": 11726, + "end": 11759, + "loc": { + "start": { + "line": 305, + "column": 18 + }, + "end": { + "line": 305, + "column": 51 + } + }, + "object": { + "type": "Identifier", + "start": 11726, + "end": 11739, + "loc": { + "start": { + "line": 305, + "column": 18 + }, + "end": { + "line": 305, + "column": 31 + }, + "identifierName": "artistFetcher" + }, + "name": "artistFetcher" + }, + "property": { + "type": "Identifier", + "start": 11740, + "end": 11759, + "loc": { + "start": { + "line": 305, + "column": 32 + }, + "end": { + "line": 305, + "column": 51 + }, + "identifierName": "fetchRelatedArtists" + }, + "name": "fetchRelatedArtists" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 11762, + "end": 11766, + "loc": { + "start": { + "line": 305, + "column": 54 + }, + "end": { + "line": 305, + "column": 58 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 11788, + "end": 11915, + "loc": { + "start": { + "line": 306, + "column": 20 + }, + "end": { + "line": 309, + "column": 21 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 11788, + "end": 11796, + "loc": { + "start": { + "line": 306, + "column": 20 + }, + "end": { + "line": 306, + "column": 28 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 11800, + "end": 11915, + "loc": { + "start": { + "line": 306, + "column": 32 + }, + "end": { + "line": 309, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 11824, + "end": 11863, + "loc": { + "start": { + "line": 307, + "column": 22 + }, + "end": { + "line": 307, + "column": 61 + } + }, + "expression": { + "type": "CallExpression", + "start": 11824, + "end": 11862, + "loc": { + "start": { + "line": 307, + "column": 22 + }, + "end": { + "line": 307, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 11824, + "end": 11857, + "loc": { + "start": { + "line": 307, + "column": 22 + }, + "end": { + "line": 307, + "column": 55 + } + }, + "object": { + "type": "MemberExpression", + "start": 11824, + "end": 11849, + "loc": { + "start": { + "line": 307, + "column": 22 + }, + "end": { + "line": 307, + "column": 47 + } + }, + "object": { + "type": "MemberExpression", + "start": 11824, + "end": 11846, + "loc": { + "start": { + "line": 307, + "column": 22 + }, + "end": { + "line": 307, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 11824, + "end": 11839, + "loc": { + "start": { + "line": 307, + "column": 22 + }, + "end": { + "line": 307, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 11824, + "end": 11832, + "loc": { + "start": { + "line": 307, + "column": 22 + }, + "end": { + "line": 307, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 11833, + "end": 11839, + "loc": { + "start": { + "line": 307, + "column": 31 + }, + "end": { + "line": 307, + "column": 37 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 11840, + "end": 11846, + "loc": { + "start": { + "line": 307, + "column": 38 + }, + "end": { + "line": 307, + "column": 44 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 11847, + "end": 11849, + "loc": { + "start": { + "line": 307, + "column": 45 + }, + "end": { + "line": 307, + "column": 47 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 11850, + "end": 11857, + "loc": { + "start": { + "line": 307, + "column": 48 + }, + "end": { + "line": 307, + "column": 55 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 11858, + "end": 11861, + "loc": { + "start": { + "line": 307, + "column": 56 + }, + "end": { + "line": 307, + "column": 59 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 11886, + "end": 11893, + "loc": { + "start": { + "line": 308, + "column": 22 + }, + "end": { + "line": 308, + "column": 29 + } + }, + "expression": { + "type": "CallExpression", + "start": 11886, + "end": 11892, + "loc": { + "start": { + "line": 308, + "column": 22 + }, + "end": { + "line": 308, + "column": 28 + } + }, + "callee": { + "type": "Identifier", + "start": 11886, + "end": 11890, + "loc": { + "start": { + "line": 308, + "column": 22 + }, + "end": { + "line": 308, + "column": 26 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [] + } + } + ], + "directives": [] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 11937, + "end": 12049, + "loc": { + "start": { + "line": 310, + "column": 20 + }, + "end": { + "line": 313, + "column": 21 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 11937, + "end": 11943, + "loc": { + "start": { + "line": 310, + "column": 20 + }, + "end": { + "line": 310, + "column": 26 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "BlockStatement", + "start": 11947, + "end": 12049, + "loc": { + "start": { + "line": 310, + "column": 30 + }, + "end": { + "line": 313, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 11971, + "end": 11997, + "loc": { + "start": { + "line": 311, + "column": 22 + }, + "end": { + "line": 311, + "column": 48 + } + }, + "expression": { + "type": "CallExpression", + "start": 11971, + "end": 11996, + "loc": { + "start": { + "line": 311, + "column": 22 + }, + "end": { + "line": 311, + "column": 47 + } + }, + "callee": { + "type": "MemberExpression", + "start": 11971, + "end": 11988, + "loc": { + "start": { + "line": 311, + "column": 22 + }, + "end": { + "line": 311, + "column": 39 + } + }, + "object": { + "type": "MemberExpression", + "start": 11971, + "end": 11981, + "loc": { + "start": { + "line": 311, + "column": 22 + }, + "end": { + "line": 311, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 11971, + "end": 11977, + "loc": { + "start": { + "line": 311, + "column": 22 + }, + "end": { + "line": 311, + "column": 28 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 11978, + "end": 11981, + "loc": { + "start": { + "line": 311, + "column": 29 + }, + "end": { + "line": 311, + "column": 32 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 11982, + "end": 11988, + "loc": { + "start": { + "line": 311, + "column": 33 + }, + "end": { + "line": 311, + "column": 39 + }, + "identifierName": "exists" + }, + "name": "exists" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 11989, + "end": 11995, + "loc": { + "start": { + "line": 311, + "column": 40 + }, + "end": { + "line": 311, + "column": 46 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 12020, + "end": 12027, + "loc": { + "start": { + "line": 312, + "column": 22 + }, + "end": { + "line": 312, + "column": 29 + } + }, + "expression": { + "type": "CallExpression", + "start": 12020, + "end": 12026, + "loc": { + "start": { + "line": 312, + "column": 22 + }, + "end": { + "line": 312, + "column": 28 + } + }, + "callee": { + "type": "Identifier", + "start": 12020, + "end": 12024, + "loc": { + "start": { + "line": 312, + "column": 22 + }, + "end": { + "line": 312, + "column": 26 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 12138, + "end": 13654, + "loc": { + "start": { + "line": 319, + "column": 12 + }, + "end": { + "line": 356, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 12138, + "end": 13653, + "loc": { + "start": { + "line": 319, + "column": 12 + }, + "end": { + "line": 356, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 12138, + "end": 12146, + "loc": { + "start": { + "line": 319, + "column": 12 + }, + "end": { + "line": 319, + "column": 20 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 12147, + "end": 12173, + "loc": { + "start": { + "line": 319, + "column": 21 + }, + "end": { + "line": 319, + "column": 47 + } + }, + "extra": { + "rawValue": "Artist fetch album tests", + "raw": "'Artist fetch album tests'" + }, + "value": "Artist fetch album tests" + }, + { + "type": "ArrowFunctionExpression", + "start": 12175, + "end": 13652, + "loc": { + "start": { + "line": 319, + "column": 49 + }, + "end": { + "line": 356, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 12181, + "end": 13652, + "loc": { + "start": { + "line": 319, + "column": 55 + }, + "end": { + "line": 356, + "column": 13 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 12197, + "end": 12315, + "loc": { + "start": { + "line": 320, + "column": 14 + }, + "end": { + "line": 322, + "column": 16 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 12203, + "end": 12314, + "loc": { + "start": { + "line": 320, + "column": 20 + }, + "end": { + "line": 322, + "column": 15 + } + }, + "id": { + "type": "Identifier", + "start": 12203, + "end": 12216, + "loc": { + "start": { + "line": 320, + "column": 20 + }, + "end": { + "line": 320, + "column": 33 + }, + "identifierName": "artistFetcher" + }, + "name": "artistFetcher" + }, + "init": { + "type": "CallExpression", + "start": 12219, + "end": 12314, + "loc": { + "start": { + "line": 320, + "column": 36 + }, + "end": { + "line": 322, + "column": 15 + } + }, + "callee": { + "type": "MemberExpression", + "start": 12219, + "end": 12260, + "loc": { + "start": { + "line": 320, + "column": 36 + }, + "end": { + "line": 320, + "column": 77 + } + }, + "object": { + "type": "NewExpression", + "start": 12219, + "end": 12248, + "loc": { + "start": { + "line": 320, + "column": 36 + }, + "end": { + "line": 320, + "column": 65 + } + }, + "callee": { + "type": "Identifier", + "start": 12223, + "end": 12236, + "loc": { + "start": { + "line": 320, + "column": 40 + }, + "end": { + "line": 320, + "column": 53 + }, + "identifierName": "ArtistFetcher" + }, + "name": "ArtistFetcher" + }, + "arguments": [ + { + "type": "Identifier", + "start": 12237, + "end": 12247, + "loc": { + "start": { + "line": 320, + "column": 54 + }, + "end": { + "line": 320, + "column": 64 + }, + "identifierName": "httpClient" + }, + "name": "httpClient" + } + ] + }, + "property": { + "type": "Identifier", + "start": 12249, + "end": 12260, + "loc": { + "start": { + "line": 320, + "column": 66 + }, + "end": { + "line": 320, + "column": 77 + }, + "identifierName": "setArtistID" + }, + "name": "setArtistID" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 12278, + "end": 12298, + "loc": { + "start": { + "line": 321, + "column": 16 + }, + "end": { + "line": 321, + "column": 36 + } + }, + "extra": { + "rawValue": "Cnv_K6i5Ft4y41SxLy", + "raw": "'Cnv_K6i5Ft4y41SxLy'" + }, + "value": "Cnv_K6i5Ft4y41SxLy" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 12330, + "end": 12973, + "loc": { + "start": { + "line": 323, + "column": 14 + }, + "end": { + "line": 338, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 12330, + "end": 12972, + "loc": { + "start": { + "line": 323, + "column": 14 + }, + "end": { + "line": 338, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 12330, + "end": 12338, + "loc": { + "start": { + "line": 323, + "column": 14 + }, + "end": { + "line": 323, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 12339, + "end": 12356, + "loc": { + "start": { + "line": 323, + "column": 23 + }, + "end": { + "line": 323, + "column": 40 + } + }, + "extra": { + "rawValue": "#fetchAlbums(1)", + "raw": "'#fetchAlbums(1)'" + }, + "value": "#fetchAlbums(1)" + }, + { + "type": "ArrowFunctionExpression", + "start": 12358, + "end": 12971, + "loc": { + "start": { + "line": 323, + "column": 42 + }, + "end": { + "line": 338, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 12364, + "end": 12971, + "loc": { + "start": { + "line": 323, + "column": 48 + }, + "end": { + "line": 338, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 12382, + "end": 12955, + "loc": { + "start": { + "line": 324, + "column": 16 + }, + "end": { + "line": 337, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 12382, + "end": 12954, + "loc": { + "start": { + "line": 324, + "column": 16 + }, + "end": { + "line": 337, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 12382, + "end": 12384, + "loc": { + "start": { + "line": 324, + "column": 16 + }, + "end": { + "line": 324, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 12385, + "end": 12436, + "loc": { + "start": { + "line": 324, + "column": 19 + }, + "end": { + "line": 324, + "column": 70 + } + }, + "extra": { + "rawValue": "should succeed and fetch next page shuold succeed", + "raw": "'should succeed and fetch next page shuold succeed'" + }, + "value": "should succeed and fetch next page shuold succeed" + }, + { + "type": "ArrowFunctionExpression", + "start": 12438, + "end": 12953, + "loc": { + "start": { + "line": 324, + "column": 72 + }, + "end": { + "line": 337, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 12438, + "end": 12442, + "loc": { + "start": { + "line": 324, + "column": 72 + }, + "end": { + "line": 324, + "column": 76 + }, + "identifierName": "done" + }, + "name": "done" + } + ], + "body": { + "type": "BlockStatement", + "start": 12446, + "end": 12953, + "loc": { + "start": { + "line": 324, + "column": 80 + }, + "end": { + "line": 337, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 12466, + "end": 12935, + "loc": { + "start": { + "line": 325, + "column": 18 + }, + "end": { + "line": 336, + "column": 21 + } + }, + "expression": { + "type": "CallExpression", + "start": 12466, + "end": 12934, + "loc": { + "start": { + "line": 325, + "column": 18 + }, + "end": { + "line": 336, + "column": 20 + } + }, + "callee": { + "type": "MemberExpression", + "start": 12466, + "end": 12499, + "loc": { + "start": { + "line": 325, + "column": 18 + }, + "end": { + "line": 325, + "column": 51 + } + }, + "object": { + "type": "CallExpression", + "start": 12466, + "end": 12494, + "loc": { + "start": { + "line": 325, + "column": 18 + }, + "end": { + "line": 325, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 12466, + "end": 12491, + "loc": { + "start": { + "line": 325, + "column": 18 + }, + "end": { + "line": 325, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 12466, + "end": 12479, + "loc": { + "start": { + "line": 325, + "column": 18 + }, + "end": { + "line": 325, + "column": 31 + }, + "identifierName": "artistFetcher" + }, + "name": "artistFetcher" + }, + "property": { + "type": "Identifier", + "start": 12480, + "end": 12491, + "loc": { + "start": { + "line": 325, + "column": 32 + }, + "end": { + "line": 325, + "column": 43 + }, + "identifierName": "fetchAlbums" + }, + "name": "fetchAlbums" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 12492, + "end": 12493, + "loc": { + "start": { + "line": 325, + "column": 44 + }, + "end": { + "line": 325, + "column": 45 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + ] + }, + "property": { + "type": "Identifier", + "start": 12495, + "end": 12499, + "loc": { + "start": { + "line": 325, + "column": 47 + }, + "end": { + "line": 325, + "column": 51 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 12500, + "end": 12933, + "loc": { + "start": { + "line": 325, + "column": 52 + }, + "end": { + "line": 336, + "column": 19 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 12500, + "end": 12508, + "loc": { + "start": { + "line": 325, + "column": 52 + }, + "end": { + "line": 325, + "column": 60 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 12512, + "end": 12933, + "loc": { + "start": { + "line": 325, + "column": 64 + }, + "end": { + "line": 336, + "column": 19 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 12534, + "end": 12573, + "loc": { + "start": { + "line": 326, + "column": 20 + }, + "end": { + "line": 326, + "column": 59 + } + }, + "expression": { + "type": "CallExpression", + "start": 12534, + "end": 12572, + "loc": { + "start": { + "line": 326, + "column": 20 + }, + "end": { + "line": 326, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 12534, + "end": 12567, + "loc": { + "start": { + "line": 326, + "column": 20 + }, + "end": { + "line": 326, + "column": 53 + } + }, + "object": { + "type": "MemberExpression", + "start": 12534, + "end": 12559, + "loc": { + "start": { + "line": 326, + "column": 20 + }, + "end": { + "line": 326, + "column": 45 + } + }, + "object": { + "type": "MemberExpression", + "start": 12534, + "end": 12556, + "loc": { + "start": { + "line": 326, + "column": 20 + }, + "end": { + "line": 326, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 12534, + "end": 12549, + "loc": { + "start": { + "line": 326, + "column": 20 + }, + "end": { + "line": 326, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 12534, + "end": 12542, + "loc": { + "start": { + "line": 326, + "column": 20 + }, + "end": { + "line": 326, + "column": 28 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 12543, + "end": 12549, + "loc": { + "start": { + "line": 326, + "column": 29 + }, + "end": { + "line": 326, + "column": 35 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 12550, + "end": 12556, + "loc": { + "start": { + "line": 326, + "column": 36 + }, + "end": { + "line": 326, + "column": 42 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 12557, + "end": 12559, + "loc": { + "start": { + "line": 326, + "column": 43 + }, + "end": { + "line": 326, + "column": 45 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 12560, + "end": 12567, + "loc": { + "start": { + "line": 326, + "column": 46 + }, + "end": { + "line": 326, + "column": 53 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 12568, + "end": 12571, + "loc": { + "start": { + "line": 326, + "column": 54 + }, + "end": { + "line": 326, + "column": 57 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 12594, + "end": 12913, + "loc": { + "start": { + "line": 327, + "column": 20 + }, + "end": { + "line": 335, + "column": 22 + } + }, + "expression": { + "type": "CallExpression", + "start": 12594, + "end": 12912, + "loc": { + "start": { + "line": 327, + "column": 20 + }, + "end": { + "line": 335, + "column": 21 + } + }, + "callee": { + "type": "MemberExpression", + "start": 12594, + "end": 12636, + "loc": { + "start": { + "line": 327, + "column": 20 + }, + "end": { + "line": 327, + "column": 62 + } + }, + "object": { + "type": "CallExpression", + "start": 12594, + "end": 12631, + "loc": { + "start": { + "line": 327, + "column": 20 + }, + "end": { + "line": 327, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 12594, + "end": 12621, + "loc": { + "start": { + "line": 327, + "column": 20 + }, + "end": { + "line": 327, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 12594, + "end": 12607, + "loc": { + "start": { + "line": 327, + "column": 20 + }, + "end": { + "line": 327, + "column": 33 + }, + "identifierName": "artistFetcher" + }, + "name": "artistFetcher" + }, + "property": { + "type": "Identifier", + "start": 12608, + "end": 12621, + "loc": { + "start": { + "line": 327, + "column": 34 + }, + "end": { + "line": 327, + "column": 47 + }, + "identifierName": "fetchNextPage" + }, + "name": "fetchNextPage" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 12622, + "end": 12630, + "loc": { + "start": { + "line": 327, + "column": 48 + }, + "end": { + "line": 327, + "column": 56 + }, + "identifierName": "response" + }, + "name": "response" + } + ] + }, + "property": { + "type": "Identifier", + "start": 12632, + "end": 12636, + "loc": { + "start": { + "line": 327, + "column": 58 + }, + "end": { + "line": 327, + "column": 62 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 12660, + "end": 12793, + "loc": { + "start": { + "line": 328, + "column": 22 + }, + "end": { + "line": 331, + "column": 23 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 12660, + "end": 12668, + "loc": { + "start": { + "line": 328, + "column": 22 + }, + "end": { + "line": 328, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 12672, + "end": 12793, + "loc": { + "start": { + "line": 328, + "column": 34 + }, + "end": { + "line": 331, + "column": 23 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 12698, + "end": 12737, + "loc": { + "start": { + "line": 329, + "column": 24 + }, + "end": { + "line": 329, + "column": 63 + } + }, + "expression": { + "type": "CallExpression", + "start": 12698, + "end": 12736, + "loc": { + "start": { + "line": 329, + "column": 24 + }, + "end": { + "line": 329, + "column": 62 + } + }, + "callee": { + "type": "MemberExpression", + "start": 12698, + "end": 12731, + "loc": { + "start": { + "line": 329, + "column": 24 + }, + "end": { + "line": 329, + "column": 57 + } + }, + "object": { + "type": "MemberExpression", + "start": 12698, + "end": 12723, + "loc": { + "start": { + "line": 329, + "column": 24 + }, + "end": { + "line": 329, + "column": 49 + } + }, + "object": { + "type": "MemberExpression", + "start": 12698, + "end": 12720, + "loc": { + "start": { + "line": 329, + "column": 24 + }, + "end": { + "line": 329, + "column": 46 + } + }, + "object": { + "type": "MemberExpression", + "start": 12698, + "end": 12713, + "loc": { + "start": { + "line": 329, + "column": 24 + }, + "end": { + "line": 329, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 12698, + "end": 12706, + "loc": { + "start": { + "line": 329, + "column": 24 + }, + "end": { + "line": 329, + "column": 32 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 12707, + "end": 12713, + "loc": { + "start": { + "line": 329, + "column": 33 + }, + "end": { + "line": 329, + "column": 39 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 12714, + "end": 12720, + "loc": { + "start": { + "line": 329, + "column": 40 + }, + "end": { + "line": 329, + "column": 46 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 12721, + "end": 12723, + "loc": { + "start": { + "line": 329, + "column": 47 + }, + "end": { + "line": 329, + "column": 49 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 12724, + "end": 12731, + "loc": { + "start": { + "line": 329, + "column": 50 + }, + "end": { + "line": 329, + "column": 57 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 12732, + "end": 12735, + "loc": { + "start": { + "line": 329, + "column": 58 + }, + "end": { + "line": 329, + "column": 61 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 12762, + "end": 12769, + "loc": { + "start": { + "line": 330, + "column": 24 + }, + "end": { + "line": 330, + "column": 31 + } + }, + "expression": { + "type": "CallExpression", + "start": 12762, + "end": 12768, + "loc": { + "start": { + "line": 330, + "column": 24 + }, + "end": { + "line": 330, + "column": 30 + } + }, + "callee": { + "type": "Identifier", + "start": 12762, + "end": 12766, + "loc": { + "start": { + "line": 330, + "column": 24 + }, + "end": { + "line": 330, + "column": 28 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [] + } + } + ], + "directives": [] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 12817, + "end": 12890, + "loc": { + "start": { + "line": 332, + "column": 22 + }, + "end": { + "line": 334, + "column": 23 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 12817, + "end": 12823, + "loc": { + "start": { + "line": 332, + "column": 22 + }, + "end": { + "line": 332, + "column": 28 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "BlockStatement", + "start": 12827, + "end": 12890, + "loc": { + "start": { + "line": 332, + "column": 32 + }, + "end": { + "line": 334, + "column": 23 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 12853, + "end": 12866, + "loc": { + "start": { + "line": 333, + "column": 24 + }, + "end": { + "line": 333, + "column": 37 + } + }, + "expression": { + "type": "CallExpression", + "start": 12853, + "end": 12865, + "loc": { + "start": { + "line": 333, + "column": 24 + }, + "end": { + "line": 333, + "column": 36 + } + }, + "callee": { + "type": "Identifier", + "start": 12853, + "end": 12857, + "loc": { + "start": { + "line": 333, + "column": 24 + }, + "end": { + "line": 333, + "column": 28 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [ + { + "type": "Identifier", + "start": 12858, + "end": 12864, + "loc": { + "start": { + "line": 333, + "column": 29 + }, + "end": { + "line": 333, + "column": 35 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 12989, + "end": 13638, + "loc": { + "start": { + "line": 340, + "column": 14 + }, + "end": { + "line": 355, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 12989, + "end": 13637, + "loc": { + "start": { + "line": 340, + "column": 14 + }, + "end": { + "line": 355, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 12989, + "end": 12997, + "loc": { + "start": { + "line": 340, + "column": 14 + }, + "end": { + "line": 340, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 12998, + "end": 13018, + "loc": { + "start": { + "line": 340, + "column": 23 + }, + "end": { + "line": 340, + "column": 43 + } + }, + "extra": { + "rawValue": "#fetchTopTracks(1)", + "raw": "'#fetchTopTracks(1)'" + }, + "value": "#fetchTopTracks(1)" + }, + { + "type": "ArrowFunctionExpression", + "start": 13020, + "end": 13636, + "loc": { + "start": { + "line": 340, + "column": 45 + }, + "end": { + "line": 355, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 13026, + "end": 13636, + "loc": { + "start": { + "line": 340, + "column": 51 + }, + "end": { + "line": 355, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 13044, + "end": 13620, + "loc": { + "start": { + "line": 341, + "column": 16 + }, + "end": { + "line": 354, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 13044, + "end": 13619, + "loc": { + "start": { + "line": 341, + "column": 16 + }, + "end": { + "line": 354, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 13044, + "end": 13046, + "loc": { + "start": { + "line": 341, + "column": 16 + }, + "end": { + "line": 341, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 13047, + "end": 13098, + "loc": { + "start": { + "line": 341, + "column": 19 + }, + "end": { + "line": 341, + "column": 70 + } + }, + "extra": { + "rawValue": "should succeed and fetch next page shuold succeed", + "raw": "'should succeed and fetch next page shuold succeed'" + }, + "value": "should succeed and fetch next page shuold succeed" + }, + { + "type": "ArrowFunctionExpression", + "start": 13100, + "end": 13618, + "loc": { + "start": { + "line": 341, + "column": 72 + }, + "end": { + "line": 354, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 13100, + "end": 13104, + "loc": { + "start": { + "line": 341, + "column": 72 + }, + "end": { + "line": 341, + "column": 76 + }, + "identifierName": "done" + }, + "name": "done" + } + ], + "body": { + "type": "BlockStatement", + "start": 13108, + "end": 13618, + "loc": { + "start": { + "line": 341, + "column": 80 + }, + "end": { + "line": 354, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 13128, + "end": 13600, + "loc": { + "start": { + "line": 342, + "column": 18 + }, + "end": { + "line": 353, + "column": 21 + } + }, + "expression": { + "type": "CallExpression", + "start": 13128, + "end": 13599, + "loc": { + "start": { + "line": 342, + "column": 18 + }, + "end": { + "line": 353, + "column": 20 + } + }, + "callee": { + "type": "MemberExpression", + "start": 13128, + "end": 13164, + "loc": { + "start": { + "line": 342, + "column": 18 + }, + "end": { + "line": 342, + "column": 54 + } + }, + "object": { + "type": "CallExpression", + "start": 13128, + "end": 13159, + "loc": { + "start": { + "line": 342, + "column": 18 + }, + "end": { + "line": 342, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 13128, + "end": 13156, + "loc": { + "start": { + "line": 342, + "column": 18 + }, + "end": { + "line": 342, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 13128, + "end": 13141, + "loc": { + "start": { + "line": 342, + "column": 18 + }, + "end": { + "line": 342, + "column": 31 + }, + "identifierName": "artistFetcher" + }, + "name": "artistFetcher" + }, + "property": { + "type": "Identifier", + "start": 13142, + "end": 13156, + "loc": { + "start": { + "line": 342, + "column": 32 + }, + "end": { + "line": 342, + "column": 46 + }, + "identifierName": "fetchTopTracks" + }, + "name": "fetchTopTracks" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 13157, + "end": 13158, + "loc": { + "start": { + "line": 342, + "column": 47 + }, + "end": { + "line": 342, + "column": 48 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + ] + }, + "property": { + "type": "Identifier", + "start": 13160, + "end": 13164, + "loc": { + "start": { + "line": 342, + "column": 50 + }, + "end": { + "line": 342, + "column": 54 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 13165, + "end": 13598, + "loc": { + "start": { + "line": 342, + "column": 55 + }, + "end": { + "line": 353, + "column": 19 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 13165, + "end": 13173, + "loc": { + "start": { + "line": 342, + "column": 55 + }, + "end": { + "line": 342, + "column": 63 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 13177, + "end": 13598, + "loc": { + "start": { + "line": 342, + "column": 67 + }, + "end": { + "line": 353, + "column": 19 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 13199, + "end": 13238, + "loc": { + "start": { + "line": 343, + "column": 20 + }, + "end": { + "line": 343, + "column": 59 + } + }, + "expression": { + "type": "CallExpression", + "start": 13199, + "end": 13237, + "loc": { + "start": { + "line": 343, + "column": 20 + }, + "end": { + "line": 343, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 13199, + "end": 13232, + "loc": { + "start": { + "line": 343, + "column": 20 + }, + "end": { + "line": 343, + "column": 53 + } + }, + "object": { + "type": "MemberExpression", + "start": 13199, + "end": 13224, + "loc": { + "start": { + "line": 343, + "column": 20 + }, + "end": { + "line": 343, + "column": 45 + } + }, + "object": { + "type": "MemberExpression", + "start": 13199, + "end": 13221, + "loc": { + "start": { + "line": 343, + "column": 20 + }, + "end": { + "line": 343, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 13199, + "end": 13214, + "loc": { + "start": { + "line": 343, + "column": 20 + }, + "end": { + "line": 343, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 13199, + "end": 13207, + "loc": { + "start": { + "line": 343, + "column": 20 + }, + "end": { + "line": 343, + "column": 28 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 13208, + "end": 13214, + "loc": { + "start": { + "line": 343, + "column": 29 + }, + "end": { + "line": 343, + "column": 35 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 13215, + "end": 13221, + "loc": { + "start": { + "line": 343, + "column": 36 + }, + "end": { + "line": 343, + "column": 42 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 13222, + "end": 13224, + "loc": { + "start": { + "line": 343, + "column": 43 + }, + "end": { + "line": 343, + "column": 45 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 13225, + "end": 13232, + "loc": { + "start": { + "line": 343, + "column": 46 + }, + "end": { + "line": 343, + "column": 53 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 13233, + "end": 13236, + "loc": { + "start": { + "line": 343, + "column": 54 + }, + "end": { + "line": 343, + "column": 57 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 13259, + "end": 13578, + "loc": { + "start": { + "line": 344, + "column": 20 + }, + "end": { + "line": 352, + "column": 22 + } + }, + "expression": { + "type": "CallExpression", + "start": 13259, + "end": 13577, + "loc": { + "start": { + "line": 344, + "column": 20 + }, + "end": { + "line": 352, + "column": 21 + } + }, + "callee": { + "type": "MemberExpression", + "start": 13259, + "end": 13301, + "loc": { + "start": { + "line": 344, + "column": 20 + }, + "end": { + "line": 344, + "column": 62 + } + }, + "object": { + "type": "CallExpression", + "start": 13259, + "end": 13296, + "loc": { + "start": { + "line": 344, + "column": 20 + }, + "end": { + "line": 344, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 13259, + "end": 13286, + "loc": { + "start": { + "line": 344, + "column": 20 + }, + "end": { + "line": 344, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 13259, + "end": 13272, + "loc": { + "start": { + "line": 344, + "column": 20 + }, + "end": { + "line": 344, + "column": 33 + }, + "identifierName": "artistFetcher" + }, + "name": "artistFetcher" + }, + "property": { + "type": "Identifier", + "start": 13273, + "end": 13286, + "loc": { + "start": { + "line": 344, + "column": 34 + }, + "end": { + "line": 344, + "column": 47 + }, + "identifierName": "fetchNextPage" + }, + "name": "fetchNextPage" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 13287, + "end": 13295, + "loc": { + "start": { + "line": 344, + "column": 48 + }, + "end": { + "line": 344, + "column": 56 + }, + "identifierName": "response" + }, + "name": "response" + } + ] + }, + "property": { + "type": "Identifier", + "start": 13297, + "end": 13301, + "loc": { + "start": { + "line": 344, + "column": 58 + }, + "end": { + "line": 344, + "column": 62 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 13325, + "end": 13458, + "loc": { + "start": { + "line": 345, + "column": 22 + }, + "end": { + "line": 348, + "column": 23 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 13325, + "end": 13333, + "loc": { + "start": { + "line": 345, + "column": 22 + }, + "end": { + "line": 345, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 13337, + "end": 13458, + "loc": { + "start": { + "line": 345, + "column": 34 + }, + "end": { + "line": 348, + "column": 23 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 13363, + "end": 13402, + "loc": { + "start": { + "line": 346, + "column": 24 + }, + "end": { + "line": 346, + "column": 63 + } + }, + "expression": { + "type": "CallExpression", + "start": 13363, + "end": 13401, + "loc": { + "start": { + "line": 346, + "column": 24 + }, + "end": { + "line": 346, + "column": 62 + } + }, + "callee": { + "type": "MemberExpression", + "start": 13363, + "end": 13396, + "loc": { + "start": { + "line": 346, + "column": 24 + }, + "end": { + "line": 346, + "column": 57 + } + }, + "object": { + "type": "MemberExpression", + "start": 13363, + "end": 13388, + "loc": { + "start": { + "line": 346, + "column": 24 + }, + "end": { + "line": 346, + "column": 49 + } + }, + "object": { + "type": "MemberExpression", + "start": 13363, + "end": 13385, + "loc": { + "start": { + "line": 346, + "column": 24 + }, + "end": { + "line": 346, + "column": 46 + } + }, + "object": { + "type": "MemberExpression", + "start": 13363, + "end": 13378, + "loc": { + "start": { + "line": 346, + "column": 24 + }, + "end": { + "line": 346, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 13363, + "end": 13371, + "loc": { + "start": { + "line": 346, + "column": 24 + }, + "end": { + "line": 346, + "column": 32 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 13372, + "end": 13378, + "loc": { + "start": { + "line": 346, + "column": 33 + }, + "end": { + "line": 346, + "column": 39 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 13379, + "end": 13385, + "loc": { + "start": { + "line": 346, + "column": 40 + }, + "end": { + "line": 346, + "column": 46 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 13386, + "end": 13388, + "loc": { + "start": { + "line": 346, + "column": 47 + }, + "end": { + "line": 346, + "column": 49 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 13389, + "end": 13396, + "loc": { + "start": { + "line": 346, + "column": 50 + }, + "end": { + "line": 346, + "column": 57 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 13397, + "end": 13400, + "loc": { + "start": { + "line": 346, + "column": 58 + }, + "end": { + "line": 346, + "column": 61 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 13427, + "end": 13434, + "loc": { + "start": { + "line": 347, + "column": 24 + }, + "end": { + "line": 347, + "column": 31 + } + }, + "expression": { + "type": "CallExpression", + "start": 13427, + "end": 13433, + "loc": { + "start": { + "line": 347, + "column": 24 + }, + "end": { + "line": 347, + "column": 30 + } + }, + "callee": { + "type": "Identifier", + "start": 13427, + "end": 13431, + "loc": { + "start": { + "line": 347, + "column": 24 + }, + "end": { + "line": 347, + "column": 28 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [] + } + } + ], + "directives": [] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 13482, + "end": 13555, + "loc": { + "start": { + "line": 349, + "column": 22 + }, + "end": { + "line": 351, + "column": 23 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 13482, + "end": 13488, + "loc": { + "start": { + "line": 349, + "column": 22 + }, + "end": { + "line": 349, + "column": 28 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "BlockStatement", + "start": 13492, + "end": 13555, + "loc": { + "start": { + "line": 349, + "column": 32 + }, + "end": { + "line": 351, + "column": 23 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 13518, + "end": 13531, + "loc": { + "start": { + "line": 350, + "column": 24 + }, + "end": { + "line": 350, + "column": 37 + } + }, + "expression": { + "type": "CallExpression", + "start": 13518, + "end": 13530, + "loc": { + "start": { + "line": 350, + "column": 24 + }, + "end": { + "line": 350, + "column": 36 + } + }, + "callee": { + "type": "Identifier", + "start": 13518, + "end": 13522, + "loc": { + "start": { + "line": 350, + "column": 24 + }, + "end": { + "line": 350, + "column": 28 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [ + { + "type": "Identifier", + "start": 13523, + "end": 13529, + "loc": { + "start": { + "line": 350, + "column": 29 + }, + "end": { + "line": 350, + "column": 35 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 13668, + "end": 14587, + "loc": { + "start": { + "line": 358, + "column": 12 + }, + "end": { + "line": 380, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 13668, + "end": 14586, + "loc": { + "start": { + "line": 358, + "column": 12 + }, + "end": { + "line": 380, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 13668, + "end": 13676, + "loc": { + "start": { + "line": 358, + "column": 12 + }, + "end": { + "line": 358, + "column": 20 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 13677, + "end": 13697, + "loc": { + "start": { + "line": 358, + "column": 21 + }, + "end": { + "line": 358, + "column": 41 + } + }, + "extra": { + "rawValue": "Featured Playlists", + "raw": "'Featured Playlists'" + }, + "value": "Featured Playlists" + }, + { + "type": "ArrowFunctionExpression", + "start": 13699, + "end": 14585, + "loc": { + "start": { + "line": 358, + "column": 43 + }, + "end": { + "line": 380, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 13705, + "end": 14585, + "loc": { + "start": { + "line": 358, + "column": 49 + }, + "end": { + "line": 380, + "column": 13 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 13721, + "end": 13825, + "loc": { + "start": { + "line": 359, + "column": 14 + }, + "end": { + "line": 361, + "column": 16 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 13727, + "end": 13824, + "loc": { + "start": { + "line": 359, + "column": 20 + }, + "end": { + "line": 361, + "column": 15 + } + }, + "id": { + "type": "Identifier", + "start": 13727, + "end": 13750, + "loc": { + "start": { + "line": 359, + "column": 20 + }, + "end": { + "line": 359, + "column": 43 + }, + "identifierName": "featuredPlaylistFetcher" + }, + "name": "featuredPlaylistFetcher" + }, + "init": { + "type": "NewExpression", + "start": 13753, + "end": 13824, + "loc": { + "start": { + "line": 359, + "column": 46 + }, + "end": { + "line": 361, + "column": 15 + } + }, + "callee": { + "type": "Identifier", + "start": 13757, + "end": 13780, + "loc": { + "start": { + "line": 359, + "column": 50 + }, + "end": { + "line": 359, + "column": 73 + }, + "identifierName": "FeaturedPlaylistFetcher" + }, + "name": "FeaturedPlaylistFetcher" + }, + "arguments": [ + { + "type": "Identifier", + "start": 13798, + "end": 13808, + "loc": { + "start": { + "line": 360, + "column": 16 + }, + "end": { + "line": 360, + "column": 26 + }, + "identifierName": "httpClient" + }, + "name": "httpClient" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 13840, + "end": 14571, + "loc": { + "start": { + "line": 362, + "column": 14 + }, + "end": { + "line": 379, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 13840, + "end": 14570, + "loc": { + "start": { + "line": 362, + "column": 14 + }, + "end": { + "line": 379, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 13840, + "end": 13848, + "loc": { + "start": { + "line": 362, + "column": 14 + }, + "end": { + "line": 362, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 13849, + "end": 13879, + "loc": { + "start": { + "line": 362, + "column": 23 + }, + "end": { + "line": 362, + "column": 53 + } + }, + "extra": { + "rawValue": "#fetchAllFeaturedPlaylists()", + "raw": "'#fetchAllFeaturedPlaylists()'" + }, + "value": "#fetchAllFeaturedPlaylists()" + }, + { + "type": "ArrowFunctionExpression", + "start": 13881, + "end": 14569, + "loc": { + "start": { + "line": 362, + "column": 55 + }, + "end": { + "line": 379, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 13887, + "end": 14569, + "loc": { + "start": { + "line": 362, + "column": 61 + }, + "end": { + "line": 379, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 13905, + "end": 14553, + "loc": { + "start": { + "line": 363, + "column": 16 + }, + "end": { + "line": 378, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 13905, + "end": 14552, + "loc": { + "start": { + "line": 363, + "column": 16 + }, + "end": { + "line": 378, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 13905, + "end": 13907, + "loc": { + "start": { + "line": 363, + "column": 16 + }, + "end": { + "line": 363, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 13908, + "end": 13936, + "loc": { + "start": { + "line": 363, + "column": 19 + }, + "end": { + "line": 363, + "column": 47 + } + }, + "extra": { + "rawValue": "should response status 200", + "raw": "'should response status 200'" + }, + "value": "should response status 200" + }, + { + "type": "ArrowFunctionExpression", + "start": 13938, + "end": 14551, + "loc": { + "start": { + "line": 363, + "column": 49 + }, + "end": { + "line": 378, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 13938, + "end": 13942, + "loc": { + "start": { + "line": 363, + "column": 49 + }, + "end": { + "line": 363, + "column": 53 + }, + "identifierName": "done" + }, + "name": "done" + } + ], + "body": { + "type": "BlockStatement", + "start": 13946, + "end": 14551, + "loc": { + "start": { + "line": 363, + "column": 57 + }, + "end": { + "line": 378, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 13966, + "end": 14533, + "loc": { + "start": { + "line": 364, + "column": 18 + }, + "end": { + "line": 377, + "column": 23 + } + }, + "expression": { + "type": "CallExpression", + "start": 13966, + "end": 14532, + "loc": { + "start": { + "line": 364, + "column": 18 + }, + "end": { + "line": 377, + "column": 22 + } + }, + "callee": { + "type": "MemberExpression", + "start": 13966, + "end": 14065, + "loc": { + "start": { + "line": 364, + "column": 18 + }, + "end": { + "line": 366, + "column": 25 + } + }, + "object": { + "type": "CallExpression", + "start": 13966, + "end": 14039, + "loc": { + "start": { + "line": 364, + "column": 18 + }, + "end": { + "line": 365, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 13966, + "end": 14036, + "loc": { + "start": { + "line": 364, + "column": 18 + }, + "end": { + "line": 365, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 13966, + "end": 13989, + "loc": { + "start": { + "line": 364, + "column": 18 + }, + "end": { + "line": 364, + "column": 41 + }, + "identifierName": "featuredPlaylistFetcher" + }, + "name": "featuredPlaylistFetcher" + }, + "property": { + "type": "Identifier", + "start": 14011, + "end": 14036, + "loc": { + "start": { + "line": 365, + "column": 21 + }, + "end": { + "line": 365, + "column": 46 + }, + "identifierName": "fetchAllFeaturedPlaylists" + }, + "name": "fetchAllFeaturedPlaylists" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 14037, + "end": 14038, + "loc": { + "start": { + "line": 365, + "column": 47 + }, + "end": { + "line": 365, + "column": 48 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + ] + }, + "property": { + "type": "Identifier", + "start": 14061, + "end": 14065, + "loc": { + "start": { + "line": 366, + "column": 21 + }, + "end": { + "line": 366, + "column": 25 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 14066, + "end": 14531, + "loc": { + "start": { + "line": 366, + "column": 26 + }, + "end": { + "line": 377, + "column": 21 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 14066, + "end": 14074, + "loc": { + "start": { + "line": 366, + "column": 26 + }, + "end": { + "line": 366, + "column": 34 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 14078, + "end": 14531, + "loc": { + "start": { + "line": 366, + "column": 38 + }, + "end": { + "line": 377, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 14102, + "end": 14141, + "loc": { + "start": { + "line": 367, + "column": 22 + }, + "end": { + "line": 367, + "column": 61 + } + }, + "expression": { + "type": "CallExpression", + "start": 14102, + "end": 14140, + "loc": { + "start": { + "line": 367, + "column": 22 + }, + "end": { + "line": 367, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 14102, + "end": 14135, + "loc": { + "start": { + "line": 367, + "column": 22 + }, + "end": { + "line": 367, + "column": 55 + } + }, + "object": { + "type": "MemberExpression", + "start": 14102, + "end": 14127, + "loc": { + "start": { + "line": 367, + "column": 22 + }, + "end": { + "line": 367, + "column": 47 + } + }, + "object": { + "type": "MemberExpression", + "start": 14102, + "end": 14124, + "loc": { + "start": { + "line": 367, + "column": 22 + }, + "end": { + "line": 367, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 14102, + "end": 14117, + "loc": { + "start": { + "line": 367, + "column": 22 + }, + "end": { + "line": 367, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 14102, + "end": 14110, + "loc": { + "start": { + "line": 367, + "column": 22 + }, + "end": { + "line": 367, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 14111, + "end": 14117, + "loc": { + "start": { + "line": 367, + "column": 31 + }, + "end": { + "line": 367, + "column": 37 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 14118, + "end": 14124, + "loc": { + "start": { + "line": 367, + "column": 38 + }, + "end": { + "line": 367, + "column": 44 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 14125, + "end": 14127, + "loc": { + "start": { + "line": 367, + "column": 45 + }, + "end": { + "line": 367, + "column": 47 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 14128, + "end": 14135, + "loc": { + "start": { + "line": 367, + "column": 48 + }, + "end": { + "line": 367, + "column": 55 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 14136, + "end": 14139, + "loc": { + "start": { + "line": 367, + "column": 56 + }, + "end": { + "line": 367, + "column": 59 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 14164, + "end": 14509, + "loc": { + "start": { + "line": 368, + "column": 22 + }, + "end": { + "line": 376, + "column": 24 + } + }, + "expression": { + "type": "CallExpression", + "start": 14164, + "end": 14508, + "loc": { + "start": { + "line": 368, + "column": 22 + }, + "end": { + "line": 376, + "column": 23 + } + }, + "callee": { + "type": "MemberExpression", + "start": 14164, + "end": 14216, + "loc": { + "start": { + "line": 368, + "column": 22 + }, + "end": { + "line": 368, + "column": 74 + } + }, + "object": { + "type": "CallExpression", + "start": 14164, + "end": 14211, + "loc": { + "start": { + "line": 368, + "column": 22 + }, + "end": { + "line": 368, + "column": 69 + } + }, + "callee": { + "type": "MemberExpression", + "start": 14164, + "end": 14201, + "loc": { + "start": { + "line": 368, + "column": 22 + }, + "end": { + "line": 368, + "column": 59 + } + }, + "object": { + "type": "Identifier", + "start": 14164, + "end": 14187, + "loc": { + "start": { + "line": 368, + "column": 22 + }, + "end": { + "line": 368, + "column": 45 + }, + "identifierName": "featuredPlaylistFetcher" + }, + "name": "featuredPlaylistFetcher" + }, + "property": { + "type": "Identifier", + "start": 14188, + "end": 14201, + "loc": { + "start": { + "line": 368, + "column": 46 + }, + "end": { + "line": 368, + "column": 59 + }, + "identifierName": "fetchNextPage" + }, + "name": "fetchNextPage" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 14202, + "end": 14210, + "loc": { + "start": { + "line": 368, + "column": 60 + }, + "end": { + "line": 368, + "column": 68 + }, + "identifierName": "response" + }, + "name": "response" + } + ] + }, + "property": { + "type": "Identifier", + "start": 14212, + "end": 14216, + "loc": { + "start": { + "line": 368, + "column": 70 + }, + "end": { + "line": 368, + "column": 74 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 14242, + "end": 14381, + "loc": { + "start": { + "line": 369, + "column": 24 + }, + "end": { + "line": 372, + "column": 25 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 14242, + "end": 14250, + "loc": { + "start": { + "line": 369, + "column": 24 + }, + "end": { + "line": 369, + "column": 32 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 14254, + "end": 14381, + "loc": { + "start": { + "line": 369, + "column": 36 + }, + "end": { + "line": 372, + "column": 25 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 14282, + "end": 14321, + "loc": { + "start": { + "line": 370, + "column": 26 + }, + "end": { + "line": 370, + "column": 65 + } + }, + "expression": { + "type": "CallExpression", + "start": 14282, + "end": 14320, + "loc": { + "start": { + "line": 370, + "column": 26 + }, + "end": { + "line": 370, + "column": 64 + } + }, + "callee": { + "type": "MemberExpression", + "start": 14282, + "end": 14315, + "loc": { + "start": { + "line": 370, + "column": 26 + }, + "end": { + "line": 370, + "column": 59 + } + }, + "object": { + "type": "MemberExpression", + "start": 14282, + "end": 14307, + "loc": { + "start": { + "line": 370, + "column": 26 + }, + "end": { + "line": 370, + "column": 51 + } + }, + "object": { + "type": "MemberExpression", + "start": 14282, + "end": 14304, + "loc": { + "start": { + "line": 370, + "column": 26 + }, + "end": { + "line": 370, + "column": 48 + } + }, + "object": { + "type": "MemberExpression", + "start": 14282, + "end": 14297, + "loc": { + "start": { + "line": 370, + "column": 26 + }, + "end": { + "line": 370, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 14282, + "end": 14290, + "loc": { + "start": { + "line": 370, + "column": 26 + }, + "end": { + "line": 370, + "column": 34 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 14291, + "end": 14297, + "loc": { + "start": { + "line": 370, + "column": 35 + }, + "end": { + "line": 370, + "column": 41 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 14298, + "end": 14304, + "loc": { + "start": { + "line": 370, + "column": 42 + }, + "end": { + "line": 370, + "column": 48 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 14305, + "end": 14307, + "loc": { + "start": { + "line": 370, + "column": 49 + }, + "end": { + "line": 370, + "column": 51 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 14308, + "end": 14315, + "loc": { + "start": { + "line": 370, + "column": 52 + }, + "end": { + "line": 370, + "column": 59 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 14316, + "end": 14319, + "loc": { + "start": { + "line": 370, + "column": 60 + }, + "end": { + "line": 370, + "column": 63 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 14348, + "end": 14355, + "loc": { + "start": { + "line": 371, + "column": 26 + }, + "end": { + "line": 371, + "column": 33 + } + }, + "expression": { + "type": "CallExpression", + "start": 14348, + "end": 14354, + "loc": { + "start": { + "line": 371, + "column": 26 + }, + "end": { + "line": 371, + "column": 32 + } + }, + "callee": { + "type": "Identifier", + "start": 14348, + "end": 14352, + "loc": { + "start": { + "line": 371, + "column": 26 + }, + "end": { + "line": 371, + "column": 30 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [] + } + } + ], + "directives": [] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 14407, + "end": 14484, + "loc": { + "start": { + "line": 373, + "column": 24 + }, + "end": { + "line": 375, + "column": 25 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 14407, + "end": 14413, + "loc": { + "start": { + "line": 373, + "column": 24 + }, + "end": { + "line": 373, + "column": 30 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "BlockStatement", + "start": 14417, + "end": 14484, + "loc": { + "start": { + "line": 373, + "column": 34 + }, + "end": { + "line": 375, + "column": 25 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 14445, + "end": 14458, + "loc": { + "start": { + "line": 374, + "column": 26 + }, + "end": { + "line": 374, + "column": 39 + } + }, + "expression": { + "type": "CallExpression", + "start": 14445, + "end": 14457, + "loc": { + "start": { + "line": 374, + "column": 26 + }, + "end": { + "line": 374, + "column": 38 + } + }, + "callee": { + "type": "Identifier", + "start": 14445, + "end": 14449, + "loc": { + "start": { + "line": 374, + "column": 26 + }, + "end": { + "line": 374, + "column": 30 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [ + { + "type": "Identifier", + "start": 14450, + "end": 14456, + "loc": { + "start": { + "line": 374, + "column": 31 + }, + "end": { + "line": 374, + "column": 37 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 14601, + "end": 16405, + "loc": { + "start": { + "line": 382, + "column": 12 + }, + "end": { + "line": 427, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 14601, + "end": 16404, + "loc": { + "start": { + "line": 382, + "column": 12 + }, + "end": { + "line": 427, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 14601, + "end": 14609, + "loc": { + "start": { + "line": 382, + "column": 12 + }, + "end": { + "line": 382, + "column": 20 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 14610, + "end": 14638, + "loc": { + "start": { + "line": 382, + "column": 21 + }, + "end": { + "line": 382, + "column": 49 + } + }, + "extra": { + "rawValue": "Featured Playlist Category", + "raw": "'Featured Playlist Category'" + }, + "value": "Featured Playlist Category" + }, + { + "type": "ArrowFunctionExpression", + "start": 14640, + "end": 16403, + "loc": { + "start": { + "line": 382, + "column": 51 + }, + "end": { + "line": 427, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 14646, + "end": 16403, + "loc": { + "start": { + "line": 382, + "column": 57 + }, + "end": { + "line": 427, + "column": 13 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 14662, + "end": 14782, + "loc": { + "start": { + "line": 383, + "column": 14 + }, + "end": { + "line": 385, + "column": 16 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 14668, + "end": 14781, + "loc": { + "start": { + "line": 383, + "column": 20 + }, + "end": { + "line": 385, + "column": 15 + } + }, + "id": { + "type": "Identifier", + "start": 14668, + "end": 14699, + "loc": { + "start": { + "line": 383, + "column": 20 + }, + "end": { + "line": 383, + "column": 51 + }, + "identifierName": "featuredPlaylistCategoryFetcher" + }, + "name": "featuredPlaylistCategoryFetcher" + }, + "init": { + "type": "NewExpression", + "start": 14702, + "end": 14781, + "loc": { + "start": { + "line": 383, + "column": 54 + }, + "end": { + "line": 385, + "column": 15 + } + }, + "callee": { + "type": "Identifier", + "start": 14706, + "end": 14737, + "loc": { + "start": { + "line": 383, + "column": 58 + }, + "end": { + "line": 383, + "column": 89 + }, + "identifierName": "FeaturedPlaylistCategoryFetcher" + }, + "name": "FeaturedPlaylistCategoryFetcher" + }, + "arguments": [ + { + "type": "Identifier", + "start": 14755, + "end": 14765, + "loc": { + "start": { + "line": 384, + "column": 16 + }, + "end": { + "line": 384, + "column": 26 + }, + "identifierName": "httpClient" + }, + "name": "httpClient" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 14797, + "end": 15220, + "loc": { + "start": { + "line": 386, + "column": 14 + }, + "end": { + "line": 395, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 14797, + "end": 15219, + "loc": { + "start": { + "line": 386, + "column": 14 + }, + "end": { + "line": 395, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 14797, + "end": 14805, + "loc": { + "start": { + "line": 386, + "column": 14 + }, + "end": { + "line": 386, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 14806, + "end": 14819, + "loc": { + "start": { + "line": 386, + "column": 23 + }, + "end": { + "line": 386, + "column": 36 + } + }, + "extra": { + "rawValue": "#fetchAll()", + "raw": "'#fetchAll()'" + }, + "value": "#fetchAll()" + }, + { + "type": "ArrowFunctionExpression", + "start": 14821, + "end": 15218, + "loc": { + "start": { + "line": 386, + "column": 38 + }, + "end": { + "line": 395, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 14827, + "end": 15218, + "loc": { + "start": { + "line": 386, + "column": 44 + }, + "end": { + "line": 395, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 14845, + "end": 15202, + "loc": { + "start": { + "line": 387, + "column": 16 + }, + "end": { + "line": 394, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 14845, + "end": 15201, + "loc": { + "start": { + "line": 387, + "column": 16 + }, + "end": { + "line": 394, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 14845, + "end": 14847, + "loc": { + "start": { + "line": 387, + "column": 16 + }, + "end": { + "line": 387, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 14848, + "end": 14876, + "loc": { + "start": { + "line": 387, + "column": 19 + }, + "end": { + "line": 387, + "column": 47 + } + }, + "extra": { + "rawValue": "should response status 200", + "raw": "'should response status 200'" + }, + "value": "should response status 200" + }, + { + "type": "ArrowFunctionExpression", + "start": 14878, + "end": 15200, + "loc": { + "start": { + "line": 387, + "column": 49 + }, + "end": { + "line": 394, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 14884, + "end": 15200, + "loc": { + "start": { + "line": 387, + "column": 55 + }, + "end": { + "line": 394, + "column": 17 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 14904, + "end": 15182, + "loc": { + "start": { + "line": 388, + "column": 18 + }, + "end": { + "line": 393, + "column": 22 + } + }, + "argument": { + "type": "CallExpression", + "start": 14911, + "end": 15181, + "loc": { + "start": { + "line": 388, + "column": 25 + }, + "end": { + "line": 393, + "column": 21 + } + }, + "callee": { + "type": "MemberExpression", + "start": 14911, + "end": 15026, + "loc": { + "start": { + "line": 388, + "column": 25 + }, + "end": { + "line": 390, + "column": 25 + } + }, + "object": { + "type": "CallExpression", + "start": 14911, + "end": 15000, + "loc": { + "start": { + "line": 388, + "column": 25 + }, + "end": { + "line": 389, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 14911, + "end": 14998, + "loc": { + "start": { + "line": 388, + "column": 25 + }, + "end": { + "line": 389, + "column": 55 + } + }, + "object": { + "type": "Identifier", + "start": 14911, + "end": 14942, + "loc": { + "start": { + "line": 388, + "column": 25 + }, + "end": { + "line": 388, + "column": 56 + }, + "identifierName": "featuredPlaylistCategoryFetcher" + }, + "name": "featuredPlaylistCategoryFetcher" + }, + "property": { + "type": "Identifier", + "start": 14964, + "end": 14998, + "loc": { + "start": { + "line": 389, + "column": 21 + }, + "end": { + "line": 389, + "column": 55 + }, + "identifierName": "fetchAllFeaturedPlaylistCategories" + }, + "name": "fetchAllFeaturedPlaylistCategories" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 15022, + "end": 15026, + "loc": { + "start": { + "line": 390, + "column": 21 + }, + "end": { + "line": 390, + "column": 25 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 15050, + "end": 15100, + "loc": { + "start": { + "line": 391, + "column": 22 + }, + "end": { + "line": 391, + "column": 72 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 15050, + "end": 15058, + "loc": { + "start": { + "line": 391, + "column": 22 + }, + "end": { + "line": 391, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "CallExpression", + "start": 15062, + "end": 15100, + "loc": { + "start": { + "line": 391, + "column": 34 + }, + "end": { + "line": 391, + "column": 72 + } + }, + "callee": { + "type": "MemberExpression", + "start": 15062, + "end": 15095, + "loc": { + "start": { + "line": 391, + "column": 34 + }, + "end": { + "line": 391, + "column": 67 + } + }, + "object": { + "type": "MemberExpression", + "start": 15062, + "end": 15087, + "loc": { + "start": { + "line": 391, + "column": 34 + }, + "end": { + "line": 391, + "column": 59 + } + }, + "object": { + "type": "MemberExpression", + "start": 15062, + "end": 15084, + "loc": { + "start": { + "line": 391, + "column": 34 + }, + "end": { + "line": 391, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 15062, + "end": 15077, + "loc": { + "start": { + "line": 391, + "column": 34 + }, + "end": { + "line": 391, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 15062, + "end": 15070, + "loc": { + "start": { + "line": 391, + "column": 34 + }, + "end": { + "line": 391, + "column": 42 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 15071, + "end": 15077, + "loc": { + "start": { + "line": 391, + "column": 43 + }, + "end": { + "line": 391, + "column": 49 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 15078, + "end": 15084, + "loc": { + "start": { + "line": 391, + "column": 50 + }, + "end": { + "line": 391, + "column": 56 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 15085, + "end": 15087, + "loc": { + "start": { + "line": 391, + "column": 57 + }, + "end": { + "line": 391, + "column": 59 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 15088, + "end": 15095, + "loc": { + "start": { + "line": 391, + "column": 60 + }, + "end": { + "line": 391, + "column": 67 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 15096, + "end": 15099, + "loc": { + "start": { + "line": 391, + "column": 68 + }, + "end": { + "line": 391, + "column": 71 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 15124, + "end": 15159, + "loc": { + "start": { + "line": 392, + "column": 22 + }, + "end": { + "line": 392, + "column": 57 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 15124, + "end": 15130, + "loc": { + "start": { + "line": 392, + "column": 22 + }, + "end": { + "line": 392, + "column": 28 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "CallExpression", + "start": 15134, + "end": 15159, + "loc": { + "start": { + "line": 392, + "column": 32 + }, + "end": { + "line": 392, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 15134, + "end": 15151, + "loc": { + "start": { + "line": 392, + "column": 32 + }, + "end": { + "line": 392, + "column": 49 + } + }, + "object": { + "type": "MemberExpression", + "start": 15134, + "end": 15144, + "loc": { + "start": { + "line": 392, + "column": 32 + }, + "end": { + "line": 392, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 15134, + "end": 15140, + "loc": { + "start": { + "line": 392, + "column": 32 + }, + "end": { + "line": 392, + "column": 38 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 15141, + "end": 15144, + "loc": { + "start": { + "line": 392, + "column": 39 + }, + "end": { + "line": 392, + "column": 42 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 15145, + "end": 15151, + "loc": { + "start": { + "line": 392, + "column": 43 + }, + "end": { + "line": 392, + "column": 49 + }, + "identifierName": "exists" + }, + "name": "exists" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 15152, + "end": 15158, + "loc": { + "start": { + "line": 392, + "column": 50 + }, + "end": { + "line": 392, + "column": 56 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "VariableDeclaration", + "start": 15236, + "end": 15346, + "loc": { + "start": { + "line": 397, + "column": 14 + }, + "end": { + "line": 399, + "column": 16 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 15242, + "end": 15345, + "loc": { + "start": { + "line": 397, + "column": 20 + }, + "end": { + "line": 399, + "column": 15 + } + }, + "id": { + "type": "Identifier", + "start": 15242, + "end": 15243, + "loc": { + "start": { + "line": 397, + "column": 20 + }, + "end": { + "line": 397, + "column": 21 + }, + "identifierName": "f" + }, + "name": "f" + }, + "init": { + "type": "CallExpression", + "start": 15246, + "end": 15345, + "loc": { + "start": { + "line": 397, + "column": 24 + }, + "end": { + "line": 399, + "column": 15 + } + }, + "callee": { + "type": "MemberExpression", + "start": 15246, + "end": 15291, + "loc": { + "start": { + "line": 397, + "column": 24 + }, + "end": { + "line": 397, + "column": 69 + } + }, + "object": { + "type": "Identifier", + "start": 15246, + "end": 15277, + "loc": { + "start": { + "line": 397, + "column": 24 + }, + "end": { + "line": 397, + "column": 55 + }, + "identifierName": "featuredPlaylistCategoryFetcher" + }, + "name": "featuredPlaylistCategoryFetcher" + }, + "property": { + "type": "Identifier", + "start": 15278, + "end": 15291, + "loc": { + "start": { + "line": 397, + "column": 56 + }, + "end": { + "line": 397, + "column": 69 + }, + "identifierName": "setCategoryID" + }, + "name": "setCategoryID" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 15309, + "end": 15329, + "loc": { + "start": { + "line": 398, + "column": 16 + }, + "end": { + "line": 398, + "column": 36 + } + }, + "extra": { + "rawValue": "LXUR688EBKRRZydAWb", + "raw": "'LXUR688EBKRRZydAWb'" + }, + "value": "LXUR688EBKRRZydAWb" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 15361, + "end": 15738, + "loc": { + "start": { + "line": 400, + "column": 14 + }, + "end": { + "line": 409, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 15361, + "end": 15737, + "loc": { + "start": { + "line": 400, + "column": 14 + }, + "end": { + "line": 409, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 15361, + "end": 15369, + "loc": { + "start": { + "line": 400, + "column": 14 + }, + "end": { + "line": 400, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 15370, + "end": 15388, + "loc": { + "start": { + "line": 400, + "column": 23 + }, + "end": { + "line": 400, + "column": 41 + } + }, + "extra": { + "rawValue": "#fetchMetadata()", + "raw": "'#fetchMetadata()'" + }, + "value": "#fetchMetadata()" + }, + { + "type": "ArrowFunctionExpression", + "start": 15390, + "end": 15736, + "loc": { + "start": { + "line": 400, + "column": 43 + }, + "end": { + "line": 409, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 15396, + "end": 15736, + "loc": { + "start": { + "line": 400, + "column": 49 + }, + "end": { + "line": 409, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 15414, + "end": 15720, + "loc": { + "start": { + "line": 401, + "column": 16 + }, + "end": { + "line": 408, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 15414, + "end": 15719, + "loc": { + "start": { + "line": 401, + "column": 16 + }, + "end": { + "line": 408, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 15414, + "end": 15416, + "loc": { + "start": { + "line": 401, + "column": 16 + }, + "end": { + "line": 401, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 15417, + "end": 15445, + "loc": { + "start": { + "line": 401, + "column": 19 + }, + "end": { + "line": 401, + "column": 47 + } + }, + "extra": { + "rawValue": "should response status 200", + "raw": "'should response status 200'" + }, + "value": "should response status 200" + }, + { + "type": "ArrowFunctionExpression", + "start": 15447, + "end": 15718, + "loc": { + "start": { + "line": 401, + "column": 49 + }, + "end": { + "line": 408, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 15453, + "end": 15718, + "loc": { + "start": { + "line": 401, + "column": 55 + }, + "end": { + "line": 408, + "column": 17 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 15473, + "end": 15700, + "loc": { + "start": { + "line": 402, + "column": 18 + }, + "end": { + "line": 407, + "column": 22 + } + }, + "argument": { + "type": "CallExpression", + "start": 15480, + "end": 15699, + "loc": { + "start": { + "line": 402, + "column": 25 + }, + "end": { + "line": 407, + "column": 21 + } + }, + "callee": { + "type": "MemberExpression", + "start": 15480, + "end": 15544, + "loc": { + "start": { + "line": 402, + "column": 25 + }, + "end": { + "line": 404, + "column": 25 + } + }, + "object": { + "type": "CallExpression", + "start": 15480, + "end": 15518, + "loc": { + "start": { + "line": 402, + "column": 25 + }, + "end": { + "line": 403, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 15480, + "end": 15516, + "loc": { + "start": { + "line": 402, + "column": 25 + }, + "end": { + "line": 403, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 15480, + "end": 15481, + "loc": { + "start": { + "line": 402, + "column": 25 + }, + "end": { + "line": 402, + "column": 26 + }, + "identifierName": "f" + }, + "name": "f" + }, + "property": { + "type": "Identifier", + "start": 15503, + "end": 15516, + "loc": { + "start": { + "line": 403, + "column": 21 + }, + "end": { + "line": 403, + "column": 34 + }, + "identifierName": "fetchMetadata" + }, + "name": "fetchMetadata" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 15540, + "end": 15544, + "loc": { + "start": { + "line": 404, + "column": 21 + }, + "end": { + "line": 404, + "column": 25 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 15568, + "end": 15618, + "loc": { + "start": { + "line": 405, + "column": 22 + }, + "end": { + "line": 405, + "column": 72 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 15568, + "end": 15576, + "loc": { + "start": { + "line": 405, + "column": 22 + }, + "end": { + "line": 405, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "CallExpression", + "start": 15580, + "end": 15618, + "loc": { + "start": { + "line": 405, + "column": 34 + }, + "end": { + "line": 405, + "column": 72 + } + }, + "callee": { + "type": "MemberExpression", + "start": 15580, + "end": 15613, + "loc": { + "start": { + "line": 405, + "column": 34 + }, + "end": { + "line": 405, + "column": 67 + } + }, + "object": { + "type": "MemberExpression", + "start": 15580, + "end": 15605, + "loc": { + "start": { + "line": 405, + "column": 34 + }, + "end": { + "line": 405, + "column": 59 + } + }, + "object": { + "type": "MemberExpression", + "start": 15580, + "end": 15602, + "loc": { + "start": { + "line": 405, + "column": 34 + }, + "end": { + "line": 405, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 15580, + "end": 15595, + "loc": { + "start": { + "line": 405, + "column": 34 + }, + "end": { + "line": 405, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 15580, + "end": 15588, + "loc": { + "start": { + "line": 405, + "column": 34 + }, + "end": { + "line": 405, + "column": 42 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 15589, + "end": 15595, + "loc": { + "start": { + "line": 405, + "column": 43 + }, + "end": { + "line": 405, + "column": 49 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 15596, + "end": 15602, + "loc": { + "start": { + "line": 405, + "column": 50 + }, + "end": { + "line": 405, + "column": 56 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 15603, + "end": 15605, + "loc": { + "start": { + "line": 405, + "column": 57 + }, + "end": { + "line": 405, + "column": 59 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 15606, + "end": 15613, + "loc": { + "start": { + "line": 405, + "column": 60 + }, + "end": { + "line": 405, + "column": 67 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 15614, + "end": 15617, + "loc": { + "start": { + "line": 405, + "column": 68 + }, + "end": { + "line": 405, + "column": 71 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 15642, + "end": 15677, + "loc": { + "start": { + "line": 406, + "column": 22 + }, + "end": { + "line": 406, + "column": 57 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 15642, + "end": 15648, + "loc": { + "start": { + "line": 406, + "column": 22 + }, + "end": { + "line": 406, + "column": 28 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "CallExpression", + "start": 15652, + "end": 15677, + "loc": { + "start": { + "line": 406, + "column": 32 + }, + "end": { + "line": 406, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 15652, + "end": 15669, + "loc": { + "start": { + "line": 406, + "column": 32 + }, + "end": { + "line": 406, + "column": 49 + } + }, + "object": { + "type": "MemberExpression", + "start": 15652, + "end": 15662, + "loc": { + "start": { + "line": 406, + "column": 32 + }, + "end": { + "line": 406, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 15652, + "end": 15658, + "loc": { + "start": { + "line": 406, + "column": 32 + }, + "end": { + "line": 406, + "column": 38 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 15659, + "end": 15662, + "loc": { + "start": { + "line": 406, + "column": 39 + }, + "end": { + "line": 406, + "column": 42 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 15663, + "end": 15669, + "loc": { + "start": { + "line": 406, + "column": 43 + }, + "end": { + "line": 406, + "column": 49 + }, + "identifierName": "exists" + }, + "name": "exists" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 15670, + "end": 15676, + "loc": { + "start": { + "line": 406, + "column": 50 + }, + "end": { + "line": 406, + "column": 56 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 15754, + "end": 16389, + "loc": { + "start": { + "line": 411, + "column": 14 + }, + "end": { + "line": 426, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 15754, + "end": 16388, + "loc": { + "start": { + "line": 411, + "column": 14 + }, + "end": { + "line": 426, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 15754, + "end": 15762, + "loc": { + "start": { + "line": 411, + "column": 14 + }, + "end": { + "line": 411, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 15763, + "end": 15782, + "loc": { + "start": { + "line": 411, + "column": 23 + }, + "end": { + "line": 411, + "column": 42 + } + }, + "extra": { + "rawValue": "#fetchPlaylists()", + "raw": "'#fetchPlaylists()'" + }, + "value": "#fetchPlaylists()" + }, + { + "type": "ArrowFunctionExpression", + "start": 15784, + "end": 16387, + "loc": { + "start": { + "line": 411, + "column": 44 + }, + "end": { + "line": 426, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 15790, + "end": 16387, + "loc": { + "start": { + "line": 411, + "column": 50 + }, + "end": { + "line": 426, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 15808, + "end": 16371, + "loc": { + "start": { + "line": 412, + "column": 16 + }, + "end": { + "line": 425, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 15808, + "end": 16370, + "loc": { + "start": { + "line": 412, + "column": 16 + }, + "end": { + "line": 425, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 15808, + "end": 15810, + "loc": { + "start": { + "line": 412, + "column": 16 + }, + "end": { + "line": 412, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 15811, + "end": 15874, + "loc": { + "start": { + "line": 412, + "column": 19 + }, + "end": { + "line": 412, + "column": 82 + } + }, + "extra": { + "rawValue": "should response status 200 and fetch next page should succeed", + "raw": "'should response status 200 and fetch next page should succeed'" + }, + "value": "should response status 200 and fetch next page should succeed" + }, + { + "type": "ArrowFunctionExpression", + "start": 15876, + "end": 16369, + "loc": { + "start": { + "line": 412, + "column": 84 + }, + "end": { + "line": 425, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 15876, + "end": 15880, + "loc": { + "start": { + "line": 412, + "column": 84 + }, + "end": { + "line": 412, + "column": 88 + }, + "identifierName": "done" + }, + "name": "done" + } + ], + "body": { + "type": "BlockStatement", + "start": 15884, + "end": 16369, + "loc": { + "start": { + "line": 412, + "column": 92 + }, + "end": { + "line": 425, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 15904, + "end": 16351, + "loc": { + "start": { + "line": 413, + "column": 18 + }, + "end": { + "line": 424, + "column": 21 + } + }, + "expression": { + "type": "CallExpression", + "start": 15904, + "end": 16350, + "loc": { + "start": { + "line": 413, + "column": 18 + }, + "end": { + "line": 424, + "column": 20 + } + }, + "callee": { + "type": "MemberExpression", + "start": 15904, + "end": 15927, + "loc": { + "start": { + "line": 413, + "column": 18 + }, + "end": { + "line": 413, + "column": 41 + } + }, + "object": { + "type": "CallExpression", + "start": 15904, + "end": 15922, + "loc": { + "start": { + "line": 413, + "column": 18 + }, + "end": { + "line": 413, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 15904, + "end": 15920, + "loc": { + "start": { + "line": 413, + "column": 18 + }, + "end": { + "line": 413, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 15904, + "end": 15905, + "loc": { + "start": { + "line": 413, + "column": 18 + }, + "end": { + "line": 413, + "column": 19 + }, + "identifierName": "f" + }, + "name": "f" + }, + "property": { + "type": "Identifier", + "start": 15906, + "end": 15920, + "loc": { + "start": { + "line": 413, + "column": 20 + }, + "end": { + "line": 413, + "column": 34 + }, + "identifierName": "fetchPlaylists" + }, + "name": "fetchPlaylists" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 15923, + "end": 15927, + "loc": { + "start": { + "line": 413, + "column": 37 + }, + "end": { + "line": 413, + "column": 41 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 15928, + "end": 16349, + "loc": { + "start": { + "line": 413, + "column": 42 + }, + "end": { + "line": 424, + "column": 19 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 15928, + "end": 15936, + "loc": { + "start": { + "line": 413, + "column": 42 + }, + "end": { + "line": 413, + "column": 50 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 15940, + "end": 16349, + "loc": { + "start": { + "line": 413, + "column": 54 + }, + "end": { + "line": 424, + "column": 19 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 15962, + "end": 16001, + "loc": { + "start": { + "line": 414, + "column": 20 + }, + "end": { + "line": 414, + "column": 59 + } + }, + "expression": { + "type": "CallExpression", + "start": 15962, + "end": 16000, + "loc": { + "start": { + "line": 414, + "column": 20 + }, + "end": { + "line": 414, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 15962, + "end": 15995, + "loc": { + "start": { + "line": 414, + "column": 20 + }, + "end": { + "line": 414, + "column": 53 + } + }, + "object": { + "type": "MemberExpression", + "start": 15962, + "end": 15987, + "loc": { + "start": { + "line": 414, + "column": 20 + }, + "end": { + "line": 414, + "column": 45 + } + }, + "object": { + "type": "MemberExpression", + "start": 15962, + "end": 15984, + "loc": { + "start": { + "line": 414, + "column": 20 + }, + "end": { + "line": 414, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 15962, + "end": 15977, + "loc": { + "start": { + "line": 414, + "column": 20 + }, + "end": { + "line": 414, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 15962, + "end": 15970, + "loc": { + "start": { + "line": 414, + "column": 20 + }, + "end": { + "line": 414, + "column": 28 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 15971, + "end": 15977, + "loc": { + "start": { + "line": 414, + "column": 29 + }, + "end": { + "line": 414, + "column": 35 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 15978, + "end": 15984, + "loc": { + "start": { + "line": 414, + "column": 36 + }, + "end": { + "line": 414, + "column": 42 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 15985, + "end": 15987, + "loc": { + "start": { + "line": 414, + "column": 43 + }, + "end": { + "line": 414, + "column": 45 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 15988, + "end": 15995, + "loc": { + "start": { + "line": 414, + "column": 46 + }, + "end": { + "line": 414, + "column": 53 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 15996, + "end": 15999, + "loc": { + "start": { + "line": 414, + "column": 54 + }, + "end": { + "line": 414, + "column": 57 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 16022, + "end": 16329, + "loc": { + "start": { + "line": 415, + "column": 20 + }, + "end": { + "line": 423, + "column": 22 + } + }, + "expression": { + "type": "CallExpression", + "start": 16022, + "end": 16328, + "loc": { + "start": { + "line": 415, + "column": 20 + }, + "end": { + "line": 423, + "column": 21 + } + }, + "callee": { + "type": "MemberExpression", + "start": 16022, + "end": 16052, + "loc": { + "start": { + "line": 415, + "column": 20 + }, + "end": { + "line": 415, + "column": 50 + } + }, + "object": { + "type": "CallExpression", + "start": 16022, + "end": 16047, + "loc": { + "start": { + "line": 415, + "column": 20 + }, + "end": { + "line": 415, + "column": 45 + } + }, + "callee": { + "type": "MemberExpression", + "start": 16022, + "end": 16037, + "loc": { + "start": { + "line": 415, + "column": 20 + }, + "end": { + "line": 415, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 16022, + "end": 16023, + "loc": { + "start": { + "line": 415, + "column": 20 + }, + "end": { + "line": 415, + "column": 21 + }, + "identifierName": "f" + }, + "name": "f" + }, + "property": { + "type": "Identifier", + "start": 16024, + "end": 16037, + "loc": { + "start": { + "line": 415, + "column": 22 + }, + "end": { + "line": 415, + "column": 35 + }, + "identifierName": "fetchNextPage" + }, + "name": "fetchNextPage" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 16038, + "end": 16046, + "loc": { + "start": { + "line": 415, + "column": 36 + }, + "end": { + "line": 415, + "column": 44 + }, + "identifierName": "response" + }, + "name": "response" + } + ] + }, + "property": { + "type": "Identifier", + "start": 16048, + "end": 16052, + "loc": { + "start": { + "line": 415, + "column": 46 + }, + "end": { + "line": 415, + "column": 50 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 16076, + "end": 16209, + "loc": { + "start": { + "line": 416, + "column": 22 + }, + "end": { + "line": 419, + "column": 23 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 16076, + "end": 16084, + "loc": { + "start": { + "line": 416, + "column": 22 + }, + "end": { + "line": 416, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 16088, + "end": 16209, + "loc": { + "start": { + "line": 416, + "column": 34 + }, + "end": { + "line": 419, + "column": 23 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 16114, + "end": 16153, + "loc": { + "start": { + "line": 417, + "column": 24 + }, + "end": { + "line": 417, + "column": 63 + } + }, + "expression": { + "type": "CallExpression", + "start": 16114, + "end": 16152, + "loc": { + "start": { + "line": 417, + "column": 24 + }, + "end": { + "line": 417, + "column": 62 + } + }, + "callee": { + "type": "MemberExpression", + "start": 16114, + "end": 16147, + "loc": { + "start": { + "line": 417, + "column": 24 + }, + "end": { + "line": 417, + "column": 57 + } + }, + "object": { + "type": "MemberExpression", + "start": 16114, + "end": 16139, + "loc": { + "start": { + "line": 417, + "column": 24 + }, + "end": { + "line": 417, + "column": 49 + } + }, + "object": { + "type": "MemberExpression", + "start": 16114, + "end": 16136, + "loc": { + "start": { + "line": 417, + "column": 24 + }, + "end": { + "line": 417, + "column": 46 + } + }, + "object": { + "type": "MemberExpression", + "start": 16114, + "end": 16129, + "loc": { + "start": { + "line": 417, + "column": 24 + }, + "end": { + "line": 417, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 16114, + "end": 16122, + "loc": { + "start": { + "line": 417, + "column": 24 + }, + "end": { + "line": 417, + "column": 32 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 16123, + "end": 16129, + "loc": { + "start": { + "line": 417, + "column": 33 + }, + "end": { + "line": 417, + "column": 39 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16130, + "end": 16136, + "loc": { + "start": { + "line": 417, + "column": 40 + }, + "end": { + "line": 417, + "column": 46 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16137, + "end": 16139, + "loc": { + "start": { + "line": 417, + "column": 47 + }, + "end": { + "line": 417, + "column": 49 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16140, + "end": 16147, + "loc": { + "start": { + "line": 417, + "column": 50 + }, + "end": { + "line": 417, + "column": 57 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 16148, + "end": 16151, + "loc": { + "start": { + "line": 417, + "column": 58 + }, + "end": { + "line": 417, + "column": 61 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 16178, + "end": 16185, + "loc": { + "start": { + "line": 418, + "column": 24 + }, + "end": { + "line": 418, + "column": 31 + } + }, + "expression": { + "type": "CallExpression", + "start": 16178, + "end": 16184, + "loc": { + "start": { + "line": 418, + "column": 24 + }, + "end": { + "line": 418, + "column": 30 + } + }, + "callee": { + "type": "Identifier", + "start": 16178, + "end": 16182, + "loc": { + "start": { + "line": 418, + "column": 24 + }, + "end": { + "line": 418, + "column": 28 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [] + } + } + ], + "directives": [] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 16233, + "end": 16306, + "loc": { + "start": { + "line": 420, + "column": 22 + }, + "end": { + "line": 422, + "column": 23 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 16233, + "end": 16239, + "loc": { + "start": { + "line": 420, + "column": 22 + }, + "end": { + "line": 420, + "column": 28 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "BlockStatement", + "start": 16243, + "end": 16306, + "loc": { + "start": { + "line": 420, + "column": 32 + }, + "end": { + "line": 422, + "column": 23 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 16269, + "end": 16282, + "loc": { + "start": { + "line": 421, + "column": 24 + }, + "end": { + "line": 421, + "column": 37 + } + }, + "expression": { + "type": "CallExpression", + "start": 16269, + "end": 16281, + "loc": { + "start": { + "line": 421, + "column": 24 + }, + "end": { + "line": 421, + "column": 36 + } + }, + "callee": { + "type": "Identifier", + "start": 16269, + "end": 16273, + "loc": { + "start": { + "line": 421, + "column": 24 + }, + "end": { + "line": 421, + "column": 28 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [ + { + "type": "Identifier", + "start": 16274, + "end": 16280, + "loc": { + "start": { + "line": 421, + "column": 29 + }, + "end": { + "line": 421, + "column": 35 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 16419, + "end": 17401, + "loc": { + "start": { + "line": 429, + "column": 12 + }, + "end": { + "line": 453, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 16419, + "end": 17400, + "loc": { + "start": { + "line": 429, + "column": 12 + }, + "end": { + "line": 453, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 16419, + "end": 16427, + "loc": { + "start": { + "line": 429, + "column": 12 + }, + "end": { + "line": 429, + "column": 20 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 16428, + "end": 16442, + "loc": { + "start": { + "line": 429, + "column": 21 + }, + "end": { + "line": 429, + "column": 35 + } + }, + "extra": { + "rawValue": "Mood Station", + "raw": "'Mood Station'" + }, + "value": "Mood Station" + }, + { + "type": "ArrowFunctionExpression", + "start": 16444, + "end": 17399, + "loc": { + "start": { + "line": 429, + "column": 37 + }, + "end": { + "line": 453, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 16450, + "end": 17399, + "loc": { + "start": { + "line": 429, + "column": 43 + }, + "end": { + "line": 453, + "column": 13 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 16466, + "end": 16528, + "loc": { + "start": { + "line": 430, + "column": 14 + }, + "end": { + "line": 430, + "column": 76 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 16472, + "end": 16527, + "loc": { + "start": { + "line": 430, + "column": 20 + }, + "end": { + "line": 430, + "column": 75 + } + }, + "id": { + "type": "Identifier", + "start": 16472, + "end": 16490, + "loc": { + "start": { + "line": 430, + "column": 20 + }, + "end": { + "line": 430, + "column": 38 + }, + "identifierName": "moodStationFetcher" + }, + "name": "moodStationFetcher" + }, + "init": { + "type": "NewExpression", + "start": 16493, + "end": 16527, + "loc": { + "start": { + "line": 430, + "column": 41 + }, + "end": { + "line": 430, + "column": 75 + } + }, + "callee": { + "type": "Identifier", + "start": 16497, + "end": 16515, + "loc": { + "start": { + "line": 430, + "column": 45 + }, + "end": { + "line": 430, + "column": 63 + }, + "identifierName": "MoodStationFetcher" + }, + "name": "MoodStationFetcher" + }, + "arguments": [ + { + "type": "Identifier", + "start": 16516, + "end": 16526, + "loc": { + "start": { + "line": 430, + "column": 64 + }, + "end": { + "line": 430, + "column": 74 + }, + "identifierName": "httpClient" + }, + "name": "httpClient" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 16543, + "end": 16927, + "loc": { + "start": { + "line": 431, + "column": 14 + }, + "end": { + "line": 440, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 16543, + "end": 16926, + "loc": { + "start": { + "line": 431, + "column": 14 + }, + "end": { + "line": 440, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 16543, + "end": 16551, + "loc": { + "start": { + "line": 431, + "column": 14 + }, + "end": { + "line": 431, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 16552, + "end": 16565, + "loc": { + "start": { + "line": 431, + "column": 23 + }, + "end": { + "line": 431, + "column": 36 + } + }, + "extra": { + "rawValue": "#fetchAll()", + "raw": "'#fetchAll()'" + }, + "value": "#fetchAll()" + }, + { + "type": "ArrowFunctionExpression", + "start": 16567, + "end": 16925, + "loc": { + "start": { + "line": 431, + "column": 38 + }, + "end": { + "line": 440, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 16573, + "end": 16925, + "loc": { + "start": { + "line": 431, + "column": 44 + }, + "end": { + "line": 440, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 16591, + "end": 16909, + "loc": { + "start": { + "line": 432, + "column": 16 + }, + "end": { + "line": 439, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 16591, + "end": 16908, + "loc": { + "start": { + "line": 432, + "column": 16 + }, + "end": { + "line": 439, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 16591, + "end": 16593, + "loc": { + "start": { + "line": 432, + "column": 16 + }, + "end": { + "line": 432, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 16594, + "end": 16610, + "loc": { + "start": { + "line": 432, + "column": 19 + }, + "end": { + "line": 432, + "column": 35 + } + }, + "extra": { + "rawValue": "should succeed", + "raw": "'should succeed'" + }, + "value": "should succeed" + }, + { + "type": "ArrowFunctionExpression", + "start": 16612, + "end": 16907, + "loc": { + "start": { + "line": 432, + "column": 37 + }, + "end": { + "line": 439, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 16618, + "end": 16907, + "loc": { + "start": { + "line": 432, + "column": 43 + }, + "end": { + "line": 439, + "column": 17 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 16638, + "end": 16889, + "loc": { + "start": { + "line": 433, + "column": 18 + }, + "end": { + "line": 438, + "column": 22 + } + }, + "argument": { + "type": "CallExpression", + "start": 16645, + "end": 16888, + "loc": { + "start": { + "line": 433, + "column": 25 + }, + "end": { + "line": 438, + "column": 21 + } + }, + "callee": { + "type": "MemberExpression", + "start": 16645, + "end": 16733, + "loc": { + "start": { + "line": 433, + "column": 25 + }, + "end": { + "line": 435, + "column": 25 + } + }, + "object": { + "type": "CallExpression", + "start": 16645, + "end": 16707, + "loc": { + "start": { + "line": 433, + "column": 25 + }, + "end": { + "line": 434, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 16645, + "end": 16705, + "loc": { + "start": { + "line": 433, + "column": 25 + }, + "end": { + "line": 434, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 16645, + "end": 16663, + "loc": { + "start": { + "line": 433, + "column": 25 + }, + "end": { + "line": 433, + "column": 43 + }, + "identifierName": "moodStationFetcher" + }, + "name": "moodStationFetcher" + }, + "property": { + "type": "Identifier", + "start": 16685, + "end": 16705, + "loc": { + "start": { + "line": 434, + "column": 21 + }, + "end": { + "line": 434, + "column": 41 + }, + "identifierName": "fetchAllMoodStations" + }, + "name": "fetchAllMoodStations" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 16729, + "end": 16733, + "loc": { + "start": { + "line": 435, + "column": 21 + }, + "end": { + "line": 435, + "column": 25 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 16757, + "end": 16807, + "loc": { + "start": { + "line": 436, + "column": 22 + }, + "end": { + "line": 436, + "column": 72 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 16757, + "end": 16765, + "loc": { + "start": { + "line": 436, + "column": 22 + }, + "end": { + "line": 436, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "CallExpression", + "start": 16769, + "end": 16807, + "loc": { + "start": { + "line": 436, + "column": 34 + }, + "end": { + "line": 436, + "column": 72 + } + }, + "callee": { + "type": "MemberExpression", + "start": 16769, + "end": 16802, + "loc": { + "start": { + "line": 436, + "column": 34 + }, + "end": { + "line": 436, + "column": 67 + } + }, + "object": { + "type": "MemberExpression", + "start": 16769, + "end": 16794, + "loc": { + "start": { + "line": 436, + "column": 34 + }, + "end": { + "line": 436, + "column": 59 + } + }, + "object": { + "type": "MemberExpression", + "start": 16769, + "end": 16791, + "loc": { + "start": { + "line": 436, + "column": 34 + }, + "end": { + "line": 436, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 16769, + "end": 16784, + "loc": { + "start": { + "line": 436, + "column": 34 + }, + "end": { + "line": 436, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 16769, + "end": 16777, + "loc": { + "start": { + "line": 436, + "column": 34 + }, + "end": { + "line": 436, + "column": 42 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 16778, + "end": 16784, + "loc": { + "start": { + "line": 436, + "column": 43 + }, + "end": { + "line": 436, + "column": 49 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16785, + "end": 16791, + "loc": { + "start": { + "line": 436, + "column": 50 + }, + "end": { + "line": 436, + "column": 56 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16792, + "end": 16794, + "loc": { + "start": { + "line": 436, + "column": 57 + }, + "end": { + "line": 436, + "column": 59 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16795, + "end": 16802, + "loc": { + "start": { + "line": 436, + "column": 60 + }, + "end": { + "line": 436, + "column": 67 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 16803, + "end": 16806, + "loc": { + "start": { + "line": 436, + "column": 68 + }, + "end": { + "line": 436, + "column": 71 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 16831, + "end": 16866, + "loc": { + "start": { + "line": 437, + "column": 22 + }, + "end": { + "line": 437, + "column": 57 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 16831, + "end": 16837, + "loc": { + "start": { + "line": 437, + "column": 22 + }, + "end": { + "line": 437, + "column": 28 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "CallExpression", + "start": 16841, + "end": 16866, + "loc": { + "start": { + "line": 437, + "column": 32 + }, + "end": { + "line": 437, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 16841, + "end": 16858, + "loc": { + "start": { + "line": 437, + "column": 32 + }, + "end": { + "line": 437, + "column": 49 + } + }, + "object": { + "type": "MemberExpression", + "start": 16841, + "end": 16851, + "loc": { + "start": { + "line": 437, + "column": 32 + }, + "end": { + "line": 437, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 16841, + "end": 16847, + "loc": { + "start": { + "line": 437, + "column": 32 + }, + "end": { + "line": 437, + "column": 38 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 16848, + "end": 16851, + "loc": { + "start": { + "line": 437, + "column": 39 + }, + "end": { + "line": 437, + "column": 42 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16852, + "end": 16858, + "loc": { + "start": { + "line": 437, + "column": 43 + }, + "end": { + "line": 437, + "column": 49 + }, + "identifierName": "exists" + }, + "name": "exists" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 16859, + "end": 16865, + "loc": { + "start": { + "line": 437, + "column": 50 + }, + "end": { + "line": 437, + "column": 56 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 16943, + "end": 17385, + "loc": { + "start": { + "line": 442, + "column": 14 + }, + "end": { + "line": 452, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 16943, + "end": 17384, + "loc": { + "start": { + "line": 442, + "column": 14 + }, + "end": { + "line": 452, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 16943, + "end": 16951, + "loc": { + "start": { + "line": 442, + "column": 14 + }, + "end": { + "line": 442, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 16952, + "end": 16970, + "loc": { + "start": { + "line": 442, + "column": 23 + }, + "end": { + "line": 442, + "column": 41 + } + }, + "extra": { + "rawValue": "#fetchMetadata()", + "raw": "'#fetchMetadata()'" + }, + "value": "#fetchMetadata()" + }, + { + "type": "ArrowFunctionExpression", + "start": 16972, + "end": 17383, + "loc": { + "start": { + "line": 442, + "column": 43 + }, + "end": { + "line": 452, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 16978, + "end": 17383, + "loc": { + "start": { + "line": 442, + "column": 49 + }, + "end": { + "line": 452, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 16996, + "end": 17367, + "loc": { + "start": { + "line": 443, + "column": 16 + }, + "end": { + "line": 451, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 16996, + "end": 17366, + "loc": { + "start": { + "line": 443, + "column": 16 + }, + "end": { + "line": 451, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 16996, + "end": 16998, + "loc": { + "start": { + "line": 443, + "column": 16 + }, + "end": { + "line": 443, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 16999, + "end": 17015, + "loc": { + "start": { + "line": 443, + "column": 19 + }, + "end": { + "line": 443, + "column": 35 + } + }, + "extra": { + "rawValue": "should succeed", + "raw": "'should succeed'" + }, + "value": "should succeed" + }, + { + "type": "ArrowFunctionExpression", + "start": 17017, + "end": 17365, + "loc": { + "start": { + "line": 443, + "column": 37 + }, + "end": { + "line": 451, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 17023, + "end": 17365, + "loc": { + "start": { + "line": 443, + "column": 43 + }, + "end": { + "line": 451, + "column": 17 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 17043, + "end": 17347, + "loc": { + "start": { + "line": 444, + "column": 18 + }, + "end": { + "line": 450, + "column": 22 + } + }, + "argument": { + "type": "CallExpression", + "start": 17050, + "end": 17346, + "loc": { + "start": { + "line": 444, + "column": 25 + }, + "end": { + "line": 450, + "column": 21 + } + }, + "callee": { + "type": "MemberExpression", + "start": 17050, + "end": 17191, + "loc": { + "start": { + "line": 444, + "column": 25 + }, + "end": { + "line": 447, + "column": 25 + } + }, + "object": { + "type": "CallExpression", + "start": 17050, + "end": 17165, + "loc": { + "start": { + "line": 444, + "column": 25 + }, + "end": { + "line": 446, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 17050, + "end": 17163, + "loc": { + "start": { + "line": 444, + "column": 25 + }, + "end": { + "line": 446, + "column": 34 + } + }, + "object": { + "type": "CallExpression", + "start": 17050, + "end": 17128, + "loc": { + "start": { + "line": 444, + "column": 25 + }, + "end": { + "line": 445, + "column": 59 + } + }, + "callee": { + "type": "MemberExpression", + "start": 17050, + "end": 17106, + "loc": { + "start": { + "line": 444, + "column": 25 + }, + "end": { + "line": 445, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 17050, + "end": 17068, + "loc": { + "start": { + "line": 444, + "column": 25 + }, + "end": { + "line": 444, + "column": 43 + }, + "identifierName": "moodStationFetcher" + }, + "name": "moodStationFetcher" + }, + "property": { + "type": "Identifier", + "start": 17090, + "end": 17106, + "loc": { + "start": { + "line": 445, + "column": 21 + }, + "end": { + "line": 445, + "column": 37 + }, + "identifierName": "setMoodStationID" + }, + "name": "setMoodStationID" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 17107, + "end": 17127, + "loc": { + "start": { + "line": 445, + "column": 38 + }, + "end": { + "line": 445, + "column": 58 + } + }, + "extra": { + "rawValue": "StGZp2ToWq92diPHS7", + "raw": "'StGZp2ToWq92diPHS7'" + }, + "value": "StGZp2ToWq92diPHS7" + } + ] + }, + "property": { + "type": "Identifier", + "start": 17150, + "end": 17163, + "loc": { + "start": { + "line": 446, + "column": 21 + }, + "end": { + "line": 446, + "column": 34 + }, + "identifierName": "fetchMetadata" + }, + "name": "fetchMetadata" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 17187, + "end": 17191, + "loc": { + "start": { + "line": 447, + "column": 21 + }, + "end": { + "line": 447, + "column": 25 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 17215, + "end": 17265, + "loc": { + "start": { + "line": 448, + "column": 22 + }, + "end": { + "line": 448, + "column": 72 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 17215, + "end": 17223, + "loc": { + "start": { + "line": 448, + "column": 22 + }, + "end": { + "line": 448, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "CallExpression", + "start": 17227, + "end": 17265, + "loc": { + "start": { + "line": 448, + "column": 34 + }, + "end": { + "line": 448, + "column": 72 + } + }, + "callee": { + "type": "MemberExpression", + "start": 17227, + "end": 17260, + "loc": { + "start": { + "line": 448, + "column": 34 + }, + "end": { + "line": 448, + "column": 67 + } + }, + "object": { + "type": "MemberExpression", + "start": 17227, + "end": 17252, + "loc": { + "start": { + "line": 448, + "column": 34 + }, + "end": { + "line": 448, + "column": 59 + } + }, + "object": { + "type": "MemberExpression", + "start": 17227, + "end": 17249, + "loc": { + "start": { + "line": 448, + "column": 34 + }, + "end": { + "line": 448, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 17227, + "end": 17242, + "loc": { + "start": { + "line": 448, + "column": 34 + }, + "end": { + "line": 448, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 17227, + "end": 17235, + "loc": { + "start": { + "line": 448, + "column": 34 + }, + "end": { + "line": 448, + "column": 42 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 17236, + "end": 17242, + "loc": { + "start": { + "line": 448, + "column": 43 + }, + "end": { + "line": 448, + "column": 49 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 17243, + "end": 17249, + "loc": { + "start": { + "line": 448, + "column": 50 + }, + "end": { + "line": 448, + "column": 56 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 17250, + "end": 17252, + "loc": { + "start": { + "line": 448, + "column": 57 + }, + "end": { + "line": 448, + "column": 59 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 17253, + "end": 17260, + "loc": { + "start": { + "line": 448, + "column": 60 + }, + "end": { + "line": 448, + "column": 67 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 17261, + "end": 17264, + "loc": { + "start": { + "line": 448, + "column": 68 + }, + "end": { + "line": 448, + "column": 71 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 17289, + "end": 17324, + "loc": { + "start": { + "line": 449, + "column": 22 + }, + "end": { + "line": 449, + "column": 57 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 17289, + "end": 17295, + "loc": { + "start": { + "line": 449, + "column": 22 + }, + "end": { + "line": 449, + "column": 28 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "CallExpression", + "start": 17299, + "end": 17324, + "loc": { + "start": { + "line": 449, + "column": 32 + }, + "end": { + "line": 449, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 17299, + "end": 17316, + "loc": { + "start": { + "line": 449, + "column": 32 + }, + "end": { + "line": 449, + "column": 49 + } + }, + "object": { + "type": "MemberExpression", + "start": 17299, + "end": 17309, + "loc": { + "start": { + "line": 449, + "column": 32 + }, + "end": { + "line": 449, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 17299, + "end": 17305, + "loc": { + "start": { + "line": 449, + "column": 32 + }, + "end": { + "line": 449, + "column": 38 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 17306, + "end": 17309, + "loc": { + "start": { + "line": 449, + "column": 39 + }, + "end": { + "line": 449, + "column": 42 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 17310, + "end": 17316, + "loc": { + "start": { + "line": 449, + "column": 43 + }, + "end": { + "line": 449, + "column": 49 + }, + "identifierName": "exists" + }, + "name": "exists" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 17317, + "end": 17323, + "loc": { + "start": { + "line": 449, + "column": 50 + }, + "end": { + "line": 449, + "column": 56 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 17415, + "end": 18756, + "loc": { + "start": { + "line": 455, + "column": 12 + }, + "end": { + "line": 487, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 17415, + "end": 18755, + "loc": { + "start": { + "line": 455, + "column": 12 + }, + "end": { + "line": 487, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 17415, + "end": 17423, + "loc": { + "start": { + "line": 455, + "column": 12 + }, + "end": { + "line": 455, + "column": 20 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 17424, + "end": 17439, + "loc": { + "start": { + "line": 455, + "column": 21 + }, + "end": { + "line": 455, + "column": 36 + } + }, + "extra": { + "rawValue": "Genre Station", + "raw": "'Genre Station'" + }, + "value": "Genre Station" + }, + { + "type": "ArrowFunctionExpression", + "start": 17441, + "end": 18754, + "loc": { + "start": { + "line": 455, + "column": 38 + }, + "end": { + "line": 487, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 17447, + "end": 18754, + "loc": { + "start": { + "line": 455, + "column": 44 + }, + "end": { + "line": 487, + "column": 13 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 17463, + "end": 17527, + "loc": { + "start": { + "line": 456, + "column": 14 + }, + "end": { + "line": 456, + "column": 78 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 17469, + "end": 17526, + "loc": { + "start": { + "line": 456, + "column": 20 + }, + "end": { + "line": 456, + "column": 77 + } + }, + "id": { + "type": "Identifier", + "start": 17469, + "end": 17488, + "loc": { + "start": { + "line": 456, + "column": 20 + }, + "end": { + "line": 456, + "column": 39 + }, + "identifierName": "genreStationFetcher" + }, + "name": "genreStationFetcher" + }, + "init": { + "type": "NewExpression", + "start": 17491, + "end": 17526, + "loc": { + "start": { + "line": 456, + "column": 42 + }, + "end": { + "line": 456, + "column": 77 + } + }, + "callee": { + "type": "Identifier", + "start": 17495, + "end": 17514, + "loc": { + "start": { + "line": 456, + "column": 46 + }, + "end": { + "line": 456, + "column": 65 + }, + "identifierName": "GenreStationFetcher" + }, + "name": "GenreStationFetcher" + }, + "arguments": [ + { + "type": "Identifier", + "start": 17515, + "end": 17525, + "loc": { + "start": { + "line": 456, + "column": 66 + }, + "end": { + "line": 456, + "column": 76 + }, + "identifierName": "httpClient" + }, + "name": "httpClient" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 17542, + "end": 18280, + "loc": { + "start": { + "line": 457, + "column": 14 + }, + "end": { + "line": 474, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 17542, + "end": 18279, + "loc": { + "start": { + "line": 457, + "column": 14 + }, + "end": { + "line": 474, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 17542, + "end": 17550, + "loc": { + "start": { + "line": 457, + "column": 14 + }, + "end": { + "line": 457, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 17551, + "end": 17577, + "loc": { + "start": { + "line": 457, + "column": 23 + }, + "end": { + "line": 457, + "column": 49 + } + }, + "extra": { + "rawValue": "#fetchAllGenreStations()", + "raw": "'#fetchAllGenreStations()'" + }, + "value": "#fetchAllGenreStations()" + }, + { + "type": "ArrowFunctionExpression", + "start": 17579, + "end": 18278, + "loc": { + "start": { + "line": 457, + "column": 51 + }, + "end": { + "line": 474, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 17585, + "end": 18278, + "loc": { + "start": { + "line": 457, + "column": 57 + }, + "end": { + "line": 474, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 17603, + "end": 18262, + "loc": { + "start": { + "line": 458, + "column": 16 + }, + "end": { + "line": 473, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 17603, + "end": 18261, + "loc": { + "start": { + "line": 458, + "column": 16 + }, + "end": { + "line": 473, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 17603, + "end": 17605, + "loc": { + "start": { + "line": 458, + "column": 16 + }, + "end": { + "line": 458, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 17606, + "end": 17657, + "loc": { + "start": { + "line": 458, + "column": 19 + }, + "end": { + "line": 458, + "column": 70 + } + }, + "extra": { + "rawValue": "should succeed and fetch next page should succeed", + "raw": "'should succeed and fetch next page should succeed'" + }, + "value": "should succeed and fetch next page should succeed" + }, + { + "type": "ArrowFunctionExpression", + "start": 17659, + "end": 18260, + "loc": { + "start": { + "line": 458, + "column": 72 + }, + "end": { + "line": 473, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 17659, + "end": 17663, + "loc": { + "start": { + "line": 458, + "column": 72 + }, + "end": { + "line": 458, + "column": 76 + }, + "identifierName": "done" + }, + "name": "done" + } + ], + "body": { + "type": "BlockStatement", + "start": 17667, + "end": 18260, + "loc": { + "start": { + "line": 458, + "column": 80 + }, + "end": { + "line": 473, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 17687, + "end": 18242, + "loc": { + "start": { + "line": 459, + "column": 18 + }, + "end": { + "line": 472, + "column": 23 + } + }, + "expression": { + "type": "CallExpression", + "start": 17687, + "end": 18241, + "loc": { + "start": { + "line": 459, + "column": 18 + }, + "end": { + "line": 472, + "column": 22 + } + }, + "callee": { + "type": "MemberExpression", + "start": 17687, + "end": 17778, + "loc": { + "start": { + "line": 459, + "column": 18 + }, + "end": { + "line": 461, + "column": 25 + } + }, + "object": { + "type": "CallExpression", + "start": 17687, + "end": 17752, + "loc": { + "start": { + "line": 459, + "column": 18 + }, + "end": { + "line": 460, + "column": 45 + } + }, + "callee": { + "type": "MemberExpression", + "start": 17687, + "end": 17749, + "loc": { + "start": { + "line": 459, + "column": 18 + }, + "end": { + "line": 460, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 17687, + "end": 17706, + "loc": { + "start": { + "line": 459, + "column": 18 + }, + "end": { + "line": 459, + "column": 37 + }, + "identifierName": "genreStationFetcher" + }, + "name": "genreStationFetcher" + }, + "property": { + "type": "Identifier", + "start": 17728, + "end": 17749, + "loc": { + "start": { + "line": 460, + "column": 21 + }, + "end": { + "line": 460, + "column": 42 + }, + "identifierName": "fetchAllGenreStations" + }, + "name": "fetchAllGenreStations" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 17750, + "end": 17751, + "loc": { + "start": { + "line": 460, + "column": 43 + }, + "end": { + "line": 460, + "column": 44 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + ] + }, + "property": { + "type": "Identifier", + "start": 17774, + "end": 17778, + "loc": { + "start": { + "line": 461, + "column": 21 + }, + "end": { + "line": 461, + "column": 25 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 17779, + "end": 18240, + "loc": { + "start": { + "line": 461, + "column": 26 + }, + "end": { + "line": 472, + "column": 21 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 17779, + "end": 17787, + "loc": { + "start": { + "line": 461, + "column": 26 + }, + "end": { + "line": 461, + "column": 34 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 17791, + "end": 18240, + "loc": { + "start": { + "line": 461, + "column": 38 + }, + "end": { + "line": 472, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 17815, + "end": 17854, + "loc": { + "start": { + "line": 462, + "column": 22 + }, + "end": { + "line": 462, + "column": 61 + } + }, + "expression": { + "type": "CallExpression", + "start": 17815, + "end": 17853, + "loc": { + "start": { + "line": 462, + "column": 22 + }, + "end": { + "line": 462, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 17815, + "end": 17848, + "loc": { + "start": { + "line": 462, + "column": 22 + }, + "end": { + "line": 462, + "column": 55 + } + }, + "object": { + "type": "MemberExpression", + "start": 17815, + "end": 17840, + "loc": { + "start": { + "line": 462, + "column": 22 + }, + "end": { + "line": 462, + "column": 47 + } + }, + "object": { + "type": "MemberExpression", + "start": 17815, + "end": 17837, + "loc": { + "start": { + "line": 462, + "column": 22 + }, + "end": { + "line": 462, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 17815, + "end": 17830, + "loc": { + "start": { + "line": 462, + "column": 22 + }, + "end": { + "line": 462, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 17815, + "end": 17823, + "loc": { + "start": { + "line": 462, + "column": 22 + }, + "end": { + "line": 462, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 17824, + "end": 17830, + "loc": { + "start": { + "line": 462, + "column": 31 + }, + "end": { + "line": 462, + "column": 37 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 17831, + "end": 17837, + "loc": { + "start": { + "line": 462, + "column": 38 + }, + "end": { + "line": 462, + "column": 44 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 17838, + "end": 17840, + "loc": { + "start": { + "line": 462, + "column": 45 + }, + "end": { + "line": 462, + "column": 47 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 17841, + "end": 17848, + "loc": { + "start": { + "line": 462, + "column": 48 + }, + "end": { + "line": 462, + "column": 55 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 17849, + "end": 17852, + "loc": { + "start": { + "line": 462, + "column": 56 + }, + "end": { + "line": 462, + "column": 59 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 17877, + "end": 18218, + "loc": { + "start": { + "line": 463, + "column": 22 + }, + "end": { + "line": 471, + "column": 24 + } + }, + "expression": { + "type": "CallExpression", + "start": 17877, + "end": 18217, + "loc": { + "start": { + "line": 463, + "column": 22 + }, + "end": { + "line": 471, + "column": 23 + } + }, + "callee": { + "type": "MemberExpression", + "start": 17877, + "end": 17925, + "loc": { + "start": { + "line": 463, + "column": 22 + }, + "end": { + "line": 463, + "column": 70 + } + }, + "object": { + "type": "CallExpression", + "start": 17877, + "end": 17920, + "loc": { + "start": { + "line": 463, + "column": 22 + }, + "end": { + "line": 463, + "column": 65 + } + }, + "callee": { + "type": "MemberExpression", + "start": 17877, + "end": 17910, + "loc": { + "start": { + "line": 463, + "column": 22 + }, + "end": { + "line": 463, + "column": 55 + } + }, + "object": { + "type": "Identifier", + "start": 17877, + "end": 17896, + "loc": { + "start": { + "line": 463, + "column": 22 + }, + "end": { + "line": 463, + "column": 41 + }, + "identifierName": "genreStationFetcher" + }, + "name": "genreStationFetcher" + }, + "property": { + "type": "Identifier", + "start": 17897, + "end": 17910, + "loc": { + "start": { + "line": 463, + "column": 42 + }, + "end": { + "line": 463, + "column": 55 + }, + "identifierName": "fetchNextPage" + }, + "name": "fetchNextPage" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 17911, + "end": 17919, + "loc": { + "start": { + "line": 463, + "column": 56 + }, + "end": { + "line": 463, + "column": 64 + }, + "identifierName": "response" + }, + "name": "response" + } + ] + }, + "property": { + "type": "Identifier", + "start": 17921, + "end": 17925, + "loc": { + "start": { + "line": 463, + "column": 66 + }, + "end": { + "line": 463, + "column": 70 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 17951, + "end": 18090, + "loc": { + "start": { + "line": 464, + "column": 24 + }, + "end": { + "line": 467, + "column": 25 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 17951, + "end": 17959, + "loc": { + "start": { + "line": 464, + "column": 24 + }, + "end": { + "line": 464, + "column": 32 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 17963, + "end": 18090, + "loc": { + "start": { + "line": 464, + "column": 36 + }, + "end": { + "line": 467, + "column": 25 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 17991, + "end": 18030, + "loc": { + "start": { + "line": 465, + "column": 26 + }, + "end": { + "line": 465, + "column": 65 + } + }, + "expression": { + "type": "CallExpression", + "start": 17991, + "end": 18029, + "loc": { + "start": { + "line": 465, + "column": 26 + }, + "end": { + "line": 465, + "column": 64 + } + }, + "callee": { + "type": "MemberExpression", + "start": 17991, + "end": 18024, + "loc": { + "start": { + "line": 465, + "column": 26 + }, + "end": { + "line": 465, + "column": 59 + } + }, + "object": { + "type": "MemberExpression", + "start": 17991, + "end": 18016, + "loc": { + "start": { + "line": 465, + "column": 26 + }, + "end": { + "line": 465, + "column": 51 + } + }, + "object": { + "type": "MemberExpression", + "start": 17991, + "end": 18013, + "loc": { + "start": { + "line": 465, + "column": 26 + }, + "end": { + "line": 465, + "column": 48 + } + }, + "object": { + "type": "MemberExpression", + "start": 17991, + "end": 18006, + "loc": { + "start": { + "line": 465, + "column": 26 + }, + "end": { + "line": 465, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 17991, + "end": 17999, + "loc": { + "start": { + "line": 465, + "column": 26 + }, + "end": { + "line": 465, + "column": 34 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 18000, + "end": 18006, + "loc": { + "start": { + "line": 465, + "column": 35 + }, + "end": { + "line": 465, + "column": 41 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18007, + "end": 18013, + "loc": { + "start": { + "line": 465, + "column": 42 + }, + "end": { + "line": 465, + "column": 48 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18014, + "end": 18016, + "loc": { + "start": { + "line": 465, + "column": 49 + }, + "end": { + "line": 465, + "column": 51 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18017, + "end": 18024, + "loc": { + "start": { + "line": 465, + "column": 52 + }, + "end": { + "line": 465, + "column": 59 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 18025, + "end": 18028, + "loc": { + "start": { + "line": 465, + "column": 60 + }, + "end": { + "line": 465, + "column": 63 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 18057, + "end": 18064, + "loc": { + "start": { + "line": 466, + "column": 26 + }, + "end": { + "line": 466, + "column": 33 + } + }, + "expression": { + "type": "CallExpression", + "start": 18057, + "end": 18063, + "loc": { + "start": { + "line": 466, + "column": 26 + }, + "end": { + "line": 466, + "column": 32 + } + }, + "callee": { + "type": "Identifier", + "start": 18057, + "end": 18061, + "loc": { + "start": { + "line": 466, + "column": 26 + }, + "end": { + "line": 466, + "column": 30 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [] + } + } + ], + "directives": [] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 18116, + "end": 18193, + "loc": { + "start": { + "line": 468, + "column": 24 + }, + "end": { + "line": 470, + "column": 25 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 18116, + "end": 18122, + "loc": { + "start": { + "line": 468, + "column": 24 + }, + "end": { + "line": 468, + "column": 30 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "BlockStatement", + "start": 18126, + "end": 18193, + "loc": { + "start": { + "line": 468, + "column": 34 + }, + "end": { + "line": 470, + "column": 25 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 18154, + "end": 18167, + "loc": { + "start": { + "line": 469, + "column": 26 + }, + "end": { + "line": 469, + "column": 39 + } + }, + "expression": { + "type": "CallExpression", + "start": 18154, + "end": 18166, + "loc": { + "start": { + "line": 469, + "column": 26 + }, + "end": { + "line": 469, + "column": 38 + } + }, + "callee": { + "type": "Identifier", + "start": 18154, + "end": 18158, + "loc": { + "start": { + "line": 469, + "column": 26 + }, + "end": { + "line": 469, + "column": 30 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [ + { + "type": "Identifier", + "start": 18159, + "end": 18165, + "loc": { + "start": { + "line": 469, + "column": 31 + }, + "end": { + "line": 469, + "column": 37 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 18296, + "end": 18740, + "loc": { + "start": { + "line": 476, + "column": 14 + }, + "end": { + "line": 486, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 18296, + "end": 18739, + "loc": { + "start": { + "line": 476, + "column": 14 + }, + "end": { + "line": 486, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 18296, + "end": 18304, + "loc": { + "start": { + "line": 476, + "column": 14 + }, + "end": { + "line": 476, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 18305, + "end": 18323, + "loc": { + "start": { + "line": 476, + "column": 23 + }, + "end": { + "line": 476, + "column": 41 + } + }, + "extra": { + "rawValue": "#fetchMetadata()", + "raw": "'#fetchMetadata()'" + }, + "value": "#fetchMetadata()" + }, + { + "type": "ArrowFunctionExpression", + "start": 18325, + "end": 18738, + "loc": { + "start": { + "line": 476, + "column": 43 + }, + "end": { + "line": 486, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 18331, + "end": 18738, + "loc": { + "start": { + "line": 476, + "column": 49 + }, + "end": { + "line": 486, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 18349, + "end": 18722, + "loc": { + "start": { + "line": 477, + "column": 16 + }, + "end": { + "line": 485, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 18349, + "end": 18721, + "loc": { + "start": { + "line": 477, + "column": 16 + }, + "end": { + "line": 485, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 18349, + "end": 18351, + "loc": { + "start": { + "line": 477, + "column": 16 + }, + "end": { + "line": 477, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 18352, + "end": 18368, + "loc": { + "start": { + "line": 477, + "column": 19 + }, + "end": { + "line": 477, + "column": 35 + } + }, + "extra": { + "rawValue": "should succeed", + "raw": "'should succeed'" + }, + "value": "should succeed" + }, + { + "type": "ArrowFunctionExpression", + "start": 18370, + "end": 18720, + "loc": { + "start": { + "line": 477, + "column": 37 + }, + "end": { + "line": 485, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 18376, + "end": 18720, + "loc": { + "start": { + "line": 477, + "column": 43 + }, + "end": { + "line": 485, + "column": 17 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 18396, + "end": 18702, + "loc": { + "start": { + "line": 478, + "column": 18 + }, + "end": { + "line": 484, + "column": 22 + } + }, + "argument": { + "type": "CallExpression", + "start": 18403, + "end": 18701, + "loc": { + "start": { + "line": 478, + "column": 25 + }, + "end": { + "line": 484, + "column": 21 + } + }, + "callee": { + "type": "MemberExpression", + "start": 18403, + "end": 18546, + "loc": { + "start": { + "line": 478, + "column": 25 + }, + "end": { + "line": 481, + "column": 25 + } + }, + "object": { + "type": "CallExpression", + "start": 18403, + "end": 18520, + "loc": { + "start": { + "line": 478, + "column": 25 + }, + "end": { + "line": 480, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 18403, + "end": 18518, + "loc": { + "start": { + "line": 478, + "column": 25 + }, + "end": { + "line": 480, + "column": 34 + } + }, + "object": { + "type": "CallExpression", + "start": 18403, + "end": 18483, + "loc": { + "start": { + "line": 478, + "column": 25 + }, + "end": { + "line": 479, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 18403, + "end": 18461, + "loc": { + "start": { + "line": 478, + "column": 25 + }, + "end": { + "line": 479, + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 18403, + "end": 18422, + "loc": { + "start": { + "line": 478, + "column": 25 + }, + "end": { + "line": 478, + "column": 44 + }, + "identifierName": "genreStationFetcher" + }, + "name": "genreStationFetcher" + }, + "property": { + "type": "Identifier", + "start": 18444, + "end": 18461, + "loc": { + "start": { + "line": 479, + "column": 21 + }, + "end": { + "line": 479, + "column": 38 + }, + "identifierName": "setGenreStationID" + }, + "name": "setGenreStationID" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 18462, + "end": 18482, + "loc": { + "start": { + "line": 479, + "column": 39 + }, + "end": { + "line": 479, + "column": 59 + } + }, + "extra": { + "rawValue": "TYq3EHFTl-1EOvJM5Y", + "raw": "'TYq3EHFTl-1EOvJM5Y'" + }, + "value": "TYq3EHFTl-1EOvJM5Y" + } + ] + }, + "property": { + "type": "Identifier", + "start": 18505, + "end": 18518, + "loc": { + "start": { + "line": 480, + "column": 21 + }, + "end": { + "line": 480, + "column": 34 + }, + "identifierName": "fetchMetadata" + }, + "name": "fetchMetadata" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 18542, + "end": 18546, + "loc": { + "start": { + "line": 481, + "column": 21 + }, + "end": { + "line": 481, + "column": 25 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 18570, + "end": 18620, + "loc": { + "start": { + "line": 482, + "column": 22 + }, + "end": { + "line": 482, + "column": 72 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 18570, + "end": 18578, + "loc": { + "start": { + "line": 482, + "column": 22 + }, + "end": { + "line": 482, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "CallExpression", + "start": 18582, + "end": 18620, + "loc": { + "start": { + "line": 482, + "column": 34 + }, + "end": { + "line": 482, + "column": 72 + } + }, + "callee": { + "type": "MemberExpression", + "start": 18582, + "end": 18615, + "loc": { + "start": { + "line": 482, + "column": 34 + }, + "end": { + "line": 482, + "column": 67 + } + }, + "object": { + "type": "MemberExpression", + "start": 18582, + "end": 18607, + "loc": { + "start": { + "line": 482, + "column": 34 + }, + "end": { + "line": 482, + "column": 59 + } + }, + "object": { + "type": "MemberExpression", + "start": 18582, + "end": 18604, + "loc": { + "start": { + "line": 482, + "column": 34 + }, + "end": { + "line": 482, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 18582, + "end": 18597, + "loc": { + "start": { + "line": 482, + "column": 34 + }, + "end": { + "line": 482, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 18582, + "end": 18590, + "loc": { + "start": { + "line": 482, + "column": 34 + }, + "end": { + "line": 482, + "column": 42 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 18591, + "end": 18597, + "loc": { + "start": { + "line": 482, + "column": 43 + }, + "end": { + "line": 482, + "column": 49 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18598, + "end": 18604, + "loc": { + "start": { + "line": 482, + "column": 50 + }, + "end": { + "line": 482, + "column": 56 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18605, + "end": 18607, + "loc": { + "start": { + "line": 482, + "column": 57 + }, + "end": { + "line": 482, + "column": 59 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18608, + "end": 18615, + "loc": { + "start": { + "line": 482, + "column": 60 + }, + "end": { + "line": 482, + "column": 67 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 18616, + "end": 18619, + "loc": { + "start": { + "line": 482, + "column": 68 + }, + "end": { + "line": 482, + "column": 71 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 18644, + "end": 18679, + "loc": { + "start": { + "line": 483, + "column": 22 + }, + "end": { + "line": 483, + "column": 57 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 18644, + "end": 18650, + "loc": { + "start": { + "line": 483, + "column": 22 + }, + "end": { + "line": 483, + "column": 28 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "CallExpression", + "start": 18654, + "end": 18679, + "loc": { + "start": { + "line": 483, + "column": 32 + }, + "end": { + "line": 483, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 18654, + "end": 18671, + "loc": { + "start": { + "line": 483, + "column": 32 + }, + "end": { + "line": 483, + "column": 49 + } + }, + "object": { + "type": "MemberExpression", + "start": 18654, + "end": 18664, + "loc": { + "start": { + "line": 483, + "column": 32 + }, + "end": { + "line": 483, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 18654, + "end": 18660, + "loc": { + "start": { + "line": 483, + "column": 32 + }, + "end": { + "line": 483, + "column": 38 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 18661, + "end": 18664, + "loc": { + "start": { + "line": 483, + "column": 39 + }, + "end": { + "line": 483, + "column": 42 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18665, + "end": 18671, + "loc": { + "start": { + "line": 483, + "column": 43 + }, + "end": { + "line": 483, + "column": 49 + }, + "identifierName": "exists" + }, + "name": "exists" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 18672, + "end": 18678, + "loc": { + "start": { + "line": 483, + "column": 50 + }, + "end": { + "line": 483, + "column": 56 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 18770, + "end": 20809, + "loc": { + "start": { + "line": 489, + "column": 12 + }, + "end": { + "line": 544, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 18770, + "end": 20808, + "loc": { + "start": { + "line": 489, + "column": 12 + }, + "end": { + "line": 544, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 18770, + "end": 18778, + "loc": { + "start": { + "line": 489, + "column": 12 + }, + "end": { + "line": 489, + "column": 20 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 18779, + "end": 18786, + "loc": { + "start": { + "line": 489, + "column": 21 + }, + "end": { + "line": 489, + "column": 28 + } + }, + "extra": { + "rawValue": "Chart", + "raw": "'Chart'" + }, + "value": "Chart" + }, + { + "type": "ArrowFunctionExpression", + "start": 18788, + "end": 20807, + "loc": { + "start": { + "line": 489, + "column": 30 + }, + "end": { + "line": 544, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 18794, + "end": 20807, + "loc": { + "start": { + "line": 489, + "column": 36 + }, + "end": { + "line": 544, + "column": 13 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 18810, + "end": 18860, + "loc": { + "start": { + "line": 490, + "column": 14 + }, + "end": { + "line": 490, + "column": 64 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 18816, + "end": 18859, + "loc": { + "start": { + "line": 490, + "column": 20 + }, + "end": { + "line": 490, + "column": 63 + } + }, + "id": { + "type": "Identifier", + "start": 18816, + "end": 18828, + "loc": { + "start": { + "line": 490, + "column": 20 + }, + "end": { + "line": 490, + "column": 32 + }, + "identifierName": "chartFetcher" + }, + "name": "chartFetcher" + }, + "init": { + "type": "NewExpression", + "start": 18831, + "end": 18859, + "loc": { + "start": { + "line": 490, + "column": 35 + }, + "end": { + "line": 490, + "column": 63 + } + }, + "callee": { + "type": "Identifier", + "start": 18835, + "end": 18847, + "loc": { + "start": { + "line": 490, + "column": 39 + }, + "end": { + "line": 490, + "column": 51 + }, + "identifierName": "ChartFetcher" + }, + "name": "ChartFetcher" + }, + "arguments": [ + { + "type": "Identifier", + "start": 18848, + "end": 18858, + "loc": { + "start": { + "line": 490, + "column": 52 + }, + "end": { + "line": 490, + "column": 62 + }, + "identifierName": "httpClient" + }, + "name": "httpClient" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 18875, + "end": 19577, + "loc": { + "start": { + "line": 491, + "column": 14 + }, + "end": { + "line": 507, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 18875, + "end": 19576, + "loc": { + "start": { + "line": 491, + "column": 14 + }, + "end": { + "line": 507, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 18875, + "end": 18883, + "loc": { + "start": { + "line": 491, + "column": 14 + }, + "end": { + "line": 491, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 18884, + "end": 18900, + "loc": { + "start": { + "line": 491, + "column": 23 + }, + "end": { + "line": 491, + "column": 39 + } + }, + "extra": { + "rawValue": "#fetchCharts()", + "raw": "'#fetchCharts()'" + }, + "value": "#fetchCharts()" + }, + { + "type": "ArrowFunctionExpression", + "start": 18902, + "end": 19575, + "loc": { + "start": { + "line": 491, + "column": 41 + }, + "end": { + "line": 507, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 18908, + "end": 19575, + "loc": { + "start": { + "line": 491, + "column": 47 + }, + "end": { + "line": 507, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 18926, + "end": 19559, + "loc": { + "start": { + "line": 492, + "column": 16 + }, + "end": { + "line": 506, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 18926, + "end": 19558, + "loc": { + "start": { + "line": 492, + "column": 16 + }, + "end": { + "line": 506, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 18926, + "end": 18928, + "loc": { + "start": { + "line": 492, + "column": 16 + }, + "end": { + "line": 492, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 18929, + "end": 18977, + "loc": { + "start": { + "line": 492, + "column": 19 + }, + "end": { + "line": 492, + "column": 67 + } + }, + "extra": { + "rawValue": "should succeed and fetch next page should fail", + "raw": "'should succeed and fetch next page should fail'" + }, + "value": "should succeed and fetch next page should fail" + }, + { + "type": "ArrowFunctionExpression", + "start": 18979, + "end": 19557, + "loc": { + "start": { + "line": 492, + "column": 69 + }, + "end": { + "line": 506, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 18979, + "end": 18983, + "loc": { + "start": { + "line": 492, + "column": 69 + }, + "end": { + "line": 492, + "column": 73 + }, + "identifierName": "done" + }, + "name": "done" + } + ], + "body": { + "type": "BlockStatement", + "start": 18987, + "end": 19557, + "loc": { + "start": { + "line": 492, + "column": 77 + }, + "end": { + "line": 506, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 19007, + "end": 19539, + "loc": { + "start": { + "line": 493, + "column": 18 + }, + "end": { + "line": 505, + "column": 21 + } + }, + "expression": { + "type": "CallExpression", + "start": 19007, + "end": 19538, + "loc": { + "start": { + "line": 493, + "column": 18 + }, + "end": { + "line": 505, + "column": 20 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19007, + "end": 19038, + "loc": { + "start": { + "line": 493, + "column": 18 + }, + "end": { + "line": 493, + "column": 49 + } + }, + "object": { + "type": "CallExpression", + "start": 19007, + "end": 19033, + "loc": { + "start": { + "line": 493, + "column": 18 + }, + "end": { + "line": 493, + "column": 44 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19007, + "end": 19031, + "loc": { + "start": { + "line": 493, + "column": 18 + }, + "end": { + "line": 493, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 19007, + "end": 19019, + "loc": { + "start": { + "line": 493, + "column": 18 + }, + "end": { + "line": 493, + "column": 30 + }, + "identifierName": "chartFetcher" + }, + "name": "chartFetcher" + }, + "property": { + "type": "Identifier", + "start": 19020, + "end": 19031, + "loc": { + "start": { + "line": 493, + "column": 31 + }, + "end": { + "line": 493, + "column": 42 + }, + "identifierName": "fetchCharts" + }, + "name": "fetchCharts" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 19034, + "end": 19038, + "loc": { + "start": { + "line": 493, + "column": 45 + }, + "end": { + "line": 493, + "column": 49 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 19039, + "end": 19537, + "loc": { + "start": { + "line": 493, + "column": 50 + }, + "end": { + "line": 505, + "column": 19 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 19039, + "end": 19047, + "loc": { + "start": { + "line": 493, + "column": 50 + }, + "end": { + "line": 493, + "column": 58 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 19051, + "end": 19537, + "loc": { + "start": { + "line": 493, + "column": 62 + }, + "end": { + "line": 505, + "column": 19 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 19073, + "end": 19112, + "loc": { + "start": { + "line": 494, + "column": 20 + }, + "end": { + "line": 494, + "column": 59 + } + }, + "expression": { + "type": "CallExpression", + "start": 19073, + "end": 19111, + "loc": { + "start": { + "line": 494, + "column": 20 + }, + "end": { + "line": 494, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19073, + "end": 19106, + "loc": { + "start": { + "line": 494, + "column": 20 + }, + "end": { + "line": 494, + "column": 53 + } + }, + "object": { + "type": "MemberExpression", + "start": 19073, + "end": 19098, + "loc": { + "start": { + "line": 494, + "column": 20 + }, + "end": { + "line": 494, + "column": 45 + } + }, + "object": { + "type": "MemberExpression", + "start": 19073, + "end": 19095, + "loc": { + "start": { + "line": 494, + "column": 20 + }, + "end": { + "line": 494, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 19073, + "end": 19088, + "loc": { + "start": { + "line": 494, + "column": 20 + }, + "end": { + "line": 494, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 19073, + "end": 19081, + "loc": { + "start": { + "line": 494, + "column": 20 + }, + "end": { + "line": 494, + "column": 28 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 19082, + "end": 19088, + "loc": { + "start": { + "line": 494, + "column": 29 + }, + "end": { + "line": 494, + "column": 35 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 19089, + "end": 19095, + "loc": { + "start": { + "line": 494, + "column": 36 + }, + "end": { + "line": 494, + "column": 42 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 19096, + "end": 19098, + "loc": { + "start": { + "line": 494, + "column": 43 + }, + "end": { + "line": 494, + "column": 45 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 19099, + "end": 19106, + "loc": { + "start": { + "line": 494, + "column": 46 + }, + "end": { + "line": 494, + "column": 53 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 19107, + "end": 19110, + "loc": { + "start": { + "line": 494, + "column": 54 + }, + "end": { + "line": 494, + "column": 57 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 19133, + "end": 19186, + "loc": { + "start": { + "line": 495, + "column": 20 + }, + "end": { + "line": 495, + "column": 73 + } + }, + "expression": { + "type": "CallExpression", + "start": 19133, + "end": 19185, + "loc": { + "start": { + "line": 495, + "column": 20 + }, + "end": { + "line": 495, + "column": 72 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19133, + "end": 19183, + "loc": { + "start": { + "line": 495, + "column": 20 + }, + "end": { + "line": 495, + "column": 70 + } + }, + "object": { + "type": "MemberExpression", + "start": 19133, + "end": 19177, + "loc": { + "start": { + "line": 495, + "column": 20 + }, + "end": { + "line": 495, + "column": 64 + } + }, + "object": { + "type": "MemberExpression", + "start": 19133, + "end": 19174, + "loc": { + "start": { + "line": 495, + "column": 20 + }, + "end": { + "line": 495, + "column": 61 + } + }, + "object": { + "type": "CallExpression", + "start": 19133, + "end": 19167, + "loc": { + "start": { + "line": 495, + "column": 20 + }, + "end": { + "line": 495, + "column": 54 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19133, + "end": 19157, + "loc": { + "start": { + "line": 495, + "column": 20 + }, + "end": { + "line": 495, + "column": 44 + } + }, + "object": { + "type": "Identifier", + "start": 19133, + "end": 19145, + "loc": { + "start": { + "line": 495, + "column": 20 + }, + "end": { + "line": 495, + "column": 32 + }, + "identifierName": "chartFetcher" + }, + "name": "chartFetcher" + }, + "property": { + "type": "Identifier", + "start": 19146, + "end": 19157, + "loc": { + "start": { + "line": 495, + "column": 33 + }, + "end": { + "line": 495, + "column": 44 + }, + "identifierName": "hasNextPage" + }, + "name": "hasNextPage" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 19158, + "end": 19166, + "loc": { + "start": { + "line": 495, + "column": 45 + }, + "end": { + "line": 495, + "column": 53 + }, + "identifierName": "response" + }, + "name": "response" + } + ] + }, + "property": { + "type": "Identifier", + "start": 19168, + "end": 19174, + "loc": { + "start": { + "line": 495, + "column": 55 + }, + "end": { + "line": 495, + "column": 61 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 19175, + "end": 19177, + "loc": { + "start": { + "line": 495, + "column": 62 + }, + "end": { + "line": 495, + "column": 64 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 19178, + "end": 19183, + "loc": { + "start": { + "line": 495, + "column": 65 + }, + "end": { + "line": 495, + "column": 70 + }, + "identifierName": "false" + }, + "name": "false" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ExpressionStatement", + "start": 19207, + "end": 19517, + "loc": { + "start": { + "line": 496, + "column": 20 + }, + "end": { + "line": 504, + "column": 22 + } + }, + "expression": { + "type": "CallExpression", + "start": 19207, + "end": 19516, + "loc": { + "start": { + "line": 496, + "column": 20 + }, + "end": { + "line": 504, + "column": 21 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19207, + "end": 19248, + "loc": { + "start": { + "line": 496, + "column": 20 + }, + "end": { + "line": 496, + "column": 61 + } + }, + "object": { + "type": "CallExpression", + "start": 19207, + "end": 19243, + "loc": { + "start": { + "line": 496, + "column": 20 + }, + "end": { + "line": 496, + "column": 56 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19207, + "end": 19233, + "loc": { + "start": { + "line": 496, + "column": 20 + }, + "end": { + "line": 496, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 19207, + "end": 19219, + "loc": { + "start": { + "line": 496, + "column": 20 + }, + "end": { + "line": 496, + "column": 32 + }, + "identifierName": "chartFetcher" + }, + "name": "chartFetcher" + }, + "property": { + "type": "Identifier", + "start": 19220, + "end": 19233, + "loc": { + "start": { + "line": 496, + "column": 33 + }, + "end": { + "line": 496, + "column": 46 + }, + "identifierName": "fetchNextPage" + }, + "name": "fetchNextPage" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 19234, + "end": 19242, + "loc": { + "start": { + "line": 496, + "column": 47 + }, + "end": { + "line": 496, + "column": 55 + }, + "identifierName": "response" + }, + "name": "response" + } + ] + }, + "property": { + "type": "Identifier", + "start": 19244, + "end": 19248, + "loc": { + "start": { + "line": 496, + "column": 57 + }, + "end": { + "line": 496, + "column": 61 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 19272, + "end": 19403, + "loc": { + "start": { + "line": 497, + "column": 22 + }, + "end": { + "line": 500, + "column": 23 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 19272, + "end": 19280, + "loc": { + "start": { + "line": 497, + "column": 22 + }, + "end": { + "line": 497, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 19284, + "end": 19403, + "loc": { + "start": { + "line": 497, + "column": 34 + }, + "end": { + "line": 500, + "column": 23 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 19310, + "end": 19339, + "loc": { + "start": { + "line": 498, + "column": 24 + }, + "end": { + "line": 498, + "column": 53 + } + }, + "expression": { + "type": "CallExpression", + "start": 19310, + "end": 19338, + "loc": { + "start": { + "line": 498, + "column": 24 + }, + "end": { + "line": 498, + "column": 52 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19310, + "end": 19336, + "loc": { + "start": { + "line": 498, + "column": 24 + }, + "end": { + "line": 498, + "column": 50 + } + }, + "object": { + "type": "MemberExpression", + "start": 19310, + "end": 19329, + "loc": { + "start": { + "line": 498, + "column": 24 + }, + "end": { + "line": 498, + "column": 43 + } + }, + "object": { + "type": "MemberExpression", + "start": 19310, + "end": 19325, + "loc": { + "start": { + "line": 498, + "column": 24 + }, + "end": { + "line": 498, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 19310, + "end": 19318, + "loc": { + "start": { + "line": 498, + "column": 24 + }, + "end": { + "line": 498, + "column": 32 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 19319, + "end": 19325, + "loc": { + "start": { + "line": 498, + "column": 33 + }, + "end": { + "line": 498, + "column": 39 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 19326, + "end": 19329, + "loc": { + "start": { + "line": 498, + "column": 40 + }, + "end": { + "line": 498, + "column": 43 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 19330, + "end": 19336, + "loc": { + "start": { + "line": 498, + "column": 44 + }, + "end": { + "line": 498, + "column": 50 + }, + "identifierName": "exists" + }, + "name": "exists" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ExpressionStatement", + "start": 19364, + "end": 19379, + "loc": { + "start": { + "line": 499, + "column": 24 + }, + "end": { + "line": 499, + "column": 39 + } + }, + "expression": { + "type": "CallExpression", + "start": 19364, + "end": 19378, + "loc": { + "start": { + "line": 499, + "column": 24 + }, + "end": { + "line": 499, + "column": 38 + } + }, + "callee": { + "type": "Identifier", + "start": 19364, + "end": 19368, + "loc": { + "start": { + "line": 499, + "column": 24 + }, + "end": { + "line": 499, + "column": 28 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [ + { + "type": "Identifier", + "start": 19369, + "end": 19377, + "loc": { + "start": { + "line": 499, + "column": 29 + }, + "end": { + "line": 499, + "column": 37 + }, + "identifierName": "response" + }, + "name": "response" + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 19427, + "end": 19494, + "loc": { + "start": { + "line": 501, + "column": 22 + }, + "end": { + "line": 503, + "column": 23 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 19427, + "end": 19433, + "loc": { + "start": { + "line": 501, + "column": 22 + }, + "end": { + "line": 501, + "column": 28 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "BlockStatement", + "start": 19437, + "end": 19494, + "loc": { + "start": { + "line": 501, + "column": 32 + }, + "end": { + "line": 503, + "column": 23 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 19463, + "end": 19470, + "loc": { + "start": { + "line": 502, + "column": 24 + }, + "end": { + "line": 502, + "column": 31 + } + }, + "expression": { + "type": "CallExpression", + "start": 19463, + "end": 19469, + "loc": { + "start": { + "line": 502, + "column": 24 + }, + "end": { + "line": 502, + "column": 30 + } + }, + "callee": { + "type": "Identifier", + "start": 19463, + "end": 19467, + "loc": { + "start": { + "line": 502, + "column": 24 + }, + "end": { + "line": 502, + "column": 28 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 19593, + "end": 20187, + "loc": { + "start": { + "line": 509, + "column": 14 + }, + "end": { + "line": 525, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 19593, + "end": 20186, + "loc": { + "start": { + "line": 509, + "column": 14 + }, + "end": { + "line": 525, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 19593, + "end": 19601, + "loc": { + "start": { + "line": 509, + "column": 14 + }, + "end": { + "line": 509, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 19602, + "end": 19620, + "loc": { + "start": { + "line": 509, + "column": 23 + }, + "end": { + "line": 509, + "column": 41 + } + }, + "extra": { + "rawValue": "#fetchMetadata()", + "raw": "'#fetchMetadata()'" + }, + "value": "#fetchMetadata()" + }, + { + "type": "ArrowFunctionExpression", + "start": 19622, + "end": 20185, + "loc": { + "start": { + "line": 509, + "column": 43 + }, + "end": { + "line": 525, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 19628, + "end": 20185, + "loc": { + "start": { + "line": 509, + "column": 49 + }, + "end": { + "line": 525, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 19646, + "end": 20169, + "loc": { + "start": { + "line": 510, + "column": 16 + }, + "end": { + "line": 524, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 19646, + "end": 20168, + "loc": { + "start": { + "line": 510, + "column": 16 + }, + "end": { + "line": 524, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 19646, + "end": 19648, + "loc": { + "start": { + "line": 510, + "column": 16 + }, + "end": { + "line": 510, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 19649, + "end": 19665, + "loc": { + "start": { + "line": 510, + "column": 19 + }, + "end": { + "line": 510, + "column": 35 + } + }, + "extra": { + "rawValue": "should succeed", + "raw": "'should succeed'" + }, + "value": "should succeed" + }, + { + "type": "ArrowFunctionExpression", + "start": 19667, + "end": 20167, + "loc": { + "start": { + "line": 510, + "column": 37 + }, + "end": { + "line": 524, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 19667, + "end": 19671, + "loc": { + "start": { + "line": 510, + "column": 37 + }, + "end": { + "line": 510, + "column": 41 + }, + "identifierName": "done" + }, + "name": "done" + } + ], + "body": { + "type": "BlockStatement", + "start": 19675, + "end": 20167, + "loc": { + "start": { + "line": 510, + "column": 45 + }, + "end": { + "line": 524, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 19695, + "end": 20149, + "loc": { + "start": { + "line": 511, + "column": 18 + }, + "end": { + "line": 523, + "column": 22 + } + }, + "expression": { + "type": "CallExpression", + "start": 19695, + "end": 20148, + "loc": { + "start": { + "line": 511, + "column": 18 + }, + "end": { + "line": 523, + "column": 21 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19695, + "end": 19827, + "loc": { + "start": { + "line": 511, + "column": 18 + }, + "end": { + "line": 514, + "column": 25 + } + }, + "object": { + "type": "CallExpression", + "start": 19695, + "end": 19801, + "loc": { + "start": { + "line": 511, + "column": 18 + }, + "end": { + "line": 513, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19695, + "end": 19799, + "loc": { + "start": { + "line": 511, + "column": 18 + }, + "end": { + "line": 513, + "column": 34 + } + }, + "object": { + "type": "CallExpression", + "start": 19695, + "end": 19764, + "loc": { + "start": { + "line": 511, + "column": 18 + }, + "end": { + "line": 512, + "column": 56 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19695, + "end": 19742, + "loc": { + "start": { + "line": 511, + "column": 18 + }, + "end": { + "line": 512, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 19695, + "end": 19707, + "loc": { + "start": { + "line": 511, + "column": 18 + }, + "end": { + "line": 511, + "column": 30 + }, + "identifierName": "chartFetcher" + }, + "name": "chartFetcher" + }, + "property": { + "type": "Identifier", + "start": 19729, + "end": 19742, + "loc": { + "start": { + "line": 512, + "column": 21 + }, + "end": { + "line": 512, + "column": 34 + }, + "identifierName": "setPlaylistID" + }, + "name": "setPlaylistID" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 19743, + "end": 19763, + "loc": { + "start": { + "line": 512, + "column": 35 + }, + "end": { + "line": 512, + "column": 55 + } + }, + "extra": { + "rawValue": "4mJSYXvueA8t0odsny", + "raw": "'4mJSYXvueA8t0odsny'" + }, + "value": "4mJSYXvueA8t0odsny" + } + ] + }, + "property": { + "type": "Identifier", + "start": 19786, + "end": 19799, + "loc": { + "start": { + "line": 513, + "column": 21 + }, + "end": { + "line": 513, + "column": 34 + }, + "identifierName": "fetchMetadata" + }, + "name": "fetchMetadata" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 19823, + "end": 19827, + "loc": { + "start": { + "line": 514, + "column": 21 + }, + "end": { + "line": 514, + "column": 25 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 19851, + "end": 19984, + "loc": { + "start": { + "line": 515, + "column": 22 + }, + "end": { + "line": 518, + "column": 23 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 19851, + "end": 19859, + "loc": { + "start": { + "line": 515, + "column": 22 + }, + "end": { + "line": 515, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 19863, + "end": 19984, + "loc": { + "start": { + "line": 515, + "column": 34 + }, + "end": { + "line": 518, + "column": 23 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 19889, + "end": 19928, + "loc": { + "start": { + "line": 516, + "column": 24 + }, + "end": { + "line": 516, + "column": 63 + } + }, + "expression": { + "type": "CallExpression", + "start": 19889, + "end": 19927, + "loc": { + "start": { + "line": 516, + "column": 24 + }, + "end": { + "line": 516, + "column": 62 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19889, + "end": 19922, + "loc": { + "start": { + "line": 516, + "column": 24 + }, + "end": { + "line": 516, + "column": 57 + } + }, + "object": { + "type": "MemberExpression", + "start": 19889, + "end": 19914, + "loc": { + "start": { + "line": 516, + "column": 24 + }, + "end": { + "line": 516, + "column": 49 + } + }, + "object": { + "type": "MemberExpression", + "start": 19889, + "end": 19911, + "loc": { + "start": { + "line": 516, + "column": 24 + }, + "end": { + "line": 516, + "column": 46 + } + }, + "object": { + "type": "MemberExpression", + "start": 19889, + "end": 19904, + "loc": { + "start": { + "line": 516, + "column": 24 + }, + "end": { + "line": 516, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 19889, + "end": 19897, + "loc": { + "start": { + "line": 516, + "column": 24 + }, + "end": { + "line": 516, + "column": 32 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 19898, + "end": 19904, + "loc": { + "start": { + "line": 516, + "column": 33 + }, + "end": { + "line": 516, + "column": 39 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 19905, + "end": 19911, + "loc": { + "start": { + "line": 516, + "column": 40 + }, + "end": { + "line": 516, + "column": 46 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 19912, + "end": 19914, + "loc": { + "start": { + "line": 516, + "column": 47 + }, + "end": { + "line": 516, + "column": 49 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 19915, + "end": 19922, + "loc": { + "start": { + "line": 516, + "column": 50 + }, + "end": { + "line": 516, + "column": 57 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 19923, + "end": 19926, + "loc": { + "start": { + "line": 516, + "column": 58 + }, + "end": { + "line": 516, + "column": 61 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 19953, + "end": 19960, + "loc": { + "start": { + "line": 517, + "column": 24 + }, + "end": { + "line": 517, + "column": 31 + } + }, + "expression": { + "type": "CallExpression", + "start": 19953, + "end": 19959, + "loc": { + "start": { + "line": 517, + "column": 24 + }, + "end": { + "line": 517, + "column": 30 + } + }, + "callee": { + "type": "Identifier", + "start": 19953, + "end": 19957, + "loc": { + "start": { + "line": 517, + "column": 24 + }, + "end": { + "line": 517, + "column": 28 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [] + } + } + ], + "directives": [] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 20008, + "end": 20126, + "loc": { + "start": { + "line": 519, + "column": 22 + }, + "end": { + "line": 522, + "column": 23 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 20008, + "end": 20014, + "loc": { + "start": { + "line": 519, + "column": 22 + }, + "end": { + "line": 519, + "column": 28 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "BlockStatement", + "start": 20018, + "end": 20126, + "loc": { + "start": { + "line": 519, + "column": 32 + }, + "end": { + "line": 522, + "column": 23 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 20044, + "end": 20070, + "loc": { + "start": { + "line": 520, + "column": 24 + }, + "end": { + "line": 520, + "column": 50 + } + }, + "expression": { + "type": "CallExpression", + "start": 20044, + "end": 20069, + "loc": { + "start": { + "line": 520, + "column": 24 + }, + "end": { + "line": 520, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 20044, + "end": 20061, + "loc": { + "start": { + "line": 520, + "column": 24 + }, + "end": { + "line": 520, + "column": 41 + } + }, + "object": { + "type": "MemberExpression", + "start": 20044, + "end": 20054, + "loc": { + "start": { + "line": 520, + "column": 24 + }, + "end": { + "line": 520, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 20044, + "end": 20050, + "loc": { + "start": { + "line": 520, + "column": 24 + }, + "end": { + "line": 520, + "column": 30 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 20051, + "end": 20054, + "loc": { + "start": { + "line": 520, + "column": 31 + }, + "end": { + "line": 520, + "column": 34 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 20055, + "end": 20061, + "loc": { + "start": { + "line": 520, + "column": 35 + }, + "end": { + "line": 520, + "column": 41 + }, + "identifierName": "exists" + }, + "name": "exists" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 20062, + "end": 20068, + "loc": { + "start": { + "line": 520, + "column": 42 + }, + "end": { + "line": 520, + "column": 48 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 20095, + "end": 20102, + "loc": { + "start": { + "line": 521, + "column": 24 + }, + "end": { + "line": 521, + "column": 31 + } + }, + "expression": { + "type": "CallExpression", + "start": 20095, + "end": 20101, + "loc": { + "start": { + "line": 521, + "column": 24 + }, + "end": { + "line": 521, + "column": 30 + } + }, + "callee": { + "type": "Identifier", + "start": 20095, + "end": 20099, + "loc": { + "start": { + "line": 521, + "column": 24 + }, + "end": { + "line": 521, + "column": 28 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 20203, + "end": 20793, + "loc": { + "start": { + "line": 527, + "column": 14 + }, + "end": { + "line": 543, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 20203, + "end": 20792, + "loc": { + "start": { + "line": 527, + "column": 14 + }, + "end": { + "line": 543, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 20203, + "end": 20211, + "loc": { + "start": { + "line": 527, + "column": 14 + }, + "end": { + "line": 527, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 20212, + "end": 20228, + "loc": { + "start": { + "line": 527, + "column": 23 + }, + "end": { + "line": 527, + "column": 39 + } + }, + "extra": { + "rawValue": "#fetchTracks()", + "raw": "'#fetchTracks()'" + }, + "value": "#fetchTracks()" + }, + { + "type": "ArrowFunctionExpression", + "start": 20230, + "end": 20791, + "loc": { + "start": { + "line": 527, + "column": 41 + }, + "end": { + "line": 543, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 20236, + "end": 20791, + "loc": { + "start": { + "line": 527, + "column": 47 + }, + "end": { + "line": 543, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 20254, + "end": 20775, + "loc": { + "start": { + "line": 528, + "column": 16 + }, + "end": { + "line": 542, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 20254, + "end": 20774, + "loc": { + "start": { + "line": 528, + "column": 16 + }, + "end": { + "line": 542, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 20254, + "end": 20256, + "loc": { + "start": { + "line": 528, + "column": 16 + }, + "end": { + "line": 528, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 20257, + "end": 20273, + "loc": { + "start": { + "line": 528, + "column": 19 + }, + "end": { + "line": 528, + "column": 35 + } + }, + "extra": { + "rawValue": "should succeed", + "raw": "'should succeed'" + }, + "value": "should succeed" + }, + { + "type": "ArrowFunctionExpression", + "start": 20275, + "end": 20773, + "loc": { + "start": { + "line": 528, + "column": 37 + }, + "end": { + "line": 542, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 20275, + "end": 20279, + "loc": { + "start": { + "line": 528, + "column": 37 + }, + "end": { + "line": 528, + "column": 41 + }, + "identifierName": "done" + }, + "name": "done" + } + ], + "body": { + "type": "BlockStatement", + "start": 20283, + "end": 20773, + "loc": { + "start": { + "line": 528, + "column": 45 + }, + "end": { + "line": 542, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 20303, + "end": 20755, + "loc": { + "start": { + "line": 529, + "column": 18 + }, + "end": { + "line": 541, + "column": 22 + } + }, + "expression": { + "type": "CallExpression", + "start": 20303, + "end": 20754, + "loc": { + "start": { + "line": 529, + "column": 18 + }, + "end": { + "line": 541, + "column": 21 + } + }, + "callee": { + "type": "MemberExpression", + "start": 20303, + "end": 20433, + "loc": { + "start": { + "line": 529, + "column": 18 + }, + "end": { + "line": 532, + "column": 25 + } + }, + "object": { + "type": "CallExpression", + "start": 20303, + "end": 20407, + "loc": { + "start": { + "line": 529, + "column": 18 + }, + "end": { + "line": 531, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 20303, + "end": 20405, + "loc": { + "start": { + "line": 529, + "column": 18 + }, + "end": { + "line": 531, + "column": 32 + } + }, + "object": { + "type": "CallExpression", + "start": 20303, + "end": 20372, + "loc": { + "start": { + "line": 529, + "column": 18 + }, + "end": { + "line": 530, + "column": 56 + } + }, + "callee": { + "type": "MemberExpression", + "start": 20303, + "end": 20350, + "loc": { + "start": { + "line": 529, + "column": 18 + }, + "end": { + "line": 530, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 20303, + "end": 20315, + "loc": { + "start": { + "line": 529, + "column": 18 + }, + "end": { + "line": 529, + "column": 30 + }, + "identifierName": "chartFetcher" + }, + "name": "chartFetcher" + }, + "property": { + "type": "Identifier", + "start": 20337, + "end": 20350, + "loc": { + "start": { + "line": 530, + "column": 21 + }, + "end": { + "line": 530, + "column": 34 + }, + "identifierName": "setPlaylistID" + }, + "name": "setPlaylistID" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 20351, + "end": 20371, + "loc": { + "start": { + "line": 530, + "column": 35 + }, + "end": { + "line": 530, + "column": 55 + } + }, + "extra": { + "rawValue": "4mJSYXvueA8t0odsny", + "raw": "'4mJSYXvueA8t0odsny'" + }, + "value": "4mJSYXvueA8t0odsny" + } + ] + }, + "property": { + "type": "Identifier", + "start": 20394, + "end": 20405, + "loc": { + "start": { + "line": 531, + "column": 21 + }, + "end": { + "line": 531, + "column": 32 + }, + "identifierName": "fetchTracks" + }, + "name": "fetchTracks" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 20429, + "end": 20433, + "loc": { + "start": { + "line": 532, + "column": 21 + }, + "end": { + "line": 532, + "column": 25 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 20457, + "end": 20590, + "loc": { + "start": { + "line": 533, + "column": 22 + }, + "end": { + "line": 536, + "column": 23 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 20457, + "end": 20465, + "loc": { + "start": { + "line": 533, + "column": 22 + }, + "end": { + "line": 533, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 20469, + "end": 20590, + "loc": { + "start": { + "line": 533, + "column": 34 + }, + "end": { + "line": 536, + "column": 23 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 20495, + "end": 20534, + "loc": { + "start": { + "line": 534, + "column": 24 + }, + "end": { + "line": 534, + "column": 63 + } + }, + "expression": { + "type": "CallExpression", + "start": 20495, + "end": 20533, + "loc": { + "start": { + "line": 534, + "column": 24 + }, + "end": { + "line": 534, + "column": 62 + } + }, + "callee": { + "type": "MemberExpression", + "start": 20495, + "end": 20528, + "loc": { + "start": { + "line": 534, + "column": 24 + }, + "end": { + "line": 534, + "column": 57 + } + }, + "object": { + "type": "MemberExpression", + "start": 20495, + "end": 20520, + "loc": { + "start": { + "line": 534, + "column": 24 + }, + "end": { + "line": 534, + "column": 49 + } + }, + "object": { + "type": "MemberExpression", + "start": 20495, + "end": 20517, + "loc": { + "start": { + "line": 534, + "column": 24 + }, + "end": { + "line": 534, + "column": 46 + } + }, + "object": { + "type": "MemberExpression", + "start": 20495, + "end": 20510, + "loc": { + "start": { + "line": 534, + "column": 24 + }, + "end": { + "line": 534, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 20495, + "end": 20503, + "loc": { + "start": { + "line": 534, + "column": 24 + }, + "end": { + "line": 534, + "column": 32 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 20504, + "end": 20510, + "loc": { + "start": { + "line": 534, + "column": 33 + }, + "end": { + "line": 534, + "column": 39 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 20511, + "end": 20517, + "loc": { + "start": { + "line": 534, + "column": 40 + }, + "end": { + "line": 534, + "column": 46 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 20518, + "end": 20520, + "loc": { + "start": { + "line": 534, + "column": 47 + }, + "end": { + "line": 534, + "column": 49 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 20521, + "end": 20528, + "loc": { + "start": { + "line": 534, + "column": 50 + }, + "end": { + "line": 534, + "column": 57 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 20529, + "end": 20532, + "loc": { + "start": { + "line": 534, + "column": 58 + }, + "end": { + "line": 534, + "column": 61 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 20559, + "end": 20566, + "loc": { + "start": { + "line": 535, + "column": 24 + }, + "end": { + "line": 535, + "column": 31 + } + }, + "expression": { + "type": "CallExpression", + "start": 20559, + "end": 20565, + "loc": { + "start": { + "line": 535, + "column": 24 + }, + "end": { + "line": 535, + "column": 30 + } + }, + "callee": { + "type": "Identifier", + "start": 20559, + "end": 20563, + "loc": { + "start": { + "line": 535, + "column": 24 + }, + "end": { + "line": 535, + "column": 28 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [] + } + } + ], + "directives": [] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 20614, + "end": 20732, + "loc": { + "start": { + "line": 537, + "column": 22 + }, + "end": { + "line": 540, + "column": 23 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 20614, + "end": 20620, + "loc": { + "start": { + "line": 537, + "column": 22 + }, + "end": { + "line": 537, + "column": 28 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "BlockStatement", + "start": 20624, + "end": 20732, + "loc": { + "start": { + "line": 537, + "column": 32 + }, + "end": { + "line": 540, + "column": 23 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 20650, + "end": 20676, + "loc": { + "start": { + "line": 538, + "column": 24 + }, + "end": { + "line": 538, + "column": 50 + } + }, + "expression": { + "type": "CallExpression", + "start": 20650, + "end": 20675, + "loc": { + "start": { + "line": 538, + "column": 24 + }, + "end": { + "line": 538, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 20650, + "end": 20667, + "loc": { + "start": { + "line": 538, + "column": 24 + }, + "end": { + "line": 538, + "column": 41 + } + }, + "object": { + "type": "MemberExpression", + "start": 20650, + "end": 20660, + "loc": { + "start": { + "line": 538, + "column": 24 + }, + "end": { + "line": 538, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 20650, + "end": 20656, + "loc": { + "start": { + "line": 538, + "column": 24 + }, + "end": { + "line": 538, + "column": 30 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 20657, + "end": 20660, + "loc": { + "start": { + "line": 538, + "column": 31 + }, + "end": { + "line": 538, + "column": 34 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 20661, + "end": 20667, + "loc": { + "start": { + "line": 538, + "column": 35 + }, + "end": { + "line": 538, + "column": 41 + }, + "identifierName": "exists" + }, + "name": "exists" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 20668, + "end": 20674, + "loc": { + "start": { + "line": 538, + "column": 42 + }, + "end": { + "line": 538, + "column": 48 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 20701, + "end": 20708, + "loc": { + "start": { + "line": 539, + "column": 24 + }, + "end": { + "line": 539, + "column": 31 + } + }, + "expression": { + "type": "CallExpression", + "start": 20701, + "end": 20707, + "loc": { + "start": { + "line": 539, + "column": 24 + }, + "end": { + "line": 539, + "column": 30 + } + }, + "callee": { + "type": "Identifier", + "start": 20701, + "end": 20705, + "loc": { + "start": { + "line": 539, + "column": 24 + }, + "end": { + "line": 539, + "column": 28 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 20823, + "end": 23179, + "loc": { + "start": { + "line": 546, + "column": 12 + }, + "end": { + "line": 605, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 20823, + "end": 23178, + "loc": { + "start": { + "line": 546, + "column": 12 + }, + "end": { + "line": 605, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 20823, + "end": 20831, + "loc": { + "start": { + "line": 546, + "column": 12 + }, + "end": { + "line": 546, + "column": 20 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 20832, + "end": 20854, + "loc": { + "start": { + "line": 546, + "column": 21 + }, + "end": { + "line": 546, + "column": 43 + } + }, + "extra": { + "rawValue": "New Release Category", + "raw": "'New Release Category'" + }, + "value": "New Release Category" + }, + { + "type": "ArrowFunctionExpression", + "start": 20856, + "end": 23177, + "loc": { + "start": { + "line": 546, + "column": 45 + }, + "end": { + "line": 605, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 20862, + "end": 23177, + "loc": { + "start": { + "line": 546, + "column": 51 + }, + "end": { + "line": 605, + "column": 13 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 20878, + "end": 20986, + "loc": { + "start": { + "line": 547, + "column": 14 + }, + "end": { + "line": 549, + "column": 16 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 20884, + "end": 20985, + "loc": { + "start": { + "line": 547, + "column": 20 + }, + "end": { + "line": 549, + "column": 15 + } + }, + "id": { + "type": "Identifier", + "start": 20884, + "end": 20909, + "loc": { + "start": { + "line": 547, + "column": 20 + }, + "end": { + "line": 547, + "column": 45 + }, + "identifierName": "newReleaseCategoryFetcher" + }, + "name": "newReleaseCategoryFetcher" + }, + "init": { + "type": "NewExpression", + "start": 20912, + "end": 20985, + "loc": { + "start": { + "line": 547, + "column": 48 + }, + "end": { + "line": 549, + "column": 15 + } + }, + "callee": { + "type": "Identifier", + "start": 20916, + "end": 20941, + "loc": { + "start": { + "line": 547, + "column": 52 + }, + "end": { + "line": 547, + "column": 77 + }, + "identifierName": "NewReleaseCategoryFetcher" + }, + "name": "NewReleaseCategoryFetcher" + }, + "arguments": [ + { + "type": "Identifier", + "start": 20959, + "end": 20969, + "loc": { + "start": { + "line": 548, + "column": 16 + }, + "end": { + "line": 548, + "column": 26 + }, + "identifierName": "httpClient" + }, + "name": "httpClient" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 21001, + "end": 22006, + "loc": { + "start": { + "line": 550, + "column": 14 + }, + "end": { + "line": 573, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 21001, + "end": 22005, + "loc": { + "start": { + "line": 550, + "column": 14 + }, + "end": { + "line": 573, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 21001, + "end": 21009, + "loc": { + "start": { + "line": 550, + "column": 14 + }, + "end": { + "line": 550, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 21010, + "end": 21023, + "loc": { + "start": { + "line": 550, + "column": 23 + }, + "end": { + "line": 550, + "column": 36 + } + }, + "extra": { + "rawValue": "#fetchAll()", + "raw": "'#fetchAll()'" + }, + "value": "#fetchAll()" + }, + { + "type": "ArrowFunctionExpression", + "start": 21025, + "end": 22004, + "loc": { + "start": { + "line": 550, + "column": 38 + }, + "end": { + "line": 573, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 21031, + "end": 22004, + "loc": { + "start": { + "line": 550, + "column": 44 + }, + "end": { + "line": 573, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 21049, + "end": 21988, + "loc": { + "start": { + "line": 551, + "column": 16 + }, + "end": { + "line": 572, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 21049, + "end": 21987, + "loc": { + "start": { + "line": 551, + "column": 16 + }, + "end": { + "line": 572, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 21049, + "end": 21051, + "loc": { + "start": { + "line": 551, + "column": 16 + }, + "end": { + "line": 551, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 21052, + "end": 21103, + "loc": { + "start": { + "line": 551, + "column": 19 + }, + "end": { + "line": 551, + "column": 70 + } + }, + "extra": { + "rawValue": "should succeed and fetch next page should succeed", + "raw": "'should succeed and fetch next page should succeed'" + }, + "value": "should succeed and fetch next page should succeed" + }, + { + "type": "ArrowFunctionExpression", + "start": 21105, + "end": 21986, + "loc": { + "start": { + "line": 551, + "column": 72 + }, + "end": { + "line": 572, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 21105, + "end": 21109, + "loc": { + "start": { + "line": 551, + "column": 72 + }, + "end": { + "line": 551, + "column": 76 + }, + "identifierName": "done" + }, + "name": "done" + } + ], + "body": { + "type": "BlockStatement", + "start": 21113, + "end": 21986, + "loc": { + "start": { + "line": 551, + "column": 80 + }, + "end": { + "line": 572, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 21133, + "end": 21968, + "loc": { + "start": { + "line": 552, + "column": 18 + }, + "end": { + "line": 571, + "column": 22 + } + }, + "expression": { + "type": "CallExpression", + "start": 21133, + "end": 21967, + "loc": { + "start": { + "line": 552, + "column": 18 + }, + "end": { + "line": 571, + "column": 21 + } + }, + "callee": { + "type": "MemberExpression", + "start": 21133, + "end": 21237, + "loc": { + "start": { + "line": 552, + "column": 18 + }, + "end": { + "line": 554, + "column": 25 + } + }, + "object": { + "type": "CallExpression", + "start": 21133, + "end": 21211, + "loc": { + "start": { + "line": 552, + "column": 18 + }, + "end": { + "line": 553, + "column": 52 + } + }, + "callee": { + "type": "MemberExpression", + "start": 21133, + "end": 21208, + "loc": { + "start": { + "line": 552, + "column": 18 + }, + "end": { + "line": 553, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 21133, + "end": 21158, + "loc": { + "start": { + "line": 552, + "column": 18 + }, + "end": { + "line": 552, + "column": 43 + }, + "identifierName": "newReleaseCategoryFetcher" + }, + "name": "newReleaseCategoryFetcher" + }, + "property": { + "type": "Identifier", + "start": 21180, + "end": 21208, + "loc": { + "start": { + "line": 553, + "column": 21 + }, + "end": { + "line": 553, + "column": 49 + }, + "identifierName": "fetchAllNewReleaseCategories" + }, + "name": "fetchAllNewReleaseCategories" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 21209, + "end": 21210, + "loc": { + "start": { + "line": 553, + "column": 50 + }, + "end": { + "line": 553, + "column": 51 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + ] + }, + "property": { + "type": "Identifier", + "start": 21233, + "end": 21237, + "loc": { + "start": { + "line": 554, + "column": 21 + }, + "end": { + "line": 554, + "column": 25 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 21261, + "end": 21886, + "loc": { + "start": { + "line": 555, + "column": 22 + }, + "end": { + "line": 569, + "column": 23 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 21261, + "end": 21269, + "loc": { + "start": { + "line": 555, + "column": 22 + }, + "end": { + "line": 555, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 21273, + "end": 21886, + "loc": { + "start": { + "line": 555, + "column": 34 + }, + "end": { + "line": 569, + "column": 23 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 21299, + "end": 21338, + "loc": { + "start": { + "line": 556, + "column": 24 + }, + "end": { + "line": 556, + "column": 63 + } + }, + "expression": { + "type": "CallExpression", + "start": 21299, + "end": 21337, + "loc": { + "start": { + "line": 556, + "column": 24 + }, + "end": { + "line": 556, + "column": 62 + } + }, + "callee": { + "type": "MemberExpression", + "start": 21299, + "end": 21332, + "loc": { + "start": { + "line": 556, + "column": 24 + }, + "end": { + "line": 556, + "column": 57 + } + }, + "object": { + "type": "MemberExpression", + "start": 21299, + "end": 21324, + "loc": { + "start": { + "line": 556, + "column": 24 + }, + "end": { + "line": 556, + "column": 49 + } + }, + "object": { + "type": "MemberExpression", + "start": 21299, + "end": 21321, + "loc": { + "start": { + "line": 556, + "column": 24 + }, + "end": { + "line": 556, + "column": 46 + } + }, + "object": { + "type": "MemberExpression", + "start": 21299, + "end": 21314, + "loc": { + "start": { + "line": 556, + "column": 24 + }, + "end": { + "line": 556, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 21299, + "end": 21307, + "loc": { + "start": { + "line": 556, + "column": 24 + }, + "end": { + "line": 556, + "column": 32 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 21308, + "end": 21314, + "loc": { + "start": { + "line": 556, + "column": 33 + }, + "end": { + "line": 556, + "column": 39 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 21315, + "end": 21321, + "loc": { + "start": { + "line": 556, + "column": 40 + }, + "end": { + "line": 556, + "column": 46 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 21322, + "end": 21324, + "loc": { + "start": { + "line": 556, + "column": 47 + }, + "end": { + "line": 556, + "column": 49 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 21325, + "end": 21332, + "loc": { + "start": { + "line": 556, + "column": 50 + }, + "end": { + "line": 556, + "column": 57 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 21333, + "end": 21336, + "loc": { + "start": { + "line": 556, + "column": 58 + }, + "end": { + "line": 556, + "column": 61 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 21363, + "end": 21482, + "loc": { + "start": { + "line": 557, + "column": 24 + }, + "end": { + "line": 559, + "column": 44 + } + }, + "expression": { + "type": "CallExpression", + "start": 21363, + "end": 21481, + "loc": { + "start": { + "line": 557, + "column": 24 + }, + "end": { + "line": 559, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 21363, + "end": 21479, + "loc": { + "start": { + "line": 557, + "column": 24 + }, + "end": { + "line": 559, + "column": 41 + } + }, + "object": { + "type": "MemberExpression", + "start": 21363, + "end": 21474, + "loc": { + "start": { + "line": 557, + "column": 24 + }, + "end": { + "line": 559, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 21363, + "end": 21471, + "loc": { + "start": { + "line": 557, + "column": 24 + }, + "end": { + "line": 559, + "column": 33 + } + }, + "object": { + "type": "CallExpression", + "start": 21363, + "end": 21437, + "loc": { + "start": { + "line": 557, + "column": 24 + }, + "end": { + "line": 558, + "column": 48 + } + }, + "callee": { + "type": "MemberExpression", + "start": 21363, + "end": 21427, + "loc": { + "start": { + "line": 557, + "column": 24 + }, + "end": { + "line": 558, + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 21363, + "end": 21388, + "loc": { + "start": { + "line": 557, + "column": 24 + }, + "end": { + "line": 557, + "column": 49 + }, + "identifierName": "newReleaseCategoryFetcher" + }, + "name": "newReleaseCategoryFetcher" + }, + "property": { + "type": "Identifier", + "start": 21416, + "end": 21427, + "loc": { + "start": { + "line": 558, + "column": 27 + }, + "end": { + "line": 558, + "column": 38 + }, + "identifierName": "hasNextPage" + }, + "name": "hasNextPage" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 21428, + "end": 21436, + "loc": { + "start": { + "line": 558, + "column": 39 + }, + "end": { + "line": 558, + "column": 47 + }, + "identifierName": "response" + }, + "name": "response" + } + ] + }, + "property": { + "type": "Identifier", + "start": 21465, + "end": 21471, + "loc": { + "start": { + "line": 559, + "column": 27 + }, + "end": { + "line": 559, + "column": 33 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 21472, + "end": 21474, + "loc": { + "start": { + "line": 559, + "column": 34 + }, + "end": { + "line": 559, + "column": 36 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 21475, + "end": 21479, + "loc": { + "start": { + "line": 559, + "column": 37 + }, + "end": { + "line": 559, + "column": 41 + }, + "identifierName": "true" + }, + "name": "true" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ExpressionStatement", + "start": 21507, + "end": 21862, + "loc": { + "start": { + "line": 560, + "column": 24 + }, + "end": { + "line": 568, + "column": 26 + } + }, + "expression": { + "type": "CallExpression", + "start": 21507, + "end": 21861, + "loc": { + "start": { + "line": 560, + "column": 24 + }, + "end": { + "line": 568, + "column": 25 + } + }, + "callee": { + "type": "MemberExpression", + "start": 21507, + "end": 21561, + "loc": { + "start": { + "line": 560, + "column": 24 + }, + "end": { + "line": 560, + "column": 78 + } + }, + "object": { + "type": "CallExpression", + "start": 21507, + "end": 21556, + "loc": { + "start": { + "line": 560, + "column": 24 + }, + "end": { + "line": 560, + "column": 73 + } + }, + "callee": { + "type": "MemberExpression", + "start": 21507, + "end": 21546, + "loc": { + "start": { + "line": 560, + "column": 24 + }, + "end": { + "line": 560, + "column": 63 + } + }, + "object": { + "type": "Identifier", + "start": 21507, + "end": 21532, + "loc": { + "start": { + "line": 560, + "column": 24 + }, + "end": { + "line": 560, + "column": 49 + }, + "identifierName": "newReleaseCategoryFetcher" + }, + "name": "newReleaseCategoryFetcher" + }, + "property": { + "type": "Identifier", + "start": 21533, + "end": 21546, + "loc": { + "start": { + "line": 560, + "column": 50 + }, + "end": { + "line": 560, + "column": 63 + }, + "identifierName": "fetchNextPage" + }, + "name": "fetchNextPage" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 21547, + "end": 21555, + "loc": { + "start": { + "line": 560, + "column": 64 + }, + "end": { + "line": 560, + "column": 72 + }, + "identifierName": "response" + }, + "name": "response" + } + ] + }, + "property": { + "type": "Identifier", + "start": 21557, + "end": 21561, + "loc": { + "start": { + "line": 560, + "column": 74 + }, + "end": { + "line": 560, + "column": 78 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 21589, + "end": 21726, + "loc": { + "start": { + "line": 561, + "column": 26 + }, + "end": { + "line": 564, + "column": 27 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 21589, + "end": 21597, + "loc": { + "start": { + "line": 561, + "column": 26 + }, + "end": { + "line": 561, + "column": 34 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 21601, + "end": 21726, + "loc": { + "start": { + "line": 561, + "column": 38 + }, + "end": { + "line": 564, + "column": 27 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 21631, + "end": 21662, + "loc": { + "start": { + "line": 562, + "column": 28 + }, + "end": { + "line": 562, + "column": 59 + } + }, + "expression": { + "type": "CallExpression", + "start": 21631, + "end": 21661, + "loc": { + "start": { + "line": 562, + "column": 28 + }, + "end": { + "line": 562, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 21631, + "end": 21659, + "loc": { + "start": { + "line": 562, + "column": 28 + }, + "end": { + "line": 562, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 21631, + "end": 21656, + "loc": { + "start": { + "line": 562, + "column": 28 + }, + "end": { + "line": 562, + "column": 53 + } + }, + "object": { + "type": "MemberExpression", + "start": 21631, + "end": 21653, + "loc": { + "start": { + "line": 562, + "column": 28 + }, + "end": { + "line": 562, + "column": 50 + } + }, + "object": { + "type": "MemberExpression", + "start": 21631, + "end": 21646, + "loc": { + "start": { + "line": 562, + "column": 28 + }, + "end": { + "line": 562, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 21631, + "end": 21639, + "loc": { + "start": { + "line": 562, + "column": 28 + }, + "end": { + "line": 562, + "column": 36 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 21640, + "end": 21646, + "loc": { + "start": { + "line": 562, + "column": 37 + }, + "end": { + "line": 562, + "column": 43 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 21647, + "end": 21653, + "loc": { + "start": { + "line": 562, + "column": 44 + }, + "end": { + "line": 562, + "column": 50 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 21654, + "end": 21656, + "loc": { + "start": { + "line": 562, + "column": 51 + }, + "end": { + "line": 562, + "column": 53 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 21657, + "end": 21659, + "loc": { + "start": { + "line": 562, + "column": 54 + }, + "end": { + "line": 562, + "column": 56 + }, + "identifierName": "ok" + }, + "name": "ok" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ExpressionStatement", + "start": 21691, + "end": 21698, + "loc": { + "start": { + "line": 563, + "column": 28 + }, + "end": { + "line": 563, + "column": 35 + } + }, + "expression": { + "type": "CallExpression", + "start": 21691, + "end": 21697, + "loc": { + "start": { + "line": 563, + "column": 28 + }, + "end": { + "line": 563, + "column": 34 + } + }, + "callee": { + "type": "Identifier", + "start": 21691, + "end": 21695, + "loc": { + "start": { + "line": 563, + "column": 28 + }, + "end": { + "line": 563, + "column": 32 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [] + } + } + ], + "directives": [] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 21754, + "end": 21835, + "loc": { + "start": { + "line": 565, + "column": 26 + }, + "end": { + "line": 567, + "column": 27 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 21754, + "end": 21760, + "loc": { + "start": { + "line": 565, + "column": 26 + }, + "end": { + "line": 565, + "column": 32 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "BlockStatement", + "start": 21764, + "end": 21835, + "loc": { + "start": { + "line": 565, + "column": 36 + }, + "end": { + "line": 567, + "column": 27 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 21794, + "end": 21807, + "loc": { + "start": { + "line": 566, + "column": 28 + }, + "end": { + "line": 566, + "column": 41 + } + }, + "expression": { + "type": "CallExpression", + "start": 21794, + "end": 21806, + "loc": { + "start": { + "line": 566, + "column": 28 + }, + "end": { + "line": 566, + "column": 40 + } + }, + "callee": { + "type": "Identifier", + "start": 21794, + "end": 21798, + "loc": { + "start": { + "line": 566, + "column": 28 + }, + "end": { + "line": 566, + "column": 32 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [ + { + "type": "Identifier", + "start": 21799, + "end": 21805, + "loc": { + "start": { + "line": 566, + "column": 33 + }, + "end": { + "line": 566, + "column": 39 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 21910, + "end": 21945, + "loc": { + "start": { + "line": 570, + "column": 22 + }, + "end": { + "line": 570, + "column": 57 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 21910, + "end": 21916, + "loc": { + "start": { + "line": 570, + "column": 22 + }, + "end": { + "line": 570, + "column": 28 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "CallExpression", + "start": 21920, + "end": 21945, + "loc": { + "start": { + "line": 570, + "column": 32 + }, + "end": { + "line": 570, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 21920, + "end": 21937, + "loc": { + "start": { + "line": 570, + "column": 32 + }, + "end": { + "line": 570, + "column": 49 + } + }, + "object": { + "type": "MemberExpression", + "start": 21920, + "end": 21930, + "loc": { + "start": { + "line": 570, + "column": 32 + }, + "end": { + "line": 570, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 21920, + "end": 21926, + "loc": { + "start": { + "line": 570, + "column": 32 + }, + "end": { + "line": 570, + "column": 38 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 21927, + "end": 21930, + "loc": { + "start": { + "line": 570, + "column": 39 + }, + "end": { + "line": 570, + "column": 42 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 21931, + "end": 21937, + "loc": { + "start": { + "line": 570, + "column": 43 + }, + "end": { + "line": 570, + "column": 49 + }, + "identifierName": "exists" + }, + "name": "exists" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 21938, + "end": 21944, + "loc": { + "start": { + "line": 570, + "column": 50 + }, + "end": { + "line": 570, + "column": 56 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "VariableDeclaration", + "start": 22022, + "end": 22126, + "loc": { + "start": { + "line": 575, + "column": 14 + }, + "end": { + "line": 577, + "column": 16 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 22028, + "end": 22125, + "loc": { + "start": { + "line": 575, + "column": 20 + }, + "end": { + "line": 577, + "column": 15 + } + }, + "id": { + "type": "Identifier", + "start": 22028, + "end": 22029, + "loc": { + "start": { + "line": 575, + "column": 20 + }, + "end": { + "line": 575, + "column": 21 + }, + "identifierName": "f" + }, + "name": "f" + }, + "init": { + "type": "CallExpression", + "start": 22032, + "end": 22125, + "loc": { + "start": { + "line": 575, + "column": 24 + }, + "end": { + "line": 577, + "column": 15 + } + }, + "callee": { + "type": "MemberExpression", + "start": 22032, + "end": 22071, + "loc": { + "start": { + "line": 575, + "column": 24 + }, + "end": { + "line": 575, + "column": 63 + } + }, + "object": { + "type": "Identifier", + "start": 22032, + "end": 22057, + "loc": { + "start": { + "line": 575, + "column": 24 + }, + "end": { + "line": 575, + "column": 49 + }, + "identifierName": "newReleaseCategoryFetcher" + }, + "name": "newReleaseCategoryFetcher" + }, + "property": { + "type": "Identifier", + "start": 22058, + "end": 22071, + "loc": { + "start": { + "line": 575, + "column": 50 + }, + "end": { + "line": 575, + "column": 63 + }, + "identifierName": "setCategoryID" + }, + "name": "setCategoryID" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 22089, + "end": 22109, + "loc": { + "start": { + "line": 576, + "column": 16 + }, + "end": { + "line": 576, + "column": 36 + } + }, + "extra": { + "rawValue": "Cng5IUIQhxb8w1cbsz", + "raw": "'Cng5IUIQhxb8w1cbsz'" + }, + "value": "Cng5IUIQhxb8w1cbsz" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 22141, + "end": 22518, + "loc": { + "start": { + "line": 578, + "column": 14 + }, + "end": { + "line": 587, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 22141, + "end": 22517, + "loc": { + "start": { + "line": 578, + "column": 14 + }, + "end": { + "line": 587, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 22141, + "end": 22149, + "loc": { + "start": { + "line": 578, + "column": 14 + }, + "end": { + "line": 578, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 22150, + "end": 22168, + "loc": { + "start": { + "line": 578, + "column": 23 + }, + "end": { + "line": 578, + "column": 41 + } + }, + "extra": { + "rawValue": "#fetchMetadata()", + "raw": "'#fetchMetadata()'" + }, + "value": "#fetchMetadata()" + }, + { + "type": "ArrowFunctionExpression", + "start": 22170, + "end": 22516, + "loc": { + "start": { + "line": 578, + "column": 43 + }, + "end": { + "line": 587, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 22176, + "end": 22516, + "loc": { + "start": { + "line": 578, + "column": 49 + }, + "end": { + "line": 587, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 22194, + "end": 22500, + "loc": { + "start": { + "line": 579, + "column": 16 + }, + "end": { + "line": 586, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 22194, + "end": 22499, + "loc": { + "start": { + "line": 579, + "column": 16 + }, + "end": { + "line": 586, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 22194, + "end": 22196, + "loc": { + "start": { + "line": 579, + "column": 16 + }, + "end": { + "line": 579, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 22197, + "end": 22225, + "loc": { + "start": { + "line": 579, + "column": 19 + }, + "end": { + "line": 579, + "column": 47 + } + }, + "extra": { + "rawValue": "should response status 200", + "raw": "'should response status 200'" + }, + "value": "should response status 200" + }, + { + "type": "ArrowFunctionExpression", + "start": 22227, + "end": 22498, + "loc": { + "start": { + "line": 579, + "column": 49 + }, + "end": { + "line": 586, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 22233, + "end": 22498, + "loc": { + "start": { + "line": 579, + "column": 55 + }, + "end": { + "line": 586, + "column": 17 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 22253, + "end": 22480, + "loc": { + "start": { + "line": 580, + "column": 18 + }, + "end": { + "line": 585, + "column": 22 + } + }, + "argument": { + "type": "CallExpression", + "start": 22260, + "end": 22479, + "loc": { + "start": { + "line": 580, + "column": 25 + }, + "end": { + "line": 585, + "column": 21 + } + }, + "callee": { + "type": "MemberExpression", + "start": 22260, + "end": 22324, + "loc": { + "start": { + "line": 580, + "column": 25 + }, + "end": { + "line": 582, + "column": 25 + } + }, + "object": { + "type": "CallExpression", + "start": 22260, + "end": 22298, + "loc": { + "start": { + "line": 580, + "column": 25 + }, + "end": { + "line": 581, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 22260, + "end": 22296, + "loc": { + "start": { + "line": 580, + "column": 25 + }, + "end": { + "line": 581, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 22260, + "end": 22261, + "loc": { + "start": { + "line": 580, + "column": 25 + }, + "end": { + "line": 580, + "column": 26 + }, + "identifierName": "f" + }, + "name": "f" + }, + "property": { + "type": "Identifier", + "start": 22283, + "end": 22296, + "loc": { + "start": { + "line": 581, + "column": 21 + }, + "end": { + "line": 581, + "column": 34 + }, + "identifierName": "fetchMetadata" + }, + "name": "fetchMetadata" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 22320, + "end": 22324, + "loc": { + "start": { + "line": 582, + "column": 21 + }, + "end": { + "line": 582, + "column": 25 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 22348, + "end": 22398, + "loc": { + "start": { + "line": 583, + "column": 22 + }, + "end": { + "line": 583, + "column": 72 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 22348, + "end": 22356, + "loc": { + "start": { + "line": 583, + "column": 22 + }, + "end": { + "line": 583, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "CallExpression", + "start": 22360, + "end": 22398, + "loc": { + "start": { + "line": 583, + "column": 34 + }, + "end": { + "line": 583, + "column": 72 + } + }, + "callee": { + "type": "MemberExpression", + "start": 22360, + "end": 22393, + "loc": { + "start": { + "line": 583, + "column": 34 + }, + "end": { + "line": 583, + "column": 67 + } + }, + "object": { + "type": "MemberExpression", + "start": 22360, + "end": 22385, + "loc": { + "start": { + "line": 583, + "column": 34 + }, + "end": { + "line": 583, + "column": 59 + } + }, + "object": { + "type": "MemberExpression", + "start": 22360, + "end": 22382, + "loc": { + "start": { + "line": 583, + "column": 34 + }, + "end": { + "line": 583, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 22360, + "end": 22375, + "loc": { + "start": { + "line": 583, + "column": 34 + }, + "end": { + "line": 583, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 22360, + "end": 22368, + "loc": { + "start": { + "line": 583, + "column": 34 + }, + "end": { + "line": 583, + "column": 42 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 22369, + "end": 22375, + "loc": { + "start": { + "line": 583, + "column": 43 + }, + "end": { + "line": 583, + "column": 49 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22376, + "end": 22382, + "loc": { + "start": { + "line": 583, + "column": 50 + }, + "end": { + "line": 583, + "column": 56 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22383, + "end": 22385, + "loc": { + "start": { + "line": 583, + "column": 57 + }, + "end": { + "line": 583, + "column": 59 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22386, + "end": 22393, + "loc": { + "start": { + "line": 583, + "column": 60 + }, + "end": { + "line": 583, + "column": 67 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 22394, + "end": 22397, + "loc": { + "start": { + "line": 583, + "column": 68 + }, + "end": { + "line": 583, + "column": 71 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 22422, + "end": 22457, + "loc": { + "start": { + "line": 584, + "column": 22 + }, + "end": { + "line": 584, + "column": 57 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 22422, + "end": 22428, + "loc": { + "start": { + "line": 584, + "column": 22 + }, + "end": { + "line": 584, + "column": 28 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "CallExpression", + "start": 22432, + "end": 22457, + "loc": { + "start": { + "line": 584, + "column": 32 + }, + "end": { + "line": 584, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 22432, + "end": 22449, + "loc": { + "start": { + "line": 584, + "column": 32 + }, + "end": { + "line": 584, + "column": 49 + } + }, + "object": { + "type": "MemberExpression", + "start": 22432, + "end": 22442, + "loc": { + "start": { + "line": 584, + "column": 32 + }, + "end": { + "line": 584, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 22432, + "end": 22438, + "loc": { + "start": { + "line": 584, + "column": 32 + }, + "end": { + "line": 584, + "column": 38 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 22439, + "end": 22442, + "loc": { + "start": { + "line": 584, + "column": 39 + }, + "end": { + "line": 584, + "column": 42 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22443, + "end": 22449, + "loc": { + "start": { + "line": 584, + "column": 43 + }, + "end": { + "line": 584, + "column": 49 + }, + "identifierName": "exists" + }, + "name": "exists" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 22450, + "end": 22456, + "loc": { + "start": { + "line": 584, + "column": 50 + }, + "end": { + "line": 584, + "column": 56 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 22534, + "end": 23163, + "loc": { + "start": { + "line": 589, + "column": 14 + }, + "end": { + "line": 604, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 22534, + "end": 23162, + "loc": { + "start": { + "line": 589, + "column": 14 + }, + "end": { + "line": 604, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 22534, + "end": 22542, + "loc": { + "start": { + "line": 589, + "column": 14 + }, + "end": { + "line": 589, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 22543, + "end": 22559, + "loc": { + "start": { + "line": 589, + "column": 23 + }, + "end": { + "line": 589, + "column": 39 + } + }, + "extra": { + "rawValue": "#fetchAlbums()", + "raw": "'#fetchAlbums()'" + }, + "value": "#fetchAlbums()" + }, + { + "type": "ArrowFunctionExpression", + "start": 22561, + "end": 23161, + "loc": { + "start": { + "line": 589, + "column": 41 + }, + "end": { + "line": 604, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 22567, + "end": 23161, + "loc": { + "start": { + "line": 589, + "column": 47 + }, + "end": { + "line": 604, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 22585, + "end": 23145, + "loc": { + "start": { + "line": 590, + "column": 16 + }, + "end": { + "line": 603, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 22585, + "end": 23144, + "loc": { + "start": { + "line": 590, + "column": 16 + }, + "end": { + "line": 603, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 22585, + "end": 22587, + "loc": { + "start": { + "line": 590, + "column": 16 + }, + "end": { + "line": 590, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 22588, + "end": 22651, + "loc": { + "start": { + "line": 590, + "column": 19 + }, + "end": { + "line": 590, + "column": 82 + } + }, + "extra": { + "rawValue": "should response status 200 and fetch next page should succeed", + "raw": "'should response status 200 and fetch next page should succeed'" + }, + "value": "should response status 200 and fetch next page should succeed" + }, + { + "type": "ArrowFunctionExpression", + "start": 22653, + "end": 23143, + "loc": { + "start": { + "line": 590, + "column": 84 + }, + "end": { + "line": 603, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 22653, + "end": 22657, + "loc": { + "start": { + "line": 590, + "column": 84 + }, + "end": { + "line": 590, + "column": 88 + }, + "identifierName": "done" + }, + "name": "done" + } + ], + "body": { + "type": "BlockStatement", + "start": 22661, + "end": 23143, + "loc": { + "start": { + "line": 590, + "column": 92 + }, + "end": { + "line": 603, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 22681, + "end": 23125, + "loc": { + "start": { + "line": 591, + "column": 18 + }, + "end": { + "line": 602, + "column": 21 + } + }, + "expression": { + "type": "CallExpression", + "start": 22681, + "end": 23124, + "loc": { + "start": { + "line": 591, + "column": 18 + }, + "end": { + "line": 602, + "column": 20 + } + }, + "callee": { + "type": "MemberExpression", + "start": 22681, + "end": 22701, + "loc": { + "start": { + "line": 591, + "column": 18 + }, + "end": { + "line": 591, + "column": 38 + } + }, + "object": { + "type": "CallExpression", + "start": 22681, + "end": 22696, + "loc": { + "start": { + "line": 591, + "column": 18 + }, + "end": { + "line": 591, + "column": 33 + } + }, + "callee": { + "type": "MemberExpression", + "start": 22681, + "end": 22694, + "loc": { + "start": { + "line": 591, + "column": 18 + }, + "end": { + "line": 591, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 22681, + "end": 22682, + "loc": { + "start": { + "line": 591, + "column": 18 + }, + "end": { + "line": 591, + "column": 19 + }, + "identifierName": "f" + }, + "name": "f" + }, + "property": { + "type": "Identifier", + "start": 22683, + "end": 22694, + "loc": { + "start": { + "line": 591, + "column": 20 + }, + "end": { + "line": 591, + "column": 31 + }, + "identifierName": "fetchAlbums" + }, + "name": "fetchAlbums" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 22697, + "end": 22701, + "loc": { + "start": { + "line": 591, + "column": 34 + }, + "end": { + "line": 591, + "column": 38 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 22702, + "end": 23123, + "loc": { + "start": { + "line": 591, + "column": 39 + }, + "end": { + "line": 602, + "column": 19 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 22702, + "end": 22710, + "loc": { + "start": { + "line": 591, + "column": 39 + }, + "end": { + "line": 591, + "column": 47 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 22714, + "end": 23123, + "loc": { + "start": { + "line": 591, + "column": 51 + }, + "end": { + "line": 602, + "column": 19 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 22736, + "end": 22775, + "loc": { + "start": { + "line": 592, + "column": 20 + }, + "end": { + "line": 592, + "column": 59 + } + }, + "expression": { + "type": "CallExpression", + "start": 22736, + "end": 22774, + "loc": { + "start": { + "line": 592, + "column": 20 + }, + "end": { + "line": 592, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 22736, + "end": 22769, + "loc": { + "start": { + "line": 592, + "column": 20 + }, + "end": { + "line": 592, + "column": 53 + } + }, + "object": { + "type": "MemberExpression", + "start": 22736, + "end": 22761, + "loc": { + "start": { + "line": 592, + "column": 20 + }, + "end": { + "line": 592, + "column": 45 + } + }, + "object": { + "type": "MemberExpression", + "start": 22736, + "end": 22758, + "loc": { + "start": { + "line": 592, + "column": 20 + }, + "end": { + "line": 592, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 22736, + "end": 22751, + "loc": { + "start": { + "line": 592, + "column": 20 + }, + "end": { + "line": 592, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 22736, + "end": 22744, + "loc": { + "start": { + "line": 592, + "column": 20 + }, + "end": { + "line": 592, + "column": 28 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 22745, + "end": 22751, + "loc": { + "start": { + "line": 592, + "column": 29 + }, + "end": { + "line": 592, + "column": 35 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22752, + "end": 22758, + "loc": { + "start": { + "line": 592, + "column": 36 + }, + "end": { + "line": 592, + "column": 42 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22759, + "end": 22761, + "loc": { + "start": { + "line": 592, + "column": 43 + }, + "end": { + "line": 592, + "column": 45 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22762, + "end": 22769, + "loc": { + "start": { + "line": 592, + "column": 46 + }, + "end": { + "line": 592, + "column": 53 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 22770, + "end": 22773, + "loc": { + "start": { + "line": 592, + "column": 54 + }, + "end": { + "line": 592, + "column": 57 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 22796, + "end": 23103, + "loc": { + "start": { + "line": 593, + "column": 20 + }, + "end": { + "line": 601, + "column": 22 + } + }, + "expression": { + "type": "CallExpression", + "start": 22796, + "end": 23102, + "loc": { + "start": { + "line": 593, + "column": 20 + }, + "end": { + "line": 601, + "column": 21 + } + }, + "callee": { + "type": "MemberExpression", + "start": 22796, + "end": 22826, + "loc": { + "start": { + "line": 593, + "column": 20 + }, + "end": { + "line": 593, + "column": 50 + } + }, + "object": { + "type": "CallExpression", + "start": 22796, + "end": 22821, + "loc": { + "start": { + "line": 593, + "column": 20 + }, + "end": { + "line": 593, + "column": 45 + } + }, + "callee": { + "type": "MemberExpression", + "start": 22796, + "end": 22811, + "loc": { + "start": { + "line": 593, + "column": 20 + }, + "end": { + "line": 593, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 22796, + "end": 22797, + "loc": { + "start": { + "line": 593, + "column": 20 + }, + "end": { + "line": 593, + "column": 21 + }, + "identifierName": "f" + }, + "name": "f" + }, + "property": { + "type": "Identifier", + "start": 22798, + "end": 22811, + "loc": { + "start": { + "line": 593, + "column": 22 + }, + "end": { + "line": 593, + "column": 35 + }, + "identifierName": "fetchNextPage" + }, + "name": "fetchNextPage" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 22812, + "end": 22820, + "loc": { + "start": { + "line": 593, + "column": 36 + }, + "end": { + "line": 593, + "column": 44 + }, + "identifierName": "response" + }, + "name": "response" + } + ] + }, + "property": { + "type": "Identifier", + "start": 22822, + "end": 22826, + "loc": { + "start": { + "line": 593, + "column": 46 + }, + "end": { + "line": 593, + "column": 50 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 22850, + "end": 22983, + "loc": { + "start": { + "line": 594, + "column": 22 + }, + "end": { + "line": 597, + "column": 23 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 22850, + "end": 22858, + "loc": { + "start": { + "line": 594, + "column": 22 + }, + "end": { + "line": 594, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 22862, + "end": 22983, + "loc": { + "start": { + "line": 594, + "column": 34 + }, + "end": { + "line": 597, + "column": 23 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 22888, + "end": 22927, + "loc": { + "start": { + "line": 595, + "column": 24 + }, + "end": { + "line": 595, + "column": 63 + } + }, + "expression": { + "type": "CallExpression", + "start": 22888, + "end": 22926, + "loc": { + "start": { + "line": 595, + "column": 24 + }, + "end": { + "line": 595, + "column": 62 + } + }, + "callee": { + "type": "MemberExpression", + "start": 22888, + "end": 22921, + "loc": { + "start": { + "line": 595, + "column": 24 + }, + "end": { + "line": 595, + "column": 57 + } + }, + "object": { + "type": "MemberExpression", + "start": 22888, + "end": 22913, + "loc": { + "start": { + "line": 595, + "column": 24 + }, + "end": { + "line": 595, + "column": 49 + } + }, + "object": { + "type": "MemberExpression", + "start": 22888, + "end": 22910, + "loc": { + "start": { + "line": 595, + "column": 24 + }, + "end": { + "line": 595, + "column": 46 + } + }, + "object": { + "type": "MemberExpression", + "start": 22888, + "end": 22903, + "loc": { + "start": { + "line": 595, + "column": 24 + }, + "end": { + "line": 595, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 22888, + "end": 22896, + "loc": { + "start": { + "line": 595, + "column": 24 + }, + "end": { + "line": 595, + "column": 32 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 22897, + "end": 22903, + "loc": { + "start": { + "line": 595, + "column": 33 + }, + "end": { + "line": 595, + "column": 39 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22904, + "end": 22910, + "loc": { + "start": { + "line": 595, + "column": 40 + }, + "end": { + "line": 595, + "column": 46 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22911, + "end": 22913, + "loc": { + "start": { + "line": 595, + "column": 47 + }, + "end": { + "line": 595, + "column": 49 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22914, + "end": 22921, + "loc": { + "start": { + "line": 595, + "column": 50 + }, + "end": { + "line": 595, + "column": 57 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 22922, + "end": 22925, + "loc": { + "start": { + "line": 595, + "column": 58 + }, + "end": { + "line": 595, + "column": 61 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 22952, + "end": 22959, + "loc": { + "start": { + "line": 596, + "column": 24 + }, + "end": { + "line": 596, + "column": 31 + } + }, + "expression": { + "type": "CallExpression", + "start": 22952, + "end": 22958, + "loc": { + "start": { + "line": 596, + "column": 24 + }, + "end": { + "line": 596, + "column": 30 + } + }, + "callee": { + "type": "Identifier", + "start": 22952, + "end": 22956, + "loc": { + "start": { + "line": 596, + "column": 24 + }, + "end": { + "line": 596, + "column": 28 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [] + } + } + ], + "directives": [] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 23007, + "end": 23080, + "loc": { + "start": { + "line": 598, + "column": 22 + }, + "end": { + "line": 600, + "column": 23 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 23007, + "end": 23013, + "loc": { + "start": { + "line": 598, + "column": 22 + }, + "end": { + "line": 598, + "column": 28 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "BlockStatement", + "start": 23017, + "end": 23080, + "loc": { + "start": { + "line": 598, + "column": 32 + }, + "end": { + "line": 600, + "column": 23 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 23043, + "end": 23056, + "loc": { + "start": { + "line": 599, + "column": 24 + }, + "end": { + "line": 599, + "column": 37 + } + }, + "expression": { + "type": "CallExpression", + "start": 23043, + "end": 23055, + "loc": { + "start": { + "line": 599, + "column": 24 + }, + "end": { + "line": 599, + "column": 36 + } + }, + "callee": { + "type": "Identifier", + "start": 23043, + "end": 23047, + "loc": { + "start": { + "line": 599, + "column": 24 + }, + "end": { + "line": 599, + "column": 28 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [ + { + "type": "Identifier", + "start": 23048, + "end": 23054, + "loc": { + "start": { + "line": 599, + "column": 29 + }, + "end": { + "line": 599, + "column": 35 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 23193, + "end": 24768, + "loc": { + "start": { + "line": 607, + "column": 12 + }, + "end": { + "line": 648, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 23193, + "end": 24767, + "loc": { + "start": { + "line": 607, + "column": 12 + }, + "end": { + "line": 648, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 23193, + "end": 23201, + "loc": { + "start": { + "line": 607, + "column": 12 + }, + "end": { + "line": 607, + "column": 20 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 23202, + "end": 23222, + "loc": { + "start": { + "line": 607, + "column": 21 + }, + "end": { + "line": 607, + "column": 41 + } + }, + "extra": { + "rawValue": "New Hits Playlists", + "raw": "'New Hits Playlists'" + }, + "value": "New Hits Playlists" + }, + { + "type": "ArrowFunctionExpression", + "start": 23224, + "end": 24766, + "loc": { + "start": { + "line": 607, + "column": 43 + }, + "end": { + "line": 648, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 23230, + "end": 24766, + "loc": { + "start": { + "line": 607, + "column": 49 + }, + "end": { + "line": 648, + "column": 13 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 23246, + "end": 23348, + "loc": { + "start": { + "line": 608, + "column": 14 + }, + "end": { + "line": 610, + "column": 16 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 23252, + "end": 23347, + "loc": { + "start": { + "line": 608, + "column": 20 + }, + "end": { + "line": 610, + "column": 15 + } + }, + "id": { + "type": "Identifier", + "start": 23252, + "end": 23274, + "loc": { + "start": { + "line": 608, + "column": 20 + }, + "end": { + "line": 608, + "column": 42 + }, + "identifierName": "newHitsPlaylistFetcher" + }, + "name": "newHitsPlaylistFetcher" + }, + "init": { + "type": "NewExpression", + "start": 23277, + "end": 23347, + "loc": { + "start": { + "line": 608, + "column": 45 + }, + "end": { + "line": 610, + "column": 15 + } + }, + "callee": { + "type": "Identifier", + "start": 23281, + "end": 23303, + "loc": { + "start": { + "line": 608, + "column": 49 + }, + "end": { + "line": 608, + "column": 71 + }, + "identifierName": "NewHitsPlaylistFetcher" + }, + "name": "NewHitsPlaylistFetcher" + }, + "arguments": [ + { + "type": "Identifier", + "start": 23321, + "end": 23331, + "loc": { + "start": { + "line": 609, + "column": 16 + }, + "end": { + "line": 609, + "column": 26 + }, + "identifierName": "httpClient" + }, + "name": "httpClient" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 23363, + "end": 23754, + "loc": { + "start": { + "line": 611, + "column": 14 + }, + "end": { + "line": 620, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 23363, + "end": 23753, + "loc": { + "start": { + "line": 611, + "column": 14 + }, + "end": { + "line": 620, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 23363, + "end": 23371, + "loc": { + "start": { + "line": 611, + "column": 14 + }, + "end": { + "line": 611, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 23372, + "end": 23385, + "loc": { + "start": { + "line": 611, + "column": 23 + }, + "end": { + "line": 611, + "column": 36 + } + }, + "extra": { + "rawValue": "#fetchAll()", + "raw": "'#fetchAll()'" + }, + "value": "#fetchAll()" + }, + { + "type": "ArrowFunctionExpression", + "start": 23387, + "end": 23752, + "loc": { + "start": { + "line": 611, + "column": 38 + }, + "end": { + "line": 620, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 23393, + "end": 23752, + "loc": { + "start": { + "line": 611, + "column": 44 + }, + "end": { + "line": 620, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 23411, + "end": 23736, + "loc": { + "start": { + "line": 612, + "column": 16 + }, + "end": { + "line": 619, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 23411, + "end": 23735, + "loc": { + "start": { + "line": 612, + "column": 16 + }, + "end": { + "line": 619, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 23411, + "end": 23413, + "loc": { + "start": { + "line": 612, + "column": 16 + }, + "end": { + "line": 612, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 23414, + "end": 23430, + "loc": { + "start": { + "line": 612, + "column": 19 + }, + "end": { + "line": 612, + "column": 35 + } + }, + "extra": { + "rawValue": "should succeed", + "raw": "'should succeed'" + }, + "value": "should succeed" + }, + { + "type": "ArrowFunctionExpression", + "start": 23432, + "end": 23734, + "loc": { + "start": { + "line": 612, + "column": 37 + }, + "end": { + "line": 619, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 23438, + "end": 23734, + "loc": { + "start": { + "line": 612, + "column": 43 + }, + "end": { + "line": 619, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 23458, + "end": 23716, + "loc": { + "start": { + "line": 613, + "column": 18 + }, + "end": { + "line": 618, + "column": 62 + } + }, + "expression": { + "type": "CallExpression", + "start": 23458, + "end": 23715, + "loc": { + "start": { + "line": 613, + "column": 18 + }, + "end": { + "line": 618, + "column": 61 + } + }, + "callee": { + "type": "MemberExpression", + "start": 23458, + "end": 23680, + "loc": { + "start": { + "line": 613, + "column": 18 + }, + "end": { + "line": 618, + "column": 26 + } + }, + "object": { + "type": "CallExpression", + "start": 23458, + "end": 23653, + "loc": { + "start": { + "line": 613, + "column": 18 + }, + "end": { + "line": 617, + "column": 22 + } + }, + "callee": { + "type": "MemberExpression", + "start": 23458, + "end": 23554, + "loc": { + "start": { + "line": 613, + "column": 18 + }, + "end": { + "line": 615, + "column": 25 + } + }, + "object": { + "type": "CallExpression", + "start": 23458, + "end": 23528, + "loc": { + "start": { + "line": 613, + "column": 18 + }, + "end": { + "line": 614, + "column": 47 + } + }, + "callee": { + "type": "MemberExpression", + "start": 23458, + "end": 23526, + "loc": { + "start": { + "line": 613, + "column": 18 + }, + "end": { + "line": 614, + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 23458, + "end": 23480, + "loc": { + "start": { + "line": 613, + "column": 18 + }, + "end": { + "line": 613, + "column": 40 + }, + "identifierName": "newHitsPlaylistFetcher" + }, + "name": "newHitsPlaylistFetcher" + }, + "property": { + "type": "Identifier", + "start": 23502, + "end": 23526, + "loc": { + "start": { + "line": 614, + "column": 21 + }, + "end": { + "line": 614, + "column": 45 + }, + "identifierName": "fetchAllNewHitsPlaylists" + }, + "name": "fetchAllNewHitsPlaylists" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 23550, + "end": 23554, + "loc": { + "start": { + "line": 615, + "column": 21 + }, + "end": { + "line": 615, + "column": 25 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 23555, + "end": 23652, + "loc": { + "start": { + "line": 615, + "column": 26 + }, + "end": { + "line": 617, + "column": 21 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 23555, + "end": 23563, + "loc": { + "start": { + "line": 615, + "column": 26 + }, + "end": { + "line": 615, + "column": 34 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 23567, + "end": 23652, + "loc": { + "start": { + "line": 615, + "column": 38 + }, + "end": { + "line": 617, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 23591, + "end": 23630, + "loc": { + "start": { + "line": 616, + "column": 22 + }, + "end": { + "line": 616, + "column": 61 + } + }, + "expression": { + "type": "CallExpression", + "start": 23591, + "end": 23629, + "loc": { + "start": { + "line": 616, + "column": 22 + }, + "end": { + "line": 616, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 23591, + "end": 23624, + "loc": { + "start": { + "line": 616, + "column": 22 + }, + "end": { + "line": 616, + "column": 55 + } + }, + "object": { + "type": "MemberExpression", + "start": 23591, + "end": 23616, + "loc": { + "start": { + "line": 616, + "column": 22 + }, + "end": { + "line": 616, + "column": 47 + } + }, + "object": { + "type": "MemberExpression", + "start": 23591, + "end": 23613, + "loc": { + "start": { + "line": 616, + "column": 22 + }, + "end": { + "line": 616, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 23591, + "end": 23606, + "loc": { + "start": { + "line": 616, + "column": 22 + }, + "end": { + "line": 616, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 23591, + "end": 23599, + "loc": { + "start": { + "line": 616, + "column": 22 + }, + "end": { + "line": 616, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 23600, + "end": 23606, + "loc": { + "start": { + "line": 616, + "column": 31 + }, + "end": { + "line": 616, + "column": 37 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 23607, + "end": 23613, + "loc": { + "start": { + "line": 616, + "column": 38 + }, + "end": { + "line": 616, + "column": 44 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 23614, + "end": 23616, + "loc": { + "start": { + "line": 616, + "column": 45 + }, + "end": { + "line": 616, + "column": 47 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 23617, + "end": 23624, + "loc": { + "start": { + "line": 616, + "column": 48 + }, + "end": { + "line": 616, + "column": 55 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 23625, + "end": 23628, + "loc": { + "start": { + "line": 616, + "column": 56 + }, + "end": { + "line": 616, + "column": 59 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + } + ], + "directives": [] + } + } + ] + }, + "property": { + "type": "Identifier", + "start": 23675, + "end": 23680, + "loc": { + "start": { + "line": 618, + "column": 21 + }, + "end": { + "line": 618, + "column": 26 + }, + "identifierName": "catch" + }, + "name": "catch" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 23681, + "end": 23714, + "loc": { + "start": { + "line": 618, + "column": 27 + }, + "end": { + "line": 618, + "column": 60 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 23681, + "end": 23686, + "loc": { + "start": { + "line": 618, + "column": 27 + }, + "end": { + "line": 618, + "column": 32 + }, + "identifierName": "error" + }, + "name": "error" + } + ], + "body": { + "type": "CallExpression", + "start": 23690, + "end": 23714, + "loc": { + "start": { + "line": 618, + "column": 36 + }, + "end": { + "line": 618, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 23690, + "end": 23707, + "loc": { + "start": { + "line": 618, + "column": 36 + }, + "end": { + "line": 618, + "column": 53 + } + }, + "object": { + "type": "MemberExpression", + "start": 23690, + "end": 23700, + "loc": { + "start": { + "line": 618, + "column": 36 + }, + "end": { + "line": 618, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 23690, + "end": 23696, + "loc": { + "start": { + "line": 618, + "column": 36 + }, + "end": { + "line": 618, + "column": 42 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 23697, + "end": 23700, + "loc": { + "start": { + "line": 618, + "column": 43 + }, + "end": { + "line": 618, + "column": 46 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 23701, + "end": 23707, + "loc": { + "start": { + "line": 618, + "column": 47 + }, + "end": { + "line": 618, + "column": 53 + }, + "identifierName": "exists" + }, + "name": "exists" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 23708, + "end": 23713, + "loc": { + "start": { + "line": 618, + "column": 54 + }, + "end": { + "line": 618, + "column": 59 + }, + "identifierName": "error" + }, + "name": "error" + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "VariableDeclaration", + "start": 23770, + "end": 23871, + "loc": { + "start": { + "line": 622, + "column": 14 + }, + "end": { + "line": 624, + "column": 16 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 23776, + "end": 23870, + "loc": { + "start": { + "line": 622, + "column": 20 + }, + "end": { + "line": 624, + "column": 15 + } + }, + "id": { + "type": "Identifier", + "start": 23776, + "end": 23777, + "loc": { + "start": { + "line": 622, + "column": 20 + }, + "end": { + "line": 622, + "column": 21 + }, + "identifierName": "f" + }, + "name": "f" + }, + "init": { + "type": "CallExpression", + "start": 23780, + "end": 23870, + "loc": { + "start": { + "line": 622, + "column": 24 + }, + "end": { + "line": 624, + "column": 15 + } + }, + "callee": { + "type": "MemberExpression", + "start": 23780, + "end": 23816, + "loc": { + "start": { + "line": 622, + "column": 24 + }, + "end": { + "line": 622, + "column": 60 + } + }, + "object": { + "type": "Identifier", + "start": 23780, + "end": 23802, + "loc": { + "start": { + "line": 622, + "column": 24 + }, + "end": { + "line": 622, + "column": 46 + }, + "identifierName": "newHitsPlaylistFetcher" + }, + "name": "newHitsPlaylistFetcher" + }, + "property": { + "type": "Identifier", + "start": 23803, + "end": 23816, + "loc": { + "start": { + "line": 622, + "column": 47 + }, + "end": { + "line": 622, + "column": 60 + }, + "identifierName": "setPlaylistID" + }, + "name": "setPlaylistID" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 23834, + "end": 23854, + "loc": { + "start": { + "line": 623, + "column": 16 + }, + "end": { + "line": 623, + "column": 36 + } + }, + "extra": { + "rawValue": "DZni8m29ciOFbRxTJq", + "raw": "'DZni8m29ciOFbRxTJq'" + }, + "value": "DZni8m29ciOFbRxTJq" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 23886, + "end": 24313, + "loc": { + "start": { + "line": 625, + "column": 14 + }, + "end": { + "line": 635, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 23886, + "end": 24312, + "loc": { + "start": { + "line": 625, + "column": 14 + }, + "end": { + "line": 635, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 23886, + "end": 23894, + "loc": { + "start": { + "line": 625, + "column": 14 + }, + "end": { + "line": 625, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 23895, + "end": 23913, + "loc": { + "start": { + "line": 625, + "column": 23 + }, + "end": { + "line": 625, + "column": 41 + } + }, + "extra": { + "rawValue": "#fetchMetadata()", + "raw": "'#fetchMetadata()'" + }, + "value": "#fetchMetadata()" + }, + { + "type": "ArrowFunctionExpression", + "start": 23915, + "end": 24311, + "loc": { + "start": { + "line": 625, + "column": 43 + }, + "end": { + "line": 635, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 23921, + "end": 24311, + "loc": { + "start": { + "line": 625, + "column": 49 + }, + "end": { + "line": 635, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 23939, + "end": 24295, + "loc": { + "start": { + "line": 626, + "column": 16 + }, + "end": { + "line": 634, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 23939, + "end": 24294, + "loc": { + "start": { + "line": 626, + "column": 16 + }, + "end": { + "line": 634, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 23939, + "end": 23941, + "loc": { + "start": { + "line": 626, + "column": 16 + }, + "end": { + "line": 626, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 23942, + "end": 23958, + "loc": { + "start": { + "line": 626, + "column": 19 + }, + "end": { + "line": 626, + "column": 35 + } + }, + "extra": { + "rawValue": "should succeed", + "raw": "'should succeed'" + }, + "value": "should succeed" + }, + { + "type": "ArrowFunctionExpression", + "start": 23960, + "end": 24293, + "loc": { + "start": { + "line": 626, + "column": 37 + }, + "end": { + "line": 634, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 23966, + "end": 24293, + "loc": { + "start": { + "line": 626, + "column": 43 + }, + "end": { + "line": 634, + "column": 17 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 23986, + "end": 24275, + "loc": { + "start": { + "line": 627, + "column": 18 + }, + "end": { + "line": 633, + "column": 62 + } + }, + "argument": { + "type": "CallExpression", + "start": 23993, + "end": 24274, + "loc": { + "start": { + "line": 627, + "column": 25 + }, + "end": { + "line": 633, + "column": 61 + } + }, + "callee": { + "type": "MemberExpression", + "start": 23993, + "end": 24239, + "loc": { + "start": { + "line": 627, + "column": 25 + }, + "end": { + "line": 633, + "column": 26 + } + }, + "object": { + "type": "CallExpression", + "start": 23993, + "end": 24212, + "loc": { + "start": { + "line": 627, + "column": 25 + }, + "end": { + "line": 632, + "column": 21 + } + }, + "callee": { + "type": "MemberExpression", + "start": 23993, + "end": 24057, + "loc": { + "start": { + "line": 627, + "column": 25 + }, + "end": { + "line": 629, + "column": 25 + } + }, + "object": { + "type": "CallExpression", + "start": 23993, + "end": 24031, + "loc": { + "start": { + "line": 627, + "column": 25 + }, + "end": { + "line": 628, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 23993, + "end": 24029, + "loc": { + "start": { + "line": 627, + "column": 25 + }, + "end": { + "line": 628, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 23993, + "end": 23994, + "loc": { + "start": { + "line": 627, + "column": 25 + }, + "end": { + "line": 627, + "column": 26 + }, + "identifierName": "f" + }, + "name": "f" + }, + "property": { + "type": "Identifier", + "start": 24016, + "end": 24029, + "loc": { + "start": { + "line": 628, + "column": 21 + }, + "end": { + "line": 628, + "column": 34 + }, + "identifierName": "fetchMetadata" + }, + "name": "fetchMetadata" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 24053, + "end": 24057, + "loc": { + "start": { + "line": 629, + "column": 21 + }, + "end": { + "line": 629, + "column": 25 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 24081, + "end": 24131, + "loc": { + "start": { + "line": 630, + "column": 22 + }, + "end": { + "line": 630, + "column": 72 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 24081, + "end": 24089, + "loc": { + "start": { + "line": 630, + "column": 22 + }, + "end": { + "line": 630, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "CallExpression", + "start": 24093, + "end": 24131, + "loc": { + "start": { + "line": 630, + "column": 34 + }, + "end": { + "line": 630, + "column": 72 + } + }, + "callee": { + "type": "MemberExpression", + "start": 24093, + "end": 24126, + "loc": { + "start": { + "line": 630, + "column": 34 + }, + "end": { + "line": 630, + "column": 67 + } + }, + "object": { + "type": "MemberExpression", + "start": 24093, + "end": 24118, + "loc": { + "start": { + "line": 630, + "column": 34 + }, + "end": { + "line": 630, + "column": 59 + } + }, + "object": { + "type": "MemberExpression", + "start": 24093, + "end": 24115, + "loc": { + "start": { + "line": 630, + "column": 34 + }, + "end": { + "line": 630, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 24093, + "end": 24108, + "loc": { + "start": { + "line": 630, + "column": 34 + }, + "end": { + "line": 630, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 24093, + "end": 24101, + "loc": { + "start": { + "line": 630, + "column": 34 + }, + "end": { + "line": 630, + "column": 42 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 24102, + "end": 24108, + "loc": { + "start": { + "line": 630, + "column": 43 + }, + "end": { + "line": 630, + "column": 49 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 24109, + "end": 24115, + "loc": { + "start": { + "line": 630, + "column": 50 + }, + "end": { + "line": 630, + "column": 56 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 24116, + "end": 24118, + "loc": { + "start": { + "line": 630, + "column": 57 + }, + "end": { + "line": 630, + "column": 59 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 24119, + "end": 24126, + "loc": { + "start": { + "line": 630, + "column": 60 + }, + "end": { + "line": 630, + "column": 67 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 24127, + "end": 24130, + "loc": { + "start": { + "line": 630, + "column": 68 + }, + "end": { + "line": 630, + "column": 71 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 24155, + "end": 24190, + "loc": { + "start": { + "line": 631, + "column": 22 + }, + "end": { + "line": 631, + "column": 57 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 24155, + "end": 24161, + "loc": { + "start": { + "line": 631, + "column": 22 + }, + "end": { + "line": 631, + "column": 28 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "CallExpression", + "start": 24165, + "end": 24190, + "loc": { + "start": { + "line": 631, + "column": 32 + }, + "end": { + "line": 631, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 24165, + "end": 24182, + "loc": { + "start": { + "line": 631, + "column": 32 + }, + "end": { + "line": 631, + "column": 49 + } + }, + "object": { + "type": "MemberExpression", + "start": 24165, + "end": 24175, + "loc": { + "start": { + "line": 631, + "column": 32 + }, + "end": { + "line": 631, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 24165, + "end": 24171, + "loc": { + "start": { + "line": 631, + "column": 32 + }, + "end": { + "line": 631, + "column": 38 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 24172, + "end": 24175, + "loc": { + "start": { + "line": 631, + "column": 39 + }, + "end": { + "line": 631, + "column": 42 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 24176, + "end": 24182, + "loc": { + "start": { + "line": 631, + "column": 43 + }, + "end": { + "line": 631, + "column": 49 + }, + "identifierName": "exists" + }, + "name": "exists" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 24183, + "end": 24189, + "loc": { + "start": { + "line": 631, + "column": 50 + }, + "end": { + "line": 631, + "column": 56 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + } + ] + }, + "property": { + "type": "Identifier", + "start": 24234, + "end": 24239, + "loc": { + "start": { + "line": 633, + "column": 21 + }, + "end": { + "line": 633, + "column": 26 + }, + "identifierName": "catch" + }, + "name": "catch" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 24240, + "end": 24273, + "loc": { + "start": { + "line": 633, + "column": 27 + }, + "end": { + "line": 633, + "column": 60 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 24240, + "end": 24245, + "loc": { + "start": { + "line": 633, + "column": 27 + }, + "end": { + "line": 633, + "column": 32 + }, + "identifierName": "error" + }, + "name": "error" + } + ], + "body": { + "type": "CallExpression", + "start": 24249, + "end": 24273, + "loc": { + "start": { + "line": 633, + "column": 36 + }, + "end": { + "line": 633, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 24249, + "end": 24266, + "loc": { + "start": { + "line": 633, + "column": 36 + }, + "end": { + "line": 633, + "column": 53 + } + }, + "object": { + "type": "MemberExpression", + "start": 24249, + "end": 24259, + "loc": { + "start": { + "line": 633, + "column": 36 + }, + "end": { + "line": 633, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 24249, + "end": 24255, + "loc": { + "start": { + "line": 633, + "column": 36 + }, + "end": { + "line": 633, + "column": 42 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 24256, + "end": 24259, + "loc": { + "start": { + "line": 633, + "column": 43 + }, + "end": { + "line": 633, + "column": 46 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 24260, + "end": 24266, + "loc": { + "start": { + "line": 633, + "column": 47 + }, + "end": { + "line": 633, + "column": 53 + }, + "identifierName": "exsits" + }, + "name": "exsits" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 24267, + "end": 24272, + "loc": { + "start": { + "line": 633, + "column": 54 + }, + "end": { + "line": 633, + "column": 59 + }, + "identifierName": "error" + }, + "name": "error" + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 24329, + "end": 24752, + "loc": { + "start": { + "line": 637, + "column": 14 + }, + "end": { + "line": 647, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 24329, + "end": 24751, + "loc": { + "start": { + "line": 637, + "column": 14 + }, + "end": { + "line": 647, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 24329, + "end": 24337, + "loc": { + "start": { + "line": 637, + "column": 14 + }, + "end": { + "line": 637, + "column": 22 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 24338, + "end": 24354, + "loc": { + "start": { + "line": 637, + "column": 23 + }, + "end": { + "line": 637, + "column": 39 + } + }, + "extra": { + "rawValue": "#fetchTracks()", + "raw": "'#fetchTracks()'" + }, + "value": "#fetchTracks()" + }, + { + "type": "ArrowFunctionExpression", + "start": 24356, + "end": 24750, + "loc": { + "start": { + "line": 637, + "column": 41 + }, + "end": { + "line": 647, + "column": 15 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 24362, + "end": 24750, + "loc": { + "start": { + "line": 637, + "column": 47 + }, + "end": { + "line": 647, + "column": 15 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 24380, + "end": 24734, + "loc": { + "start": { + "line": 638, + "column": 16 + }, + "end": { + "line": 646, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 24380, + "end": 24733, + "loc": { + "start": { + "line": 638, + "column": 16 + }, + "end": { + "line": 646, + "column": 18 + } + }, + "callee": { + "type": "Identifier", + "start": 24380, + "end": 24382, + "loc": { + "start": { + "line": 638, + "column": 16 + }, + "end": { + "line": 638, + "column": 18 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 24383, + "end": 24399, + "loc": { + "start": { + "line": 638, + "column": 19 + }, + "end": { + "line": 638, + "column": 35 + } + }, + "extra": { + "rawValue": "should succeed", + "raw": "'should succeed'" + }, + "value": "should succeed" + }, + { + "type": "ArrowFunctionExpression", + "start": 24401, + "end": 24732, + "loc": { + "start": { + "line": 638, + "column": 37 + }, + "end": { + "line": 646, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 24407, + "end": 24732, + "loc": { + "start": { + "line": 638, + "column": 43 + }, + "end": { + "line": 646, + "column": 17 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 24427, + "end": 24714, + "loc": { + "start": { + "line": 639, + "column": 18 + }, + "end": { + "line": 645, + "column": 62 + } + }, + "argument": { + "type": "CallExpression", + "start": 24434, + "end": 24713, + "loc": { + "start": { + "line": 639, + "column": 25 + }, + "end": { + "line": 645, + "column": 61 + } + }, + "callee": { + "type": "MemberExpression", + "start": 24434, + "end": 24678, + "loc": { + "start": { + "line": 639, + "column": 25 + }, + "end": { + "line": 645, + "column": 26 + } + }, + "object": { + "type": "CallExpression", + "start": 24434, + "end": 24651, + "loc": { + "start": { + "line": 639, + "column": 25 + }, + "end": { + "line": 644, + "column": 21 + } + }, + "callee": { + "type": "MemberExpression", + "start": 24434, + "end": 24496, + "loc": { + "start": { + "line": 639, + "column": 25 + }, + "end": { + "line": 641, + "column": 25 + } + }, + "object": { + "type": "CallExpression", + "start": 24434, + "end": 24470, + "loc": { + "start": { + "line": 639, + "column": 25 + }, + "end": { + "line": 640, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 24434, + "end": 24468, + "loc": { + "start": { + "line": 639, + "column": 25 + }, + "end": { + "line": 640, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 24434, + "end": 24435, + "loc": { + "start": { + "line": 639, + "column": 25 + }, + "end": { + "line": 639, + "column": 26 + }, + "identifierName": "f" + }, + "name": "f" + }, + "property": { + "type": "Identifier", + "start": 24457, + "end": 24468, + "loc": { + "start": { + "line": 640, + "column": 21 + }, + "end": { + "line": 640, + "column": 32 + }, + "identifierName": "fetchTracks" + }, + "name": "fetchTracks" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 24492, + "end": 24496, + "loc": { + "start": { + "line": 641, + "column": 21 + }, + "end": { + "line": 641, + "column": 25 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 24520, + "end": 24570, + "loc": { + "start": { + "line": 642, + "column": 22 + }, + "end": { + "line": 642, + "column": 72 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 24520, + "end": 24528, + "loc": { + "start": { + "line": 642, + "column": 22 + }, + "end": { + "line": 642, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "CallExpression", + "start": 24532, + "end": 24570, + "loc": { + "start": { + "line": 642, + "column": 34 + }, + "end": { + "line": 642, + "column": 72 + } + }, + "callee": { + "type": "MemberExpression", + "start": 24532, + "end": 24565, + "loc": { + "start": { + "line": 642, + "column": 34 + }, + "end": { + "line": 642, + "column": 67 + } + }, + "object": { + "type": "MemberExpression", + "start": 24532, + "end": 24557, + "loc": { + "start": { + "line": 642, + "column": 34 + }, + "end": { + "line": 642, + "column": 59 + } + }, + "object": { + "type": "MemberExpression", + "start": 24532, + "end": 24554, + "loc": { + "start": { + "line": 642, + "column": 34 + }, + "end": { + "line": 642, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 24532, + "end": 24547, + "loc": { + "start": { + "line": 642, + "column": 34 + }, + "end": { + "line": 642, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 24532, + "end": 24540, + "loc": { + "start": { + "line": 642, + "column": 34 + }, + "end": { + "line": 642, + "column": 42 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 24541, + "end": 24547, + "loc": { + "start": { + "line": 642, + "column": 43 + }, + "end": { + "line": 642, + "column": 49 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 24548, + "end": 24554, + "loc": { + "start": { + "line": 642, + "column": 50 + }, + "end": { + "line": 642, + "column": 56 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 24555, + "end": 24557, + "loc": { + "start": { + "line": 642, + "column": 57 + }, + "end": { + "line": 642, + "column": 59 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 24558, + "end": 24565, + "loc": { + "start": { + "line": 642, + "column": 60 + }, + "end": { + "line": 642, + "column": 67 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 24566, + "end": 24569, + "loc": { + "start": { + "line": 642, + "column": 68 + }, + "end": { + "line": 642, + "column": 71 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 24594, + "end": 24629, + "loc": { + "start": { + "line": 643, + "column": 22 + }, + "end": { + "line": 643, + "column": 57 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 24594, + "end": 24600, + "loc": { + "start": { + "line": 643, + "column": 22 + }, + "end": { + "line": 643, + "column": 28 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "CallExpression", + "start": 24604, + "end": 24629, + "loc": { + "start": { + "line": 643, + "column": 32 + }, + "end": { + "line": 643, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 24604, + "end": 24621, + "loc": { + "start": { + "line": 643, + "column": 32 + }, + "end": { + "line": 643, + "column": 49 + } + }, + "object": { + "type": "MemberExpression", + "start": 24604, + "end": 24614, + "loc": { + "start": { + "line": 643, + "column": 32 + }, + "end": { + "line": 643, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 24604, + "end": 24610, + "loc": { + "start": { + "line": 643, + "column": 32 + }, + "end": { + "line": 643, + "column": 38 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 24611, + "end": 24614, + "loc": { + "start": { + "line": 643, + "column": 39 + }, + "end": { + "line": 643, + "column": 42 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 24615, + "end": 24621, + "loc": { + "start": { + "line": 643, + "column": 43 + }, + "end": { + "line": 643, + "column": 49 + }, + "identifierName": "exists" + }, + "name": "exists" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 24622, + "end": 24628, + "loc": { + "start": { + "line": 643, + "column": 50 + }, + "end": { + "line": 643, + "column": 56 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + } + ] + }, + "property": { + "type": "Identifier", + "start": 24673, + "end": 24678, + "loc": { + "start": { + "line": 645, + "column": 21 + }, + "end": { + "line": 645, + "column": 26 + }, + "identifierName": "catch" + }, + "name": "catch" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 24679, + "end": 24712, + "loc": { + "start": { + "line": 645, + "column": 27 + }, + "end": { + "line": 645, + "column": 60 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 24679, + "end": 24684, + "loc": { + "start": { + "line": 645, + "column": 27 + }, + "end": { + "line": 645, + "column": 32 + }, + "identifierName": "error" + }, + "name": "error" + } + ], + "body": { + "type": "CallExpression", + "start": 24688, + "end": 24712, + "loc": { + "start": { + "line": 645, + "column": 36 + }, + "end": { + "line": 645, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 24688, + "end": 24705, + "loc": { + "start": { + "line": 645, + "column": 36 + }, + "end": { + "line": 645, + "column": 53 + } + }, + "object": { + "type": "MemberExpression", + "start": 24688, + "end": 24698, + "loc": { + "start": { + "line": 645, + "column": 36 + }, + "end": { + "line": 645, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 24688, + "end": 24694, + "loc": { + "start": { + "line": 645, + "column": 36 + }, + "end": { + "line": 645, + "column": 42 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 24695, + "end": 24698, + "loc": { + "start": { + "line": 645, + "column": 43 + }, + "end": { + "line": 645, + "column": 46 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 24699, + "end": 24705, + "loc": { + "start": { + "line": 645, + "column": 47 + }, + "end": { + "line": 645, + "column": 53 + }, + "identifierName": "exsits" + }, + "name": "exsits" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 24706, + "end": 24711, + "loc": { + "start": { + "line": 645, + "column": 54 + }, + "end": { + "line": 645, + "column": 59 + }, + "identifierName": "error" + }, + "name": "error" + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ArrowFunctionExpression", + "start": 24792, + "end": 24827, + "loc": { + "start": { + "line": 650, + "column": 10 + }, + "end": { + "line": 650, + "column": 45 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 24792, + "end": 24798, + "loc": { + "start": { + "line": 650, + "column": 10 + }, + "end": { + "line": 650, + "column": 16 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "CallExpression", + "start": 24802, + "end": 24827, + "loc": { + "start": { + "line": 650, + "column": 20 + }, + "end": { + "line": 650, + "column": 45 + } + }, + "callee": { + "type": "MemberExpression", + "start": 24802, + "end": 24819, + "loc": { + "start": { + "line": 650, + "column": 20 + }, + "end": { + "line": 650, + "column": 37 + } + }, + "object": { + "type": "MemberExpression", + "start": 24802, + "end": 24812, + "loc": { + "start": { + "line": 650, + "column": 20 + }, + "end": { + "line": 650, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 24802, + "end": 24808, + "loc": { + "start": { + "line": 650, + "column": 20 + }, + "end": { + "line": 650, + "column": 26 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 24809, + "end": 24812, + "loc": { + "start": { + "line": 650, + "column": 27 + }, + "end": { + "line": 650, + "column": 30 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 24813, + "end": 24819, + "loc": { + "start": { + "line": 650, + "column": 31 + }, + "end": { + "line": 650, + "column": 37 + }, + "identifierName": "exists" + }, + "name": "exists" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 24820, + "end": 24826, + "loc": { + "start": { + "line": 650, + "column": 38 + }, + "end": { + "line": 650, + "column": 44 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentLine", + "value": " Cosmic Explorer from Perfume", + "start": 5925, + "end": 5956, + "loc": { + "start": { + "line": 151, + "column": 53 + }, + "end": { + "line": 151, + "column": 84 + } + } + }, + { + "type": "CommentLine", + "value": " Cosmic Explorer from Perfume", + "start": 7158, + "end": 7189, + "loc": { + "start": { + "line": 182, + "column": 53 + }, + "end": { + "line": 182, + "column": 84 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 7, + "end": 13, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 14, + "end": 18, + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 18 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should", + "start": 19, + "end": 27, + "loc": { + "start": { + "line": 1, + "column": 19 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 27, + "end": 28, + "loc": { + "start": { + "line": 1, + "column": 27 + }, + "end": { + "line": 1, + "column": 28 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 29, + "end": 35, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "HttpClient", + "start": 36, + "end": 46, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 47, + "end": 51, + "loc": { + "start": { + "line": 2, + "column": 18 + }, + "end": { + "line": 2, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../api/HttpClient", + "start": 52, + "end": 71, + "loc": { + "start": { + "line": 2, + "column": 23 + }, + "end": { + "line": 2, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 71, + "end": 72, + "loc": { + "start": { + "line": 2, + "column": 42 + }, + "end": { + "line": 2, + "column": 43 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 73, + "end": 79, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SearchFetcher", + "start": 80, + "end": 93, + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 94, + "end": 98, + "loc": { + "start": { + "line": 3, + "column": 21 + }, + "end": { + "line": 3, + "column": 25 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../api/SearchFetcher", + "start": 99, + "end": 121, + "loc": { + "start": { + "line": 3, + "column": 26 + }, + "end": { + "line": 3, + "column": 48 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 121, + "end": 122, + "loc": { + "start": { + "line": 3, + "column": 48 + }, + "end": { + "line": 3, + "column": 49 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 123, + "end": 129, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "AlbumFetcher", + "start": 130, + "end": 142, + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 143, + "end": 147, + "loc": { + "start": { + "line": 4, + "column": 20 + }, + "end": { + "line": 4, + "column": 24 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../api/AlbumFetcher", + "start": 148, + "end": 169, + "loc": { + "start": { + "line": 4, + "column": 25 + }, + "end": { + "line": 4, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 169, + "end": 170, + "loc": { + "start": { + "line": 4, + "column": 46 + }, + "end": { + "line": 4, + "column": 47 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 171, + "end": 177, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ArtistFetcher", + "start": 178, + "end": 191, + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 192, + "end": 196, + "loc": { + "start": { + "line": 5, + "column": 21 + }, + "end": { + "line": 5, + "column": 25 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../api/ArtistFetcher", + "start": 197, + "end": 219, + "loc": { + "start": { + "line": 5, + "column": 26 + }, + "end": { + "line": 5, + "column": 48 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 219, + "end": 220, + "loc": { + "start": { + "line": 5, + "column": 48 + }, + "end": { + "line": 5, + "column": 49 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 221, + "end": 227, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "FeaturedPlaylistFetcher", + "start": 228, + "end": 251, + "loc": { + "start": { + "line": 6, + "column": 7 + }, + "end": { + "line": 6, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 252, + "end": 256, + "loc": { + "start": { + "line": 6, + "column": 31 + }, + "end": { + "line": 6, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../api/FeaturedPlaylistFetcher", + "start": 257, + "end": 289, + "loc": { + "start": { + "line": 6, + "column": 36 + }, + "end": { + "line": 6, + "column": 68 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 289, + "end": 290, + "loc": { + "start": { + "line": 6, + "column": 68 + }, + "end": { + "line": 6, + "column": 69 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 291, + "end": 297, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "FeaturedPlaylistCategoryFetcher", + "start": 298, + "end": 329, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 330, + "end": 334, + "loc": { + "start": { + "line": 7, + "column": 39 + }, + "end": { + "line": 7, + "column": 43 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../api/FeaturedPlaylistCategoryFetcher", + "start": 335, + "end": 375, + "loc": { + "start": { + "line": 7, + "column": 44 + }, + "end": { + "line": 7, + "column": 84 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 375, + "end": 376, + "loc": { + "start": { + "line": 7, + "column": 84 + }, + "end": { + "line": 7, + "column": 85 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 377, + "end": 383, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "NewReleaseCategoryFetcher", + "start": 384, + "end": 409, + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 410, + "end": 414, + "loc": { + "start": { + "line": 8, + "column": 33 + }, + "end": { + "line": 8, + "column": 37 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../api/NewReleaseCategoryFetcher", + "start": 415, + "end": 449, + "loc": { + "start": { + "line": 8, + "column": 38 + }, + "end": { + "line": 8, + "column": 72 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 449, + "end": 450, + "loc": { + "start": { + "line": 8, + "column": 72 + }, + "end": { + "line": 8, + "column": 73 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 451, + "end": 457, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "NewHitsPlaylistFetcher", + "start": 458, + "end": 480, + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 481, + "end": 485, + "loc": { + "start": { + "line": 9, + "column": 30 + }, + "end": { + "line": 9, + "column": 34 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../api/NewHitsPlaylistFetcher", + "start": 486, + "end": 517, + "loc": { + "start": { + "line": 9, + "column": 35 + }, + "end": { + "line": 9, + "column": 66 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 517, + "end": 518, + "loc": { + "start": { + "line": 9, + "column": 66 + }, + "end": { + "line": 9, + "column": 67 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 519, + "end": 525, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SharedPlaylistFetcher", + "start": 526, + "end": 547, + "loc": { + "start": { + "line": 10, + "column": 7 + }, + "end": { + "line": 10, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 548, + "end": 552, + "loc": { + "start": { + "line": 10, + "column": 29 + }, + "end": { + "line": 10, + "column": 33 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../api/SharedPlaylistFetcher", + "start": 553, + "end": 583, + "loc": { + "start": { + "line": 10, + "column": 34 + }, + "end": { + "line": 10, + "column": 64 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 583, + "end": 584, + "loc": { + "start": { + "line": 10, + "column": 64 + }, + "end": { + "line": 10, + "column": 65 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 585, + "end": 591, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MoodStationFetcher", + "start": 592, + "end": 610, + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 611, + "end": 615, + "loc": { + "start": { + "line": 11, + "column": 26 + }, + "end": { + "line": 11, + "column": 30 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../api/MoodStationFetcher", + "start": 616, + "end": 643, + "loc": { + "start": { + "line": 11, + "column": 31 + }, + "end": { + "line": 11, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 643, + "end": 644, + "loc": { + "start": { + "line": 11, + "column": 58 + }, + "end": { + "line": 11, + "column": 59 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 645, + "end": 651, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 12, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "GenreStationFetcher", + "start": 652, + "end": 671, + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 12, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 672, + "end": 676, + "loc": { + "start": { + "line": 12, + "column": 27 + }, + "end": { + "line": 12, + "column": 31 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../api/GenreStationFetcher", + "start": 677, + "end": 705, + "loc": { + "start": { + "line": 12, + "column": 32 + }, + "end": { + "line": 12, + "column": 60 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 705, + "end": 706, + "loc": { + "start": { + "line": 12, + "column": 60 + }, + "end": { + "line": 12, + "column": 61 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 707, + "end": 713, + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 13, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ChartFetcher", + "start": 714, + "end": 726, + "loc": { + "start": { + "line": 13, + "column": 7 + }, + "end": { + "line": 13, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 727, + "end": 731, + "loc": { + "start": { + "line": 13, + "column": 20 + }, + "end": { + "line": 13, + "column": 24 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../api/ChartFetcher", + "start": 732, + "end": 753, + "loc": { + "start": { + "line": 13, + "column": 25 + }, + "end": { + "line": 13, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 753, + "end": 754, + "loc": { + "start": { + "line": 13, + "column": 46 + }, + "end": { + "line": 13, + "column": 47 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 755, + "end": 761, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 14, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "TrackFetcher", + "start": 762, + "end": 774, + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 775, + "end": 779, + "loc": { + "start": { + "line": 14, + "column": 20 + }, + "end": { + "line": 14, + "column": 24 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../api/TrackFetcher", + "start": 780, + "end": 801, + "loc": { + "start": { + "line": 14, + "column": 25 + }, + "end": { + "line": 14, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 801, + "end": 802, + "loc": { + "start": { + "line": 14, + "column": 46 + }, + "end": { + "line": 14, + "column": 47 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 803, + "end": 809, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 15, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "TokenFetcher", + "start": 810, + "end": 822, + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 823, + "end": 827, + "loc": { + "start": { + "line": 15, + "column": 20 + }, + "end": { + "line": 15, + "column": 24 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../auth/TokenFetcher", + "start": 828, + "end": 850, + "loc": { + "start": { + "line": 15, + "column": 25 + }, + "end": { + "line": 15, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 850, + "end": 851, + "loc": { + "start": { + "line": 15, + "column": 47 + }, + "end": { + "line": 15, + "column": 48 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 852, + "end": 858, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 16, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ClientCredentials", + "start": 859, + "end": 876, + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 16, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 877, + "end": 881, + "loc": { + "start": { + "line": 16, + "column": 25 + }, + "end": { + "line": 16, + "column": 29 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../auth/ClientCredentialsFlow", + "start": 882, + "end": 913, + "loc": { + "start": { + "line": 16, + "column": 30 + }, + "end": { + "line": 16, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 913, + "end": 914, + "loc": { + "start": { + "line": 16, + "column": 61 + }, + "end": { + "line": 16, + "column": 62 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 915, + "end": 921, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 922, + "end": 923, + "loc": { + "start": { + "line": 17, + "column": 7 + }, + "end": { + "line": 17, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kkbox_sdk", + "start": 924, + "end": 933, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 18 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 934, + "end": 935, + "loc": { + "start": { + "line": 17, + "column": 19 + }, + "end": { + "line": 17, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 936, + "end": 940, + "loc": { + "start": { + "line": 17, + "column": 21 + }, + "end": { + "line": 17, + "column": 25 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../../client_secrets.json", + "start": 941, + "end": 968, + "loc": { + "start": { + "line": 17, + "column": 26 + }, + "end": { + "line": 17, + "column": 53 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 968, + "end": 969, + "loc": { + "start": { + "line": 17, + "column": 53 + }, + "end": { + "line": 17, + "column": 54 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 970, + "end": 975, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "CLIENT_ID", + "start": 976, + "end": 985, + "loc": { + "start": { + "line": 18, + "column": 6 + }, + "end": { + "line": 18, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 986, + "end": 987, + "loc": { + "start": { + "line": 18, + "column": 16 + }, + "end": { + "line": 18, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kkbox_sdk", + "start": 988, + "end": 997, + "loc": { + "start": { + "line": 18, + "column": 18 + }, + "end": { + "line": 18, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 997, + "end": 998, + "loc": { + "start": { + "line": 18, + "column": 27 + }, + "end": { + "line": 18, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "client_id", + "start": 998, + "end": 1007, + "loc": { + "start": { + "line": 18, + "column": 28 + }, + "end": { + "line": 18, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1007, + "end": 1008, + "loc": { + "start": { + "line": 18, + "column": 37 + }, + "end": { + "line": 18, + "column": 38 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1009, + "end": 1014, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "CLIENT_SECRET", + "start": 1015, + "end": 1028, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1029, + "end": 1030, + "loc": { + "start": { + "line": 19, + "column": 20 + }, + "end": { + "line": 19, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kkbox_sdk", + "start": 1031, + "end": 1040, + "loc": { + "start": { + "line": 19, + "column": 22 + }, + "end": { + "line": 19, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1040, + "end": 1041, + "loc": { + "start": { + "line": 19, + "column": 31 + }, + "end": { + "line": 19, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "client_secret", + "start": 1041, + "end": 1054, + "loc": { + "start": { + "line": 19, + "column": 32 + }, + "end": { + "line": 19, + "column": 45 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1054, + "end": 1055, + "loc": { + "start": { + "line": 19, + "column": 45 + }, + "end": { + "line": 19, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 1057, + "end": 1065, + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 21, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1065, + "end": 1066, + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 9 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Api Begin to Test", + "start": 1066, + "end": 1085, + "loc": { + "start": { + "line": 21, + "column": 9 + }, + "end": { + "line": 21, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1085, + "end": 1086, + "loc": { + "start": { + "line": 21, + "column": 28 + }, + "end": { + "line": 21, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1087, + "end": 1088, + "loc": { + "start": { + "line": 21, + "column": 30 + }, + "end": { + "line": 21, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1088, + "end": 1089, + "loc": { + "start": { + "line": 21, + "column": 31 + }, + "end": { + "line": 21, + "column": 32 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1090, + "end": 1092, + "loc": { + "start": { + "line": 21, + "column": 33 + }, + "end": { + "line": 21, + "column": 35 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1093, + "end": 1094, + "loc": { + "start": { + "line": 21, + "column": 36 + }, + "end": { + "line": 21, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 1097, + "end": 1105, + "loc": { + "start": { + "line": 22, + "column": 2 + }, + "end": { + "line": 22, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1105, + "end": 1106, + "loc": { + "start": { + "line": 22, + "column": 10 + }, + "end": { + "line": 22, + "column": 11 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "ClientCredentials", + "start": 1106, + "end": 1125, + "loc": { + "start": { + "line": 22, + "column": 11 + }, + "end": { + "line": 22, + "column": 30 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1125, + "end": 1126, + "loc": { + "start": { + "line": 22, + "column": 30 + }, + "end": { + "line": 22, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1127, + "end": 1128, + "loc": { + "start": { + "line": 22, + "column": 32 + }, + "end": { + "line": 22, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1128, + "end": 1129, + "loc": { + "start": { + "line": 22, + "column": 33 + }, + "end": { + "line": 22, + "column": 34 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1130, + "end": 1132, + "loc": { + "start": { + "line": 22, + "column": 35 + }, + "end": { + "line": 22, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1133, + "end": 1134, + "loc": { + "start": { + "line": 22, + "column": 38 + }, + "end": { + "line": 22, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 1139, + "end": 1147, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1147, + "end": 1148, + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 23, + "column": 13 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetch the access token()", + "start": 1148, + "end": 1175, + "loc": { + "start": { + "line": 23, + "column": 13 + }, + "end": { + "line": 23, + "column": 40 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1175, + "end": 1176, + "loc": { + "start": { + "line": 23, + "column": 40 + }, + "end": { + "line": 23, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1177, + "end": 1178, + "loc": { + "start": { + "line": 23, + "column": 42 + }, + "end": { + "line": 23, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1178, + "end": 1179, + "loc": { + "start": { + "line": 23, + "column": 43 + }, + "end": { + "line": 23, + "column": 44 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1180, + "end": 1182, + "loc": { + "start": { + "line": 23, + "column": 45 + }, + "end": { + "line": 23, + "column": 47 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1183, + "end": 1184, + "loc": { + "start": { + "line": 23, + "column": 48 + }, + "end": { + "line": 23, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 1191, + "end": 1193, + "loc": { + "start": { + "line": 24, + "column": 6 + }, + "end": { + "line": 24, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1193, + "end": 1194, + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 9 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should fetch access token", + "start": 1194, + "end": 1221, + "loc": { + "start": { + "line": 24, + "column": 9 + }, + "end": { + "line": 24, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1221, + "end": 1222, + "loc": { + "start": { + "line": 24, + "column": 36 + }, + "end": { + "line": 24, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1223, + "end": 1224, + "loc": { + "start": { + "line": 24, + "column": 38 + }, + "end": { + "line": 24, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1224, + "end": 1225, + "loc": { + "start": { + "line": 24, + "column": 39 + }, + "end": { + "line": 24, + "column": 40 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1226, + "end": 1228, + "loc": { + "start": { + "line": 24, + "column": 41 + }, + "end": { + "line": 24, + "column": 43 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1229, + "end": 1230, + "loc": { + "start": { + "line": 24, + "column": 44 + }, + "end": { + "line": 24, + "column": 45 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1239, + "end": 1244, + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 25, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tokenFetcher", + "start": 1245, + "end": 1257, + "loc": { + "start": { + "line": 25, + "column": 14 + }, + "end": { + "line": 25, + "column": 26 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1258, + "end": 1259, + "loc": { + "start": { + "line": 25, + "column": 27 + }, + "end": { + "line": 25, + "column": 28 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 1260, + "end": 1263, + "loc": { + "start": { + "line": 25, + "column": 29 + }, + "end": { + "line": 25, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "TokenFetcher", + "start": 1264, + "end": 1276, + "loc": { + "start": { + "line": 25, + "column": 33 + }, + "end": { + "line": 25, + "column": 45 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1276, + "end": 1277, + "loc": { + "start": { + "line": 25, + "column": 45 + }, + "end": { + "line": 25, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "CLIENT_ID", + "start": 1277, + "end": 1286, + "loc": { + "start": { + "line": 25, + "column": 46 + }, + "end": { + "line": 25, + "column": 55 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1286, + "end": 1287, + "loc": { + "start": { + "line": 25, + "column": 55 + }, + "end": { + "line": 25, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "CLIENT_SECRET", + "start": 1288, + "end": 1301, + "loc": { + "start": { + "line": 25, + "column": 57 + }, + "end": { + "line": 25, + "column": 70 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1301, + "end": 1302, + "loc": { + "start": { + "line": 25, + "column": 70 + }, + "end": { + "line": 25, + "column": 71 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1302, + "end": 1303, + "loc": { + "start": { + "line": 25, + "column": 71 + }, + "end": { + "line": 25, + "column": 72 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1312, + "end": 1317, + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 26, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clientCredentials", + "start": 1318, + "end": 1335, + "loc": { + "start": { + "line": 26, + "column": 14 + }, + "end": { + "line": 26, + "column": 31 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1336, + "end": 1337, + "loc": { + "start": { + "line": 26, + "column": 32 + }, + "end": { + "line": 26, + "column": 33 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 1338, + "end": 1341, + "loc": { + "start": { + "line": 26, + "column": 34 + }, + "end": { + "line": 26, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ClientCredentials", + "start": 1342, + "end": 1359, + "loc": { + "start": { + "line": 26, + "column": 38 + }, + "end": { + "line": 26, + "column": 55 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1359, + "end": 1360, + "loc": { + "start": { + "line": 26, + "column": 55 + }, + "end": { + "line": 26, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tokenFetcher", + "start": 1360, + "end": 1372, + "loc": { + "start": { + "line": 26, + "column": 56 + }, + "end": { + "line": 26, + "column": 68 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1372, + "end": 1373, + "loc": { + "start": { + "line": 26, + "column": 68 + }, + "end": { + "line": 26, + "column": 69 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1373, + "end": 1374, + "loc": { + "start": { + "line": 26, + "column": 69 + }, + "end": { + "line": 26, + "column": 70 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1383, + "end": 1389, + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 27, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clientCredentials", + "start": 1390, + "end": 1407, + "loc": { + "start": { + "line": 27, + "column": 15 + }, + "end": { + "line": 27, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1407, + "end": 1408, + "loc": { + "start": { + "line": 27, + "column": 32 + }, + "end": { + "line": 27, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchAccessToken", + "start": 1408, + "end": 1424, + "loc": { + "start": { + "line": 27, + "column": 33 + }, + "end": { + "line": 27, + "column": 49 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1424, + "end": 1425, + "loc": { + "start": { + "line": 27, + "column": 49 + }, + "end": { + "line": 27, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1425, + "end": 1426, + "loc": { + "start": { + "line": 27, + "column": 50 + }, + "end": { + "line": 27, + "column": 51 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1426, + "end": 1427, + "loc": { + "start": { + "line": 27, + "column": 51 + }, + "end": { + "line": 27, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 1427, + "end": 1431, + "loc": { + "start": { + "line": 27, + "column": 52 + }, + "end": { + "line": 27, + "column": 56 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1431, + "end": 1432, + "loc": { + "start": { + "line": 27, + "column": 56 + }, + "end": { + "line": 27, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 1443, + "end": 1451, + "loc": { + "start": { + "line": 28, + "column": 10 + }, + "end": { + "line": 28, + "column": 18 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1452, + "end": 1454, + "loc": { + "start": { + "line": 28, + "column": 19 + }, + "end": { + "line": 28, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1455, + "end": 1456, + "loc": { + "start": { + "line": 28, + "column": 22 + }, + "end": { + "line": 28, + "column": 23 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1469, + "end": 1474, + "loc": { + "start": { + "line": 29, + "column": 12 + }, + "end": { + "line": 29, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "access_token", + "start": 1475, + "end": 1487, + "loc": { + "start": { + "line": 29, + "column": 18 + }, + "end": { + "line": 29, + "column": 30 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1488, + "end": 1489, + "loc": { + "start": { + "line": 29, + "column": 31 + }, + "end": { + "line": 29, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 1490, + "end": 1498, + "loc": { + "start": { + "line": 29, + "column": 33 + }, + "end": { + "line": 29, + "column": 41 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1498, + "end": 1499, + "loc": { + "start": { + "line": 29, + "column": 41 + }, + "end": { + "line": 29, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 1499, + "end": 1503, + "loc": { + "start": { + "line": 29, + "column": 42 + }, + "end": { + "line": 29, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1503, + "end": 1504, + "loc": { + "start": { + "line": 29, + "column": 46 + }, + "end": { + "line": 29, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "access_token", + "start": 1504, + "end": 1516, + "loc": { + "start": { + "line": 29, + "column": 47 + }, + "end": { + "line": 29, + "column": 59 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1516, + "end": 1517, + "loc": { + "start": { + "line": 29, + "column": 59 + }, + "end": { + "line": 29, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "access_token", + "start": 1530, + "end": 1542, + "loc": { + "start": { + "line": 30, + "column": 12 + }, + "end": { + "line": 30, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1542, + "end": 1543, + "loc": { + "start": { + "line": 30, + "column": 24 + }, + "end": { + "line": 30, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 1543, + "end": 1549, + "loc": { + "start": { + "line": 30, + "column": 25 + }, + "end": { + "line": 30, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1549, + "end": 1550, + "loc": { + "start": { + "line": 30, + "column": 31 + }, + "end": { + "line": 30, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 1550, + "end": 1552, + "loc": { + "start": { + "line": 30, + "column": 32 + }, + "end": { + "line": 30, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1552, + "end": 1553, + "loc": { + "start": { + "line": 30, + "column": 34 + }, + "end": { + "line": 30, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ok", + "start": 1553, + "end": 1555, + "loc": { + "start": { + "line": 30, + "column": 35 + }, + "end": { + "line": 30, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1555, + "end": 1556, + "loc": { + "start": { + "line": 30, + "column": 37 + }, + "end": { + "line": 30, + "column": 38 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1570, + "end": 1575, + "loc": { + "start": { + "line": 32, + "column": 12 + }, + "end": { + "line": 32, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "httpClient", + "start": 1576, + "end": 1586, + "loc": { + "start": { + "line": 32, + "column": 18 + }, + "end": { + "line": 32, + "column": 28 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1587, + "end": 1588, + "loc": { + "start": { + "line": 32, + "column": 29 + }, + "end": { + "line": 32, + "column": 30 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 1589, + "end": 1592, + "loc": { + "start": { + "line": 32, + "column": 31 + }, + "end": { + "line": 32, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "HttpClient", + "start": 1593, + "end": 1603, + "loc": { + "start": { + "line": 32, + "column": 35 + }, + "end": { + "line": 32, + "column": 45 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1603, + "end": 1604, + "loc": { + "start": { + "line": 32, + "column": 45 + }, + "end": { + "line": 32, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "access_token", + "start": 1604, + "end": 1616, + "loc": { + "start": { + "line": 32, + "column": 46 + }, + "end": { + "line": 32, + "column": 58 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1616, + "end": 1617, + "loc": { + "start": { + "line": 32, + "column": 58 + }, + "end": { + "line": 32, + "column": 59 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1617, + "end": 1618, + "loc": { + "start": { + "line": 32, + "column": 59 + }, + "end": { + "line": 32, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 1632, + "end": 1640, + "loc": { + "start": { + "line": 34, + "column": 12 + }, + "end": { + "line": 34, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1640, + "end": 1641, + "loc": { + "start": { + "line": 34, + "column": 20 + }, + "end": { + "line": 34, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Search", + "start": 1641, + "end": 1649, + "loc": { + "start": { + "line": 34, + "column": 21 + }, + "end": { + "line": 34, + "column": 29 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1649, + "end": 1650, + "loc": { + "start": { + "line": 34, + "column": 29 + }, + "end": { + "line": 34, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1651, + "end": 1652, + "loc": { + "start": { + "line": 34, + "column": 31 + }, + "end": { + "line": 34, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1652, + "end": 1653, + "loc": { + "start": { + "line": 34, + "column": 32 + }, + "end": { + "line": 34, + "column": 33 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1654, + "end": 1656, + "loc": { + "start": { + "line": 34, + "column": 34 + }, + "end": { + "line": 34, + "column": 36 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1657, + "end": 1658, + "loc": { + "start": { + "line": 34, + "column": 37 + }, + "end": { + "line": 34, + "column": 38 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1673, + "end": 1678, + "loc": { + "start": { + "line": 35, + "column": 14 + }, + "end": { + "line": 35, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "searchFetcher", + "start": 1679, + "end": 1692, + "loc": { + "start": { + "line": 35, + "column": 20 + }, + "end": { + "line": 35, + "column": 33 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1693, + "end": 1694, + "loc": { + "start": { + "line": 35, + "column": 34 + }, + "end": { + "line": 35, + "column": 35 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 1695, + "end": 1698, + "loc": { + "start": { + "line": 35, + "column": 36 + }, + "end": { + "line": 35, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SearchFetcher", + "start": 1699, + "end": 1712, + "loc": { + "start": { + "line": 35, + "column": 40 + }, + "end": { + "line": 35, + "column": 53 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1712, + "end": 1713, + "loc": { + "start": { + "line": 35, + "column": 53 + }, + "end": { + "line": 35, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "httpClient", + "start": 1730, + "end": 1740, + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1755, + "end": 1756, + "loc": { + "start": { + "line": 37, + "column": 14 + }, + "end": { + "line": 37, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1756, + "end": 1757, + "loc": { + "start": { + "line": 37, + "column": 15 + }, + "end": { + "line": 37, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setSearchCriteria", + "start": 1757, + "end": 1774, + "loc": { + "start": { + "line": 37, + "column": 16 + }, + "end": { + "line": 37, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1774, + "end": 1775, + "loc": { + "start": { + "line": 37, + "column": 33 + }, + "end": { + "line": 37, + "column": 34 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Linkin Park", + "start": 1775, + "end": 1788, + "loc": { + "start": { + "line": 37, + "column": 34 + }, + "end": { + "line": 37, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1788, + "end": 1789, + "loc": { + "start": { + "line": 37, + "column": 47 + }, + "end": { + "line": 37, + "column": 48 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1789, + "end": 1790, + "loc": { + "start": { + "line": 37, + "column": 48 + }, + "end": { + "line": 37, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 1805, + "end": 1813, + "loc": { + "start": { + "line": 38, + "column": 14 + }, + "end": { + "line": 38, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1813, + "end": 1814, + "loc": { + "start": { + "line": 38, + "column": 22 + }, + "end": { + "line": 38, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchSearchResult()", + "start": 1814, + "end": 1836, + "loc": { + "start": { + "line": 38, + "column": 23 + }, + "end": { + "line": 38, + "column": 45 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1836, + "end": 1837, + "loc": { + "start": { + "line": 38, + "column": 45 + }, + "end": { + "line": 38, + "column": 46 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1838, + "end": 1839, + "loc": { + "start": { + "line": 38, + "column": 47 + }, + "end": { + "line": 38, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1839, + "end": 1840, + "loc": { + "start": { + "line": 38, + "column": 48 + }, + "end": { + "line": 38, + "column": 49 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1841, + "end": 1843, + "loc": { + "start": { + "line": 38, + "column": 50 + }, + "end": { + "line": 38, + "column": 52 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1844, + "end": 1845, + "loc": { + "start": { + "line": 38, + "column": 53 + }, + "end": { + "line": 38, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 1862, + "end": 1864, + "loc": { + "start": { + "line": 39, + "column": 16 + }, + "end": { + "line": 39, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1864, + "end": 1865, + "loc": { + "start": { + "line": 39, + "column": 18 + }, + "end": { + "line": 39, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200", + "start": 1865, + "end": 1893, + "loc": { + "start": { + "line": 39, + "column": 19 + }, + "end": { + "line": 39, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1893, + "end": 1894, + "loc": { + "start": { + "line": 39, + "column": 47 + }, + "end": { + "line": 39, + "column": 48 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1895, + "end": 1896, + "loc": { + "start": { + "line": 39, + "column": 49 + }, + "end": { + "line": 39, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1896, + "end": 1897, + "loc": { + "start": { + "line": 39, + "column": 50 + }, + "end": { + "line": 39, + "column": 51 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1898, + "end": 1900, + "loc": { + "start": { + "line": 39, + "column": 52 + }, + "end": { + "line": 39, + "column": 54 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1901, + "end": 1902, + "loc": { + "start": { + "line": 39, + "column": 55 + }, + "end": { + "line": 39, + "column": 56 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1921, + "end": 1927, + "loc": { + "start": { + "line": 40, + "column": 18 + }, + "end": { + "line": 40, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "searchFetcher", + "start": 1928, + "end": 1941, + "loc": { + "start": { + "line": 40, + "column": 25 + }, + "end": { + "line": 40, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1941, + "end": 1942, + "loc": { + "start": { + "line": 40, + "column": 38 + }, + "end": { + "line": 40, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchSearchResult", + "start": 1942, + "end": 1959, + "loc": { + "start": { + "line": 40, + "column": 39 + }, + "end": { + "line": 40, + "column": 56 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1959, + "end": 1960, + "loc": { + "start": { + "line": 40, + "column": 56 + }, + "end": { + "line": 40, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1960, + "end": 1961, + "loc": { + "start": { + "line": 40, + "column": 57 + }, + "end": { + "line": 40, + "column": 58 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1961, + "end": 1962, + "loc": { + "start": { + "line": 40, + "column": 58 + }, + "end": { + "line": 40, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 1962, + "end": 1966, + "loc": { + "start": { + "line": 40, + "column": 59 + }, + "end": { + "line": 40, + "column": 63 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1966, + "end": 1967, + "loc": { + "start": { + "line": 40, + "column": 63 + }, + "end": { + "line": 40, + "column": 64 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 1967, + "end": 1975, + "loc": { + "start": { + "line": 40, + "column": 64 + }, + "end": { + "line": 40, + "column": 72 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1976, + "end": 1978, + "loc": { + "start": { + "line": 40, + "column": 73 + }, + "end": { + "line": 40, + "column": 75 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1979, + "end": 1980, + "loc": { + "start": { + "line": 40, + "column": 76 + }, + "end": { + "line": 40, + "column": 77 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 2001, + "end": 2009, + "loc": { + "start": { + "line": 41, + "column": 20 + }, + "end": { + "line": 41, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2009, + "end": 2010, + "loc": { + "start": { + "line": 41, + "column": 28 + }, + "end": { + "line": 41, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 2010, + "end": 2016, + "loc": { + "start": { + "line": 41, + "column": 29 + }, + "end": { + "line": 41, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2016, + "end": 2017, + "loc": { + "start": { + "line": 41, + "column": 35 + }, + "end": { + "line": 41, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 2017, + "end": 2023, + "loc": { + "start": { + "line": 41, + "column": 36 + }, + "end": { + "line": 41, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2023, + "end": 2024, + "loc": { + "start": { + "line": 41, + "column": 42 + }, + "end": { + "line": 41, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 2024, + "end": 2026, + "loc": { + "start": { + "line": 41, + "column": 43 + }, + "end": { + "line": 41, + "column": 45 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2026, + "end": 2027, + "loc": { + "start": { + "line": 41, + "column": 45 + }, + "end": { + "line": 41, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 2027, + "end": 2034, + "loc": { + "start": { + "line": 41, + "column": 46 + }, + "end": { + "line": 41, + "column": 53 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2034, + "end": 2035, + "loc": { + "start": { + "line": 41, + "column": 53 + }, + "end": { + "line": 41, + "column": 54 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 2035, + "end": 2038, + "loc": { + "start": { + "line": 41, + "column": 54 + }, + "end": { + "line": 41, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2038, + "end": 2039, + "loc": { + "start": { + "line": 41, + "column": 57 + }, + "end": { + "line": 41, + "column": 58 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2039, + "end": 2040, + "loc": { + "start": { + "line": 41, + "column": 58 + }, + "end": { + "line": 41, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 2063, + "end": 2069, + "loc": { + "start": { + "line": 42, + "column": 22 + }, + "end": { + "line": 42, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2070, + "end": 2072, + "loc": { + "start": { + "line": 42, + "column": 29 + }, + "end": { + "line": 42, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 2073, + "end": 2079, + "loc": { + "start": { + "line": 42, + "column": 32 + }, + "end": { + "line": 42, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2079, + "end": 2080, + "loc": { + "start": { + "line": 42, + "column": 38 + }, + "end": { + "line": 42, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 2080, + "end": 2083, + "loc": { + "start": { + "line": 42, + "column": 39 + }, + "end": { + "line": 42, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2083, + "end": 2084, + "loc": { + "start": { + "line": 42, + "column": 42 + }, + "end": { + "line": 42, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exists", + "start": 2084, + "end": 2090, + "loc": { + "start": { + "line": 42, + "column": 43 + }, + "end": { + "line": 42, + "column": 49 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2090, + "end": 2091, + "loc": { + "start": { + "line": 42, + "column": 49 + }, + "end": { + "line": 42, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 2091, + "end": 2097, + "loc": { + "start": { + "line": 42, + "column": 50 + }, + "end": { + "line": 42, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2097, + "end": 2098, + "loc": { + "start": { + "line": 42, + "column": 56 + }, + "end": { + "line": 42, + "column": 57 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2098, + "end": 2099, + "loc": { + "start": { + "line": 42, + "column": 57 + }, + "end": { + "line": 42, + "column": 58 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2118, + "end": 2119, + "loc": { + "start": { + "line": 43, + "column": 18 + }, + "end": { + "line": 43, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2119, + "end": 2120, + "loc": { + "start": { + "line": 43, + "column": 19 + }, + "end": { + "line": 43, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2120, + "end": 2121, + "loc": { + "start": { + "line": 43, + "column": 20 + }, + "end": { + "line": 43, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2138, + "end": 2139, + "loc": { + "start": { + "line": 44, + "column": 16 + }, + "end": { + "line": 44, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2139, + "end": 2140, + "loc": { + "start": { + "line": 44, + "column": 17 + }, + "end": { + "line": 44, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2140, + "end": 2141, + "loc": { + "start": { + "line": 44, + "column": 18 + }, + "end": { + "line": 44, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2156, + "end": 2157, + "loc": { + "start": { + "line": 45, + "column": 14 + }, + "end": { + "line": 45, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2157, + "end": 2158, + "loc": { + "start": { + "line": 45, + "column": 15 + }, + "end": { + "line": 45, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2158, + "end": 2159, + "loc": { + "start": { + "line": 45, + "column": 16 + }, + "end": { + "line": 45, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 2175, + "end": 2183, + "loc": { + "start": { + "line": 47, + "column": 14 + }, + "end": { + "line": 47, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2183, + "end": 2184, + "loc": { + "start": { + "line": 47, + "column": 22 + }, + "end": { + "line": 47, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#filter()", + "start": 2184, + "end": 2195, + "loc": { + "start": { + "line": 47, + "column": 23 + }, + "end": { + "line": 47, + "column": 34 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2195, + "end": 2196, + "loc": { + "start": { + "line": 47, + "column": 34 + }, + "end": { + "line": 47, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2197, + "end": 2198, + "loc": { + "start": { + "line": 47, + "column": 36 + }, + "end": { + "line": 47, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2198, + "end": 2199, + "loc": { + "start": { + "line": 47, + "column": 37 + }, + "end": { + "line": 47, + "column": 38 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2200, + "end": 2202, + "loc": { + "start": { + "line": 47, + "column": 39 + }, + "end": { + "line": 47, + "column": 41 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2203, + "end": 2204, + "loc": { + "start": { + "line": 47, + "column": 42 + }, + "end": { + "line": 47, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 2221, + "end": 2223, + "loc": { + "start": { + "line": 48, + "column": 16 + }, + "end": { + "line": 48, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2223, + "end": 2224, + "loc": { + "start": { + "line": 48, + "column": 18 + }, + "end": { + "line": 48, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should get result", + "start": 2224, + "end": 2243, + "loc": { + "start": { + "line": 48, + "column": 19 + }, + "end": { + "line": 48, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2243, + "end": 2244, + "loc": { + "start": { + "line": 48, + "column": 38 + }, + "end": { + "line": 48, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2245, + "end": 2246, + "loc": { + "start": { + "line": 48, + "column": 40 + }, + "end": { + "line": 48, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2246, + "end": 2247, + "loc": { + "start": { + "line": 48, + "column": 41 + }, + "end": { + "line": 48, + "column": 42 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2248, + "end": 2250, + "loc": { + "start": { + "line": 48, + "column": 43 + }, + "end": { + "line": 48, + "column": 45 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2251, + "end": 2252, + "loc": { + "start": { + "line": 48, + "column": 46 + }, + "end": { + "line": 48, + "column": 47 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2271, + "end": 2277, + "loc": { + "start": { + "line": 49, + "column": 18 + }, + "end": { + "line": 49, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "searchFetcher", + "start": 2278, + "end": 2291, + "loc": { + "start": { + "line": 49, + "column": 25 + }, + "end": { + "line": 49, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2312, + "end": 2313, + "loc": { + "start": { + "line": 50, + "column": 20 + }, + "end": { + "line": 50, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "filter", + "start": 2313, + "end": 2319, + "loc": { + "start": { + "line": 50, + "column": 21 + }, + "end": { + "line": 50, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2319, + "end": 2320, + "loc": { + "start": { + "line": 50, + "column": 27 + }, + "end": { + "line": 50, + "column": 28 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2320, + "end": 2321, + "loc": { + "start": { + "line": 50, + "column": 28 + }, + "end": { + "line": 50, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "artist", + "start": 2344, + "end": 2350, + "loc": { + "start": { + "line": 51, + "column": 22 + }, + "end": { + "line": 51, + "column": 28 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2350, + "end": 2351, + "loc": { + "start": { + "line": 51, + "column": 28 + }, + "end": { + "line": 51, + "column": 29 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Linkin Park", + "start": 2352, + "end": 2365, + "loc": { + "start": { + "line": 51, + "column": 30 + }, + "end": { + "line": 51, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2365, + "end": 2366, + "loc": { + "start": { + "line": 51, + "column": 43 + }, + "end": { + "line": 51, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "album", + "start": 2389, + "end": 2394, + "loc": { + "start": { + "line": 52, + "column": 22 + }, + "end": { + "line": 52, + "column": 27 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2394, + "end": 2395, + "loc": { + "start": { + "line": 52, + "column": 27 + }, + "end": { + "line": 52, + "column": 28 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "One More Light", + "start": 2396, + "end": 2412, + "loc": { + "start": { + "line": 52, + "column": 29 + }, + "end": { + "line": 52, + "column": 45 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2412, + "end": 2413, + "loc": { + "start": { + "line": 52, + "column": 45 + }, + "end": { + "line": 52, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "available_territory", + "start": 2436, + "end": 2455, + "loc": { + "start": { + "line": 53, + "column": 22 + }, + "end": { + "line": 53, + "column": 41 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2455, + "end": 2456, + "loc": { + "start": { + "line": 53, + "column": 41 + }, + "end": { + "line": 53, + "column": 42 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "TW", + "start": 2457, + "end": 2461, + "loc": { + "start": { + "line": 53, + "column": 43 + }, + "end": { + "line": 53, + "column": 47 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2482, + "end": 2483, + "loc": { + "start": { + "line": 54, + "column": 20 + }, + "end": { + "line": 54, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2483, + "end": 2484, + "loc": { + "start": { + "line": 54, + "column": 21 + }, + "end": { + "line": 54, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2505, + "end": 2506, + "loc": { + "start": { + "line": 55, + "column": 20 + }, + "end": { + "line": 55, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchSearchResult", + "start": 2506, + "end": 2523, + "loc": { + "start": { + "line": 55, + "column": 21 + }, + "end": { + "line": 55, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2523, + "end": 2524, + "loc": { + "start": { + "line": 55, + "column": 38 + }, + "end": { + "line": 55, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2524, + "end": 2525, + "loc": { + "start": { + "line": 55, + "column": 39 + }, + "end": { + "line": 55, + "column": 40 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2546, + "end": 2547, + "loc": { + "start": { + "line": 56, + "column": 20 + }, + "end": { + "line": 56, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 2547, + "end": 2551, + "loc": { + "start": { + "line": 56, + "column": 21 + }, + "end": { + "line": 56, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2551, + "end": 2552, + "loc": { + "start": { + "line": 56, + "column": 25 + }, + "end": { + "line": 56, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 2552, + "end": 2560, + "loc": { + "start": { + "line": 56, + "column": 26 + }, + "end": { + "line": 56, + "column": 34 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2561, + "end": 2563, + "loc": { + "start": { + "line": 56, + "column": 35 + }, + "end": { + "line": 56, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2564, + "end": 2565, + "loc": { + "start": { + "line": 56, + "column": 38 + }, + "end": { + "line": 56, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 2588, + "end": 2596, + "loc": { + "start": { + "line": 57, + "column": 22 + }, + "end": { + "line": 57, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2596, + "end": 2597, + "loc": { + "start": { + "line": 57, + "column": 30 + }, + "end": { + "line": 57, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 2597, + "end": 2601, + "loc": { + "start": { + "line": 57, + "column": 31 + }, + "end": { + "line": 57, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2601, + "end": 2602, + "loc": { + "start": { + "line": 57, + "column": 35 + }, + "end": { + "line": 57, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tracks", + "start": 2602, + "end": 2608, + "loc": { + "start": { + "line": 57, + "column": 36 + }, + "end": { + "line": 57, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2608, + "end": 2609, + "loc": { + "start": { + "line": 57, + "column": 42 + }, + "end": { + "line": 57, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 2609, + "end": 2613, + "loc": { + "start": { + "line": 57, + "column": 43 + }, + "end": { + "line": 57, + "column": 47 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2613, + "end": 2614, + "loc": { + "start": { + "line": 57, + "column": 47 + }, + "end": { + "line": 57, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 2614, + "end": 2620, + "loc": { + "start": { + "line": 57, + "column": 48 + }, + "end": { + "line": 57, + "column": 54 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2620, + "end": 2621, + "loc": { + "start": { + "line": 57, + "column": 54 + }, + "end": { + "line": 57, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 2621, + "end": 2627, + "loc": { + "start": { + "line": 57, + "column": 55 + }, + "end": { + "line": 57, + "column": 61 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2627, + "end": 2628, + "loc": { + "start": { + "line": 57, + "column": 61 + }, + "end": { + "line": 57, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 2628, + "end": 2630, + "loc": { + "start": { + "line": 57, + "column": 62 + }, + "end": { + "line": 57, + "column": 64 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2630, + "end": 2631, + "loc": { + "start": { + "line": 57, + "column": 64 + }, + "end": { + "line": 57, + "column": 65 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "greaterThan", + "start": 2631, + "end": 2642, + "loc": { + "start": { + "line": 57, + "column": 65 + }, + "end": { + "line": 57, + "column": 76 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2642, + "end": 2643, + "loc": { + "start": { + "line": 57, + "column": 76 + }, + "end": { + "line": 57, + "column": 77 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 2643, + "end": 2644, + "loc": { + "start": { + "line": 57, + "column": 77 + }, + "end": { + "line": 57, + "column": 78 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2644, + "end": 2645, + "loc": { + "start": { + "line": 57, + "column": 78 + }, + "end": { + "line": 57, + "column": 79 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2645, + "end": 2646, + "loc": { + "start": { + "line": 57, + "column": 79 + }, + "end": { + "line": 57, + "column": 80 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2667, + "end": 2668, + "loc": { + "start": { + "line": 58, + "column": 20 + }, + "end": { + "line": 58, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2668, + "end": 2669, + "loc": { + "start": { + "line": 58, + "column": 21 + }, + "end": { + "line": 58, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2669, + "end": 2670, + "loc": { + "start": { + "line": 58, + "column": 22 + }, + "end": { + "line": 58, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2687, + "end": 2688, + "loc": { + "start": { + "line": 59, + "column": 16 + }, + "end": { + "line": 59, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2688, + "end": 2689, + "loc": { + "start": { + "line": 59, + "column": 17 + }, + "end": { + "line": 59, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2689, + "end": 2690, + "loc": { + "start": { + "line": 59, + "column": 18 + }, + "end": { + "line": 59, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2705, + "end": 2706, + "loc": { + "start": { + "line": 60, + "column": 14 + }, + "end": { + "line": 60, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2706, + "end": 2707, + "loc": { + "start": { + "line": 60, + "column": 15 + }, + "end": { + "line": 60, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2707, + "end": 2708, + "loc": { + "start": { + "line": 60, + "column": 16 + }, + "end": { + "line": 60, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2721, + "end": 2722, + "loc": { + "start": { + "line": 61, + "column": 12 + }, + "end": { + "line": 61, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2722, + "end": 2723, + "loc": { + "start": { + "line": 61, + "column": 13 + }, + "end": { + "line": 61, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2723, + "end": 2724, + "loc": { + "start": { + "line": 61, + "column": 14 + }, + "end": { + "line": 61, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 2738, + "end": 2746, + "loc": { + "start": { + "line": 63, + "column": 12 + }, + "end": { + "line": 63, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2746, + "end": 2747, + "loc": { + "start": { + "line": 63, + "column": 20 + }, + "end": { + "line": 63, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Track", + "start": 2747, + "end": 2754, + "loc": { + "start": { + "line": 63, + "column": 21 + }, + "end": { + "line": 63, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2754, + "end": 2755, + "loc": { + "start": { + "line": 63, + "column": 28 + }, + "end": { + "line": 63, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2756, + "end": 2757, + "loc": { + "start": { + "line": 63, + "column": 30 + }, + "end": { + "line": 63, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2757, + "end": 2758, + "loc": { + "start": { + "line": 63, + "column": 31 + }, + "end": { + "line": 63, + "column": 32 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2759, + "end": 2761, + "loc": { + "start": { + "line": 63, + "column": 33 + }, + "end": { + "line": 63, + "column": 35 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2762, + "end": 2763, + "loc": { + "start": { + "line": 63, + "column": 36 + }, + "end": { + "line": 63, + "column": 37 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2778, + "end": 2783, + "loc": { + "start": { + "line": 64, + "column": 14 + }, + "end": { + "line": 64, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "track_id", + "start": 2784, + "end": 2792, + "loc": { + "start": { + "line": 64, + "column": 20 + }, + "end": { + "line": 64, + "column": 28 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2793, + "end": 2794, + "loc": { + "start": { + "line": 64, + "column": 29 + }, + "end": { + "line": 64, + "column": 30 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "KpnEGVHEsGgkoB0MBk", + "start": 2795, + "end": 2815, + "loc": { + "start": { + "line": 64, + "column": 31 + }, + "end": { + "line": 64, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2815, + "end": 2816, + "loc": { + "start": { + "line": 64, + "column": 51 + }, + "end": { + "line": 64, + "column": 52 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2831, + "end": 2836, + "loc": { + "start": { + "line": 65, + "column": 14 + }, + "end": { + "line": 65, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "trackFetcher", + "start": 2837, + "end": 2849, + "loc": { + "start": { + "line": 65, + "column": 20 + }, + "end": { + "line": 65, + "column": 32 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2850, + "end": 2851, + "loc": { + "start": { + "line": 65, + "column": 33 + }, + "end": { + "line": 65, + "column": 34 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2852, + "end": 2855, + "loc": { + "start": { + "line": 65, + "column": 35 + }, + "end": { + "line": 65, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "TrackFetcher", + "start": 2856, + "end": 2868, + "loc": { + "start": { + "line": 65, + "column": 39 + }, + "end": { + "line": 65, + "column": 51 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2868, + "end": 2869, + "loc": { + "start": { + "line": 65, + "column": 51 + }, + "end": { + "line": 65, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "httpClient", + "start": 2869, + "end": 2879, + "loc": { + "start": { + "line": 65, + "column": 52 + }, + "end": { + "line": 65, + "column": 62 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2879, + "end": 2880, + "loc": { + "start": { + "line": 65, + "column": 62 + }, + "end": { + "line": 65, + "column": 63 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2880, + "end": 2881, + "loc": { + "start": { + "line": 65, + "column": 63 + }, + "end": { + "line": 65, + "column": 64 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setTrackID", + "start": 2881, + "end": 2891, + "loc": { + "start": { + "line": 65, + "column": 64 + }, + "end": { + "line": 65, + "column": 74 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2891, + "end": 2892, + "loc": { + "start": { + "line": 65, + "column": 74 + }, + "end": { + "line": 65, + "column": 75 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "track_id", + "start": 2909, + "end": 2917, + "loc": { + "start": { + "line": 66, + "column": 16 + }, + "end": { + "line": 66, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2932, + "end": 2933, + "loc": { + "start": { + "line": 67, + "column": 14 + }, + "end": { + "line": 67, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2933, + "end": 2934, + "loc": { + "start": { + "line": 67, + "column": 15 + }, + "end": { + "line": 67, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 2949, + "end": 2951, + "loc": { + "start": { + "line": 68, + "column": 14 + }, + "end": { + "line": 68, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2951, + "end": 2952, + "loc": { + "start": { + "line": 68, + "column": 16 + }, + "end": { + "line": 68, + "column": 17 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200", + "start": 2952, + "end": 2980, + "loc": { + "start": { + "line": 68, + "column": 17 + }, + "end": { + "line": 68, + "column": 45 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2980, + "end": 2981, + "loc": { + "start": { + "line": 68, + "column": 45 + }, + "end": { + "line": 68, + "column": 46 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2982, + "end": 2983, + "loc": { + "start": { + "line": 68, + "column": 47 + }, + "end": { + "line": 68, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2983, + "end": 2984, + "loc": { + "start": { + "line": 68, + "column": 48 + }, + "end": { + "line": 68, + "column": 49 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2985, + "end": 2987, + "loc": { + "start": { + "line": 68, + "column": 50 + }, + "end": { + "line": 68, + "column": 52 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2988, + "end": 2989, + "loc": { + "start": { + "line": 68, + "column": 53 + }, + "end": { + "line": 68, + "column": 54 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 3006, + "end": 3012, + "loc": { + "start": { + "line": 69, + "column": 16 + }, + "end": { + "line": 69, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "trackFetcher", + "start": 3013, + "end": 3025, + "loc": { + "start": { + "line": 69, + "column": 23 + }, + "end": { + "line": 69, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3044, + "end": 3045, + "loc": { + "start": { + "line": 70, + "column": 18 + }, + "end": { + "line": 70, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchMetadata", + "start": 3045, + "end": 3058, + "loc": { + "start": { + "line": 70, + "column": 19 + }, + "end": { + "line": 70, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3058, + "end": 3059, + "loc": { + "start": { + "line": 70, + "column": 32 + }, + "end": { + "line": 70, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3059, + "end": 3060, + "loc": { + "start": { + "line": 70, + "column": 33 + }, + "end": { + "line": 70, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3079, + "end": 3080, + "loc": { + "start": { + "line": 71, + "column": 18 + }, + "end": { + "line": 71, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 3080, + "end": 3084, + "loc": { + "start": { + "line": 71, + "column": 19 + }, + "end": { + "line": 71, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3084, + "end": 3085, + "loc": { + "start": { + "line": 71, + "column": 23 + }, + "end": { + "line": 71, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 3106, + "end": 3114, + "loc": { + "start": { + "line": 72, + "column": 20 + }, + "end": { + "line": 72, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3115, + "end": 3117, + "loc": { + "start": { + "line": 72, + "column": 29 + }, + "end": { + "line": 72, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 3118, + "end": 3126, + "loc": { + "start": { + "line": 72, + "column": 32 + }, + "end": { + "line": 72, + "column": 40 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3126, + "end": 3127, + "loc": { + "start": { + "line": 72, + "column": 40 + }, + "end": { + "line": 72, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 3127, + "end": 3133, + "loc": { + "start": { + "line": 72, + "column": 41 + }, + "end": { + "line": 72, + "column": 47 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3133, + "end": 3134, + "loc": { + "start": { + "line": 72, + "column": 47 + }, + "end": { + "line": 72, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 3134, + "end": 3140, + "loc": { + "start": { + "line": 72, + "column": 48 + }, + "end": { + "line": 72, + "column": 54 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3140, + "end": 3141, + "loc": { + "start": { + "line": 72, + "column": 54 + }, + "end": { + "line": 72, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 3141, + "end": 3143, + "loc": { + "start": { + "line": 72, + "column": 55 + }, + "end": { + "line": 72, + "column": 57 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3143, + "end": 3144, + "loc": { + "start": { + "line": 72, + "column": 57 + }, + "end": { + "line": 72, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 3144, + "end": 3151, + "loc": { + "start": { + "line": 72, + "column": 58 + }, + "end": { + "line": 72, + "column": 65 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3151, + "end": 3152, + "loc": { + "start": { + "line": 72, + "column": 65 + }, + "end": { + "line": 72, + "column": 66 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 3152, + "end": 3155, + "loc": { + "start": { + "line": 72, + "column": 66 + }, + "end": { + "line": 72, + "column": 69 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3155, + "end": 3156, + "loc": { + "start": { + "line": 72, + "column": 69 + }, + "end": { + "line": 72, + "column": 70 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3156, + "end": 3157, + "loc": { + "start": { + "line": 72, + "column": 70 + }, + "end": { + "line": 72, + "column": 71 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 3178, + "end": 3184, + "loc": { + "start": { + "line": 73, + "column": 20 + }, + "end": { + "line": 73, + "column": 26 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3185, + "end": 3187, + "loc": { + "start": { + "line": 73, + "column": 27 + }, + "end": { + "line": 73, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 3188, + "end": 3194, + "loc": { + "start": { + "line": 73, + "column": 30 + }, + "end": { + "line": 73, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3194, + "end": 3195, + "loc": { + "start": { + "line": 73, + "column": 36 + }, + "end": { + "line": 73, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 3195, + "end": 3198, + "loc": { + "start": { + "line": 73, + "column": 37 + }, + "end": { + "line": 73, + "column": 40 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3198, + "end": 3199, + "loc": { + "start": { + "line": 73, + "column": 40 + }, + "end": { + "line": 73, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exists", + "start": 3199, + "end": 3205, + "loc": { + "start": { + "line": 73, + "column": 41 + }, + "end": { + "line": 73, + "column": 47 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3205, + "end": 3206, + "loc": { + "start": { + "line": 73, + "column": 47 + }, + "end": { + "line": 73, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 3206, + "end": 3212, + "loc": { + "start": { + "line": 73, + "column": 48 + }, + "end": { + "line": 73, + "column": 54 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3212, + "end": 3213, + "loc": { + "start": { + "line": 73, + "column": 54 + }, + "end": { + "line": 73, + "column": 55 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3232, + "end": 3233, + "loc": { + "start": { + "line": 74, + "column": 18 + }, + "end": { + "line": 74, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3233, + "end": 3234, + "loc": { + "start": { + "line": 74, + "column": 19 + }, + "end": { + "line": 74, + "column": 20 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3249, + "end": 3250, + "loc": { + "start": { + "line": 75, + "column": 14 + }, + "end": { + "line": 75, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3250, + "end": 3251, + "loc": { + "start": { + "line": 75, + "column": 15 + }, + "end": { + "line": 75, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3251, + "end": 3252, + "loc": { + "start": { + "line": 75, + "column": 16 + }, + "end": { + "line": 75, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 3268, + "end": 3276, + "loc": { + "start": { + "line": 77, + "column": 14 + }, + "end": { + "line": 77, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3276, + "end": 3277, + "loc": { + "start": { + "line": 77, + "column": 22 + }, + "end": { + "line": 77, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#getWidgetUri", + "start": 3277, + "end": 3292, + "loc": { + "start": { + "line": 77, + "column": 23 + }, + "end": { + "line": 77, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3292, + "end": 3293, + "loc": { + "start": { + "line": 77, + "column": 38 + }, + "end": { + "line": 77, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3294, + "end": 3295, + "loc": { + "start": { + "line": 77, + "column": 40 + }, + "end": { + "line": 77, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3295, + "end": 3296, + "loc": { + "start": { + "line": 77, + "column": 41 + }, + "end": { + "line": 77, + "column": 42 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3297, + "end": 3299, + "loc": { + "start": { + "line": 77, + "column": 43 + }, + "end": { + "line": 77, + "column": 45 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3300, + "end": 3301, + "loc": { + "start": { + "line": 77, + "column": 46 + }, + "end": { + "line": 77, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 3318, + "end": 3320, + "loc": { + "start": { + "line": 78, + "column": 16 + }, + "end": { + "line": 78, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3320, + "end": 3321, + "loc": { + "start": { + "line": 78, + "column": 18 + }, + "end": { + "line": 78, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should return right uri", + "start": 3321, + "end": 3346, + "loc": { + "start": { + "line": 78, + "column": 19 + }, + "end": { + "line": 78, + "column": 44 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3346, + "end": 3347, + "loc": { + "start": { + "line": 78, + "column": 44 + }, + "end": { + "line": 78, + "column": 45 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 3348, + "end": 3356, + "loc": { + "start": { + "line": 78, + "column": 46 + }, + "end": { + "line": 78, + "column": 54 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3356, + "end": 3357, + "loc": { + "start": { + "line": 78, + "column": 54 + }, + "end": { + "line": 78, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "doneCb", + "start": 3357, + "end": 3363, + "loc": { + "start": { + "line": 78, + "column": 55 + }, + "end": { + "line": 78, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3363, + "end": 3364, + "loc": { + "start": { + "line": 78, + "column": 61 + }, + "end": { + "line": 78, + "column": 62 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3365, + "end": 3366, + "loc": { + "start": { + "line": 78, + "column": 63 + }, + "end": { + "line": 78, + "column": 64 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "trackFetcher", + "start": 3385, + "end": 3397, + "loc": { + "start": { + "line": 79, + "column": 18 + }, + "end": { + "line": 79, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3418, + "end": 3419, + "loc": { + "start": { + "line": 80, + "column": 20 + }, + "end": { + "line": 80, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getWidgetUri", + "start": 3419, + "end": 3431, + "loc": { + "start": { + "line": 80, + "column": 21 + }, + "end": { + "line": 80, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3431, + "end": 3432, + "loc": { + "start": { + "line": 80, + "column": 33 + }, + "end": { + "line": 80, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3432, + "end": 3433, + "loc": { + "start": { + "line": 80, + "column": 34 + }, + "end": { + "line": 80, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3454, + "end": 3455, + "loc": { + "start": { + "line": 81, + "column": 20 + }, + "end": { + "line": 81, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 3455, + "end": 3461, + "loc": { + "start": { + "line": 81, + "column": 21 + }, + "end": { + "line": 81, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3461, + "end": 3462, + "loc": { + "start": { + "line": 81, + "column": 27 + }, + "end": { + "line": 81, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 3462, + "end": 3464, + "loc": { + "start": { + "line": 81, + "column": 28 + }, + "end": { + "line": 81, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3464, + "end": 3465, + "loc": { + "start": { + "line": 81, + "column": 30 + }, + "end": { + "line": 81, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 3465, + "end": 3472, + "loc": { + "start": { + "line": 81, + "column": 31 + }, + "end": { + "line": 81, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3472, + "end": 3473, + "loc": { + "start": { + "line": 81, + "column": 38 + }, + "end": { + "line": 81, + "column": 39 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3496, + "end": 3497, + "loc": { + "start": { + "line": 82, + "column": 22 + }, + "end": { + "line": 82, + "column": 23 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "https://widget.kkbox.com/v1/?id=", + "start": 3497, + "end": 3529, + "loc": { + "start": { + "line": 82, + "column": 23 + }, + "end": { + "line": 82, + "column": 55 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3529, + "end": 3531, + "loc": { + "start": { + "line": 82, + "column": 55 + }, + "end": { + "line": 82, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "track_id", + "start": 3531, + "end": 3539, + "loc": { + "start": { + "line": 82, + "column": 57 + }, + "end": { + "line": 82, + "column": 65 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3539, + "end": 3540, + "loc": { + "start": { + "line": 82, + "column": 65 + }, + "end": { + "line": 82, + "column": 66 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "&type=song", + "start": 3540, + "end": 3550, + "loc": { + "start": { + "line": 82, + "column": 66 + }, + "end": { + "line": 82, + "column": 76 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3550, + "end": 3551, + "loc": { + "start": { + "line": 82, + "column": 76 + }, + "end": { + "line": 82, + "column": 77 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3572, + "end": 3573, + "loc": { + "start": { + "line": 83, + "column": 20 + }, + "end": { + "line": 83, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3573, + "end": 3574, + "loc": { + "start": { + "line": 83, + "column": 21 + }, + "end": { + "line": 83, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "doneCb", + "start": 3593, + "end": 3599, + "loc": { + "start": { + "line": 84, + "column": 18 + }, + "end": { + "line": 84, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3599, + "end": 3600, + "loc": { + "start": { + "line": 84, + "column": 24 + }, + "end": { + "line": 84, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3600, + "end": 3601, + "loc": { + "start": { + "line": 84, + "column": 25 + }, + "end": { + "line": 84, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3601, + "end": 3602, + "loc": { + "start": { + "line": 84, + "column": 26 + }, + "end": { + "line": 84, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3619, + "end": 3620, + "loc": { + "start": { + "line": 85, + "column": 16 + }, + "end": { + "line": 85, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3620, + "end": 3621, + "loc": { + "start": { + "line": 85, + "column": 17 + }, + "end": { + "line": 85, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3621, + "end": 3622, + "loc": { + "start": { + "line": 85, + "column": 18 + }, + "end": { + "line": 85, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3637, + "end": 3638, + "loc": { + "start": { + "line": 86, + "column": 14 + }, + "end": { + "line": 86, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3638, + "end": 3639, + "loc": { + "start": { + "line": 86, + "column": 15 + }, + "end": { + "line": 86, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3639, + "end": 3640, + "loc": { + "start": { + "line": 86, + "column": 16 + }, + "end": { + "line": 86, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3653, + "end": 3654, + "loc": { + "start": { + "line": 87, + "column": 12 + }, + "end": { + "line": 87, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3654, + "end": 3655, + "loc": { + "start": { + "line": 87, + "column": 13 + }, + "end": { + "line": 87, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3655, + "end": 3656, + "loc": { + "start": { + "line": 87, + "column": 14 + }, + "end": { + "line": 87, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 3670, + "end": 3678, + "loc": { + "start": { + "line": 89, + "column": 12 + }, + "end": { + "line": 89, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3678, + "end": 3679, + "loc": { + "start": { + "line": 89, + "column": 20 + }, + "end": { + "line": 89, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Album", + "start": 3679, + "end": 3686, + "loc": { + "start": { + "line": 89, + "column": 21 + }, + "end": { + "line": 89, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3686, + "end": 3687, + "loc": { + "start": { + "line": 89, + "column": 28 + }, + "end": { + "line": 89, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3688, + "end": 3689, + "loc": { + "start": { + "line": 89, + "column": 30 + }, + "end": { + "line": 89, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3689, + "end": 3690, + "loc": { + "start": { + "line": 89, + "column": 31 + }, + "end": { + "line": 89, + "column": 32 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3691, + "end": 3693, + "loc": { + "start": { + "line": 89, + "column": 33 + }, + "end": { + "line": 89, + "column": 35 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3694, + "end": 3695, + "loc": { + "start": { + "line": 89, + "column": 36 + }, + "end": { + "line": 89, + "column": 37 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 3710, + "end": 3715, + "loc": { + "start": { + "line": 90, + "column": 14 + }, + "end": { + "line": 90, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "album_id", + "start": 3716, + "end": 3724, + "loc": { + "start": { + "line": 90, + "column": 20 + }, + "end": { + "line": 90, + "column": 28 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3725, + "end": 3726, + "loc": { + "start": { + "line": 90, + "column": 29 + }, + "end": { + "line": 90, + "column": 30 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "KmRKnW5qmUrTnGRuxF", + "start": 3727, + "end": 3747, + "loc": { + "start": { + "line": 90, + "column": 31 + }, + "end": { + "line": 90, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3747, + "end": 3748, + "loc": { + "start": { + "line": 90, + "column": 51 + }, + "end": { + "line": 90, + "column": 52 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 3763, + "end": 3768, + "loc": { + "start": { + "line": 91, + "column": 14 + }, + "end": { + "line": 91, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "albumFetcher", + "start": 3769, + "end": 3781, + "loc": { + "start": { + "line": 91, + "column": 20 + }, + "end": { + "line": 91, + "column": 32 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3782, + "end": 3783, + "loc": { + "start": { + "line": 91, + "column": 33 + }, + "end": { + "line": 91, + "column": 34 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 3784, + "end": 3787, + "loc": { + "start": { + "line": 91, + "column": 35 + }, + "end": { + "line": 91, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "AlbumFetcher", + "start": 3788, + "end": 3800, + "loc": { + "start": { + "line": 91, + "column": 39 + }, + "end": { + "line": 91, + "column": 51 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3800, + "end": 3801, + "loc": { + "start": { + "line": 91, + "column": 51 + }, + "end": { + "line": 91, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "httpClient", + "start": 3801, + "end": 3811, + "loc": { + "start": { + "line": 91, + "column": 52 + }, + "end": { + "line": 91, + "column": 62 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3811, + "end": 3812, + "loc": { + "start": { + "line": 91, + "column": 62 + }, + "end": { + "line": 91, + "column": 63 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3812, + "end": 3813, + "loc": { + "start": { + "line": 91, + "column": 63 + }, + "end": { + "line": 91, + "column": 64 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setAlbumID", + "start": 3813, + "end": 3823, + "loc": { + "start": { + "line": 91, + "column": 64 + }, + "end": { + "line": 91, + "column": 74 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3823, + "end": 3824, + "loc": { + "start": { + "line": 91, + "column": 74 + }, + "end": { + "line": 91, + "column": 75 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "album_id", + "start": 3841, + "end": 3849, + "loc": { + "start": { + "line": 92, + "column": 16 + }, + "end": { + "line": 92, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3864, + "end": 3865, + "loc": { + "start": { + "line": 93, + "column": 14 + }, + "end": { + "line": 93, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3865, + "end": 3866, + "loc": { + "start": { + "line": 93, + "column": 15 + }, + "end": { + "line": 93, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 3881, + "end": 3889, + "loc": { + "start": { + "line": 94, + "column": 14 + }, + "end": { + "line": 94, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3889, + "end": 3890, + "loc": { + "start": { + "line": 94, + "column": 22 + }, + "end": { + "line": 94, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchMetadata()", + "start": 3890, + "end": 3908, + "loc": { + "start": { + "line": 94, + "column": 23 + }, + "end": { + "line": 94, + "column": 41 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3908, + "end": 3909, + "loc": { + "start": { + "line": 94, + "column": 41 + }, + "end": { + "line": 94, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3910, + "end": 3911, + "loc": { + "start": { + "line": 94, + "column": 43 + }, + "end": { + "line": 94, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3911, + "end": 3912, + "loc": { + "start": { + "line": 94, + "column": 44 + }, + "end": { + "line": 94, + "column": 45 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3913, + "end": 3915, + "loc": { + "start": { + "line": 94, + "column": 46 + }, + "end": { + "line": 94, + "column": 48 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3916, + "end": 3917, + "loc": { + "start": { + "line": 94, + "column": 49 + }, + "end": { + "line": 94, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 3934, + "end": 3936, + "loc": { + "start": { + "line": 95, + "column": 16 + }, + "end": { + "line": 95, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3936, + "end": 3937, + "loc": { + "start": { + "line": 95, + "column": 18 + }, + "end": { + "line": 95, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200", + "start": 3937, + "end": 3965, + "loc": { + "start": { + "line": 95, + "column": 19 + }, + "end": { + "line": 95, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3965, + "end": 3966, + "loc": { + "start": { + "line": 95, + "column": 47 + }, + "end": { + "line": 95, + "column": 48 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3967, + "end": 3968, + "loc": { + "start": { + "line": 95, + "column": 49 + }, + "end": { + "line": 95, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3968, + "end": 3969, + "loc": { + "start": { + "line": 95, + "column": 50 + }, + "end": { + "line": 95, + "column": 51 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3970, + "end": 3972, + "loc": { + "start": { + "line": 95, + "column": 52 + }, + "end": { + "line": 95, + "column": 54 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3973, + "end": 3974, + "loc": { + "start": { + "line": 95, + "column": 55 + }, + "end": { + "line": 95, + "column": 56 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 3993, + "end": 3999, + "loc": { + "start": { + "line": 96, + "column": 18 + }, + "end": { + "line": 96, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "albumFetcher", + "start": 4000, + "end": 4012, + "loc": { + "start": { + "line": 96, + "column": 25 + }, + "end": { + "line": 96, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4012, + "end": 4013, + "loc": { + "start": { + "line": 96, + "column": 37 + }, + "end": { + "line": 96, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchMetadata", + "start": 4013, + "end": 4026, + "loc": { + "start": { + "line": 96, + "column": 38 + }, + "end": { + "line": 96, + "column": 51 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4026, + "end": 4027, + "loc": { + "start": { + "line": 96, + "column": 51 + }, + "end": { + "line": 96, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4027, + "end": 4028, + "loc": { + "start": { + "line": 96, + "column": 52 + }, + "end": { + "line": 96, + "column": 53 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4028, + "end": 4029, + "loc": { + "start": { + "line": 96, + "column": 53 + }, + "end": { + "line": 96, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 4029, + "end": 4033, + "loc": { + "start": { + "line": 96, + "column": 54 + }, + "end": { + "line": 96, + "column": 58 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4033, + "end": 4034, + "loc": { + "start": { + "line": 96, + "column": 58 + }, + "end": { + "line": 96, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 4055, + "end": 4063, + "loc": { + "start": { + "line": 97, + "column": 20 + }, + "end": { + "line": 97, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4064, + "end": 4066, + "loc": { + "start": { + "line": 97, + "column": 29 + }, + "end": { + "line": 97, + "column": 31 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4067, + "end": 4068, + "loc": { + "start": { + "line": 97, + "column": 32 + }, + "end": { + "line": 97, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 4091, + "end": 4099, + "loc": { + "start": { + "line": 98, + "column": 22 + }, + "end": { + "line": 98, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4099, + "end": 4100, + "loc": { + "start": { + "line": 98, + "column": 30 + }, + "end": { + "line": 98, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 4100, + "end": 4106, + "loc": { + "start": { + "line": 98, + "column": 31 + }, + "end": { + "line": 98, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4106, + "end": 4107, + "loc": { + "start": { + "line": 98, + "column": 37 + }, + "end": { + "line": 98, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 4107, + "end": 4113, + "loc": { + "start": { + "line": 98, + "column": 38 + }, + "end": { + "line": 98, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4113, + "end": 4114, + "loc": { + "start": { + "line": 98, + "column": 44 + }, + "end": { + "line": 98, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 4114, + "end": 4116, + "loc": { + "start": { + "line": 98, + "column": 45 + }, + "end": { + "line": 98, + "column": 47 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4116, + "end": 4117, + "loc": { + "start": { + "line": 98, + "column": 47 + }, + "end": { + "line": 98, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 4117, + "end": 4124, + "loc": { + "start": { + "line": 98, + "column": 48 + }, + "end": { + "line": 98, + "column": 55 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4124, + "end": 4125, + "loc": { + "start": { + "line": 98, + "column": 55 + }, + "end": { + "line": 98, + "column": 56 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 4125, + "end": 4128, + "loc": { + "start": { + "line": 98, + "column": 56 + }, + "end": { + "line": 98, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4128, + "end": 4129, + "loc": { + "start": { + "line": 98, + "column": 59 + }, + "end": { + "line": 98, + "column": 60 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4129, + "end": 4130, + "loc": { + "start": { + "line": 98, + "column": 60 + }, + "end": { + "line": 98, + "column": 61 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4151, + "end": 4152, + "loc": { + "start": { + "line": 99, + "column": 20 + }, + "end": { + "line": 99, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4152, + "end": 4153, + "loc": { + "start": { + "line": 99, + "column": 21 + }, + "end": { + "line": 99, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 4174, + "end": 4180, + "loc": { + "start": { + "line": 100, + "column": 20 + }, + "end": { + "line": 100, + "column": 26 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4181, + "end": 4183, + "loc": { + "start": { + "line": 100, + "column": 27 + }, + "end": { + "line": 100, + "column": 29 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4184, + "end": 4185, + "loc": { + "start": { + "line": 100, + "column": 30 + }, + "end": { + "line": 100, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 4208, + "end": 4214, + "loc": { + "start": { + "line": 101, + "column": 22 + }, + "end": { + "line": 101, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4214, + "end": 4215, + "loc": { + "start": { + "line": 101, + "column": 28 + }, + "end": { + "line": 101, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 4215, + "end": 4218, + "loc": { + "start": { + "line": 101, + "column": 29 + }, + "end": { + "line": 101, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4218, + "end": 4219, + "loc": { + "start": { + "line": 101, + "column": 32 + }, + "end": { + "line": 101, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exist", + "start": 4219, + "end": 4224, + "loc": { + "start": { + "line": 101, + "column": 33 + }, + "end": { + "line": 101, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4224, + "end": 4225, + "loc": { + "start": { + "line": 101, + "column": 38 + }, + "end": { + "line": 101, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 4225, + "end": 4231, + "loc": { + "start": { + "line": 101, + "column": 39 + }, + "end": { + "line": 101, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4231, + "end": 4232, + "loc": { + "start": { + "line": 101, + "column": 45 + }, + "end": { + "line": 101, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4232, + "end": 4233, + "loc": { + "start": { + "line": 101, + "column": 46 + }, + "end": { + "line": 101, + "column": 47 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4254, + "end": 4255, + "loc": { + "start": { + "line": 102, + "column": 20 + }, + "end": { + "line": 102, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4274, + "end": 4275, + "loc": { + "start": { + "line": 103, + "column": 18 + }, + "end": { + "line": 103, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4275, + "end": 4276, + "loc": { + "start": { + "line": 103, + "column": 19 + }, + "end": { + "line": 103, + "column": 20 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4293, + "end": 4294, + "loc": { + "start": { + "line": 104, + "column": 16 + }, + "end": { + "line": 104, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4294, + "end": 4295, + "loc": { + "start": { + "line": 104, + "column": 17 + }, + "end": { + "line": 104, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4295, + "end": 4296, + "loc": { + "start": { + "line": 104, + "column": 18 + }, + "end": { + "line": 104, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4311, + "end": 4312, + "loc": { + "start": { + "line": 105, + "column": 14 + }, + "end": { + "line": 105, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4312, + "end": 4313, + "loc": { + "start": { + "line": 105, + "column": 15 + }, + "end": { + "line": 105, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4313, + "end": 4314, + "loc": { + "start": { + "line": 105, + "column": 16 + }, + "end": { + "line": 105, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 4330, + "end": 4338, + "loc": { + "start": { + "line": 107, + "column": 14 + }, + "end": { + "line": 107, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4338, + "end": 4339, + "loc": { + "start": { + "line": 107, + "column": 22 + }, + "end": { + "line": 107, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchTracks()", + "start": 4339, + "end": 4355, + "loc": { + "start": { + "line": 107, + "column": 23 + }, + "end": { + "line": 107, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4355, + "end": 4356, + "loc": { + "start": { + "line": 107, + "column": 39 + }, + "end": { + "line": 107, + "column": 40 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4357, + "end": 4358, + "loc": { + "start": { + "line": 107, + "column": 41 + }, + "end": { + "line": 107, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4358, + "end": 4359, + "loc": { + "start": { + "line": 107, + "column": 42 + }, + "end": { + "line": 107, + "column": 43 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4360, + "end": 4362, + "loc": { + "start": { + "line": 107, + "column": 44 + }, + "end": { + "line": 107, + "column": 46 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4363, + "end": 4364, + "loc": { + "start": { + "line": 107, + "column": 47 + }, + "end": { + "line": 107, + "column": 48 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 4381, + "end": 4384, + "loc": { + "start": { + "line": 108, + "column": 16 + }, + "end": { + "line": 108, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fulfillment", + "start": 4385, + "end": 4396, + "loc": { + "start": { + "line": 108, + "column": 20 + }, + "end": { + "line": 108, + "column": 31 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4397, + "end": 4398, + "loc": { + "start": { + "line": 108, + "column": 32 + }, + "end": { + "line": 108, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "undefined", + "start": 4399, + "end": 4408, + "loc": { + "start": { + "line": 108, + "column": 34 + }, + "end": { + "line": 108, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4408, + "end": 4409, + "loc": { + "start": { + "line": 108, + "column": 43 + }, + "end": { + "line": 108, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 4426, + "end": 4428, + "loc": { + "start": { + "line": 109, + "column": 16 + }, + "end": { + "line": 109, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4428, + "end": 4429, + "loc": { + "start": { + "line": 109, + "column": 18 + }, + "end": { + "line": 109, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200", + "start": 4429, + "end": 4457, + "loc": { + "start": { + "line": 109, + "column": 19 + }, + "end": { + "line": 109, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4457, + "end": 4458, + "loc": { + "start": { + "line": 109, + "column": 47 + }, + "end": { + "line": 109, + "column": 48 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4459, + "end": 4460, + "loc": { + "start": { + "line": 109, + "column": 49 + }, + "end": { + "line": 109, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4460, + "end": 4461, + "loc": { + "start": { + "line": 109, + "column": 50 + }, + "end": { + "line": 109, + "column": 51 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4462, + "end": 4464, + "loc": { + "start": { + "line": 109, + "column": 52 + }, + "end": { + "line": 109, + "column": 54 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4465, + "end": 4466, + "loc": { + "start": { + "line": 109, + "column": 55 + }, + "end": { + "line": 109, + "column": 56 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4485, + "end": 4491, + "loc": { + "start": { + "line": 110, + "column": 18 + }, + "end": { + "line": 110, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "albumFetcher", + "start": 4492, + "end": 4504, + "loc": { + "start": { + "line": 110, + "column": 25 + }, + "end": { + "line": 110, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4504, + "end": 4505, + "loc": { + "start": { + "line": 110, + "column": 37 + }, + "end": { + "line": 110, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchTracks", + "start": 4505, + "end": 4516, + "loc": { + "start": { + "line": 110, + "column": 38 + }, + "end": { + "line": 110, + "column": 49 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4516, + "end": 4517, + "loc": { + "start": { + "line": 110, + "column": 49 + }, + "end": { + "line": 110, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4517, + "end": 4518, + "loc": { + "start": { + "line": 110, + "column": 50 + }, + "end": { + "line": 110, + "column": 51 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4518, + "end": 4519, + "loc": { + "start": { + "line": 110, + "column": 51 + }, + "end": { + "line": 110, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 4519, + "end": 4523, + "loc": { + "start": { + "line": 110, + "column": 52 + }, + "end": { + "line": 110, + "column": 56 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4523, + "end": 4524, + "loc": { + "start": { + "line": 110, + "column": 56 + }, + "end": { + "line": 110, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 4545, + "end": 4553, + "loc": { + "start": { + "line": 111, + "column": 20 + }, + "end": { + "line": 111, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4554, + "end": 4556, + "loc": { + "start": { + "line": 111, + "column": 29 + }, + "end": { + "line": 111, + "column": 31 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4557, + "end": 4558, + "loc": { + "start": { + "line": 111, + "column": 32 + }, + "end": { + "line": 111, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 4581, + "end": 4589, + "loc": { + "start": { + "line": 112, + "column": 22 + }, + "end": { + "line": 112, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4589, + "end": 4590, + "loc": { + "start": { + "line": 112, + "column": 30 + }, + "end": { + "line": 112, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 4590, + "end": 4596, + "loc": { + "start": { + "line": 112, + "column": 31 + }, + "end": { + "line": 112, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4596, + "end": 4597, + "loc": { + "start": { + "line": 112, + "column": 37 + }, + "end": { + "line": 112, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 4597, + "end": 4603, + "loc": { + "start": { + "line": 112, + "column": 38 + }, + "end": { + "line": 112, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4603, + "end": 4604, + "loc": { + "start": { + "line": 112, + "column": 44 + }, + "end": { + "line": 112, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 4604, + "end": 4606, + "loc": { + "start": { + "line": 112, + "column": 45 + }, + "end": { + "line": 112, + "column": 47 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4606, + "end": 4607, + "loc": { + "start": { + "line": 112, + "column": 47 + }, + "end": { + "line": 112, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 4607, + "end": 4614, + "loc": { + "start": { + "line": 112, + "column": 48 + }, + "end": { + "line": 112, + "column": 55 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4614, + "end": 4615, + "loc": { + "start": { + "line": 112, + "column": 55 + }, + "end": { + "line": 112, + "column": 56 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 4615, + "end": 4618, + "loc": { + "start": { + "line": 112, + "column": 56 + }, + "end": { + "line": 112, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4618, + "end": 4619, + "loc": { + "start": { + "line": 112, + "column": 59 + }, + "end": { + "line": 112, + "column": 60 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4619, + "end": 4620, + "loc": { + "start": { + "line": 112, + "column": 60 + }, + "end": { + "line": 112, + "column": 61 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fulfillment", + "start": 4643, + "end": 4654, + "loc": { + "start": { + "line": 113, + "column": 22 + }, + "end": { + "line": 113, + "column": 33 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4655, + "end": 4656, + "loc": { + "start": { + "line": 113, + "column": 34 + }, + "end": { + "line": 113, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 4657, + "end": 4665, + "loc": { + "start": { + "line": 113, + "column": 36 + }, + "end": { + "line": 113, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4665, + "end": 4666, + "loc": { + "start": { + "line": 113, + "column": 44 + }, + "end": { + "line": 113, + "column": 45 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4687, + "end": 4688, + "loc": { + "start": { + "line": 114, + "column": 20 + }, + "end": { + "line": 114, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4688, + "end": 4689, + "loc": { + "start": { + "line": 114, + "column": 21 + }, + "end": { + "line": 114, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 4710, + "end": 4716, + "loc": { + "start": { + "line": 115, + "column": 20 + }, + "end": { + "line": 115, + "column": 26 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4717, + "end": 4719, + "loc": { + "start": { + "line": 115, + "column": 27 + }, + "end": { + "line": 115, + "column": 29 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4720, + "end": 4721, + "loc": { + "start": { + "line": 115, + "column": 30 + }, + "end": { + "line": 115, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 4744, + "end": 4750, + "loc": { + "start": { + "line": 116, + "column": 22 + }, + "end": { + "line": 116, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4750, + "end": 4751, + "loc": { + "start": { + "line": 116, + "column": 28 + }, + "end": { + "line": 116, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 4751, + "end": 4754, + "loc": { + "start": { + "line": 116, + "column": 29 + }, + "end": { + "line": 116, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4754, + "end": 4755, + "loc": { + "start": { + "line": 116, + "column": 32 + }, + "end": { + "line": 116, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exist", + "start": 4755, + "end": 4760, + "loc": { + "start": { + "line": 116, + "column": 33 + }, + "end": { + "line": 116, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4760, + "end": 4761, + "loc": { + "start": { + "line": 116, + "column": 38 + }, + "end": { + "line": 116, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 4761, + "end": 4767, + "loc": { + "start": { + "line": 116, + "column": 39 + }, + "end": { + "line": 116, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4767, + "end": 4768, + "loc": { + "start": { + "line": 116, + "column": 45 + }, + "end": { + "line": 116, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4768, + "end": 4769, + "loc": { + "start": { + "line": 116, + "column": 46 + }, + "end": { + "line": 116, + "column": 47 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4790, + "end": 4791, + "loc": { + "start": { + "line": 117, + "column": 20 + }, + "end": { + "line": 117, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4810, + "end": 4811, + "loc": { + "start": { + "line": 118, + "column": 18 + }, + "end": { + "line": 118, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4811, + "end": 4812, + "loc": { + "start": { + "line": 118, + "column": 19 + }, + "end": { + "line": 118, + "column": 20 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4829, + "end": 4830, + "loc": { + "start": { + "line": 119, + "column": 16 + }, + "end": { + "line": 119, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4830, + "end": 4831, + "loc": { + "start": { + "line": 119, + "column": 17 + }, + "end": { + "line": 119, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4831, + "end": 4832, + "loc": { + "start": { + "line": 119, + "column": 18 + }, + "end": { + "line": 119, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 4850, + "end": 4852, + "loc": { + "start": { + "line": 121, + "column": 16 + }, + "end": { + "line": 121, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4852, + "end": 4853, + "loc": { + "start": { + "line": 121, + "column": 18 + }, + "end": { + "line": 121, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "fetch next page should fail", + "start": 4853, + "end": 4882, + "loc": { + "start": { + "line": 121, + "column": 19 + }, + "end": { + "line": 121, + "column": 48 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4882, + "end": 4883, + "loc": { + "start": { + "line": 121, + "column": 48 + }, + "end": { + "line": 121, + "column": 49 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4884, + "end": 4885, + "loc": { + "start": { + "line": 121, + "column": 50 + }, + "end": { + "line": 121, + "column": 51 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4885, + "end": 4886, + "loc": { + "start": { + "line": 121, + "column": 51 + }, + "end": { + "line": 121, + "column": 52 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4887, + "end": 4889, + "loc": { + "start": { + "line": 121, + "column": 53 + }, + "end": { + "line": 121, + "column": 55 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4890, + "end": 4891, + "loc": { + "start": { + "line": 121, + "column": 56 + }, + "end": { + "line": 121, + "column": 57 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4910, + "end": 4916, + "loc": { + "start": { + "line": 122, + "column": 18 + }, + "end": { + "line": 122, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "albumFetcher", + "start": 4917, + "end": 4929, + "loc": { + "start": { + "line": 122, + "column": 25 + }, + "end": { + "line": 122, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4929, + "end": 4930, + "loc": { + "start": { + "line": 122, + "column": 37 + }, + "end": { + "line": 122, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchNextPage", + "start": 4930, + "end": 4943, + "loc": { + "start": { + "line": 122, + "column": 38 + }, + "end": { + "line": 122, + "column": 51 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4943, + "end": 4944, + "loc": { + "start": { + "line": 122, + "column": 51 + }, + "end": { + "line": 122, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fulfillment", + "start": 4944, + "end": 4955, + "loc": { + "start": { + "line": 122, + "column": 52 + }, + "end": { + "line": 122, + "column": 63 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4955, + "end": 4956, + "loc": { + "start": { + "line": 122, + "column": 63 + }, + "end": { + "line": 122, + "column": 64 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4956, + "end": 4957, + "loc": { + "start": { + "line": 122, + "column": 64 + }, + "end": { + "line": 122, + "column": 65 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 4957, + "end": 4961, + "loc": { + "start": { + "line": 122, + "column": 65 + }, + "end": { + "line": 122, + "column": 69 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4961, + "end": 4962, + "loc": { + "start": { + "line": 122, + "column": 69 + }, + "end": { + "line": 122, + "column": 70 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 4983, + "end": 4991, + "loc": { + "start": { + "line": 123, + "column": 20 + }, + "end": { + "line": 123, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4992, + "end": 4994, + "loc": { + "start": { + "line": 123, + "column": 29 + }, + "end": { + "line": 123, + "column": 31 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4995, + "end": 4996, + "loc": { + "start": { + "line": 123, + "column": 32 + }, + "end": { + "line": 123, + "column": 33 + } + } + }, + { + "type": { + "label": "throw", + "keyword": "throw", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "throw", + "start": 5019, + "end": 5024, + "loc": { + "start": { + "line": 124, + "column": 22 + }, + "end": { + "line": 124, + "column": 27 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 5025, + "end": 5028, + "loc": { + "start": { + "line": 124, + "column": 28 + }, + "end": { + "line": 124, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Error", + "start": 5029, + "end": 5034, + "loc": { + "start": { + "line": 124, + "column": 32 + }, + "end": { + "line": 124, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5034, + "end": 5035, + "loc": { + "start": { + "line": 124, + "column": 37 + }, + "end": { + "line": 124, + "column": 38 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Should not get response", + "start": 5035, + "end": 5060, + "loc": { + "start": { + "line": 124, + "column": 38 + }, + "end": { + "line": 124, + "column": 63 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5060, + "end": 5061, + "loc": { + "start": { + "line": 124, + "column": 63 + }, + "end": { + "line": 124, + "column": 64 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5061, + "end": 5062, + "loc": { + "start": { + "line": 124, + "column": 64 + }, + "end": { + "line": 124, + "column": 65 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5083, + "end": 5084, + "loc": { + "start": { + "line": 125, + "column": 20 + }, + "end": { + "line": 125, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5084, + "end": 5085, + "loc": { + "start": { + "line": 125, + "column": 21 + }, + "end": { + "line": 125, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 5106, + "end": 5112, + "loc": { + "start": { + "line": 126, + "column": 20 + }, + "end": { + "line": 126, + "column": 26 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5113, + "end": 5115, + "loc": { + "start": { + "line": 126, + "column": 27 + }, + "end": { + "line": 126, + "column": 29 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5116, + "end": 5117, + "loc": { + "start": { + "line": 126, + "column": 30 + }, + "end": { + "line": 126, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 5140, + "end": 5146, + "loc": { + "start": { + "line": 127, + "column": 22 + }, + "end": { + "line": 127, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5146, + "end": 5147, + "loc": { + "start": { + "line": 127, + "column": 28 + }, + "end": { + "line": 127, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exist", + "start": 5147, + "end": 5152, + "loc": { + "start": { + "line": 127, + "column": 29 + }, + "end": { + "line": 127, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5152, + "end": 5153, + "loc": { + "start": { + "line": 127, + "column": 34 + }, + "end": { + "line": 127, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 5153, + "end": 5159, + "loc": { + "start": { + "line": 127, + "column": 35 + }, + "end": { + "line": 127, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5159, + "end": 5160, + "loc": { + "start": { + "line": 127, + "column": 41 + }, + "end": { + "line": 127, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5160, + "end": 5161, + "loc": { + "start": { + "line": 127, + "column": 42 + }, + "end": { + "line": 127, + "column": 43 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5182, + "end": 5183, + "loc": { + "start": { + "line": 128, + "column": 20 + }, + "end": { + "line": 128, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5202, + "end": 5203, + "loc": { + "start": { + "line": 129, + "column": 18 + }, + "end": { + "line": 129, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5203, + "end": 5204, + "loc": { + "start": { + "line": 129, + "column": 19 + }, + "end": { + "line": 129, + "column": 20 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5221, + "end": 5222, + "loc": { + "start": { + "line": 130, + "column": 16 + }, + "end": { + "line": 130, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5222, + "end": 5223, + "loc": { + "start": { + "line": 130, + "column": 17 + }, + "end": { + "line": 130, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5223, + "end": 5224, + "loc": { + "start": { + "line": 130, + "column": 18 + }, + "end": { + "line": 130, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 5242, + "end": 5244, + "loc": { + "start": { + "line": 132, + "column": 16 + }, + "end": { + "line": 132, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5244, + "end": 5245, + "loc": { + "start": { + "line": 132, + "column": 18 + }, + "end": { + "line": 132, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should not have next page", + "start": 5245, + "end": 5272, + "loc": { + "start": { + "line": 132, + "column": 19 + }, + "end": { + "line": 132, + "column": 46 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5272, + "end": 5273, + "loc": { + "start": { + "line": 132, + "column": 46 + }, + "end": { + "line": 132, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 5274, + "end": 5278, + "loc": { + "start": { + "line": 132, + "column": 48 + }, + "end": { + "line": 132, + "column": 52 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5279, + "end": 5281, + "loc": { + "start": { + "line": 132, + "column": 53 + }, + "end": { + "line": 132, + "column": 55 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5282, + "end": 5283, + "loc": { + "start": { + "line": 132, + "column": 56 + }, + "end": { + "line": 132, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "albumFetcher", + "start": 5302, + "end": 5314, + "loc": { + "start": { + "line": 133, + "column": 18 + }, + "end": { + "line": 133, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5314, + "end": 5315, + "loc": { + "start": { + "line": 133, + "column": 30 + }, + "end": { + "line": 133, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "hasNextPage", + "start": 5315, + "end": 5326, + "loc": { + "start": { + "line": 133, + "column": 31 + }, + "end": { + "line": 133, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5326, + "end": 5327, + "loc": { + "start": { + "line": 133, + "column": 42 + }, + "end": { + "line": 133, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fulfillment", + "start": 5327, + "end": 5338, + "loc": { + "start": { + "line": 133, + "column": 43 + }, + "end": { + "line": 133, + "column": 54 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5338, + "end": 5339, + "loc": { + "start": { + "line": 133, + "column": 54 + }, + "end": { + "line": 133, + "column": 55 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5339, + "end": 5340, + "loc": { + "start": { + "line": 133, + "column": 55 + }, + "end": { + "line": 133, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 5340, + "end": 5346, + "loc": { + "start": { + "line": 133, + "column": 56 + }, + "end": { + "line": 133, + "column": 62 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5346, + "end": 5347, + "loc": { + "start": { + "line": 133, + "column": 62 + }, + "end": { + "line": 133, + "column": 63 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 5347, + "end": 5349, + "loc": { + "start": { + "line": 133, + "column": 63 + }, + "end": { + "line": 133, + "column": 65 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5349, + "end": 5350, + "loc": { + "start": { + "line": 133, + "column": 65 + }, + "end": { + "line": 133, + "column": 66 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 5350, + "end": 5355, + "loc": { + "start": { + "line": 133, + "column": 66 + }, + "end": { + "line": 133, + "column": 71 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5355, + "end": 5356, + "loc": { + "start": { + "line": 133, + "column": 71 + }, + "end": { + "line": 133, + "column": 72 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 5375, + "end": 5379, + "loc": { + "start": { + "line": 134, + "column": 18 + }, + "end": { + "line": 134, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5379, + "end": 5380, + "loc": { + "start": { + "line": 134, + "column": 22 + }, + "end": { + "line": 134, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5380, + "end": 5381, + "loc": { + "start": { + "line": 134, + "column": 23 + }, + "end": { + "line": 134, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5381, + "end": 5382, + "loc": { + "start": { + "line": 134, + "column": 24 + }, + "end": { + "line": 134, + "column": 25 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5399, + "end": 5400, + "loc": { + "start": { + "line": 135, + "column": 16 + }, + "end": { + "line": 135, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5400, + "end": 5401, + "loc": { + "start": { + "line": 135, + "column": 17 + }, + "end": { + "line": 135, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5401, + "end": 5402, + "loc": { + "start": { + "line": 135, + "column": 18 + }, + "end": { + "line": 135, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5417, + "end": 5418, + "loc": { + "start": { + "line": 136, + "column": 14 + }, + "end": { + "line": 136, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5418, + "end": 5419, + "loc": { + "start": { + "line": 136, + "column": 15 + }, + "end": { + "line": 136, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5419, + "end": 5420, + "loc": { + "start": { + "line": 136, + "column": 16 + }, + "end": { + "line": 136, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 5436, + "end": 5444, + "loc": { + "start": { + "line": 138, + "column": 14 + }, + "end": { + "line": 138, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5444, + "end": 5445, + "loc": { + "start": { + "line": 138, + "column": 22 + }, + "end": { + "line": 138, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#getWidgetUri", + "start": 5445, + "end": 5460, + "loc": { + "start": { + "line": 138, + "column": 23 + }, + "end": { + "line": 138, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5460, + "end": 5461, + "loc": { + "start": { + "line": 138, + "column": 38 + }, + "end": { + "line": 138, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5462, + "end": 5463, + "loc": { + "start": { + "line": 138, + "column": 40 + }, + "end": { + "line": 138, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5463, + "end": 5464, + "loc": { + "start": { + "line": 138, + "column": 41 + }, + "end": { + "line": 138, + "column": 42 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5465, + "end": 5467, + "loc": { + "start": { + "line": 138, + "column": 43 + }, + "end": { + "line": 138, + "column": 45 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5468, + "end": 5469, + "loc": { + "start": { + "line": 138, + "column": 46 + }, + "end": { + "line": 138, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 5486, + "end": 5488, + "loc": { + "start": { + "line": 139, + "column": 16 + }, + "end": { + "line": 139, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5488, + "end": 5489, + "loc": { + "start": { + "line": 139, + "column": 18 + }, + "end": { + "line": 139, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should return right uri", + "start": 5489, + "end": 5514, + "loc": { + "start": { + "line": 139, + "column": 19 + }, + "end": { + "line": 139, + "column": 44 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5514, + "end": 5515, + "loc": { + "start": { + "line": 139, + "column": 44 + }, + "end": { + "line": 139, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 5516, + "end": 5520, + "loc": { + "start": { + "line": 139, + "column": 46 + }, + "end": { + "line": 139, + "column": 50 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5521, + "end": 5523, + "loc": { + "start": { + "line": 139, + "column": 51 + }, + "end": { + "line": 139, + "column": 53 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5524, + "end": 5525, + "loc": { + "start": { + "line": 139, + "column": 54 + }, + "end": { + "line": 139, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "albumFetcher", + "start": 5544, + "end": 5556, + "loc": { + "start": { + "line": 140, + "column": 18 + }, + "end": { + "line": 140, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5577, + "end": 5578, + "loc": { + "start": { + "line": 141, + "column": 20 + }, + "end": { + "line": 141, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getWidgetUri", + "start": 5578, + "end": 5590, + "loc": { + "start": { + "line": 141, + "column": 21 + }, + "end": { + "line": 141, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5590, + "end": 5591, + "loc": { + "start": { + "line": 141, + "column": 33 + }, + "end": { + "line": 141, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5591, + "end": 5592, + "loc": { + "start": { + "line": 141, + "column": 34 + }, + "end": { + "line": 141, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5613, + "end": 5614, + "loc": { + "start": { + "line": 142, + "column": 20 + }, + "end": { + "line": 142, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 5614, + "end": 5620, + "loc": { + "start": { + "line": 142, + "column": 21 + }, + "end": { + "line": 142, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5620, + "end": 5621, + "loc": { + "start": { + "line": 142, + "column": 27 + }, + "end": { + "line": 142, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 5621, + "end": 5623, + "loc": { + "start": { + "line": 142, + "column": 28 + }, + "end": { + "line": 142, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5623, + "end": 5624, + "loc": { + "start": { + "line": 142, + "column": 30 + }, + "end": { + "line": 142, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 5624, + "end": 5631, + "loc": { + "start": { + "line": 142, + "column": 31 + }, + "end": { + "line": 142, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5631, + "end": 5632, + "loc": { + "start": { + "line": 142, + "column": 38 + }, + "end": { + "line": 142, + "column": 39 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5655, + "end": 5656, + "loc": { + "start": { + "line": 143, + "column": 22 + }, + "end": { + "line": 143, + "column": 23 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "https://widget.kkbox.com/v1/?id=", + "start": 5656, + "end": 5688, + "loc": { + "start": { + "line": 143, + "column": 23 + }, + "end": { + "line": 143, + "column": 55 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5688, + "end": 5690, + "loc": { + "start": { + "line": 143, + "column": 55 + }, + "end": { + "line": 143, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "album_id", + "start": 5690, + "end": 5698, + "loc": { + "start": { + "line": 143, + "column": 57 + }, + "end": { + "line": 143, + "column": 65 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5698, + "end": 5699, + "loc": { + "start": { + "line": 143, + "column": 65 + }, + "end": { + "line": 143, + "column": 66 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "&type=album", + "start": 5699, + "end": 5710, + "loc": { + "start": { + "line": 143, + "column": 66 + }, + "end": { + "line": 143, + "column": 77 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5710, + "end": 5711, + "loc": { + "start": { + "line": 143, + "column": 77 + }, + "end": { + "line": 143, + "column": 78 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5732, + "end": 5733, + "loc": { + "start": { + "line": 144, + "column": 20 + }, + "end": { + "line": 144, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5733, + "end": 5734, + "loc": { + "start": { + "line": 144, + "column": 21 + }, + "end": { + "line": 144, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 5753, + "end": 5757, + "loc": { + "start": { + "line": 145, + "column": 18 + }, + "end": { + "line": 145, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5757, + "end": 5758, + "loc": { + "start": { + "line": 145, + "column": 22 + }, + "end": { + "line": 145, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5758, + "end": 5759, + "loc": { + "start": { + "line": 145, + "column": 23 + }, + "end": { + "line": 145, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5759, + "end": 5760, + "loc": { + "start": { + "line": 145, + "column": 24 + }, + "end": { + "line": 145, + "column": 25 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5777, + "end": 5778, + "loc": { + "start": { + "line": 146, + "column": 16 + }, + "end": { + "line": 146, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5778, + "end": 5779, + "loc": { + "start": { + "line": 146, + "column": 17 + }, + "end": { + "line": 146, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5779, + "end": 5780, + "loc": { + "start": { + "line": 146, + "column": 18 + }, + "end": { + "line": 146, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5795, + "end": 5796, + "loc": { + "start": { + "line": 147, + "column": 14 + }, + "end": { + "line": 147, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5796, + "end": 5797, + "loc": { + "start": { + "line": 147, + "column": 15 + }, + "end": { + "line": 147, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5797, + "end": 5798, + "loc": { + "start": { + "line": 147, + "column": 16 + }, + "end": { + "line": 147, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5811, + "end": 5812, + "loc": { + "start": { + "line": 148, + "column": 12 + }, + "end": { + "line": 148, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5812, + "end": 5813, + "loc": { + "start": { + "line": 148, + "column": 13 + }, + "end": { + "line": 148, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5813, + "end": 5814, + "loc": { + "start": { + "line": 148, + "column": 14 + }, + "end": { + "line": 148, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 5828, + "end": 5836, + "loc": { + "start": { + "line": 150, + "column": 12 + }, + "end": { + "line": 150, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5836, + "end": 5837, + "loc": { + "start": { + "line": 150, + "column": 20 + }, + "end": { + "line": 150, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Album fetch next tracks", + "start": 5837, + "end": 5862, + "loc": { + "start": { + "line": 150, + "column": 21 + }, + "end": { + "line": 150, + "column": 46 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5862, + "end": 5863, + "loc": { + "start": { + "line": 150, + "column": 46 + }, + "end": { + "line": 150, + "column": 47 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5864, + "end": 5865, + "loc": { + "start": { + "line": 150, + "column": 48 + }, + "end": { + "line": 150, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5865, + "end": 5866, + "loc": { + "start": { + "line": 150, + "column": 49 + }, + "end": { + "line": 150, + "column": 50 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5867, + "end": 5869, + "loc": { + "start": { + "line": 150, + "column": 51 + }, + "end": { + "line": 150, + "column": 53 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5870, + "end": 5871, + "loc": { + "start": { + "line": 150, + "column": 54 + }, + "end": { + "line": 150, + "column": 55 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 5886, + "end": 5891, + "loc": { + "start": { + "line": 151, + "column": 14 + }, + "end": { + "line": 151, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "album_id", + "start": 5892, + "end": 5900, + "loc": { + "start": { + "line": 151, + "column": 20 + }, + "end": { + "line": 151, + "column": 28 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 5901, + "end": 5902, + "loc": { + "start": { + "line": 151, + "column": 29 + }, + "end": { + "line": 151, + "column": 30 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Ks8MAYNedkIB_sGajW", + "start": 5903, + "end": 5923, + "loc": { + "start": { + "line": 151, + "column": 31 + }, + "end": { + "line": 151, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5923, + "end": 5924, + "loc": { + "start": { + "line": 151, + "column": 51 + }, + "end": { + "line": 151, + "column": 52 + } + } + }, + { + "type": "CommentLine", + "value": " Cosmic Explorer from Perfume", + "start": 5925, + "end": 5956, + "loc": { + "start": { + "line": 151, + "column": 53 + }, + "end": { + "line": 151, + "column": 84 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 5971, + "end": 5976, + "loc": { + "start": { + "line": 152, + "column": 14 + }, + "end": { + "line": 152, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "albumFetcher", + "start": 5977, + "end": 5989, + "loc": { + "start": { + "line": 152, + "column": 20 + }, + "end": { + "line": 152, + "column": 32 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 5990, + "end": 5991, + "loc": { + "start": { + "line": 152, + "column": 33 + }, + "end": { + "line": 152, + "column": 34 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 5992, + "end": 5995, + "loc": { + "start": { + "line": 152, + "column": 35 + }, + "end": { + "line": 152, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "AlbumFetcher", + "start": 5996, + "end": 6008, + "loc": { + "start": { + "line": 152, + "column": 39 + }, + "end": { + "line": 152, + "column": 51 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6008, + "end": 6009, + "loc": { + "start": { + "line": 152, + "column": 51 + }, + "end": { + "line": 152, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "httpClient", + "start": 6009, + "end": 6019, + "loc": { + "start": { + "line": 152, + "column": 52 + }, + "end": { + "line": 152, + "column": 62 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6019, + "end": 6020, + "loc": { + "start": { + "line": 152, + "column": 62 + }, + "end": { + "line": 152, + "column": 63 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6020, + "end": 6021, + "loc": { + "start": { + "line": 152, + "column": 63 + }, + "end": { + "line": 152, + "column": 64 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setAlbumID", + "start": 6021, + "end": 6031, + "loc": { + "start": { + "line": 152, + "column": 64 + }, + "end": { + "line": 152, + "column": 74 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6031, + "end": 6032, + "loc": { + "start": { + "line": 152, + "column": 74 + }, + "end": { + "line": 152, + "column": 75 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "album_id", + "start": 6049, + "end": 6057, + "loc": { + "start": { + "line": 153, + "column": 16 + }, + "end": { + "line": 153, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6072, + "end": 6073, + "loc": { + "start": { + "line": 154, + "column": 14 + }, + "end": { + "line": 154, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6073, + "end": 6074, + "loc": { + "start": { + "line": 154, + "column": 15 + }, + "end": { + "line": 154, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 6090, + "end": 6098, + "loc": { + "start": { + "line": 156, + "column": 14 + }, + "end": { + "line": 156, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6098, + "end": 6099, + "loc": { + "start": { + "line": 156, + "column": 22 + }, + "end": { + "line": 156, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchTracks(1)", + "start": 6099, + "end": 6116, + "loc": { + "start": { + "line": 156, + "column": 23 + }, + "end": { + "line": 156, + "column": 40 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6116, + "end": 6117, + "loc": { + "start": { + "line": 156, + "column": 40 + }, + "end": { + "line": 156, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6118, + "end": 6119, + "loc": { + "start": { + "line": 156, + "column": 42 + }, + "end": { + "line": 156, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6119, + "end": 6120, + "loc": { + "start": { + "line": 156, + "column": 43 + }, + "end": { + "line": 156, + "column": 44 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6121, + "end": 6123, + "loc": { + "start": { + "line": 156, + "column": 45 + }, + "end": { + "line": 156, + "column": 47 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6124, + "end": 6125, + "loc": { + "start": { + "line": 156, + "column": 48 + }, + "end": { + "line": 156, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 6142, + "end": 6144, + "loc": { + "start": { + "line": 157, + "column": 16 + }, + "end": { + "line": 157, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6144, + "end": 6145, + "loc": { + "start": { + "line": 157, + "column": 18 + }, + "end": { + "line": 157, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should succeed and should fetch next page succeed", + "start": 6145, + "end": 6196, + "loc": { + "start": { + "line": 157, + "column": 19 + }, + "end": { + "line": 157, + "column": 70 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6196, + "end": 6197, + "loc": { + "start": { + "line": 157, + "column": 70 + }, + "end": { + "line": 157, + "column": 71 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 6198, + "end": 6202, + "loc": { + "start": { + "line": 157, + "column": 72 + }, + "end": { + "line": 157, + "column": 76 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6203, + "end": 6205, + "loc": { + "start": { + "line": 157, + "column": 77 + }, + "end": { + "line": 157, + "column": 79 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6206, + "end": 6207, + "loc": { + "start": { + "line": 157, + "column": 80 + }, + "end": { + "line": 157, + "column": 81 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "albumFetcher", + "start": 6226, + "end": 6238, + "loc": { + "start": { + "line": 158, + "column": 18 + }, + "end": { + "line": 158, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6238, + "end": 6239, + "loc": { + "start": { + "line": 158, + "column": 30 + }, + "end": { + "line": 158, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchTracks", + "start": 6239, + "end": 6250, + "loc": { + "start": { + "line": 158, + "column": 31 + }, + "end": { + "line": 158, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6250, + "end": 6251, + "loc": { + "start": { + "line": 158, + "column": 42 + }, + "end": { + "line": 158, + "column": 43 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 6251, + "end": 6252, + "loc": { + "start": { + "line": 158, + "column": 43 + }, + "end": { + "line": 158, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6252, + "end": 6253, + "loc": { + "start": { + "line": 158, + "column": 44 + }, + "end": { + "line": 158, + "column": 45 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6253, + "end": 6254, + "loc": { + "start": { + "line": 158, + "column": 45 + }, + "end": { + "line": 158, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 6254, + "end": 6258, + "loc": { + "start": { + "line": 158, + "column": 46 + }, + "end": { + "line": 158, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6258, + "end": 6259, + "loc": { + "start": { + "line": 158, + "column": 50 + }, + "end": { + "line": 158, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 6280, + "end": 6288, + "loc": { + "start": { + "line": 159, + "column": 20 + }, + "end": { + "line": 159, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6289, + "end": 6291, + "loc": { + "start": { + "line": 159, + "column": 29 + }, + "end": { + "line": 159, + "column": 31 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6292, + "end": 6293, + "loc": { + "start": { + "line": 159, + "column": 32 + }, + "end": { + "line": 159, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 6316, + "end": 6324, + "loc": { + "start": { + "line": 160, + "column": 22 + }, + "end": { + "line": 160, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6324, + "end": 6325, + "loc": { + "start": { + "line": 160, + "column": 30 + }, + "end": { + "line": 160, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 6325, + "end": 6331, + "loc": { + "start": { + "line": 160, + "column": 31 + }, + "end": { + "line": 160, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6331, + "end": 6332, + "loc": { + "start": { + "line": 160, + "column": 37 + }, + "end": { + "line": 160, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 6332, + "end": 6338, + "loc": { + "start": { + "line": 160, + "column": 38 + }, + "end": { + "line": 160, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6338, + "end": 6339, + "loc": { + "start": { + "line": 160, + "column": 44 + }, + "end": { + "line": 160, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 6339, + "end": 6341, + "loc": { + "start": { + "line": 160, + "column": 45 + }, + "end": { + "line": 160, + "column": 47 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6341, + "end": 6342, + "loc": { + "start": { + "line": 160, + "column": 47 + }, + "end": { + "line": 160, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 6342, + "end": 6349, + "loc": { + "start": { + "line": 160, + "column": 48 + }, + "end": { + "line": 160, + "column": 55 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6349, + "end": 6350, + "loc": { + "start": { + "line": 160, + "column": 55 + }, + "end": { + "line": 160, + "column": 56 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 6350, + "end": 6353, + "loc": { + "start": { + "line": 160, + "column": 56 + }, + "end": { + "line": 160, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6353, + "end": 6354, + "loc": { + "start": { + "line": 160, + "column": 59 + }, + "end": { + "line": 160, + "column": 60 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6354, + "end": 6355, + "loc": { + "start": { + "line": 160, + "column": 60 + }, + "end": { + "line": 160, + "column": 61 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "albumFetcher", + "start": 6378, + "end": 6390, + "loc": { + "start": { + "line": 161, + "column": 22 + }, + "end": { + "line": 161, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6390, + "end": 6391, + "loc": { + "start": { + "line": 161, + "column": 34 + }, + "end": { + "line": 161, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchNextPage", + "start": 6391, + "end": 6404, + "loc": { + "start": { + "line": 161, + "column": 35 + }, + "end": { + "line": 161, + "column": 48 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6404, + "end": 6405, + "loc": { + "start": { + "line": 161, + "column": 48 + }, + "end": { + "line": 161, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 6405, + "end": 6413, + "loc": { + "start": { + "line": 161, + "column": 49 + }, + "end": { + "line": 161, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6413, + "end": 6414, + "loc": { + "start": { + "line": 161, + "column": 57 + }, + "end": { + "line": 161, + "column": 58 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6414, + "end": 6415, + "loc": { + "start": { + "line": 161, + "column": 58 + }, + "end": { + "line": 161, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 6415, + "end": 6419, + "loc": { + "start": { + "line": 161, + "column": 59 + }, + "end": { + "line": 161, + "column": 63 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6419, + "end": 6420, + "loc": { + "start": { + "line": 161, + "column": 63 + }, + "end": { + "line": 161, + "column": 64 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 6445, + "end": 6453, + "loc": { + "start": { + "line": 162, + "column": 24 + }, + "end": { + "line": 162, + "column": 32 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6454, + "end": 6456, + "loc": { + "start": { + "line": 162, + "column": 33 + }, + "end": { + "line": 162, + "column": 35 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6457, + "end": 6458, + "loc": { + "start": { + "line": 162, + "column": 36 + }, + "end": { + "line": 162, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 6485, + "end": 6493, + "loc": { + "start": { + "line": 163, + "column": 26 + }, + "end": { + "line": 163, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6493, + "end": 6494, + "loc": { + "start": { + "line": 163, + "column": 34 + }, + "end": { + "line": 163, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 6494, + "end": 6498, + "loc": { + "start": { + "line": 163, + "column": 35 + }, + "end": { + "line": 163, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6498, + "end": 6499, + "loc": { + "start": { + "line": 163, + "column": 39 + }, + "end": { + "line": 163, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 6499, + "end": 6503, + "loc": { + "start": { + "line": 163, + "column": 40 + }, + "end": { + "line": 163, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6503, + "end": 6504, + "loc": { + "start": { + "line": 163, + "column": 44 + }, + "end": { + "line": 163, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 6504, + "end": 6510, + "loc": { + "start": { + "line": 163, + "column": 45 + }, + "end": { + "line": 163, + "column": 51 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6510, + "end": 6511, + "loc": { + "start": { + "line": 163, + "column": 51 + }, + "end": { + "line": 163, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 6511, + "end": 6513, + "loc": { + "start": { + "line": 163, + "column": 52 + }, + "end": { + "line": 163, + "column": 54 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6513, + "end": 6514, + "loc": { + "start": { + "line": 163, + "column": 54 + }, + "end": { + "line": 163, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "an", + "start": 6514, + "end": 6516, + "loc": { + "start": { + "line": 163, + "column": 55 + }, + "end": { + "line": 163, + "column": 57 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6516, + "end": 6517, + "loc": { + "start": { + "line": 163, + "column": 57 + }, + "end": { + "line": 163, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "instanceOf", + "start": 6517, + "end": 6527, + "loc": { + "start": { + "line": 163, + "column": 58 + }, + "end": { + "line": 163, + "column": 68 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6527, + "end": 6528, + "loc": { + "start": { + "line": 163, + "column": 68 + }, + "end": { + "line": 163, + "column": 69 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Array", + "start": 6528, + "end": 6533, + "loc": { + "start": { + "line": 163, + "column": 69 + }, + "end": { + "line": 163, + "column": 74 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6533, + "end": 6534, + "loc": { + "start": { + "line": 163, + "column": 74 + }, + "end": { + "line": 163, + "column": 75 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6534, + "end": 6535, + "loc": { + "start": { + "line": 163, + "column": 75 + }, + "end": { + "line": 163, + "column": 76 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 6562, + "end": 6570, + "loc": { + "start": { + "line": 164, + "column": 26 + }, + "end": { + "line": 164, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6570, + "end": 6571, + "loc": { + "start": { + "line": 164, + "column": 34 + }, + "end": { + "line": 164, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 6571, + "end": 6575, + "loc": { + "start": { + "line": 164, + "column": 35 + }, + "end": { + "line": 164, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6575, + "end": 6576, + "loc": { + "start": { + "line": 164, + "column": 39 + }, + "end": { + "line": 164, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 6576, + "end": 6580, + "loc": { + "start": { + "line": 164, + "column": 40 + }, + "end": { + "line": 164, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6580, + "end": 6581, + "loc": { + "start": { + "line": 164, + "column": 44 + }, + "end": { + "line": 164, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 6581, + "end": 6587, + "loc": { + "start": { + "line": 164, + "column": 45 + }, + "end": { + "line": 164, + "column": 51 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6587, + "end": 6588, + "loc": { + "start": { + "line": 164, + "column": 51 + }, + "end": { + "line": 164, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 6588, + "end": 6594, + "loc": { + "start": { + "line": 164, + "column": 52 + }, + "end": { + "line": 164, + "column": 58 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6594, + "end": 6595, + "loc": { + "start": { + "line": 164, + "column": 58 + }, + "end": { + "line": 164, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 6595, + "end": 6597, + "loc": { + "start": { + "line": 164, + "column": 59 + }, + "end": { + "line": 164, + "column": 61 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6597, + "end": 6598, + "loc": { + "start": { + "line": 164, + "column": 61 + }, + "end": { + "line": 164, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "equal", + "start": 6598, + "end": 6603, + "loc": { + "start": { + "line": 164, + "column": 62 + }, + "end": { + "line": 164, + "column": 67 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6603, + "end": 6604, + "loc": { + "start": { + "line": 164, + "column": 67 + }, + "end": { + "line": 164, + "column": 68 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 6604, + "end": 6605, + "loc": { + "start": { + "line": 164, + "column": 68 + }, + "end": { + "line": 164, + "column": 69 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6605, + "end": 6606, + "loc": { + "start": { + "line": 164, + "column": 69 + }, + "end": { + "line": 164, + "column": 70 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6606, + "end": 6607, + "loc": { + "start": { + "line": 164, + "column": 70 + }, + "end": { + "line": 164, + "column": 71 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 6634, + "end": 6642, + "loc": { + "start": { + "line": 165, + "column": 26 + }, + "end": { + "line": 165, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6642, + "end": 6643, + "loc": { + "start": { + "line": 165, + "column": 34 + }, + "end": { + "line": 165, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 6643, + "end": 6649, + "loc": { + "start": { + "line": 165, + "column": 35 + }, + "end": { + "line": 165, + "column": 41 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6649, + "end": 6650, + "loc": { + "start": { + "line": 165, + "column": 41 + }, + "end": { + "line": 165, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 6650, + "end": 6656, + "loc": { + "start": { + "line": 165, + "column": 42 + }, + "end": { + "line": 165, + "column": 48 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6656, + "end": 6657, + "loc": { + "start": { + "line": 165, + "column": 48 + }, + "end": { + "line": 165, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 6657, + "end": 6659, + "loc": { + "start": { + "line": 165, + "column": 49 + }, + "end": { + "line": 165, + "column": 51 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6659, + "end": 6660, + "loc": { + "start": { + "line": 165, + "column": 51 + }, + "end": { + "line": 165, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 6660, + "end": 6667, + "loc": { + "start": { + "line": 165, + "column": 52 + }, + "end": { + "line": 165, + "column": 59 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6667, + "end": 6668, + "loc": { + "start": { + "line": 165, + "column": 59 + }, + "end": { + "line": 165, + "column": 60 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 6668, + "end": 6671, + "loc": { + "start": { + "line": 165, + "column": 60 + }, + "end": { + "line": 165, + "column": 63 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6671, + "end": 6672, + "loc": { + "start": { + "line": 165, + "column": 63 + }, + "end": { + "line": 165, + "column": 64 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6672, + "end": 6673, + "loc": { + "start": { + "line": 165, + "column": 64 + }, + "end": { + "line": 165, + "column": 65 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 6700, + "end": 6704, + "loc": { + "start": { + "line": 166, + "column": 26 + }, + "end": { + "line": 166, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6704, + "end": 6705, + "loc": { + "start": { + "line": 166, + "column": 30 + }, + "end": { + "line": 166, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6705, + "end": 6706, + "loc": { + "start": { + "line": 166, + "column": 31 + }, + "end": { + "line": 166, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6706, + "end": 6707, + "loc": { + "start": { + "line": 166, + "column": 32 + }, + "end": { + "line": 166, + "column": 33 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6732, + "end": 6733, + "loc": { + "start": { + "line": 167, + "column": 24 + }, + "end": { + "line": 167, + "column": 25 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6733, + "end": 6734, + "loc": { + "start": { + "line": 167, + "column": 25 + }, + "end": { + "line": 167, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 6759, + "end": 6765, + "loc": { + "start": { + "line": 168, + "column": 24 + }, + "end": { + "line": 168, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6766, + "end": 6768, + "loc": { + "start": { + "line": 168, + "column": 31 + }, + "end": { + "line": 168, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6769, + "end": 6770, + "loc": { + "start": { + "line": 168, + "column": 34 + }, + "end": { + "line": 168, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 6797, + "end": 6801, + "loc": { + "start": { + "line": 169, + "column": 26 + }, + "end": { + "line": 169, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6801, + "end": 6802, + "loc": { + "start": { + "line": 169, + "column": 30 + }, + "end": { + "line": 169, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 6802, + "end": 6808, + "loc": { + "start": { + "line": 169, + "column": 31 + }, + "end": { + "line": 169, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6808, + "end": 6809, + "loc": { + "start": { + "line": 169, + "column": 37 + }, + "end": { + "line": 169, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6809, + "end": 6810, + "loc": { + "start": { + "line": 169, + "column": 38 + }, + "end": { + "line": 169, + "column": 39 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6835, + "end": 6836, + "loc": { + "start": { + "line": 170, + "column": 24 + }, + "end": { + "line": 170, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6859, + "end": 6860, + "loc": { + "start": { + "line": 171, + "column": 22 + }, + "end": { + "line": 171, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6860, + "end": 6861, + "loc": { + "start": { + "line": 171, + "column": 23 + }, + "end": { + "line": 171, + "column": 24 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6882, + "end": 6883, + "loc": { + "start": { + "line": 172, + "column": 20 + }, + "end": { + "line": 172, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6883, + "end": 6884, + "loc": { + "start": { + "line": 172, + "column": 21 + }, + "end": { + "line": 172, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 6905, + "end": 6911, + "loc": { + "start": { + "line": 173, + "column": 20 + }, + "end": { + "line": 173, + "column": 26 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6912, + "end": 6914, + "loc": { + "start": { + "line": 173, + "column": 27 + }, + "end": { + "line": 173, + "column": 29 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6915, + "end": 6916, + "loc": { + "start": { + "line": 173, + "column": 30 + }, + "end": { + "line": 173, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 6939, + "end": 6943, + "loc": { + "start": { + "line": 174, + "column": 22 + }, + "end": { + "line": 174, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6943, + "end": 6944, + "loc": { + "start": { + "line": 174, + "column": 26 + }, + "end": { + "line": 174, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 6944, + "end": 6950, + "loc": { + "start": { + "line": 174, + "column": 27 + }, + "end": { + "line": 174, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6950, + "end": 6951, + "loc": { + "start": { + "line": 174, + "column": 33 + }, + "end": { + "line": 174, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6951, + "end": 6952, + "loc": { + "start": { + "line": 174, + "column": 34 + }, + "end": { + "line": 174, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6973, + "end": 6974, + "loc": { + "start": { + "line": 175, + "column": 20 + }, + "end": { + "line": 175, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6993, + "end": 6994, + "loc": { + "start": { + "line": 176, + "column": 18 + }, + "end": { + "line": 176, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6994, + "end": 6995, + "loc": { + "start": { + "line": 176, + "column": 19 + }, + "end": { + "line": 176, + "column": 20 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7012, + "end": 7013, + "loc": { + "start": { + "line": 177, + "column": 16 + }, + "end": { + "line": 177, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7013, + "end": 7014, + "loc": { + "start": { + "line": 177, + "column": 17 + }, + "end": { + "line": 177, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7014, + "end": 7015, + "loc": { + "start": { + "line": 177, + "column": 18 + }, + "end": { + "line": 177, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7030, + "end": 7031, + "loc": { + "start": { + "line": 178, + "column": 14 + }, + "end": { + "line": 178, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7031, + "end": 7032, + "loc": { + "start": { + "line": 178, + "column": 15 + }, + "end": { + "line": 178, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7032, + "end": 7033, + "loc": { + "start": { + "line": 178, + "column": 16 + }, + "end": { + "line": 178, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7046, + "end": 7047, + "loc": { + "start": { + "line": 179, + "column": 12 + }, + "end": { + "line": 179, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7047, + "end": 7048, + "loc": { + "start": { + "line": 179, + "column": 13 + }, + "end": { + "line": 179, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7048, + "end": 7049, + "loc": { + "start": { + "line": 179, + "column": 14 + }, + "end": { + "line": 179, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 7063, + "end": 7071, + "loc": { + "start": { + "line": 181, + "column": 12 + }, + "end": { + "line": 181, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7071, + "end": 7072, + "loc": { + "start": { + "line": 181, + "column": 20 + }, + "end": { + "line": 181, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Album fetch next page", + "start": 7072, + "end": 7095, + "loc": { + "start": { + "line": 181, + "column": 21 + }, + "end": { + "line": 181, + "column": 44 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7095, + "end": 7096, + "loc": { + "start": { + "line": 181, + "column": 44 + }, + "end": { + "line": 181, + "column": 45 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7097, + "end": 7098, + "loc": { + "start": { + "line": 181, + "column": 46 + }, + "end": { + "line": 181, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7098, + "end": 7099, + "loc": { + "start": { + "line": 181, + "column": 47 + }, + "end": { + "line": 181, + "column": 48 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7100, + "end": 7102, + "loc": { + "start": { + "line": 181, + "column": 49 + }, + "end": { + "line": 181, + "column": 51 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7103, + "end": 7104, + "loc": { + "start": { + "line": 181, + "column": 52 + }, + "end": { + "line": 181, + "column": 53 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 7119, + "end": 7124, + "loc": { + "start": { + "line": 182, + "column": 14 + }, + "end": { + "line": 182, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "album_id", + "start": 7125, + "end": 7133, + "loc": { + "start": { + "line": 182, + "column": 20 + }, + "end": { + "line": 182, + "column": 28 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 7134, + "end": 7135, + "loc": { + "start": { + "line": 182, + "column": 29 + }, + "end": { + "line": 182, + "column": 30 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Ks8MAYNedkIB_sGajW", + "start": 7136, + "end": 7156, + "loc": { + "start": { + "line": 182, + "column": 31 + }, + "end": { + "line": 182, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7156, + "end": 7157, + "loc": { + "start": { + "line": 182, + "column": 51 + }, + "end": { + "line": 182, + "column": 52 + } + } + }, + { + "type": "CommentLine", + "value": " Cosmic Explorer from Perfume", + "start": 7158, + "end": 7189, + "loc": { + "start": { + "line": 182, + "column": 53 + }, + "end": { + "line": 182, + "column": 84 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 7204, + "end": 7209, + "loc": { + "start": { + "line": 183, + "column": 14 + }, + "end": { + "line": 183, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "albumFetcher", + "start": 7210, + "end": 7222, + "loc": { + "start": { + "line": 183, + "column": 20 + }, + "end": { + "line": 183, + "column": 32 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 7223, + "end": 7224, + "loc": { + "start": { + "line": 183, + "column": 33 + }, + "end": { + "line": 183, + "column": 34 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 7225, + "end": 7228, + "loc": { + "start": { + "line": 183, + "column": 35 + }, + "end": { + "line": 183, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "AlbumFetcher", + "start": 7229, + "end": 7241, + "loc": { + "start": { + "line": 183, + "column": 39 + }, + "end": { + "line": 183, + "column": 51 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7241, + "end": 7242, + "loc": { + "start": { + "line": 183, + "column": 51 + }, + "end": { + "line": 183, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "httpClient", + "start": 7242, + "end": 7252, + "loc": { + "start": { + "line": 183, + "column": 52 + }, + "end": { + "line": 183, + "column": 62 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7252, + "end": 7253, + "loc": { + "start": { + "line": 183, + "column": 62 + }, + "end": { + "line": 183, + "column": 63 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7253, + "end": 7254, + "loc": { + "start": { + "line": 183, + "column": 63 + }, + "end": { + "line": 183, + "column": 64 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setAlbumID", + "start": 7254, + "end": 7264, + "loc": { + "start": { + "line": 183, + "column": 64 + }, + "end": { + "line": 183, + "column": 74 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7264, + "end": 7265, + "loc": { + "start": { + "line": 183, + "column": 74 + }, + "end": { + "line": 183, + "column": 75 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "album_id", + "start": 7282, + "end": 7290, + "loc": { + "start": { + "line": 184, + "column": 16 + }, + "end": { + "line": 184, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7305, + "end": 7306, + "loc": { + "start": { + "line": 185, + "column": 14 + }, + "end": { + "line": 185, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7306, + "end": 7307, + "loc": { + "start": { + "line": 185, + "column": 15 + }, + "end": { + "line": 185, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 7323, + "end": 7325, + "loc": { + "start": { + "line": 187, + "column": 14 + }, + "end": { + "line": 187, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7325, + "end": 7326, + "loc": { + "start": { + "line": 187, + "column": 16 + }, + "end": { + "line": 187, + "column": 17 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "fetch next page should response status 200", + "start": 7326, + "end": 7370, + "loc": { + "start": { + "line": 187, + "column": 17 + }, + "end": { + "line": 187, + "column": 61 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7370, + "end": 7371, + "loc": { + "start": { + "line": 187, + "column": 61 + }, + "end": { + "line": 187, + "column": 62 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7372, + "end": 7373, + "loc": { + "start": { + "line": 187, + "column": 63 + }, + "end": { + "line": 187, + "column": 64 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7373, + "end": 7374, + "loc": { + "start": { + "line": 187, + "column": 64 + }, + "end": { + "line": 187, + "column": 65 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7375, + "end": 7377, + "loc": { + "start": { + "line": 187, + "column": 66 + }, + "end": { + "line": 187, + "column": 68 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7378, + "end": 7379, + "loc": { + "start": { + "line": 187, + "column": 69 + }, + "end": { + "line": 187, + "column": 70 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 7396, + "end": 7402, + "loc": { + "start": { + "line": 188, + "column": 16 + }, + "end": { + "line": 188, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "albumFetcher", + "start": 7403, + "end": 7415, + "loc": { + "start": { + "line": 188, + "column": 23 + }, + "end": { + "line": 188, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7415, + "end": 7416, + "loc": { + "start": { + "line": 188, + "column": 35 + }, + "end": { + "line": 188, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchTracks", + "start": 7416, + "end": 7427, + "loc": { + "start": { + "line": 188, + "column": 36 + }, + "end": { + "line": 188, + "column": 47 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7427, + "end": 7428, + "loc": { + "start": { + "line": 188, + "column": 47 + }, + "end": { + "line": 188, + "column": 48 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 7428, + "end": 7429, + "loc": { + "start": { + "line": 188, + "column": 48 + }, + "end": { + "line": 188, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7429, + "end": 7430, + "loc": { + "start": { + "line": 188, + "column": 49 + }, + "end": { + "line": 188, + "column": 50 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7430, + "end": 7431, + "loc": { + "start": { + "line": 188, + "column": 50 + }, + "end": { + "line": 188, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 7431, + "end": 7435, + "loc": { + "start": { + "line": 188, + "column": 51 + }, + "end": { + "line": 188, + "column": 55 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7435, + "end": 7436, + "loc": { + "start": { + "line": 188, + "column": 55 + }, + "end": { + "line": 188, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 7455, + "end": 7463, + "loc": { + "start": { + "line": 189, + "column": 18 + }, + "end": { + "line": 189, + "column": 26 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7464, + "end": 7466, + "loc": { + "start": { + "line": 189, + "column": 27 + }, + "end": { + "line": 189, + "column": 29 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7467, + "end": 7468, + "loc": { + "start": { + "line": 189, + "column": 30 + }, + "end": { + "line": 189, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 7489, + "end": 7497, + "loc": { + "start": { + "line": 190, + "column": 20 + }, + "end": { + "line": 190, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7497, + "end": 7498, + "loc": { + "start": { + "line": 190, + "column": 28 + }, + "end": { + "line": 190, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 7498, + "end": 7504, + "loc": { + "start": { + "line": 190, + "column": 29 + }, + "end": { + "line": 190, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7504, + "end": 7505, + "loc": { + "start": { + "line": 190, + "column": 35 + }, + "end": { + "line": 190, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 7505, + "end": 7511, + "loc": { + "start": { + "line": 190, + "column": 36 + }, + "end": { + "line": 190, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7511, + "end": 7512, + "loc": { + "start": { + "line": 190, + "column": 42 + }, + "end": { + "line": 190, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 7512, + "end": 7514, + "loc": { + "start": { + "line": 190, + "column": 43 + }, + "end": { + "line": 190, + "column": 45 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7514, + "end": 7515, + "loc": { + "start": { + "line": 190, + "column": 45 + }, + "end": { + "line": 190, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 7515, + "end": 7522, + "loc": { + "start": { + "line": 190, + "column": 46 + }, + "end": { + "line": 190, + "column": 53 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7522, + "end": 7523, + "loc": { + "start": { + "line": 190, + "column": 53 + }, + "end": { + "line": 190, + "column": 54 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 7523, + "end": 7526, + "loc": { + "start": { + "line": 190, + "column": 54 + }, + "end": { + "line": 190, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7526, + "end": 7527, + "loc": { + "start": { + "line": 190, + "column": 57 + }, + "end": { + "line": 190, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7527, + "end": 7528, + "loc": { + "start": { + "line": 190, + "column": 58 + }, + "end": { + "line": 190, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "albumFetcher", + "start": 7549, + "end": 7561, + "loc": { + "start": { + "line": 191, + "column": 20 + }, + "end": { + "line": 191, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7561, + "end": 7562, + "loc": { + "start": { + "line": 191, + "column": 32 + }, + "end": { + "line": 191, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchNextPage", + "start": 7562, + "end": 7575, + "loc": { + "start": { + "line": 191, + "column": 33 + }, + "end": { + "line": 191, + "column": 46 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7575, + "end": 7576, + "loc": { + "start": { + "line": 191, + "column": 46 + }, + "end": { + "line": 191, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 7576, + "end": 7584, + "loc": { + "start": { + "line": 191, + "column": 47 + }, + "end": { + "line": 191, + "column": 55 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7584, + "end": 7585, + "loc": { + "start": { + "line": 191, + "column": 55 + }, + "end": { + "line": 191, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7585, + "end": 7586, + "loc": { + "start": { + "line": 191, + "column": 56 + }, + "end": { + "line": 191, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 7586, + "end": 7590, + "loc": { + "start": { + "line": 191, + "column": 57 + }, + "end": { + "line": 191, + "column": 61 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7590, + "end": 7591, + "loc": { + "start": { + "line": 191, + "column": 61 + }, + "end": { + "line": 191, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 7614, + "end": 7622, + "loc": { + "start": { + "line": 192, + "column": 22 + }, + "end": { + "line": 192, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7623, + "end": 7625, + "loc": { + "start": { + "line": 192, + "column": 31 + }, + "end": { + "line": 192, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7626, + "end": 7627, + "loc": { + "start": { + "line": 192, + "column": 34 + }, + "end": { + "line": 192, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 7652, + "end": 7660, + "loc": { + "start": { + "line": 193, + "column": 24 + }, + "end": { + "line": 193, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7660, + "end": 7661, + "loc": { + "start": { + "line": 193, + "column": 32 + }, + "end": { + "line": 193, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 7661, + "end": 7667, + "loc": { + "start": { + "line": 193, + "column": 33 + }, + "end": { + "line": 193, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7667, + "end": 7668, + "loc": { + "start": { + "line": 193, + "column": 39 + }, + "end": { + "line": 193, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 7668, + "end": 7674, + "loc": { + "start": { + "line": 193, + "column": 40 + }, + "end": { + "line": 193, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7674, + "end": 7675, + "loc": { + "start": { + "line": 193, + "column": 46 + }, + "end": { + "line": 193, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 7675, + "end": 7677, + "loc": { + "start": { + "line": 193, + "column": 47 + }, + "end": { + "line": 193, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7677, + "end": 7678, + "loc": { + "start": { + "line": 193, + "column": 49 + }, + "end": { + "line": 193, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 7678, + "end": 7685, + "loc": { + "start": { + "line": 193, + "column": 50 + }, + "end": { + "line": 193, + "column": 57 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7685, + "end": 7686, + "loc": { + "start": { + "line": 193, + "column": 57 + }, + "end": { + "line": 193, + "column": 58 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 7686, + "end": 7689, + "loc": { + "start": { + "line": 193, + "column": 58 + }, + "end": { + "line": 193, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7689, + "end": 7690, + "loc": { + "start": { + "line": 193, + "column": 61 + }, + "end": { + "line": 193, + "column": 62 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7690, + "end": 7691, + "loc": { + "start": { + "line": 193, + "column": 62 + }, + "end": { + "line": 193, + "column": 63 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7714, + "end": 7715, + "loc": { + "start": { + "line": 194, + "column": 22 + }, + "end": { + "line": 194, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7715, + "end": 7716, + "loc": { + "start": { + "line": 194, + "column": 23 + }, + "end": { + "line": 194, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 7739, + "end": 7745, + "loc": { + "start": { + "line": 195, + "column": 22 + }, + "end": { + "line": 195, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7746, + "end": 7748, + "loc": { + "start": { + "line": 195, + "column": 29 + }, + "end": { + "line": 195, + "column": 31 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7749, + "end": 7750, + "loc": { + "start": { + "line": 195, + "column": 32 + }, + "end": { + "line": 195, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 7775, + "end": 7781, + "loc": { + "start": { + "line": 196, + "column": 24 + }, + "end": { + "line": 196, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7781, + "end": 7782, + "loc": { + "start": { + "line": 196, + "column": 30 + }, + "end": { + "line": 196, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 7782, + "end": 7785, + "loc": { + "start": { + "line": 196, + "column": 31 + }, + "end": { + "line": 196, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7785, + "end": 7786, + "loc": { + "start": { + "line": 196, + "column": 34 + }, + "end": { + "line": 196, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exists", + "start": 7786, + "end": 7792, + "loc": { + "start": { + "line": 196, + "column": 35 + }, + "end": { + "line": 196, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7792, + "end": 7793, + "loc": { + "start": { + "line": 196, + "column": 41 + }, + "end": { + "line": 196, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 7793, + "end": 7799, + "loc": { + "start": { + "line": 196, + "column": 42 + }, + "end": { + "line": 196, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7799, + "end": 7800, + "loc": { + "start": { + "line": 196, + "column": 48 + }, + "end": { + "line": 196, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7800, + "end": 7801, + "loc": { + "start": { + "line": 196, + "column": 49 + }, + "end": { + "line": 196, + "column": 50 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7824, + "end": 7825, + "loc": { + "start": { + "line": 197, + "column": 22 + }, + "end": { + "line": 197, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7846, + "end": 7847, + "loc": { + "start": { + "line": 198, + "column": 20 + }, + "end": { + "line": 198, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7847, + "end": 7848, + "loc": { + "start": { + "line": 198, + "column": 21 + }, + "end": { + "line": 198, + "column": 22 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7867, + "end": 7868, + "loc": { + "start": { + "line": 199, + "column": 18 + }, + "end": { + "line": 199, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7868, + "end": 7869, + "loc": { + "start": { + "line": 199, + "column": 19 + }, + "end": { + "line": 199, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 7888, + "end": 7894, + "loc": { + "start": { + "line": 200, + "column": 18 + }, + "end": { + "line": 200, + "column": 24 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7895, + "end": 7897, + "loc": { + "start": { + "line": 200, + "column": 25 + }, + "end": { + "line": 200, + "column": 27 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7898, + "end": 7899, + "loc": { + "start": { + "line": 200, + "column": 28 + }, + "end": { + "line": 200, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 7920, + "end": 7926, + "loc": { + "start": { + "line": 201, + "column": 20 + }, + "end": { + "line": 201, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7926, + "end": 7927, + "loc": { + "start": { + "line": 201, + "column": 26 + }, + "end": { + "line": 201, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 7927, + "end": 7930, + "loc": { + "start": { + "line": 201, + "column": 27 + }, + "end": { + "line": 201, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7930, + "end": 7931, + "loc": { + "start": { + "line": 201, + "column": 30 + }, + "end": { + "line": 201, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exists", + "start": 7931, + "end": 7937, + "loc": { + "start": { + "line": 201, + "column": 31 + }, + "end": { + "line": 201, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7937, + "end": 7938, + "loc": { + "start": { + "line": 201, + "column": 37 + }, + "end": { + "line": 201, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 7938, + "end": 7944, + "loc": { + "start": { + "line": 201, + "column": 38 + }, + "end": { + "line": 201, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7944, + "end": 7945, + "loc": { + "start": { + "line": 201, + "column": 44 + }, + "end": { + "line": 201, + "column": 45 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7945, + "end": 7946, + "loc": { + "start": { + "line": 201, + "column": 45 + }, + "end": { + "line": 201, + "column": 46 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7965, + "end": 7966, + "loc": { + "start": { + "line": 202, + "column": 18 + }, + "end": { + "line": 202, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7983, + "end": 7984, + "loc": { + "start": { + "line": 203, + "column": 16 + }, + "end": { + "line": 203, + "column": 17 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7984, + "end": 7985, + "loc": { + "start": { + "line": 203, + "column": 17 + }, + "end": { + "line": 203, + "column": 18 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8000, + "end": 8001, + "loc": { + "start": { + "line": 204, + "column": 14 + }, + "end": { + "line": 204, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8001, + "end": 8002, + "loc": { + "start": { + "line": 204, + "column": 15 + }, + "end": { + "line": 204, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8002, + "end": 8003, + "loc": { + "start": { + "line": 204, + "column": 16 + }, + "end": { + "line": 204, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8016, + "end": 8017, + "loc": { + "start": { + "line": 205, + "column": 12 + }, + "end": { + "line": 205, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8017, + "end": 8018, + "loc": { + "start": { + "line": 205, + "column": 13 + }, + "end": { + "line": 205, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8018, + "end": 8019, + "loc": { + "start": { + "line": 205, + "column": 14 + }, + "end": { + "line": 205, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 8033, + "end": 8041, + "loc": { + "start": { + "line": 207, + "column": 12 + }, + "end": { + "line": 207, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8041, + "end": 8042, + "loc": { + "start": { + "line": 207, + "column": 20 + }, + "end": { + "line": 207, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Shared Playlists", + "start": 8042, + "end": 8060, + "loc": { + "start": { + "line": 207, + "column": 21 + }, + "end": { + "line": 207, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8060, + "end": 8061, + "loc": { + "start": { + "line": 207, + "column": 39 + }, + "end": { + "line": 207, + "column": 40 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8062, + "end": 8063, + "loc": { + "start": { + "line": 207, + "column": 41 + }, + "end": { + "line": 207, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8063, + "end": 8064, + "loc": { + "start": { + "line": 207, + "column": 42 + }, + "end": { + "line": 207, + "column": 43 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8065, + "end": 8067, + "loc": { + "start": { + "line": 207, + "column": 44 + }, + "end": { + "line": 207, + "column": 46 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8068, + "end": 8069, + "loc": { + "start": { + "line": 207, + "column": 47 + }, + "end": { + "line": 207, + "column": 48 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 8084, + "end": 8089, + "loc": { + "start": { + "line": 208, + "column": 14 + }, + "end": { + "line": 208, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "playlist_id", + "start": 8090, + "end": 8101, + "loc": { + "start": { + "line": 208, + "column": 20 + }, + "end": { + "line": 208, + "column": 31 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8102, + "end": 8103, + "loc": { + "start": { + "line": 208, + "column": 32 + }, + "end": { + "line": 208, + "column": 33 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "4nUZM-TY2aVxZ2xaA-", + "start": 8104, + "end": 8124, + "loc": { + "start": { + "line": 208, + "column": 34 + }, + "end": { + "line": 208, + "column": 54 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8124, + "end": 8125, + "loc": { + "start": { + "line": 208, + "column": 54 + }, + "end": { + "line": 208, + "column": 55 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 8140, + "end": 8145, + "loc": { + "start": { + "line": 209, + "column": 14 + }, + "end": { + "line": 209, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sharedPlaylistFetcher", + "start": 8146, + "end": 8167, + "loc": { + "start": { + "line": 209, + "column": 20 + }, + "end": { + "line": 209, + "column": 41 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8168, + "end": 8169, + "loc": { + "start": { + "line": 209, + "column": 42 + }, + "end": { + "line": 209, + "column": 43 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 8170, + "end": 8173, + "loc": { + "start": { + "line": 209, + "column": 44 + }, + "end": { + "line": 209, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "SharedPlaylistFetcher", + "start": 8174, + "end": 8195, + "loc": { + "start": { + "line": 209, + "column": 48 + }, + "end": { + "line": 209, + "column": 69 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8195, + "end": 8196, + "loc": { + "start": { + "line": 209, + "column": 69 + }, + "end": { + "line": 209, + "column": 70 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "httpClient", + "start": 8213, + "end": 8223, + "loc": { + "start": { + "line": 210, + "column": 16 + }, + "end": { + "line": 210, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8238, + "end": 8239, + "loc": { + "start": { + "line": 211, + "column": 14 + }, + "end": { + "line": 211, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8239, + "end": 8240, + "loc": { + "start": { + "line": 211, + "column": 15 + }, + "end": { + "line": 211, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setPlaylistID", + "start": 8240, + "end": 8253, + "loc": { + "start": { + "line": 211, + "column": 16 + }, + "end": { + "line": 211, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8253, + "end": 8254, + "loc": { + "start": { + "line": 211, + "column": 29 + }, + "end": { + "line": 211, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "playlist_id", + "start": 8254, + "end": 8265, + "loc": { + "start": { + "line": 211, + "column": 30 + }, + "end": { + "line": 211, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8265, + "end": 8266, + "loc": { + "start": { + "line": 211, + "column": 41 + }, + "end": { + "line": 211, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8266, + "end": 8267, + "loc": { + "start": { + "line": 211, + "column": 42 + }, + "end": { + "line": 211, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 8282, + "end": 8290, + "loc": { + "start": { + "line": 212, + "column": 14 + }, + "end": { + "line": 212, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8290, + "end": 8291, + "loc": { + "start": { + "line": 212, + "column": 22 + }, + "end": { + "line": 212, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#find and get()", + "start": 8291, + "end": 8308, + "loc": { + "start": { + "line": 212, + "column": 23 + }, + "end": { + "line": 212, + "column": 40 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8308, + "end": 8309, + "loc": { + "start": { + "line": 212, + "column": 40 + }, + "end": { + "line": 212, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8310, + "end": 8311, + "loc": { + "start": { + "line": 212, + "column": 42 + }, + "end": { + "line": 212, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8311, + "end": 8312, + "loc": { + "start": { + "line": 212, + "column": 43 + }, + "end": { + "line": 212, + "column": 44 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8313, + "end": 8315, + "loc": { + "start": { + "line": 212, + "column": 45 + }, + "end": { + "line": 212, + "column": 47 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8316, + "end": 8317, + "loc": { + "start": { + "line": 212, + "column": 48 + }, + "end": { + "line": 212, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 8334, + "end": 8336, + "loc": { + "start": { + "line": 213, + "column": 16 + }, + "end": { + "line": 213, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8336, + "end": 8337, + "loc": { + "start": { + "line": 213, + "column": 18 + }, + "end": { + "line": 213, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200", + "start": 8337, + "end": 8365, + "loc": { + "start": { + "line": 213, + "column": 19 + }, + "end": { + "line": 213, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8365, + "end": 8366, + "loc": { + "start": { + "line": 213, + "column": 47 + }, + "end": { + "line": 213, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 8367, + "end": 8371, + "loc": { + "start": { + "line": 213, + "column": 49 + }, + "end": { + "line": 213, + "column": 53 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8372, + "end": 8374, + "loc": { + "start": { + "line": 213, + "column": 54 + }, + "end": { + "line": 213, + "column": 56 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8375, + "end": 8376, + "loc": { + "start": { + "line": 213, + "column": 57 + }, + "end": { + "line": 213, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sharedPlaylistFetcher", + "start": 8395, + "end": 8416, + "loc": { + "start": { + "line": 214, + "column": 18 + }, + "end": { + "line": 214, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8437, + "end": 8438, + "loc": { + "start": { + "line": 215, + "column": 20 + }, + "end": { + "line": 215, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchMetadata", + "start": 8438, + "end": 8451, + "loc": { + "start": { + "line": 215, + "column": 21 + }, + "end": { + "line": 215, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8451, + "end": 8452, + "loc": { + "start": { + "line": 215, + "column": 34 + }, + "end": { + "line": 215, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8452, + "end": 8453, + "loc": { + "start": { + "line": 215, + "column": 35 + }, + "end": { + "line": 215, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8474, + "end": 8475, + "loc": { + "start": { + "line": 216, + "column": 20 + }, + "end": { + "line": 216, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 8475, + "end": 8479, + "loc": { + "start": { + "line": 216, + "column": 21 + }, + "end": { + "line": 216, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8479, + "end": 8480, + "loc": { + "start": { + "line": 216, + "column": 25 + }, + "end": { + "line": 216, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 8480, + "end": 8488, + "loc": { + "start": { + "line": 216, + "column": 26 + }, + "end": { + "line": 216, + "column": 34 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8489, + "end": 8491, + "loc": { + "start": { + "line": 216, + "column": 35 + }, + "end": { + "line": 216, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8492, + "end": 8493, + "loc": { + "start": { + "line": 216, + "column": 38 + }, + "end": { + "line": 216, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 8516, + "end": 8524, + "loc": { + "start": { + "line": 217, + "column": 22 + }, + "end": { + "line": 217, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8524, + "end": 8525, + "loc": { + "start": { + "line": 217, + "column": 30 + }, + "end": { + "line": 217, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 8525, + "end": 8531, + "loc": { + "start": { + "line": 217, + "column": 31 + }, + "end": { + "line": 217, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8531, + "end": 8532, + "loc": { + "start": { + "line": 217, + "column": 37 + }, + "end": { + "line": 217, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 8532, + "end": 8538, + "loc": { + "start": { + "line": 217, + "column": 38 + }, + "end": { + "line": 217, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8538, + "end": 8539, + "loc": { + "start": { + "line": 217, + "column": 44 + }, + "end": { + "line": 217, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 8539, + "end": 8541, + "loc": { + "start": { + "line": 217, + "column": 45 + }, + "end": { + "line": 217, + "column": 47 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8541, + "end": 8542, + "loc": { + "start": { + "line": 217, + "column": 47 + }, + "end": { + "line": 217, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 8542, + "end": 8549, + "loc": { + "start": { + "line": 217, + "column": 48 + }, + "end": { + "line": 217, + "column": 55 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8549, + "end": 8550, + "loc": { + "start": { + "line": 217, + "column": 55 + }, + "end": { + "line": 217, + "column": 56 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 8550, + "end": 8553, + "loc": { + "start": { + "line": 217, + "column": 56 + }, + "end": { + "line": 217, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8553, + "end": 8554, + "loc": { + "start": { + "line": 217, + "column": 59 + }, + "end": { + "line": 217, + "column": 60 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8554, + "end": 8555, + "loc": { + "start": { + "line": 217, + "column": 60 + }, + "end": { + "line": 217, + "column": 61 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 8578, + "end": 8582, + "loc": { + "start": { + "line": 218, + "column": 22 + }, + "end": { + "line": 218, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8582, + "end": 8583, + "loc": { + "start": { + "line": 218, + "column": 26 + }, + "end": { + "line": 218, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8583, + "end": 8584, + "loc": { + "start": { + "line": 218, + "column": 27 + }, + "end": { + "line": 218, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8584, + "end": 8585, + "loc": { + "start": { + "line": 218, + "column": 28 + }, + "end": { + "line": 218, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8606, + "end": 8607, + "loc": { + "start": { + "line": 219, + "column": 20 + }, + "end": { + "line": 219, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8607, + "end": 8608, + "loc": { + "start": { + "line": 219, + "column": 21 + }, + "end": { + "line": 219, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8629, + "end": 8630, + "loc": { + "start": { + "line": 220, + "column": 20 + }, + "end": { + "line": 220, + "column": 21 + } + } + }, + { + "type": { + "label": "catch", + "keyword": "catch", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "catch", + "start": 8630, + "end": 8635, + "loc": { + "start": { + "line": 220, + "column": 21 + }, + "end": { + "line": 220, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8635, + "end": 8636, + "loc": { + "start": { + "line": 220, + "column": 26 + }, + "end": { + "line": 220, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 8636, + "end": 8641, + "loc": { + "start": { + "line": 220, + "column": 27 + }, + "end": { + "line": 220, + "column": 32 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8642, + "end": 8644, + "loc": { + "start": { + "line": 220, + "column": 33 + }, + "end": { + "line": 220, + "column": 35 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8645, + "end": 8646, + "loc": { + "start": { + "line": 220, + "column": 36 + }, + "end": { + "line": 220, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 8669, + "end": 8675, + "loc": { + "start": { + "line": 221, + "column": 22 + }, + "end": { + "line": 221, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8675, + "end": 8676, + "loc": { + "start": { + "line": 221, + "column": 28 + }, + "end": { + "line": 221, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 8676, + "end": 8679, + "loc": { + "start": { + "line": 221, + "column": 29 + }, + "end": { + "line": 221, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8679, + "end": 8680, + "loc": { + "start": { + "line": 221, + "column": 32 + }, + "end": { + "line": 221, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exists", + "start": 8680, + "end": 8686, + "loc": { + "start": { + "line": 221, + "column": 33 + }, + "end": { + "line": 221, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8686, + "end": 8687, + "loc": { + "start": { + "line": 221, + "column": 39 + }, + "end": { + "line": 221, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 8687, + "end": 8692, + "loc": { + "start": { + "line": 221, + "column": 40 + }, + "end": { + "line": 221, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8692, + "end": 8693, + "loc": { + "start": { + "line": 221, + "column": 45 + }, + "end": { + "line": 221, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8693, + "end": 8694, + "loc": { + "start": { + "line": 221, + "column": 46 + }, + "end": { + "line": 221, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 8717, + "end": 8721, + "loc": { + "start": { + "line": 222, + "column": 22 + }, + "end": { + "line": 222, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8721, + "end": 8722, + "loc": { + "start": { + "line": 222, + "column": 26 + }, + "end": { + "line": 222, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 8722, + "end": 8727, + "loc": { + "start": { + "line": 222, + "column": 27 + }, + "end": { + "line": 222, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8727, + "end": 8728, + "loc": { + "start": { + "line": 222, + "column": 32 + }, + "end": { + "line": 222, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8728, + "end": 8729, + "loc": { + "start": { + "line": 222, + "column": 33 + }, + "end": { + "line": 222, + "column": 34 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8750, + "end": 8751, + "loc": { + "start": { + "line": 223, + "column": 20 + }, + "end": { + "line": 223, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8751, + "end": 8752, + "loc": { + "start": { + "line": 223, + "column": 21 + }, + "end": { + "line": 223, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8752, + "end": 8753, + "loc": { + "start": { + "line": 223, + "column": 22 + }, + "end": { + "line": 223, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8770, + "end": 8771, + "loc": { + "start": { + "line": 224, + "column": 16 + }, + "end": { + "line": 224, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8771, + "end": 8772, + "loc": { + "start": { + "line": 224, + "column": 17 + }, + "end": { + "line": 224, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8772, + "end": 8773, + "loc": { + "start": { + "line": 224, + "column": 18 + }, + "end": { + "line": 224, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8788, + "end": 8789, + "loc": { + "start": { + "line": 225, + "column": 14 + }, + "end": { + "line": 225, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8789, + "end": 8790, + "loc": { + "start": { + "line": 225, + "column": 15 + }, + "end": { + "line": 225, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8790, + "end": 8791, + "loc": { + "start": { + "line": 225, + "column": 16 + }, + "end": { + "line": 225, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 8807, + "end": 8815, + "loc": { + "start": { + "line": 227, + "column": 14 + }, + "end": { + "line": 227, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8815, + "end": 8816, + "loc": { + "start": { + "line": 227, + "column": 22 + }, + "end": { + "line": 227, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#tracks()", + "start": 8816, + "end": 8827, + "loc": { + "start": { + "line": 227, + "column": 23 + }, + "end": { + "line": 227, + "column": 34 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8827, + "end": 8828, + "loc": { + "start": { + "line": 227, + "column": 34 + }, + "end": { + "line": 227, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8829, + "end": 8830, + "loc": { + "start": { + "line": 227, + "column": 36 + }, + "end": { + "line": 227, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8830, + "end": 8831, + "loc": { + "start": { + "line": 227, + "column": 37 + }, + "end": { + "line": 227, + "column": 38 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8832, + "end": 8834, + "loc": { + "start": { + "line": 227, + "column": 39 + }, + "end": { + "line": 227, + "column": 41 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8835, + "end": 8836, + "loc": { + "start": { + "line": 227, + "column": 42 + }, + "end": { + "line": 227, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 8853, + "end": 8855, + "loc": { + "start": { + "line": 228, + "column": 16 + }, + "end": { + "line": 228, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8855, + "end": 8856, + "loc": { + "start": { + "line": 228, + "column": 18 + }, + "end": { + "line": 228, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200", + "start": 8856, + "end": 8884, + "loc": { + "start": { + "line": 228, + "column": 19 + }, + "end": { + "line": 228, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8884, + "end": 8885, + "loc": { + "start": { + "line": 228, + "column": 47 + }, + "end": { + "line": 228, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 8886, + "end": 8890, + "loc": { + "start": { + "line": 228, + "column": 49 + }, + "end": { + "line": 228, + "column": 53 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8891, + "end": 8893, + "loc": { + "start": { + "line": 228, + "column": 54 + }, + "end": { + "line": 228, + "column": 56 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8894, + "end": 8895, + "loc": { + "start": { + "line": 228, + "column": 57 + }, + "end": { + "line": 228, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sharedPlaylistFetcher", + "start": 8914, + "end": 8935, + "loc": { + "start": { + "line": 229, + "column": 18 + }, + "end": { + "line": 229, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8935, + "end": 8936, + "loc": { + "start": { + "line": 229, + "column": 39 + }, + "end": { + "line": 229, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchTracks", + "start": 8936, + "end": 8947, + "loc": { + "start": { + "line": 229, + "column": 40 + }, + "end": { + "line": 229, + "column": 51 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8947, + "end": 8948, + "loc": { + "start": { + "line": 229, + "column": 51 + }, + "end": { + "line": 229, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8948, + "end": 8949, + "loc": { + "start": { + "line": 229, + "column": 52 + }, + "end": { + "line": 229, + "column": 53 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8949, + "end": 8950, + "loc": { + "start": { + "line": 229, + "column": 53 + }, + "end": { + "line": 229, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 8950, + "end": 8954, + "loc": { + "start": { + "line": 229, + "column": 54 + }, + "end": { + "line": 229, + "column": 58 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8954, + "end": 8955, + "loc": { + "start": { + "line": 229, + "column": 58 + }, + "end": { + "line": 229, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 8976, + "end": 8984, + "loc": { + "start": { + "line": 230, + "column": 20 + }, + "end": { + "line": 230, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8985, + "end": 8987, + "loc": { + "start": { + "line": 230, + "column": 29 + }, + "end": { + "line": 230, + "column": 31 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8988, + "end": 8989, + "loc": { + "start": { + "line": 230, + "column": 32 + }, + "end": { + "line": 230, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 9012, + "end": 9020, + "loc": { + "start": { + "line": 231, + "column": 22 + }, + "end": { + "line": 231, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9020, + "end": 9021, + "loc": { + "start": { + "line": 231, + "column": 30 + }, + "end": { + "line": 231, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 9021, + "end": 9027, + "loc": { + "start": { + "line": 231, + "column": 31 + }, + "end": { + "line": 231, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9027, + "end": 9028, + "loc": { + "start": { + "line": 231, + "column": 37 + }, + "end": { + "line": 231, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 9028, + "end": 9034, + "loc": { + "start": { + "line": 231, + "column": 38 + }, + "end": { + "line": 231, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9034, + "end": 9035, + "loc": { + "start": { + "line": 231, + "column": 44 + }, + "end": { + "line": 231, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 9035, + "end": 9037, + "loc": { + "start": { + "line": 231, + "column": 45 + }, + "end": { + "line": 231, + "column": 47 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9037, + "end": 9038, + "loc": { + "start": { + "line": 231, + "column": 47 + }, + "end": { + "line": 231, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 9038, + "end": 9045, + "loc": { + "start": { + "line": 231, + "column": 48 + }, + "end": { + "line": 231, + "column": 55 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9045, + "end": 9046, + "loc": { + "start": { + "line": 231, + "column": 55 + }, + "end": { + "line": 231, + "column": 56 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 9046, + "end": 9049, + "loc": { + "start": { + "line": 231, + "column": 56 + }, + "end": { + "line": 231, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9049, + "end": 9050, + "loc": { + "start": { + "line": 231, + "column": 59 + }, + "end": { + "line": 231, + "column": 60 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9050, + "end": 9051, + "loc": { + "start": { + "line": 231, + "column": 60 + }, + "end": { + "line": 231, + "column": 61 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 9074, + "end": 9078, + "loc": { + "start": { + "line": 232, + "column": 22 + }, + "end": { + "line": 232, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9078, + "end": 9079, + "loc": { + "start": { + "line": 232, + "column": 26 + }, + "end": { + "line": 232, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9079, + "end": 9080, + "loc": { + "start": { + "line": 232, + "column": 27 + }, + "end": { + "line": 232, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9080, + "end": 9081, + "loc": { + "start": { + "line": 232, + "column": 28 + }, + "end": { + "line": 232, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9102, + "end": 9103, + "loc": { + "start": { + "line": 233, + "column": 20 + }, + "end": { + "line": 233, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9103, + "end": 9104, + "loc": { + "start": { + "line": 233, + "column": 21 + }, + "end": { + "line": 233, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 9125, + "end": 9131, + "loc": { + "start": { + "line": 234, + "column": 20 + }, + "end": { + "line": 234, + "column": 26 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9132, + "end": 9134, + "loc": { + "start": { + "line": 234, + "column": 27 + }, + "end": { + "line": 234, + "column": 29 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9135, + "end": 9136, + "loc": { + "start": { + "line": 234, + "column": 30 + }, + "end": { + "line": 234, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 9159, + "end": 9163, + "loc": { + "start": { + "line": 235, + "column": 22 + }, + "end": { + "line": 235, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9163, + "end": 9164, + "loc": { + "start": { + "line": 235, + "column": 26 + }, + "end": { + "line": 235, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 9164, + "end": 9170, + "loc": { + "start": { + "line": 235, + "column": 27 + }, + "end": { + "line": 235, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9170, + "end": 9171, + "loc": { + "start": { + "line": 235, + "column": 33 + }, + "end": { + "line": 235, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9171, + "end": 9172, + "loc": { + "start": { + "line": 235, + "column": 34 + }, + "end": { + "line": 235, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9193, + "end": 9194, + "loc": { + "start": { + "line": 236, + "column": 20 + }, + "end": { + "line": 236, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9213, + "end": 9214, + "loc": { + "start": { + "line": 237, + "column": 18 + }, + "end": { + "line": 237, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9214, + "end": 9215, + "loc": { + "start": { + "line": 237, + "column": 19 + }, + "end": { + "line": 237, + "column": 20 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9232, + "end": 9233, + "loc": { + "start": { + "line": 238, + "column": 16 + }, + "end": { + "line": 238, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9233, + "end": 9234, + "loc": { + "start": { + "line": 238, + "column": 17 + }, + "end": { + "line": 238, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9234, + "end": 9235, + "loc": { + "start": { + "line": 238, + "column": 18 + }, + "end": { + "line": 238, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9250, + "end": 9251, + "loc": { + "start": { + "line": 239, + "column": 14 + }, + "end": { + "line": 239, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9251, + "end": 9252, + "loc": { + "start": { + "line": 239, + "column": 15 + }, + "end": { + "line": 239, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9252, + "end": 9253, + "loc": { + "start": { + "line": 239, + "column": 16 + }, + "end": { + "line": 239, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 9269, + "end": 9277, + "loc": { + "start": { + "line": 241, + "column": 14 + }, + "end": { + "line": 241, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9277, + "end": 9278, + "loc": { + "start": { + "line": 241, + "column": 22 + }, + "end": { + "line": 241, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#getWidgetUri", + "start": 9278, + "end": 9293, + "loc": { + "start": { + "line": 241, + "column": 23 + }, + "end": { + "line": 241, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9293, + "end": 9294, + "loc": { + "start": { + "line": 241, + "column": 38 + }, + "end": { + "line": 241, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9295, + "end": 9296, + "loc": { + "start": { + "line": 241, + "column": 40 + }, + "end": { + "line": 241, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9296, + "end": 9297, + "loc": { + "start": { + "line": 241, + "column": 41 + }, + "end": { + "line": 241, + "column": 42 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9298, + "end": 9300, + "loc": { + "start": { + "line": 241, + "column": 43 + }, + "end": { + "line": 241, + "column": 45 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9301, + "end": 9302, + "loc": { + "start": { + "line": 241, + "column": 46 + }, + "end": { + "line": 241, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 9319, + "end": 9321, + "loc": { + "start": { + "line": 242, + "column": 16 + }, + "end": { + "line": 242, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9321, + "end": 9322, + "loc": { + "start": { + "line": 242, + "column": 18 + }, + "end": { + "line": 242, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should return right uri", + "start": 9322, + "end": 9347, + "loc": { + "start": { + "line": 242, + "column": 19 + }, + "end": { + "line": 242, + "column": 44 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9347, + "end": 9348, + "loc": { + "start": { + "line": 242, + "column": 44 + }, + "end": { + "line": 242, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 9349, + "end": 9353, + "loc": { + "start": { + "line": 242, + "column": 46 + }, + "end": { + "line": 242, + "column": 50 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9354, + "end": 9356, + "loc": { + "start": { + "line": 242, + "column": 51 + }, + "end": { + "line": 242, + "column": 53 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9357, + "end": 9358, + "loc": { + "start": { + "line": 242, + "column": 54 + }, + "end": { + "line": 242, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sharedPlaylistFetcher", + "start": 9377, + "end": 9398, + "loc": { + "start": { + "line": 243, + "column": 18 + }, + "end": { + "line": 243, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9419, + "end": 9420, + "loc": { + "start": { + "line": 244, + "column": 20 + }, + "end": { + "line": 244, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getWidgetUri", + "start": 9420, + "end": 9432, + "loc": { + "start": { + "line": 244, + "column": 21 + }, + "end": { + "line": 244, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9432, + "end": 9433, + "loc": { + "start": { + "line": 244, + "column": 33 + }, + "end": { + "line": 244, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9433, + "end": 9434, + "loc": { + "start": { + "line": 244, + "column": 34 + }, + "end": { + "line": 244, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9455, + "end": 9456, + "loc": { + "start": { + "line": 245, + "column": 20 + }, + "end": { + "line": 245, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 9456, + "end": 9462, + "loc": { + "start": { + "line": 245, + "column": 21 + }, + "end": { + "line": 245, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9462, + "end": 9463, + "loc": { + "start": { + "line": 245, + "column": 27 + }, + "end": { + "line": 245, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 9463, + "end": 9465, + "loc": { + "start": { + "line": 245, + "column": 28 + }, + "end": { + "line": 245, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9465, + "end": 9466, + "loc": { + "start": { + "line": 245, + "column": 30 + }, + "end": { + "line": 245, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 9466, + "end": 9473, + "loc": { + "start": { + "line": 245, + "column": 31 + }, + "end": { + "line": 245, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9473, + "end": 9474, + "loc": { + "start": { + "line": 245, + "column": 38 + }, + "end": { + "line": 245, + "column": 39 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9497, + "end": 9498, + "loc": { + "start": { + "line": 246, + "column": 22 + }, + "end": { + "line": 246, + "column": 23 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "https://widget.kkbox.com/v1/?id=", + "start": 9498, + "end": 9530, + "loc": { + "start": { + "line": 246, + "column": 23 + }, + "end": { + "line": 246, + "column": 55 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9530, + "end": 9532, + "loc": { + "start": { + "line": 246, + "column": 55 + }, + "end": { + "line": 246, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "playlist_id", + "start": 9532, + "end": 9543, + "loc": { + "start": { + "line": 246, + "column": 57 + }, + "end": { + "line": 246, + "column": 68 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9543, + "end": 9544, + "loc": { + "start": { + "line": 246, + "column": 68 + }, + "end": { + "line": 246, + "column": 69 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "&type=playlist", + "start": 9544, + "end": 9558, + "loc": { + "start": { + "line": 246, + "column": 69 + }, + "end": { + "line": 246, + "column": 83 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9558, + "end": 9559, + "loc": { + "start": { + "line": 246, + "column": 83 + }, + "end": { + "line": 246, + "column": 84 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9580, + "end": 9581, + "loc": { + "start": { + "line": 247, + "column": 20 + }, + "end": { + "line": 247, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9581, + "end": 9582, + "loc": { + "start": { + "line": 247, + "column": 21 + }, + "end": { + "line": 247, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 9601, + "end": 9605, + "loc": { + "start": { + "line": 248, + "column": 18 + }, + "end": { + "line": 248, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9605, + "end": 9606, + "loc": { + "start": { + "line": 248, + "column": 22 + }, + "end": { + "line": 248, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9606, + "end": 9607, + "loc": { + "start": { + "line": 248, + "column": 23 + }, + "end": { + "line": 248, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9607, + "end": 9608, + "loc": { + "start": { + "line": 248, + "column": 24 + }, + "end": { + "line": 248, + "column": 25 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9625, + "end": 9626, + "loc": { + "start": { + "line": 249, + "column": 16 + }, + "end": { + "line": 249, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9626, + "end": 9627, + "loc": { + "start": { + "line": 249, + "column": 17 + }, + "end": { + "line": 249, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9627, + "end": 9628, + "loc": { + "start": { + "line": 249, + "column": 18 + }, + "end": { + "line": 249, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9643, + "end": 9644, + "loc": { + "start": { + "line": 250, + "column": 14 + }, + "end": { + "line": 250, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9644, + "end": 9645, + "loc": { + "start": { + "line": 250, + "column": 15 + }, + "end": { + "line": 250, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9645, + "end": 9646, + "loc": { + "start": { + "line": 250, + "column": 16 + }, + "end": { + "line": 250, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9659, + "end": 9660, + "loc": { + "start": { + "line": 251, + "column": 12 + }, + "end": { + "line": 251, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9660, + "end": 9661, + "loc": { + "start": { + "line": 251, + "column": 13 + }, + "end": { + "line": 251, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9661, + "end": 9662, + "loc": { + "start": { + "line": 251, + "column": 14 + }, + "end": { + "line": 251, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 9676, + "end": 9684, + "loc": { + "start": { + "line": 253, + "column": 12 + }, + "end": { + "line": 253, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9684, + "end": 9685, + "loc": { + "start": { + "line": 253, + "column": 20 + }, + "end": { + "line": 253, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Artist", + "start": 9685, + "end": 9693, + "loc": { + "start": { + "line": 253, + "column": 21 + }, + "end": { + "line": 253, + "column": 29 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9693, + "end": 9694, + "loc": { + "start": { + "line": 253, + "column": 29 + }, + "end": { + "line": 253, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9695, + "end": 9696, + "loc": { + "start": { + "line": 253, + "column": 31 + }, + "end": { + "line": 253, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9696, + "end": 9697, + "loc": { + "start": { + "line": 253, + "column": 32 + }, + "end": { + "line": 253, + "column": 33 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9698, + "end": 9700, + "loc": { + "start": { + "line": 253, + "column": 34 + }, + "end": { + "line": 253, + "column": 36 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9701, + "end": 9702, + "loc": { + "start": { + "line": 253, + "column": 37 + }, + "end": { + "line": 253, + "column": 38 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 9717, + "end": 9722, + "loc": { + "start": { + "line": 254, + "column": 14 + }, + "end": { + "line": 254, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "artistFetcher", + "start": 9723, + "end": 9736, + "loc": { + "start": { + "line": 254, + "column": 20 + }, + "end": { + "line": 254, + "column": 33 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 9737, + "end": 9738, + "loc": { + "start": { + "line": 254, + "column": 34 + }, + "end": { + "line": 254, + "column": 35 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 9739, + "end": 9742, + "loc": { + "start": { + "line": 254, + "column": 36 + }, + "end": { + "line": 254, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ArtistFetcher", + "start": 9743, + "end": 9756, + "loc": { + "start": { + "line": 254, + "column": 40 + }, + "end": { + "line": 254, + "column": 53 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9756, + "end": 9757, + "loc": { + "start": { + "line": 254, + "column": 53 + }, + "end": { + "line": 254, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "httpClient", + "start": 9757, + "end": 9767, + "loc": { + "start": { + "line": 254, + "column": 54 + }, + "end": { + "line": 254, + "column": 64 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9767, + "end": 9768, + "loc": { + "start": { + "line": 254, + "column": 64 + }, + "end": { + "line": 254, + "column": 65 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9768, + "end": 9769, + "loc": { + "start": { + "line": 254, + "column": 65 + }, + "end": { + "line": 254, + "column": 66 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setArtistID", + "start": 9769, + "end": 9780, + "loc": { + "start": { + "line": 254, + "column": 66 + }, + "end": { + "line": 254, + "column": 77 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9780, + "end": 9781, + "loc": { + "start": { + "line": 254, + "column": 77 + }, + "end": { + "line": 254, + "column": 78 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Cnv_K6i5Ft4y41SxLy", + "start": 9798, + "end": 9818, + "loc": { + "start": { + "line": 255, + "column": 16 + }, + "end": { + "line": 255, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9833, + "end": 9834, + "loc": { + "start": { + "line": 256, + "column": 14 + }, + "end": { + "line": 256, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9834, + "end": 9835, + "loc": { + "start": { + "line": 256, + "column": 15 + }, + "end": { + "line": 256, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 9850, + "end": 9858, + "loc": { + "start": { + "line": 257, + "column": 14 + }, + "end": { + "line": 257, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9858, + "end": 9859, + "loc": { + "start": { + "line": 257, + "column": 22 + }, + "end": { + "line": 257, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchMetadata()", + "start": 9859, + "end": 9877, + "loc": { + "start": { + "line": 257, + "column": 23 + }, + "end": { + "line": 257, + "column": 41 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9877, + "end": 9878, + "loc": { + "start": { + "line": 257, + "column": 41 + }, + "end": { + "line": 257, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9879, + "end": 9880, + "loc": { + "start": { + "line": 257, + "column": 43 + }, + "end": { + "line": 257, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9880, + "end": 9881, + "loc": { + "start": { + "line": 257, + "column": 44 + }, + "end": { + "line": 257, + "column": 45 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9882, + "end": 9884, + "loc": { + "start": { + "line": 257, + "column": 46 + }, + "end": { + "line": 257, + "column": 48 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9885, + "end": 9886, + "loc": { + "start": { + "line": 257, + "column": 49 + }, + "end": { + "line": 257, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 9903, + "end": 9905, + "loc": { + "start": { + "line": 258, + "column": 16 + }, + "end": { + "line": 258, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9905, + "end": 9906, + "loc": { + "start": { + "line": 258, + "column": 18 + }, + "end": { + "line": 258, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200", + "start": 9906, + "end": 9934, + "loc": { + "start": { + "line": 258, + "column": 19 + }, + "end": { + "line": 258, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9934, + "end": 9935, + "loc": { + "start": { + "line": 258, + "column": 47 + }, + "end": { + "line": 258, + "column": 48 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9936, + "end": 9937, + "loc": { + "start": { + "line": 258, + "column": 49 + }, + "end": { + "line": 258, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9937, + "end": 9938, + "loc": { + "start": { + "line": 258, + "column": 50 + }, + "end": { + "line": 258, + "column": 51 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9939, + "end": 9941, + "loc": { + "start": { + "line": 258, + "column": 52 + }, + "end": { + "line": 258, + "column": 54 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9942, + "end": 9943, + "loc": { + "start": { + "line": 258, + "column": 55 + }, + "end": { + "line": 258, + "column": 56 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 9962, + "end": 9968, + "loc": { + "start": { + "line": 259, + "column": 18 + }, + "end": { + "line": 259, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "artistFetcher", + "start": 9969, + "end": 9982, + "loc": { + "start": { + "line": 259, + "column": 25 + }, + "end": { + "line": 259, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10003, + "end": 10004, + "loc": { + "start": { + "line": 260, + "column": 20 + }, + "end": { + "line": 260, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchMetadata", + "start": 10004, + "end": 10017, + "loc": { + "start": { + "line": 260, + "column": 21 + }, + "end": { + "line": 260, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10017, + "end": 10018, + "loc": { + "start": { + "line": 260, + "column": 34 + }, + "end": { + "line": 260, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10018, + "end": 10019, + "loc": { + "start": { + "line": 260, + "column": 35 + }, + "end": { + "line": 260, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10040, + "end": 10041, + "loc": { + "start": { + "line": 261, + "column": 20 + }, + "end": { + "line": 261, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 10041, + "end": 10045, + "loc": { + "start": { + "line": 261, + "column": 21 + }, + "end": { + "line": 261, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10045, + "end": 10046, + "loc": { + "start": { + "line": 261, + "column": 25 + }, + "end": { + "line": 261, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 10046, + "end": 10054, + "loc": { + "start": { + "line": 261, + "column": 26 + }, + "end": { + "line": 261, + "column": 34 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10055, + "end": 10057, + "loc": { + "start": { + "line": 261, + "column": 35 + }, + "end": { + "line": 261, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10058, + "end": 10059, + "loc": { + "start": { + "line": 261, + "column": 38 + }, + "end": { + "line": 261, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 10082, + "end": 10090, + "loc": { + "start": { + "line": 262, + "column": 22 + }, + "end": { + "line": 262, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10090, + "end": 10091, + "loc": { + "start": { + "line": 262, + "column": 30 + }, + "end": { + "line": 262, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 10091, + "end": 10097, + "loc": { + "start": { + "line": 262, + "column": 31 + }, + "end": { + "line": 262, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10097, + "end": 10098, + "loc": { + "start": { + "line": 262, + "column": 37 + }, + "end": { + "line": 262, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 10098, + "end": 10104, + "loc": { + "start": { + "line": 262, + "column": 38 + }, + "end": { + "line": 262, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10104, + "end": 10105, + "loc": { + "start": { + "line": 262, + "column": 44 + }, + "end": { + "line": 262, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 10105, + "end": 10107, + "loc": { + "start": { + "line": 262, + "column": 45 + }, + "end": { + "line": 262, + "column": 47 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10107, + "end": 10108, + "loc": { + "start": { + "line": 262, + "column": 47 + }, + "end": { + "line": 262, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 10108, + "end": 10115, + "loc": { + "start": { + "line": 262, + "column": 48 + }, + "end": { + "line": 262, + "column": 55 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10115, + "end": 10116, + "loc": { + "start": { + "line": 262, + "column": 55 + }, + "end": { + "line": 262, + "column": 56 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 10116, + "end": 10119, + "loc": { + "start": { + "line": 262, + "column": 56 + }, + "end": { + "line": 262, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10119, + "end": 10120, + "loc": { + "start": { + "line": 262, + "column": 59 + }, + "end": { + "line": 262, + "column": 60 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10120, + "end": 10121, + "loc": { + "start": { + "line": 262, + "column": 60 + }, + "end": { + "line": 262, + "column": 61 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 10144, + "end": 10150, + "loc": { + "start": { + "line": 263, + "column": 22 + }, + "end": { + "line": 263, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 10151, + "end": 10159, + "loc": { + "start": { + "line": 263, + "column": 29 + }, + "end": { + "line": 263, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10159, + "end": 10160, + "loc": { + "start": { + "line": 263, + "column": 37 + }, + "end": { + "line": 263, + "column": 38 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10181, + "end": 10182, + "loc": { + "start": { + "line": 264, + "column": 20 + }, + "end": { + "line": 264, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10182, + "end": 10183, + "loc": { + "start": { + "line": 264, + "column": 21 + }, + "end": { + "line": 264, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10204, + "end": 10205, + "loc": { + "start": { + "line": 265, + "column": 20 + }, + "end": { + "line": 265, + "column": 21 + } + } + }, + { + "type": { + "label": "catch", + "keyword": "catch", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "catch", + "start": 10205, + "end": 10210, + "loc": { + "start": { + "line": 265, + "column": 21 + }, + "end": { + "line": 265, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10210, + "end": 10211, + "loc": { + "start": { + "line": 265, + "column": 26 + }, + "end": { + "line": 265, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 10211, + "end": 10216, + "loc": { + "start": { + "line": 265, + "column": 27 + }, + "end": { + "line": 265, + "column": 32 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10217, + "end": 10219, + "loc": { + "start": { + "line": 265, + "column": 33 + }, + "end": { + "line": 265, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 10220, + "end": 10226, + "loc": { + "start": { + "line": 265, + "column": 36 + }, + "end": { + "line": 265, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10226, + "end": 10227, + "loc": { + "start": { + "line": 265, + "column": 42 + }, + "end": { + "line": 265, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 10227, + "end": 10230, + "loc": { + "start": { + "line": 265, + "column": 43 + }, + "end": { + "line": 265, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10230, + "end": 10231, + "loc": { + "start": { + "line": 265, + "column": 46 + }, + "end": { + "line": 265, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exists", + "start": 10231, + "end": 10237, + "loc": { + "start": { + "line": 265, + "column": 47 + }, + "end": { + "line": 265, + "column": 53 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10237, + "end": 10238, + "loc": { + "start": { + "line": 265, + "column": 53 + }, + "end": { + "line": 265, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 10238, + "end": 10243, + "loc": { + "start": { + "line": 265, + "column": 54 + }, + "end": { + "line": 265, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10243, + "end": 10244, + "loc": { + "start": { + "line": 265, + "column": 59 + }, + "end": { + "line": 265, + "column": 60 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10244, + "end": 10245, + "loc": { + "start": { + "line": 265, + "column": 60 + }, + "end": { + "line": 265, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10245, + "end": 10246, + "loc": { + "start": { + "line": 265, + "column": 61 + }, + "end": { + "line": 265, + "column": 62 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10263, + "end": 10264, + "loc": { + "start": { + "line": 266, + "column": 16 + }, + "end": { + "line": 266, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10264, + "end": 10265, + "loc": { + "start": { + "line": 266, + "column": 17 + }, + "end": { + "line": 266, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10265, + "end": 10266, + "loc": { + "start": { + "line": 266, + "column": 18 + }, + "end": { + "line": 266, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10281, + "end": 10282, + "loc": { + "start": { + "line": 267, + "column": 14 + }, + "end": { + "line": 267, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10282, + "end": 10283, + "loc": { + "start": { + "line": 267, + "column": 15 + }, + "end": { + "line": 267, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10283, + "end": 10284, + "loc": { + "start": { + "line": 267, + "column": 16 + }, + "end": { + "line": 267, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 10300, + "end": 10308, + "loc": { + "start": { + "line": 269, + "column": 14 + }, + "end": { + "line": 269, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10308, + "end": 10309, + "loc": { + "start": { + "line": 269, + "column": 22 + }, + "end": { + "line": 269, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchAlbums()", + "start": 10309, + "end": 10325, + "loc": { + "start": { + "line": 269, + "column": 23 + }, + "end": { + "line": 269, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10325, + "end": 10326, + "loc": { + "start": { + "line": 269, + "column": 39 + }, + "end": { + "line": 269, + "column": 40 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10327, + "end": 10328, + "loc": { + "start": { + "line": 269, + "column": 41 + }, + "end": { + "line": 269, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10328, + "end": 10329, + "loc": { + "start": { + "line": 269, + "column": 42 + }, + "end": { + "line": 269, + "column": 43 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10330, + "end": 10332, + "loc": { + "start": { + "line": 269, + "column": 44 + }, + "end": { + "line": 269, + "column": 46 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10333, + "end": 10334, + "loc": { + "start": { + "line": 269, + "column": 47 + }, + "end": { + "line": 269, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 10351, + "end": 10353, + "loc": { + "start": { + "line": 270, + "column": 16 + }, + "end": { + "line": 270, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10353, + "end": 10354, + "loc": { + "start": { + "line": 270, + "column": 18 + }, + "end": { + "line": 270, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should succeed and fetch next page should fail", + "start": 10354, + "end": 10402, + "loc": { + "start": { + "line": 270, + "column": 19 + }, + "end": { + "line": 270, + "column": 67 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10402, + "end": 10403, + "loc": { + "start": { + "line": 270, + "column": 67 + }, + "end": { + "line": 270, + "column": 68 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10404, + "end": 10405, + "loc": { + "start": { + "line": 270, + "column": 69 + }, + "end": { + "line": 270, + "column": 70 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10405, + "end": 10406, + "loc": { + "start": { + "line": 270, + "column": 70 + }, + "end": { + "line": 270, + "column": 71 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10407, + "end": 10409, + "loc": { + "start": { + "line": 270, + "column": 72 + }, + "end": { + "line": 270, + "column": 74 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10410, + "end": 10411, + "loc": { + "start": { + "line": 270, + "column": 75 + }, + "end": { + "line": 270, + "column": 76 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 10430, + "end": 10436, + "loc": { + "start": { + "line": 271, + "column": 18 + }, + "end": { + "line": 271, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "artistFetcher", + "start": 10437, + "end": 10450, + "loc": { + "start": { + "line": 271, + "column": 25 + }, + "end": { + "line": 271, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10471, + "end": 10472, + "loc": { + "start": { + "line": 272, + "column": 20 + }, + "end": { + "line": 272, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchAlbums", + "start": 10472, + "end": 10483, + "loc": { + "start": { + "line": 272, + "column": 21 + }, + "end": { + "line": 272, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10483, + "end": 10484, + "loc": { + "start": { + "line": 272, + "column": 32 + }, + "end": { + "line": 272, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10484, + "end": 10485, + "loc": { + "start": { + "line": 272, + "column": 33 + }, + "end": { + "line": 272, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10506, + "end": 10507, + "loc": { + "start": { + "line": 273, + "column": 20 + }, + "end": { + "line": 273, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 10507, + "end": 10511, + "loc": { + "start": { + "line": 273, + "column": 21 + }, + "end": { + "line": 273, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10511, + "end": 10512, + "loc": { + "start": { + "line": 273, + "column": 25 + }, + "end": { + "line": 273, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 10512, + "end": 10520, + "loc": { + "start": { + "line": 273, + "column": 26 + }, + "end": { + "line": 273, + "column": 34 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10521, + "end": 10523, + "loc": { + "start": { + "line": 273, + "column": 35 + }, + "end": { + "line": 273, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10524, + "end": 10525, + "loc": { + "start": { + "line": 273, + "column": 38 + }, + "end": { + "line": 273, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 10548, + "end": 10556, + "loc": { + "start": { + "line": 274, + "column": 22 + }, + "end": { + "line": 274, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10556, + "end": 10557, + "loc": { + "start": { + "line": 274, + "column": 30 + }, + "end": { + "line": 274, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 10557, + "end": 10563, + "loc": { + "start": { + "line": 274, + "column": 31 + }, + "end": { + "line": 274, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10563, + "end": 10564, + "loc": { + "start": { + "line": 274, + "column": 37 + }, + "end": { + "line": 274, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 10564, + "end": 10570, + "loc": { + "start": { + "line": 274, + "column": 38 + }, + "end": { + "line": 274, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10570, + "end": 10571, + "loc": { + "start": { + "line": 274, + "column": 44 + }, + "end": { + "line": 274, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 10571, + "end": 10573, + "loc": { + "start": { + "line": 274, + "column": 45 + }, + "end": { + "line": 274, + "column": 47 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10573, + "end": 10574, + "loc": { + "start": { + "line": 274, + "column": 47 + }, + "end": { + "line": 274, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 10574, + "end": 10581, + "loc": { + "start": { + "line": 274, + "column": 48 + }, + "end": { + "line": 274, + "column": 55 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10581, + "end": 10582, + "loc": { + "start": { + "line": 274, + "column": 55 + }, + "end": { + "line": 274, + "column": 56 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 10582, + "end": 10585, + "loc": { + "start": { + "line": 274, + "column": 56 + }, + "end": { + "line": 274, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10585, + "end": 10586, + "loc": { + "start": { + "line": 274, + "column": 59 + }, + "end": { + "line": 274, + "column": 60 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10586, + "end": 10587, + "loc": { + "start": { + "line": 274, + "column": 60 + }, + "end": { + "line": 274, + "column": 61 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "artistFetcher", + "start": 10610, + "end": 10623, + "loc": { + "start": { + "line": 275, + "column": 22 + }, + "end": { + "line": 275, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10648, + "end": 10649, + "loc": { + "start": { + "line": 276, + "column": 24 + }, + "end": { + "line": 276, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchNextPage", + "start": 10649, + "end": 10662, + "loc": { + "start": { + "line": 276, + "column": 25 + }, + "end": { + "line": 276, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10662, + "end": 10663, + "loc": { + "start": { + "line": 276, + "column": 38 + }, + "end": { + "line": 276, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 10663, + "end": 10671, + "loc": { + "start": { + "line": 276, + "column": 39 + }, + "end": { + "line": 276, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10671, + "end": 10672, + "loc": { + "start": { + "line": 276, + "column": 47 + }, + "end": { + "line": 276, + "column": 48 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10697, + "end": 10698, + "loc": { + "start": { + "line": 277, + "column": 24 + }, + "end": { + "line": 277, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 10698, + "end": 10702, + "loc": { + "start": { + "line": 277, + "column": 25 + }, + "end": { + "line": 277, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10702, + "end": 10703, + "loc": { + "start": { + "line": 277, + "column": 29 + }, + "end": { + "line": 277, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 10703, + "end": 10711, + "loc": { + "start": { + "line": 277, + "column": 30 + }, + "end": { + "line": 277, + "column": 38 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10712, + "end": 10714, + "loc": { + "start": { + "line": 277, + "column": 39 + }, + "end": { + "line": 277, + "column": 41 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10715, + "end": 10716, + "loc": { + "start": { + "line": 277, + "column": 42 + }, + "end": { + "line": 277, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 10743, + "end": 10751, + "loc": { + "start": { + "line": 278, + "column": 26 + }, + "end": { + "line": 278, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10751, + "end": 10752, + "loc": { + "start": { + "line": 278, + "column": 34 + }, + "end": { + "line": 278, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 10752, + "end": 10758, + "loc": { + "start": { + "line": 278, + "column": 35 + }, + "end": { + "line": 278, + "column": 41 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10758, + "end": 10759, + "loc": { + "start": { + "line": 278, + "column": 41 + }, + "end": { + "line": 278, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 10759, + "end": 10765, + "loc": { + "start": { + "line": 278, + "column": 42 + }, + "end": { + "line": 278, + "column": 48 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10765, + "end": 10766, + "loc": { + "start": { + "line": 278, + "column": 48 + }, + "end": { + "line": 278, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 10766, + "end": 10769, + "loc": { + "start": { + "line": 278, + "column": 49 + }, + "end": { + "line": 278, + "column": 52 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10769, + "end": 10770, + "loc": { + "start": { + "line": 278, + "column": 52 + }, + "end": { + "line": 278, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 10770, + "end": 10772, + "loc": { + "start": { + "line": 278, + "column": 53 + }, + "end": { + "line": 278, + "column": 55 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10772, + "end": 10773, + "loc": { + "start": { + "line": 278, + "column": 55 + }, + "end": { + "line": 278, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 10773, + "end": 10780, + "loc": { + "start": { + "line": 278, + "column": 56 + }, + "end": { + "line": 278, + "column": 63 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10780, + "end": 10781, + "loc": { + "start": { + "line": 278, + "column": 63 + }, + "end": { + "line": 278, + "column": 64 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 10781, + "end": 10784, + "loc": { + "start": { + "line": 278, + "column": 64 + }, + "end": { + "line": 278, + "column": 67 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10784, + "end": 10785, + "loc": { + "start": { + "line": 278, + "column": 67 + }, + "end": { + "line": 278, + "column": 68 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10785, + "end": 10786, + "loc": { + "start": { + "line": 278, + "column": 68 + }, + "end": { + "line": 278, + "column": 69 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 10813, + "end": 10819, + "loc": { + "start": { + "line": 279, + "column": 26 + }, + "end": { + "line": 279, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 10820, + "end": 10828, + "loc": { + "start": { + "line": 279, + "column": 33 + }, + "end": { + "line": 279, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10828, + "end": 10829, + "loc": { + "start": { + "line": 279, + "column": 41 + }, + "end": { + "line": 279, + "column": 42 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10854, + "end": 10855, + "loc": { + "start": { + "line": 280, + "column": 24 + }, + "end": { + "line": 280, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10855, + "end": 10856, + "loc": { + "start": { + "line": 280, + "column": 25 + }, + "end": { + "line": 280, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10881, + "end": 10882, + "loc": { + "start": { + "line": 281, + "column": 24 + }, + "end": { + "line": 281, + "column": 25 + } + } + }, + { + "type": { + "label": "catch", + "keyword": "catch", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "catch", + "start": 10882, + "end": 10887, + "loc": { + "start": { + "line": 281, + "column": 25 + }, + "end": { + "line": 281, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10887, + "end": 10888, + "loc": { + "start": { + "line": 281, + "column": 30 + }, + "end": { + "line": 281, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 10888, + "end": 10893, + "loc": { + "start": { + "line": 281, + "column": 31 + }, + "end": { + "line": 281, + "column": 36 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10894, + "end": 10896, + "loc": { + "start": { + "line": 281, + "column": 37 + }, + "end": { + "line": 281, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 10897, + "end": 10903, + "loc": { + "start": { + "line": 281, + "column": 40 + }, + "end": { + "line": 281, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10903, + "end": 10904, + "loc": { + "start": { + "line": 281, + "column": 46 + }, + "end": { + "line": 281, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exists", + "start": 10904, + "end": 10910, + "loc": { + "start": { + "line": 281, + "column": 47 + }, + "end": { + "line": 281, + "column": 53 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10910, + "end": 10911, + "loc": { + "start": { + "line": 281, + "column": 53 + }, + "end": { + "line": 281, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 10911, + "end": 10916, + "loc": { + "start": { + "line": 281, + "column": 54 + }, + "end": { + "line": 281, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10916, + "end": 10917, + "loc": { + "start": { + "line": 281, + "column": 59 + }, + "end": { + "line": 281, + "column": 60 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10917, + "end": 10918, + "loc": { + "start": { + "line": 281, + "column": 60 + }, + "end": { + "line": 281, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10918, + "end": 10919, + "loc": { + "start": { + "line": 281, + "column": 61 + }, + "end": { + "line": 281, + "column": 62 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 10942, + "end": 10948, + "loc": { + "start": { + "line": 282, + "column": 22 + }, + "end": { + "line": 282, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 10949, + "end": 10957, + "loc": { + "start": { + "line": 282, + "column": 29 + }, + "end": { + "line": 282, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10957, + "end": 10958, + "loc": { + "start": { + "line": 282, + "column": 37 + }, + "end": { + "line": 282, + "column": 38 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10979, + "end": 10980, + "loc": { + "start": { + "line": 283, + "column": 20 + }, + "end": { + "line": 283, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10980, + "end": 10981, + "loc": { + "start": { + "line": 283, + "column": 21 + }, + "end": { + "line": 283, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11002, + "end": 11003, + "loc": { + "start": { + "line": 284, + "column": 20 + }, + "end": { + "line": 284, + "column": 21 + } + } + }, + { + "type": { + "label": "catch", + "keyword": "catch", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "catch", + "start": 11003, + "end": 11008, + "loc": { + "start": { + "line": 284, + "column": 21 + }, + "end": { + "line": 284, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11008, + "end": 11009, + "loc": { + "start": { + "line": 284, + "column": 26 + }, + "end": { + "line": 284, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 11009, + "end": 11014, + "loc": { + "start": { + "line": 284, + "column": 27 + }, + "end": { + "line": 284, + "column": 32 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11015, + "end": 11017, + "loc": { + "start": { + "line": 284, + "column": 33 + }, + "end": { + "line": 284, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 11018, + "end": 11024, + "loc": { + "start": { + "line": 284, + "column": 36 + }, + "end": { + "line": 284, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11024, + "end": 11025, + "loc": { + "start": { + "line": 284, + "column": 42 + }, + "end": { + "line": 284, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 11025, + "end": 11028, + "loc": { + "start": { + "line": 284, + "column": 43 + }, + "end": { + "line": 284, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11028, + "end": 11029, + "loc": { + "start": { + "line": 284, + "column": 46 + }, + "end": { + "line": 284, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exists", + "start": 11029, + "end": 11035, + "loc": { + "start": { + "line": 284, + "column": 47 + }, + "end": { + "line": 284, + "column": 53 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11035, + "end": 11036, + "loc": { + "start": { + "line": 284, + "column": 53 + }, + "end": { + "line": 284, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 11036, + "end": 11041, + "loc": { + "start": { + "line": 284, + "column": 54 + }, + "end": { + "line": 284, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11041, + "end": 11042, + "loc": { + "start": { + "line": 284, + "column": 59 + }, + "end": { + "line": 284, + "column": 60 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11042, + "end": 11043, + "loc": { + "start": { + "line": 284, + "column": 60 + }, + "end": { + "line": 284, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11043, + "end": 11044, + "loc": { + "start": { + "line": 284, + "column": 61 + }, + "end": { + "line": 284, + "column": 62 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11061, + "end": 11062, + "loc": { + "start": { + "line": 285, + "column": 16 + }, + "end": { + "line": 285, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11062, + "end": 11063, + "loc": { + "start": { + "line": 285, + "column": 17 + }, + "end": { + "line": 285, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11063, + "end": 11064, + "loc": { + "start": { + "line": 285, + "column": 18 + }, + "end": { + "line": 285, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11079, + "end": 11080, + "loc": { + "start": { + "line": 286, + "column": 14 + }, + "end": { + "line": 286, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11080, + "end": 11081, + "loc": { + "start": { + "line": 286, + "column": 15 + }, + "end": { + "line": 286, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11081, + "end": 11082, + "loc": { + "start": { + "line": 286, + "column": 16 + }, + "end": { + "line": 286, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 11098, + "end": 11106, + "loc": { + "start": { + "line": 288, + "column": 14 + }, + "end": { + "line": 288, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11106, + "end": 11107, + "loc": { + "start": { + "line": 288, + "column": 22 + }, + "end": { + "line": 288, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchTopTracks()", + "start": 11107, + "end": 11126, + "loc": { + "start": { + "line": 288, + "column": 23 + }, + "end": { + "line": 288, + "column": 42 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11126, + "end": 11127, + "loc": { + "start": { + "line": 288, + "column": 42 + }, + "end": { + "line": 288, + "column": 43 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11128, + "end": 11129, + "loc": { + "start": { + "line": 288, + "column": 44 + }, + "end": { + "line": 288, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11129, + "end": 11130, + "loc": { + "start": { + "line": 288, + "column": 45 + }, + "end": { + "line": 288, + "column": 46 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11131, + "end": 11133, + "loc": { + "start": { + "line": 288, + "column": 47 + }, + "end": { + "line": 288, + "column": 49 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11134, + "end": 11135, + "loc": { + "start": { + "line": 288, + "column": 50 + }, + "end": { + "line": 288, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 11152, + "end": 11154, + "loc": { + "start": { + "line": 289, + "column": 16 + }, + "end": { + "line": 289, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11154, + "end": 11155, + "loc": { + "start": { + "line": 289, + "column": 18 + }, + "end": { + "line": 289, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200", + "start": 11155, + "end": 11183, + "loc": { + "start": { + "line": 289, + "column": 19 + }, + "end": { + "line": 289, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11183, + "end": 11184, + "loc": { + "start": { + "line": 289, + "column": 47 + }, + "end": { + "line": 289, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 11185, + "end": 11189, + "loc": { + "start": { + "line": 289, + "column": 49 + }, + "end": { + "line": 289, + "column": 53 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11190, + "end": 11192, + "loc": { + "start": { + "line": 289, + "column": 54 + }, + "end": { + "line": 289, + "column": 56 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11193, + "end": 11194, + "loc": { + "start": { + "line": 289, + "column": 57 + }, + "end": { + "line": 289, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "artistFetcher", + "start": 11213, + "end": 11226, + "loc": { + "start": { + "line": 290, + "column": 18 + }, + "end": { + "line": 290, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11226, + "end": 11227, + "loc": { + "start": { + "line": 290, + "column": 31 + }, + "end": { + "line": 290, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchTopTracks", + "start": 11227, + "end": 11241, + "loc": { + "start": { + "line": 290, + "column": 32 + }, + "end": { + "line": 290, + "column": 46 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11241, + "end": 11242, + "loc": { + "start": { + "line": 290, + "column": 46 + }, + "end": { + "line": 290, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11242, + "end": 11243, + "loc": { + "start": { + "line": 290, + "column": 47 + }, + "end": { + "line": 290, + "column": 48 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11243, + "end": 11244, + "loc": { + "start": { + "line": 290, + "column": 48 + }, + "end": { + "line": 290, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 11244, + "end": 11248, + "loc": { + "start": { + "line": 290, + "column": 49 + }, + "end": { + "line": 290, + "column": 53 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11248, + "end": 11249, + "loc": { + "start": { + "line": 290, + "column": 53 + }, + "end": { + "line": 290, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 11270, + "end": 11278, + "loc": { + "start": { + "line": 291, + "column": 20 + }, + "end": { + "line": 291, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11279, + "end": 11281, + "loc": { + "start": { + "line": 291, + "column": 29 + }, + "end": { + "line": 291, + "column": 31 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11282, + "end": 11283, + "loc": { + "start": { + "line": 291, + "column": 32 + }, + "end": { + "line": 291, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 11306, + "end": 11314, + "loc": { + "start": { + "line": 292, + "column": 22 + }, + "end": { + "line": 292, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11314, + "end": 11315, + "loc": { + "start": { + "line": 292, + "column": 30 + }, + "end": { + "line": 292, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 11315, + "end": 11321, + "loc": { + "start": { + "line": 292, + "column": 31 + }, + "end": { + "line": 292, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11321, + "end": 11322, + "loc": { + "start": { + "line": 292, + "column": 37 + }, + "end": { + "line": 292, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 11322, + "end": 11328, + "loc": { + "start": { + "line": 292, + "column": 38 + }, + "end": { + "line": 292, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11328, + "end": 11329, + "loc": { + "start": { + "line": 292, + "column": 44 + }, + "end": { + "line": 292, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 11329, + "end": 11331, + "loc": { + "start": { + "line": 292, + "column": 45 + }, + "end": { + "line": 292, + "column": 47 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11331, + "end": 11332, + "loc": { + "start": { + "line": 292, + "column": 47 + }, + "end": { + "line": 292, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 11332, + "end": 11339, + "loc": { + "start": { + "line": 292, + "column": 48 + }, + "end": { + "line": 292, + "column": 55 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11339, + "end": 11340, + "loc": { + "start": { + "line": 292, + "column": 55 + }, + "end": { + "line": 292, + "column": 56 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 11340, + "end": 11343, + "loc": { + "start": { + "line": 292, + "column": 56 + }, + "end": { + "line": 292, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11343, + "end": 11344, + "loc": { + "start": { + "line": 292, + "column": 59 + }, + "end": { + "line": 292, + "column": 60 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11344, + "end": 11345, + "loc": { + "start": { + "line": 292, + "column": 60 + }, + "end": { + "line": 292, + "column": 61 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 11368, + "end": 11372, + "loc": { + "start": { + "line": 293, + "column": 22 + }, + "end": { + "line": 293, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11372, + "end": 11373, + "loc": { + "start": { + "line": 293, + "column": 26 + }, + "end": { + "line": 293, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11373, + "end": 11374, + "loc": { + "start": { + "line": 293, + "column": 27 + }, + "end": { + "line": 293, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11374, + "end": 11375, + "loc": { + "start": { + "line": 293, + "column": 28 + }, + "end": { + "line": 293, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11396, + "end": 11397, + "loc": { + "start": { + "line": 294, + "column": 20 + }, + "end": { + "line": 294, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11397, + "end": 11398, + "loc": { + "start": { + "line": 294, + "column": 21 + }, + "end": { + "line": 294, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 11419, + "end": 11425, + "loc": { + "start": { + "line": 295, + "column": 20 + }, + "end": { + "line": 295, + "column": 26 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11426, + "end": 11428, + "loc": { + "start": { + "line": 295, + "column": 27 + }, + "end": { + "line": 295, + "column": 29 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11429, + "end": 11430, + "loc": { + "start": { + "line": 295, + "column": 30 + }, + "end": { + "line": 295, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 11453, + "end": 11459, + "loc": { + "start": { + "line": 296, + "column": 22 + }, + "end": { + "line": 296, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11459, + "end": 11460, + "loc": { + "start": { + "line": 296, + "column": 28 + }, + "end": { + "line": 296, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 11460, + "end": 11463, + "loc": { + "start": { + "line": 296, + "column": 29 + }, + "end": { + "line": 296, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11463, + "end": 11464, + "loc": { + "start": { + "line": 296, + "column": 32 + }, + "end": { + "line": 296, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exists", + "start": 11464, + "end": 11470, + "loc": { + "start": { + "line": 296, + "column": 33 + }, + "end": { + "line": 296, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11470, + "end": 11471, + "loc": { + "start": { + "line": 296, + "column": 39 + }, + "end": { + "line": 296, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 11471, + "end": 11477, + "loc": { + "start": { + "line": 296, + "column": 40 + }, + "end": { + "line": 296, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11477, + "end": 11478, + "loc": { + "start": { + "line": 296, + "column": 46 + }, + "end": { + "line": 296, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11478, + "end": 11479, + "loc": { + "start": { + "line": 296, + "column": 47 + }, + "end": { + "line": 296, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 11502, + "end": 11506, + "loc": { + "start": { + "line": 297, + "column": 22 + }, + "end": { + "line": 297, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11506, + "end": 11507, + "loc": { + "start": { + "line": 297, + "column": 26 + }, + "end": { + "line": 297, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11507, + "end": 11508, + "loc": { + "start": { + "line": 297, + "column": 27 + }, + "end": { + "line": 297, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11508, + "end": 11509, + "loc": { + "start": { + "line": 297, + "column": 28 + }, + "end": { + "line": 297, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11530, + "end": 11531, + "loc": { + "start": { + "line": 298, + "column": 20 + }, + "end": { + "line": 298, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11550, + "end": 11551, + "loc": { + "start": { + "line": 299, + "column": 18 + }, + "end": { + "line": 299, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11551, + "end": 11552, + "loc": { + "start": { + "line": 299, + "column": 19 + }, + "end": { + "line": 299, + "column": 20 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11569, + "end": 11570, + "loc": { + "start": { + "line": 300, + "column": 16 + }, + "end": { + "line": 300, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11570, + "end": 11571, + "loc": { + "start": { + "line": 300, + "column": 17 + }, + "end": { + "line": 300, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11571, + "end": 11572, + "loc": { + "start": { + "line": 300, + "column": 18 + }, + "end": { + "line": 300, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11587, + "end": 11588, + "loc": { + "start": { + "line": 301, + "column": 14 + }, + "end": { + "line": 301, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11588, + "end": 11589, + "loc": { + "start": { + "line": 301, + "column": 15 + }, + "end": { + "line": 301, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11589, + "end": 11590, + "loc": { + "start": { + "line": 301, + "column": 16 + }, + "end": { + "line": 301, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 11606, + "end": 11614, + "loc": { + "start": { + "line": 303, + "column": 14 + }, + "end": { + "line": 303, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11614, + "end": 11615, + "loc": { + "start": { + "line": 303, + "column": 22 + }, + "end": { + "line": 303, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchRelatedArtists()", + "start": 11615, + "end": 11639, + "loc": { + "start": { + "line": 303, + "column": 23 + }, + "end": { + "line": 303, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11639, + "end": 11640, + "loc": { + "start": { + "line": 303, + "column": 47 + }, + "end": { + "line": 303, + "column": 48 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11641, + "end": 11642, + "loc": { + "start": { + "line": 303, + "column": 49 + }, + "end": { + "line": 303, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11642, + "end": 11643, + "loc": { + "start": { + "line": 303, + "column": 50 + }, + "end": { + "line": 303, + "column": 51 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11644, + "end": 11646, + "loc": { + "start": { + "line": 303, + "column": 52 + }, + "end": { + "line": 303, + "column": 54 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11647, + "end": 11648, + "loc": { + "start": { + "line": 303, + "column": 55 + }, + "end": { + "line": 303, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 11665, + "end": 11667, + "loc": { + "start": { + "line": 304, + "column": 16 + }, + "end": { + "line": 304, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11667, + "end": 11668, + "loc": { + "start": { + "line": 304, + "column": 18 + }, + "end": { + "line": 304, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200", + "start": 11668, + "end": 11696, + "loc": { + "start": { + "line": 304, + "column": 19 + }, + "end": { + "line": 304, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11696, + "end": 11697, + "loc": { + "start": { + "line": 304, + "column": 47 + }, + "end": { + "line": 304, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 11698, + "end": 11702, + "loc": { + "start": { + "line": 304, + "column": 49 + }, + "end": { + "line": 304, + "column": 53 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11703, + "end": 11705, + "loc": { + "start": { + "line": 304, + "column": 54 + }, + "end": { + "line": 304, + "column": 56 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11706, + "end": 11707, + "loc": { + "start": { + "line": 304, + "column": 57 + }, + "end": { + "line": 304, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "artistFetcher", + "start": 11726, + "end": 11739, + "loc": { + "start": { + "line": 305, + "column": 18 + }, + "end": { + "line": 305, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11739, + "end": 11740, + "loc": { + "start": { + "line": 305, + "column": 31 + }, + "end": { + "line": 305, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchRelatedArtists", + "start": 11740, + "end": 11759, + "loc": { + "start": { + "line": 305, + "column": 32 + }, + "end": { + "line": 305, + "column": 51 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11759, + "end": 11760, + "loc": { + "start": { + "line": 305, + "column": 51 + }, + "end": { + "line": 305, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11760, + "end": 11761, + "loc": { + "start": { + "line": 305, + "column": 52 + }, + "end": { + "line": 305, + "column": 53 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11761, + "end": 11762, + "loc": { + "start": { + "line": 305, + "column": 53 + }, + "end": { + "line": 305, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 11762, + "end": 11766, + "loc": { + "start": { + "line": 305, + "column": 54 + }, + "end": { + "line": 305, + "column": 58 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11766, + "end": 11767, + "loc": { + "start": { + "line": 305, + "column": 58 + }, + "end": { + "line": 305, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 11788, + "end": 11796, + "loc": { + "start": { + "line": 306, + "column": 20 + }, + "end": { + "line": 306, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11797, + "end": 11799, + "loc": { + "start": { + "line": 306, + "column": 29 + }, + "end": { + "line": 306, + "column": 31 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11800, + "end": 11801, + "loc": { + "start": { + "line": 306, + "column": 32 + }, + "end": { + "line": 306, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 11824, + "end": 11832, + "loc": { + "start": { + "line": 307, + "column": 22 + }, + "end": { + "line": 307, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11832, + "end": 11833, + "loc": { + "start": { + "line": 307, + "column": 30 + }, + "end": { + "line": 307, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 11833, + "end": 11839, + "loc": { + "start": { + "line": 307, + "column": 31 + }, + "end": { + "line": 307, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11839, + "end": 11840, + "loc": { + "start": { + "line": 307, + "column": 37 + }, + "end": { + "line": 307, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 11840, + "end": 11846, + "loc": { + "start": { + "line": 307, + "column": 38 + }, + "end": { + "line": 307, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11846, + "end": 11847, + "loc": { + "start": { + "line": 307, + "column": 44 + }, + "end": { + "line": 307, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 11847, + "end": 11849, + "loc": { + "start": { + "line": 307, + "column": 45 + }, + "end": { + "line": 307, + "column": 47 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11849, + "end": 11850, + "loc": { + "start": { + "line": 307, + "column": 47 + }, + "end": { + "line": 307, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 11850, + "end": 11857, + "loc": { + "start": { + "line": 307, + "column": 48 + }, + "end": { + "line": 307, + "column": 55 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11857, + "end": 11858, + "loc": { + "start": { + "line": 307, + "column": 55 + }, + "end": { + "line": 307, + "column": 56 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 11858, + "end": 11861, + "loc": { + "start": { + "line": 307, + "column": 56 + }, + "end": { + "line": 307, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11861, + "end": 11862, + "loc": { + "start": { + "line": 307, + "column": 59 + }, + "end": { + "line": 307, + "column": 60 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11862, + "end": 11863, + "loc": { + "start": { + "line": 307, + "column": 60 + }, + "end": { + "line": 307, + "column": 61 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 11886, + "end": 11890, + "loc": { + "start": { + "line": 308, + "column": 22 + }, + "end": { + "line": 308, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11890, + "end": 11891, + "loc": { + "start": { + "line": 308, + "column": 26 + }, + "end": { + "line": 308, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11891, + "end": 11892, + "loc": { + "start": { + "line": 308, + "column": 27 + }, + "end": { + "line": 308, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11892, + "end": 11893, + "loc": { + "start": { + "line": 308, + "column": 28 + }, + "end": { + "line": 308, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11914, + "end": 11915, + "loc": { + "start": { + "line": 309, + "column": 20 + }, + "end": { + "line": 309, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11915, + "end": 11916, + "loc": { + "start": { + "line": 309, + "column": 21 + }, + "end": { + "line": 309, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 11937, + "end": 11943, + "loc": { + "start": { + "line": 310, + "column": 20 + }, + "end": { + "line": 310, + "column": 26 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11944, + "end": 11946, + "loc": { + "start": { + "line": 310, + "column": 27 + }, + "end": { + "line": 310, + "column": 29 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11947, + "end": 11948, + "loc": { + "start": { + "line": 310, + "column": 30 + }, + "end": { + "line": 310, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 11971, + "end": 11977, + "loc": { + "start": { + "line": 311, + "column": 22 + }, + "end": { + "line": 311, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11977, + "end": 11978, + "loc": { + "start": { + "line": 311, + "column": 28 + }, + "end": { + "line": 311, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 11978, + "end": 11981, + "loc": { + "start": { + "line": 311, + "column": 29 + }, + "end": { + "line": 311, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11981, + "end": 11982, + "loc": { + "start": { + "line": 311, + "column": 32 + }, + "end": { + "line": 311, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exists", + "start": 11982, + "end": 11988, + "loc": { + "start": { + "line": 311, + "column": 33 + }, + "end": { + "line": 311, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11988, + "end": 11989, + "loc": { + "start": { + "line": 311, + "column": 39 + }, + "end": { + "line": 311, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 11989, + "end": 11995, + "loc": { + "start": { + "line": 311, + "column": 40 + }, + "end": { + "line": 311, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11995, + "end": 11996, + "loc": { + "start": { + "line": 311, + "column": 46 + }, + "end": { + "line": 311, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11996, + "end": 11997, + "loc": { + "start": { + "line": 311, + "column": 47 + }, + "end": { + "line": 311, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 12020, + "end": 12024, + "loc": { + "start": { + "line": 312, + "column": 22 + }, + "end": { + "line": 312, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12024, + "end": 12025, + "loc": { + "start": { + "line": 312, + "column": 26 + }, + "end": { + "line": 312, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12025, + "end": 12026, + "loc": { + "start": { + "line": 312, + "column": 27 + }, + "end": { + "line": 312, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12026, + "end": 12027, + "loc": { + "start": { + "line": 312, + "column": 28 + }, + "end": { + "line": 312, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12048, + "end": 12049, + "loc": { + "start": { + "line": 313, + "column": 20 + }, + "end": { + "line": 313, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12068, + "end": 12069, + "loc": { + "start": { + "line": 314, + "column": 18 + }, + "end": { + "line": 314, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12069, + "end": 12070, + "loc": { + "start": { + "line": 314, + "column": 19 + }, + "end": { + "line": 314, + "column": 20 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12087, + "end": 12088, + "loc": { + "start": { + "line": 315, + "column": 16 + }, + "end": { + "line": 315, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12088, + "end": 12089, + "loc": { + "start": { + "line": 315, + "column": 17 + }, + "end": { + "line": 315, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12089, + "end": 12090, + "loc": { + "start": { + "line": 315, + "column": 18 + }, + "end": { + "line": 315, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12105, + "end": 12106, + "loc": { + "start": { + "line": 316, + "column": 14 + }, + "end": { + "line": 316, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12106, + "end": 12107, + "loc": { + "start": { + "line": 316, + "column": 15 + }, + "end": { + "line": 316, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12107, + "end": 12108, + "loc": { + "start": { + "line": 316, + "column": 16 + }, + "end": { + "line": 316, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12121, + "end": 12122, + "loc": { + "start": { + "line": 317, + "column": 12 + }, + "end": { + "line": 317, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12122, + "end": 12123, + "loc": { + "start": { + "line": 317, + "column": 13 + }, + "end": { + "line": 317, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12123, + "end": 12124, + "loc": { + "start": { + "line": 317, + "column": 14 + }, + "end": { + "line": 317, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 12138, + "end": 12146, + "loc": { + "start": { + "line": 319, + "column": 12 + }, + "end": { + "line": 319, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12146, + "end": 12147, + "loc": { + "start": { + "line": 319, + "column": 20 + }, + "end": { + "line": 319, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Artist fetch album tests", + "start": 12147, + "end": 12173, + "loc": { + "start": { + "line": 319, + "column": 21 + }, + "end": { + "line": 319, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12173, + "end": 12174, + "loc": { + "start": { + "line": 319, + "column": 47 + }, + "end": { + "line": 319, + "column": 48 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12175, + "end": 12176, + "loc": { + "start": { + "line": 319, + "column": 49 + }, + "end": { + "line": 319, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12176, + "end": 12177, + "loc": { + "start": { + "line": 319, + "column": 50 + }, + "end": { + "line": 319, + "column": 51 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12178, + "end": 12180, + "loc": { + "start": { + "line": 319, + "column": 52 + }, + "end": { + "line": 319, + "column": 54 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12181, + "end": 12182, + "loc": { + "start": { + "line": 319, + "column": 55 + }, + "end": { + "line": 319, + "column": 56 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 12197, + "end": 12202, + "loc": { + "start": { + "line": 320, + "column": 14 + }, + "end": { + "line": 320, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "artistFetcher", + "start": 12203, + "end": 12216, + "loc": { + "start": { + "line": 320, + "column": 20 + }, + "end": { + "line": 320, + "column": 33 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 12217, + "end": 12218, + "loc": { + "start": { + "line": 320, + "column": 34 + }, + "end": { + "line": 320, + "column": 35 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 12219, + "end": 12222, + "loc": { + "start": { + "line": 320, + "column": 36 + }, + "end": { + "line": 320, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ArtistFetcher", + "start": 12223, + "end": 12236, + "loc": { + "start": { + "line": 320, + "column": 40 + }, + "end": { + "line": 320, + "column": 53 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12236, + "end": 12237, + "loc": { + "start": { + "line": 320, + "column": 53 + }, + "end": { + "line": 320, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "httpClient", + "start": 12237, + "end": 12247, + "loc": { + "start": { + "line": 320, + "column": 54 + }, + "end": { + "line": 320, + "column": 64 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12247, + "end": 12248, + "loc": { + "start": { + "line": 320, + "column": 64 + }, + "end": { + "line": 320, + "column": 65 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12248, + "end": 12249, + "loc": { + "start": { + "line": 320, + "column": 65 + }, + "end": { + "line": 320, + "column": 66 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setArtistID", + "start": 12249, + "end": 12260, + "loc": { + "start": { + "line": 320, + "column": 66 + }, + "end": { + "line": 320, + "column": 77 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12260, + "end": 12261, + "loc": { + "start": { + "line": 320, + "column": 77 + }, + "end": { + "line": 320, + "column": 78 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Cnv_K6i5Ft4y41SxLy", + "start": 12278, + "end": 12298, + "loc": { + "start": { + "line": 321, + "column": 16 + }, + "end": { + "line": 321, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12313, + "end": 12314, + "loc": { + "start": { + "line": 322, + "column": 14 + }, + "end": { + "line": 322, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12314, + "end": 12315, + "loc": { + "start": { + "line": 322, + "column": 15 + }, + "end": { + "line": 322, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 12330, + "end": 12338, + "loc": { + "start": { + "line": 323, + "column": 14 + }, + "end": { + "line": 323, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12338, + "end": 12339, + "loc": { + "start": { + "line": 323, + "column": 22 + }, + "end": { + "line": 323, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchAlbums(1)", + "start": 12339, + "end": 12356, + "loc": { + "start": { + "line": 323, + "column": 23 + }, + "end": { + "line": 323, + "column": 40 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12356, + "end": 12357, + "loc": { + "start": { + "line": 323, + "column": 40 + }, + "end": { + "line": 323, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12358, + "end": 12359, + "loc": { + "start": { + "line": 323, + "column": 42 + }, + "end": { + "line": 323, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12359, + "end": 12360, + "loc": { + "start": { + "line": 323, + "column": 43 + }, + "end": { + "line": 323, + "column": 44 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12361, + "end": 12363, + "loc": { + "start": { + "line": 323, + "column": 45 + }, + "end": { + "line": 323, + "column": 47 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12364, + "end": 12365, + "loc": { + "start": { + "line": 323, + "column": 48 + }, + "end": { + "line": 323, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 12382, + "end": 12384, + "loc": { + "start": { + "line": 324, + "column": 16 + }, + "end": { + "line": 324, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12384, + "end": 12385, + "loc": { + "start": { + "line": 324, + "column": 18 + }, + "end": { + "line": 324, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should succeed and fetch next page shuold succeed", + "start": 12385, + "end": 12436, + "loc": { + "start": { + "line": 324, + "column": 19 + }, + "end": { + "line": 324, + "column": 70 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12436, + "end": 12437, + "loc": { + "start": { + "line": 324, + "column": 70 + }, + "end": { + "line": 324, + "column": 71 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 12438, + "end": 12442, + "loc": { + "start": { + "line": 324, + "column": 72 + }, + "end": { + "line": 324, + "column": 76 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12443, + "end": 12445, + "loc": { + "start": { + "line": 324, + "column": 77 + }, + "end": { + "line": 324, + "column": 79 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12446, + "end": 12447, + "loc": { + "start": { + "line": 324, + "column": 80 + }, + "end": { + "line": 324, + "column": 81 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "artistFetcher", + "start": 12466, + "end": 12479, + "loc": { + "start": { + "line": 325, + "column": 18 + }, + "end": { + "line": 325, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12479, + "end": 12480, + "loc": { + "start": { + "line": 325, + "column": 31 + }, + "end": { + "line": 325, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchAlbums", + "start": 12480, + "end": 12491, + "loc": { + "start": { + "line": 325, + "column": 32 + }, + "end": { + "line": 325, + "column": 43 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12491, + "end": 12492, + "loc": { + "start": { + "line": 325, + "column": 43 + }, + "end": { + "line": 325, + "column": 44 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 12492, + "end": 12493, + "loc": { + "start": { + "line": 325, + "column": 44 + }, + "end": { + "line": 325, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12493, + "end": 12494, + "loc": { + "start": { + "line": 325, + "column": 45 + }, + "end": { + "line": 325, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12494, + "end": 12495, + "loc": { + "start": { + "line": 325, + "column": 46 + }, + "end": { + "line": 325, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 12495, + "end": 12499, + "loc": { + "start": { + "line": 325, + "column": 47 + }, + "end": { + "line": 325, + "column": 51 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12499, + "end": 12500, + "loc": { + "start": { + "line": 325, + "column": 51 + }, + "end": { + "line": 325, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 12500, + "end": 12508, + "loc": { + "start": { + "line": 325, + "column": 52 + }, + "end": { + "line": 325, + "column": 60 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12509, + "end": 12511, + "loc": { + "start": { + "line": 325, + "column": 61 + }, + "end": { + "line": 325, + "column": 63 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12512, + "end": 12513, + "loc": { + "start": { + "line": 325, + "column": 64 + }, + "end": { + "line": 325, + "column": 65 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 12534, + "end": 12542, + "loc": { + "start": { + "line": 326, + "column": 20 + }, + "end": { + "line": 326, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12542, + "end": 12543, + "loc": { + "start": { + "line": 326, + "column": 28 + }, + "end": { + "line": 326, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 12543, + "end": 12549, + "loc": { + "start": { + "line": 326, + "column": 29 + }, + "end": { + "line": 326, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12549, + "end": 12550, + "loc": { + "start": { + "line": 326, + "column": 35 + }, + "end": { + "line": 326, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 12550, + "end": 12556, + "loc": { + "start": { + "line": 326, + "column": 36 + }, + "end": { + "line": 326, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12556, + "end": 12557, + "loc": { + "start": { + "line": 326, + "column": 42 + }, + "end": { + "line": 326, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 12557, + "end": 12559, + "loc": { + "start": { + "line": 326, + "column": 43 + }, + "end": { + "line": 326, + "column": 45 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12559, + "end": 12560, + "loc": { + "start": { + "line": 326, + "column": 45 + }, + "end": { + "line": 326, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 12560, + "end": 12567, + "loc": { + "start": { + "line": 326, + "column": 46 + }, + "end": { + "line": 326, + "column": 53 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12567, + "end": 12568, + "loc": { + "start": { + "line": 326, + "column": 53 + }, + "end": { + "line": 326, + "column": 54 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 12568, + "end": 12571, + "loc": { + "start": { + "line": 326, + "column": 54 + }, + "end": { + "line": 326, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12571, + "end": 12572, + "loc": { + "start": { + "line": 326, + "column": 57 + }, + "end": { + "line": 326, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12572, + "end": 12573, + "loc": { + "start": { + "line": 326, + "column": 58 + }, + "end": { + "line": 326, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "artistFetcher", + "start": 12594, + "end": 12607, + "loc": { + "start": { + "line": 327, + "column": 20 + }, + "end": { + "line": 327, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12607, + "end": 12608, + "loc": { + "start": { + "line": 327, + "column": 33 + }, + "end": { + "line": 327, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchNextPage", + "start": 12608, + "end": 12621, + "loc": { + "start": { + "line": 327, + "column": 34 + }, + "end": { + "line": 327, + "column": 47 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12621, + "end": 12622, + "loc": { + "start": { + "line": 327, + "column": 47 + }, + "end": { + "line": 327, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 12622, + "end": 12630, + "loc": { + "start": { + "line": 327, + "column": 48 + }, + "end": { + "line": 327, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12630, + "end": 12631, + "loc": { + "start": { + "line": 327, + "column": 56 + }, + "end": { + "line": 327, + "column": 57 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12631, + "end": 12632, + "loc": { + "start": { + "line": 327, + "column": 57 + }, + "end": { + "line": 327, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 12632, + "end": 12636, + "loc": { + "start": { + "line": 327, + "column": 58 + }, + "end": { + "line": 327, + "column": 62 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12636, + "end": 12637, + "loc": { + "start": { + "line": 327, + "column": 62 + }, + "end": { + "line": 327, + "column": 63 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 12660, + "end": 12668, + "loc": { + "start": { + "line": 328, + "column": 22 + }, + "end": { + "line": 328, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12669, + "end": 12671, + "loc": { + "start": { + "line": 328, + "column": 31 + }, + "end": { + "line": 328, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12672, + "end": 12673, + "loc": { + "start": { + "line": 328, + "column": 34 + }, + "end": { + "line": 328, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 12698, + "end": 12706, + "loc": { + "start": { + "line": 329, + "column": 24 + }, + "end": { + "line": 329, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12706, + "end": 12707, + "loc": { + "start": { + "line": 329, + "column": 32 + }, + "end": { + "line": 329, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 12707, + "end": 12713, + "loc": { + "start": { + "line": 329, + "column": 33 + }, + "end": { + "line": 329, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12713, + "end": 12714, + "loc": { + "start": { + "line": 329, + "column": 39 + }, + "end": { + "line": 329, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 12714, + "end": 12720, + "loc": { + "start": { + "line": 329, + "column": 40 + }, + "end": { + "line": 329, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12720, + "end": 12721, + "loc": { + "start": { + "line": 329, + "column": 46 + }, + "end": { + "line": 329, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 12721, + "end": 12723, + "loc": { + "start": { + "line": 329, + "column": 47 + }, + "end": { + "line": 329, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12723, + "end": 12724, + "loc": { + "start": { + "line": 329, + "column": 49 + }, + "end": { + "line": 329, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 12724, + "end": 12731, + "loc": { + "start": { + "line": 329, + "column": 50 + }, + "end": { + "line": 329, + "column": 57 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12731, + "end": 12732, + "loc": { + "start": { + "line": 329, + "column": 57 + }, + "end": { + "line": 329, + "column": 58 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 12732, + "end": 12735, + "loc": { + "start": { + "line": 329, + "column": 58 + }, + "end": { + "line": 329, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12735, + "end": 12736, + "loc": { + "start": { + "line": 329, + "column": 61 + }, + "end": { + "line": 329, + "column": 62 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12736, + "end": 12737, + "loc": { + "start": { + "line": 329, + "column": 62 + }, + "end": { + "line": 329, + "column": 63 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 12762, + "end": 12766, + "loc": { + "start": { + "line": 330, + "column": 24 + }, + "end": { + "line": 330, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12766, + "end": 12767, + "loc": { + "start": { + "line": 330, + "column": 28 + }, + "end": { + "line": 330, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12767, + "end": 12768, + "loc": { + "start": { + "line": 330, + "column": 29 + }, + "end": { + "line": 330, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12768, + "end": 12769, + "loc": { + "start": { + "line": 330, + "column": 30 + }, + "end": { + "line": 330, + "column": 31 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12792, + "end": 12793, + "loc": { + "start": { + "line": 331, + "column": 22 + }, + "end": { + "line": 331, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12793, + "end": 12794, + "loc": { + "start": { + "line": 331, + "column": 23 + }, + "end": { + "line": 331, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 12817, + "end": 12823, + "loc": { + "start": { + "line": 332, + "column": 22 + }, + "end": { + "line": 332, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12824, + "end": 12826, + "loc": { + "start": { + "line": 332, + "column": 29 + }, + "end": { + "line": 332, + "column": 31 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12827, + "end": 12828, + "loc": { + "start": { + "line": 332, + "column": 32 + }, + "end": { + "line": 332, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 12853, + "end": 12857, + "loc": { + "start": { + "line": 333, + "column": 24 + }, + "end": { + "line": 333, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12857, + "end": 12858, + "loc": { + "start": { + "line": 333, + "column": 28 + }, + "end": { + "line": 333, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 12858, + "end": 12864, + "loc": { + "start": { + "line": 333, + "column": 29 + }, + "end": { + "line": 333, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12864, + "end": 12865, + "loc": { + "start": { + "line": 333, + "column": 35 + }, + "end": { + "line": 333, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12865, + "end": 12866, + "loc": { + "start": { + "line": 333, + "column": 36 + }, + "end": { + "line": 333, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12889, + "end": 12890, + "loc": { + "start": { + "line": 334, + "column": 22 + }, + "end": { + "line": 334, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12911, + "end": 12912, + "loc": { + "start": { + "line": 335, + "column": 20 + }, + "end": { + "line": 335, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12912, + "end": 12913, + "loc": { + "start": { + "line": 335, + "column": 21 + }, + "end": { + "line": 335, + "column": 22 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12932, + "end": 12933, + "loc": { + "start": { + "line": 336, + "column": 18 + }, + "end": { + "line": 336, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12933, + "end": 12934, + "loc": { + "start": { + "line": 336, + "column": 19 + }, + "end": { + "line": 336, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12934, + "end": 12935, + "loc": { + "start": { + "line": 336, + "column": 20 + }, + "end": { + "line": 336, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12952, + "end": 12953, + "loc": { + "start": { + "line": 337, + "column": 16 + }, + "end": { + "line": 337, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12953, + "end": 12954, + "loc": { + "start": { + "line": 337, + "column": 17 + }, + "end": { + "line": 337, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12954, + "end": 12955, + "loc": { + "start": { + "line": 337, + "column": 18 + }, + "end": { + "line": 337, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12970, + "end": 12971, + "loc": { + "start": { + "line": 338, + "column": 14 + }, + "end": { + "line": 338, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12971, + "end": 12972, + "loc": { + "start": { + "line": 338, + "column": 15 + }, + "end": { + "line": 338, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12972, + "end": 12973, + "loc": { + "start": { + "line": 338, + "column": 16 + }, + "end": { + "line": 338, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 12989, + "end": 12997, + "loc": { + "start": { + "line": 340, + "column": 14 + }, + "end": { + "line": 340, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12997, + "end": 12998, + "loc": { + "start": { + "line": 340, + "column": 22 + }, + "end": { + "line": 340, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchTopTracks(1)", + "start": 12998, + "end": 13018, + "loc": { + "start": { + "line": 340, + "column": 23 + }, + "end": { + "line": 340, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13018, + "end": 13019, + "loc": { + "start": { + "line": 340, + "column": 43 + }, + "end": { + "line": 340, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13020, + "end": 13021, + "loc": { + "start": { + "line": 340, + "column": 45 + }, + "end": { + "line": 340, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13021, + "end": 13022, + "loc": { + "start": { + "line": 340, + "column": 46 + }, + "end": { + "line": 340, + "column": 47 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13023, + "end": 13025, + "loc": { + "start": { + "line": 340, + "column": 48 + }, + "end": { + "line": 340, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13026, + "end": 13027, + "loc": { + "start": { + "line": 340, + "column": 51 + }, + "end": { + "line": 340, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 13044, + "end": 13046, + "loc": { + "start": { + "line": 341, + "column": 16 + }, + "end": { + "line": 341, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13046, + "end": 13047, + "loc": { + "start": { + "line": 341, + "column": 18 + }, + "end": { + "line": 341, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should succeed and fetch next page shuold succeed", + "start": 13047, + "end": 13098, + "loc": { + "start": { + "line": 341, + "column": 19 + }, + "end": { + "line": 341, + "column": 70 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13098, + "end": 13099, + "loc": { + "start": { + "line": 341, + "column": 70 + }, + "end": { + "line": 341, + "column": 71 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 13100, + "end": 13104, + "loc": { + "start": { + "line": 341, + "column": 72 + }, + "end": { + "line": 341, + "column": 76 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13105, + "end": 13107, + "loc": { + "start": { + "line": 341, + "column": 77 + }, + "end": { + "line": 341, + "column": 79 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13108, + "end": 13109, + "loc": { + "start": { + "line": 341, + "column": 80 + }, + "end": { + "line": 341, + "column": 81 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "artistFetcher", + "start": 13128, + "end": 13141, + "loc": { + "start": { + "line": 342, + "column": 18 + }, + "end": { + "line": 342, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13141, + "end": 13142, + "loc": { + "start": { + "line": 342, + "column": 31 + }, + "end": { + "line": 342, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchTopTracks", + "start": 13142, + "end": 13156, + "loc": { + "start": { + "line": 342, + "column": 32 + }, + "end": { + "line": 342, + "column": 46 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13156, + "end": 13157, + "loc": { + "start": { + "line": 342, + "column": 46 + }, + "end": { + "line": 342, + "column": 47 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 13157, + "end": 13158, + "loc": { + "start": { + "line": 342, + "column": 47 + }, + "end": { + "line": 342, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13158, + "end": 13159, + "loc": { + "start": { + "line": 342, + "column": 48 + }, + "end": { + "line": 342, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13159, + "end": 13160, + "loc": { + "start": { + "line": 342, + "column": 49 + }, + "end": { + "line": 342, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 13160, + "end": 13164, + "loc": { + "start": { + "line": 342, + "column": 50 + }, + "end": { + "line": 342, + "column": 54 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13164, + "end": 13165, + "loc": { + "start": { + "line": 342, + "column": 54 + }, + "end": { + "line": 342, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 13165, + "end": 13173, + "loc": { + "start": { + "line": 342, + "column": 55 + }, + "end": { + "line": 342, + "column": 63 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13174, + "end": 13176, + "loc": { + "start": { + "line": 342, + "column": 64 + }, + "end": { + "line": 342, + "column": 66 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13177, + "end": 13178, + "loc": { + "start": { + "line": 342, + "column": 67 + }, + "end": { + "line": 342, + "column": 68 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 13199, + "end": 13207, + "loc": { + "start": { + "line": 343, + "column": 20 + }, + "end": { + "line": 343, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13207, + "end": 13208, + "loc": { + "start": { + "line": 343, + "column": 28 + }, + "end": { + "line": 343, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 13208, + "end": 13214, + "loc": { + "start": { + "line": 343, + "column": 29 + }, + "end": { + "line": 343, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13214, + "end": 13215, + "loc": { + "start": { + "line": 343, + "column": 35 + }, + "end": { + "line": 343, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 13215, + "end": 13221, + "loc": { + "start": { + "line": 343, + "column": 36 + }, + "end": { + "line": 343, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13221, + "end": 13222, + "loc": { + "start": { + "line": 343, + "column": 42 + }, + "end": { + "line": 343, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 13222, + "end": 13224, + "loc": { + "start": { + "line": 343, + "column": 43 + }, + "end": { + "line": 343, + "column": 45 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13224, + "end": 13225, + "loc": { + "start": { + "line": 343, + "column": 45 + }, + "end": { + "line": 343, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 13225, + "end": 13232, + "loc": { + "start": { + "line": 343, + "column": 46 + }, + "end": { + "line": 343, + "column": 53 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13232, + "end": 13233, + "loc": { + "start": { + "line": 343, + "column": 53 + }, + "end": { + "line": 343, + "column": 54 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 13233, + "end": 13236, + "loc": { + "start": { + "line": 343, + "column": 54 + }, + "end": { + "line": 343, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13236, + "end": 13237, + "loc": { + "start": { + "line": 343, + "column": 57 + }, + "end": { + "line": 343, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13237, + "end": 13238, + "loc": { + "start": { + "line": 343, + "column": 58 + }, + "end": { + "line": 343, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "artistFetcher", + "start": 13259, + "end": 13272, + "loc": { + "start": { + "line": 344, + "column": 20 + }, + "end": { + "line": 344, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13272, + "end": 13273, + "loc": { + "start": { + "line": 344, + "column": 33 + }, + "end": { + "line": 344, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchNextPage", + "start": 13273, + "end": 13286, + "loc": { + "start": { + "line": 344, + "column": 34 + }, + "end": { + "line": 344, + "column": 47 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13286, + "end": 13287, + "loc": { + "start": { + "line": 344, + "column": 47 + }, + "end": { + "line": 344, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 13287, + "end": 13295, + "loc": { + "start": { + "line": 344, + "column": 48 + }, + "end": { + "line": 344, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13295, + "end": 13296, + "loc": { + "start": { + "line": 344, + "column": 56 + }, + "end": { + "line": 344, + "column": 57 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13296, + "end": 13297, + "loc": { + "start": { + "line": 344, + "column": 57 + }, + "end": { + "line": 344, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 13297, + "end": 13301, + "loc": { + "start": { + "line": 344, + "column": 58 + }, + "end": { + "line": 344, + "column": 62 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13301, + "end": 13302, + "loc": { + "start": { + "line": 344, + "column": 62 + }, + "end": { + "line": 344, + "column": 63 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 13325, + "end": 13333, + "loc": { + "start": { + "line": 345, + "column": 22 + }, + "end": { + "line": 345, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13334, + "end": 13336, + "loc": { + "start": { + "line": 345, + "column": 31 + }, + "end": { + "line": 345, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13337, + "end": 13338, + "loc": { + "start": { + "line": 345, + "column": 34 + }, + "end": { + "line": 345, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 13363, + "end": 13371, + "loc": { + "start": { + "line": 346, + "column": 24 + }, + "end": { + "line": 346, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13371, + "end": 13372, + "loc": { + "start": { + "line": 346, + "column": 32 + }, + "end": { + "line": 346, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 13372, + "end": 13378, + "loc": { + "start": { + "line": 346, + "column": 33 + }, + "end": { + "line": 346, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13378, + "end": 13379, + "loc": { + "start": { + "line": 346, + "column": 39 + }, + "end": { + "line": 346, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 13379, + "end": 13385, + "loc": { + "start": { + "line": 346, + "column": 40 + }, + "end": { + "line": 346, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13385, + "end": 13386, + "loc": { + "start": { + "line": 346, + "column": 46 + }, + "end": { + "line": 346, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 13386, + "end": 13388, + "loc": { + "start": { + "line": 346, + "column": 47 + }, + "end": { + "line": 346, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13388, + "end": 13389, + "loc": { + "start": { + "line": 346, + "column": 49 + }, + "end": { + "line": 346, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 13389, + "end": 13396, + "loc": { + "start": { + "line": 346, + "column": 50 + }, + "end": { + "line": 346, + "column": 57 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13396, + "end": 13397, + "loc": { + "start": { + "line": 346, + "column": 57 + }, + "end": { + "line": 346, + "column": 58 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 13397, + "end": 13400, + "loc": { + "start": { + "line": 346, + "column": 58 + }, + "end": { + "line": 346, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13400, + "end": 13401, + "loc": { + "start": { + "line": 346, + "column": 61 + }, + "end": { + "line": 346, + "column": 62 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13401, + "end": 13402, + "loc": { + "start": { + "line": 346, + "column": 62 + }, + "end": { + "line": 346, + "column": 63 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 13427, + "end": 13431, + "loc": { + "start": { + "line": 347, + "column": 24 + }, + "end": { + "line": 347, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13431, + "end": 13432, + "loc": { + "start": { + "line": 347, + "column": 28 + }, + "end": { + "line": 347, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13432, + "end": 13433, + "loc": { + "start": { + "line": 347, + "column": 29 + }, + "end": { + "line": 347, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13433, + "end": 13434, + "loc": { + "start": { + "line": 347, + "column": 30 + }, + "end": { + "line": 347, + "column": 31 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13457, + "end": 13458, + "loc": { + "start": { + "line": 348, + "column": 22 + }, + "end": { + "line": 348, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13458, + "end": 13459, + "loc": { + "start": { + "line": 348, + "column": 23 + }, + "end": { + "line": 348, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 13482, + "end": 13488, + "loc": { + "start": { + "line": 349, + "column": 22 + }, + "end": { + "line": 349, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13489, + "end": 13491, + "loc": { + "start": { + "line": 349, + "column": 29 + }, + "end": { + "line": 349, + "column": 31 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13492, + "end": 13493, + "loc": { + "start": { + "line": 349, + "column": 32 + }, + "end": { + "line": 349, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 13518, + "end": 13522, + "loc": { + "start": { + "line": 350, + "column": 24 + }, + "end": { + "line": 350, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13522, + "end": 13523, + "loc": { + "start": { + "line": 350, + "column": 28 + }, + "end": { + "line": 350, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 13523, + "end": 13529, + "loc": { + "start": { + "line": 350, + "column": 29 + }, + "end": { + "line": 350, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13529, + "end": 13530, + "loc": { + "start": { + "line": 350, + "column": 35 + }, + "end": { + "line": 350, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13530, + "end": 13531, + "loc": { + "start": { + "line": 350, + "column": 36 + }, + "end": { + "line": 350, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13554, + "end": 13555, + "loc": { + "start": { + "line": 351, + "column": 22 + }, + "end": { + "line": 351, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13576, + "end": 13577, + "loc": { + "start": { + "line": 352, + "column": 20 + }, + "end": { + "line": 352, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13577, + "end": 13578, + "loc": { + "start": { + "line": 352, + "column": 21 + }, + "end": { + "line": 352, + "column": 22 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13597, + "end": 13598, + "loc": { + "start": { + "line": 353, + "column": 18 + }, + "end": { + "line": 353, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13598, + "end": 13599, + "loc": { + "start": { + "line": 353, + "column": 19 + }, + "end": { + "line": 353, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13599, + "end": 13600, + "loc": { + "start": { + "line": 353, + "column": 20 + }, + "end": { + "line": 353, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13617, + "end": 13618, + "loc": { + "start": { + "line": 354, + "column": 16 + }, + "end": { + "line": 354, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13618, + "end": 13619, + "loc": { + "start": { + "line": 354, + "column": 17 + }, + "end": { + "line": 354, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13619, + "end": 13620, + "loc": { + "start": { + "line": 354, + "column": 18 + }, + "end": { + "line": 354, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13635, + "end": 13636, + "loc": { + "start": { + "line": 355, + "column": 14 + }, + "end": { + "line": 355, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13636, + "end": 13637, + "loc": { + "start": { + "line": 355, + "column": 15 + }, + "end": { + "line": 355, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13637, + "end": 13638, + "loc": { + "start": { + "line": 355, + "column": 16 + }, + "end": { + "line": 355, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13651, + "end": 13652, + "loc": { + "start": { + "line": 356, + "column": 12 + }, + "end": { + "line": 356, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13652, + "end": 13653, + "loc": { + "start": { + "line": 356, + "column": 13 + }, + "end": { + "line": 356, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13653, + "end": 13654, + "loc": { + "start": { + "line": 356, + "column": 14 + }, + "end": { + "line": 356, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 13668, + "end": 13676, + "loc": { + "start": { + "line": 358, + "column": 12 + }, + "end": { + "line": 358, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13676, + "end": 13677, + "loc": { + "start": { + "line": 358, + "column": 20 + }, + "end": { + "line": 358, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Featured Playlists", + "start": 13677, + "end": 13697, + "loc": { + "start": { + "line": 358, + "column": 21 + }, + "end": { + "line": 358, + "column": 41 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13697, + "end": 13698, + "loc": { + "start": { + "line": 358, + "column": 41 + }, + "end": { + "line": 358, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13699, + "end": 13700, + "loc": { + "start": { + "line": 358, + "column": 43 + }, + "end": { + "line": 358, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13700, + "end": 13701, + "loc": { + "start": { + "line": 358, + "column": 44 + }, + "end": { + "line": 358, + "column": 45 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13702, + "end": 13704, + "loc": { + "start": { + "line": 358, + "column": 46 + }, + "end": { + "line": 358, + "column": 48 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13705, + "end": 13706, + "loc": { + "start": { + "line": 358, + "column": 49 + }, + "end": { + "line": 358, + "column": 50 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 13721, + "end": 13726, + "loc": { + "start": { + "line": 359, + "column": 14 + }, + "end": { + "line": 359, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "featuredPlaylistFetcher", + "start": 13727, + "end": 13750, + "loc": { + "start": { + "line": 359, + "column": 20 + }, + "end": { + "line": 359, + "column": 43 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 13751, + "end": 13752, + "loc": { + "start": { + "line": 359, + "column": 44 + }, + "end": { + "line": 359, + "column": 45 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 13753, + "end": 13756, + "loc": { + "start": { + "line": 359, + "column": 46 + }, + "end": { + "line": 359, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "FeaturedPlaylistFetcher", + "start": 13757, + "end": 13780, + "loc": { + "start": { + "line": 359, + "column": 50 + }, + "end": { + "line": 359, + "column": 73 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13780, + "end": 13781, + "loc": { + "start": { + "line": 359, + "column": 73 + }, + "end": { + "line": 359, + "column": 74 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "httpClient", + "start": 13798, + "end": 13808, + "loc": { + "start": { + "line": 360, + "column": 16 + }, + "end": { + "line": 360, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13823, + "end": 13824, + "loc": { + "start": { + "line": 361, + "column": 14 + }, + "end": { + "line": 361, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13824, + "end": 13825, + "loc": { + "start": { + "line": 361, + "column": 15 + }, + "end": { + "line": 361, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 13840, + "end": 13848, + "loc": { + "start": { + "line": 362, + "column": 14 + }, + "end": { + "line": 362, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13848, + "end": 13849, + "loc": { + "start": { + "line": 362, + "column": 22 + }, + "end": { + "line": 362, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchAllFeaturedPlaylists()", + "start": 13849, + "end": 13879, + "loc": { + "start": { + "line": 362, + "column": 23 + }, + "end": { + "line": 362, + "column": 53 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13879, + "end": 13880, + "loc": { + "start": { + "line": 362, + "column": 53 + }, + "end": { + "line": 362, + "column": 54 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13881, + "end": 13882, + "loc": { + "start": { + "line": 362, + "column": 55 + }, + "end": { + "line": 362, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13882, + "end": 13883, + "loc": { + "start": { + "line": 362, + "column": 56 + }, + "end": { + "line": 362, + "column": 57 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13884, + "end": 13886, + "loc": { + "start": { + "line": 362, + "column": 58 + }, + "end": { + "line": 362, + "column": 60 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13887, + "end": 13888, + "loc": { + "start": { + "line": 362, + "column": 61 + }, + "end": { + "line": 362, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 13905, + "end": 13907, + "loc": { + "start": { + "line": 363, + "column": 16 + }, + "end": { + "line": 363, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13907, + "end": 13908, + "loc": { + "start": { + "line": 363, + "column": 18 + }, + "end": { + "line": 363, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200", + "start": 13908, + "end": 13936, + "loc": { + "start": { + "line": 363, + "column": 19 + }, + "end": { + "line": 363, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13936, + "end": 13937, + "loc": { + "start": { + "line": 363, + "column": 47 + }, + "end": { + "line": 363, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 13938, + "end": 13942, + "loc": { + "start": { + "line": 363, + "column": 49 + }, + "end": { + "line": 363, + "column": 53 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13943, + "end": 13945, + "loc": { + "start": { + "line": 363, + "column": 54 + }, + "end": { + "line": 363, + "column": 56 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13946, + "end": 13947, + "loc": { + "start": { + "line": 363, + "column": 57 + }, + "end": { + "line": 363, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "featuredPlaylistFetcher", + "start": 13966, + "end": 13989, + "loc": { + "start": { + "line": 364, + "column": 18 + }, + "end": { + "line": 364, + "column": 41 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14010, + "end": 14011, + "loc": { + "start": { + "line": 365, + "column": 20 + }, + "end": { + "line": 365, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchAllFeaturedPlaylists", + "start": 14011, + "end": 14036, + "loc": { + "start": { + "line": 365, + "column": 21 + }, + "end": { + "line": 365, + "column": 46 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14036, + "end": 14037, + "loc": { + "start": { + "line": 365, + "column": 46 + }, + "end": { + "line": 365, + "column": 47 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 14037, + "end": 14038, + "loc": { + "start": { + "line": 365, + "column": 47 + }, + "end": { + "line": 365, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14038, + "end": 14039, + "loc": { + "start": { + "line": 365, + "column": 48 + }, + "end": { + "line": 365, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14060, + "end": 14061, + "loc": { + "start": { + "line": 366, + "column": 20 + }, + "end": { + "line": 366, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 14061, + "end": 14065, + "loc": { + "start": { + "line": 366, + "column": 21 + }, + "end": { + "line": 366, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14065, + "end": 14066, + "loc": { + "start": { + "line": 366, + "column": 25 + }, + "end": { + "line": 366, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 14066, + "end": 14074, + "loc": { + "start": { + "line": 366, + "column": 26 + }, + "end": { + "line": 366, + "column": 34 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14075, + "end": 14077, + "loc": { + "start": { + "line": 366, + "column": 35 + }, + "end": { + "line": 366, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14078, + "end": 14079, + "loc": { + "start": { + "line": 366, + "column": 38 + }, + "end": { + "line": 366, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 14102, + "end": 14110, + "loc": { + "start": { + "line": 367, + "column": 22 + }, + "end": { + "line": 367, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14110, + "end": 14111, + "loc": { + "start": { + "line": 367, + "column": 30 + }, + "end": { + "line": 367, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 14111, + "end": 14117, + "loc": { + "start": { + "line": 367, + "column": 31 + }, + "end": { + "line": 367, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14117, + "end": 14118, + "loc": { + "start": { + "line": 367, + "column": 37 + }, + "end": { + "line": 367, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 14118, + "end": 14124, + "loc": { + "start": { + "line": 367, + "column": 38 + }, + "end": { + "line": 367, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14124, + "end": 14125, + "loc": { + "start": { + "line": 367, + "column": 44 + }, + "end": { + "line": 367, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 14125, + "end": 14127, + "loc": { + "start": { + "line": 367, + "column": 45 + }, + "end": { + "line": 367, + "column": 47 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14127, + "end": 14128, + "loc": { + "start": { + "line": 367, + "column": 47 + }, + "end": { + "line": 367, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 14128, + "end": 14135, + "loc": { + "start": { + "line": 367, + "column": 48 + }, + "end": { + "line": 367, + "column": 55 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14135, + "end": 14136, + "loc": { + "start": { + "line": 367, + "column": 55 + }, + "end": { + "line": 367, + "column": 56 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 14136, + "end": 14139, + "loc": { + "start": { + "line": 367, + "column": 56 + }, + "end": { + "line": 367, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14139, + "end": 14140, + "loc": { + "start": { + "line": 367, + "column": 59 + }, + "end": { + "line": 367, + "column": 60 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14140, + "end": 14141, + "loc": { + "start": { + "line": 367, + "column": 60 + }, + "end": { + "line": 367, + "column": 61 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "featuredPlaylistFetcher", + "start": 14164, + "end": 14187, + "loc": { + "start": { + "line": 368, + "column": 22 + }, + "end": { + "line": 368, + "column": 45 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14187, + "end": 14188, + "loc": { + "start": { + "line": 368, + "column": 45 + }, + "end": { + "line": 368, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchNextPage", + "start": 14188, + "end": 14201, + "loc": { + "start": { + "line": 368, + "column": 46 + }, + "end": { + "line": 368, + "column": 59 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14201, + "end": 14202, + "loc": { + "start": { + "line": 368, + "column": 59 + }, + "end": { + "line": 368, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 14202, + "end": 14210, + "loc": { + "start": { + "line": 368, + "column": 60 + }, + "end": { + "line": 368, + "column": 68 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14210, + "end": 14211, + "loc": { + "start": { + "line": 368, + "column": 68 + }, + "end": { + "line": 368, + "column": 69 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14211, + "end": 14212, + "loc": { + "start": { + "line": 368, + "column": 69 + }, + "end": { + "line": 368, + "column": 70 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 14212, + "end": 14216, + "loc": { + "start": { + "line": 368, + "column": 70 + }, + "end": { + "line": 368, + "column": 74 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14216, + "end": 14217, + "loc": { + "start": { + "line": 368, + "column": 74 + }, + "end": { + "line": 368, + "column": 75 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 14242, + "end": 14250, + "loc": { + "start": { + "line": 369, + "column": 24 + }, + "end": { + "line": 369, + "column": 32 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14251, + "end": 14253, + "loc": { + "start": { + "line": 369, + "column": 33 + }, + "end": { + "line": 369, + "column": 35 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14254, + "end": 14255, + "loc": { + "start": { + "line": 369, + "column": 36 + }, + "end": { + "line": 369, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 14282, + "end": 14290, + "loc": { + "start": { + "line": 370, + "column": 26 + }, + "end": { + "line": 370, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14290, + "end": 14291, + "loc": { + "start": { + "line": 370, + "column": 34 + }, + "end": { + "line": 370, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 14291, + "end": 14297, + "loc": { + "start": { + "line": 370, + "column": 35 + }, + "end": { + "line": 370, + "column": 41 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14297, + "end": 14298, + "loc": { + "start": { + "line": 370, + "column": 41 + }, + "end": { + "line": 370, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 14298, + "end": 14304, + "loc": { + "start": { + "line": 370, + "column": 42 + }, + "end": { + "line": 370, + "column": 48 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14304, + "end": 14305, + "loc": { + "start": { + "line": 370, + "column": 48 + }, + "end": { + "line": 370, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 14305, + "end": 14307, + "loc": { + "start": { + "line": 370, + "column": 49 + }, + "end": { + "line": 370, + "column": 51 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14307, + "end": 14308, + "loc": { + "start": { + "line": 370, + "column": 51 + }, + "end": { + "line": 370, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 14308, + "end": 14315, + "loc": { + "start": { + "line": 370, + "column": 52 + }, + "end": { + "line": 370, + "column": 59 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14315, + "end": 14316, + "loc": { + "start": { + "line": 370, + "column": 59 + }, + "end": { + "line": 370, + "column": 60 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 14316, + "end": 14319, + "loc": { + "start": { + "line": 370, + "column": 60 + }, + "end": { + "line": 370, + "column": 63 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14319, + "end": 14320, + "loc": { + "start": { + "line": 370, + "column": 63 + }, + "end": { + "line": 370, + "column": 64 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14320, + "end": 14321, + "loc": { + "start": { + "line": 370, + "column": 64 + }, + "end": { + "line": 370, + "column": 65 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 14348, + "end": 14352, + "loc": { + "start": { + "line": 371, + "column": 26 + }, + "end": { + "line": 371, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14352, + "end": 14353, + "loc": { + "start": { + "line": 371, + "column": 30 + }, + "end": { + "line": 371, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14353, + "end": 14354, + "loc": { + "start": { + "line": 371, + "column": 31 + }, + "end": { + "line": 371, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14354, + "end": 14355, + "loc": { + "start": { + "line": 371, + "column": 32 + }, + "end": { + "line": 371, + "column": 33 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14380, + "end": 14381, + "loc": { + "start": { + "line": 372, + "column": 24 + }, + "end": { + "line": 372, + "column": 25 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14381, + "end": 14382, + "loc": { + "start": { + "line": 372, + "column": 25 + }, + "end": { + "line": 372, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 14407, + "end": 14413, + "loc": { + "start": { + "line": 373, + "column": 24 + }, + "end": { + "line": 373, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14414, + "end": 14416, + "loc": { + "start": { + "line": 373, + "column": 31 + }, + "end": { + "line": 373, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14417, + "end": 14418, + "loc": { + "start": { + "line": 373, + "column": 34 + }, + "end": { + "line": 373, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 14445, + "end": 14449, + "loc": { + "start": { + "line": 374, + "column": 26 + }, + "end": { + "line": 374, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14449, + "end": 14450, + "loc": { + "start": { + "line": 374, + "column": 30 + }, + "end": { + "line": 374, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 14450, + "end": 14456, + "loc": { + "start": { + "line": 374, + "column": 31 + }, + "end": { + "line": 374, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14456, + "end": 14457, + "loc": { + "start": { + "line": 374, + "column": 37 + }, + "end": { + "line": 374, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14457, + "end": 14458, + "loc": { + "start": { + "line": 374, + "column": 38 + }, + "end": { + "line": 374, + "column": 39 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14483, + "end": 14484, + "loc": { + "start": { + "line": 375, + "column": 24 + }, + "end": { + "line": 375, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14507, + "end": 14508, + "loc": { + "start": { + "line": 376, + "column": 22 + }, + "end": { + "line": 376, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14508, + "end": 14509, + "loc": { + "start": { + "line": 376, + "column": 23 + }, + "end": { + "line": 376, + "column": 24 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14530, + "end": 14531, + "loc": { + "start": { + "line": 377, + "column": 20 + }, + "end": { + "line": 377, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14531, + "end": 14532, + "loc": { + "start": { + "line": 377, + "column": 21 + }, + "end": { + "line": 377, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14532, + "end": 14533, + "loc": { + "start": { + "line": 377, + "column": 22 + }, + "end": { + "line": 377, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14550, + "end": 14551, + "loc": { + "start": { + "line": 378, + "column": 16 + }, + "end": { + "line": 378, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14551, + "end": 14552, + "loc": { + "start": { + "line": 378, + "column": 17 + }, + "end": { + "line": 378, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14552, + "end": 14553, + "loc": { + "start": { + "line": 378, + "column": 18 + }, + "end": { + "line": 378, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14568, + "end": 14569, + "loc": { + "start": { + "line": 379, + "column": 14 + }, + "end": { + "line": 379, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14569, + "end": 14570, + "loc": { + "start": { + "line": 379, + "column": 15 + }, + "end": { + "line": 379, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14570, + "end": 14571, + "loc": { + "start": { + "line": 379, + "column": 16 + }, + "end": { + "line": 379, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14584, + "end": 14585, + "loc": { + "start": { + "line": 380, + "column": 12 + }, + "end": { + "line": 380, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14585, + "end": 14586, + "loc": { + "start": { + "line": 380, + "column": 13 + }, + "end": { + "line": 380, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14586, + "end": 14587, + "loc": { + "start": { + "line": 380, + "column": 14 + }, + "end": { + "line": 380, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 14601, + "end": 14609, + "loc": { + "start": { + "line": 382, + "column": 12 + }, + "end": { + "line": 382, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14609, + "end": 14610, + "loc": { + "start": { + "line": 382, + "column": 20 + }, + "end": { + "line": 382, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Featured Playlist Category", + "start": 14610, + "end": 14638, + "loc": { + "start": { + "line": 382, + "column": 21 + }, + "end": { + "line": 382, + "column": 49 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14638, + "end": 14639, + "loc": { + "start": { + "line": 382, + "column": 49 + }, + "end": { + "line": 382, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14640, + "end": 14641, + "loc": { + "start": { + "line": 382, + "column": 51 + }, + "end": { + "line": 382, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14641, + "end": 14642, + "loc": { + "start": { + "line": 382, + "column": 52 + }, + "end": { + "line": 382, + "column": 53 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14643, + "end": 14645, + "loc": { + "start": { + "line": 382, + "column": 54 + }, + "end": { + "line": 382, + "column": 56 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14646, + "end": 14647, + "loc": { + "start": { + "line": 382, + "column": 57 + }, + "end": { + "line": 382, + "column": 58 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 14662, + "end": 14667, + "loc": { + "start": { + "line": 383, + "column": 14 + }, + "end": { + "line": 383, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "featuredPlaylistCategoryFetcher", + "start": 14668, + "end": 14699, + "loc": { + "start": { + "line": 383, + "column": 20 + }, + "end": { + "line": 383, + "column": 51 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 14700, + "end": 14701, + "loc": { + "start": { + "line": 383, + "column": 52 + }, + "end": { + "line": 383, + "column": 53 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 14702, + "end": 14705, + "loc": { + "start": { + "line": 383, + "column": 54 + }, + "end": { + "line": 383, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "FeaturedPlaylistCategoryFetcher", + "start": 14706, + "end": 14737, + "loc": { + "start": { + "line": 383, + "column": 58 + }, + "end": { + "line": 383, + "column": 89 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14737, + "end": 14738, + "loc": { + "start": { + "line": 383, + "column": 89 + }, + "end": { + "line": 383, + "column": 90 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "httpClient", + "start": 14755, + "end": 14765, + "loc": { + "start": { + "line": 384, + "column": 16 + }, + "end": { + "line": 384, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14780, + "end": 14781, + "loc": { + "start": { + "line": 385, + "column": 14 + }, + "end": { + "line": 385, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14781, + "end": 14782, + "loc": { + "start": { + "line": 385, + "column": 15 + }, + "end": { + "line": 385, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 14797, + "end": 14805, + "loc": { + "start": { + "line": 386, + "column": 14 + }, + "end": { + "line": 386, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14805, + "end": 14806, + "loc": { + "start": { + "line": 386, + "column": 22 + }, + "end": { + "line": 386, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchAll()", + "start": 14806, + "end": 14819, + "loc": { + "start": { + "line": 386, + "column": 23 + }, + "end": { + "line": 386, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14819, + "end": 14820, + "loc": { + "start": { + "line": 386, + "column": 36 + }, + "end": { + "line": 386, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14821, + "end": 14822, + "loc": { + "start": { + "line": 386, + "column": 38 + }, + "end": { + "line": 386, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14822, + "end": 14823, + "loc": { + "start": { + "line": 386, + "column": 39 + }, + "end": { + "line": 386, + "column": 40 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14824, + "end": 14826, + "loc": { + "start": { + "line": 386, + "column": 41 + }, + "end": { + "line": 386, + "column": 43 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14827, + "end": 14828, + "loc": { + "start": { + "line": 386, + "column": 44 + }, + "end": { + "line": 386, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 14845, + "end": 14847, + "loc": { + "start": { + "line": 387, + "column": 16 + }, + "end": { + "line": 387, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14847, + "end": 14848, + "loc": { + "start": { + "line": 387, + "column": 18 + }, + "end": { + "line": 387, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200", + "start": 14848, + "end": 14876, + "loc": { + "start": { + "line": 387, + "column": 19 + }, + "end": { + "line": 387, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14876, + "end": 14877, + "loc": { + "start": { + "line": 387, + "column": 47 + }, + "end": { + "line": 387, + "column": 48 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14878, + "end": 14879, + "loc": { + "start": { + "line": 387, + "column": 49 + }, + "end": { + "line": 387, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14879, + "end": 14880, + "loc": { + "start": { + "line": 387, + "column": 50 + }, + "end": { + "line": 387, + "column": 51 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14881, + "end": 14883, + "loc": { + "start": { + "line": 387, + "column": 52 + }, + "end": { + "line": 387, + "column": 54 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14884, + "end": 14885, + "loc": { + "start": { + "line": 387, + "column": 55 + }, + "end": { + "line": 387, + "column": 56 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 14904, + "end": 14910, + "loc": { + "start": { + "line": 388, + "column": 18 + }, + "end": { + "line": 388, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "featuredPlaylistCategoryFetcher", + "start": 14911, + "end": 14942, + "loc": { + "start": { + "line": 388, + "column": 25 + }, + "end": { + "line": 388, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14963, + "end": 14964, + "loc": { + "start": { + "line": 389, + "column": 20 + }, + "end": { + "line": 389, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchAllFeaturedPlaylistCategories", + "start": 14964, + "end": 14998, + "loc": { + "start": { + "line": 389, + "column": 21 + }, + "end": { + "line": 389, + "column": 55 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14998, + "end": 14999, + "loc": { + "start": { + "line": 389, + "column": 55 + }, + "end": { + "line": 389, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14999, + "end": 15000, + "loc": { + "start": { + "line": 389, + "column": 56 + }, + "end": { + "line": 389, + "column": 57 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15021, + "end": 15022, + "loc": { + "start": { + "line": 390, + "column": 20 + }, + "end": { + "line": 390, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 15022, + "end": 15026, + "loc": { + "start": { + "line": 390, + "column": 21 + }, + "end": { + "line": 390, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15026, + "end": 15027, + "loc": { + "start": { + "line": 390, + "column": 25 + }, + "end": { + "line": 390, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 15050, + "end": 15058, + "loc": { + "start": { + "line": 391, + "column": 22 + }, + "end": { + "line": 391, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15059, + "end": 15061, + "loc": { + "start": { + "line": 391, + "column": 31 + }, + "end": { + "line": 391, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 15062, + "end": 15070, + "loc": { + "start": { + "line": 391, + "column": 34 + }, + "end": { + "line": 391, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15070, + "end": 15071, + "loc": { + "start": { + "line": 391, + "column": 42 + }, + "end": { + "line": 391, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 15071, + "end": 15077, + "loc": { + "start": { + "line": 391, + "column": 43 + }, + "end": { + "line": 391, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15077, + "end": 15078, + "loc": { + "start": { + "line": 391, + "column": 49 + }, + "end": { + "line": 391, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 15078, + "end": 15084, + "loc": { + "start": { + "line": 391, + "column": 50 + }, + "end": { + "line": 391, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15084, + "end": 15085, + "loc": { + "start": { + "line": 391, + "column": 56 + }, + "end": { + "line": 391, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 15085, + "end": 15087, + "loc": { + "start": { + "line": 391, + "column": 57 + }, + "end": { + "line": 391, + "column": 59 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15087, + "end": 15088, + "loc": { + "start": { + "line": 391, + "column": 59 + }, + "end": { + "line": 391, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 15088, + "end": 15095, + "loc": { + "start": { + "line": 391, + "column": 60 + }, + "end": { + "line": 391, + "column": 67 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15095, + "end": 15096, + "loc": { + "start": { + "line": 391, + "column": 67 + }, + "end": { + "line": 391, + "column": 68 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 15096, + "end": 15099, + "loc": { + "start": { + "line": 391, + "column": 68 + }, + "end": { + "line": 391, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15099, + "end": 15100, + "loc": { + "start": { + "line": 391, + "column": 71 + }, + "end": { + "line": 391, + "column": 72 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15100, + "end": 15101, + "loc": { + "start": { + "line": 391, + "column": 72 + }, + "end": { + "line": 391, + "column": 73 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 15124, + "end": 15130, + "loc": { + "start": { + "line": 392, + "column": 22 + }, + "end": { + "line": 392, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15131, + "end": 15133, + "loc": { + "start": { + "line": 392, + "column": 29 + }, + "end": { + "line": 392, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 15134, + "end": 15140, + "loc": { + "start": { + "line": 392, + "column": 32 + }, + "end": { + "line": 392, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15140, + "end": 15141, + "loc": { + "start": { + "line": 392, + "column": 38 + }, + "end": { + "line": 392, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 15141, + "end": 15144, + "loc": { + "start": { + "line": 392, + "column": 39 + }, + "end": { + "line": 392, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15144, + "end": 15145, + "loc": { + "start": { + "line": 392, + "column": 42 + }, + "end": { + "line": 392, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exists", + "start": 15145, + "end": 15151, + "loc": { + "start": { + "line": 392, + "column": 43 + }, + "end": { + "line": 392, + "column": 49 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15151, + "end": 15152, + "loc": { + "start": { + "line": 392, + "column": 49 + }, + "end": { + "line": 392, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 15152, + "end": 15158, + "loc": { + "start": { + "line": 392, + "column": 50 + }, + "end": { + "line": 392, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15158, + "end": 15159, + "loc": { + "start": { + "line": 392, + "column": 56 + }, + "end": { + "line": 392, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15180, + "end": 15181, + "loc": { + "start": { + "line": 393, + "column": 20 + }, + "end": { + "line": 393, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15181, + "end": 15182, + "loc": { + "start": { + "line": 393, + "column": 21 + }, + "end": { + "line": 393, + "column": 22 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15199, + "end": 15200, + "loc": { + "start": { + "line": 394, + "column": 16 + }, + "end": { + "line": 394, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15200, + "end": 15201, + "loc": { + "start": { + "line": 394, + "column": 17 + }, + "end": { + "line": 394, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15201, + "end": 15202, + "loc": { + "start": { + "line": 394, + "column": 18 + }, + "end": { + "line": 394, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15217, + "end": 15218, + "loc": { + "start": { + "line": 395, + "column": 14 + }, + "end": { + "line": 395, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15218, + "end": 15219, + "loc": { + "start": { + "line": 395, + "column": 15 + }, + "end": { + "line": 395, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15219, + "end": 15220, + "loc": { + "start": { + "line": 395, + "column": 16 + }, + "end": { + "line": 395, + "column": 17 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 15236, + "end": 15241, + "loc": { + "start": { + "line": 397, + "column": 14 + }, + "end": { + "line": 397, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "f", + "start": 15242, + "end": 15243, + "loc": { + "start": { + "line": 397, + "column": 20 + }, + "end": { + "line": 397, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 15244, + "end": 15245, + "loc": { + "start": { + "line": 397, + "column": 22 + }, + "end": { + "line": 397, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "featuredPlaylistCategoryFetcher", + "start": 15246, + "end": 15277, + "loc": { + "start": { + "line": 397, + "column": 24 + }, + "end": { + "line": 397, + "column": 55 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15277, + "end": 15278, + "loc": { + "start": { + "line": 397, + "column": 55 + }, + "end": { + "line": 397, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setCategoryID", + "start": 15278, + "end": 15291, + "loc": { + "start": { + "line": 397, + "column": 56 + }, + "end": { + "line": 397, + "column": 69 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15291, + "end": 15292, + "loc": { + "start": { + "line": 397, + "column": 69 + }, + "end": { + "line": 397, + "column": 70 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "LXUR688EBKRRZydAWb", + "start": 15309, + "end": 15329, + "loc": { + "start": { + "line": 398, + "column": 16 + }, + "end": { + "line": 398, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15344, + "end": 15345, + "loc": { + "start": { + "line": 399, + "column": 14 + }, + "end": { + "line": 399, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15345, + "end": 15346, + "loc": { + "start": { + "line": 399, + "column": 15 + }, + "end": { + "line": 399, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 15361, + "end": 15369, + "loc": { + "start": { + "line": 400, + "column": 14 + }, + "end": { + "line": 400, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15369, + "end": 15370, + "loc": { + "start": { + "line": 400, + "column": 22 + }, + "end": { + "line": 400, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchMetadata()", + "start": 15370, + "end": 15388, + "loc": { + "start": { + "line": 400, + "column": 23 + }, + "end": { + "line": 400, + "column": 41 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15388, + "end": 15389, + "loc": { + "start": { + "line": 400, + "column": 41 + }, + "end": { + "line": 400, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15390, + "end": 15391, + "loc": { + "start": { + "line": 400, + "column": 43 + }, + "end": { + "line": 400, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15391, + "end": 15392, + "loc": { + "start": { + "line": 400, + "column": 44 + }, + "end": { + "line": 400, + "column": 45 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15393, + "end": 15395, + "loc": { + "start": { + "line": 400, + "column": 46 + }, + "end": { + "line": 400, + "column": 48 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15396, + "end": 15397, + "loc": { + "start": { + "line": 400, + "column": 49 + }, + "end": { + "line": 400, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 15414, + "end": 15416, + "loc": { + "start": { + "line": 401, + "column": 16 + }, + "end": { + "line": 401, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15416, + "end": 15417, + "loc": { + "start": { + "line": 401, + "column": 18 + }, + "end": { + "line": 401, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200", + "start": 15417, + "end": 15445, + "loc": { + "start": { + "line": 401, + "column": 19 + }, + "end": { + "line": 401, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15445, + "end": 15446, + "loc": { + "start": { + "line": 401, + "column": 47 + }, + "end": { + "line": 401, + "column": 48 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15447, + "end": 15448, + "loc": { + "start": { + "line": 401, + "column": 49 + }, + "end": { + "line": 401, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15448, + "end": 15449, + "loc": { + "start": { + "line": 401, + "column": 50 + }, + "end": { + "line": 401, + "column": 51 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15450, + "end": 15452, + "loc": { + "start": { + "line": 401, + "column": 52 + }, + "end": { + "line": 401, + "column": 54 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15453, + "end": 15454, + "loc": { + "start": { + "line": 401, + "column": 55 + }, + "end": { + "line": 401, + "column": 56 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 15473, + "end": 15479, + "loc": { + "start": { + "line": 402, + "column": 18 + }, + "end": { + "line": 402, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "f", + "start": 15480, + "end": 15481, + "loc": { + "start": { + "line": 402, + "column": 25 + }, + "end": { + "line": 402, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15502, + "end": 15503, + "loc": { + "start": { + "line": 403, + "column": 20 + }, + "end": { + "line": 403, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchMetadata", + "start": 15503, + "end": 15516, + "loc": { + "start": { + "line": 403, + "column": 21 + }, + "end": { + "line": 403, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15516, + "end": 15517, + "loc": { + "start": { + "line": 403, + "column": 34 + }, + "end": { + "line": 403, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15517, + "end": 15518, + "loc": { + "start": { + "line": 403, + "column": 35 + }, + "end": { + "line": 403, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15539, + "end": 15540, + "loc": { + "start": { + "line": 404, + "column": 20 + }, + "end": { + "line": 404, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 15540, + "end": 15544, + "loc": { + "start": { + "line": 404, + "column": 21 + }, + "end": { + "line": 404, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15544, + "end": 15545, + "loc": { + "start": { + "line": 404, + "column": 25 + }, + "end": { + "line": 404, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 15568, + "end": 15576, + "loc": { + "start": { + "line": 405, + "column": 22 + }, + "end": { + "line": 405, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15577, + "end": 15579, + "loc": { + "start": { + "line": 405, + "column": 31 + }, + "end": { + "line": 405, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 15580, + "end": 15588, + "loc": { + "start": { + "line": 405, + "column": 34 + }, + "end": { + "line": 405, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15588, + "end": 15589, + "loc": { + "start": { + "line": 405, + "column": 42 + }, + "end": { + "line": 405, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 15589, + "end": 15595, + "loc": { + "start": { + "line": 405, + "column": 43 + }, + "end": { + "line": 405, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15595, + "end": 15596, + "loc": { + "start": { + "line": 405, + "column": 49 + }, + "end": { + "line": 405, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 15596, + "end": 15602, + "loc": { + "start": { + "line": 405, + "column": 50 + }, + "end": { + "line": 405, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15602, + "end": 15603, + "loc": { + "start": { + "line": 405, + "column": 56 + }, + "end": { + "line": 405, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 15603, + "end": 15605, + "loc": { + "start": { + "line": 405, + "column": 57 + }, + "end": { + "line": 405, + "column": 59 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15605, + "end": 15606, + "loc": { + "start": { + "line": 405, + "column": 59 + }, + "end": { + "line": 405, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 15606, + "end": 15613, + "loc": { + "start": { + "line": 405, + "column": 60 + }, + "end": { + "line": 405, + "column": 67 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15613, + "end": 15614, + "loc": { + "start": { + "line": 405, + "column": 67 + }, + "end": { + "line": 405, + "column": 68 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 15614, + "end": 15617, + "loc": { + "start": { + "line": 405, + "column": 68 + }, + "end": { + "line": 405, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15617, + "end": 15618, + "loc": { + "start": { + "line": 405, + "column": 71 + }, + "end": { + "line": 405, + "column": 72 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15618, + "end": 15619, + "loc": { + "start": { + "line": 405, + "column": 72 + }, + "end": { + "line": 405, + "column": 73 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 15642, + "end": 15648, + "loc": { + "start": { + "line": 406, + "column": 22 + }, + "end": { + "line": 406, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15649, + "end": 15651, + "loc": { + "start": { + "line": 406, + "column": 29 + }, + "end": { + "line": 406, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 15652, + "end": 15658, + "loc": { + "start": { + "line": 406, + "column": 32 + }, + "end": { + "line": 406, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15658, + "end": 15659, + "loc": { + "start": { + "line": 406, + "column": 38 + }, + "end": { + "line": 406, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 15659, + "end": 15662, + "loc": { + "start": { + "line": 406, + "column": 39 + }, + "end": { + "line": 406, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15662, + "end": 15663, + "loc": { + "start": { + "line": 406, + "column": 42 + }, + "end": { + "line": 406, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exists", + "start": 15663, + "end": 15669, + "loc": { + "start": { + "line": 406, + "column": 43 + }, + "end": { + "line": 406, + "column": 49 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15669, + "end": 15670, + "loc": { + "start": { + "line": 406, + "column": 49 + }, + "end": { + "line": 406, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 15670, + "end": 15676, + "loc": { + "start": { + "line": 406, + "column": 50 + }, + "end": { + "line": 406, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15676, + "end": 15677, + "loc": { + "start": { + "line": 406, + "column": 56 + }, + "end": { + "line": 406, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15698, + "end": 15699, + "loc": { + "start": { + "line": 407, + "column": 20 + }, + "end": { + "line": 407, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15699, + "end": 15700, + "loc": { + "start": { + "line": 407, + "column": 21 + }, + "end": { + "line": 407, + "column": 22 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15717, + "end": 15718, + "loc": { + "start": { + "line": 408, + "column": 16 + }, + "end": { + "line": 408, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15718, + "end": 15719, + "loc": { + "start": { + "line": 408, + "column": 17 + }, + "end": { + "line": 408, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15719, + "end": 15720, + "loc": { + "start": { + "line": 408, + "column": 18 + }, + "end": { + "line": 408, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15735, + "end": 15736, + "loc": { + "start": { + "line": 409, + "column": 14 + }, + "end": { + "line": 409, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15736, + "end": 15737, + "loc": { + "start": { + "line": 409, + "column": 15 + }, + "end": { + "line": 409, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15737, + "end": 15738, + "loc": { + "start": { + "line": 409, + "column": 16 + }, + "end": { + "line": 409, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 15754, + "end": 15762, + "loc": { + "start": { + "line": 411, + "column": 14 + }, + "end": { + "line": 411, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15762, + "end": 15763, + "loc": { + "start": { + "line": 411, + "column": 22 + }, + "end": { + "line": 411, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchPlaylists()", + "start": 15763, + "end": 15782, + "loc": { + "start": { + "line": 411, + "column": 23 + }, + "end": { + "line": 411, + "column": 42 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15782, + "end": 15783, + "loc": { + "start": { + "line": 411, + "column": 42 + }, + "end": { + "line": 411, + "column": 43 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15784, + "end": 15785, + "loc": { + "start": { + "line": 411, + "column": 44 + }, + "end": { + "line": 411, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15785, + "end": 15786, + "loc": { + "start": { + "line": 411, + "column": 45 + }, + "end": { + "line": 411, + "column": 46 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15787, + "end": 15789, + "loc": { + "start": { + "line": 411, + "column": 47 + }, + "end": { + "line": 411, + "column": 49 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15790, + "end": 15791, + "loc": { + "start": { + "line": 411, + "column": 50 + }, + "end": { + "line": 411, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 15808, + "end": 15810, + "loc": { + "start": { + "line": 412, + "column": 16 + }, + "end": { + "line": 412, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15810, + "end": 15811, + "loc": { + "start": { + "line": 412, + "column": 18 + }, + "end": { + "line": 412, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200 and fetch next page should succeed", + "start": 15811, + "end": 15874, + "loc": { + "start": { + "line": 412, + "column": 19 + }, + "end": { + "line": 412, + "column": 82 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15874, + "end": 15875, + "loc": { + "start": { + "line": 412, + "column": 82 + }, + "end": { + "line": 412, + "column": 83 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 15876, + "end": 15880, + "loc": { + "start": { + "line": 412, + "column": 84 + }, + "end": { + "line": 412, + "column": 88 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15881, + "end": 15883, + "loc": { + "start": { + "line": 412, + "column": 89 + }, + "end": { + "line": 412, + "column": 91 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15884, + "end": 15885, + "loc": { + "start": { + "line": 412, + "column": 92 + }, + "end": { + "line": 412, + "column": 93 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "f", + "start": 15904, + "end": 15905, + "loc": { + "start": { + "line": 413, + "column": 18 + }, + "end": { + "line": 413, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15905, + "end": 15906, + "loc": { + "start": { + "line": 413, + "column": 19 + }, + "end": { + "line": 413, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchPlaylists", + "start": 15906, + "end": 15920, + "loc": { + "start": { + "line": 413, + "column": 20 + }, + "end": { + "line": 413, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15920, + "end": 15921, + "loc": { + "start": { + "line": 413, + "column": 34 + }, + "end": { + "line": 413, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15921, + "end": 15922, + "loc": { + "start": { + "line": 413, + "column": 35 + }, + "end": { + "line": 413, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15922, + "end": 15923, + "loc": { + "start": { + "line": 413, + "column": 36 + }, + "end": { + "line": 413, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 15923, + "end": 15927, + "loc": { + "start": { + "line": 413, + "column": 37 + }, + "end": { + "line": 413, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15927, + "end": 15928, + "loc": { + "start": { + "line": 413, + "column": 41 + }, + "end": { + "line": 413, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 15928, + "end": 15936, + "loc": { + "start": { + "line": 413, + "column": 42 + }, + "end": { + "line": 413, + "column": 50 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15937, + "end": 15939, + "loc": { + "start": { + "line": 413, + "column": 51 + }, + "end": { + "line": 413, + "column": 53 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15940, + "end": 15941, + "loc": { + "start": { + "line": 413, + "column": 54 + }, + "end": { + "line": 413, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 15962, + "end": 15970, + "loc": { + "start": { + "line": 414, + "column": 20 + }, + "end": { + "line": 414, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15970, + "end": 15971, + "loc": { + "start": { + "line": 414, + "column": 28 + }, + "end": { + "line": 414, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 15971, + "end": 15977, + "loc": { + "start": { + "line": 414, + "column": 29 + }, + "end": { + "line": 414, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15977, + "end": 15978, + "loc": { + "start": { + "line": 414, + "column": 35 + }, + "end": { + "line": 414, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 15978, + "end": 15984, + "loc": { + "start": { + "line": 414, + "column": 36 + }, + "end": { + "line": 414, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15984, + "end": 15985, + "loc": { + "start": { + "line": 414, + "column": 42 + }, + "end": { + "line": 414, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 15985, + "end": 15987, + "loc": { + "start": { + "line": 414, + "column": 43 + }, + "end": { + "line": 414, + "column": 45 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15987, + "end": 15988, + "loc": { + "start": { + "line": 414, + "column": 45 + }, + "end": { + "line": 414, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 15988, + "end": 15995, + "loc": { + "start": { + "line": 414, + "column": 46 + }, + "end": { + "line": 414, + "column": 53 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15995, + "end": 15996, + "loc": { + "start": { + "line": 414, + "column": 53 + }, + "end": { + "line": 414, + "column": 54 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 15996, + "end": 15999, + "loc": { + "start": { + "line": 414, + "column": 54 + }, + "end": { + "line": 414, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15999, + "end": 16000, + "loc": { + "start": { + "line": 414, + "column": 57 + }, + "end": { + "line": 414, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16000, + "end": 16001, + "loc": { + "start": { + "line": 414, + "column": 58 + }, + "end": { + "line": 414, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "f", + "start": 16022, + "end": 16023, + "loc": { + "start": { + "line": 415, + "column": 20 + }, + "end": { + "line": 415, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16023, + "end": 16024, + "loc": { + "start": { + "line": 415, + "column": 21 + }, + "end": { + "line": 415, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchNextPage", + "start": 16024, + "end": 16037, + "loc": { + "start": { + "line": 415, + "column": 22 + }, + "end": { + "line": 415, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16037, + "end": 16038, + "loc": { + "start": { + "line": 415, + "column": 35 + }, + "end": { + "line": 415, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 16038, + "end": 16046, + "loc": { + "start": { + "line": 415, + "column": 36 + }, + "end": { + "line": 415, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16046, + "end": 16047, + "loc": { + "start": { + "line": 415, + "column": 44 + }, + "end": { + "line": 415, + "column": 45 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16047, + "end": 16048, + "loc": { + "start": { + "line": 415, + "column": 45 + }, + "end": { + "line": 415, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 16048, + "end": 16052, + "loc": { + "start": { + "line": 415, + "column": 46 + }, + "end": { + "line": 415, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16052, + "end": 16053, + "loc": { + "start": { + "line": 415, + "column": 50 + }, + "end": { + "line": 415, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 16076, + "end": 16084, + "loc": { + "start": { + "line": 416, + "column": 22 + }, + "end": { + "line": 416, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16085, + "end": 16087, + "loc": { + "start": { + "line": 416, + "column": 31 + }, + "end": { + "line": 416, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16088, + "end": 16089, + "loc": { + "start": { + "line": 416, + "column": 34 + }, + "end": { + "line": 416, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 16114, + "end": 16122, + "loc": { + "start": { + "line": 417, + "column": 24 + }, + "end": { + "line": 417, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16122, + "end": 16123, + "loc": { + "start": { + "line": 417, + "column": 32 + }, + "end": { + "line": 417, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 16123, + "end": 16129, + "loc": { + "start": { + "line": 417, + "column": 33 + }, + "end": { + "line": 417, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16129, + "end": 16130, + "loc": { + "start": { + "line": 417, + "column": 39 + }, + "end": { + "line": 417, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 16130, + "end": 16136, + "loc": { + "start": { + "line": 417, + "column": 40 + }, + "end": { + "line": 417, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16136, + "end": 16137, + "loc": { + "start": { + "line": 417, + "column": 46 + }, + "end": { + "line": 417, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 16137, + "end": 16139, + "loc": { + "start": { + "line": 417, + "column": 47 + }, + "end": { + "line": 417, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16139, + "end": 16140, + "loc": { + "start": { + "line": 417, + "column": 49 + }, + "end": { + "line": 417, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 16140, + "end": 16147, + "loc": { + "start": { + "line": 417, + "column": 50 + }, + "end": { + "line": 417, + "column": 57 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16147, + "end": 16148, + "loc": { + "start": { + "line": 417, + "column": 57 + }, + "end": { + "line": 417, + "column": 58 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 16148, + "end": 16151, + "loc": { + "start": { + "line": 417, + "column": 58 + }, + "end": { + "line": 417, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16151, + "end": 16152, + "loc": { + "start": { + "line": 417, + "column": 61 + }, + "end": { + "line": 417, + "column": 62 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16152, + "end": 16153, + "loc": { + "start": { + "line": 417, + "column": 62 + }, + "end": { + "line": 417, + "column": 63 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 16178, + "end": 16182, + "loc": { + "start": { + "line": 418, + "column": 24 + }, + "end": { + "line": 418, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16182, + "end": 16183, + "loc": { + "start": { + "line": 418, + "column": 28 + }, + "end": { + "line": 418, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16183, + "end": 16184, + "loc": { + "start": { + "line": 418, + "column": 29 + }, + "end": { + "line": 418, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16184, + "end": 16185, + "loc": { + "start": { + "line": 418, + "column": 30 + }, + "end": { + "line": 418, + "column": 31 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16208, + "end": 16209, + "loc": { + "start": { + "line": 419, + "column": 22 + }, + "end": { + "line": 419, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16209, + "end": 16210, + "loc": { + "start": { + "line": 419, + "column": 23 + }, + "end": { + "line": 419, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 16233, + "end": 16239, + "loc": { + "start": { + "line": 420, + "column": 22 + }, + "end": { + "line": 420, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16240, + "end": 16242, + "loc": { + "start": { + "line": 420, + "column": 29 + }, + "end": { + "line": 420, + "column": 31 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16243, + "end": 16244, + "loc": { + "start": { + "line": 420, + "column": 32 + }, + "end": { + "line": 420, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 16269, + "end": 16273, + "loc": { + "start": { + "line": 421, + "column": 24 + }, + "end": { + "line": 421, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16273, + "end": 16274, + "loc": { + "start": { + "line": 421, + "column": 28 + }, + "end": { + "line": 421, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 16274, + "end": 16280, + "loc": { + "start": { + "line": 421, + "column": 29 + }, + "end": { + "line": 421, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16280, + "end": 16281, + "loc": { + "start": { + "line": 421, + "column": 35 + }, + "end": { + "line": 421, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16281, + "end": 16282, + "loc": { + "start": { + "line": 421, + "column": 36 + }, + "end": { + "line": 421, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16305, + "end": 16306, + "loc": { + "start": { + "line": 422, + "column": 22 + }, + "end": { + "line": 422, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16327, + "end": 16328, + "loc": { + "start": { + "line": 423, + "column": 20 + }, + "end": { + "line": 423, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16328, + "end": 16329, + "loc": { + "start": { + "line": 423, + "column": 21 + }, + "end": { + "line": 423, + "column": 22 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16348, + "end": 16349, + "loc": { + "start": { + "line": 424, + "column": 18 + }, + "end": { + "line": 424, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16349, + "end": 16350, + "loc": { + "start": { + "line": 424, + "column": 19 + }, + "end": { + "line": 424, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16350, + "end": 16351, + "loc": { + "start": { + "line": 424, + "column": 20 + }, + "end": { + "line": 424, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16368, + "end": 16369, + "loc": { + "start": { + "line": 425, + "column": 16 + }, + "end": { + "line": 425, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16369, + "end": 16370, + "loc": { + "start": { + "line": 425, + "column": 17 + }, + "end": { + "line": 425, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16370, + "end": 16371, + "loc": { + "start": { + "line": 425, + "column": 18 + }, + "end": { + "line": 425, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16386, + "end": 16387, + "loc": { + "start": { + "line": 426, + "column": 14 + }, + "end": { + "line": 426, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16387, + "end": 16388, + "loc": { + "start": { + "line": 426, + "column": 15 + }, + "end": { + "line": 426, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16388, + "end": 16389, + "loc": { + "start": { + "line": 426, + "column": 16 + }, + "end": { + "line": 426, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16402, + "end": 16403, + "loc": { + "start": { + "line": 427, + "column": 12 + }, + "end": { + "line": 427, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16403, + "end": 16404, + "loc": { + "start": { + "line": 427, + "column": 13 + }, + "end": { + "line": 427, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16404, + "end": 16405, + "loc": { + "start": { + "line": 427, + "column": 14 + }, + "end": { + "line": 427, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 16419, + "end": 16427, + "loc": { + "start": { + "line": 429, + "column": 12 + }, + "end": { + "line": 429, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16427, + "end": 16428, + "loc": { + "start": { + "line": 429, + "column": 20 + }, + "end": { + "line": 429, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Mood Station", + "start": 16428, + "end": 16442, + "loc": { + "start": { + "line": 429, + "column": 21 + }, + "end": { + "line": 429, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16442, + "end": 16443, + "loc": { + "start": { + "line": 429, + "column": 35 + }, + "end": { + "line": 429, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16444, + "end": 16445, + "loc": { + "start": { + "line": 429, + "column": 37 + }, + "end": { + "line": 429, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16445, + "end": 16446, + "loc": { + "start": { + "line": 429, + "column": 38 + }, + "end": { + "line": 429, + "column": 39 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16447, + "end": 16449, + "loc": { + "start": { + "line": 429, + "column": 40 + }, + "end": { + "line": 429, + "column": 42 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16450, + "end": 16451, + "loc": { + "start": { + "line": 429, + "column": 43 + }, + "end": { + "line": 429, + "column": 44 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 16466, + "end": 16471, + "loc": { + "start": { + "line": 430, + "column": 14 + }, + "end": { + "line": 430, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "moodStationFetcher", + "start": 16472, + "end": 16490, + "loc": { + "start": { + "line": 430, + "column": 20 + }, + "end": { + "line": 430, + "column": 38 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 16491, + "end": 16492, + "loc": { + "start": { + "line": 430, + "column": 39 + }, + "end": { + "line": 430, + "column": 40 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 16493, + "end": 16496, + "loc": { + "start": { + "line": 430, + "column": 41 + }, + "end": { + "line": 430, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MoodStationFetcher", + "start": 16497, + "end": 16515, + "loc": { + "start": { + "line": 430, + "column": 45 + }, + "end": { + "line": 430, + "column": 63 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16515, + "end": 16516, + "loc": { + "start": { + "line": 430, + "column": 63 + }, + "end": { + "line": 430, + "column": 64 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "httpClient", + "start": 16516, + "end": 16526, + "loc": { + "start": { + "line": 430, + "column": 64 + }, + "end": { + "line": 430, + "column": 74 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16526, + "end": 16527, + "loc": { + "start": { + "line": 430, + "column": 74 + }, + "end": { + "line": 430, + "column": 75 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16527, + "end": 16528, + "loc": { + "start": { + "line": 430, + "column": 75 + }, + "end": { + "line": 430, + "column": 76 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 16543, + "end": 16551, + "loc": { + "start": { + "line": 431, + "column": 14 + }, + "end": { + "line": 431, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16551, + "end": 16552, + "loc": { + "start": { + "line": 431, + "column": 22 + }, + "end": { + "line": 431, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchAll()", + "start": 16552, + "end": 16565, + "loc": { + "start": { + "line": 431, + "column": 23 + }, + "end": { + "line": 431, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16565, + "end": 16566, + "loc": { + "start": { + "line": 431, + "column": 36 + }, + "end": { + "line": 431, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16567, + "end": 16568, + "loc": { + "start": { + "line": 431, + "column": 38 + }, + "end": { + "line": 431, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16568, + "end": 16569, + "loc": { + "start": { + "line": 431, + "column": 39 + }, + "end": { + "line": 431, + "column": 40 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16570, + "end": 16572, + "loc": { + "start": { + "line": 431, + "column": 41 + }, + "end": { + "line": 431, + "column": 43 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16573, + "end": 16574, + "loc": { + "start": { + "line": 431, + "column": 44 + }, + "end": { + "line": 431, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 16591, + "end": 16593, + "loc": { + "start": { + "line": 432, + "column": 16 + }, + "end": { + "line": 432, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16593, + "end": 16594, + "loc": { + "start": { + "line": 432, + "column": 18 + }, + "end": { + "line": 432, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should succeed", + "start": 16594, + "end": 16610, + "loc": { + "start": { + "line": 432, + "column": 19 + }, + "end": { + "line": 432, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16610, + "end": 16611, + "loc": { + "start": { + "line": 432, + "column": 35 + }, + "end": { + "line": 432, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16612, + "end": 16613, + "loc": { + "start": { + "line": 432, + "column": 37 + }, + "end": { + "line": 432, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16613, + "end": 16614, + "loc": { + "start": { + "line": 432, + "column": 38 + }, + "end": { + "line": 432, + "column": 39 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16615, + "end": 16617, + "loc": { + "start": { + "line": 432, + "column": 40 + }, + "end": { + "line": 432, + "column": 42 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16618, + "end": 16619, + "loc": { + "start": { + "line": 432, + "column": 43 + }, + "end": { + "line": 432, + "column": 44 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 16638, + "end": 16644, + "loc": { + "start": { + "line": 433, + "column": 18 + }, + "end": { + "line": 433, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "moodStationFetcher", + "start": 16645, + "end": 16663, + "loc": { + "start": { + "line": 433, + "column": 25 + }, + "end": { + "line": 433, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16684, + "end": 16685, + "loc": { + "start": { + "line": 434, + "column": 20 + }, + "end": { + "line": 434, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchAllMoodStations", + "start": 16685, + "end": 16705, + "loc": { + "start": { + "line": 434, + "column": 21 + }, + "end": { + "line": 434, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16705, + "end": 16706, + "loc": { + "start": { + "line": 434, + "column": 41 + }, + "end": { + "line": 434, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16706, + "end": 16707, + "loc": { + "start": { + "line": 434, + "column": 42 + }, + "end": { + "line": 434, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16728, + "end": 16729, + "loc": { + "start": { + "line": 435, + "column": 20 + }, + "end": { + "line": 435, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 16729, + "end": 16733, + "loc": { + "start": { + "line": 435, + "column": 21 + }, + "end": { + "line": 435, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16733, + "end": 16734, + "loc": { + "start": { + "line": 435, + "column": 25 + }, + "end": { + "line": 435, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 16757, + "end": 16765, + "loc": { + "start": { + "line": 436, + "column": 22 + }, + "end": { + "line": 436, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16766, + "end": 16768, + "loc": { + "start": { + "line": 436, + "column": 31 + }, + "end": { + "line": 436, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 16769, + "end": 16777, + "loc": { + "start": { + "line": 436, + "column": 34 + }, + "end": { + "line": 436, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16777, + "end": 16778, + "loc": { + "start": { + "line": 436, + "column": 42 + }, + "end": { + "line": 436, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 16778, + "end": 16784, + "loc": { + "start": { + "line": 436, + "column": 43 + }, + "end": { + "line": 436, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16784, + "end": 16785, + "loc": { + "start": { + "line": 436, + "column": 49 + }, + "end": { + "line": 436, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 16785, + "end": 16791, + "loc": { + "start": { + "line": 436, + "column": 50 + }, + "end": { + "line": 436, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16791, + "end": 16792, + "loc": { + "start": { + "line": 436, + "column": 56 + }, + "end": { + "line": 436, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 16792, + "end": 16794, + "loc": { + "start": { + "line": 436, + "column": 57 + }, + "end": { + "line": 436, + "column": 59 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16794, + "end": 16795, + "loc": { + "start": { + "line": 436, + "column": 59 + }, + "end": { + "line": 436, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 16795, + "end": 16802, + "loc": { + "start": { + "line": 436, + "column": 60 + }, + "end": { + "line": 436, + "column": 67 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16802, + "end": 16803, + "loc": { + "start": { + "line": 436, + "column": 67 + }, + "end": { + "line": 436, + "column": 68 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 16803, + "end": 16806, + "loc": { + "start": { + "line": 436, + "column": 68 + }, + "end": { + "line": 436, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16806, + "end": 16807, + "loc": { + "start": { + "line": 436, + "column": 71 + }, + "end": { + "line": 436, + "column": 72 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16807, + "end": 16808, + "loc": { + "start": { + "line": 436, + "column": 72 + }, + "end": { + "line": 436, + "column": 73 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 16831, + "end": 16837, + "loc": { + "start": { + "line": 437, + "column": 22 + }, + "end": { + "line": 437, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16838, + "end": 16840, + "loc": { + "start": { + "line": 437, + "column": 29 + }, + "end": { + "line": 437, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 16841, + "end": 16847, + "loc": { + "start": { + "line": 437, + "column": 32 + }, + "end": { + "line": 437, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16847, + "end": 16848, + "loc": { + "start": { + "line": 437, + "column": 38 + }, + "end": { + "line": 437, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 16848, + "end": 16851, + "loc": { + "start": { + "line": 437, + "column": 39 + }, + "end": { + "line": 437, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16851, + "end": 16852, + "loc": { + "start": { + "line": 437, + "column": 42 + }, + "end": { + "line": 437, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exists", + "start": 16852, + "end": 16858, + "loc": { + "start": { + "line": 437, + "column": 43 + }, + "end": { + "line": 437, + "column": 49 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16858, + "end": 16859, + "loc": { + "start": { + "line": 437, + "column": 49 + }, + "end": { + "line": 437, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 16859, + "end": 16865, + "loc": { + "start": { + "line": 437, + "column": 50 + }, + "end": { + "line": 437, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16865, + "end": 16866, + "loc": { + "start": { + "line": 437, + "column": 56 + }, + "end": { + "line": 437, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16887, + "end": 16888, + "loc": { + "start": { + "line": 438, + "column": 20 + }, + "end": { + "line": 438, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16888, + "end": 16889, + "loc": { + "start": { + "line": 438, + "column": 21 + }, + "end": { + "line": 438, + "column": 22 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16906, + "end": 16907, + "loc": { + "start": { + "line": 439, + "column": 16 + }, + "end": { + "line": 439, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16907, + "end": 16908, + "loc": { + "start": { + "line": 439, + "column": 17 + }, + "end": { + "line": 439, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16908, + "end": 16909, + "loc": { + "start": { + "line": 439, + "column": 18 + }, + "end": { + "line": 439, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16924, + "end": 16925, + "loc": { + "start": { + "line": 440, + "column": 14 + }, + "end": { + "line": 440, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16925, + "end": 16926, + "loc": { + "start": { + "line": 440, + "column": 15 + }, + "end": { + "line": 440, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16926, + "end": 16927, + "loc": { + "start": { + "line": 440, + "column": 16 + }, + "end": { + "line": 440, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 16943, + "end": 16951, + "loc": { + "start": { + "line": 442, + "column": 14 + }, + "end": { + "line": 442, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16951, + "end": 16952, + "loc": { + "start": { + "line": 442, + "column": 22 + }, + "end": { + "line": 442, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchMetadata()", + "start": 16952, + "end": 16970, + "loc": { + "start": { + "line": 442, + "column": 23 + }, + "end": { + "line": 442, + "column": 41 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16970, + "end": 16971, + "loc": { + "start": { + "line": 442, + "column": 41 + }, + "end": { + "line": 442, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16972, + "end": 16973, + "loc": { + "start": { + "line": 442, + "column": 43 + }, + "end": { + "line": 442, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16973, + "end": 16974, + "loc": { + "start": { + "line": 442, + "column": 44 + }, + "end": { + "line": 442, + "column": 45 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16975, + "end": 16977, + "loc": { + "start": { + "line": 442, + "column": 46 + }, + "end": { + "line": 442, + "column": 48 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16978, + "end": 16979, + "loc": { + "start": { + "line": 442, + "column": 49 + }, + "end": { + "line": 442, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 16996, + "end": 16998, + "loc": { + "start": { + "line": 443, + "column": 16 + }, + "end": { + "line": 443, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16998, + "end": 16999, + "loc": { + "start": { + "line": 443, + "column": 18 + }, + "end": { + "line": 443, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should succeed", + "start": 16999, + "end": 17015, + "loc": { + "start": { + "line": 443, + "column": 19 + }, + "end": { + "line": 443, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17015, + "end": 17016, + "loc": { + "start": { + "line": 443, + "column": 35 + }, + "end": { + "line": 443, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17017, + "end": 17018, + "loc": { + "start": { + "line": 443, + "column": 37 + }, + "end": { + "line": 443, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17018, + "end": 17019, + "loc": { + "start": { + "line": 443, + "column": 38 + }, + "end": { + "line": 443, + "column": 39 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17020, + "end": 17022, + "loc": { + "start": { + "line": 443, + "column": 40 + }, + "end": { + "line": 443, + "column": 42 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17023, + "end": 17024, + "loc": { + "start": { + "line": 443, + "column": 43 + }, + "end": { + "line": 443, + "column": 44 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 17043, + "end": 17049, + "loc": { + "start": { + "line": 444, + "column": 18 + }, + "end": { + "line": 444, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "moodStationFetcher", + "start": 17050, + "end": 17068, + "loc": { + "start": { + "line": 444, + "column": 25 + }, + "end": { + "line": 444, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17089, + "end": 17090, + "loc": { + "start": { + "line": 445, + "column": 20 + }, + "end": { + "line": 445, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setMoodStationID", + "start": 17090, + "end": 17106, + "loc": { + "start": { + "line": 445, + "column": 21 + }, + "end": { + "line": 445, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17106, + "end": 17107, + "loc": { + "start": { + "line": 445, + "column": 37 + }, + "end": { + "line": 445, + "column": 38 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "StGZp2ToWq92diPHS7", + "start": 17107, + "end": 17127, + "loc": { + "start": { + "line": 445, + "column": 38 + }, + "end": { + "line": 445, + "column": 58 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17127, + "end": 17128, + "loc": { + "start": { + "line": 445, + "column": 58 + }, + "end": { + "line": 445, + "column": 59 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17149, + "end": 17150, + "loc": { + "start": { + "line": 446, + "column": 20 + }, + "end": { + "line": 446, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchMetadata", + "start": 17150, + "end": 17163, + "loc": { + "start": { + "line": 446, + "column": 21 + }, + "end": { + "line": 446, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17163, + "end": 17164, + "loc": { + "start": { + "line": 446, + "column": 34 + }, + "end": { + "line": 446, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17164, + "end": 17165, + "loc": { + "start": { + "line": 446, + "column": 35 + }, + "end": { + "line": 446, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17186, + "end": 17187, + "loc": { + "start": { + "line": 447, + "column": 20 + }, + "end": { + "line": 447, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 17187, + "end": 17191, + "loc": { + "start": { + "line": 447, + "column": 21 + }, + "end": { + "line": 447, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17191, + "end": 17192, + "loc": { + "start": { + "line": 447, + "column": 25 + }, + "end": { + "line": 447, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 17215, + "end": 17223, + "loc": { + "start": { + "line": 448, + "column": 22 + }, + "end": { + "line": 448, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17224, + "end": 17226, + "loc": { + "start": { + "line": 448, + "column": 31 + }, + "end": { + "line": 448, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 17227, + "end": 17235, + "loc": { + "start": { + "line": 448, + "column": 34 + }, + "end": { + "line": 448, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17235, + "end": 17236, + "loc": { + "start": { + "line": 448, + "column": 42 + }, + "end": { + "line": 448, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 17236, + "end": 17242, + "loc": { + "start": { + "line": 448, + "column": 43 + }, + "end": { + "line": 448, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17242, + "end": 17243, + "loc": { + "start": { + "line": 448, + "column": 49 + }, + "end": { + "line": 448, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 17243, + "end": 17249, + "loc": { + "start": { + "line": 448, + "column": 50 + }, + "end": { + "line": 448, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17249, + "end": 17250, + "loc": { + "start": { + "line": 448, + "column": 56 + }, + "end": { + "line": 448, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 17250, + "end": 17252, + "loc": { + "start": { + "line": 448, + "column": 57 + }, + "end": { + "line": 448, + "column": 59 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17252, + "end": 17253, + "loc": { + "start": { + "line": 448, + "column": 59 + }, + "end": { + "line": 448, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 17253, + "end": 17260, + "loc": { + "start": { + "line": 448, + "column": 60 + }, + "end": { + "line": 448, + "column": 67 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17260, + "end": 17261, + "loc": { + "start": { + "line": 448, + "column": 67 + }, + "end": { + "line": 448, + "column": 68 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 17261, + "end": 17264, + "loc": { + "start": { + "line": 448, + "column": 68 + }, + "end": { + "line": 448, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17264, + "end": 17265, + "loc": { + "start": { + "line": 448, + "column": 71 + }, + "end": { + "line": 448, + "column": 72 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17265, + "end": 17266, + "loc": { + "start": { + "line": 448, + "column": 72 + }, + "end": { + "line": 448, + "column": 73 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 17289, + "end": 17295, + "loc": { + "start": { + "line": 449, + "column": 22 + }, + "end": { + "line": 449, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17296, + "end": 17298, + "loc": { + "start": { + "line": 449, + "column": 29 + }, + "end": { + "line": 449, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 17299, + "end": 17305, + "loc": { + "start": { + "line": 449, + "column": 32 + }, + "end": { + "line": 449, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17305, + "end": 17306, + "loc": { + "start": { + "line": 449, + "column": 38 + }, + "end": { + "line": 449, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 17306, + "end": 17309, + "loc": { + "start": { + "line": 449, + "column": 39 + }, + "end": { + "line": 449, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17309, + "end": 17310, + "loc": { + "start": { + "line": 449, + "column": 42 + }, + "end": { + "line": 449, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exists", + "start": 17310, + "end": 17316, + "loc": { + "start": { + "line": 449, + "column": 43 + }, + "end": { + "line": 449, + "column": 49 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17316, + "end": 17317, + "loc": { + "start": { + "line": 449, + "column": 49 + }, + "end": { + "line": 449, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 17317, + "end": 17323, + "loc": { + "start": { + "line": 449, + "column": 50 + }, + "end": { + "line": 449, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17323, + "end": 17324, + "loc": { + "start": { + "line": 449, + "column": 56 + }, + "end": { + "line": 449, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17345, + "end": 17346, + "loc": { + "start": { + "line": 450, + "column": 20 + }, + "end": { + "line": 450, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17346, + "end": 17347, + "loc": { + "start": { + "line": 450, + "column": 21 + }, + "end": { + "line": 450, + "column": 22 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17364, + "end": 17365, + "loc": { + "start": { + "line": 451, + "column": 16 + }, + "end": { + "line": 451, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17365, + "end": 17366, + "loc": { + "start": { + "line": 451, + "column": 17 + }, + "end": { + "line": 451, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17366, + "end": 17367, + "loc": { + "start": { + "line": 451, + "column": 18 + }, + "end": { + "line": 451, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17382, + "end": 17383, + "loc": { + "start": { + "line": 452, + "column": 14 + }, + "end": { + "line": 452, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17383, + "end": 17384, + "loc": { + "start": { + "line": 452, + "column": 15 + }, + "end": { + "line": 452, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17384, + "end": 17385, + "loc": { + "start": { + "line": 452, + "column": 16 + }, + "end": { + "line": 452, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17398, + "end": 17399, + "loc": { + "start": { + "line": 453, + "column": 12 + }, + "end": { + "line": 453, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17399, + "end": 17400, + "loc": { + "start": { + "line": 453, + "column": 13 + }, + "end": { + "line": 453, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17400, + "end": 17401, + "loc": { + "start": { + "line": 453, + "column": 14 + }, + "end": { + "line": 453, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 17415, + "end": 17423, + "loc": { + "start": { + "line": 455, + "column": 12 + }, + "end": { + "line": 455, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17423, + "end": 17424, + "loc": { + "start": { + "line": 455, + "column": 20 + }, + "end": { + "line": 455, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Genre Station", + "start": 17424, + "end": 17439, + "loc": { + "start": { + "line": 455, + "column": 21 + }, + "end": { + "line": 455, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17439, + "end": 17440, + "loc": { + "start": { + "line": 455, + "column": 36 + }, + "end": { + "line": 455, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17441, + "end": 17442, + "loc": { + "start": { + "line": 455, + "column": 38 + }, + "end": { + "line": 455, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17442, + "end": 17443, + "loc": { + "start": { + "line": 455, + "column": 39 + }, + "end": { + "line": 455, + "column": 40 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17444, + "end": 17446, + "loc": { + "start": { + "line": 455, + "column": 41 + }, + "end": { + "line": 455, + "column": 43 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17447, + "end": 17448, + "loc": { + "start": { + "line": 455, + "column": 44 + }, + "end": { + "line": 455, + "column": 45 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 17463, + "end": 17468, + "loc": { + "start": { + "line": 456, + "column": 14 + }, + "end": { + "line": 456, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "genreStationFetcher", + "start": 17469, + "end": 17488, + "loc": { + "start": { + "line": 456, + "column": 20 + }, + "end": { + "line": 456, + "column": 39 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 17489, + "end": 17490, + "loc": { + "start": { + "line": 456, + "column": 40 + }, + "end": { + "line": 456, + "column": 41 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 17491, + "end": 17494, + "loc": { + "start": { + "line": 456, + "column": 42 + }, + "end": { + "line": 456, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "GenreStationFetcher", + "start": 17495, + "end": 17514, + "loc": { + "start": { + "line": 456, + "column": 46 + }, + "end": { + "line": 456, + "column": 65 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17514, + "end": 17515, + "loc": { + "start": { + "line": 456, + "column": 65 + }, + "end": { + "line": 456, + "column": 66 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "httpClient", + "start": 17515, + "end": 17525, + "loc": { + "start": { + "line": 456, + "column": 66 + }, + "end": { + "line": 456, + "column": 76 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17525, + "end": 17526, + "loc": { + "start": { + "line": 456, + "column": 76 + }, + "end": { + "line": 456, + "column": 77 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17526, + "end": 17527, + "loc": { + "start": { + "line": 456, + "column": 77 + }, + "end": { + "line": 456, + "column": 78 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 17542, + "end": 17550, + "loc": { + "start": { + "line": 457, + "column": 14 + }, + "end": { + "line": 457, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17550, + "end": 17551, + "loc": { + "start": { + "line": 457, + "column": 22 + }, + "end": { + "line": 457, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchAllGenreStations()", + "start": 17551, + "end": 17577, + "loc": { + "start": { + "line": 457, + "column": 23 + }, + "end": { + "line": 457, + "column": 49 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17577, + "end": 17578, + "loc": { + "start": { + "line": 457, + "column": 49 + }, + "end": { + "line": 457, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17579, + "end": 17580, + "loc": { + "start": { + "line": 457, + "column": 51 + }, + "end": { + "line": 457, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17580, + "end": 17581, + "loc": { + "start": { + "line": 457, + "column": 52 + }, + "end": { + "line": 457, + "column": 53 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17582, + "end": 17584, + "loc": { + "start": { + "line": 457, + "column": 54 + }, + "end": { + "line": 457, + "column": 56 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17585, + "end": 17586, + "loc": { + "start": { + "line": 457, + "column": 57 + }, + "end": { + "line": 457, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 17603, + "end": 17605, + "loc": { + "start": { + "line": 458, + "column": 16 + }, + "end": { + "line": 458, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17605, + "end": 17606, + "loc": { + "start": { + "line": 458, + "column": 18 + }, + "end": { + "line": 458, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should succeed and fetch next page should succeed", + "start": 17606, + "end": 17657, + "loc": { + "start": { + "line": 458, + "column": 19 + }, + "end": { + "line": 458, + "column": 70 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17657, + "end": 17658, + "loc": { + "start": { + "line": 458, + "column": 70 + }, + "end": { + "line": 458, + "column": 71 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 17659, + "end": 17663, + "loc": { + "start": { + "line": 458, + "column": 72 + }, + "end": { + "line": 458, + "column": 76 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17664, + "end": 17666, + "loc": { + "start": { + "line": 458, + "column": 77 + }, + "end": { + "line": 458, + "column": 79 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17667, + "end": 17668, + "loc": { + "start": { + "line": 458, + "column": 80 + }, + "end": { + "line": 458, + "column": 81 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "genreStationFetcher", + "start": 17687, + "end": 17706, + "loc": { + "start": { + "line": 459, + "column": 18 + }, + "end": { + "line": 459, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17727, + "end": 17728, + "loc": { + "start": { + "line": 460, + "column": 20 + }, + "end": { + "line": 460, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchAllGenreStations", + "start": 17728, + "end": 17749, + "loc": { + "start": { + "line": 460, + "column": 21 + }, + "end": { + "line": 460, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17749, + "end": 17750, + "loc": { + "start": { + "line": 460, + "column": 42 + }, + "end": { + "line": 460, + "column": 43 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 17750, + "end": 17751, + "loc": { + "start": { + "line": 460, + "column": 43 + }, + "end": { + "line": 460, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17751, + "end": 17752, + "loc": { + "start": { + "line": 460, + "column": 44 + }, + "end": { + "line": 460, + "column": 45 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17773, + "end": 17774, + "loc": { + "start": { + "line": 461, + "column": 20 + }, + "end": { + "line": 461, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 17774, + "end": 17778, + "loc": { + "start": { + "line": 461, + "column": 21 + }, + "end": { + "line": 461, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17778, + "end": 17779, + "loc": { + "start": { + "line": 461, + "column": 25 + }, + "end": { + "line": 461, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 17779, + "end": 17787, + "loc": { + "start": { + "line": 461, + "column": 26 + }, + "end": { + "line": 461, + "column": 34 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17788, + "end": 17790, + "loc": { + "start": { + "line": 461, + "column": 35 + }, + "end": { + "line": 461, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17791, + "end": 17792, + "loc": { + "start": { + "line": 461, + "column": 38 + }, + "end": { + "line": 461, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 17815, + "end": 17823, + "loc": { + "start": { + "line": 462, + "column": 22 + }, + "end": { + "line": 462, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17823, + "end": 17824, + "loc": { + "start": { + "line": 462, + "column": 30 + }, + "end": { + "line": 462, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 17824, + "end": 17830, + "loc": { + "start": { + "line": 462, + "column": 31 + }, + "end": { + "line": 462, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17830, + "end": 17831, + "loc": { + "start": { + "line": 462, + "column": 37 + }, + "end": { + "line": 462, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 17831, + "end": 17837, + "loc": { + "start": { + "line": 462, + "column": 38 + }, + "end": { + "line": 462, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17837, + "end": 17838, + "loc": { + "start": { + "line": 462, + "column": 44 + }, + "end": { + "line": 462, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 17838, + "end": 17840, + "loc": { + "start": { + "line": 462, + "column": 45 + }, + "end": { + "line": 462, + "column": 47 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17840, + "end": 17841, + "loc": { + "start": { + "line": 462, + "column": 47 + }, + "end": { + "line": 462, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 17841, + "end": 17848, + "loc": { + "start": { + "line": 462, + "column": 48 + }, + "end": { + "line": 462, + "column": 55 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17848, + "end": 17849, + "loc": { + "start": { + "line": 462, + "column": 55 + }, + "end": { + "line": 462, + "column": 56 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 17849, + "end": 17852, + "loc": { + "start": { + "line": 462, + "column": 56 + }, + "end": { + "line": 462, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17852, + "end": 17853, + "loc": { + "start": { + "line": 462, + "column": 59 + }, + "end": { + "line": 462, + "column": 60 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17853, + "end": 17854, + "loc": { + "start": { + "line": 462, + "column": 60 + }, + "end": { + "line": 462, + "column": 61 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "genreStationFetcher", + "start": 17877, + "end": 17896, + "loc": { + "start": { + "line": 463, + "column": 22 + }, + "end": { + "line": 463, + "column": 41 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17896, + "end": 17897, + "loc": { + "start": { + "line": 463, + "column": 41 + }, + "end": { + "line": 463, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchNextPage", + "start": 17897, + "end": 17910, + "loc": { + "start": { + "line": 463, + "column": 42 + }, + "end": { + "line": 463, + "column": 55 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17910, + "end": 17911, + "loc": { + "start": { + "line": 463, + "column": 55 + }, + "end": { + "line": 463, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 17911, + "end": 17919, + "loc": { + "start": { + "line": 463, + "column": 56 + }, + "end": { + "line": 463, + "column": 64 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17919, + "end": 17920, + "loc": { + "start": { + "line": 463, + "column": 64 + }, + "end": { + "line": 463, + "column": 65 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17920, + "end": 17921, + "loc": { + "start": { + "line": 463, + "column": 65 + }, + "end": { + "line": 463, + "column": 66 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 17921, + "end": 17925, + "loc": { + "start": { + "line": 463, + "column": 66 + }, + "end": { + "line": 463, + "column": 70 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17925, + "end": 17926, + "loc": { + "start": { + "line": 463, + "column": 70 + }, + "end": { + "line": 463, + "column": 71 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 17951, + "end": 17959, + "loc": { + "start": { + "line": 464, + "column": 24 + }, + "end": { + "line": 464, + "column": 32 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17960, + "end": 17962, + "loc": { + "start": { + "line": 464, + "column": 33 + }, + "end": { + "line": 464, + "column": 35 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17963, + "end": 17964, + "loc": { + "start": { + "line": 464, + "column": 36 + }, + "end": { + "line": 464, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 17991, + "end": 17999, + "loc": { + "start": { + "line": 465, + "column": 26 + }, + "end": { + "line": 465, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17999, + "end": 18000, + "loc": { + "start": { + "line": 465, + "column": 34 + }, + "end": { + "line": 465, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 18000, + "end": 18006, + "loc": { + "start": { + "line": 465, + "column": 35 + }, + "end": { + "line": 465, + "column": 41 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18006, + "end": 18007, + "loc": { + "start": { + "line": 465, + "column": 41 + }, + "end": { + "line": 465, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 18007, + "end": 18013, + "loc": { + "start": { + "line": 465, + "column": 42 + }, + "end": { + "line": 465, + "column": 48 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18013, + "end": 18014, + "loc": { + "start": { + "line": 465, + "column": 48 + }, + "end": { + "line": 465, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 18014, + "end": 18016, + "loc": { + "start": { + "line": 465, + "column": 49 + }, + "end": { + "line": 465, + "column": 51 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18016, + "end": 18017, + "loc": { + "start": { + "line": 465, + "column": 51 + }, + "end": { + "line": 465, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 18017, + "end": 18024, + "loc": { + "start": { + "line": 465, + "column": 52 + }, + "end": { + "line": 465, + "column": 59 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18024, + "end": 18025, + "loc": { + "start": { + "line": 465, + "column": 59 + }, + "end": { + "line": 465, + "column": 60 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 18025, + "end": 18028, + "loc": { + "start": { + "line": 465, + "column": 60 + }, + "end": { + "line": 465, + "column": 63 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18028, + "end": 18029, + "loc": { + "start": { + "line": 465, + "column": 63 + }, + "end": { + "line": 465, + "column": 64 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18029, + "end": 18030, + "loc": { + "start": { + "line": 465, + "column": 64 + }, + "end": { + "line": 465, + "column": 65 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 18057, + "end": 18061, + "loc": { + "start": { + "line": 466, + "column": 26 + }, + "end": { + "line": 466, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18061, + "end": 18062, + "loc": { + "start": { + "line": 466, + "column": 30 + }, + "end": { + "line": 466, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18062, + "end": 18063, + "loc": { + "start": { + "line": 466, + "column": 31 + }, + "end": { + "line": 466, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18063, + "end": 18064, + "loc": { + "start": { + "line": 466, + "column": 32 + }, + "end": { + "line": 466, + "column": 33 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18089, + "end": 18090, + "loc": { + "start": { + "line": 467, + "column": 24 + }, + "end": { + "line": 467, + "column": 25 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18090, + "end": 18091, + "loc": { + "start": { + "line": 467, + "column": 25 + }, + "end": { + "line": 467, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 18116, + "end": 18122, + "loc": { + "start": { + "line": 468, + "column": 24 + }, + "end": { + "line": 468, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18123, + "end": 18125, + "loc": { + "start": { + "line": 468, + "column": 31 + }, + "end": { + "line": 468, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18126, + "end": 18127, + "loc": { + "start": { + "line": 468, + "column": 34 + }, + "end": { + "line": 468, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 18154, + "end": 18158, + "loc": { + "start": { + "line": 469, + "column": 26 + }, + "end": { + "line": 469, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18158, + "end": 18159, + "loc": { + "start": { + "line": 469, + "column": 30 + }, + "end": { + "line": 469, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 18159, + "end": 18165, + "loc": { + "start": { + "line": 469, + "column": 31 + }, + "end": { + "line": 469, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18165, + "end": 18166, + "loc": { + "start": { + "line": 469, + "column": 37 + }, + "end": { + "line": 469, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18166, + "end": 18167, + "loc": { + "start": { + "line": 469, + "column": 38 + }, + "end": { + "line": 469, + "column": 39 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18192, + "end": 18193, + "loc": { + "start": { + "line": 470, + "column": 24 + }, + "end": { + "line": 470, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18216, + "end": 18217, + "loc": { + "start": { + "line": 471, + "column": 22 + }, + "end": { + "line": 471, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18217, + "end": 18218, + "loc": { + "start": { + "line": 471, + "column": 23 + }, + "end": { + "line": 471, + "column": 24 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18239, + "end": 18240, + "loc": { + "start": { + "line": 472, + "column": 20 + }, + "end": { + "line": 472, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18240, + "end": 18241, + "loc": { + "start": { + "line": 472, + "column": 21 + }, + "end": { + "line": 472, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18241, + "end": 18242, + "loc": { + "start": { + "line": 472, + "column": 22 + }, + "end": { + "line": 472, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18259, + "end": 18260, + "loc": { + "start": { + "line": 473, + "column": 16 + }, + "end": { + "line": 473, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18260, + "end": 18261, + "loc": { + "start": { + "line": 473, + "column": 17 + }, + "end": { + "line": 473, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18261, + "end": 18262, + "loc": { + "start": { + "line": 473, + "column": 18 + }, + "end": { + "line": 473, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18277, + "end": 18278, + "loc": { + "start": { + "line": 474, + "column": 14 + }, + "end": { + "line": 474, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18278, + "end": 18279, + "loc": { + "start": { + "line": 474, + "column": 15 + }, + "end": { + "line": 474, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18279, + "end": 18280, + "loc": { + "start": { + "line": 474, + "column": 16 + }, + "end": { + "line": 474, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 18296, + "end": 18304, + "loc": { + "start": { + "line": 476, + "column": 14 + }, + "end": { + "line": 476, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18304, + "end": 18305, + "loc": { + "start": { + "line": 476, + "column": 22 + }, + "end": { + "line": 476, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchMetadata()", + "start": 18305, + "end": 18323, + "loc": { + "start": { + "line": 476, + "column": 23 + }, + "end": { + "line": 476, + "column": 41 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18323, + "end": 18324, + "loc": { + "start": { + "line": 476, + "column": 41 + }, + "end": { + "line": 476, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18325, + "end": 18326, + "loc": { + "start": { + "line": 476, + "column": 43 + }, + "end": { + "line": 476, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18326, + "end": 18327, + "loc": { + "start": { + "line": 476, + "column": 44 + }, + "end": { + "line": 476, + "column": 45 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18328, + "end": 18330, + "loc": { + "start": { + "line": 476, + "column": 46 + }, + "end": { + "line": 476, + "column": 48 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18331, + "end": 18332, + "loc": { + "start": { + "line": 476, + "column": 49 + }, + "end": { + "line": 476, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 18349, + "end": 18351, + "loc": { + "start": { + "line": 477, + "column": 16 + }, + "end": { + "line": 477, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18351, + "end": 18352, + "loc": { + "start": { + "line": 477, + "column": 18 + }, + "end": { + "line": 477, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should succeed", + "start": 18352, + "end": 18368, + "loc": { + "start": { + "line": 477, + "column": 19 + }, + "end": { + "line": 477, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18368, + "end": 18369, + "loc": { + "start": { + "line": 477, + "column": 35 + }, + "end": { + "line": 477, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18370, + "end": 18371, + "loc": { + "start": { + "line": 477, + "column": 37 + }, + "end": { + "line": 477, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18371, + "end": 18372, + "loc": { + "start": { + "line": 477, + "column": 38 + }, + "end": { + "line": 477, + "column": 39 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18373, + "end": 18375, + "loc": { + "start": { + "line": 477, + "column": 40 + }, + "end": { + "line": 477, + "column": 42 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18376, + "end": 18377, + "loc": { + "start": { + "line": 477, + "column": 43 + }, + "end": { + "line": 477, + "column": 44 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 18396, + "end": 18402, + "loc": { + "start": { + "line": 478, + "column": 18 + }, + "end": { + "line": 478, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "genreStationFetcher", + "start": 18403, + "end": 18422, + "loc": { + "start": { + "line": 478, + "column": 25 + }, + "end": { + "line": 478, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18443, + "end": 18444, + "loc": { + "start": { + "line": 479, + "column": 20 + }, + "end": { + "line": 479, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setGenreStationID", + "start": 18444, + "end": 18461, + "loc": { + "start": { + "line": 479, + "column": 21 + }, + "end": { + "line": 479, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18461, + "end": 18462, + "loc": { + "start": { + "line": 479, + "column": 38 + }, + "end": { + "line": 479, + "column": 39 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "TYq3EHFTl-1EOvJM5Y", + "start": 18462, + "end": 18482, + "loc": { + "start": { + "line": 479, + "column": 39 + }, + "end": { + "line": 479, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18482, + "end": 18483, + "loc": { + "start": { + "line": 479, + "column": 59 + }, + "end": { + "line": 479, + "column": 60 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18504, + "end": 18505, + "loc": { + "start": { + "line": 480, + "column": 20 + }, + "end": { + "line": 480, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchMetadata", + "start": 18505, + "end": 18518, + "loc": { + "start": { + "line": 480, + "column": 21 + }, + "end": { + "line": 480, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18518, + "end": 18519, + "loc": { + "start": { + "line": 480, + "column": 34 + }, + "end": { + "line": 480, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18519, + "end": 18520, + "loc": { + "start": { + "line": 480, + "column": 35 + }, + "end": { + "line": 480, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18541, + "end": 18542, + "loc": { + "start": { + "line": 481, + "column": 20 + }, + "end": { + "line": 481, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 18542, + "end": 18546, + "loc": { + "start": { + "line": 481, + "column": 21 + }, + "end": { + "line": 481, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18546, + "end": 18547, + "loc": { + "start": { + "line": 481, + "column": 25 + }, + "end": { + "line": 481, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 18570, + "end": 18578, + "loc": { + "start": { + "line": 482, + "column": 22 + }, + "end": { + "line": 482, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18579, + "end": 18581, + "loc": { + "start": { + "line": 482, + "column": 31 + }, + "end": { + "line": 482, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 18582, + "end": 18590, + "loc": { + "start": { + "line": 482, + "column": 34 + }, + "end": { + "line": 482, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18590, + "end": 18591, + "loc": { + "start": { + "line": 482, + "column": 42 + }, + "end": { + "line": 482, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 18591, + "end": 18597, + "loc": { + "start": { + "line": 482, + "column": 43 + }, + "end": { + "line": 482, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18597, + "end": 18598, + "loc": { + "start": { + "line": 482, + "column": 49 + }, + "end": { + "line": 482, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 18598, + "end": 18604, + "loc": { + "start": { + "line": 482, + "column": 50 + }, + "end": { + "line": 482, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18604, + "end": 18605, + "loc": { + "start": { + "line": 482, + "column": 56 + }, + "end": { + "line": 482, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 18605, + "end": 18607, + "loc": { + "start": { + "line": 482, + "column": 57 + }, + "end": { + "line": 482, + "column": 59 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18607, + "end": 18608, + "loc": { + "start": { + "line": 482, + "column": 59 + }, + "end": { + "line": 482, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 18608, + "end": 18615, + "loc": { + "start": { + "line": 482, + "column": 60 + }, + "end": { + "line": 482, + "column": 67 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18615, + "end": 18616, + "loc": { + "start": { + "line": 482, + "column": 67 + }, + "end": { + "line": 482, + "column": 68 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 18616, + "end": 18619, + "loc": { + "start": { + "line": 482, + "column": 68 + }, + "end": { + "line": 482, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18619, + "end": 18620, + "loc": { + "start": { + "line": 482, + "column": 71 + }, + "end": { + "line": 482, + "column": 72 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18620, + "end": 18621, + "loc": { + "start": { + "line": 482, + "column": 72 + }, + "end": { + "line": 482, + "column": 73 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 18644, + "end": 18650, + "loc": { + "start": { + "line": 483, + "column": 22 + }, + "end": { + "line": 483, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18651, + "end": 18653, + "loc": { + "start": { + "line": 483, + "column": 29 + }, + "end": { + "line": 483, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 18654, + "end": 18660, + "loc": { + "start": { + "line": 483, + "column": 32 + }, + "end": { + "line": 483, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18660, + "end": 18661, + "loc": { + "start": { + "line": 483, + "column": 38 + }, + "end": { + "line": 483, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 18661, + "end": 18664, + "loc": { + "start": { + "line": 483, + "column": 39 + }, + "end": { + "line": 483, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18664, + "end": 18665, + "loc": { + "start": { + "line": 483, + "column": 42 + }, + "end": { + "line": 483, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exists", + "start": 18665, + "end": 18671, + "loc": { + "start": { + "line": 483, + "column": 43 + }, + "end": { + "line": 483, + "column": 49 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18671, + "end": 18672, + "loc": { + "start": { + "line": 483, + "column": 49 + }, + "end": { + "line": 483, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 18672, + "end": 18678, + "loc": { + "start": { + "line": 483, + "column": 50 + }, + "end": { + "line": 483, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18678, + "end": 18679, + "loc": { + "start": { + "line": 483, + "column": 56 + }, + "end": { + "line": 483, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18700, + "end": 18701, + "loc": { + "start": { + "line": 484, + "column": 20 + }, + "end": { + "line": 484, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18701, + "end": 18702, + "loc": { + "start": { + "line": 484, + "column": 21 + }, + "end": { + "line": 484, + "column": 22 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18719, + "end": 18720, + "loc": { + "start": { + "line": 485, + "column": 16 + }, + "end": { + "line": 485, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18720, + "end": 18721, + "loc": { + "start": { + "line": 485, + "column": 17 + }, + "end": { + "line": 485, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18721, + "end": 18722, + "loc": { + "start": { + "line": 485, + "column": 18 + }, + "end": { + "line": 485, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18737, + "end": 18738, + "loc": { + "start": { + "line": 486, + "column": 14 + }, + "end": { + "line": 486, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18738, + "end": 18739, + "loc": { + "start": { + "line": 486, + "column": 15 + }, + "end": { + "line": 486, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18739, + "end": 18740, + "loc": { + "start": { + "line": 486, + "column": 16 + }, + "end": { + "line": 486, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18753, + "end": 18754, + "loc": { + "start": { + "line": 487, + "column": 12 + }, + "end": { + "line": 487, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18754, + "end": 18755, + "loc": { + "start": { + "line": 487, + "column": 13 + }, + "end": { + "line": 487, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18755, + "end": 18756, + "loc": { + "start": { + "line": 487, + "column": 14 + }, + "end": { + "line": 487, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 18770, + "end": 18778, + "loc": { + "start": { + "line": 489, + "column": 12 + }, + "end": { + "line": 489, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18778, + "end": 18779, + "loc": { + "start": { + "line": 489, + "column": 20 + }, + "end": { + "line": 489, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Chart", + "start": 18779, + "end": 18786, + "loc": { + "start": { + "line": 489, + "column": 21 + }, + "end": { + "line": 489, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18786, + "end": 18787, + "loc": { + "start": { + "line": 489, + "column": 28 + }, + "end": { + "line": 489, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18788, + "end": 18789, + "loc": { + "start": { + "line": 489, + "column": 30 + }, + "end": { + "line": 489, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18789, + "end": 18790, + "loc": { + "start": { + "line": 489, + "column": 31 + }, + "end": { + "line": 489, + "column": 32 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18791, + "end": 18793, + "loc": { + "start": { + "line": 489, + "column": 33 + }, + "end": { + "line": 489, + "column": 35 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18794, + "end": 18795, + "loc": { + "start": { + "line": 489, + "column": 36 + }, + "end": { + "line": 489, + "column": 37 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 18810, + "end": 18815, + "loc": { + "start": { + "line": 490, + "column": 14 + }, + "end": { + "line": 490, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "chartFetcher", + "start": 18816, + "end": 18828, + "loc": { + "start": { + "line": 490, + "column": 20 + }, + "end": { + "line": 490, + "column": 32 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 18829, + "end": 18830, + "loc": { + "start": { + "line": 490, + "column": 33 + }, + "end": { + "line": 490, + "column": 34 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 18831, + "end": 18834, + "loc": { + "start": { + "line": 490, + "column": 35 + }, + "end": { + "line": 490, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ChartFetcher", + "start": 18835, + "end": 18847, + "loc": { + "start": { + "line": 490, + "column": 39 + }, + "end": { + "line": 490, + "column": 51 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18847, + "end": 18848, + "loc": { + "start": { + "line": 490, + "column": 51 + }, + "end": { + "line": 490, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "httpClient", + "start": 18848, + "end": 18858, + "loc": { + "start": { + "line": 490, + "column": 52 + }, + "end": { + "line": 490, + "column": 62 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18858, + "end": 18859, + "loc": { + "start": { + "line": 490, + "column": 62 + }, + "end": { + "line": 490, + "column": 63 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18859, + "end": 18860, + "loc": { + "start": { + "line": 490, + "column": 63 + }, + "end": { + "line": 490, + "column": 64 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 18875, + "end": 18883, + "loc": { + "start": { + "line": 491, + "column": 14 + }, + "end": { + "line": 491, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18883, + "end": 18884, + "loc": { + "start": { + "line": 491, + "column": 22 + }, + "end": { + "line": 491, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchCharts()", + "start": 18884, + "end": 18900, + "loc": { + "start": { + "line": 491, + "column": 23 + }, + "end": { + "line": 491, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18900, + "end": 18901, + "loc": { + "start": { + "line": 491, + "column": 39 + }, + "end": { + "line": 491, + "column": 40 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18902, + "end": 18903, + "loc": { + "start": { + "line": 491, + "column": 41 + }, + "end": { + "line": 491, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18903, + "end": 18904, + "loc": { + "start": { + "line": 491, + "column": 42 + }, + "end": { + "line": 491, + "column": 43 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18905, + "end": 18907, + "loc": { + "start": { + "line": 491, + "column": 44 + }, + "end": { + "line": 491, + "column": 46 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18908, + "end": 18909, + "loc": { + "start": { + "line": 491, + "column": 47 + }, + "end": { + "line": 491, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 18926, + "end": 18928, + "loc": { + "start": { + "line": 492, + "column": 16 + }, + "end": { + "line": 492, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18928, + "end": 18929, + "loc": { + "start": { + "line": 492, + "column": 18 + }, + "end": { + "line": 492, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should succeed and fetch next page should fail", + "start": 18929, + "end": 18977, + "loc": { + "start": { + "line": 492, + "column": 19 + }, + "end": { + "line": 492, + "column": 67 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18977, + "end": 18978, + "loc": { + "start": { + "line": 492, + "column": 67 + }, + "end": { + "line": 492, + "column": 68 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 18979, + "end": 18983, + "loc": { + "start": { + "line": 492, + "column": 69 + }, + "end": { + "line": 492, + "column": 73 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18984, + "end": 18986, + "loc": { + "start": { + "line": 492, + "column": 74 + }, + "end": { + "line": 492, + "column": 76 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18987, + "end": 18988, + "loc": { + "start": { + "line": 492, + "column": 77 + }, + "end": { + "line": 492, + "column": 78 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "chartFetcher", + "start": 19007, + "end": 19019, + "loc": { + "start": { + "line": 493, + "column": 18 + }, + "end": { + "line": 493, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19019, + "end": 19020, + "loc": { + "start": { + "line": 493, + "column": 30 + }, + "end": { + "line": 493, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchCharts", + "start": 19020, + "end": 19031, + "loc": { + "start": { + "line": 493, + "column": 31 + }, + "end": { + "line": 493, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19031, + "end": 19032, + "loc": { + "start": { + "line": 493, + "column": 42 + }, + "end": { + "line": 493, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19032, + "end": 19033, + "loc": { + "start": { + "line": 493, + "column": 43 + }, + "end": { + "line": 493, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19033, + "end": 19034, + "loc": { + "start": { + "line": 493, + "column": 44 + }, + "end": { + "line": 493, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 19034, + "end": 19038, + "loc": { + "start": { + "line": 493, + "column": 45 + }, + "end": { + "line": 493, + "column": 49 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19038, + "end": 19039, + "loc": { + "start": { + "line": 493, + "column": 49 + }, + "end": { + "line": 493, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 19039, + "end": 19047, + "loc": { + "start": { + "line": 493, + "column": 50 + }, + "end": { + "line": 493, + "column": 58 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19048, + "end": 19050, + "loc": { + "start": { + "line": 493, + "column": 59 + }, + "end": { + "line": 493, + "column": 61 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19051, + "end": 19052, + "loc": { + "start": { + "line": 493, + "column": 62 + }, + "end": { + "line": 493, + "column": 63 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 19073, + "end": 19081, + "loc": { + "start": { + "line": 494, + "column": 20 + }, + "end": { + "line": 494, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19081, + "end": 19082, + "loc": { + "start": { + "line": 494, + "column": 28 + }, + "end": { + "line": 494, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 19082, + "end": 19088, + "loc": { + "start": { + "line": 494, + "column": 29 + }, + "end": { + "line": 494, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19088, + "end": 19089, + "loc": { + "start": { + "line": 494, + "column": 35 + }, + "end": { + "line": 494, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 19089, + "end": 19095, + "loc": { + "start": { + "line": 494, + "column": 36 + }, + "end": { + "line": 494, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19095, + "end": 19096, + "loc": { + "start": { + "line": 494, + "column": 42 + }, + "end": { + "line": 494, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 19096, + "end": 19098, + "loc": { + "start": { + "line": 494, + "column": 43 + }, + "end": { + "line": 494, + "column": 45 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19098, + "end": 19099, + "loc": { + "start": { + "line": 494, + "column": 45 + }, + "end": { + "line": 494, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 19099, + "end": 19106, + "loc": { + "start": { + "line": 494, + "column": 46 + }, + "end": { + "line": 494, + "column": 53 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19106, + "end": 19107, + "loc": { + "start": { + "line": 494, + "column": 53 + }, + "end": { + "line": 494, + "column": 54 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 19107, + "end": 19110, + "loc": { + "start": { + "line": 494, + "column": 54 + }, + "end": { + "line": 494, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19110, + "end": 19111, + "loc": { + "start": { + "line": 494, + "column": 57 + }, + "end": { + "line": 494, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19111, + "end": 19112, + "loc": { + "start": { + "line": 494, + "column": 58 + }, + "end": { + "line": 494, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "chartFetcher", + "start": 19133, + "end": 19145, + "loc": { + "start": { + "line": 495, + "column": 20 + }, + "end": { + "line": 495, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19145, + "end": 19146, + "loc": { + "start": { + "line": 495, + "column": 32 + }, + "end": { + "line": 495, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "hasNextPage", + "start": 19146, + "end": 19157, + "loc": { + "start": { + "line": 495, + "column": 33 + }, + "end": { + "line": 495, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19157, + "end": 19158, + "loc": { + "start": { + "line": 495, + "column": 44 + }, + "end": { + "line": 495, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 19158, + "end": 19166, + "loc": { + "start": { + "line": 495, + "column": 45 + }, + "end": { + "line": 495, + "column": 53 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19166, + "end": 19167, + "loc": { + "start": { + "line": 495, + "column": 53 + }, + "end": { + "line": 495, + "column": 54 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19167, + "end": 19168, + "loc": { + "start": { + "line": 495, + "column": 54 + }, + "end": { + "line": 495, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 19168, + "end": 19174, + "loc": { + "start": { + "line": 495, + "column": 55 + }, + "end": { + "line": 495, + "column": 61 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19174, + "end": 19175, + "loc": { + "start": { + "line": 495, + "column": 61 + }, + "end": { + "line": 495, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 19175, + "end": 19177, + "loc": { + "start": { + "line": 495, + "column": 62 + }, + "end": { + "line": 495, + "column": 64 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19177, + "end": 19178, + "loc": { + "start": { + "line": 495, + "column": 64 + }, + "end": { + "line": 495, + "column": 65 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 19178, + "end": 19183, + "loc": { + "start": { + "line": 495, + "column": 65 + }, + "end": { + "line": 495, + "column": 70 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19183, + "end": 19184, + "loc": { + "start": { + "line": 495, + "column": 70 + }, + "end": { + "line": 495, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19184, + "end": 19185, + "loc": { + "start": { + "line": 495, + "column": 71 + }, + "end": { + "line": 495, + "column": 72 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19185, + "end": 19186, + "loc": { + "start": { + "line": 495, + "column": 72 + }, + "end": { + "line": 495, + "column": 73 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "chartFetcher", + "start": 19207, + "end": 19219, + "loc": { + "start": { + "line": 496, + "column": 20 + }, + "end": { + "line": 496, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19219, + "end": 19220, + "loc": { + "start": { + "line": 496, + "column": 32 + }, + "end": { + "line": 496, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchNextPage", + "start": 19220, + "end": 19233, + "loc": { + "start": { + "line": 496, + "column": 33 + }, + "end": { + "line": 496, + "column": 46 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19233, + "end": 19234, + "loc": { + "start": { + "line": 496, + "column": 46 + }, + "end": { + "line": 496, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 19234, + "end": 19242, + "loc": { + "start": { + "line": 496, + "column": 47 + }, + "end": { + "line": 496, + "column": 55 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19242, + "end": 19243, + "loc": { + "start": { + "line": 496, + "column": 55 + }, + "end": { + "line": 496, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19243, + "end": 19244, + "loc": { + "start": { + "line": 496, + "column": 56 + }, + "end": { + "line": 496, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 19244, + "end": 19248, + "loc": { + "start": { + "line": 496, + "column": 57 + }, + "end": { + "line": 496, + "column": 61 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19248, + "end": 19249, + "loc": { + "start": { + "line": 496, + "column": 61 + }, + "end": { + "line": 496, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 19272, + "end": 19280, + "loc": { + "start": { + "line": 497, + "column": 22 + }, + "end": { + "line": 497, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19281, + "end": 19283, + "loc": { + "start": { + "line": 497, + "column": 31 + }, + "end": { + "line": 497, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19284, + "end": 19285, + "loc": { + "start": { + "line": 497, + "column": 34 + }, + "end": { + "line": 497, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 19310, + "end": 19318, + "loc": { + "start": { + "line": 498, + "column": 24 + }, + "end": { + "line": 498, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19318, + "end": 19319, + "loc": { + "start": { + "line": 498, + "column": 32 + }, + "end": { + "line": 498, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 19319, + "end": 19325, + "loc": { + "start": { + "line": 498, + "column": 33 + }, + "end": { + "line": 498, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19325, + "end": 19326, + "loc": { + "start": { + "line": 498, + "column": 39 + }, + "end": { + "line": 498, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 19326, + "end": 19329, + "loc": { + "start": { + "line": 498, + "column": 40 + }, + "end": { + "line": 498, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19329, + "end": 19330, + "loc": { + "start": { + "line": 498, + "column": 43 + }, + "end": { + "line": 498, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exists", + "start": 19330, + "end": 19336, + "loc": { + "start": { + "line": 498, + "column": 44 + }, + "end": { + "line": 498, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19336, + "end": 19337, + "loc": { + "start": { + "line": 498, + "column": 50 + }, + "end": { + "line": 498, + "column": 51 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19337, + "end": 19338, + "loc": { + "start": { + "line": 498, + "column": 51 + }, + "end": { + "line": 498, + "column": 52 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19338, + "end": 19339, + "loc": { + "start": { + "line": 498, + "column": 52 + }, + "end": { + "line": 498, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 19364, + "end": 19368, + "loc": { + "start": { + "line": 499, + "column": 24 + }, + "end": { + "line": 499, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19368, + "end": 19369, + "loc": { + "start": { + "line": 499, + "column": 28 + }, + "end": { + "line": 499, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 19369, + "end": 19377, + "loc": { + "start": { + "line": 499, + "column": 29 + }, + "end": { + "line": 499, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19377, + "end": 19378, + "loc": { + "start": { + "line": 499, + "column": 37 + }, + "end": { + "line": 499, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19378, + "end": 19379, + "loc": { + "start": { + "line": 499, + "column": 38 + }, + "end": { + "line": 499, + "column": 39 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19402, + "end": 19403, + "loc": { + "start": { + "line": 500, + "column": 22 + }, + "end": { + "line": 500, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19403, + "end": 19404, + "loc": { + "start": { + "line": 500, + "column": 23 + }, + "end": { + "line": 500, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 19427, + "end": 19433, + "loc": { + "start": { + "line": 501, + "column": 22 + }, + "end": { + "line": 501, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19434, + "end": 19436, + "loc": { + "start": { + "line": 501, + "column": 29 + }, + "end": { + "line": 501, + "column": 31 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19437, + "end": 19438, + "loc": { + "start": { + "line": 501, + "column": 32 + }, + "end": { + "line": 501, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 19463, + "end": 19467, + "loc": { + "start": { + "line": 502, + "column": 24 + }, + "end": { + "line": 502, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19467, + "end": 19468, + "loc": { + "start": { + "line": 502, + "column": 28 + }, + "end": { + "line": 502, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19468, + "end": 19469, + "loc": { + "start": { + "line": 502, + "column": 29 + }, + "end": { + "line": 502, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19469, + "end": 19470, + "loc": { + "start": { + "line": 502, + "column": 30 + }, + "end": { + "line": 502, + "column": 31 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19493, + "end": 19494, + "loc": { + "start": { + "line": 503, + "column": 22 + }, + "end": { + "line": 503, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19515, + "end": 19516, + "loc": { + "start": { + "line": 504, + "column": 20 + }, + "end": { + "line": 504, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19516, + "end": 19517, + "loc": { + "start": { + "line": 504, + "column": 21 + }, + "end": { + "line": 504, + "column": 22 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19536, + "end": 19537, + "loc": { + "start": { + "line": 505, + "column": 18 + }, + "end": { + "line": 505, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19537, + "end": 19538, + "loc": { + "start": { + "line": 505, + "column": 19 + }, + "end": { + "line": 505, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19538, + "end": 19539, + "loc": { + "start": { + "line": 505, + "column": 20 + }, + "end": { + "line": 505, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19556, + "end": 19557, + "loc": { + "start": { + "line": 506, + "column": 16 + }, + "end": { + "line": 506, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19557, + "end": 19558, + "loc": { + "start": { + "line": 506, + "column": 17 + }, + "end": { + "line": 506, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19558, + "end": 19559, + "loc": { + "start": { + "line": 506, + "column": 18 + }, + "end": { + "line": 506, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19574, + "end": 19575, + "loc": { + "start": { + "line": 507, + "column": 14 + }, + "end": { + "line": 507, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19575, + "end": 19576, + "loc": { + "start": { + "line": 507, + "column": 15 + }, + "end": { + "line": 507, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19576, + "end": 19577, + "loc": { + "start": { + "line": 507, + "column": 16 + }, + "end": { + "line": 507, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 19593, + "end": 19601, + "loc": { + "start": { + "line": 509, + "column": 14 + }, + "end": { + "line": 509, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19601, + "end": 19602, + "loc": { + "start": { + "line": 509, + "column": 22 + }, + "end": { + "line": 509, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchMetadata()", + "start": 19602, + "end": 19620, + "loc": { + "start": { + "line": 509, + "column": 23 + }, + "end": { + "line": 509, + "column": 41 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19620, + "end": 19621, + "loc": { + "start": { + "line": 509, + "column": 41 + }, + "end": { + "line": 509, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19622, + "end": 19623, + "loc": { + "start": { + "line": 509, + "column": 43 + }, + "end": { + "line": 509, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19623, + "end": 19624, + "loc": { + "start": { + "line": 509, + "column": 44 + }, + "end": { + "line": 509, + "column": 45 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19625, + "end": 19627, + "loc": { + "start": { + "line": 509, + "column": 46 + }, + "end": { + "line": 509, + "column": 48 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19628, + "end": 19629, + "loc": { + "start": { + "line": 509, + "column": 49 + }, + "end": { + "line": 509, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 19646, + "end": 19648, + "loc": { + "start": { + "line": 510, + "column": 16 + }, + "end": { + "line": 510, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19648, + "end": 19649, + "loc": { + "start": { + "line": 510, + "column": 18 + }, + "end": { + "line": 510, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should succeed", + "start": 19649, + "end": 19665, + "loc": { + "start": { + "line": 510, + "column": 19 + }, + "end": { + "line": 510, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19665, + "end": 19666, + "loc": { + "start": { + "line": 510, + "column": 35 + }, + "end": { + "line": 510, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 19667, + "end": 19671, + "loc": { + "start": { + "line": 510, + "column": 37 + }, + "end": { + "line": 510, + "column": 41 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19672, + "end": 19674, + "loc": { + "start": { + "line": 510, + "column": 42 + }, + "end": { + "line": 510, + "column": 44 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19675, + "end": 19676, + "loc": { + "start": { + "line": 510, + "column": 45 + }, + "end": { + "line": 510, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "chartFetcher", + "start": 19695, + "end": 19707, + "loc": { + "start": { + "line": 511, + "column": 18 + }, + "end": { + "line": 511, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19728, + "end": 19729, + "loc": { + "start": { + "line": 512, + "column": 20 + }, + "end": { + "line": 512, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setPlaylistID", + "start": 19729, + "end": 19742, + "loc": { + "start": { + "line": 512, + "column": 21 + }, + "end": { + "line": 512, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19742, + "end": 19743, + "loc": { + "start": { + "line": 512, + "column": 34 + }, + "end": { + "line": 512, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "4mJSYXvueA8t0odsny", + "start": 19743, + "end": 19763, + "loc": { + "start": { + "line": 512, + "column": 35 + }, + "end": { + "line": 512, + "column": 55 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19763, + "end": 19764, + "loc": { + "start": { + "line": 512, + "column": 55 + }, + "end": { + "line": 512, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19785, + "end": 19786, + "loc": { + "start": { + "line": 513, + "column": 20 + }, + "end": { + "line": 513, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchMetadata", + "start": 19786, + "end": 19799, + "loc": { + "start": { + "line": 513, + "column": 21 + }, + "end": { + "line": 513, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19799, + "end": 19800, + "loc": { + "start": { + "line": 513, + "column": 34 + }, + "end": { + "line": 513, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19800, + "end": 19801, + "loc": { + "start": { + "line": 513, + "column": 35 + }, + "end": { + "line": 513, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19822, + "end": 19823, + "loc": { + "start": { + "line": 514, + "column": 20 + }, + "end": { + "line": 514, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 19823, + "end": 19827, + "loc": { + "start": { + "line": 514, + "column": 21 + }, + "end": { + "line": 514, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19827, + "end": 19828, + "loc": { + "start": { + "line": 514, + "column": 25 + }, + "end": { + "line": 514, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 19851, + "end": 19859, + "loc": { + "start": { + "line": 515, + "column": 22 + }, + "end": { + "line": 515, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19860, + "end": 19862, + "loc": { + "start": { + "line": 515, + "column": 31 + }, + "end": { + "line": 515, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19863, + "end": 19864, + "loc": { + "start": { + "line": 515, + "column": 34 + }, + "end": { + "line": 515, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 19889, + "end": 19897, + "loc": { + "start": { + "line": 516, + "column": 24 + }, + "end": { + "line": 516, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19897, + "end": 19898, + "loc": { + "start": { + "line": 516, + "column": 32 + }, + "end": { + "line": 516, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 19898, + "end": 19904, + "loc": { + "start": { + "line": 516, + "column": 33 + }, + "end": { + "line": 516, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19904, + "end": 19905, + "loc": { + "start": { + "line": 516, + "column": 39 + }, + "end": { + "line": 516, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 19905, + "end": 19911, + "loc": { + "start": { + "line": 516, + "column": 40 + }, + "end": { + "line": 516, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19911, + "end": 19912, + "loc": { + "start": { + "line": 516, + "column": 46 + }, + "end": { + "line": 516, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 19912, + "end": 19914, + "loc": { + "start": { + "line": 516, + "column": 47 + }, + "end": { + "line": 516, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19914, + "end": 19915, + "loc": { + "start": { + "line": 516, + "column": 49 + }, + "end": { + "line": 516, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 19915, + "end": 19922, + "loc": { + "start": { + "line": 516, + "column": 50 + }, + "end": { + "line": 516, + "column": 57 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19922, + "end": 19923, + "loc": { + "start": { + "line": 516, + "column": 57 + }, + "end": { + "line": 516, + "column": 58 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 19923, + "end": 19926, + "loc": { + "start": { + "line": 516, + "column": 58 + }, + "end": { + "line": 516, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19926, + "end": 19927, + "loc": { + "start": { + "line": 516, + "column": 61 + }, + "end": { + "line": 516, + "column": 62 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19927, + "end": 19928, + "loc": { + "start": { + "line": 516, + "column": 62 + }, + "end": { + "line": 516, + "column": 63 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 19953, + "end": 19957, + "loc": { + "start": { + "line": 517, + "column": 24 + }, + "end": { + "line": 517, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19957, + "end": 19958, + "loc": { + "start": { + "line": 517, + "column": 28 + }, + "end": { + "line": 517, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19958, + "end": 19959, + "loc": { + "start": { + "line": 517, + "column": 29 + }, + "end": { + "line": 517, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19959, + "end": 19960, + "loc": { + "start": { + "line": 517, + "column": 30 + }, + "end": { + "line": 517, + "column": 31 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19983, + "end": 19984, + "loc": { + "start": { + "line": 518, + "column": 22 + }, + "end": { + "line": 518, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19984, + "end": 19985, + "loc": { + "start": { + "line": 518, + "column": 23 + }, + "end": { + "line": 518, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 20008, + "end": 20014, + "loc": { + "start": { + "line": 519, + "column": 22 + }, + "end": { + "line": 519, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20015, + "end": 20017, + "loc": { + "start": { + "line": 519, + "column": 29 + }, + "end": { + "line": 519, + "column": 31 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20018, + "end": 20019, + "loc": { + "start": { + "line": 519, + "column": 32 + }, + "end": { + "line": 519, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 20044, + "end": 20050, + "loc": { + "start": { + "line": 520, + "column": 24 + }, + "end": { + "line": 520, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20050, + "end": 20051, + "loc": { + "start": { + "line": 520, + "column": 30 + }, + "end": { + "line": 520, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 20051, + "end": 20054, + "loc": { + "start": { + "line": 520, + "column": 31 + }, + "end": { + "line": 520, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20054, + "end": 20055, + "loc": { + "start": { + "line": 520, + "column": 34 + }, + "end": { + "line": 520, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exists", + "start": 20055, + "end": 20061, + "loc": { + "start": { + "line": 520, + "column": 35 + }, + "end": { + "line": 520, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20061, + "end": 20062, + "loc": { + "start": { + "line": 520, + "column": 41 + }, + "end": { + "line": 520, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 20062, + "end": 20068, + "loc": { + "start": { + "line": 520, + "column": 42 + }, + "end": { + "line": 520, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20068, + "end": 20069, + "loc": { + "start": { + "line": 520, + "column": 48 + }, + "end": { + "line": 520, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20069, + "end": 20070, + "loc": { + "start": { + "line": 520, + "column": 49 + }, + "end": { + "line": 520, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 20095, + "end": 20099, + "loc": { + "start": { + "line": 521, + "column": 24 + }, + "end": { + "line": 521, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20099, + "end": 20100, + "loc": { + "start": { + "line": 521, + "column": 28 + }, + "end": { + "line": 521, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20100, + "end": 20101, + "loc": { + "start": { + "line": 521, + "column": 29 + }, + "end": { + "line": 521, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20101, + "end": 20102, + "loc": { + "start": { + "line": 521, + "column": 30 + }, + "end": { + "line": 521, + "column": 31 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20125, + "end": 20126, + "loc": { + "start": { + "line": 522, + "column": 22 + }, + "end": { + "line": 522, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20147, + "end": 20148, + "loc": { + "start": { + "line": 523, + "column": 20 + }, + "end": { + "line": 523, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20148, + "end": 20149, + "loc": { + "start": { + "line": 523, + "column": 21 + }, + "end": { + "line": 523, + "column": 22 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20166, + "end": 20167, + "loc": { + "start": { + "line": 524, + "column": 16 + }, + "end": { + "line": 524, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20167, + "end": 20168, + "loc": { + "start": { + "line": 524, + "column": 17 + }, + "end": { + "line": 524, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20168, + "end": 20169, + "loc": { + "start": { + "line": 524, + "column": 18 + }, + "end": { + "line": 524, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20184, + "end": 20185, + "loc": { + "start": { + "line": 525, + "column": 14 + }, + "end": { + "line": 525, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20185, + "end": 20186, + "loc": { + "start": { + "line": 525, + "column": 15 + }, + "end": { + "line": 525, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20186, + "end": 20187, + "loc": { + "start": { + "line": 525, + "column": 16 + }, + "end": { + "line": 525, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 20203, + "end": 20211, + "loc": { + "start": { + "line": 527, + "column": 14 + }, + "end": { + "line": 527, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20211, + "end": 20212, + "loc": { + "start": { + "line": 527, + "column": 22 + }, + "end": { + "line": 527, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchTracks()", + "start": 20212, + "end": 20228, + "loc": { + "start": { + "line": 527, + "column": 23 + }, + "end": { + "line": 527, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20228, + "end": 20229, + "loc": { + "start": { + "line": 527, + "column": 39 + }, + "end": { + "line": 527, + "column": 40 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20230, + "end": 20231, + "loc": { + "start": { + "line": 527, + "column": 41 + }, + "end": { + "line": 527, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20231, + "end": 20232, + "loc": { + "start": { + "line": 527, + "column": 42 + }, + "end": { + "line": 527, + "column": 43 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20233, + "end": 20235, + "loc": { + "start": { + "line": 527, + "column": 44 + }, + "end": { + "line": 527, + "column": 46 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20236, + "end": 20237, + "loc": { + "start": { + "line": 527, + "column": 47 + }, + "end": { + "line": 527, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 20254, + "end": 20256, + "loc": { + "start": { + "line": 528, + "column": 16 + }, + "end": { + "line": 528, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20256, + "end": 20257, + "loc": { + "start": { + "line": 528, + "column": 18 + }, + "end": { + "line": 528, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should succeed", + "start": 20257, + "end": 20273, + "loc": { + "start": { + "line": 528, + "column": 19 + }, + "end": { + "line": 528, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20273, + "end": 20274, + "loc": { + "start": { + "line": 528, + "column": 35 + }, + "end": { + "line": 528, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 20275, + "end": 20279, + "loc": { + "start": { + "line": 528, + "column": 37 + }, + "end": { + "line": 528, + "column": 41 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20280, + "end": 20282, + "loc": { + "start": { + "line": 528, + "column": 42 + }, + "end": { + "line": 528, + "column": 44 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20283, + "end": 20284, + "loc": { + "start": { + "line": 528, + "column": 45 + }, + "end": { + "line": 528, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "chartFetcher", + "start": 20303, + "end": 20315, + "loc": { + "start": { + "line": 529, + "column": 18 + }, + "end": { + "line": 529, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20336, + "end": 20337, + "loc": { + "start": { + "line": 530, + "column": 20 + }, + "end": { + "line": 530, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setPlaylistID", + "start": 20337, + "end": 20350, + "loc": { + "start": { + "line": 530, + "column": 21 + }, + "end": { + "line": 530, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20350, + "end": 20351, + "loc": { + "start": { + "line": 530, + "column": 34 + }, + "end": { + "line": 530, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "4mJSYXvueA8t0odsny", + "start": 20351, + "end": 20371, + "loc": { + "start": { + "line": 530, + "column": 35 + }, + "end": { + "line": 530, + "column": 55 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20371, + "end": 20372, + "loc": { + "start": { + "line": 530, + "column": 55 + }, + "end": { + "line": 530, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20393, + "end": 20394, + "loc": { + "start": { + "line": 531, + "column": 20 + }, + "end": { + "line": 531, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchTracks", + "start": 20394, + "end": 20405, + "loc": { + "start": { + "line": 531, + "column": 21 + }, + "end": { + "line": 531, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20405, + "end": 20406, + "loc": { + "start": { + "line": 531, + "column": 32 + }, + "end": { + "line": 531, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20406, + "end": 20407, + "loc": { + "start": { + "line": 531, + "column": 33 + }, + "end": { + "line": 531, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20428, + "end": 20429, + "loc": { + "start": { + "line": 532, + "column": 20 + }, + "end": { + "line": 532, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 20429, + "end": 20433, + "loc": { + "start": { + "line": 532, + "column": 21 + }, + "end": { + "line": 532, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20433, + "end": 20434, + "loc": { + "start": { + "line": 532, + "column": 25 + }, + "end": { + "line": 532, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 20457, + "end": 20465, + "loc": { + "start": { + "line": 533, + "column": 22 + }, + "end": { + "line": 533, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20466, + "end": 20468, + "loc": { + "start": { + "line": 533, + "column": 31 + }, + "end": { + "line": 533, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20469, + "end": 20470, + "loc": { + "start": { + "line": 533, + "column": 34 + }, + "end": { + "line": 533, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 20495, + "end": 20503, + "loc": { + "start": { + "line": 534, + "column": 24 + }, + "end": { + "line": 534, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20503, + "end": 20504, + "loc": { + "start": { + "line": 534, + "column": 32 + }, + "end": { + "line": 534, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 20504, + "end": 20510, + "loc": { + "start": { + "line": 534, + "column": 33 + }, + "end": { + "line": 534, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20510, + "end": 20511, + "loc": { + "start": { + "line": 534, + "column": 39 + }, + "end": { + "line": 534, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 20511, + "end": 20517, + "loc": { + "start": { + "line": 534, + "column": 40 + }, + "end": { + "line": 534, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20517, + "end": 20518, + "loc": { + "start": { + "line": 534, + "column": 46 + }, + "end": { + "line": 534, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 20518, + "end": 20520, + "loc": { + "start": { + "line": 534, + "column": 47 + }, + "end": { + "line": 534, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20520, + "end": 20521, + "loc": { + "start": { + "line": 534, + "column": 49 + }, + "end": { + "line": 534, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 20521, + "end": 20528, + "loc": { + "start": { + "line": 534, + "column": 50 + }, + "end": { + "line": 534, + "column": 57 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20528, + "end": 20529, + "loc": { + "start": { + "line": 534, + "column": 57 + }, + "end": { + "line": 534, + "column": 58 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 20529, + "end": 20532, + "loc": { + "start": { + "line": 534, + "column": 58 + }, + "end": { + "line": 534, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20532, + "end": 20533, + "loc": { + "start": { + "line": 534, + "column": 61 + }, + "end": { + "line": 534, + "column": 62 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20533, + "end": 20534, + "loc": { + "start": { + "line": 534, + "column": 62 + }, + "end": { + "line": 534, + "column": 63 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 20559, + "end": 20563, + "loc": { + "start": { + "line": 535, + "column": 24 + }, + "end": { + "line": 535, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20563, + "end": 20564, + "loc": { + "start": { + "line": 535, + "column": 28 + }, + "end": { + "line": 535, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20564, + "end": 20565, + "loc": { + "start": { + "line": 535, + "column": 29 + }, + "end": { + "line": 535, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20565, + "end": 20566, + "loc": { + "start": { + "line": 535, + "column": 30 + }, + "end": { + "line": 535, + "column": 31 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20589, + "end": 20590, + "loc": { + "start": { + "line": 536, + "column": 22 + }, + "end": { + "line": 536, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20590, + "end": 20591, + "loc": { + "start": { + "line": 536, + "column": 23 + }, + "end": { + "line": 536, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 20614, + "end": 20620, + "loc": { + "start": { + "line": 537, + "column": 22 + }, + "end": { + "line": 537, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20621, + "end": 20623, + "loc": { + "start": { + "line": 537, + "column": 29 + }, + "end": { + "line": 537, + "column": 31 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20624, + "end": 20625, + "loc": { + "start": { + "line": 537, + "column": 32 + }, + "end": { + "line": 537, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 20650, + "end": 20656, + "loc": { + "start": { + "line": 538, + "column": 24 + }, + "end": { + "line": 538, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20656, + "end": 20657, + "loc": { + "start": { + "line": 538, + "column": 30 + }, + "end": { + "line": 538, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 20657, + "end": 20660, + "loc": { + "start": { + "line": 538, + "column": 31 + }, + "end": { + "line": 538, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20660, + "end": 20661, + "loc": { + "start": { + "line": 538, + "column": 34 + }, + "end": { + "line": 538, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exists", + "start": 20661, + "end": 20667, + "loc": { + "start": { + "line": 538, + "column": 35 + }, + "end": { + "line": 538, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20667, + "end": 20668, + "loc": { + "start": { + "line": 538, + "column": 41 + }, + "end": { + "line": 538, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 20668, + "end": 20674, + "loc": { + "start": { + "line": 538, + "column": 42 + }, + "end": { + "line": 538, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20674, + "end": 20675, + "loc": { + "start": { + "line": 538, + "column": 48 + }, + "end": { + "line": 538, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20675, + "end": 20676, + "loc": { + "start": { + "line": 538, + "column": 49 + }, + "end": { + "line": 538, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 20701, + "end": 20705, + "loc": { + "start": { + "line": 539, + "column": 24 + }, + "end": { + "line": 539, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20705, + "end": 20706, + "loc": { + "start": { + "line": 539, + "column": 28 + }, + "end": { + "line": 539, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20706, + "end": 20707, + "loc": { + "start": { + "line": 539, + "column": 29 + }, + "end": { + "line": 539, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20707, + "end": 20708, + "loc": { + "start": { + "line": 539, + "column": 30 + }, + "end": { + "line": 539, + "column": 31 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20731, + "end": 20732, + "loc": { + "start": { + "line": 540, + "column": 22 + }, + "end": { + "line": 540, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20753, + "end": 20754, + "loc": { + "start": { + "line": 541, + "column": 20 + }, + "end": { + "line": 541, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20754, + "end": 20755, + "loc": { + "start": { + "line": 541, + "column": 21 + }, + "end": { + "line": 541, + "column": 22 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20772, + "end": 20773, + "loc": { + "start": { + "line": 542, + "column": 16 + }, + "end": { + "line": 542, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20773, + "end": 20774, + "loc": { + "start": { + "line": 542, + "column": 17 + }, + "end": { + "line": 542, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20774, + "end": 20775, + "loc": { + "start": { + "line": 542, + "column": 18 + }, + "end": { + "line": 542, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20790, + "end": 20791, + "loc": { + "start": { + "line": 543, + "column": 14 + }, + "end": { + "line": 543, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20791, + "end": 20792, + "loc": { + "start": { + "line": 543, + "column": 15 + }, + "end": { + "line": 543, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20792, + "end": 20793, + "loc": { + "start": { + "line": 543, + "column": 16 + }, + "end": { + "line": 543, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20806, + "end": 20807, + "loc": { + "start": { + "line": 544, + "column": 12 + }, + "end": { + "line": 544, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20807, + "end": 20808, + "loc": { + "start": { + "line": 544, + "column": 13 + }, + "end": { + "line": 544, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20808, + "end": 20809, + "loc": { + "start": { + "line": 544, + "column": 14 + }, + "end": { + "line": 544, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 20823, + "end": 20831, + "loc": { + "start": { + "line": 546, + "column": 12 + }, + "end": { + "line": 546, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20831, + "end": 20832, + "loc": { + "start": { + "line": 546, + "column": 20 + }, + "end": { + "line": 546, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "New Release Category", + "start": 20832, + "end": 20854, + "loc": { + "start": { + "line": 546, + "column": 21 + }, + "end": { + "line": 546, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20854, + "end": 20855, + "loc": { + "start": { + "line": 546, + "column": 43 + }, + "end": { + "line": 546, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20856, + "end": 20857, + "loc": { + "start": { + "line": 546, + "column": 45 + }, + "end": { + "line": 546, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20857, + "end": 20858, + "loc": { + "start": { + "line": 546, + "column": 46 + }, + "end": { + "line": 546, + "column": 47 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20859, + "end": 20861, + "loc": { + "start": { + "line": 546, + "column": 48 + }, + "end": { + "line": 546, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20862, + "end": 20863, + "loc": { + "start": { + "line": 546, + "column": 51 + }, + "end": { + "line": 546, + "column": 52 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 20878, + "end": 20883, + "loc": { + "start": { + "line": 547, + "column": 14 + }, + "end": { + "line": 547, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newReleaseCategoryFetcher", + "start": 20884, + "end": 20909, + "loc": { + "start": { + "line": 547, + "column": 20 + }, + "end": { + "line": 547, + "column": 45 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 20910, + "end": 20911, + "loc": { + "start": { + "line": 547, + "column": 46 + }, + "end": { + "line": 547, + "column": 47 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 20912, + "end": 20915, + "loc": { + "start": { + "line": 547, + "column": 48 + }, + "end": { + "line": 547, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "NewReleaseCategoryFetcher", + "start": 20916, + "end": 20941, + "loc": { + "start": { + "line": 547, + "column": 52 + }, + "end": { + "line": 547, + "column": 77 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20941, + "end": 20942, + "loc": { + "start": { + "line": 547, + "column": 77 + }, + "end": { + "line": 547, + "column": 78 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "httpClient", + "start": 20959, + "end": 20969, + "loc": { + "start": { + "line": 548, + "column": 16 + }, + "end": { + "line": 548, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20984, + "end": 20985, + "loc": { + "start": { + "line": 549, + "column": 14 + }, + "end": { + "line": 549, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20985, + "end": 20986, + "loc": { + "start": { + "line": 549, + "column": 15 + }, + "end": { + "line": 549, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 21001, + "end": 21009, + "loc": { + "start": { + "line": 550, + "column": 14 + }, + "end": { + "line": 550, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21009, + "end": 21010, + "loc": { + "start": { + "line": 550, + "column": 22 + }, + "end": { + "line": 550, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchAll()", + "start": 21010, + "end": 21023, + "loc": { + "start": { + "line": 550, + "column": 23 + }, + "end": { + "line": 550, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21023, + "end": 21024, + "loc": { + "start": { + "line": 550, + "column": 36 + }, + "end": { + "line": 550, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21025, + "end": 21026, + "loc": { + "start": { + "line": 550, + "column": 38 + }, + "end": { + "line": 550, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21026, + "end": 21027, + "loc": { + "start": { + "line": 550, + "column": 39 + }, + "end": { + "line": 550, + "column": 40 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21028, + "end": 21030, + "loc": { + "start": { + "line": 550, + "column": 41 + }, + "end": { + "line": 550, + "column": 43 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21031, + "end": 21032, + "loc": { + "start": { + "line": 550, + "column": 44 + }, + "end": { + "line": 550, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 21049, + "end": 21051, + "loc": { + "start": { + "line": 551, + "column": 16 + }, + "end": { + "line": 551, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21051, + "end": 21052, + "loc": { + "start": { + "line": 551, + "column": 18 + }, + "end": { + "line": 551, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should succeed and fetch next page should succeed", + "start": 21052, + "end": 21103, + "loc": { + "start": { + "line": 551, + "column": 19 + }, + "end": { + "line": 551, + "column": 70 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21103, + "end": 21104, + "loc": { + "start": { + "line": 551, + "column": 70 + }, + "end": { + "line": 551, + "column": 71 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 21105, + "end": 21109, + "loc": { + "start": { + "line": 551, + "column": 72 + }, + "end": { + "line": 551, + "column": 76 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21110, + "end": 21112, + "loc": { + "start": { + "line": 551, + "column": 77 + }, + "end": { + "line": 551, + "column": 79 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21113, + "end": 21114, + "loc": { + "start": { + "line": 551, + "column": 80 + }, + "end": { + "line": 551, + "column": 81 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newReleaseCategoryFetcher", + "start": 21133, + "end": 21158, + "loc": { + "start": { + "line": 552, + "column": 18 + }, + "end": { + "line": 552, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21179, + "end": 21180, + "loc": { + "start": { + "line": 553, + "column": 20 + }, + "end": { + "line": 553, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchAllNewReleaseCategories", + "start": 21180, + "end": 21208, + "loc": { + "start": { + "line": 553, + "column": 21 + }, + "end": { + "line": 553, + "column": 49 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21208, + "end": 21209, + "loc": { + "start": { + "line": 553, + "column": 49 + }, + "end": { + "line": 553, + "column": 50 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 21209, + "end": 21210, + "loc": { + "start": { + "line": 553, + "column": 50 + }, + "end": { + "line": 553, + "column": 51 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21210, + "end": 21211, + "loc": { + "start": { + "line": 553, + "column": 51 + }, + "end": { + "line": 553, + "column": 52 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21232, + "end": 21233, + "loc": { + "start": { + "line": 554, + "column": 20 + }, + "end": { + "line": 554, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 21233, + "end": 21237, + "loc": { + "start": { + "line": 554, + "column": 21 + }, + "end": { + "line": 554, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21237, + "end": 21238, + "loc": { + "start": { + "line": 554, + "column": 25 + }, + "end": { + "line": 554, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 21261, + "end": 21269, + "loc": { + "start": { + "line": 555, + "column": 22 + }, + "end": { + "line": 555, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21270, + "end": 21272, + "loc": { + "start": { + "line": 555, + "column": 31 + }, + "end": { + "line": 555, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21273, + "end": 21274, + "loc": { + "start": { + "line": 555, + "column": 34 + }, + "end": { + "line": 555, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 21299, + "end": 21307, + "loc": { + "start": { + "line": 556, + "column": 24 + }, + "end": { + "line": 556, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21307, + "end": 21308, + "loc": { + "start": { + "line": 556, + "column": 32 + }, + "end": { + "line": 556, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 21308, + "end": 21314, + "loc": { + "start": { + "line": 556, + "column": 33 + }, + "end": { + "line": 556, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21314, + "end": 21315, + "loc": { + "start": { + "line": 556, + "column": 39 + }, + "end": { + "line": 556, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 21315, + "end": 21321, + "loc": { + "start": { + "line": 556, + "column": 40 + }, + "end": { + "line": 556, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21321, + "end": 21322, + "loc": { + "start": { + "line": 556, + "column": 46 + }, + "end": { + "line": 556, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 21322, + "end": 21324, + "loc": { + "start": { + "line": 556, + "column": 47 + }, + "end": { + "line": 556, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21324, + "end": 21325, + "loc": { + "start": { + "line": 556, + "column": 49 + }, + "end": { + "line": 556, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 21325, + "end": 21332, + "loc": { + "start": { + "line": 556, + "column": 50 + }, + "end": { + "line": 556, + "column": 57 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21332, + "end": 21333, + "loc": { + "start": { + "line": 556, + "column": 57 + }, + "end": { + "line": 556, + "column": 58 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 21333, + "end": 21336, + "loc": { + "start": { + "line": 556, + "column": 58 + }, + "end": { + "line": 556, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21336, + "end": 21337, + "loc": { + "start": { + "line": 556, + "column": 61 + }, + "end": { + "line": 556, + "column": 62 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21337, + "end": 21338, + "loc": { + "start": { + "line": 556, + "column": 62 + }, + "end": { + "line": 556, + "column": 63 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newReleaseCategoryFetcher", + "start": 21363, + "end": 21388, + "loc": { + "start": { + "line": 557, + "column": 24 + }, + "end": { + "line": 557, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21415, + "end": 21416, + "loc": { + "start": { + "line": 558, + "column": 26 + }, + "end": { + "line": 558, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "hasNextPage", + "start": 21416, + "end": 21427, + "loc": { + "start": { + "line": 558, + "column": 27 + }, + "end": { + "line": 558, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21427, + "end": 21428, + "loc": { + "start": { + "line": 558, + "column": 38 + }, + "end": { + "line": 558, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 21428, + "end": 21436, + "loc": { + "start": { + "line": 558, + "column": 39 + }, + "end": { + "line": 558, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21436, + "end": 21437, + "loc": { + "start": { + "line": 558, + "column": 47 + }, + "end": { + "line": 558, + "column": 48 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21464, + "end": 21465, + "loc": { + "start": { + "line": 559, + "column": 26 + }, + "end": { + "line": 559, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 21465, + "end": 21471, + "loc": { + "start": { + "line": 559, + "column": 27 + }, + "end": { + "line": 559, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21471, + "end": 21472, + "loc": { + "start": { + "line": 559, + "column": 33 + }, + "end": { + "line": 559, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 21472, + "end": 21474, + "loc": { + "start": { + "line": 559, + "column": 34 + }, + "end": { + "line": 559, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21474, + "end": 21475, + "loc": { + "start": { + "line": 559, + "column": 36 + }, + "end": { + "line": 559, + "column": 37 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 21475, + "end": 21479, + "loc": { + "start": { + "line": 559, + "column": 37 + }, + "end": { + "line": 559, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21479, + "end": 21480, + "loc": { + "start": { + "line": 559, + "column": 41 + }, + "end": { + "line": 559, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21480, + "end": 21481, + "loc": { + "start": { + "line": 559, + "column": 42 + }, + "end": { + "line": 559, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21481, + "end": 21482, + "loc": { + "start": { + "line": 559, + "column": 43 + }, + "end": { + "line": 559, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newReleaseCategoryFetcher", + "start": 21507, + "end": 21532, + "loc": { + "start": { + "line": 560, + "column": 24 + }, + "end": { + "line": 560, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21532, + "end": 21533, + "loc": { + "start": { + "line": 560, + "column": 49 + }, + "end": { + "line": 560, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchNextPage", + "start": 21533, + "end": 21546, + "loc": { + "start": { + "line": 560, + "column": 50 + }, + "end": { + "line": 560, + "column": 63 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21546, + "end": 21547, + "loc": { + "start": { + "line": 560, + "column": 63 + }, + "end": { + "line": 560, + "column": 64 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 21547, + "end": 21555, + "loc": { + "start": { + "line": 560, + "column": 64 + }, + "end": { + "line": 560, + "column": 72 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21555, + "end": 21556, + "loc": { + "start": { + "line": 560, + "column": 72 + }, + "end": { + "line": 560, + "column": 73 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21556, + "end": 21557, + "loc": { + "start": { + "line": 560, + "column": 73 + }, + "end": { + "line": 560, + "column": 74 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 21557, + "end": 21561, + "loc": { + "start": { + "line": 560, + "column": 74 + }, + "end": { + "line": 560, + "column": 78 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21561, + "end": 21562, + "loc": { + "start": { + "line": 560, + "column": 78 + }, + "end": { + "line": 560, + "column": 79 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 21589, + "end": 21597, + "loc": { + "start": { + "line": 561, + "column": 26 + }, + "end": { + "line": 561, + "column": 34 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21598, + "end": 21600, + "loc": { + "start": { + "line": 561, + "column": 35 + }, + "end": { + "line": 561, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21601, + "end": 21602, + "loc": { + "start": { + "line": 561, + "column": 38 + }, + "end": { + "line": 561, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 21631, + "end": 21639, + "loc": { + "start": { + "line": 562, + "column": 28 + }, + "end": { + "line": 562, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21639, + "end": 21640, + "loc": { + "start": { + "line": 562, + "column": 36 + }, + "end": { + "line": 562, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 21640, + "end": 21646, + "loc": { + "start": { + "line": 562, + "column": 37 + }, + "end": { + "line": 562, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21646, + "end": 21647, + "loc": { + "start": { + "line": 562, + "column": 43 + }, + "end": { + "line": 562, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 21647, + "end": 21653, + "loc": { + "start": { + "line": 562, + "column": 44 + }, + "end": { + "line": 562, + "column": 50 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21653, + "end": 21654, + "loc": { + "start": { + "line": 562, + "column": 50 + }, + "end": { + "line": 562, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 21654, + "end": 21656, + "loc": { + "start": { + "line": 562, + "column": 51 + }, + "end": { + "line": 562, + "column": 53 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21656, + "end": 21657, + "loc": { + "start": { + "line": 562, + "column": 53 + }, + "end": { + "line": 562, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ok", + "start": 21657, + "end": 21659, + "loc": { + "start": { + "line": 562, + "column": 54 + }, + "end": { + "line": 562, + "column": 56 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21659, + "end": 21660, + "loc": { + "start": { + "line": 562, + "column": 56 + }, + "end": { + "line": 562, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21660, + "end": 21661, + "loc": { + "start": { + "line": 562, + "column": 57 + }, + "end": { + "line": 562, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21661, + "end": 21662, + "loc": { + "start": { + "line": 562, + "column": 58 + }, + "end": { + "line": 562, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 21691, + "end": 21695, + "loc": { + "start": { + "line": 563, + "column": 28 + }, + "end": { + "line": 563, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21695, + "end": 21696, + "loc": { + "start": { + "line": 563, + "column": 32 + }, + "end": { + "line": 563, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21696, + "end": 21697, + "loc": { + "start": { + "line": 563, + "column": 33 + }, + "end": { + "line": 563, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21697, + "end": 21698, + "loc": { + "start": { + "line": 563, + "column": 34 + }, + "end": { + "line": 563, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21725, + "end": 21726, + "loc": { + "start": { + "line": 564, + "column": 26 + }, + "end": { + "line": 564, + "column": 27 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21726, + "end": 21727, + "loc": { + "start": { + "line": 564, + "column": 27 + }, + "end": { + "line": 564, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 21754, + "end": 21760, + "loc": { + "start": { + "line": 565, + "column": 26 + }, + "end": { + "line": 565, + "column": 32 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21761, + "end": 21763, + "loc": { + "start": { + "line": 565, + "column": 33 + }, + "end": { + "line": 565, + "column": 35 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21764, + "end": 21765, + "loc": { + "start": { + "line": 565, + "column": 36 + }, + "end": { + "line": 565, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 21794, + "end": 21798, + "loc": { + "start": { + "line": 566, + "column": 28 + }, + "end": { + "line": 566, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21798, + "end": 21799, + "loc": { + "start": { + "line": 566, + "column": 32 + }, + "end": { + "line": 566, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 21799, + "end": 21805, + "loc": { + "start": { + "line": 566, + "column": 33 + }, + "end": { + "line": 566, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21805, + "end": 21806, + "loc": { + "start": { + "line": 566, + "column": 39 + }, + "end": { + "line": 566, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21806, + "end": 21807, + "loc": { + "start": { + "line": 566, + "column": 40 + }, + "end": { + "line": 566, + "column": 41 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21834, + "end": 21835, + "loc": { + "start": { + "line": 567, + "column": 26 + }, + "end": { + "line": 567, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21860, + "end": 21861, + "loc": { + "start": { + "line": 568, + "column": 24 + }, + "end": { + "line": 568, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21861, + "end": 21862, + "loc": { + "start": { + "line": 568, + "column": 25 + }, + "end": { + "line": 568, + "column": 26 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21885, + "end": 21886, + "loc": { + "start": { + "line": 569, + "column": 22 + }, + "end": { + "line": 569, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21886, + "end": 21887, + "loc": { + "start": { + "line": 569, + "column": 23 + }, + "end": { + "line": 569, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 21910, + "end": 21916, + "loc": { + "start": { + "line": 570, + "column": 22 + }, + "end": { + "line": 570, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21917, + "end": 21919, + "loc": { + "start": { + "line": 570, + "column": 29 + }, + "end": { + "line": 570, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 21920, + "end": 21926, + "loc": { + "start": { + "line": 570, + "column": 32 + }, + "end": { + "line": 570, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21926, + "end": 21927, + "loc": { + "start": { + "line": 570, + "column": 38 + }, + "end": { + "line": 570, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 21927, + "end": 21930, + "loc": { + "start": { + "line": 570, + "column": 39 + }, + "end": { + "line": 570, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21930, + "end": 21931, + "loc": { + "start": { + "line": 570, + "column": 42 + }, + "end": { + "line": 570, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exists", + "start": 21931, + "end": 21937, + "loc": { + "start": { + "line": 570, + "column": 43 + }, + "end": { + "line": 570, + "column": 49 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21937, + "end": 21938, + "loc": { + "start": { + "line": 570, + "column": 49 + }, + "end": { + "line": 570, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 21938, + "end": 21944, + "loc": { + "start": { + "line": 570, + "column": 50 + }, + "end": { + "line": 570, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21944, + "end": 21945, + "loc": { + "start": { + "line": 570, + "column": 56 + }, + "end": { + "line": 570, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21966, + "end": 21967, + "loc": { + "start": { + "line": 571, + "column": 20 + }, + "end": { + "line": 571, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21967, + "end": 21968, + "loc": { + "start": { + "line": 571, + "column": 21 + }, + "end": { + "line": 571, + "column": 22 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21985, + "end": 21986, + "loc": { + "start": { + "line": 572, + "column": 16 + }, + "end": { + "line": 572, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21986, + "end": 21987, + "loc": { + "start": { + "line": 572, + "column": 17 + }, + "end": { + "line": 572, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21987, + "end": 21988, + "loc": { + "start": { + "line": 572, + "column": 18 + }, + "end": { + "line": 572, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22003, + "end": 22004, + "loc": { + "start": { + "line": 573, + "column": 14 + }, + "end": { + "line": 573, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22004, + "end": 22005, + "loc": { + "start": { + "line": 573, + "column": 15 + }, + "end": { + "line": 573, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22005, + "end": 22006, + "loc": { + "start": { + "line": 573, + "column": 16 + }, + "end": { + "line": 573, + "column": 17 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 22022, + "end": 22027, + "loc": { + "start": { + "line": 575, + "column": 14 + }, + "end": { + "line": 575, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "f", + "start": 22028, + "end": 22029, + "loc": { + "start": { + "line": 575, + "column": 20 + }, + "end": { + "line": 575, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 22030, + "end": 22031, + "loc": { + "start": { + "line": 575, + "column": 22 + }, + "end": { + "line": 575, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newReleaseCategoryFetcher", + "start": 22032, + "end": 22057, + "loc": { + "start": { + "line": 575, + "column": 24 + }, + "end": { + "line": 575, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22057, + "end": 22058, + "loc": { + "start": { + "line": 575, + "column": 49 + }, + "end": { + "line": 575, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setCategoryID", + "start": 22058, + "end": 22071, + "loc": { + "start": { + "line": 575, + "column": 50 + }, + "end": { + "line": 575, + "column": 63 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22071, + "end": 22072, + "loc": { + "start": { + "line": 575, + "column": 63 + }, + "end": { + "line": 575, + "column": 64 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Cng5IUIQhxb8w1cbsz", + "start": 22089, + "end": 22109, + "loc": { + "start": { + "line": 576, + "column": 16 + }, + "end": { + "line": 576, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22124, + "end": 22125, + "loc": { + "start": { + "line": 577, + "column": 14 + }, + "end": { + "line": 577, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22125, + "end": 22126, + "loc": { + "start": { + "line": 577, + "column": 15 + }, + "end": { + "line": 577, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 22141, + "end": 22149, + "loc": { + "start": { + "line": 578, + "column": 14 + }, + "end": { + "line": 578, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22149, + "end": 22150, + "loc": { + "start": { + "line": 578, + "column": 22 + }, + "end": { + "line": 578, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchMetadata()", + "start": 22150, + "end": 22168, + "loc": { + "start": { + "line": 578, + "column": 23 + }, + "end": { + "line": 578, + "column": 41 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22168, + "end": 22169, + "loc": { + "start": { + "line": 578, + "column": 41 + }, + "end": { + "line": 578, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22170, + "end": 22171, + "loc": { + "start": { + "line": 578, + "column": 43 + }, + "end": { + "line": 578, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22171, + "end": 22172, + "loc": { + "start": { + "line": 578, + "column": 44 + }, + "end": { + "line": 578, + "column": 45 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22173, + "end": 22175, + "loc": { + "start": { + "line": 578, + "column": 46 + }, + "end": { + "line": 578, + "column": 48 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22176, + "end": 22177, + "loc": { + "start": { + "line": 578, + "column": 49 + }, + "end": { + "line": 578, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 22194, + "end": 22196, + "loc": { + "start": { + "line": 579, + "column": 16 + }, + "end": { + "line": 579, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22196, + "end": 22197, + "loc": { + "start": { + "line": 579, + "column": 18 + }, + "end": { + "line": 579, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200", + "start": 22197, + "end": 22225, + "loc": { + "start": { + "line": 579, + "column": 19 + }, + "end": { + "line": 579, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22225, + "end": 22226, + "loc": { + "start": { + "line": 579, + "column": 47 + }, + "end": { + "line": 579, + "column": 48 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22227, + "end": 22228, + "loc": { + "start": { + "line": 579, + "column": 49 + }, + "end": { + "line": 579, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22228, + "end": 22229, + "loc": { + "start": { + "line": 579, + "column": 50 + }, + "end": { + "line": 579, + "column": 51 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22230, + "end": 22232, + "loc": { + "start": { + "line": 579, + "column": 52 + }, + "end": { + "line": 579, + "column": 54 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22233, + "end": 22234, + "loc": { + "start": { + "line": 579, + "column": 55 + }, + "end": { + "line": 579, + "column": 56 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 22253, + "end": 22259, + "loc": { + "start": { + "line": 580, + "column": 18 + }, + "end": { + "line": 580, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "f", + "start": 22260, + "end": 22261, + "loc": { + "start": { + "line": 580, + "column": 25 + }, + "end": { + "line": 580, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22282, + "end": 22283, + "loc": { + "start": { + "line": 581, + "column": 20 + }, + "end": { + "line": 581, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchMetadata", + "start": 22283, + "end": 22296, + "loc": { + "start": { + "line": 581, + "column": 21 + }, + "end": { + "line": 581, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22296, + "end": 22297, + "loc": { + "start": { + "line": 581, + "column": 34 + }, + "end": { + "line": 581, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22297, + "end": 22298, + "loc": { + "start": { + "line": 581, + "column": 35 + }, + "end": { + "line": 581, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22319, + "end": 22320, + "loc": { + "start": { + "line": 582, + "column": 20 + }, + "end": { + "line": 582, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 22320, + "end": 22324, + "loc": { + "start": { + "line": 582, + "column": 21 + }, + "end": { + "line": 582, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22324, + "end": 22325, + "loc": { + "start": { + "line": 582, + "column": 25 + }, + "end": { + "line": 582, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 22348, + "end": 22356, + "loc": { + "start": { + "line": 583, + "column": 22 + }, + "end": { + "line": 583, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22357, + "end": 22359, + "loc": { + "start": { + "line": 583, + "column": 31 + }, + "end": { + "line": 583, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 22360, + "end": 22368, + "loc": { + "start": { + "line": 583, + "column": 34 + }, + "end": { + "line": 583, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22368, + "end": 22369, + "loc": { + "start": { + "line": 583, + "column": 42 + }, + "end": { + "line": 583, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 22369, + "end": 22375, + "loc": { + "start": { + "line": 583, + "column": 43 + }, + "end": { + "line": 583, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22375, + "end": 22376, + "loc": { + "start": { + "line": 583, + "column": 49 + }, + "end": { + "line": 583, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 22376, + "end": 22382, + "loc": { + "start": { + "line": 583, + "column": 50 + }, + "end": { + "line": 583, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22382, + "end": 22383, + "loc": { + "start": { + "line": 583, + "column": 56 + }, + "end": { + "line": 583, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 22383, + "end": 22385, + "loc": { + "start": { + "line": 583, + "column": 57 + }, + "end": { + "line": 583, + "column": 59 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22385, + "end": 22386, + "loc": { + "start": { + "line": 583, + "column": 59 + }, + "end": { + "line": 583, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 22386, + "end": 22393, + "loc": { + "start": { + "line": 583, + "column": 60 + }, + "end": { + "line": 583, + "column": 67 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22393, + "end": 22394, + "loc": { + "start": { + "line": 583, + "column": 67 + }, + "end": { + "line": 583, + "column": 68 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 22394, + "end": 22397, + "loc": { + "start": { + "line": 583, + "column": 68 + }, + "end": { + "line": 583, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22397, + "end": 22398, + "loc": { + "start": { + "line": 583, + "column": 71 + }, + "end": { + "line": 583, + "column": 72 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22398, + "end": 22399, + "loc": { + "start": { + "line": 583, + "column": 72 + }, + "end": { + "line": 583, + "column": 73 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 22422, + "end": 22428, + "loc": { + "start": { + "line": 584, + "column": 22 + }, + "end": { + "line": 584, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22429, + "end": 22431, + "loc": { + "start": { + "line": 584, + "column": 29 + }, + "end": { + "line": 584, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 22432, + "end": 22438, + "loc": { + "start": { + "line": 584, + "column": 32 + }, + "end": { + "line": 584, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22438, + "end": 22439, + "loc": { + "start": { + "line": 584, + "column": 38 + }, + "end": { + "line": 584, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 22439, + "end": 22442, + "loc": { + "start": { + "line": 584, + "column": 39 + }, + "end": { + "line": 584, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22442, + "end": 22443, + "loc": { + "start": { + "line": 584, + "column": 42 + }, + "end": { + "line": 584, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exists", + "start": 22443, + "end": 22449, + "loc": { + "start": { + "line": 584, + "column": 43 + }, + "end": { + "line": 584, + "column": 49 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22449, + "end": 22450, + "loc": { + "start": { + "line": 584, + "column": 49 + }, + "end": { + "line": 584, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 22450, + "end": 22456, + "loc": { + "start": { + "line": 584, + "column": 50 + }, + "end": { + "line": 584, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22456, + "end": 22457, + "loc": { + "start": { + "line": 584, + "column": 56 + }, + "end": { + "line": 584, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22478, + "end": 22479, + "loc": { + "start": { + "line": 585, + "column": 20 + }, + "end": { + "line": 585, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22479, + "end": 22480, + "loc": { + "start": { + "line": 585, + "column": 21 + }, + "end": { + "line": 585, + "column": 22 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22497, + "end": 22498, + "loc": { + "start": { + "line": 586, + "column": 16 + }, + "end": { + "line": 586, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22498, + "end": 22499, + "loc": { + "start": { + "line": 586, + "column": 17 + }, + "end": { + "line": 586, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22499, + "end": 22500, + "loc": { + "start": { + "line": 586, + "column": 18 + }, + "end": { + "line": 586, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22515, + "end": 22516, + "loc": { + "start": { + "line": 587, + "column": 14 + }, + "end": { + "line": 587, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22516, + "end": 22517, + "loc": { + "start": { + "line": 587, + "column": 15 + }, + "end": { + "line": 587, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22517, + "end": 22518, + "loc": { + "start": { + "line": 587, + "column": 16 + }, + "end": { + "line": 587, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 22534, + "end": 22542, + "loc": { + "start": { + "line": 589, + "column": 14 + }, + "end": { + "line": 589, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22542, + "end": 22543, + "loc": { + "start": { + "line": 589, + "column": 22 + }, + "end": { + "line": 589, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchAlbums()", + "start": 22543, + "end": 22559, + "loc": { + "start": { + "line": 589, + "column": 23 + }, + "end": { + "line": 589, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22559, + "end": 22560, + "loc": { + "start": { + "line": 589, + "column": 39 + }, + "end": { + "line": 589, + "column": 40 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22561, + "end": 22562, + "loc": { + "start": { + "line": 589, + "column": 41 + }, + "end": { + "line": 589, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22562, + "end": 22563, + "loc": { + "start": { + "line": 589, + "column": 42 + }, + "end": { + "line": 589, + "column": 43 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22564, + "end": 22566, + "loc": { + "start": { + "line": 589, + "column": 44 + }, + "end": { + "line": 589, + "column": 46 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22567, + "end": 22568, + "loc": { + "start": { + "line": 589, + "column": 47 + }, + "end": { + "line": 589, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 22585, + "end": 22587, + "loc": { + "start": { + "line": 590, + "column": 16 + }, + "end": { + "line": 590, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22587, + "end": 22588, + "loc": { + "start": { + "line": 590, + "column": 18 + }, + "end": { + "line": 590, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200 and fetch next page should succeed", + "start": 22588, + "end": 22651, + "loc": { + "start": { + "line": 590, + "column": 19 + }, + "end": { + "line": 590, + "column": 82 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22651, + "end": 22652, + "loc": { + "start": { + "line": 590, + "column": 82 + }, + "end": { + "line": 590, + "column": 83 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 22653, + "end": 22657, + "loc": { + "start": { + "line": 590, + "column": 84 + }, + "end": { + "line": 590, + "column": 88 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22658, + "end": 22660, + "loc": { + "start": { + "line": 590, + "column": 89 + }, + "end": { + "line": 590, + "column": 91 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22661, + "end": 22662, + "loc": { + "start": { + "line": 590, + "column": 92 + }, + "end": { + "line": 590, + "column": 93 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "f", + "start": 22681, + "end": 22682, + "loc": { + "start": { + "line": 591, + "column": 18 + }, + "end": { + "line": 591, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22682, + "end": 22683, + "loc": { + "start": { + "line": 591, + "column": 19 + }, + "end": { + "line": 591, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchAlbums", + "start": 22683, + "end": 22694, + "loc": { + "start": { + "line": 591, + "column": 20 + }, + "end": { + "line": 591, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22694, + "end": 22695, + "loc": { + "start": { + "line": 591, + "column": 31 + }, + "end": { + "line": 591, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22695, + "end": 22696, + "loc": { + "start": { + "line": 591, + "column": 32 + }, + "end": { + "line": 591, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22696, + "end": 22697, + "loc": { + "start": { + "line": 591, + "column": 33 + }, + "end": { + "line": 591, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 22697, + "end": 22701, + "loc": { + "start": { + "line": 591, + "column": 34 + }, + "end": { + "line": 591, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22701, + "end": 22702, + "loc": { + "start": { + "line": 591, + "column": 38 + }, + "end": { + "line": 591, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 22702, + "end": 22710, + "loc": { + "start": { + "line": 591, + "column": 39 + }, + "end": { + "line": 591, + "column": 47 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22711, + "end": 22713, + "loc": { + "start": { + "line": 591, + "column": 48 + }, + "end": { + "line": 591, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22714, + "end": 22715, + "loc": { + "start": { + "line": 591, + "column": 51 + }, + "end": { + "line": 591, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 22736, + "end": 22744, + "loc": { + "start": { + "line": 592, + "column": 20 + }, + "end": { + "line": 592, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22744, + "end": 22745, + "loc": { + "start": { + "line": 592, + "column": 28 + }, + "end": { + "line": 592, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 22745, + "end": 22751, + "loc": { + "start": { + "line": 592, + "column": 29 + }, + "end": { + "line": 592, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22751, + "end": 22752, + "loc": { + "start": { + "line": 592, + "column": 35 + }, + "end": { + "line": 592, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 22752, + "end": 22758, + "loc": { + "start": { + "line": 592, + "column": 36 + }, + "end": { + "line": 592, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22758, + "end": 22759, + "loc": { + "start": { + "line": 592, + "column": 42 + }, + "end": { + "line": 592, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 22759, + "end": 22761, + "loc": { + "start": { + "line": 592, + "column": 43 + }, + "end": { + "line": 592, + "column": 45 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22761, + "end": 22762, + "loc": { + "start": { + "line": 592, + "column": 45 + }, + "end": { + "line": 592, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 22762, + "end": 22769, + "loc": { + "start": { + "line": 592, + "column": 46 + }, + "end": { + "line": 592, + "column": 53 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22769, + "end": 22770, + "loc": { + "start": { + "line": 592, + "column": 53 + }, + "end": { + "line": 592, + "column": 54 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 22770, + "end": 22773, + "loc": { + "start": { + "line": 592, + "column": 54 + }, + "end": { + "line": 592, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22773, + "end": 22774, + "loc": { + "start": { + "line": 592, + "column": 57 + }, + "end": { + "line": 592, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22774, + "end": 22775, + "loc": { + "start": { + "line": 592, + "column": 58 + }, + "end": { + "line": 592, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "f", + "start": 22796, + "end": 22797, + "loc": { + "start": { + "line": 593, + "column": 20 + }, + "end": { + "line": 593, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22797, + "end": 22798, + "loc": { + "start": { + "line": 593, + "column": 21 + }, + "end": { + "line": 593, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchNextPage", + "start": 22798, + "end": 22811, + "loc": { + "start": { + "line": 593, + "column": 22 + }, + "end": { + "line": 593, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22811, + "end": 22812, + "loc": { + "start": { + "line": 593, + "column": 35 + }, + "end": { + "line": 593, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 22812, + "end": 22820, + "loc": { + "start": { + "line": 593, + "column": 36 + }, + "end": { + "line": 593, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22820, + "end": 22821, + "loc": { + "start": { + "line": 593, + "column": 44 + }, + "end": { + "line": 593, + "column": 45 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22821, + "end": 22822, + "loc": { + "start": { + "line": 593, + "column": 45 + }, + "end": { + "line": 593, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 22822, + "end": 22826, + "loc": { + "start": { + "line": 593, + "column": 46 + }, + "end": { + "line": 593, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22826, + "end": 22827, + "loc": { + "start": { + "line": 593, + "column": 50 + }, + "end": { + "line": 593, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 22850, + "end": 22858, + "loc": { + "start": { + "line": 594, + "column": 22 + }, + "end": { + "line": 594, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22859, + "end": 22861, + "loc": { + "start": { + "line": 594, + "column": 31 + }, + "end": { + "line": 594, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22862, + "end": 22863, + "loc": { + "start": { + "line": 594, + "column": 34 + }, + "end": { + "line": 594, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 22888, + "end": 22896, + "loc": { + "start": { + "line": 595, + "column": 24 + }, + "end": { + "line": 595, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22896, + "end": 22897, + "loc": { + "start": { + "line": 595, + "column": 32 + }, + "end": { + "line": 595, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 22897, + "end": 22903, + "loc": { + "start": { + "line": 595, + "column": 33 + }, + "end": { + "line": 595, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22903, + "end": 22904, + "loc": { + "start": { + "line": 595, + "column": 39 + }, + "end": { + "line": 595, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 22904, + "end": 22910, + "loc": { + "start": { + "line": 595, + "column": 40 + }, + "end": { + "line": 595, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22910, + "end": 22911, + "loc": { + "start": { + "line": 595, + "column": 46 + }, + "end": { + "line": 595, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 22911, + "end": 22913, + "loc": { + "start": { + "line": 595, + "column": 47 + }, + "end": { + "line": 595, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22913, + "end": 22914, + "loc": { + "start": { + "line": 595, + "column": 49 + }, + "end": { + "line": 595, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 22914, + "end": 22921, + "loc": { + "start": { + "line": 595, + "column": 50 + }, + "end": { + "line": 595, + "column": 57 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22921, + "end": 22922, + "loc": { + "start": { + "line": 595, + "column": 57 + }, + "end": { + "line": 595, + "column": 58 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 22922, + "end": 22925, + "loc": { + "start": { + "line": 595, + "column": 58 + }, + "end": { + "line": 595, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22925, + "end": 22926, + "loc": { + "start": { + "line": 595, + "column": 61 + }, + "end": { + "line": 595, + "column": 62 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22926, + "end": 22927, + "loc": { + "start": { + "line": 595, + "column": 62 + }, + "end": { + "line": 595, + "column": 63 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 22952, + "end": 22956, + "loc": { + "start": { + "line": 596, + "column": 24 + }, + "end": { + "line": 596, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22956, + "end": 22957, + "loc": { + "start": { + "line": 596, + "column": 28 + }, + "end": { + "line": 596, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22957, + "end": 22958, + "loc": { + "start": { + "line": 596, + "column": 29 + }, + "end": { + "line": 596, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22958, + "end": 22959, + "loc": { + "start": { + "line": 596, + "column": 30 + }, + "end": { + "line": 596, + "column": 31 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22982, + "end": 22983, + "loc": { + "start": { + "line": 597, + "column": 22 + }, + "end": { + "line": 597, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22983, + "end": 22984, + "loc": { + "start": { + "line": 597, + "column": 23 + }, + "end": { + "line": 597, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 23007, + "end": 23013, + "loc": { + "start": { + "line": 598, + "column": 22 + }, + "end": { + "line": 598, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23014, + "end": 23016, + "loc": { + "start": { + "line": 598, + "column": 29 + }, + "end": { + "line": 598, + "column": 31 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23017, + "end": 23018, + "loc": { + "start": { + "line": 598, + "column": 32 + }, + "end": { + "line": 598, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 23043, + "end": 23047, + "loc": { + "start": { + "line": 599, + "column": 24 + }, + "end": { + "line": 599, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23047, + "end": 23048, + "loc": { + "start": { + "line": 599, + "column": 28 + }, + "end": { + "line": 599, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 23048, + "end": 23054, + "loc": { + "start": { + "line": 599, + "column": 29 + }, + "end": { + "line": 599, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23054, + "end": 23055, + "loc": { + "start": { + "line": 599, + "column": 35 + }, + "end": { + "line": 599, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23055, + "end": 23056, + "loc": { + "start": { + "line": 599, + "column": 36 + }, + "end": { + "line": 599, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23079, + "end": 23080, + "loc": { + "start": { + "line": 600, + "column": 22 + }, + "end": { + "line": 600, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23101, + "end": 23102, + "loc": { + "start": { + "line": 601, + "column": 20 + }, + "end": { + "line": 601, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23102, + "end": 23103, + "loc": { + "start": { + "line": 601, + "column": 21 + }, + "end": { + "line": 601, + "column": 22 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23122, + "end": 23123, + "loc": { + "start": { + "line": 602, + "column": 18 + }, + "end": { + "line": 602, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23123, + "end": 23124, + "loc": { + "start": { + "line": 602, + "column": 19 + }, + "end": { + "line": 602, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23124, + "end": 23125, + "loc": { + "start": { + "line": 602, + "column": 20 + }, + "end": { + "line": 602, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23142, + "end": 23143, + "loc": { + "start": { + "line": 603, + "column": 16 + }, + "end": { + "line": 603, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23143, + "end": 23144, + "loc": { + "start": { + "line": 603, + "column": 17 + }, + "end": { + "line": 603, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23144, + "end": 23145, + "loc": { + "start": { + "line": 603, + "column": 18 + }, + "end": { + "line": 603, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23160, + "end": 23161, + "loc": { + "start": { + "line": 604, + "column": 14 + }, + "end": { + "line": 604, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23161, + "end": 23162, + "loc": { + "start": { + "line": 604, + "column": 15 + }, + "end": { + "line": 604, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23162, + "end": 23163, + "loc": { + "start": { + "line": 604, + "column": 16 + }, + "end": { + "line": 604, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23176, + "end": 23177, + "loc": { + "start": { + "line": 605, + "column": 12 + }, + "end": { + "line": 605, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23177, + "end": 23178, + "loc": { + "start": { + "line": 605, + "column": 13 + }, + "end": { + "line": 605, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23178, + "end": 23179, + "loc": { + "start": { + "line": 605, + "column": 14 + }, + "end": { + "line": 605, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 23193, + "end": 23201, + "loc": { + "start": { + "line": 607, + "column": 12 + }, + "end": { + "line": 607, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23201, + "end": 23202, + "loc": { + "start": { + "line": 607, + "column": 20 + }, + "end": { + "line": 607, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "New Hits Playlists", + "start": 23202, + "end": 23222, + "loc": { + "start": { + "line": 607, + "column": 21 + }, + "end": { + "line": 607, + "column": 41 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23222, + "end": 23223, + "loc": { + "start": { + "line": 607, + "column": 41 + }, + "end": { + "line": 607, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23224, + "end": 23225, + "loc": { + "start": { + "line": 607, + "column": 43 + }, + "end": { + "line": 607, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23225, + "end": 23226, + "loc": { + "start": { + "line": 607, + "column": 44 + }, + "end": { + "line": 607, + "column": 45 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23227, + "end": 23229, + "loc": { + "start": { + "line": 607, + "column": 46 + }, + "end": { + "line": 607, + "column": 48 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23230, + "end": 23231, + "loc": { + "start": { + "line": 607, + "column": 49 + }, + "end": { + "line": 607, + "column": 50 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 23246, + "end": 23251, + "loc": { + "start": { + "line": 608, + "column": 14 + }, + "end": { + "line": 608, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newHitsPlaylistFetcher", + "start": 23252, + "end": 23274, + "loc": { + "start": { + "line": 608, + "column": 20 + }, + "end": { + "line": 608, + "column": 42 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 23275, + "end": 23276, + "loc": { + "start": { + "line": 608, + "column": 43 + }, + "end": { + "line": 608, + "column": 44 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 23277, + "end": 23280, + "loc": { + "start": { + "line": 608, + "column": 45 + }, + "end": { + "line": 608, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "NewHitsPlaylistFetcher", + "start": 23281, + "end": 23303, + "loc": { + "start": { + "line": 608, + "column": 49 + }, + "end": { + "line": 608, + "column": 71 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23303, + "end": 23304, + "loc": { + "start": { + "line": 608, + "column": 71 + }, + "end": { + "line": 608, + "column": 72 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "httpClient", + "start": 23321, + "end": 23331, + "loc": { + "start": { + "line": 609, + "column": 16 + }, + "end": { + "line": 609, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23346, + "end": 23347, + "loc": { + "start": { + "line": 610, + "column": 14 + }, + "end": { + "line": 610, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23347, + "end": 23348, + "loc": { + "start": { + "line": 610, + "column": 15 + }, + "end": { + "line": 610, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 23363, + "end": 23371, + "loc": { + "start": { + "line": 611, + "column": 14 + }, + "end": { + "line": 611, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23371, + "end": 23372, + "loc": { + "start": { + "line": 611, + "column": 22 + }, + "end": { + "line": 611, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchAll()", + "start": 23372, + "end": 23385, + "loc": { + "start": { + "line": 611, + "column": 23 + }, + "end": { + "line": 611, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23385, + "end": 23386, + "loc": { + "start": { + "line": 611, + "column": 36 + }, + "end": { + "line": 611, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23387, + "end": 23388, + "loc": { + "start": { + "line": 611, + "column": 38 + }, + "end": { + "line": 611, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23388, + "end": 23389, + "loc": { + "start": { + "line": 611, + "column": 39 + }, + "end": { + "line": 611, + "column": 40 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23390, + "end": 23392, + "loc": { + "start": { + "line": 611, + "column": 41 + }, + "end": { + "line": 611, + "column": 43 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23393, + "end": 23394, + "loc": { + "start": { + "line": 611, + "column": 44 + }, + "end": { + "line": 611, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 23411, + "end": 23413, + "loc": { + "start": { + "line": 612, + "column": 16 + }, + "end": { + "line": 612, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23413, + "end": 23414, + "loc": { + "start": { + "line": 612, + "column": 18 + }, + "end": { + "line": 612, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should succeed", + "start": 23414, + "end": 23430, + "loc": { + "start": { + "line": 612, + "column": 19 + }, + "end": { + "line": 612, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23430, + "end": 23431, + "loc": { + "start": { + "line": 612, + "column": 35 + }, + "end": { + "line": 612, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23432, + "end": 23433, + "loc": { + "start": { + "line": 612, + "column": 37 + }, + "end": { + "line": 612, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23433, + "end": 23434, + "loc": { + "start": { + "line": 612, + "column": 38 + }, + "end": { + "line": 612, + "column": 39 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23435, + "end": 23437, + "loc": { + "start": { + "line": 612, + "column": 40 + }, + "end": { + "line": 612, + "column": 42 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23438, + "end": 23439, + "loc": { + "start": { + "line": 612, + "column": 43 + }, + "end": { + "line": 612, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newHitsPlaylistFetcher", + "start": 23458, + "end": 23480, + "loc": { + "start": { + "line": 613, + "column": 18 + }, + "end": { + "line": 613, + "column": 40 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23501, + "end": 23502, + "loc": { + "start": { + "line": 614, + "column": 20 + }, + "end": { + "line": 614, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchAllNewHitsPlaylists", + "start": 23502, + "end": 23526, + "loc": { + "start": { + "line": 614, + "column": 21 + }, + "end": { + "line": 614, + "column": 45 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23526, + "end": 23527, + "loc": { + "start": { + "line": 614, + "column": 45 + }, + "end": { + "line": 614, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23527, + "end": 23528, + "loc": { + "start": { + "line": 614, + "column": 46 + }, + "end": { + "line": 614, + "column": 47 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23549, + "end": 23550, + "loc": { + "start": { + "line": 615, + "column": 20 + }, + "end": { + "line": 615, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 23550, + "end": 23554, + "loc": { + "start": { + "line": 615, + "column": 21 + }, + "end": { + "line": 615, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23554, + "end": 23555, + "loc": { + "start": { + "line": 615, + "column": 25 + }, + "end": { + "line": 615, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 23555, + "end": 23563, + "loc": { + "start": { + "line": 615, + "column": 26 + }, + "end": { + "line": 615, + "column": 34 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23564, + "end": 23566, + "loc": { + "start": { + "line": 615, + "column": 35 + }, + "end": { + "line": 615, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23567, + "end": 23568, + "loc": { + "start": { + "line": 615, + "column": 38 + }, + "end": { + "line": 615, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 23591, + "end": 23599, + "loc": { + "start": { + "line": 616, + "column": 22 + }, + "end": { + "line": 616, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23599, + "end": 23600, + "loc": { + "start": { + "line": 616, + "column": 30 + }, + "end": { + "line": 616, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 23600, + "end": 23606, + "loc": { + "start": { + "line": 616, + "column": 31 + }, + "end": { + "line": 616, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23606, + "end": 23607, + "loc": { + "start": { + "line": 616, + "column": 37 + }, + "end": { + "line": 616, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 23607, + "end": 23613, + "loc": { + "start": { + "line": 616, + "column": 38 + }, + "end": { + "line": 616, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23613, + "end": 23614, + "loc": { + "start": { + "line": 616, + "column": 44 + }, + "end": { + "line": 616, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 23614, + "end": 23616, + "loc": { + "start": { + "line": 616, + "column": 45 + }, + "end": { + "line": 616, + "column": 47 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23616, + "end": 23617, + "loc": { + "start": { + "line": 616, + "column": 47 + }, + "end": { + "line": 616, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 23617, + "end": 23624, + "loc": { + "start": { + "line": 616, + "column": 48 + }, + "end": { + "line": 616, + "column": 55 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23624, + "end": 23625, + "loc": { + "start": { + "line": 616, + "column": 55 + }, + "end": { + "line": 616, + "column": 56 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 23625, + "end": 23628, + "loc": { + "start": { + "line": 616, + "column": 56 + }, + "end": { + "line": 616, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23628, + "end": 23629, + "loc": { + "start": { + "line": 616, + "column": 59 + }, + "end": { + "line": 616, + "column": 60 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23629, + "end": 23630, + "loc": { + "start": { + "line": 616, + "column": 60 + }, + "end": { + "line": 616, + "column": 61 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23651, + "end": 23652, + "loc": { + "start": { + "line": 617, + "column": 20 + }, + "end": { + "line": 617, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23652, + "end": 23653, + "loc": { + "start": { + "line": 617, + "column": 21 + }, + "end": { + "line": 617, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23674, + "end": 23675, + "loc": { + "start": { + "line": 618, + "column": 20 + }, + "end": { + "line": 618, + "column": 21 + } + } + }, + { + "type": { + "label": "catch", + "keyword": "catch", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "catch", + "start": 23675, + "end": 23680, + "loc": { + "start": { + "line": 618, + "column": 21 + }, + "end": { + "line": 618, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23680, + "end": 23681, + "loc": { + "start": { + "line": 618, + "column": 26 + }, + "end": { + "line": 618, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 23681, + "end": 23686, + "loc": { + "start": { + "line": 618, + "column": 27 + }, + "end": { + "line": 618, + "column": 32 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23687, + "end": 23689, + "loc": { + "start": { + "line": 618, + "column": 33 + }, + "end": { + "line": 618, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 23690, + "end": 23696, + "loc": { + "start": { + "line": 618, + "column": 36 + }, + "end": { + "line": 618, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23696, + "end": 23697, + "loc": { + "start": { + "line": 618, + "column": 42 + }, + "end": { + "line": 618, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 23697, + "end": 23700, + "loc": { + "start": { + "line": 618, + "column": 43 + }, + "end": { + "line": 618, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23700, + "end": 23701, + "loc": { + "start": { + "line": 618, + "column": 46 + }, + "end": { + "line": 618, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exists", + "start": 23701, + "end": 23707, + "loc": { + "start": { + "line": 618, + "column": 47 + }, + "end": { + "line": 618, + "column": 53 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23707, + "end": 23708, + "loc": { + "start": { + "line": 618, + "column": 53 + }, + "end": { + "line": 618, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 23708, + "end": 23713, + "loc": { + "start": { + "line": 618, + "column": 54 + }, + "end": { + "line": 618, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23713, + "end": 23714, + "loc": { + "start": { + "line": 618, + "column": 59 + }, + "end": { + "line": 618, + "column": 60 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23714, + "end": 23715, + "loc": { + "start": { + "line": 618, + "column": 60 + }, + "end": { + "line": 618, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23715, + "end": 23716, + "loc": { + "start": { + "line": 618, + "column": 61 + }, + "end": { + "line": 618, + "column": 62 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23733, + "end": 23734, + "loc": { + "start": { + "line": 619, + "column": 16 + }, + "end": { + "line": 619, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23734, + "end": 23735, + "loc": { + "start": { + "line": 619, + "column": 17 + }, + "end": { + "line": 619, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23735, + "end": 23736, + "loc": { + "start": { + "line": 619, + "column": 18 + }, + "end": { + "line": 619, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23751, + "end": 23752, + "loc": { + "start": { + "line": 620, + "column": 14 + }, + "end": { + "line": 620, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23752, + "end": 23753, + "loc": { + "start": { + "line": 620, + "column": 15 + }, + "end": { + "line": 620, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23753, + "end": 23754, + "loc": { + "start": { + "line": 620, + "column": 16 + }, + "end": { + "line": 620, + "column": 17 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 23770, + "end": 23775, + "loc": { + "start": { + "line": 622, + "column": 14 + }, + "end": { + "line": 622, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "f", + "start": 23776, + "end": 23777, + "loc": { + "start": { + "line": 622, + "column": 20 + }, + "end": { + "line": 622, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 23778, + "end": 23779, + "loc": { + "start": { + "line": 622, + "column": 22 + }, + "end": { + "line": 622, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newHitsPlaylistFetcher", + "start": 23780, + "end": 23802, + "loc": { + "start": { + "line": 622, + "column": 24 + }, + "end": { + "line": 622, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23802, + "end": 23803, + "loc": { + "start": { + "line": 622, + "column": 46 + }, + "end": { + "line": 622, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setPlaylistID", + "start": 23803, + "end": 23816, + "loc": { + "start": { + "line": 622, + "column": 47 + }, + "end": { + "line": 622, + "column": 60 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23816, + "end": 23817, + "loc": { + "start": { + "line": 622, + "column": 60 + }, + "end": { + "line": 622, + "column": 61 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "DZni8m29ciOFbRxTJq", + "start": 23834, + "end": 23854, + "loc": { + "start": { + "line": 623, + "column": 16 + }, + "end": { + "line": 623, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23869, + "end": 23870, + "loc": { + "start": { + "line": 624, + "column": 14 + }, + "end": { + "line": 624, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23870, + "end": 23871, + "loc": { + "start": { + "line": 624, + "column": 15 + }, + "end": { + "line": 624, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 23886, + "end": 23894, + "loc": { + "start": { + "line": 625, + "column": 14 + }, + "end": { + "line": 625, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23894, + "end": 23895, + "loc": { + "start": { + "line": 625, + "column": 22 + }, + "end": { + "line": 625, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchMetadata()", + "start": 23895, + "end": 23913, + "loc": { + "start": { + "line": 625, + "column": 23 + }, + "end": { + "line": 625, + "column": 41 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23913, + "end": 23914, + "loc": { + "start": { + "line": 625, + "column": 41 + }, + "end": { + "line": 625, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23915, + "end": 23916, + "loc": { + "start": { + "line": 625, + "column": 43 + }, + "end": { + "line": 625, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23916, + "end": 23917, + "loc": { + "start": { + "line": 625, + "column": 44 + }, + "end": { + "line": 625, + "column": 45 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23918, + "end": 23920, + "loc": { + "start": { + "line": 625, + "column": 46 + }, + "end": { + "line": 625, + "column": 48 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23921, + "end": 23922, + "loc": { + "start": { + "line": 625, + "column": 49 + }, + "end": { + "line": 625, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 23939, + "end": 23941, + "loc": { + "start": { + "line": 626, + "column": 16 + }, + "end": { + "line": 626, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23941, + "end": 23942, + "loc": { + "start": { + "line": 626, + "column": 18 + }, + "end": { + "line": 626, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should succeed", + "start": 23942, + "end": 23958, + "loc": { + "start": { + "line": 626, + "column": 19 + }, + "end": { + "line": 626, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23958, + "end": 23959, + "loc": { + "start": { + "line": 626, + "column": 35 + }, + "end": { + "line": 626, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23960, + "end": 23961, + "loc": { + "start": { + "line": 626, + "column": 37 + }, + "end": { + "line": 626, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23961, + "end": 23962, + "loc": { + "start": { + "line": 626, + "column": 38 + }, + "end": { + "line": 626, + "column": 39 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23963, + "end": 23965, + "loc": { + "start": { + "line": 626, + "column": 40 + }, + "end": { + "line": 626, + "column": 42 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23966, + "end": 23967, + "loc": { + "start": { + "line": 626, + "column": 43 + }, + "end": { + "line": 626, + "column": 44 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 23986, + "end": 23992, + "loc": { + "start": { + "line": 627, + "column": 18 + }, + "end": { + "line": 627, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "f", + "start": 23993, + "end": 23994, + "loc": { + "start": { + "line": 627, + "column": 25 + }, + "end": { + "line": 627, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24015, + "end": 24016, + "loc": { + "start": { + "line": 628, + "column": 20 + }, + "end": { + "line": 628, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchMetadata", + "start": 24016, + "end": 24029, + "loc": { + "start": { + "line": 628, + "column": 21 + }, + "end": { + "line": 628, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24029, + "end": 24030, + "loc": { + "start": { + "line": 628, + "column": 34 + }, + "end": { + "line": 628, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24030, + "end": 24031, + "loc": { + "start": { + "line": 628, + "column": 35 + }, + "end": { + "line": 628, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24052, + "end": 24053, + "loc": { + "start": { + "line": 629, + "column": 20 + }, + "end": { + "line": 629, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 24053, + "end": 24057, + "loc": { + "start": { + "line": 629, + "column": 21 + }, + "end": { + "line": 629, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24057, + "end": 24058, + "loc": { + "start": { + "line": 629, + "column": 25 + }, + "end": { + "line": 629, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 24081, + "end": 24089, + "loc": { + "start": { + "line": 630, + "column": 22 + }, + "end": { + "line": 630, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24090, + "end": 24092, + "loc": { + "start": { + "line": 630, + "column": 31 + }, + "end": { + "line": 630, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 24093, + "end": 24101, + "loc": { + "start": { + "line": 630, + "column": 34 + }, + "end": { + "line": 630, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24101, + "end": 24102, + "loc": { + "start": { + "line": 630, + "column": 42 + }, + "end": { + "line": 630, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 24102, + "end": 24108, + "loc": { + "start": { + "line": 630, + "column": 43 + }, + "end": { + "line": 630, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24108, + "end": 24109, + "loc": { + "start": { + "line": 630, + "column": 49 + }, + "end": { + "line": 630, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 24109, + "end": 24115, + "loc": { + "start": { + "line": 630, + "column": 50 + }, + "end": { + "line": 630, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24115, + "end": 24116, + "loc": { + "start": { + "line": 630, + "column": 56 + }, + "end": { + "line": 630, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 24116, + "end": 24118, + "loc": { + "start": { + "line": 630, + "column": 57 + }, + "end": { + "line": 630, + "column": 59 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24118, + "end": 24119, + "loc": { + "start": { + "line": 630, + "column": 59 + }, + "end": { + "line": 630, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 24119, + "end": 24126, + "loc": { + "start": { + "line": 630, + "column": 60 + }, + "end": { + "line": 630, + "column": 67 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24126, + "end": 24127, + "loc": { + "start": { + "line": 630, + "column": 67 + }, + "end": { + "line": 630, + "column": 68 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 24127, + "end": 24130, + "loc": { + "start": { + "line": 630, + "column": 68 + }, + "end": { + "line": 630, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24130, + "end": 24131, + "loc": { + "start": { + "line": 630, + "column": 71 + }, + "end": { + "line": 630, + "column": 72 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24131, + "end": 24132, + "loc": { + "start": { + "line": 630, + "column": 72 + }, + "end": { + "line": 630, + "column": 73 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 24155, + "end": 24161, + "loc": { + "start": { + "line": 631, + "column": 22 + }, + "end": { + "line": 631, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24162, + "end": 24164, + "loc": { + "start": { + "line": 631, + "column": 29 + }, + "end": { + "line": 631, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 24165, + "end": 24171, + "loc": { + "start": { + "line": 631, + "column": 32 + }, + "end": { + "line": 631, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24171, + "end": 24172, + "loc": { + "start": { + "line": 631, + "column": 38 + }, + "end": { + "line": 631, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 24172, + "end": 24175, + "loc": { + "start": { + "line": 631, + "column": 39 + }, + "end": { + "line": 631, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24175, + "end": 24176, + "loc": { + "start": { + "line": 631, + "column": 42 + }, + "end": { + "line": 631, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exists", + "start": 24176, + "end": 24182, + "loc": { + "start": { + "line": 631, + "column": 43 + }, + "end": { + "line": 631, + "column": 49 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24182, + "end": 24183, + "loc": { + "start": { + "line": 631, + "column": 49 + }, + "end": { + "line": 631, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 24183, + "end": 24189, + "loc": { + "start": { + "line": 631, + "column": 50 + }, + "end": { + "line": 631, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24189, + "end": 24190, + "loc": { + "start": { + "line": 631, + "column": 56 + }, + "end": { + "line": 631, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24211, + "end": 24212, + "loc": { + "start": { + "line": 632, + "column": 20 + }, + "end": { + "line": 632, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24233, + "end": 24234, + "loc": { + "start": { + "line": 633, + "column": 20 + }, + "end": { + "line": 633, + "column": 21 + } + } + }, + { + "type": { + "label": "catch", + "keyword": "catch", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "catch", + "start": 24234, + "end": 24239, + "loc": { + "start": { + "line": 633, + "column": 21 + }, + "end": { + "line": 633, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24239, + "end": 24240, + "loc": { + "start": { + "line": 633, + "column": 26 + }, + "end": { + "line": 633, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 24240, + "end": 24245, + "loc": { + "start": { + "line": 633, + "column": 27 + }, + "end": { + "line": 633, + "column": 32 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24246, + "end": 24248, + "loc": { + "start": { + "line": 633, + "column": 33 + }, + "end": { + "line": 633, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 24249, + "end": 24255, + "loc": { + "start": { + "line": 633, + "column": 36 + }, + "end": { + "line": 633, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24255, + "end": 24256, + "loc": { + "start": { + "line": 633, + "column": 42 + }, + "end": { + "line": 633, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 24256, + "end": 24259, + "loc": { + "start": { + "line": 633, + "column": 43 + }, + "end": { + "line": 633, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24259, + "end": 24260, + "loc": { + "start": { + "line": 633, + "column": 46 + }, + "end": { + "line": 633, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exsits", + "start": 24260, + "end": 24266, + "loc": { + "start": { + "line": 633, + "column": 47 + }, + "end": { + "line": 633, + "column": 53 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24266, + "end": 24267, + "loc": { + "start": { + "line": 633, + "column": 53 + }, + "end": { + "line": 633, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 24267, + "end": 24272, + "loc": { + "start": { + "line": 633, + "column": 54 + }, + "end": { + "line": 633, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24272, + "end": 24273, + "loc": { + "start": { + "line": 633, + "column": 59 + }, + "end": { + "line": 633, + "column": 60 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24273, + "end": 24274, + "loc": { + "start": { + "line": 633, + "column": 60 + }, + "end": { + "line": 633, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24274, + "end": 24275, + "loc": { + "start": { + "line": 633, + "column": 61 + }, + "end": { + "line": 633, + "column": 62 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24292, + "end": 24293, + "loc": { + "start": { + "line": 634, + "column": 16 + }, + "end": { + "line": 634, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24293, + "end": 24294, + "loc": { + "start": { + "line": 634, + "column": 17 + }, + "end": { + "line": 634, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24294, + "end": 24295, + "loc": { + "start": { + "line": 634, + "column": 18 + }, + "end": { + "line": 634, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24310, + "end": 24311, + "loc": { + "start": { + "line": 635, + "column": 14 + }, + "end": { + "line": 635, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24311, + "end": 24312, + "loc": { + "start": { + "line": 635, + "column": 15 + }, + "end": { + "line": 635, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24312, + "end": 24313, + "loc": { + "start": { + "line": 635, + "column": 16 + }, + "end": { + "line": 635, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 24329, + "end": 24337, + "loc": { + "start": { + "line": 637, + "column": 14 + }, + "end": { + "line": 637, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24337, + "end": 24338, + "loc": { + "start": { + "line": 637, + "column": 22 + }, + "end": { + "line": 637, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchTracks()", + "start": 24338, + "end": 24354, + "loc": { + "start": { + "line": 637, + "column": 23 + }, + "end": { + "line": 637, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24354, + "end": 24355, + "loc": { + "start": { + "line": 637, + "column": 39 + }, + "end": { + "line": 637, + "column": 40 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24356, + "end": 24357, + "loc": { + "start": { + "line": 637, + "column": 41 + }, + "end": { + "line": 637, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24357, + "end": 24358, + "loc": { + "start": { + "line": 637, + "column": 42 + }, + "end": { + "line": 637, + "column": 43 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24359, + "end": 24361, + "loc": { + "start": { + "line": 637, + "column": 44 + }, + "end": { + "line": 637, + "column": 46 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24362, + "end": 24363, + "loc": { + "start": { + "line": 637, + "column": 47 + }, + "end": { + "line": 637, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 24380, + "end": 24382, + "loc": { + "start": { + "line": 638, + "column": 16 + }, + "end": { + "line": 638, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24382, + "end": 24383, + "loc": { + "start": { + "line": 638, + "column": 18 + }, + "end": { + "line": 638, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should succeed", + "start": 24383, + "end": 24399, + "loc": { + "start": { + "line": 638, + "column": 19 + }, + "end": { + "line": 638, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24399, + "end": 24400, + "loc": { + "start": { + "line": 638, + "column": 35 + }, + "end": { + "line": 638, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24401, + "end": 24402, + "loc": { + "start": { + "line": 638, + "column": 37 + }, + "end": { + "line": 638, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24402, + "end": 24403, + "loc": { + "start": { + "line": 638, + "column": 38 + }, + "end": { + "line": 638, + "column": 39 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24404, + "end": 24406, + "loc": { + "start": { + "line": 638, + "column": 40 + }, + "end": { + "line": 638, + "column": 42 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24407, + "end": 24408, + "loc": { + "start": { + "line": 638, + "column": 43 + }, + "end": { + "line": 638, + "column": 44 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 24427, + "end": 24433, + "loc": { + "start": { + "line": 639, + "column": 18 + }, + "end": { + "line": 639, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "f", + "start": 24434, + "end": 24435, + "loc": { + "start": { + "line": 639, + "column": 25 + }, + "end": { + "line": 639, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24456, + "end": 24457, + "loc": { + "start": { + "line": 640, + "column": 20 + }, + "end": { + "line": 640, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchTracks", + "start": 24457, + "end": 24468, + "loc": { + "start": { + "line": 640, + "column": 21 + }, + "end": { + "line": 640, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24468, + "end": 24469, + "loc": { + "start": { + "line": 640, + "column": 32 + }, + "end": { + "line": 640, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24469, + "end": 24470, + "loc": { + "start": { + "line": 640, + "column": 33 + }, + "end": { + "line": 640, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24491, + "end": 24492, + "loc": { + "start": { + "line": 641, + "column": 20 + }, + "end": { + "line": 641, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 24492, + "end": 24496, + "loc": { + "start": { + "line": 641, + "column": 21 + }, + "end": { + "line": 641, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24496, + "end": 24497, + "loc": { + "start": { + "line": 641, + "column": 25 + }, + "end": { + "line": 641, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 24520, + "end": 24528, + "loc": { + "start": { + "line": 642, + "column": 22 + }, + "end": { + "line": 642, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24529, + "end": 24531, + "loc": { + "start": { + "line": 642, + "column": 31 + }, + "end": { + "line": 642, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 24532, + "end": 24540, + "loc": { + "start": { + "line": 642, + "column": 34 + }, + "end": { + "line": 642, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24540, + "end": 24541, + "loc": { + "start": { + "line": 642, + "column": 42 + }, + "end": { + "line": 642, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 24541, + "end": 24547, + "loc": { + "start": { + "line": 642, + "column": 43 + }, + "end": { + "line": 642, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24547, + "end": 24548, + "loc": { + "start": { + "line": 642, + "column": 49 + }, + "end": { + "line": 642, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 24548, + "end": 24554, + "loc": { + "start": { + "line": 642, + "column": 50 + }, + "end": { + "line": 642, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24554, + "end": 24555, + "loc": { + "start": { + "line": 642, + "column": 56 + }, + "end": { + "line": 642, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 24555, + "end": 24557, + "loc": { + "start": { + "line": 642, + "column": 57 + }, + "end": { + "line": 642, + "column": 59 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24557, + "end": 24558, + "loc": { + "start": { + "line": 642, + "column": 59 + }, + "end": { + "line": 642, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 24558, + "end": 24565, + "loc": { + "start": { + "line": 642, + "column": 60 + }, + "end": { + "line": 642, + "column": 67 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24565, + "end": 24566, + "loc": { + "start": { + "line": 642, + "column": 67 + }, + "end": { + "line": 642, + "column": 68 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 24566, + "end": 24569, + "loc": { + "start": { + "line": 642, + "column": 68 + }, + "end": { + "line": 642, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24569, + "end": 24570, + "loc": { + "start": { + "line": 642, + "column": 71 + }, + "end": { + "line": 642, + "column": 72 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24570, + "end": 24571, + "loc": { + "start": { + "line": 642, + "column": 72 + }, + "end": { + "line": 642, + "column": 73 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 24594, + "end": 24600, + "loc": { + "start": { + "line": 643, + "column": 22 + }, + "end": { + "line": 643, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24601, + "end": 24603, + "loc": { + "start": { + "line": 643, + "column": 29 + }, + "end": { + "line": 643, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 24604, + "end": 24610, + "loc": { + "start": { + "line": 643, + "column": 32 + }, + "end": { + "line": 643, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24610, + "end": 24611, + "loc": { + "start": { + "line": 643, + "column": 38 + }, + "end": { + "line": 643, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 24611, + "end": 24614, + "loc": { + "start": { + "line": 643, + "column": 39 + }, + "end": { + "line": 643, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24614, + "end": 24615, + "loc": { + "start": { + "line": 643, + "column": 42 + }, + "end": { + "line": 643, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exists", + "start": 24615, + "end": 24621, + "loc": { + "start": { + "line": 643, + "column": 43 + }, + "end": { + "line": 643, + "column": 49 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24621, + "end": 24622, + "loc": { + "start": { + "line": 643, + "column": 49 + }, + "end": { + "line": 643, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 24622, + "end": 24628, + "loc": { + "start": { + "line": 643, + "column": 50 + }, + "end": { + "line": 643, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24628, + "end": 24629, + "loc": { + "start": { + "line": 643, + "column": 56 + }, + "end": { + "line": 643, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24650, + "end": 24651, + "loc": { + "start": { + "line": 644, + "column": 20 + }, + "end": { + "line": 644, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24672, + "end": 24673, + "loc": { + "start": { + "line": 645, + "column": 20 + }, + "end": { + "line": 645, + "column": 21 + } + } + }, + { + "type": { + "label": "catch", + "keyword": "catch", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "catch", + "start": 24673, + "end": 24678, + "loc": { + "start": { + "line": 645, + "column": 21 + }, + "end": { + "line": 645, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24678, + "end": 24679, + "loc": { + "start": { + "line": 645, + "column": 26 + }, + "end": { + "line": 645, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 24679, + "end": 24684, + "loc": { + "start": { + "line": 645, + "column": 27 + }, + "end": { + "line": 645, + "column": 32 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24685, + "end": 24687, + "loc": { + "start": { + "line": 645, + "column": 33 + }, + "end": { + "line": 645, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 24688, + "end": 24694, + "loc": { + "start": { + "line": 645, + "column": 36 + }, + "end": { + "line": 645, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24694, + "end": 24695, + "loc": { + "start": { + "line": 645, + "column": 42 + }, + "end": { + "line": 645, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 24695, + "end": 24698, + "loc": { + "start": { + "line": 645, + "column": 43 + }, + "end": { + "line": 645, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24698, + "end": 24699, + "loc": { + "start": { + "line": 645, + "column": 46 + }, + "end": { + "line": 645, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exsits", + "start": 24699, + "end": 24705, + "loc": { + "start": { + "line": 645, + "column": 47 + }, + "end": { + "line": 645, + "column": 53 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24705, + "end": 24706, + "loc": { + "start": { + "line": 645, + "column": 53 + }, + "end": { + "line": 645, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 24706, + "end": 24711, + "loc": { + "start": { + "line": 645, + "column": 54 + }, + "end": { + "line": 645, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24711, + "end": 24712, + "loc": { + "start": { + "line": 645, + "column": 59 + }, + "end": { + "line": 645, + "column": 60 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24712, + "end": 24713, + "loc": { + "start": { + "line": 645, + "column": 60 + }, + "end": { + "line": 645, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24713, + "end": 24714, + "loc": { + "start": { + "line": 645, + "column": 61 + }, + "end": { + "line": 645, + "column": 62 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24731, + "end": 24732, + "loc": { + "start": { + "line": 646, + "column": 16 + }, + "end": { + "line": 646, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24732, + "end": 24733, + "loc": { + "start": { + "line": 646, + "column": 17 + }, + "end": { + "line": 646, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24733, + "end": 24734, + "loc": { + "start": { + "line": 646, + "column": 18 + }, + "end": { + "line": 646, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24749, + "end": 24750, + "loc": { + "start": { + "line": 647, + "column": 14 + }, + "end": { + "line": 647, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24750, + "end": 24751, + "loc": { + "start": { + "line": 647, + "column": 15 + }, + "end": { + "line": 647, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24751, + "end": 24752, + "loc": { + "start": { + "line": 647, + "column": 16 + }, + "end": { + "line": 647, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24765, + "end": 24766, + "loc": { + "start": { + "line": 648, + "column": 12 + }, + "end": { + "line": 648, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24766, + "end": 24767, + "loc": { + "start": { + "line": 648, + "column": 13 + }, + "end": { + "line": 648, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24767, + "end": 24768, + "loc": { + "start": { + "line": 648, + "column": 14 + }, + "end": { + "line": 648, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24779, + "end": 24780, + "loc": { + "start": { + "line": 649, + "column": 10 + }, + "end": { + "line": 649, + "column": 11 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24780, + "end": 24781, + "loc": { + "start": { + "line": 649, + "column": 11 + }, + "end": { + "line": 649, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 24792, + "end": 24798, + "loc": { + "start": { + "line": 650, + "column": 10 + }, + "end": { + "line": 650, + "column": 16 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24799, + "end": 24801, + "loc": { + "start": { + "line": 650, + "column": 17 + }, + "end": { + "line": 650, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 24802, + "end": 24808, + "loc": { + "start": { + "line": 650, + "column": 20 + }, + "end": { + "line": 650, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24808, + "end": 24809, + "loc": { + "start": { + "line": 650, + "column": 26 + }, + "end": { + "line": 650, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 24809, + "end": 24812, + "loc": { + "start": { + "line": 650, + "column": 27 + }, + "end": { + "line": 650, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24812, + "end": 24813, + "loc": { + "start": { + "line": 650, + "column": 30 + }, + "end": { + "line": 650, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exists", + "start": 24813, + "end": 24819, + "loc": { + "start": { + "line": 650, + "column": 31 + }, + "end": { + "line": 650, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24819, + "end": 24820, + "loc": { + "start": { + "line": 650, + "column": 37 + }, + "end": { + "line": 650, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 24820, + "end": 24826, + "loc": { + "start": { + "line": 650, + "column": 38 + }, + "end": { + "line": 650, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24826, + "end": 24827, + "loc": { + "start": { + "line": 650, + "column": 44 + }, + "end": { + "line": 650, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24836, + "end": 24837, + "loc": { + "start": { + "line": 651, + "column": 8 + }, + "end": { + "line": 651, + "column": 9 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24837, + "end": 24838, + "loc": { + "start": { + "line": 651, + "column": 9 + }, + "end": { + "line": 651, + "column": 10 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24845, + "end": 24846, + "loc": { + "start": { + "line": 652, + "column": 6 + }, + "end": { + "line": 652, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24846, + "end": 24847, + "loc": { + "start": { + "line": 652, + "column": 7 + }, + "end": { + "line": 652, + "column": 8 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24847, + "end": 24848, + "loc": { + "start": { + "line": 652, + "column": 8 + }, + "end": { + "line": 652, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24853, + "end": 24854, + "loc": { + "start": { + "line": 653, + "column": 4 + }, + "end": { + "line": 653, + "column": 5 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24854, + "end": 24855, + "loc": { + "start": { + "line": 653, + "column": 5 + }, + "end": { + "line": 653, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24855, + "end": 24856, + "loc": { + "start": { + "line": 653, + "column": 6 + }, + "end": { + "line": 653, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24859, + "end": 24860, + "loc": { + "start": { + "line": 654, + "column": 2 + }, + "end": { + "line": 654, + "column": 3 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24860, + "end": 24861, + "loc": { + "start": { + "line": 654, + "column": 3 + }, + "end": { + "line": 654, + "column": 4 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24861, + "end": 24862, + "loc": { + "start": { + "line": 654, + "column": 4 + }, + "end": { + "line": 654, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24863, + "end": 24864, + "loc": { + "start": { + "line": 655, + "column": 0 + }, + "end": { + "line": 655, + "column": 1 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24864, + "end": 24865, + "loc": { + "start": { + "line": 655, + "column": 1 + }, + "end": { + "line": 655, + "column": 2 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24865, + "end": 24866, + "loc": { + "start": { + "line": 655, + "column": 2 + }, + "end": { + "line": 655, + "column": 3 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24867, + "end": 24867, + "loc": { + "start": { + "line": 656, + "column": 0 + }, + "end": { + "line": 656, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/test/authtest.js.json b/docs/ast/source/test/authtest.js.json new file mode 100644 index 0000000..2dd8ddc --- /dev/null +++ b/docs/ast/source/test/authtest.js.json @@ -0,0 +1,5087 @@ +{ + "type": "File", + "start": 0, + "end": 816, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 23, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 816, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 23, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 0, + "end": 28, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 28 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 7, + "end": 13, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 13 + } + }, + "local": { + "type": "Identifier", + "start": 7, + "end": 13, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 13 + }, + "identifierName": "should" + }, + "name": "should" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 19, + "end": 27, + "loc": { + "start": { + "line": 1, + "column": 19 + }, + "end": { + "line": 1, + "column": 27 + } + }, + "extra": { + "rawValue": "should", + "raw": "'should'" + }, + "value": "should" + } + }, + { + "type": "ImportDeclaration", + "start": 29, + "end": 77, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 48 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 36, + "end": 48, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 19 + } + }, + "local": { + "type": "Identifier", + "start": 36, + "end": 48, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 19 + }, + "identifierName": "TokenFetcher" + }, + "name": "TokenFetcher" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 54, + "end": 76, + "loc": { + "start": { + "line": 2, + "column": 25 + }, + "end": { + "line": 2, + "column": 47 + } + }, + "extra": { + "rawValue": "../auth/TokenFetcher", + "raw": "'../auth/TokenFetcher'" + }, + "value": "../auth/TokenFetcher" + } + }, + { + "type": "ImportDeclaration", + "start": 78, + "end": 144, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 66 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 85, + "end": 106, + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 28 + } + }, + "local": { + "type": "Identifier", + "start": 85, + "end": 106, + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 28 + }, + "identifierName": "ClientCredentialsFlow" + }, + "name": "ClientCredentialsFlow" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 112, + "end": 143, + "loc": { + "start": { + "line": 3, + "column": 34 + }, + "end": { + "line": 3, + "column": 65 + } + }, + "extra": { + "rawValue": "../auth/ClientCredentialsFlow", + "raw": "'../auth/ClientCredentialsFlow'" + }, + "value": "../auth/ClientCredentialsFlow" + } + }, + { + "type": "ImportDeclaration", + "start": 145, + "end": 199, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 54 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 154, + "end": 163, + "loc": { + "start": { + "line": 4, + "column": 9 + }, + "end": { + "line": 4, + "column": 18 + } + }, + "imported": { + "type": "Identifier", + "start": 154, + "end": 163, + "loc": { + "start": { + "line": 4, + "column": 9 + }, + "end": { + "line": 4, + "column": 18 + }, + "identifierName": "kkbox_sdk" + }, + "name": "kkbox_sdk" + }, + "local": { + "type": "Identifier", + "start": 154, + "end": 163, + "loc": { + "start": { + "line": 4, + "column": 9 + }, + "end": { + "line": 4, + "column": 18 + }, + "identifierName": "kkbox_sdk" + }, + "name": "kkbox_sdk" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 171, + "end": 198, + "loc": { + "start": { + "line": 4, + "column": 26 + }, + "end": { + "line": 4, + "column": 53 + } + }, + "extra": { + "rawValue": "../../client_secrets.json", + "raw": "'../../client_secrets.json'" + }, + "value": "../../client_secrets.json" + } + }, + { + "type": "VariableDeclaration", + "start": 201, + "end": 239, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 38 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 207, + "end": 238, + "loc": { + "start": { + "line": 6, + "column": 6 + }, + "end": { + "line": 6, + "column": 37 + } + }, + "id": { + "type": "Identifier", + "start": 207, + "end": 216, + "loc": { + "start": { + "line": 6, + "column": 6 + }, + "end": { + "line": 6, + "column": 15 + }, + "identifierName": "CLIENT_ID" + }, + "name": "CLIENT_ID" + }, + "init": { + "type": "MemberExpression", + "start": 219, + "end": 238, + "loc": { + "start": { + "line": 6, + "column": 18 + }, + "end": { + "line": 6, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 219, + "end": 228, + "loc": { + "start": { + "line": 6, + "column": 18 + }, + "end": { + "line": 6, + "column": 27 + }, + "identifierName": "kkbox_sdk" + }, + "name": "kkbox_sdk" + }, + "property": { + "type": "Identifier", + "start": 229, + "end": 238, + "loc": { + "start": { + "line": 6, + "column": 28 + }, + "end": { + "line": 6, + "column": 37 + }, + "identifierName": "client_id" + }, + "name": "client_id" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 240, + "end": 286, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 46 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 246, + "end": 285, + "loc": { + "start": { + "line": 7, + "column": 6 + }, + "end": { + "line": 7, + "column": 45 + } + }, + "id": { + "type": "Identifier", + "start": 246, + "end": 259, + "loc": { + "start": { + "line": 7, + "column": 6 + }, + "end": { + "line": 7, + "column": 19 + }, + "identifierName": "CLIENT_SECRET" + }, + "name": "CLIENT_SECRET" + }, + "init": { + "type": "MemberExpression", + "start": 262, + "end": 285, + "loc": { + "start": { + "line": 7, + "column": 22 + }, + "end": { + "line": 7, + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 262, + "end": 271, + "loc": { + "start": { + "line": 7, + "column": 22 + }, + "end": { + "line": 7, + "column": 31 + }, + "identifierName": "kkbox_sdk" + }, + "name": "kkbox_sdk" + }, + "property": { + "type": "Identifier", + "start": 272, + "end": 285, + "loc": { + "start": { + "line": 7, + "column": 32 + }, + "end": { + "line": 7, + "column": 45 + }, + "identifierName": "client_secret" + }, + "name": "client_secret" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 288, + "end": 815, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 22, + "column": 3 + } + }, + "expression": { + "type": "CallExpression", + "start": 288, + "end": 814, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 22, + "column": 2 + } + }, + "callee": { + "type": "Identifier", + "start": 288, + "end": 296, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 8 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 297, + "end": 317, + "loc": { + "start": { + "line": 9, + "column": 9 + }, + "end": { + "line": 9, + "column": 29 + } + }, + "extra": { + "rawValue": "Auth Begin to Test", + "raw": "'Auth Begin to Test'" + }, + "value": "Auth Begin to Test" + }, + { + "type": "ArrowFunctionExpression", + "start": 319, + "end": 813, + "loc": { + "start": { + "line": 9, + "column": 31 + }, + "end": { + "line": 22, + "column": 1 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 325, + "end": 813, + "loc": { + "start": { + "line": 9, + "column": 37 + }, + "end": { + "line": 22, + "column": 1 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 329, + "end": 393, + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 10, + "column": 66 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 335, + "end": 392, + "loc": { + "start": { + "line": 10, + "column": 8 + }, + "end": { + "line": 10, + "column": 65 + } + }, + "id": { + "type": "Identifier", + "start": 335, + "end": 347, + "loc": { + "start": { + "line": 10, + "column": 8 + }, + "end": { + "line": 10, + "column": 20 + }, + "identifierName": "tokenFetcher" + }, + "name": "tokenFetcher" + }, + "init": { + "type": "NewExpression", + "start": 350, + "end": 392, + "loc": { + "start": { + "line": 10, + "column": 23 + }, + "end": { + "line": 10, + "column": 65 + } + }, + "callee": { + "type": "Identifier", + "start": 354, + "end": 366, + "loc": { + "start": { + "line": 10, + "column": 27 + }, + "end": { + "line": 10, + "column": 39 + }, + "identifierName": "TokenFetcher" + }, + "name": "TokenFetcher" + }, + "arguments": [ + { + "type": "Identifier", + "start": 367, + "end": 376, + "loc": { + "start": { + "line": 10, + "column": 40 + }, + "end": { + "line": 10, + "column": 49 + }, + "identifierName": "CLIENT_ID" + }, + "name": "CLIENT_ID" + }, + { + "type": "Identifier", + "start": 378, + "end": 391, + "loc": { + "start": { + "line": 10, + "column": 51 + }, + "end": { + "line": 10, + "column": 64 + }, + "identifierName": "CLIENT_SECRET" + }, + "name": "CLIENT_SECRET" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 396, + "end": 811, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 21, + "column": 5 + } + }, + "expression": { + "type": "CallExpression", + "start": 396, + "end": 810, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 21, + "column": 4 + } + }, + "callee": { + "type": "Identifier", + "start": 396, + "end": 404, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 11, + "column": 10 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 405, + "end": 428, + "loc": { + "start": { + "line": 11, + "column": 11 + }, + "end": { + "line": 11, + "column": 34 + } + }, + "extra": { + "rawValue": "clientCredentialsFlow", + "raw": "'clientCredentialsFlow'" + }, + "value": "clientCredentialsFlow" + }, + { + "type": "ArrowFunctionExpression", + "start": 430, + "end": 809, + "loc": { + "start": { + "line": 11, + "column": 36 + }, + "end": { + "line": 21, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 436, + "end": 809, + "loc": { + "start": { + "line": 11, + "column": 42 + }, + "end": { + "line": 21, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 442, + "end": 805, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 20, + "column": 7 + } + }, + "expression": { + "type": "CallExpression", + "start": 442, + "end": 804, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 20, + "column": 6 + } + }, + "callee": { + "type": "Identifier", + "start": 442, + "end": 450, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 12 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 451, + "end": 472, + "loc": { + "start": { + "line": 12, + "column": 13 + }, + "end": { + "line": 12, + "column": 34 + } + }, + "extra": { + "rawValue": "#fetchAccessToken()", + "raw": "'#fetchAccessToken()'" + }, + "value": "#fetchAccessToken()" + }, + { + "type": "ArrowFunctionExpression", + "start": 474, + "end": 803, + "loc": { + "start": { + "line": 12, + "column": 36 + }, + "end": { + "line": 20, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 480, + "end": 803, + "loc": { + "start": { + "line": 12, + "column": 42 + }, + "end": { + "line": 20, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 488, + "end": 797, + "loc": { + "start": { + "line": 13, + "column": 6 + }, + "end": { + "line": 19, + "column": 9 + } + }, + "expression": { + "type": "CallExpression", + "start": 488, + "end": 796, + "loc": { + "start": { + "line": 13, + "column": 6 + }, + "end": { + "line": 19, + "column": 8 + } + }, + "callee": { + "type": "Identifier", + "start": 488, + "end": 490, + "loc": { + "start": { + "line": 13, + "column": 6 + }, + "end": { + "line": 13, + "column": 8 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 491, + "end": 516, + "loc": { + "start": { + "line": 13, + "column": 9 + }, + "end": { + "line": 13, + "column": 34 + } + }, + "extra": { + "rawValue": "should get access token", + "raw": "'should get access token'" + }, + "value": "should get access token" + }, + { + "type": "ArrowFunctionExpression", + "start": 518, + "end": 795, + "loc": { + "start": { + "line": 13, + "column": 36 + }, + "end": { + "line": 19, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 524, + "end": 795, + "loc": { + "start": { + "line": 13, + "column": 42 + }, + "end": { + "line": 19, + "column": 7 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 534, + "end": 604, + "loc": { + "start": { + "line": 14, + "column": 8 + }, + "end": { + "line": 14, + "column": 78 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 540, + "end": 603, + "loc": { + "start": { + "line": 14, + "column": 14 + }, + "end": { + "line": 14, + "column": 77 + } + }, + "id": { + "type": "Identifier", + "start": 540, + "end": 561, + "loc": { + "start": { + "line": 14, + "column": 14 + }, + "end": { + "line": 14, + "column": 35 + }, + "identifierName": "clientCredentialsFlow" + }, + "name": "clientCredentialsFlow" + }, + "init": { + "type": "NewExpression", + "start": 564, + "end": 603, + "loc": { + "start": { + "line": 14, + "column": 38 + }, + "end": { + "line": 14, + "column": 77 + } + }, + "callee": { + "type": "Identifier", + "start": 568, + "end": 589, + "loc": { + "start": { + "line": 14, + "column": 42 + }, + "end": { + "line": 14, + "column": 63 + }, + "identifierName": "ClientCredentialsFlow" + }, + "name": "ClientCredentialsFlow" + }, + "arguments": [ + { + "type": "Identifier", + "start": 590, + "end": 602, + "loc": { + "start": { + "line": 14, + "column": 64 + }, + "end": { + "line": 14, + "column": 76 + }, + "identifierName": "tokenFetcher" + }, + "name": "tokenFetcher" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ReturnStatement", + "start": 613, + "end": 787, + "loc": { + "start": { + "line": 15, + "column": 8 + }, + "end": { + "line": 18, + "column": 11 + } + }, + "argument": { + "type": "CallExpression", + "start": 620, + "end": 786, + "loc": { + "start": { + "line": 15, + "column": 15 + }, + "end": { + "line": 18, + "column": 10 + } + }, + "callee": { + "type": "MemberExpression", + "start": 620, + "end": 665, + "loc": { + "start": { + "line": 15, + "column": 15 + }, + "end": { + "line": 15, + "column": 60 + } + }, + "object": { + "type": "CallExpression", + "start": 620, + "end": 660, + "loc": { + "start": { + "line": 15, + "column": 15 + }, + "end": { + "line": 15, + "column": 55 + } + }, + "callee": { + "type": "MemberExpression", + "start": 620, + "end": 658, + "loc": { + "start": { + "line": 15, + "column": 15 + }, + "end": { + "line": 15, + "column": 53 + } + }, + "object": { + "type": "Identifier", + "start": 620, + "end": 641, + "loc": { + "start": { + "line": 15, + "column": 15 + }, + "end": { + "line": 15, + "column": 36 + }, + "identifierName": "clientCredentialsFlow" + }, + "name": "clientCredentialsFlow" + }, + "property": { + "type": "Identifier", + "start": 642, + "end": 658, + "loc": { + "start": { + "line": 15, + "column": 37 + }, + "end": { + "line": 15, + "column": 53 + }, + "identifierName": "fetchAccessToken" + }, + "name": "fetchAccessToken" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 661, + "end": 665, + "loc": { + "start": { + "line": 15, + "column": 56 + }, + "end": { + "line": 15, + "column": 60 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 666, + "end": 785, + "loc": { + "start": { + "line": 15, + "column": 61 + }, + "end": { + "line": 18, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 666, + "end": 674, + "loc": { + "start": { + "line": 15, + "column": 61 + }, + "end": { + "line": 15, + "column": 69 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 678, + "end": 785, + "loc": { + "start": { + "line": 15, + "column": 73 + }, + "end": { + "line": 18, + "column": 9 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 690, + "end": 738, + "loc": { + "start": { + "line": 16, + "column": 10 + }, + "end": { + "line": 16, + "column": 58 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 696, + "end": 737, + "loc": { + "start": { + "line": 16, + "column": 16 + }, + "end": { + "line": 16, + "column": 57 + } + }, + "id": { + "type": "Identifier", + "start": 696, + "end": 708, + "loc": { + "start": { + "line": 16, + "column": 16 + }, + "end": { + "line": 16, + "column": 28 + }, + "identifierName": "access_token" + }, + "name": "access_token" + }, + "init": { + "type": "MemberExpression", + "start": 711, + "end": 737, + "loc": { + "start": { + "line": 16, + "column": 31 + }, + "end": { + "line": 16, + "column": 57 + } + }, + "object": { + "type": "MemberExpression", + "start": 711, + "end": 724, + "loc": { + "start": { + "line": 16, + "column": 31 + }, + "end": { + "line": 16, + "column": 44 + } + }, + "object": { + "type": "Identifier", + "start": 711, + "end": 719, + "loc": { + "start": { + "line": 16, + "column": 31 + }, + "end": { + "line": 16, + "column": 39 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 720, + "end": 724, + "loc": { + "start": { + "line": 16, + "column": 40 + }, + "end": { + "line": 16, + "column": 44 + }, + "identifierName": "data" + }, + "name": "data" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 725, + "end": 737, + "loc": { + "start": { + "line": 16, + "column": 45 + }, + "end": { + "line": 16, + "column": 57 + }, + "identifierName": "access_token" + }, + "name": "access_token" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 749, + "end": 775, + "loc": { + "start": { + "line": 17, + "column": 10 + }, + "end": { + "line": 17, + "column": 36 + } + }, + "expression": { + "type": "MemberExpression", + "start": 749, + "end": 774, + "loc": { + "start": { + "line": 17, + "column": 10 + }, + "end": { + "line": 17, + "column": 35 + } + }, + "object": { + "type": "MemberExpression", + "start": 749, + "end": 771, + "loc": { + "start": { + "line": 17, + "column": 10 + }, + "end": { + "line": 17, + "column": 32 + } + }, + "object": { + "type": "MemberExpression", + "start": 749, + "end": 768, + "loc": { + "start": { + "line": 17, + "column": 10 + }, + "end": { + "line": 17, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 749, + "end": 761, + "loc": { + "start": { + "line": 17, + "column": 10 + }, + "end": { + "line": 17, + "column": 22 + }, + "identifierName": "access_token" + }, + "name": "access_token" + }, + "property": { + "type": "Identifier", + "start": 762, + "end": 768, + "loc": { + "start": { + "line": 17, + "column": 23 + }, + "end": { + "line": 17, + "column": 29 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 769, + "end": 771, + "loc": { + "start": { + "line": 17, + "column": 30 + }, + "end": { + "line": 17, + "column": 32 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 772, + "end": 774, + "loc": { + "start": { + "line": 17, + "column": 33 + }, + "end": { + "line": 17, + "column": 35 + }, + "identifierName": "ok" + }, + "name": "ok" + }, + "computed": false + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + }, + "comments": [], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 7, + "end": 13, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 14, + "end": 18, + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 18 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should", + "start": 19, + "end": 27, + "loc": { + "start": { + "line": 1, + "column": 19 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 27, + "end": 28, + "loc": { + "start": { + "line": 1, + "column": 27 + }, + "end": { + "line": 1, + "column": 28 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 29, + "end": 35, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "TokenFetcher", + "start": 36, + "end": 48, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 49, + "end": 53, + "loc": { + "start": { + "line": 2, + "column": 20 + }, + "end": { + "line": 2, + "column": 24 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../auth/TokenFetcher", + "start": 54, + "end": 76, + "loc": { + "start": { + "line": 2, + "column": 25 + }, + "end": { + "line": 2, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 76, + "end": 77, + "loc": { + "start": { + "line": 2, + "column": 47 + }, + "end": { + "line": 2, + "column": 48 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 78, + "end": 84, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ClientCredentialsFlow", + "start": 85, + "end": 106, + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 107, + "end": 111, + "loc": { + "start": { + "line": 3, + "column": 29 + }, + "end": { + "line": 3, + "column": 33 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../auth/ClientCredentialsFlow", + "start": 112, + "end": 143, + "loc": { + "start": { + "line": 3, + "column": 34 + }, + "end": { + "line": 3, + "column": 65 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 143, + "end": 144, + "loc": { + "start": { + "line": 3, + "column": 65 + }, + "end": { + "line": 3, + "column": 66 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 145, + "end": 151, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 152, + "end": 153, + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kkbox_sdk", + "start": 154, + "end": 163, + "loc": { + "start": { + "line": 4, + "column": 9 + }, + "end": { + "line": 4, + "column": 18 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 164, + "end": 165, + "loc": { + "start": { + "line": 4, + "column": 19 + }, + "end": { + "line": 4, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 166, + "end": 170, + "loc": { + "start": { + "line": 4, + "column": 21 + }, + "end": { + "line": 4, + "column": 25 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../../client_secrets.json", + "start": 171, + "end": 198, + "loc": { + "start": { + "line": 4, + "column": 26 + }, + "end": { + "line": 4, + "column": 53 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 198, + "end": 199, + "loc": { + "start": { + "line": 4, + "column": 53 + }, + "end": { + "line": 4, + "column": 54 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 201, + "end": 206, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "CLIENT_ID", + "start": 207, + "end": 216, + "loc": { + "start": { + "line": 6, + "column": 6 + }, + "end": { + "line": 6, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 217, + "end": 218, + "loc": { + "start": { + "line": 6, + "column": 16 + }, + "end": { + "line": 6, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kkbox_sdk", + "start": 219, + "end": 228, + "loc": { + "start": { + "line": 6, + "column": 18 + }, + "end": { + "line": 6, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 228, + "end": 229, + "loc": { + "start": { + "line": 6, + "column": 27 + }, + "end": { + "line": 6, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "client_id", + "start": 229, + "end": 238, + "loc": { + "start": { + "line": 6, + "column": 28 + }, + "end": { + "line": 6, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 238, + "end": 239, + "loc": { + "start": { + "line": 6, + "column": 37 + }, + "end": { + "line": 6, + "column": 38 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 240, + "end": 245, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "CLIENT_SECRET", + "start": 246, + "end": 259, + "loc": { + "start": { + "line": 7, + "column": 6 + }, + "end": { + "line": 7, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 260, + "end": 261, + "loc": { + "start": { + "line": 7, + "column": 20 + }, + "end": { + "line": 7, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kkbox_sdk", + "start": 262, + "end": 271, + "loc": { + "start": { + "line": 7, + "column": 22 + }, + "end": { + "line": 7, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 271, + "end": 272, + "loc": { + "start": { + "line": 7, + "column": 31 + }, + "end": { + "line": 7, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "client_secret", + "start": 272, + "end": 285, + "loc": { + "start": { + "line": 7, + "column": 32 + }, + "end": { + "line": 7, + "column": 45 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 285, + "end": 286, + "loc": { + "start": { + "line": 7, + "column": 45 + }, + "end": { + "line": 7, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 288, + "end": 296, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 296, + "end": 297, + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 9 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Auth Begin to Test", + "start": 297, + "end": 317, + "loc": { + "start": { + "line": 9, + "column": 9 + }, + "end": { + "line": 9, + "column": 29 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 317, + "end": 318, + "loc": { + "start": { + "line": 9, + "column": 29 + }, + "end": { + "line": 9, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 319, + "end": 320, + "loc": { + "start": { + "line": 9, + "column": 31 + }, + "end": { + "line": 9, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 320, + "end": 321, + "loc": { + "start": { + "line": 9, + "column": 32 + }, + "end": { + "line": 9, + "column": 33 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 322, + "end": 324, + "loc": { + "start": { + "line": 9, + "column": 34 + }, + "end": { + "line": 9, + "column": 36 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 325, + "end": 326, + "loc": { + "start": { + "line": 9, + "column": 37 + }, + "end": { + "line": 9, + "column": 38 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 329, + "end": 334, + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 10, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tokenFetcher", + "start": 335, + "end": 347, + "loc": { + "start": { + "line": 10, + "column": 8 + }, + "end": { + "line": 10, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 348, + "end": 349, + "loc": { + "start": { + "line": 10, + "column": 21 + }, + "end": { + "line": 10, + "column": 22 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 350, + "end": 353, + "loc": { + "start": { + "line": 10, + "column": 23 + }, + "end": { + "line": 10, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "TokenFetcher", + "start": 354, + "end": 366, + "loc": { + "start": { + "line": 10, + "column": 27 + }, + "end": { + "line": 10, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 366, + "end": 367, + "loc": { + "start": { + "line": 10, + "column": 39 + }, + "end": { + "line": 10, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "CLIENT_ID", + "start": 367, + "end": 376, + "loc": { + "start": { + "line": 10, + "column": 40 + }, + "end": { + "line": 10, + "column": 49 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 376, + "end": 377, + "loc": { + "start": { + "line": 10, + "column": 49 + }, + "end": { + "line": 10, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "CLIENT_SECRET", + "start": 378, + "end": 391, + "loc": { + "start": { + "line": 10, + "column": 51 + }, + "end": { + "line": 10, + "column": 64 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 391, + "end": 392, + "loc": { + "start": { + "line": 10, + "column": 64 + }, + "end": { + "line": 10, + "column": 65 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 392, + "end": 393, + "loc": { + "start": { + "line": 10, + "column": 65 + }, + "end": { + "line": 10, + "column": 66 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 396, + "end": 404, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 11, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 404, + "end": 405, + "loc": { + "start": { + "line": 11, + "column": 10 + }, + "end": { + "line": 11, + "column": 11 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "clientCredentialsFlow", + "start": 405, + "end": 428, + "loc": { + "start": { + "line": 11, + "column": 11 + }, + "end": { + "line": 11, + "column": 34 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 428, + "end": 429, + "loc": { + "start": { + "line": 11, + "column": 34 + }, + "end": { + "line": 11, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 430, + "end": 431, + "loc": { + "start": { + "line": 11, + "column": 36 + }, + "end": { + "line": 11, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 431, + "end": 432, + "loc": { + "start": { + "line": 11, + "column": 37 + }, + "end": { + "line": 11, + "column": 38 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 433, + "end": 435, + "loc": { + "start": { + "line": 11, + "column": 39 + }, + "end": { + "line": 11, + "column": 41 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 436, + "end": 437, + "loc": { + "start": { + "line": 11, + "column": 42 + }, + "end": { + "line": 11, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 442, + "end": 450, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 450, + "end": 451, + "loc": { + "start": { + "line": 12, + "column": 12 + }, + "end": { + "line": 12, + "column": 13 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#fetchAccessToken()", + "start": 451, + "end": 472, + "loc": { + "start": { + "line": 12, + "column": 13 + }, + "end": { + "line": 12, + "column": 34 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 472, + "end": 473, + "loc": { + "start": { + "line": 12, + "column": 34 + }, + "end": { + "line": 12, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 474, + "end": 475, + "loc": { + "start": { + "line": 12, + "column": 36 + }, + "end": { + "line": 12, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 475, + "end": 476, + "loc": { + "start": { + "line": 12, + "column": 37 + }, + "end": { + "line": 12, + "column": 38 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 477, + "end": 479, + "loc": { + "start": { + "line": 12, + "column": 39 + }, + "end": { + "line": 12, + "column": 41 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 480, + "end": 481, + "loc": { + "start": { + "line": 12, + "column": 42 + }, + "end": { + "line": 12, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 488, + "end": 490, + "loc": { + "start": { + "line": 13, + "column": 6 + }, + "end": { + "line": 13, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 490, + "end": 491, + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 9 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should get access token", + "start": 491, + "end": 516, + "loc": { + "start": { + "line": 13, + "column": 9 + }, + "end": { + "line": 13, + "column": 34 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 516, + "end": 517, + "loc": { + "start": { + "line": 13, + "column": 34 + }, + "end": { + "line": 13, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 518, + "end": 519, + "loc": { + "start": { + "line": 13, + "column": 36 + }, + "end": { + "line": 13, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 519, + "end": 520, + "loc": { + "start": { + "line": 13, + "column": 37 + }, + "end": { + "line": 13, + "column": 38 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 521, + "end": 523, + "loc": { + "start": { + "line": 13, + "column": 39 + }, + "end": { + "line": 13, + "column": 41 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 524, + "end": 525, + "loc": { + "start": { + "line": 13, + "column": 42 + }, + "end": { + "line": 13, + "column": 43 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 534, + "end": 539, + "loc": { + "start": { + "line": 14, + "column": 8 + }, + "end": { + "line": 14, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clientCredentialsFlow", + "start": 540, + "end": 561, + "loc": { + "start": { + "line": 14, + "column": 14 + }, + "end": { + "line": 14, + "column": 35 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 562, + "end": 563, + "loc": { + "start": { + "line": 14, + "column": 36 + }, + "end": { + "line": 14, + "column": 37 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 564, + "end": 567, + "loc": { + "start": { + "line": 14, + "column": 38 + }, + "end": { + "line": 14, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ClientCredentialsFlow", + "start": 568, + "end": 589, + "loc": { + "start": { + "line": 14, + "column": 42 + }, + "end": { + "line": 14, + "column": 63 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 589, + "end": 590, + "loc": { + "start": { + "line": 14, + "column": 63 + }, + "end": { + "line": 14, + "column": 64 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tokenFetcher", + "start": 590, + "end": 602, + "loc": { + "start": { + "line": 14, + "column": 64 + }, + "end": { + "line": 14, + "column": 76 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 602, + "end": 603, + "loc": { + "start": { + "line": 14, + "column": 76 + }, + "end": { + "line": 14, + "column": 77 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 603, + "end": 604, + "loc": { + "start": { + "line": 14, + "column": 77 + }, + "end": { + "line": 14, + "column": 78 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 613, + "end": 619, + "loc": { + "start": { + "line": 15, + "column": 8 + }, + "end": { + "line": 15, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clientCredentialsFlow", + "start": 620, + "end": 641, + "loc": { + "start": { + "line": 15, + "column": 15 + }, + "end": { + "line": 15, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 641, + "end": 642, + "loc": { + "start": { + "line": 15, + "column": 36 + }, + "end": { + "line": 15, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchAccessToken", + "start": 642, + "end": 658, + "loc": { + "start": { + "line": 15, + "column": 37 + }, + "end": { + "line": 15, + "column": 53 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 658, + "end": 659, + "loc": { + "start": { + "line": 15, + "column": 53 + }, + "end": { + "line": 15, + "column": 54 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 659, + "end": 660, + "loc": { + "start": { + "line": 15, + "column": 54 + }, + "end": { + "line": 15, + "column": 55 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 660, + "end": 661, + "loc": { + "start": { + "line": 15, + "column": 55 + }, + "end": { + "line": 15, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 661, + "end": 665, + "loc": { + "start": { + "line": 15, + "column": 56 + }, + "end": { + "line": 15, + "column": 60 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 665, + "end": 666, + "loc": { + "start": { + "line": 15, + "column": 60 + }, + "end": { + "line": 15, + "column": 61 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 666, + "end": 674, + "loc": { + "start": { + "line": 15, + "column": 61 + }, + "end": { + "line": 15, + "column": 69 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 675, + "end": 677, + "loc": { + "start": { + "line": 15, + "column": 70 + }, + "end": { + "line": 15, + "column": 72 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 678, + "end": 679, + "loc": { + "start": { + "line": 15, + "column": 73 + }, + "end": { + "line": 15, + "column": 74 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 690, + "end": 695, + "loc": { + "start": { + "line": 16, + "column": 10 + }, + "end": { + "line": 16, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "access_token", + "start": 696, + "end": 708, + "loc": { + "start": { + "line": 16, + "column": 16 + }, + "end": { + "line": 16, + "column": 28 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 709, + "end": 710, + "loc": { + "start": { + "line": 16, + "column": 29 + }, + "end": { + "line": 16, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 711, + "end": 719, + "loc": { + "start": { + "line": 16, + "column": 31 + }, + "end": { + "line": 16, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 719, + "end": 720, + "loc": { + "start": { + "line": 16, + "column": 39 + }, + "end": { + "line": 16, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 720, + "end": 724, + "loc": { + "start": { + "line": 16, + "column": 40 + }, + "end": { + "line": 16, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 724, + "end": 725, + "loc": { + "start": { + "line": 16, + "column": 44 + }, + "end": { + "line": 16, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "access_token", + "start": 725, + "end": 737, + "loc": { + "start": { + "line": 16, + "column": 45 + }, + "end": { + "line": 16, + "column": 57 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 737, + "end": 738, + "loc": { + "start": { + "line": 16, + "column": 57 + }, + "end": { + "line": 16, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "access_token", + "start": 749, + "end": 761, + "loc": { + "start": { + "line": 17, + "column": 10 + }, + "end": { + "line": 17, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 761, + "end": 762, + "loc": { + "start": { + "line": 17, + "column": 22 + }, + "end": { + "line": 17, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 762, + "end": 768, + "loc": { + "start": { + "line": 17, + "column": 23 + }, + "end": { + "line": 17, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 768, + "end": 769, + "loc": { + "start": { + "line": 17, + "column": 29 + }, + "end": { + "line": 17, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 769, + "end": 771, + "loc": { + "start": { + "line": 17, + "column": 30 + }, + "end": { + "line": 17, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 771, + "end": 772, + "loc": { + "start": { + "line": 17, + "column": 32 + }, + "end": { + "line": 17, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ok", + "start": 772, + "end": 774, + "loc": { + "start": { + "line": 17, + "column": 33 + }, + "end": { + "line": 17, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 774, + "end": 775, + "loc": { + "start": { + "line": 17, + "column": 35 + }, + "end": { + "line": 17, + "column": 36 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 784, + "end": 785, + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 785, + "end": 786, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 10 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 786, + "end": 787, + "loc": { + "start": { + "line": 18, + "column": 10 + }, + "end": { + "line": 18, + "column": 11 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 794, + "end": 795, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 795, + "end": 796, + "loc": { + "start": { + "line": 19, + "column": 7 + }, + "end": { + "line": 19, + "column": 8 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 796, + "end": 797, + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 802, + "end": 803, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 5 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 803, + "end": 804, + "loc": { + "start": { + "line": 20, + "column": 5 + }, + "end": { + "line": 20, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 804, + "end": 805, + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 20, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 808, + "end": 809, + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 21, + "column": 3 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 809, + "end": 810, + "loc": { + "start": { + "line": 21, + "column": 3 + }, + "end": { + "line": 21, + "column": 4 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 810, + "end": 811, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 812, + "end": 813, + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 22, + "column": 1 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 813, + "end": 814, + "loc": { + "start": { + "line": 22, + "column": 1 + }, + "end": { + "line": 22, + "column": 2 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 814, + "end": 815, + "loc": { + "start": { + "line": 22, + "column": 2 + }, + "end": { + "line": 22, + "column": 3 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 816, + "end": 816, + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 23, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/test/sdktest.js.json b/docs/ast/source/test/sdktest.js.json new file mode 100644 index 0000000..16a7bda --- /dev/null +++ b/docs/ast/source/test/sdktest.js.json @@ -0,0 +1,35368 @@ +{ + "type": "File", + "start": 0, + "end": 5414, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 154, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 5414, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 154, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 0, + "end": 28, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 28 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 7, + "end": 13, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 13 + } + }, + "local": { + "type": "Identifier", + "start": 7, + "end": 13, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 13 + }, + "identifierName": "should" + }, + "name": "should" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 19, + "end": 27, + "loc": { + "start": { + "line": 1, + "column": 19 + }, + "end": { + "line": 1, + "column": 27 + } + }, + "extra": { + "rawValue": "should", + "raw": "'should'" + }, + "value": "should" + } + }, + { + "type": "ImportDeclaration", + "start": 29, + "end": 61, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 32 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 38, + "end": 42, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 13 + } + }, + "imported": { + "type": "Identifier", + "start": 38, + "end": 42, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 13 + }, + "identifierName": "Auth" + }, + "name": "Auth" + }, + "local": { + "type": "Identifier", + "start": 38, + "end": 42, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 13 + }, + "identifierName": "Auth" + }, + "name": "Auth" + } + }, + { + "type": "ImportSpecifier", + "start": 44, + "end": 47, + "loc": { + "start": { + "line": 2, + "column": 15 + }, + "end": { + "line": 2, + "column": 18 + } + }, + "imported": { + "type": "Identifier", + "start": 44, + "end": 47, + "loc": { + "start": { + "line": 2, + "column": 15 + }, + "end": { + "line": 2, + "column": 18 + }, + "identifierName": "Api" + }, + "name": "Api" + }, + "local": { + "type": "Identifier", + "start": 44, + "end": 47, + "loc": { + "start": { + "line": 2, + "column": 15 + }, + "end": { + "line": 2, + "column": 18 + }, + "identifierName": "Api" + }, + "name": "Api" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 55, + "end": 60, + "loc": { + "start": { + "line": 2, + "column": 26 + }, + "end": { + "line": 2, + "column": 31 + } + }, + "extra": { + "rawValue": "../", + "raw": "'../'" + }, + "value": "../" + } + }, + { + "type": "ImportDeclaration", + "start": 62, + "end": 116, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 54 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 71, + "end": 80, + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 3, + "column": 18 + } + }, + "imported": { + "type": "Identifier", + "start": 71, + "end": 80, + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 3, + "column": 18 + }, + "identifierName": "kkbox_sdk" + }, + "name": "kkbox_sdk" + }, + "local": { + "type": "Identifier", + "start": 71, + "end": 80, + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 3, + "column": 18 + }, + "identifierName": "kkbox_sdk" + }, + "name": "kkbox_sdk" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 88, + "end": 115, + "loc": { + "start": { + "line": 3, + "column": 26 + }, + "end": { + "line": 3, + "column": 53 + } + }, + "extra": { + "rawValue": "../../client_secrets.json", + "raw": "'../../client_secrets.json'" + }, + "value": "../../client_secrets.json" + } + }, + { + "type": "VariableDeclaration", + "start": 118, + "end": 156, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 38 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 124, + "end": 155, + "loc": { + "start": { + "line": 5, + "column": 6 + }, + "end": { + "line": 5, + "column": 37 + } + }, + "id": { + "type": "Identifier", + "start": 124, + "end": 133, + "loc": { + "start": { + "line": 5, + "column": 6 + }, + "end": { + "line": 5, + "column": 15 + }, + "identifierName": "CLIENT_ID" + }, + "name": "CLIENT_ID" + }, + "init": { + "type": "MemberExpression", + "start": 136, + "end": 155, + "loc": { + "start": { + "line": 5, + "column": 18 + }, + "end": { + "line": 5, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 136, + "end": 145, + "loc": { + "start": { + "line": 5, + "column": 18 + }, + "end": { + "line": 5, + "column": 27 + }, + "identifierName": "kkbox_sdk" + }, + "name": "kkbox_sdk" + }, + "property": { + "type": "Identifier", + "start": 146, + "end": 155, + "loc": { + "start": { + "line": 5, + "column": 28 + }, + "end": { + "line": 5, + "column": 37 + }, + "identifierName": "client_id" + }, + "name": "client_id" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 157, + "end": 203, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 46 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 163, + "end": 202, + "loc": { + "start": { + "line": 6, + "column": 6 + }, + "end": { + "line": 6, + "column": 45 + } + }, + "id": { + "type": "Identifier", + "start": 163, + "end": 176, + "loc": { + "start": { + "line": 6, + "column": 6 + }, + "end": { + "line": 6, + "column": 19 + }, + "identifierName": "CLIENT_SECRET" + }, + "name": "CLIENT_SECRET" + }, + "init": { + "type": "MemberExpression", + "start": 179, + "end": 202, + "loc": { + "start": { + "line": 6, + "column": 22 + }, + "end": { + "line": 6, + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 179, + "end": 188, + "loc": { + "start": { + "line": 6, + "column": 22 + }, + "end": { + "line": 6, + "column": 31 + }, + "identifierName": "kkbox_sdk" + }, + "name": "kkbox_sdk" + }, + "property": { + "type": "Identifier", + "start": 189, + "end": 202, + "loc": { + "start": { + "line": 6, + "column": 32 + }, + "end": { + "line": 6, + "column": 45 + }, + "identifierName": "client_secret" + }, + "name": "client_secret" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 205, + "end": 5413, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 153, + "column": 3 + } + }, + "expression": { + "type": "CallExpression", + "start": 205, + "end": 5412, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 153, + "column": 2 + } + }, + "callee": { + "type": "Identifier", + "start": 205, + "end": 213, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 8 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 214, + "end": 233, + "loc": { + "start": { + "line": 8, + "column": 9 + }, + "end": { + "line": 8, + "column": 28 + } + }, + "extra": { + "rawValue": "SDK Begin to Test", + "raw": "'SDK Begin to Test'" + }, + "value": "SDK Begin to Test" + }, + { + "type": "ArrowFunctionExpression", + "start": 235, + "end": 5411, + "loc": { + "start": { + "line": 8, + "column": 30 + }, + "end": { + "line": 153, + "column": 1 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 241, + "end": 5411, + "loc": { + "start": { + "line": 8, + "column": 36 + }, + "end": { + "line": 153, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 245, + "end": 5409, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 152, + "column": 5 + } + }, + "expression": { + "type": "CallExpression", + "start": 245, + "end": 5408, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 152, + "column": 4 + } + }, + "callee": { + "type": "Identifier", + "start": 245, + "end": 253, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 9, + "column": 10 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 254, + "end": 260, + "loc": { + "start": { + "line": 9, + "column": 11 + }, + "end": { + "line": 9, + "column": 17 + } + }, + "extra": { + "rawValue": "Auth", + "raw": "'Auth'" + }, + "value": "Auth" + }, + { + "type": "ArrowFunctionExpression", + "start": 262, + "end": 5407, + "loc": { + "start": { + "line": 9, + "column": 19 + }, + "end": { + "line": 152, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 268, + "end": 5407, + "loc": { + "start": { + "line": 9, + "column": 25 + }, + "end": { + "line": 152, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 274, + "end": 5403, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 151, + "column": 7 + } + }, + "expression": { + "type": "CallExpression", + "start": 274, + "end": 5402, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 151, + "column": 6 + } + }, + "callee": { + "type": "Identifier", + "start": 274, + "end": 276, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 10, + "column": 6 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 277, + "end": 302, + "loc": { + "start": { + "line": 10, + "column": 7 + }, + "end": { + "line": 10, + "column": 32 + } + }, + "extra": { + "rawValue": "should get access token", + "raw": "'should get access token'" + }, + "value": "should get access token" + }, + { + "type": "ArrowFunctionExpression", + "start": 304, + "end": 5401, + "loc": { + "start": { + "line": 10, + "column": 34 + }, + "end": { + "line": 151, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 310, + "end": 5401, + "loc": { + "start": { + "line": 10, + "column": 40 + }, + "end": { + "line": 151, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 318, + "end": 366, + "loc": { + "start": { + "line": 11, + "column": 6 + }, + "end": { + "line": 11, + "column": 54 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 324, + "end": 365, + "loc": { + "start": { + "line": 11, + "column": 12 + }, + "end": { + "line": 11, + "column": 53 + } + }, + "id": { + "type": "Identifier", + "start": 324, + "end": 328, + "loc": { + "start": { + "line": 11, + "column": 12 + }, + "end": { + "line": 11, + "column": 16 + }, + "identifierName": "auth" + }, + "name": "auth" + }, + "init": { + "type": "NewExpression", + "start": 331, + "end": 365, + "loc": { + "start": { + "line": 11, + "column": 19 + }, + "end": { + "line": 11, + "column": 53 + } + }, + "callee": { + "type": "Identifier", + "start": 335, + "end": 339, + "loc": { + "start": { + "line": 11, + "column": 23 + }, + "end": { + "line": 11, + "column": 27 + }, + "identifierName": "Auth" + }, + "name": "Auth" + }, + "arguments": [ + { + "type": "Identifier", + "start": 340, + "end": 349, + "loc": { + "start": { + "line": 11, + "column": 28 + }, + "end": { + "line": 11, + "column": 37 + }, + "identifierName": "CLIENT_ID" + }, + "name": "CLIENT_ID" + }, + { + "type": "Identifier", + "start": 351, + "end": 364, + "loc": { + "start": { + "line": 11, + "column": 39 + }, + "end": { + "line": 11, + "column": 52 + }, + "identifierName": "CLIENT_SECRET" + }, + "name": "CLIENT_SECRET" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ReturnStatement", + "start": 373, + "end": 5395, + "loc": { + "start": { + "line": 12, + "column": 6 + }, + "end": { + "line": 150, + "column": 9 + } + }, + "argument": { + "type": "CallExpression", + "start": 380, + "end": 5394, + "loc": { + "start": { + "line": 12, + "column": 13 + }, + "end": { + "line": 150, + "column": 8 + } + }, + "callee": { + "type": "MemberExpression", + "start": 380, + "end": 430, + "loc": { + "start": { + "line": 12, + "column": 13 + }, + "end": { + "line": 12, + "column": 63 + } + }, + "object": { + "type": "CallExpression", + "start": 380, + "end": 425, + "loc": { + "start": { + "line": 12, + "column": 13 + }, + "end": { + "line": 12, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 380, + "end": 423, + "loc": { + "start": { + "line": 12, + "column": 13 + }, + "end": { + "line": 12, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 380, + "end": 406, + "loc": { + "start": { + "line": 12, + "column": 13 + }, + "end": { + "line": 12, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 380, + "end": 384, + "loc": { + "start": { + "line": 12, + "column": 13 + }, + "end": { + "line": 12, + "column": 17 + }, + "identifierName": "auth" + }, + "name": "auth" + }, + "property": { + "type": "Identifier", + "start": 385, + "end": 406, + "loc": { + "start": { + "line": 12, + "column": 18 + }, + "end": { + "line": 12, + "column": 39 + }, + "identifierName": "clientCredentialsFlow" + }, + "name": "clientCredentialsFlow" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 407, + "end": 423, + "loc": { + "start": { + "line": 12, + "column": 40 + }, + "end": { + "line": 12, + "column": 56 + }, + "identifierName": "fetchAccessToken" + }, + "name": "fetchAccessToken" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 426, + "end": 430, + "loc": { + "start": { + "line": 12, + "column": 59 + }, + "end": { + "line": 12, + "column": 63 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 431, + "end": 5393, + "loc": { + "start": { + "line": 12, + "column": 64 + }, + "end": { + "line": 150, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 431, + "end": 439, + "loc": { + "start": { + "line": 12, + "column": 64 + }, + "end": { + "line": 12, + "column": 72 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 443, + "end": 5393, + "loc": { + "start": { + "line": 12, + "column": 76 + }, + "end": { + "line": 150, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 453, + "end": 1202, + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 35, + "column": 11 + } + }, + "expression": { + "type": "CallExpression", + "start": 453, + "end": 1201, + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 35, + "column": 10 + } + }, + "callee": { + "type": "Identifier", + "start": 453, + "end": 461, + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 16 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 462, + "end": 483, + "loc": { + "start": { + "line": 13, + "column": 17 + }, + "end": { + "line": 13, + "column": 38 + } + }, + "extra": { + "rawValue": "Api With Fake Token", + "raw": "'Api With Fake Token'" + }, + "value": "Api With Fake Token" + }, + { + "type": "ArrowFunctionExpression", + "start": 485, + "end": 1200, + "loc": { + "start": { + "line": 13, + "column": 40 + }, + "end": { + "line": 35, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 491, + "end": 1200, + "loc": { + "start": { + "line": 13, + "column": 46 + }, + "end": { + "line": 35, + "column": 9 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 503, + "end": 543, + "loc": { + "start": { + "line": 14, + "column": 10 + }, + "end": { + "line": 14, + "column": 50 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 509, + "end": 542, + "loc": { + "start": { + "line": 14, + "column": 16 + }, + "end": { + "line": 14, + "column": 49 + } + }, + "id": { + "type": "Identifier", + "start": 509, + "end": 512, + "loc": { + "start": { + "line": 14, + "column": 16 + }, + "end": { + "line": 14, + "column": 19 + }, + "identifierName": "api" + }, + "name": "api" + }, + "init": { + "type": "NewExpression", + "start": 515, + "end": 542, + "loc": { + "start": { + "line": 14, + "column": 22 + }, + "end": { + "line": 14, + "column": 49 + } + }, + "callee": { + "type": "Identifier", + "start": 519, + "end": 522, + "loc": { + "start": { + "line": 14, + "column": 26 + }, + "end": { + "line": 14, + "column": 29 + }, + "identifierName": "Api" + }, + "name": "Api" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 523, + "end": 535, + "loc": { + "start": { + "line": 14, + "column": 30 + }, + "end": { + "line": 14, + "column": 42 + } + }, + "extra": { + "rawValue": "FAKE_TOKEN", + "raw": "'FAKE_TOKEN'" + }, + "value": "FAKE_TOKEN" + }, + { + "type": "StringLiteral", + "start": 537, + "end": 541, + "loc": { + "start": { + "line": 14, + "column": 44 + }, + "end": { + "line": 14, + "column": 48 + } + }, + "extra": { + "rawValue": "HK", + "raw": "'HK'" + }, + "value": "HK" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 554, + "end": 752, + "loc": { + "start": { + "line": 15, + "column": 10 + }, + "end": { + "line": 20, + "column": 13 + } + }, + "expression": { + "type": "CallExpression", + "start": 554, + "end": 751, + "loc": { + "start": { + "line": 15, + "column": 10 + }, + "end": { + "line": 20, + "column": 12 + } + }, + "callee": { + "type": "Identifier", + "start": 554, + "end": 562, + "loc": { + "start": { + "line": 15, + "column": 10 + }, + "end": { + "line": 15, + "column": 18 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 563, + "end": 582, + "loc": { + "start": { + "line": 15, + "column": 19 + }, + "end": { + "line": 15, + "column": 38 + } + }, + "extra": { + "rawValue": "Property checking", + "raw": "'Property checking'" + }, + "value": "Property checking" + }, + { + "type": "ArrowFunctionExpression", + "start": 584, + "end": 750, + "loc": { + "start": { + "line": 15, + "column": 40 + }, + "end": { + "line": 20, + "column": 11 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 590, + "end": 750, + "loc": { + "start": { + "line": 15, + "column": 46 + }, + "end": { + "line": 20, + "column": 11 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 604, + "end": 738, + "loc": { + "start": { + "line": 16, + "column": 12 + }, + "end": { + "line": 19, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 604, + "end": 737, + "loc": { + "start": { + "line": 16, + "column": 12 + }, + "end": { + "line": 19, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 604, + "end": 606, + "loc": { + "start": { + "line": 16, + "column": 12 + }, + "end": { + "line": 16, + "column": 14 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 607, + "end": 636, + "loc": { + "start": { + "line": 16, + "column": 15 + }, + "end": { + "line": 16, + "column": 44 + } + }, + "extra": { + "rawValue": "should have HK as territory", + "raw": "'should have HK as territory'" + }, + "value": "should have HK as territory" + }, + { + "type": "ArrowFunctionExpression", + "start": 638, + "end": 736, + "loc": { + "start": { + "line": 16, + "column": 46 + }, + "end": { + "line": 19, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 638, + "end": 642, + "loc": { + "start": { + "line": 16, + "column": 46 + }, + "end": { + "line": 16, + "column": 50 + }, + "identifierName": "done" + }, + "name": "done" + } + ], + "body": { + "type": "BlockStatement", + "start": 646, + "end": 736, + "loc": { + "start": { + "line": 16, + "column": 54 + }, + "end": { + "line": 19, + "column": 13 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 662, + "end": 700, + "loc": { + "start": { + "line": 17, + "column": 14 + }, + "end": { + "line": 17, + "column": 52 + } + }, + "expression": { + "type": "CallExpression", + "start": 662, + "end": 699, + "loc": { + "start": { + "line": 17, + "column": 14 + }, + "end": { + "line": 17, + "column": 51 + } + }, + "callee": { + "type": "MemberExpression", + "start": 662, + "end": 693, + "loc": { + "start": { + "line": 17, + "column": 14 + }, + "end": { + "line": 17, + "column": 45 + } + }, + "object": { + "type": "MemberExpression", + "start": 662, + "end": 685, + "loc": { + "start": { + "line": 17, + "column": 14 + }, + "end": { + "line": 17, + "column": 37 + } + }, + "object": { + "type": "MemberExpression", + "start": 662, + "end": 682, + "loc": { + "start": { + "line": 17, + "column": 14 + }, + "end": { + "line": 17, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 662, + "end": 675, + "loc": { + "start": { + "line": 17, + "column": 14 + }, + "end": { + "line": 17, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 662, + "end": 665, + "loc": { + "start": { + "line": 17, + "column": 14 + }, + "end": { + "line": 17, + "column": 17 + }, + "identifierName": "api" + }, + "name": "api" + }, + "property": { + "type": "Identifier", + "start": 666, + "end": 675, + "loc": { + "start": { + "line": 17, + "column": 18 + }, + "end": { + "line": 17, + "column": 27 + }, + "identifierName": "territory" + }, + "name": "territory" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 676, + "end": 682, + "loc": { + "start": { + "line": 17, + "column": 28 + }, + "end": { + "line": 17, + "column": 34 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 683, + "end": 685, + "loc": { + "start": { + "line": 17, + "column": 35 + }, + "end": { + "line": 17, + "column": 37 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 686, + "end": 693, + "loc": { + "start": { + "line": 17, + "column": 38 + }, + "end": { + "line": 17, + "column": 45 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 694, + "end": 698, + "loc": { + "start": { + "line": 17, + "column": 46 + }, + "end": { + "line": 17, + "column": 50 + } + }, + "extra": { + "rawValue": "HK", + "raw": "'HK'" + }, + "value": "HK" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 715, + "end": 722, + "loc": { + "start": { + "line": 18, + "column": 14 + }, + "end": { + "line": 18, + "column": 21 + } + }, + "expression": { + "type": "CallExpression", + "start": 715, + "end": 721, + "loc": { + "start": { + "line": 18, + "column": 14 + }, + "end": { + "line": 18, + "column": 20 + } + }, + "callee": { + "type": "Identifier", + "start": 715, + "end": 719, + "loc": { + "start": { + "line": 18, + "column": 14 + }, + "end": { + "line": 18, + "column": 18 + }, + "identifierName": "done" + }, + "name": "done" + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 764, + "end": 1190, + "loc": { + "start": { + "line": 22, + "column": 10 + }, + "end": { + "line": 34, + "column": 13 + } + }, + "expression": { + "type": "CallExpression", + "start": 764, + "end": 1189, + "loc": { + "start": { + "line": 22, + "column": 10 + }, + "end": { + "line": 34, + "column": 12 + } + }, + "callee": { + "type": "Identifier", + "start": 764, + "end": 772, + "loc": { + "start": { + "line": 22, + "column": 10 + }, + "end": { + "line": 22, + "column": 18 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 773, + "end": 797, + "loc": { + "start": { + "line": 22, + "column": 19 + }, + "end": { + "line": 22, + "column": 43 + } + }, + "extra": { + "rawValue": "Search with fake token", + "raw": "'Search with fake token'" + }, + "value": "Search with fake token" + }, + { + "type": "ArrowFunctionExpression", + "start": 799, + "end": 1188, + "loc": { + "start": { + "line": 22, + "column": 45 + }, + "end": { + "line": 34, + "column": 11 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 805, + "end": 1188, + "loc": { + "start": { + "line": 22, + "column": 51 + }, + "end": { + "line": 34, + "column": 11 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 819, + "end": 1176, + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 33, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 819, + "end": 1175, + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 33, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 819, + "end": 821, + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 23, + "column": 14 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 822, + "end": 835, + "loc": { + "start": { + "line": 23, + "column": 15 + }, + "end": { + "line": 23, + "column": 28 + } + }, + "extra": { + "rawValue": "should fail", + "raw": "'should fail'" + }, + "value": "should fail" + }, + { + "type": "ArrowFunctionExpression", + "start": 837, + "end": 1174, + "loc": { + "start": { + "line": 23, + "column": 30 + }, + "end": { + "line": 33, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 843, + "end": 1174, + "loc": { + "start": { + "line": 23, + "column": 36 + }, + "end": { + "line": 33, + "column": 13 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 859, + "end": 1160, + "loc": { + "start": { + "line": 24, + "column": 14 + }, + "end": { + "line": 32, + "column": 19 + } + }, + "argument": { + "type": "CallExpression", + "start": 866, + "end": 1159, + "loc": { + "start": { + "line": 24, + "column": 21 + }, + "end": { + "line": 32, + "column": 18 + } + }, + "callee": { + "type": "MemberExpression", + "start": 866, + "end": 1089, + "loc": { + "start": { + "line": 24, + "column": 21 + }, + "end": { + "line": 30, + "column": 22 + } + }, + "object": { + "type": "CallExpression", + "start": 866, + "end": 1066, + "loc": { + "start": { + "line": 24, + "column": 21 + }, + "end": { + "line": 29, + "column": 18 + } + }, + "callee": { + "type": "MemberExpression", + "start": 866, + "end": 986, + "loc": { + "start": { + "line": 24, + "column": 21 + }, + "end": { + "line": 27, + "column": 21 + } + }, + "object": { + "type": "CallExpression", + "start": 866, + "end": 964, + "loc": { + "start": { + "line": 24, + "column": 21 + }, + "end": { + "line": 26, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 866, + "end": 962, + "loc": { + "start": { + "line": 24, + "column": 21 + }, + "end": { + "line": 26, + "column": 34 + } + }, + "object": { + "type": "CallExpression", + "start": 866, + "end": 927, + "loc": { + "start": { + "line": 24, + "column": 21 + }, + "end": { + "line": 25, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 866, + "end": 918, + "loc": { + "start": { + "line": 24, + "column": 21 + }, + "end": { + "line": 25, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 866, + "end": 883, + "loc": { + "start": { + "line": 24, + "column": 21 + }, + "end": { + "line": 24, + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 866, + "end": 869, + "loc": { + "start": { + "line": 24, + "column": 21 + }, + "end": { + "line": 24, + "column": 24 + }, + "identifierName": "api" + }, + "name": "api" + }, + "property": { + "type": "Identifier", + "start": 870, + "end": 883, + "loc": { + "start": { + "line": 24, + "column": 25 + }, + "end": { + "line": 24, + "column": 38 + }, + "identifierName": "searchFetcher" + }, + "name": "searchFetcher" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 901, + "end": 918, + "loc": { + "start": { + "line": 25, + "column": 17 + }, + "end": { + "line": 25, + "column": 34 + }, + "identifierName": "setSearchCriteria" + }, + "name": "setSearchCriteria" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 919, + "end": 926, + "loc": { + "start": { + "line": 25, + "column": 35 + }, + "end": { + "line": 25, + "column": 42 + } + }, + "extra": { + "rawValue": "flash", + "raw": "'flash'" + }, + "value": "flash" + } + ] + }, + "property": { + "type": "Identifier", + "start": 945, + "end": 962, + "loc": { + "start": { + "line": 26, + "column": 17 + }, + "end": { + "line": 26, + "column": 34 + }, + "identifierName": "fetchSearchResult" + }, + "name": "fetchSearchResult" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 982, + "end": 986, + "loc": { + "start": { + "line": 27, + "column": 17 + }, + "end": { + "line": 27, + "column": 21 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 987, + "end": 1065, + "loc": { + "start": { + "line": 27, + "column": 22 + }, + "end": { + "line": 29, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 987, + "end": 995, + "loc": { + "start": { + "line": 27, + "column": 22 + }, + "end": { + "line": 27, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "BlockStatement", + "start": 999, + "end": 1065, + "loc": { + "start": { + "line": 27, + "column": 34 + }, + "end": { + "line": 29, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1019, + "end": 1047, + "loc": { + "start": { + "line": 28, + "column": 18 + }, + "end": { + "line": 28, + "column": 46 + } + }, + "expression": { + "type": "CallExpression", + "start": 1019, + "end": 1046, + "loc": { + "start": { + "line": 28, + "column": 18 + }, + "end": { + "line": 28, + "column": 45 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1019, + "end": 1036, + "loc": { + "start": { + "line": 28, + "column": 18 + }, + "end": { + "line": 28, + "column": 35 + } + }, + "object": { + "type": "MemberExpression", + "start": 1019, + "end": 1029, + "loc": { + "start": { + "line": 28, + "column": 18 + }, + "end": { + "line": 28, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 1019, + "end": 1025, + "loc": { + "start": { + "line": 28, + "column": 18 + }, + "end": { + "line": 28, + "column": 24 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 1026, + "end": 1029, + "loc": { + "start": { + "line": 28, + "column": 25 + }, + "end": { + "line": 28, + "column": 28 + }, + "identifierName": "not" + }, + "name": "not" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1030, + "end": 1036, + "loc": { + "start": { + "line": 28, + "column": 29 + }, + "end": { + "line": 28, + "column": 35 + }, + "identifierName": "exists" + }, + "name": "exists" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1037, + "end": 1045, + "loc": { + "start": { + "line": 28, + "column": 36 + }, + "end": { + "line": 28, + "column": 44 + }, + "identifierName": "response" + }, + "name": "response" + } + ] + } + } + ], + "directives": [] + } + } + ] + }, + "property": { + "type": "Identifier", + "start": 1084, + "end": 1089, + "loc": { + "start": { + "line": 30, + "column": 17 + }, + "end": { + "line": 30, + "column": 22 + }, + "identifierName": "catch" + }, + "name": "catch" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 1090, + "end": 1158, + "loc": { + "start": { + "line": 30, + "column": 23 + }, + "end": { + "line": 32, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1090, + "end": 1095, + "loc": { + "start": { + "line": 30, + "column": 23 + }, + "end": { + "line": 30, + "column": 28 + }, + "identifierName": "error" + }, + "name": "error" + } + ], + "body": { + "type": "BlockStatement", + "start": 1099, + "end": 1158, + "loc": { + "start": { + "line": 30, + "column": 32 + }, + "end": { + "line": 32, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1119, + "end": 1140, + "loc": { + "start": { + "line": 31, + "column": 18 + }, + "end": { + "line": 31, + "column": 39 + } + }, + "expression": { + "type": "CallExpression", + "start": 1119, + "end": 1139, + "loc": { + "start": { + "line": 31, + "column": 18 + }, + "end": { + "line": 31, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1119, + "end": 1132, + "loc": { + "start": { + "line": 31, + "column": 18 + }, + "end": { + "line": 31, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 1119, + "end": 1125, + "loc": { + "start": { + "line": 31, + "column": 18 + }, + "end": { + "line": 31, + "column": 24 + }, + "identifierName": "should" + }, + "name": "should" + }, + "property": { + "type": "Identifier", + "start": 1126, + "end": 1132, + "loc": { + "start": { + "line": 31, + "column": 25 + }, + "end": { + "line": 31, + "column": 31 + }, + "identifierName": "exists" + }, + "name": "exists" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1133, + "end": 1138, + "loc": { + "start": { + "line": 31, + "column": 32 + }, + "end": { + "line": 31, + "column": 37 + }, + "identifierName": "error" + }, + "name": "error" + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "VariableDeclaration", + "start": 1212, + "end": 1260, + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 56 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1218, + "end": 1259, + "loc": { + "start": { + "line": 37, + "column": 14 + }, + "end": { + "line": 37, + "column": 55 + } + }, + "id": { + "type": "Identifier", + "start": 1218, + "end": 1230, + "loc": { + "start": { + "line": 37, + "column": 14 + }, + "end": { + "line": 37, + "column": 26 + }, + "identifierName": "access_token" + }, + "name": "access_token" + }, + "init": { + "type": "MemberExpression", + "start": 1233, + "end": 1259, + "loc": { + "start": { + "line": 37, + "column": 29 + }, + "end": { + "line": 37, + "column": 55 + } + }, + "object": { + "type": "MemberExpression", + "start": 1233, + "end": 1246, + "loc": { + "start": { + "line": 37, + "column": 29 + }, + "end": { + "line": 37, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 1233, + "end": 1241, + "loc": { + "start": { + "line": 37, + "column": 29 + }, + "end": { + "line": 37, + "column": 37 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 1242, + "end": 1246, + "loc": { + "start": { + "line": 37, + "column": 38 + }, + "end": { + "line": 37, + "column": 42 + }, + "identifierName": "data" + }, + "name": "data" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1247, + "end": 1259, + "loc": { + "start": { + "line": 37, + "column": 43 + }, + "end": { + "line": 37, + "column": 55 + }, + "identifierName": "access_token" + }, + "name": "access_token" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 1269, + "end": 1295, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 34 + } + }, + "expression": { + "type": "MemberExpression", + "start": 1269, + "end": 1294, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 33 + } + }, + "object": { + "type": "MemberExpression", + "start": 1269, + "end": 1291, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 30 + } + }, + "object": { + "type": "MemberExpression", + "start": 1269, + "end": 1288, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 1269, + "end": 1281, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 20 + }, + "identifierName": "access_token" + }, + "name": "access_token" + }, + "property": { + "type": "Identifier", + "start": 1282, + "end": 1288, + "loc": { + "start": { + "line": 38, + "column": 21 + }, + "end": { + "line": 38, + "column": 27 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1289, + "end": 1291, + "loc": { + "start": { + "line": 38, + "column": 28 + }, + "end": { + "line": 38, + "column": 30 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1292, + "end": 1294, + "loc": { + "start": { + "line": 38, + "column": 31 + }, + "end": { + "line": 38, + "column": 33 + }, + "identifierName": "ok" + }, + "name": "ok" + }, + "computed": false + } + }, + { + "type": "ExpressionStatement", + "start": 1305, + "end": 5385, + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 149, + "column": 11 + } + }, + "expression": { + "type": "CallExpression", + "start": 1305, + "end": 5384, + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 149, + "column": 10 + } + }, + "callee": { + "type": "Identifier", + "start": 1305, + "end": 1313, + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 16 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1314, + "end": 1319, + "loc": { + "start": { + "line": 40, + "column": 17 + }, + "end": { + "line": 40, + "column": 22 + } + }, + "extra": { + "rawValue": "Api", + "raw": "'Api'" + }, + "value": "Api" + }, + { + "type": "ArrowFunctionExpression", + "start": 1321, + "end": 5383, + "loc": { + "start": { + "line": 40, + "column": 24 + }, + "end": { + "line": 149, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1327, + "end": 5383, + "loc": { + "start": { + "line": 40, + "column": 30 + }, + "end": { + "line": 149, + "column": 9 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 1339, + "end": 1379, + "loc": { + "start": { + "line": 41, + "column": 10 + }, + "end": { + "line": 41, + "column": 50 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1345, + "end": 1378, + "loc": { + "start": { + "line": 41, + "column": 16 + }, + "end": { + "line": 41, + "column": 49 + } + }, + "id": { + "type": "Identifier", + "start": 1345, + "end": 1348, + "loc": { + "start": { + "line": 41, + "column": 16 + }, + "end": { + "line": 41, + "column": 19 + }, + "identifierName": "api" + }, + "name": "api" + }, + "init": { + "type": "NewExpression", + "start": 1351, + "end": 1378, + "loc": { + "start": { + "line": 41, + "column": 22 + }, + "end": { + "line": 41, + "column": 49 + } + }, + "callee": { + "type": "Identifier", + "start": 1355, + "end": 1358, + "loc": { + "start": { + "line": 41, + "column": 26 + }, + "end": { + "line": 41, + "column": 29 + }, + "identifierName": "Api" + }, + "name": "Api" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1359, + "end": 1371, + "loc": { + "start": { + "line": 41, + "column": 30 + }, + "end": { + "line": 41, + "column": 42 + } + }, + "extra": { + "rawValue": "FAKE_TOKEN", + "raw": "'FAKE_TOKEN'" + }, + "value": "FAKE_TOKEN" + }, + { + "type": "StringLiteral", + "start": 1373, + "end": 1377, + "loc": { + "start": { + "line": 41, + "column": 44 + }, + "end": { + "line": 41, + "column": 48 + } + }, + "extra": { + "rawValue": "HK", + "raw": "'HK'" + }, + "value": "HK" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 1390, + "end": 1417, + "loc": { + "start": { + "line": 42, + "column": 10 + }, + "end": { + "line": 42, + "column": 37 + } + }, + "expression": { + "type": "CallExpression", + "start": 1390, + "end": 1416, + "loc": { + "start": { + "line": 42, + "column": 10 + }, + "end": { + "line": 42, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1390, + "end": 1402, + "loc": { + "start": { + "line": 42, + "column": 10 + }, + "end": { + "line": 42, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 1390, + "end": 1393, + "loc": { + "start": { + "line": 42, + "column": 10 + }, + "end": { + "line": 42, + "column": 13 + }, + "identifierName": "api" + }, + "name": "api" + }, + "property": { + "type": "Identifier", + "start": 1394, + "end": 1402, + "loc": { + "start": { + "line": 42, + "column": 14 + }, + "end": { + "line": 42, + "column": 22 + }, + "identifierName": "setToken" + }, + "name": "setToken" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1403, + "end": 1415, + "loc": { + "start": { + "line": 42, + "column": 23 + }, + "end": { + "line": 42, + "column": 35 + }, + "identifierName": "access_token" + }, + "name": "access_token" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 1428, + "end": 1732, + "loc": { + "start": { + "line": 43, + "column": 10 + }, + "end": { + "line": 50, + "column": 13 + } + }, + "expression": { + "type": "CallExpression", + "start": 1428, + "end": 1731, + "loc": { + "start": { + "line": 43, + "column": 10 + }, + "end": { + "line": 50, + "column": 12 + } + }, + "callee": { + "type": "Identifier", + "start": 1428, + "end": 1436, + "loc": { + "start": { + "line": 43, + "column": 10 + }, + "end": { + "line": 43, + "column": 18 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1437, + "end": 1445, + "loc": { + "start": { + "line": 43, + "column": 19 + }, + "end": { + "line": 43, + "column": 27 + } + }, + "extra": { + "rawValue": "Search", + "raw": "'Search'" + }, + "value": "Search" + }, + { + "type": "ArrowFunctionExpression", + "start": 1447, + "end": 1730, + "loc": { + "start": { + "line": 43, + "column": 29 + }, + "end": { + "line": 50, + "column": 11 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1453, + "end": 1730, + "loc": { + "start": { + "line": 43, + "column": 35 + }, + "end": { + "line": 50, + "column": 11 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1467, + "end": 1718, + "loc": { + "start": { + "line": 44, + "column": 12 + }, + "end": { + "line": 49, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 1467, + "end": 1717, + "loc": { + "start": { + "line": 44, + "column": 12 + }, + "end": { + "line": 49, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 1467, + "end": 1469, + "loc": { + "start": { + "line": 44, + "column": 12 + }, + "end": { + "line": 44, + "column": 14 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1470, + "end": 1498, + "loc": { + "start": { + "line": 44, + "column": 15 + }, + "end": { + "line": 44, + "column": 43 + } + }, + "extra": { + "rawValue": "should response status 200", + "raw": "'should response status 200'" + }, + "value": "should response status 200" + }, + { + "type": "ArrowFunctionExpression", + "start": 1500, + "end": 1716, + "loc": { + "start": { + "line": 44, + "column": 45 + }, + "end": { + "line": 49, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1506, + "end": 1716, + "loc": { + "start": { + "line": 44, + "column": 51 + }, + "end": { + "line": 49, + "column": 13 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1522, + "end": 1702, + "loc": { + "start": { + "line": 45, + "column": 14 + }, + "end": { + "line": 48, + "column": 74 + } + }, + "argument": { + "type": "CallExpression", + "start": 1529, + "end": 1701, + "loc": { + "start": { + "line": 45, + "column": 21 + }, + "end": { + "line": 48, + "column": 73 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1529, + "end": 1649, + "loc": { + "start": { + "line": 45, + "column": 21 + }, + "end": { + "line": 48, + "column": 21 + } + }, + "object": { + "type": "CallExpression", + "start": 1529, + "end": 1627, + "loc": { + "start": { + "line": 45, + "column": 21 + }, + "end": { + "line": 47, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1529, + "end": 1625, + "loc": { + "start": { + "line": 45, + "column": 21 + }, + "end": { + "line": 47, + "column": 34 + } + }, + "object": { + "type": "CallExpression", + "start": 1529, + "end": 1590, + "loc": { + "start": { + "line": 45, + "column": 21 + }, + "end": { + "line": 46, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1529, + "end": 1581, + "loc": { + "start": { + "line": 45, + "column": 21 + }, + "end": { + "line": 46, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 1529, + "end": 1546, + "loc": { + "start": { + "line": 45, + "column": 21 + }, + "end": { + "line": 45, + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 1529, + "end": 1532, + "loc": { + "start": { + "line": 45, + "column": 21 + }, + "end": { + "line": 45, + "column": 24 + }, + "identifierName": "api" + }, + "name": "api" + }, + "property": { + "type": "Identifier", + "start": 1533, + "end": 1546, + "loc": { + "start": { + "line": 45, + "column": 25 + }, + "end": { + "line": 45, + "column": 38 + }, + "identifierName": "searchFetcher" + }, + "name": "searchFetcher" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1564, + "end": 1581, + "loc": { + "start": { + "line": 46, + "column": 17 + }, + "end": { + "line": 46, + "column": 34 + }, + "identifierName": "setSearchCriteria" + }, + "name": "setSearchCriteria" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1582, + "end": 1589, + "loc": { + "start": { + "line": 46, + "column": 35 + }, + "end": { + "line": 46, + "column": 42 + } + }, + "extra": { + "rawValue": "flash", + "raw": "'flash'" + }, + "value": "flash" + } + ] + }, + "property": { + "type": "Identifier", + "start": 1608, + "end": 1625, + "loc": { + "start": { + "line": 47, + "column": 17 + }, + "end": { + "line": 47, + "column": 34 + }, + "identifierName": "fetchSearchResult" + }, + "name": "fetchSearchResult" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 1645, + "end": 1649, + "loc": { + "start": { + "line": 48, + "column": 17 + }, + "end": { + "line": 48, + "column": 21 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 1650, + "end": 1700, + "loc": { + "start": { + "line": 48, + "column": 22 + }, + "end": { + "line": 48, + "column": 72 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1650, + "end": 1658, + "loc": { + "start": { + "line": 48, + "column": 22 + }, + "end": { + "line": 48, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "CallExpression", + "start": 1662, + "end": 1700, + "loc": { + "start": { + "line": 48, + "column": 34 + }, + "end": { + "line": 48, + "column": 72 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1662, + "end": 1695, + "loc": { + "start": { + "line": 48, + "column": 34 + }, + "end": { + "line": 48, + "column": 67 + } + }, + "object": { + "type": "MemberExpression", + "start": 1662, + "end": 1687, + "loc": { + "start": { + "line": 48, + "column": 34 + }, + "end": { + "line": 48, + "column": 59 + } + }, + "object": { + "type": "MemberExpression", + "start": 1662, + "end": 1684, + "loc": { + "start": { + "line": 48, + "column": 34 + }, + "end": { + "line": 48, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 1662, + "end": 1677, + "loc": { + "start": { + "line": 48, + "column": 34 + }, + "end": { + "line": 48, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 1662, + "end": 1670, + "loc": { + "start": { + "line": 48, + "column": 34 + }, + "end": { + "line": 48, + "column": 42 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 1671, + "end": 1677, + "loc": { + "start": { + "line": 48, + "column": 43 + }, + "end": { + "line": 48, + "column": 49 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1678, + "end": 1684, + "loc": { + "start": { + "line": 48, + "column": 50 + }, + "end": { + "line": 48, + "column": 56 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1685, + "end": 1687, + "loc": { + "start": { + "line": 48, + "column": 57 + }, + "end": { + "line": 48, + "column": 59 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1688, + "end": 1695, + "loc": { + "start": { + "line": 48, + "column": 60 + }, + "end": { + "line": 48, + "column": 67 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 1696, + "end": 1699, + "loc": { + "start": { + "line": 48, + "column": 68 + }, + "end": { + "line": 48, + "column": 71 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 1744, + "end": 2048, + "loc": { + "start": { + "line": 52, + "column": 10 + }, + "end": { + "line": 59, + "column": 13 + } + }, + "expression": { + "type": "CallExpression", + "start": 1744, + "end": 2047, + "loc": { + "start": { + "line": 52, + "column": 10 + }, + "end": { + "line": 59, + "column": 12 + } + }, + "callee": { + "type": "Identifier", + "start": 1744, + "end": 1752, + "loc": { + "start": { + "line": 52, + "column": 10 + }, + "end": { + "line": 52, + "column": 18 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1753, + "end": 1760, + "loc": { + "start": { + "line": 52, + "column": 19 + }, + "end": { + "line": 52, + "column": 26 + } + }, + "extra": { + "rawValue": "Track", + "raw": "'Track'" + }, + "value": "Track" + }, + { + "type": "ArrowFunctionExpression", + "start": 1762, + "end": 2046, + "loc": { + "start": { + "line": 52, + "column": 28 + }, + "end": { + "line": 59, + "column": 11 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1768, + "end": 2046, + "loc": { + "start": { + "line": 52, + "column": 34 + }, + "end": { + "line": 59, + "column": 11 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1782, + "end": 2034, + "loc": { + "start": { + "line": 53, + "column": 12 + }, + "end": { + "line": 58, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 1782, + "end": 2033, + "loc": { + "start": { + "line": 53, + "column": 12 + }, + "end": { + "line": 58, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 1782, + "end": 1784, + "loc": { + "start": { + "line": 53, + "column": 12 + }, + "end": { + "line": 53, + "column": 14 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1785, + "end": 1813, + "loc": { + "start": { + "line": 53, + "column": 15 + }, + "end": { + "line": 53, + "column": 43 + } + }, + "extra": { + "rawValue": "should response status 200", + "raw": "'should response status 200'" + }, + "value": "should response status 200" + }, + { + "type": "ArrowFunctionExpression", + "start": 1815, + "end": 2032, + "loc": { + "start": { + "line": 53, + "column": 45 + }, + "end": { + "line": 58, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1821, + "end": 2032, + "loc": { + "start": { + "line": 53, + "column": 51 + }, + "end": { + "line": 58, + "column": 13 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1837, + "end": 2018, + "loc": { + "start": { + "line": 54, + "column": 14 + }, + "end": { + "line": 57, + "column": 74 + } + }, + "argument": { + "type": "CallExpression", + "start": 1844, + "end": 2017, + "loc": { + "start": { + "line": 54, + "column": 21 + }, + "end": { + "line": 57, + "column": 73 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1844, + "end": 1965, + "loc": { + "start": { + "line": 54, + "column": 21 + }, + "end": { + "line": 57, + "column": 21 + } + }, + "object": { + "type": "CallExpression", + "start": 1844, + "end": 1943, + "loc": { + "start": { + "line": 54, + "column": 21 + }, + "end": { + "line": 56, + "column": 32 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1844, + "end": 1941, + "loc": { + "start": { + "line": 54, + "column": 21 + }, + "end": { + "line": 56, + "column": 30 + } + }, + "object": { + "type": "CallExpression", + "start": 1844, + "end": 1910, + "loc": { + "start": { + "line": 54, + "column": 21 + }, + "end": { + "line": 55, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1844, + "end": 1888, + "loc": { + "start": { + "line": 54, + "column": 21 + }, + "end": { + "line": 55, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 1844, + "end": 1860, + "loc": { + "start": { + "line": 54, + "column": 21 + }, + "end": { + "line": 54, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 1844, + "end": 1847, + "loc": { + "start": { + "line": 54, + "column": 21 + }, + "end": { + "line": 54, + "column": 24 + }, + "identifierName": "api" + }, + "name": "api" + }, + "property": { + "type": "Identifier", + "start": 1848, + "end": 1860, + "loc": { + "start": { + "line": 54, + "column": 25 + }, + "end": { + "line": 54, + "column": 37 + }, + "identifierName": "trackFetcher" + }, + "name": "trackFetcher" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1878, + "end": 1888, + "loc": { + "start": { + "line": 55, + "column": 17 + }, + "end": { + "line": 55, + "column": 27 + }, + "identifierName": "setTrackID" + }, + "name": "setTrackID" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1889, + "end": 1909, + "loc": { + "start": { + "line": 55, + "column": 28 + }, + "end": { + "line": 55, + "column": 48 + } + }, + "extra": { + "rawValue": "KpnEGVHEsGgkoB0MBk", + "raw": "'KpnEGVHEsGgkoB0MBk'" + }, + "value": "KpnEGVHEsGgkoB0MBk" + } + ] + }, + "property": { + "type": "Identifier", + "start": 1928, + "end": 1941, + "loc": { + "start": { + "line": 56, + "column": 17 + }, + "end": { + "line": 56, + "column": 30 + }, + "identifierName": "fetchMetadata" + }, + "name": "fetchMetadata" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 1961, + "end": 1965, + "loc": { + "start": { + "line": 57, + "column": 17 + }, + "end": { + "line": 57, + "column": 21 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 1966, + "end": 2016, + "loc": { + "start": { + "line": 57, + "column": 22 + }, + "end": { + "line": 57, + "column": 72 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1966, + "end": 1974, + "loc": { + "start": { + "line": 57, + "column": 22 + }, + "end": { + "line": 57, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "CallExpression", + "start": 1978, + "end": 2016, + "loc": { + "start": { + "line": 57, + "column": 34 + }, + "end": { + "line": 57, + "column": 72 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1978, + "end": 2011, + "loc": { + "start": { + "line": 57, + "column": 34 + }, + "end": { + "line": 57, + "column": 67 + } + }, + "object": { + "type": "MemberExpression", + "start": 1978, + "end": 2003, + "loc": { + "start": { + "line": 57, + "column": 34 + }, + "end": { + "line": 57, + "column": 59 + } + }, + "object": { + "type": "MemberExpression", + "start": 1978, + "end": 2000, + "loc": { + "start": { + "line": 57, + "column": 34 + }, + "end": { + "line": 57, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 1978, + "end": 1993, + "loc": { + "start": { + "line": 57, + "column": 34 + }, + "end": { + "line": 57, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 1978, + "end": 1986, + "loc": { + "start": { + "line": 57, + "column": 34 + }, + "end": { + "line": 57, + "column": 42 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 1987, + "end": 1993, + "loc": { + "start": { + "line": 57, + "column": 43 + }, + "end": { + "line": 57, + "column": 49 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1994, + "end": 2000, + "loc": { + "start": { + "line": 57, + "column": 50 + }, + "end": { + "line": 57, + "column": 56 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2001, + "end": 2003, + "loc": { + "start": { + "line": 57, + "column": 57 + }, + "end": { + "line": 57, + "column": 59 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2004, + "end": 2011, + "loc": { + "start": { + "line": 57, + "column": 60 + }, + "end": { + "line": 57, + "column": 67 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 2012, + "end": 2015, + "loc": { + "start": { + "line": 57, + "column": 68 + }, + "end": { + "line": 57, + "column": 71 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 2060, + "end": 2364, + "loc": { + "start": { + "line": 61, + "column": 10 + }, + "end": { + "line": 68, + "column": 13 + } + }, + "expression": { + "type": "CallExpression", + "start": 2060, + "end": 2363, + "loc": { + "start": { + "line": 61, + "column": 10 + }, + "end": { + "line": 68, + "column": 12 + } + }, + "callee": { + "type": "Identifier", + "start": 2060, + "end": 2068, + "loc": { + "start": { + "line": 61, + "column": 10 + }, + "end": { + "line": 61, + "column": 18 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2069, + "end": 2076, + "loc": { + "start": { + "line": 61, + "column": 19 + }, + "end": { + "line": 61, + "column": 26 + } + }, + "extra": { + "rawValue": "Album", + "raw": "'Album'" + }, + "value": "Album" + }, + { + "type": "ArrowFunctionExpression", + "start": 2078, + "end": 2362, + "loc": { + "start": { + "line": 61, + "column": 28 + }, + "end": { + "line": 68, + "column": 11 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2084, + "end": 2362, + "loc": { + "start": { + "line": 61, + "column": 34 + }, + "end": { + "line": 68, + "column": 11 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2098, + "end": 2350, + "loc": { + "start": { + "line": 62, + "column": 12 + }, + "end": { + "line": 67, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 2098, + "end": 2349, + "loc": { + "start": { + "line": 62, + "column": 12 + }, + "end": { + "line": 67, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 2098, + "end": 2100, + "loc": { + "start": { + "line": 62, + "column": 12 + }, + "end": { + "line": 62, + "column": 14 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2101, + "end": 2129, + "loc": { + "start": { + "line": 62, + "column": 15 + }, + "end": { + "line": 62, + "column": 43 + } + }, + "extra": { + "rawValue": "should response status 200", + "raw": "'should response status 200'" + }, + "value": "should response status 200" + }, + { + "type": "ArrowFunctionExpression", + "start": 2131, + "end": 2348, + "loc": { + "start": { + "line": 62, + "column": 45 + }, + "end": { + "line": 67, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2137, + "end": 2348, + "loc": { + "start": { + "line": 62, + "column": 51 + }, + "end": { + "line": 67, + "column": 13 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2153, + "end": 2334, + "loc": { + "start": { + "line": 63, + "column": 14 + }, + "end": { + "line": 66, + "column": 74 + } + }, + "argument": { + "type": "CallExpression", + "start": 2160, + "end": 2333, + "loc": { + "start": { + "line": 63, + "column": 21 + }, + "end": { + "line": 66, + "column": 73 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2160, + "end": 2281, + "loc": { + "start": { + "line": 63, + "column": 21 + }, + "end": { + "line": 66, + "column": 21 + } + }, + "object": { + "type": "CallExpression", + "start": 2160, + "end": 2259, + "loc": { + "start": { + "line": 63, + "column": 21 + }, + "end": { + "line": 65, + "column": 32 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2160, + "end": 2257, + "loc": { + "start": { + "line": 63, + "column": 21 + }, + "end": { + "line": 65, + "column": 30 + } + }, + "object": { + "type": "CallExpression", + "start": 2160, + "end": 2226, + "loc": { + "start": { + "line": 63, + "column": 21 + }, + "end": { + "line": 64, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2160, + "end": 2204, + "loc": { + "start": { + "line": 63, + "column": 21 + }, + "end": { + "line": 64, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 2160, + "end": 2176, + "loc": { + "start": { + "line": 63, + "column": 21 + }, + "end": { + "line": 63, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 2160, + "end": 2163, + "loc": { + "start": { + "line": 63, + "column": 21 + }, + "end": { + "line": 63, + "column": 24 + }, + "identifierName": "api" + }, + "name": "api" + }, + "property": { + "type": "Identifier", + "start": 2164, + "end": 2176, + "loc": { + "start": { + "line": 63, + "column": 25 + }, + "end": { + "line": 63, + "column": 37 + }, + "identifierName": "albumFetcher" + }, + "name": "albumFetcher" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2194, + "end": 2204, + "loc": { + "start": { + "line": 64, + "column": 17 + }, + "end": { + "line": 64, + "column": 27 + }, + "identifierName": "setAlbumID" + }, + "name": "setAlbumID" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2205, + "end": 2225, + "loc": { + "start": { + "line": 64, + "column": 28 + }, + "end": { + "line": 64, + "column": 48 + } + }, + "extra": { + "rawValue": "KmRKnW5qmUrTnGRuxF", + "raw": "'KmRKnW5qmUrTnGRuxF'" + }, + "value": "KmRKnW5qmUrTnGRuxF" + } + ] + }, + "property": { + "type": "Identifier", + "start": 2244, + "end": 2257, + "loc": { + "start": { + "line": 65, + "column": 17 + }, + "end": { + "line": 65, + "column": 30 + }, + "identifierName": "fetchMetadata" + }, + "name": "fetchMetadata" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 2277, + "end": 2281, + "loc": { + "start": { + "line": 66, + "column": 17 + }, + "end": { + "line": 66, + "column": 21 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 2282, + "end": 2332, + "loc": { + "start": { + "line": 66, + "column": 22 + }, + "end": { + "line": 66, + "column": 72 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2282, + "end": 2290, + "loc": { + "start": { + "line": 66, + "column": 22 + }, + "end": { + "line": 66, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "CallExpression", + "start": 2294, + "end": 2332, + "loc": { + "start": { + "line": 66, + "column": 34 + }, + "end": { + "line": 66, + "column": 72 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2294, + "end": 2327, + "loc": { + "start": { + "line": 66, + "column": 34 + }, + "end": { + "line": 66, + "column": 67 + } + }, + "object": { + "type": "MemberExpression", + "start": 2294, + "end": 2319, + "loc": { + "start": { + "line": 66, + "column": 34 + }, + "end": { + "line": 66, + "column": 59 + } + }, + "object": { + "type": "MemberExpression", + "start": 2294, + "end": 2316, + "loc": { + "start": { + "line": 66, + "column": 34 + }, + "end": { + "line": 66, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 2294, + "end": 2309, + "loc": { + "start": { + "line": 66, + "column": 34 + }, + "end": { + "line": 66, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 2294, + "end": 2302, + "loc": { + "start": { + "line": 66, + "column": 34 + }, + "end": { + "line": 66, + "column": 42 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 2303, + "end": 2309, + "loc": { + "start": { + "line": 66, + "column": 43 + }, + "end": { + "line": 66, + "column": 49 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2310, + "end": 2316, + "loc": { + "start": { + "line": 66, + "column": 50 + }, + "end": { + "line": 66, + "column": 56 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2317, + "end": 2319, + "loc": { + "start": { + "line": 66, + "column": 57 + }, + "end": { + "line": 66, + "column": 59 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2320, + "end": 2327, + "loc": { + "start": { + "line": 66, + "column": 60 + }, + "end": { + "line": 66, + "column": 67 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 2328, + "end": 2331, + "loc": { + "start": { + "line": 66, + "column": 68 + }, + "end": { + "line": 66, + "column": 71 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 2376, + "end": 2683, + "loc": { + "start": { + "line": 70, + "column": 10 + }, + "end": { + "line": 77, + "column": 13 + } + }, + "expression": { + "type": "CallExpression", + "start": 2376, + "end": 2682, + "loc": { + "start": { + "line": 70, + "column": 10 + }, + "end": { + "line": 77, + "column": 12 + } + }, + "callee": { + "type": "Identifier", + "start": 2376, + "end": 2384, + "loc": { + "start": { + "line": 70, + "column": 10 + }, + "end": { + "line": 70, + "column": 18 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2385, + "end": 2393, + "loc": { + "start": { + "line": 70, + "column": 19 + }, + "end": { + "line": 70, + "column": 27 + } + }, + "extra": { + "rawValue": "Artist", + "raw": "'Artist'" + }, + "value": "Artist" + }, + { + "type": "ArrowFunctionExpression", + "start": 2395, + "end": 2681, + "loc": { + "start": { + "line": 70, + "column": 29 + }, + "end": { + "line": 77, + "column": 11 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2401, + "end": 2681, + "loc": { + "start": { + "line": 70, + "column": 35 + }, + "end": { + "line": 77, + "column": 11 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2415, + "end": 2669, + "loc": { + "start": { + "line": 71, + "column": 12 + }, + "end": { + "line": 76, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 2415, + "end": 2668, + "loc": { + "start": { + "line": 71, + "column": 12 + }, + "end": { + "line": 76, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 2415, + "end": 2417, + "loc": { + "start": { + "line": 71, + "column": 12 + }, + "end": { + "line": 71, + "column": 14 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2418, + "end": 2446, + "loc": { + "start": { + "line": 71, + "column": 15 + }, + "end": { + "line": 71, + "column": 43 + } + }, + "extra": { + "rawValue": "should response status 200", + "raw": "'should response status 200'" + }, + "value": "should response status 200" + }, + { + "type": "ArrowFunctionExpression", + "start": 2448, + "end": 2667, + "loc": { + "start": { + "line": 71, + "column": 45 + }, + "end": { + "line": 76, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2454, + "end": 2667, + "loc": { + "start": { + "line": 71, + "column": 51 + }, + "end": { + "line": 76, + "column": 13 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2470, + "end": 2653, + "loc": { + "start": { + "line": 72, + "column": 14 + }, + "end": { + "line": 75, + "column": 74 + } + }, + "argument": { + "type": "CallExpression", + "start": 2477, + "end": 2652, + "loc": { + "start": { + "line": 72, + "column": 21 + }, + "end": { + "line": 75, + "column": 73 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2477, + "end": 2600, + "loc": { + "start": { + "line": 72, + "column": 21 + }, + "end": { + "line": 75, + "column": 21 + } + }, + "object": { + "type": "CallExpression", + "start": 2477, + "end": 2578, + "loc": { + "start": { + "line": 72, + "column": 21 + }, + "end": { + "line": 74, + "column": 32 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2477, + "end": 2576, + "loc": { + "start": { + "line": 72, + "column": 21 + }, + "end": { + "line": 74, + "column": 30 + } + }, + "object": { + "type": "CallExpression", + "start": 2477, + "end": 2545, + "loc": { + "start": { + "line": 72, + "column": 21 + }, + "end": { + "line": 73, + "column": 50 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2477, + "end": 2523, + "loc": { + "start": { + "line": 72, + "column": 21 + }, + "end": { + "line": 73, + "column": 28 + } + }, + "object": { + "type": "MemberExpression", + "start": 2477, + "end": 2494, + "loc": { + "start": { + "line": 72, + "column": 21 + }, + "end": { + "line": 72, + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 2477, + "end": 2480, + "loc": { + "start": { + "line": 72, + "column": 21 + }, + "end": { + "line": 72, + "column": 24 + }, + "identifierName": "api" + }, + "name": "api" + }, + "property": { + "type": "Identifier", + "start": 2481, + "end": 2494, + "loc": { + "start": { + "line": 72, + "column": 25 + }, + "end": { + "line": 72, + "column": 38 + }, + "identifierName": "artistFetcher" + }, + "name": "artistFetcher" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2512, + "end": 2523, + "loc": { + "start": { + "line": 73, + "column": 17 + }, + "end": { + "line": 73, + "column": 28 + }, + "identifierName": "setArtistID" + }, + "name": "setArtistID" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2524, + "end": 2544, + "loc": { + "start": { + "line": 73, + "column": 29 + }, + "end": { + "line": 73, + "column": 49 + } + }, + "extra": { + "rawValue": "Cnv_K6i5Ft4y41SxLy", + "raw": "'Cnv_K6i5Ft4y41SxLy'" + }, + "value": "Cnv_K6i5Ft4y41SxLy" + } + ] + }, + "property": { + "type": "Identifier", + "start": 2563, + "end": 2576, + "loc": { + "start": { + "line": 74, + "column": 17 + }, + "end": { + "line": 74, + "column": 30 + }, + "identifierName": "fetchMetadata" + }, + "name": "fetchMetadata" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 2596, + "end": 2600, + "loc": { + "start": { + "line": 75, + "column": 17 + }, + "end": { + "line": 75, + "column": 21 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 2601, + "end": 2651, + "loc": { + "start": { + "line": 75, + "column": 22 + }, + "end": { + "line": 75, + "column": 72 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2601, + "end": 2609, + "loc": { + "start": { + "line": 75, + "column": 22 + }, + "end": { + "line": 75, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "CallExpression", + "start": 2613, + "end": 2651, + "loc": { + "start": { + "line": 75, + "column": 34 + }, + "end": { + "line": 75, + "column": 72 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2613, + "end": 2646, + "loc": { + "start": { + "line": 75, + "column": 34 + }, + "end": { + "line": 75, + "column": 67 + } + }, + "object": { + "type": "MemberExpression", + "start": 2613, + "end": 2638, + "loc": { + "start": { + "line": 75, + "column": 34 + }, + "end": { + "line": 75, + "column": 59 + } + }, + "object": { + "type": "MemberExpression", + "start": 2613, + "end": 2635, + "loc": { + "start": { + "line": 75, + "column": 34 + }, + "end": { + "line": 75, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 2613, + "end": 2628, + "loc": { + "start": { + "line": 75, + "column": 34 + }, + "end": { + "line": 75, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 2613, + "end": 2621, + "loc": { + "start": { + "line": 75, + "column": 34 + }, + "end": { + "line": 75, + "column": 42 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 2622, + "end": 2628, + "loc": { + "start": { + "line": 75, + "column": 43 + }, + "end": { + "line": 75, + "column": 49 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2629, + "end": 2635, + "loc": { + "start": { + "line": 75, + "column": 50 + }, + "end": { + "line": 75, + "column": 56 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2636, + "end": 2638, + "loc": { + "start": { + "line": 75, + "column": 57 + }, + "end": { + "line": 75, + "column": 59 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2639, + "end": 2646, + "loc": { + "start": { + "line": 75, + "column": 60 + }, + "end": { + "line": 75, + "column": 67 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 2647, + "end": 2650, + "loc": { + "start": { + "line": 75, + "column": 68 + }, + "end": { + "line": 75, + "column": 71 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 2695, + "end": 2985, + "loc": { + "start": { + "line": 79, + "column": 10 + }, + "end": { + "line": 85, + "column": 13 + } + }, + "expression": { + "type": "CallExpression", + "start": 2695, + "end": 2984, + "loc": { + "start": { + "line": 79, + "column": 10 + }, + "end": { + "line": 85, + "column": 12 + } + }, + "callee": { + "type": "Identifier", + "start": 2695, + "end": 2703, + "loc": { + "start": { + "line": 79, + "column": 10 + }, + "end": { + "line": 79, + "column": 18 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2704, + "end": 2724, + "loc": { + "start": { + "line": 79, + "column": 19 + }, + "end": { + "line": 79, + "column": 39 + } + }, + "extra": { + "rawValue": "Featured Playlists", + "raw": "'Featured Playlists'" + }, + "value": "Featured Playlists" + }, + { + "type": "ArrowFunctionExpression", + "start": 2726, + "end": 2983, + "loc": { + "start": { + "line": 79, + "column": 41 + }, + "end": { + "line": 85, + "column": 11 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2732, + "end": 2983, + "loc": { + "start": { + "line": 79, + "column": 47 + }, + "end": { + "line": 85, + "column": 11 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2746, + "end": 2971, + "loc": { + "start": { + "line": 80, + "column": 12 + }, + "end": { + "line": 84, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 2746, + "end": 2970, + "loc": { + "start": { + "line": 80, + "column": 12 + }, + "end": { + "line": 84, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 2746, + "end": 2748, + "loc": { + "start": { + "line": 80, + "column": 12 + }, + "end": { + "line": 80, + "column": 14 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2749, + "end": 2777, + "loc": { + "start": { + "line": 80, + "column": 15 + }, + "end": { + "line": 80, + "column": 43 + } + }, + "extra": { + "rawValue": "should response status 200", + "raw": "'should response status 200'" + }, + "value": "should response status 200" + }, + { + "type": "ArrowFunctionExpression", + "start": 2779, + "end": 2969, + "loc": { + "start": { + "line": 80, + "column": 45 + }, + "end": { + "line": 84, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2785, + "end": 2969, + "loc": { + "start": { + "line": 80, + "column": 51 + }, + "end": { + "line": 84, + "column": 13 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2801, + "end": 2955, + "loc": { + "start": { + "line": 81, + "column": 14 + }, + "end": { + "line": 83, + "column": 74 + } + }, + "argument": { + "type": "CallExpression", + "start": 2808, + "end": 2954, + "loc": { + "start": { + "line": 81, + "column": 21 + }, + "end": { + "line": 83, + "column": 73 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2808, + "end": 2902, + "loc": { + "start": { + "line": 81, + "column": 21 + }, + "end": { + "line": 83, + "column": 21 + } + }, + "object": { + "type": "CallExpression", + "start": 2808, + "end": 2880, + "loc": { + "start": { + "line": 81, + "column": 21 + }, + "end": { + "line": 82, + "column": 44 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2808, + "end": 2878, + "loc": { + "start": { + "line": 81, + "column": 21 + }, + "end": { + "line": 82, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 2808, + "end": 2835, + "loc": { + "start": { + "line": 81, + "column": 21 + }, + "end": { + "line": 81, + "column": 48 + } + }, + "object": { + "type": "Identifier", + "start": 2808, + "end": 2811, + "loc": { + "start": { + "line": 81, + "column": 21 + }, + "end": { + "line": 81, + "column": 24 + }, + "identifierName": "api" + }, + "name": "api" + }, + "property": { + "type": "Identifier", + "start": 2812, + "end": 2835, + "loc": { + "start": { + "line": 81, + "column": 25 + }, + "end": { + "line": 81, + "column": 48 + }, + "identifierName": "featuredPlaylistFetcher" + }, + "name": "featuredPlaylistFetcher" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2853, + "end": 2878, + "loc": { + "start": { + "line": 82, + "column": 17 + }, + "end": { + "line": 82, + "column": 42 + }, + "identifierName": "fetchAllFeaturedPlaylists" + }, + "name": "fetchAllFeaturedPlaylists" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 2898, + "end": 2902, + "loc": { + "start": { + "line": 83, + "column": 17 + }, + "end": { + "line": 83, + "column": 21 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 2903, + "end": 2953, + "loc": { + "start": { + "line": 83, + "column": 22 + }, + "end": { + "line": 83, + "column": 72 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2903, + "end": 2911, + "loc": { + "start": { + "line": 83, + "column": 22 + }, + "end": { + "line": 83, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "CallExpression", + "start": 2915, + "end": 2953, + "loc": { + "start": { + "line": 83, + "column": 34 + }, + "end": { + "line": 83, + "column": 72 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2915, + "end": 2948, + "loc": { + "start": { + "line": 83, + "column": 34 + }, + "end": { + "line": 83, + "column": 67 + } + }, + "object": { + "type": "MemberExpression", + "start": 2915, + "end": 2940, + "loc": { + "start": { + "line": 83, + "column": 34 + }, + "end": { + "line": 83, + "column": 59 + } + }, + "object": { + "type": "MemberExpression", + "start": 2915, + "end": 2937, + "loc": { + "start": { + "line": 83, + "column": 34 + }, + "end": { + "line": 83, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 2915, + "end": 2930, + "loc": { + "start": { + "line": 83, + "column": 34 + }, + "end": { + "line": 83, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 2915, + "end": 2923, + "loc": { + "start": { + "line": 83, + "column": 34 + }, + "end": { + "line": 83, + "column": 42 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 2924, + "end": 2930, + "loc": { + "start": { + "line": 83, + "column": 43 + }, + "end": { + "line": 83, + "column": 49 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2931, + "end": 2937, + "loc": { + "start": { + "line": 83, + "column": 50 + }, + "end": { + "line": 83, + "column": 56 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2938, + "end": 2940, + "loc": { + "start": { + "line": 83, + "column": 57 + }, + "end": { + "line": 83, + "column": 59 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2941, + "end": 2948, + "loc": { + "start": { + "line": 83, + "column": 60 + }, + "end": { + "line": 83, + "column": 67 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 2949, + "end": 2952, + "loc": { + "start": { + "line": 83, + "column": 68 + }, + "end": { + "line": 83, + "column": 71 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 2997, + "end": 3312, + "loc": { + "start": { + "line": 87, + "column": 10 + }, + "end": { + "line": 93, + "column": 13 + } + }, + "expression": { + "type": "CallExpression", + "start": 2997, + "end": 3311, + "loc": { + "start": { + "line": 87, + "column": 10 + }, + "end": { + "line": 93, + "column": 12 + } + }, + "callee": { + "type": "Identifier", + "start": 2997, + "end": 3005, + "loc": { + "start": { + "line": 87, + "column": 10 + }, + "end": { + "line": 87, + "column": 18 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 3006, + "end": 3034, + "loc": { + "start": { + "line": 87, + "column": 19 + }, + "end": { + "line": 87, + "column": 47 + } + }, + "extra": { + "rawValue": "Featured Playlist Category", + "raw": "'Featured Playlist Category'" + }, + "value": "Featured Playlist Category" + }, + { + "type": "ArrowFunctionExpression", + "start": 3036, + "end": 3310, + "loc": { + "start": { + "line": 87, + "column": 49 + }, + "end": { + "line": 93, + "column": 11 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3042, + "end": 3310, + "loc": { + "start": { + "line": 87, + "column": 55 + }, + "end": { + "line": 93, + "column": 11 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3056, + "end": 3298, + "loc": { + "start": { + "line": 88, + "column": 12 + }, + "end": { + "line": 92, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 3056, + "end": 3297, + "loc": { + "start": { + "line": 88, + "column": 12 + }, + "end": { + "line": 92, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 3056, + "end": 3058, + "loc": { + "start": { + "line": 88, + "column": 12 + }, + "end": { + "line": 88, + "column": 14 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 3059, + "end": 3087, + "loc": { + "start": { + "line": 88, + "column": 15 + }, + "end": { + "line": 88, + "column": 43 + } + }, + "extra": { + "rawValue": "should response status 200", + "raw": "'should response status 200'" + }, + "value": "should response status 200" + }, + { + "type": "ArrowFunctionExpression", + "start": 3089, + "end": 3296, + "loc": { + "start": { + "line": 88, + "column": 45 + }, + "end": { + "line": 92, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3095, + "end": 3296, + "loc": { + "start": { + "line": 88, + "column": 51 + }, + "end": { + "line": 92, + "column": 13 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 3111, + "end": 3282, + "loc": { + "start": { + "line": 89, + "column": 14 + }, + "end": { + "line": 91, + "column": 74 + } + }, + "argument": { + "type": "CallExpression", + "start": 3118, + "end": 3281, + "loc": { + "start": { + "line": 89, + "column": 21 + }, + "end": { + "line": 91, + "column": 73 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3118, + "end": 3229, + "loc": { + "start": { + "line": 89, + "column": 21 + }, + "end": { + "line": 91, + "column": 21 + } + }, + "object": { + "type": "CallExpression", + "start": 3118, + "end": 3207, + "loc": { + "start": { + "line": 89, + "column": 21 + }, + "end": { + "line": 90, + "column": 53 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3118, + "end": 3205, + "loc": { + "start": { + "line": 89, + "column": 21 + }, + "end": { + "line": 90, + "column": 51 + } + }, + "object": { + "type": "MemberExpression", + "start": 3118, + "end": 3153, + "loc": { + "start": { + "line": 89, + "column": 21 + }, + "end": { + "line": 89, + "column": 56 + } + }, + "object": { + "type": "Identifier", + "start": 3118, + "end": 3121, + "loc": { + "start": { + "line": 89, + "column": 21 + }, + "end": { + "line": 89, + "column": 24 + }, + "identifierName": "api" + }, + "name": "api" + }, + "property": { + "type": "Identifier", + "start": 3122, + "end": 3153, + "loc": { + "start": { + "line": 89, + "column": 25 + }, + "end": { + "line": 89, + "column": 56 + }, + "identifierName": "featuredPlaylistCategoryFetcher" + }, + "name": "featuredPlaylistCategoryFetcher" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3171, + "end": 3205, + "loc": { + "start": { + "line": 90, + "column": 17 + }, + "end": { + "line": 90, + "column": 51 + }, + "identifierName": "fetchAllFeaturedPlaylistCategories" + }, + "name": "fetchAllFeaturedPlaylistCategories" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 3225, + "end": 3229, + "loc": { + "start": { + "line": 91, + "column": 17 + }, + "end": { + "line": 91, + "column": 21 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 3230, + "end": 3280, + "loc": { + "start": { + "line": 91, + "column": 22 + }, + "end": { + "line": 91, + "column": 72 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3230, + "end": 3238, + "loc": { + "start": { + "line": 91, + "column": 22 + }, + "end": { + "line": 91, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "CallExpression", + "start": 3242, + "end": 3280, + "loc": { + "start": { + "line": 91, + "column": 34 + }, + "end": { + "line": 91, + "column": 72 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3242, + "end": 3275, + "loc": { + "start": { + "line": 91, + "column": 34 + }, + "end": { + "line": 91, + "column": 67 + } + }, + "object": { + "type": "MemberExpression", + "start": 3242, + "end": 3267, + "loc": { + "start": { + "line": 91, + "column": 34 + }, + "end": { + "line": 91, + "column": 59 + } + }, + "object": { + "type": "MemberExpression", + "start": 3242, + "end": 3264, + "loc": { + "start": { + "line": 91, + "column": 34 + }, + "end": { + "line": 91, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 3242, + "end": 3257, + "loc": { + "start": { + "line": 91, + "column": 34 + }, + "end": { + "line": 91, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 3242, + "end": 3250, + "loc": { + "start": { + "line": 91, + "column": 34 + }, + "end": { + "line": 91, + "column": 42 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 3251, + "end": 3257, + "loc": { + "start": { + "line": 91, + "column": 43 + }, + "end": { + "line": 91, + "column": 49 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3258, + "end": 3264, + "loc": { + "start": { + "line": 91, + "column": 50 + }, + "end": { + "line": 91, + "column": 56 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3265, + "end": 3267, + "loc": { + "start": { + "line": 91, + "column": 57 + }, + "end": { + "line": 91, + "column": 59 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3268, + "end": 3275, + "loc": { + "start": { + "line": 91, + "column": 60 + }, + "end": { + "line": 91, + "column": 67 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 3276, + "end": 3279, + "loc": { + "start": { + "line": 91, + "column": 68 + }, + "end": { + "line": 91, + "column": 71 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 3324, + "end": 3598, + "loc": { + "start": { + "line": 95, + "column": 10 + }, + "end": { + "line": 101, + "column": 13 + } + }, + "expression": { + "type": "CallExpression", + "start": 3324, + "end": 3597, + "loc": { + "start": { + "line": 95, + "column": 10 + }, + "end": { + "line": 101, + "column": 12 + } + }, + "callee": { + "type": "Identifier", + "start": 3324, + "end": 3332, + "loc": { + "start": { + "line": 95, + "column": 10 + }, + "end": { + "line": 95, + "column": 18 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 3333, + "end": 3347, + "loc": { + "start": { + "line": 95, + "column": 19 + }, + "end": { + "line": 95, + "column": 33 + } + }, + "extra": { + "rawValue": "Mood Station", + "raw": "'Mood Station'" + }, + "value": "Mood Station" + }, + { + "type": "ArrowFunctionExpression", + "start": 3349, + "end": 3596, + "loc": { + "start": { + "line": 95, + "column": 35 + }, + "end": { + "line": 101, + "column": 11 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3355, + "end": 3596, + "loc": { + "start": { + "line": 95, + "column": 41 + }, + "end": { + "line": 101, + "column": 11 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3369, + "end": 3584, + "loc": { + "start": { + "line": 96, + "column": 12 + }, + "end": { + "line": 100, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 3369, + "end": 3583, + "loc": { + "start": { + "line": 96, + "column": 12 + }, + "end": { + "line": 100, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 3369, + "end": 3371, + "loc": { + "start": { + "line": 96, + "column": 12 + }, + "end": { + "line": 96, + "column": 14 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 3372, + "end": 3400, + "loc": { + "start": { + "line": 96, + "column": 15 + }, + "end": { + "line": 96, + "column": 43 + } + }, + "extra": { + "rawValue": "should response status 200", + "raw": "'should response status 200'" + }, + "value": "should response status 200" + }, + { + "type": "ArrowFunctionExpression", + "start": 3402, + "end": 3582, + "loc": { + "start": { + "line": 96, + "column": 45 + }, + "end": { + "line": 100, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3408, + "end": 3582, + "loc": { + "start": { + "line": 96, + "column": 51 + }, + "end": { + "line": 100, + "column": 13 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 3424, + "end": 3568, + "loc": { + "start": { + "line": 97, + "column": 14 + }, + "end": { + "line": 99, + "column": 74 + } + }, + "argument": { + "type": "CallExpression", + "start": 3431, + "end": 3567, + "loc": { + "start": { + "line": 97, + "column": 21 + }, + "end": { + "line": 99, + "column": 73 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3431, + "end": 3515, + "loc": { + "start": { + "line": 97, + "column": 21 + }, + "end": { + "line": 99, + "column": 21 + } + }, + "object": { + "type": "CallExpression", + "start": 3431, + "end": 3493, + "loc": { + "start": { + "line": 97, + "column": 21 + }, + "end": { + "line": 98, + "column": 39 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3431, + "end": 3491, + "loc": { + "start": { + "line": 97, + "column": 21 + }, + "end": { + "line": 98, + "column": 37 + } + }, + "object": { + "type": "MemberExpression", + "start": 3431, + "end": 3453, + "loc": { + "start": { + "line": 97, + "column": 21 + }, + "end": { + "line": 97, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 3431, + "end": 3434, + "loc": { + "start": { + "line": 97, + "column": 21 + }, + "end": { + "line": 97, + "column": 24 + }, + "identifierName": "api" + }, + "name": "api" + }, + "property": { + "type": "Identifier", + "start": 3435, + "end": 3453, + "loc": { + "start": { + "line": 97, + "column": 25 + }, + "end": { + "line": 97, + "column": 43 + }, + "identifierName": "moodStationFetcher" + }, + "name": "moodStationFetcher" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3471, + "end": 3491, + "loc": { + "start": { + "line": 98, + "column": 17 + }, + "end": { + "line": 98, + "column": 37 + }, + "identifierName": "fetchAllMoodStations" + }, + "name": "fetchAllMoodStations" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 3511, + "end": 3515, + "loc": { + "start": { + "line": 99, + "column": 17 + }, + "end": { + "line": 99, + "column": 21 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 3516, + "end": 3566, + "loc": { + "start": { + "line": 99, + "column": 22 + }, + "end": { + "line": 99, + "column": 72 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3516, + "end": 3524, + "loc": { + "start": { + "line": 99, + "column": 22 + }, + "end": { + "line": 99, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "CallExpression", + "start": 3528, + "end": 3566, + "loc": { + "start": { + "line": 99, + "column": 34 + }, + "end": { + "line": 99, + "column": 72 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3528, + "end": 3561, + "loc": { + "start": { + "line": 99, + "column": 34 + }, + "end": { + "line": 99, + "column": 67 + } + }, + "object": { + "type": "MemberExpression", + "start": 3528, + "end": 3553, + "loc": { + "start": { + "line": 99, + "column": 34 + }, + "end": { + "line": 99, + "column": 59 + } + }, + "object": { + "type": "MemberExpression", + "start": 3528, + "end": 3550, + "loc": { + "start": { + "line": 99, + "column": 34 + }, + "end": { + "line": 99, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 3528, + "end": 3543, + "loc": { + "start": { + "line": 99, + "column": 34 + }, + "end": { + "line": 99, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 3528, + "end": 3536, + "loc": { + "start": { + "line": 99, + "column": 34 + }, + "end": { + "line": 99, + "column": 42 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 3537, + "end": 3543, + "loc": { + "start": { + "line": 99, + "column": 43 + }, + "end": { + "line": 99, + "column": 49 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3544, + "end": 3550, + "loc": { + "start": { + "line": 99, + "column": 50 + }, + "end": { + "line": 99, + "column": 56 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3551, + "end": 3553, + "loc": { + "start": { + "line": 99, + "column": 57 + }, + "end": { + "line": 99, + "column": 59 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3554, + "end": 3561, + "loc": { + "start": { + "line": 99, + "column": 60 + }, + "end": { + "line": 99, + "column": 67 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 3562, + "end": 3565, + "loc": { + "start": { + "line": 99, + "column": 68 + }, + "end": { + "line": 99, + "column": 71 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 3610, + "end": 3887, + "loc": { + "start": { + "line": 103, + "column": 10 + }, + "end": { + "line": 109, + "column": 13 + } + }, + "expression": { + "type": "CallExpression", + "start": 3610, + "end": 3886, + "loc": { + "start": { + "line": 103, + "column": 10 + }, + "end": { + "line": 109, + "column": 12 + } + }, + "callee": { + "type": "Identifier", + "start": 3610, + "end": 3618, + "loc": { + "start": { + "line": 103, + "column": 10 + }, + "end": { + "line": 103, + "column": 18 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 3619, + "end": 3634, + "loc": { + "start": { + "line": 103, + "column": 19 + }, + "end": { + "line": 103, + "column": 34 + } + }, + "extra": { + "rawValue": "Genre Station", + "raw": "'Genre Station'" + }, + "value": "Genre Station" + }, + { + "type": "ArrowFunctionExpression", + "start": 3636, + "end": 3885, + "loc": { + "start": { + "line": 103, + "column": 36 + }, + "end": { + "line": 109, + "column": 11 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3642, + "end": 3885, + "loc": { + "start": { + "line": 103, + "column": 42 + }, + "end": { + "line": 109, + "column": 11 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3656, + "end": 3873, + "loc": { + "start": { + "line": 104, + "column": 12 + }, + "end": { + "line": 108, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 3656, + "end": 3872, + "loc": { + "start": { + "line": 104, + "column": 12 + }, + "end": { + "line": 108, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 3656, + "end": 3658, + "loc": { + "start": { + "line": 104, + "column": 12 + }, + "end": { + "line": 104, + "column": 14 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 3659, + "end": 3687, + "loc": { + "start": { + "line": 104, + "column": 15 + }, + "end": { + "line": 104, + "column": 43 + } + }, + "extra": { + "rawValue": "should response status 200", + "raw": "'should response status 200'" + }, + "value": "should response status 200" + }, + { + "type": "ArrowFunctionExpression", + "start": 3689, + "end": 3871, + "loc": { + "start": { + "line": 104, + "column": 45 + }, + "end": { + "line": 108, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3695, + "end": 3871, + "loc": { + "start": { + "line": 104, + "column": 51 + }, + "end": { + "line": 108, + "column": 13 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 3711, + "end": 3857, + "loc": { + "start": { + "line": 105, + "column": 14 + }, + "end": { + "line": 107, + "column": 74 + } + }, + "argument": { + "type": "CallExpression", + "start": 3718, + "end": 3856, + "loc": { + "start": { + "line": 105, + "column": 21 + }, + "end": { + "line": 107, + "column": 73 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3718, + "end": 3804, + "loc": { + "start": { + "line": 105, + "column": 21 + }, + "end": { + "line": 107, + "column": 21 + } + }, + "object": { + "type": "CallExpression", + "start": 3718, + "end": 3782, + "loc": { + "start": { + "line": 105, + "column": 21 + }, + "end": { + "line": 106, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3718, + "end": 3780, + "loc": { + "start": { + "line": 105, + "column": 21 + }, + "end": { + "line": 106, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 3718, + "end": 3741, + "loc": { + "start": { + "line": 105, + "column": 21 + }, + "end": { + "line": 105, + "column": 44 + } + }, + "object": { + "type": "Identifier", + "start": 3718, + "end": 3721, + "loc": { + "start": { + "line": 105, + "column": 21 + }, + "end": { + "line": 105, + "column": 24 + }, + "identifierName": "api" + }, + "name": "api" + }, + "property": { + "type": "Identifier", + "start": 3722, + "end": 3741, + "loc": { + "start": { + "line": 105, + "column": 25 + }, + "end": { + "line": 105, + "column": 44 + }, + "identifierName": "genreStationFetcher" + }, + "name": "genreStationFetcher" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3759, + "end": 3780, + "loc": { + "start": { + "line": 106, + "column": 17 + }, + "end": { + "line": 106, + "column": 38 + }, + "identifierName": "fetchAllGenreStations" + }, + "name": "fetchAllGenreStations" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 3800, + "end": 3804, + "loc": { + "start": { + "line": 107, + "column": 17 + }, + "end": { + "line": 107, + "column": 21 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 3805, + "end": 3855, + "loc": { + "start": { + "line": 107, + "column": 22 + }, + "end": { + "line": 107, + "column": 72 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3805, + "end": 3813, + "loc": { + "start": { + "line": 107, + "column": 22 + }, + "end": { + "line": 107, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "CallExpression", + "start": 3817, + "end": 3855, + "loc": { + "start": { + "line": 107, + "column": 34 + }, + "end": { + "line": 107, + "column": 72 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3817, + "end": 3850, + "loc": { + "start": { + "line": 107, + "column": 34 + }, + "end": { + "line": 107, + "column": 67 + } + }, + "object": { + "type": "MemberExpression", + "start": 3817, + "end": 3842, + "loc": { + "start": { + "line": 107, + "column": 34 + }, + "end": { + "line": 107, + "column": 59 + } + }, + "object": { + "type": "MemberExpression", + "start": 3817, + "end": 3839, + "loc": { + "start": { + "line": 107, + "column": 34 + }, + "end": { + "line": 107, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 3817, + "end": 3832, + "loc": { + "start": { + "line": 107, + "column": 34 + }, + "end": { + "line": 107, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 3817, + "end": 3825, + "loc": { + "start": { + "line": 107, + "column": 34 + }, + "end": { + "line": 107, + "column": 42 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 3826, + "end": 3832, + "loc": { + "start": { + "line": 107, + "column": 43 + }, + "end": { + "line": 107, + "column": 49 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3833, + "end": 3839, + "loc": { + "start": { + "line": 107, + "column": 50 + }, + "end": { + "line": 107, + "column": 56 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3840, + "end": 3842, + "loc": { + "start": { + "line": 107, + "column": 57 + }, + "end": { + "line": 107, + "column": 59 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3843, + "end": 3850, + "loc": { + "start": { + "line": 107, + "column": 60 + }, + "end": { + "line": 107, + "column": 67 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 3851, + "end": 3854, + "loc": { + "start": { + "line": 107, + "column": 68 + }, + "end": { + "line": 107, + "column": 71 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 3899, + "end": 4151, + "loc": { + "start": { + "line": 111, + "column": 10 + }, + "end": { + "line": 117, + "column": 13 + } + }, + "expression": { + "type": "CallExpression", + "start": 3899, + "end": 4150, + "loc": { + "start": { + "line": 111, + "column": 10 + }, + "end": { + "line": 117, + "column": 12 + } + }, + "callee": { + "type": "Identifier", + "start": 3899, + "end": 3907, + "loc": { + "start": { + "line": 111, + "column": 10 + }, + "end": { + "line": 111, + "column": 18 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 3908, + "end": 3915, + "loc": { + "start": { + "line": 111, + "column": 19 + }, + "end": { + "line": 111, + "column": 26 + } + }, + "extra": { + "rawValue": "Chart", + "raw": "'Chart'" + }, + "value": "Chart" + }, + { + "type": "ArrowFunctionExpression", + "start": 3917, + "end": 4149, + "loc": { + "start": { + "line": 111, + "column": 28 + }, + "end": { + "line": 117, + "column": 11 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3923, + "end": 4149, + "loc": { + "start": { + "line": 111, + "column": 34 + }, + "end": { + "line": 117, + "column": 11 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3937, + "end": 4137, + "loc": { + "start": { + "line": 112, + "column": 12 + }, + "end": { + "line": 116, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 3937, + "end": 4136, + "loc": { + "start": { + "line": 112, + "column": 12 + }, + "end": { + "line": 116, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 3937, + "end": 3939, + "loc": { + "start": { + "line": 112, + "column": 12 + }, + "end": { + "line": 112, + "column": 14 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 3940, + "end": 3968, + "loc": { + "start": { + "line": 112, + "column": 15 + }, + "end": { + "line": 112, + "column": 43 + } + }, + "extra": { + "rawValue": "should response status 200", + "raw": "'should response status 200'" + }, + "value": "should response status 200" + }, + { + "type": "ArrowFunctionExpression", + "start": 3970, + "end": 4135, + "loc": { + "start": { + "line": 112, + "column": 45 + }, + "end": { + "line": 116, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3976, + "end": 4135, + "loc": { + "start": { + "line": 112, + "column": 51 + }, + "end": { + "line": 116, + "column": 13 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 3992, + "end": 4121, + "loc": { + "start": { + "line": 113, + "column": 14 + }, + "end": { + "line": 115, + "column": 74 + } + }, + "argument": { + "type": "CallExpression", + "start": 3999, + "end": 4120, + "loc": { + "start": { + "line": 113, + "column": 21 + }, + "end": { + "line": 115, + "column": 73 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3999, + "end": 4068, + "loc": { + "start": { + "line": 113, + "column": 21 + }, + "end": { + "line": 115, + "column": 21 + } + }, + "object": { + "type": "CallExpression", + "start": 3999, + "end": 4046, + "loc": { + "start": { + "line": 113, + "column": 21 + }, + "end": { + "line": 114, + "column": 30 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3999, + "end": 4044, + "loc": { + "start": { + "line": 113, + "column": 21 + }, + "end": { + "line": 114, + "column": 28 + } + }, + "object": { + "type": "MemberExpression", + "start": 3999, + "end": 4015, + "loc": { + "start": { + "line": 113, + "column": 21 + }, + "end": { + "line": 113, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 3999, + "end": 4002, + "loc": { + "start": { + "line": 113, + "column": 21 + }, + "end": { + "line": 113, + "column": 24 + }, + "identifierName": "api" + }, + "name": "api" + }, + "property": { + "type": "Identifier", + "start": 4003, + "end": 4015, + "loc": { + "start": { + "line": 113, + "column": 25 + }, + "end": { + "line": 113, + "column": 37 + }, + "identifierName": "chartFetcher" + }, + "name": "chartFetcher" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4033, + "end": 4044, + "loc": { + "start": { + "line": 114, + "column": 17 + }, + "end": { + "line": 114, + "column": 28 + }, + "identifierName": "fetchCharts" + }, + "name": "fetchCharts" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 4064, + "end": 4068, + "loc": { + "start": { + "line": 115, + "column": 17 + }, + "end": { + "line": 115, + "column": 21 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 4069, + "end": 4119, + "loc": { + "start": { + "line": 115, + "column": 22 + }, + "end": { + "line": 115, + "column": 72 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4069, + "end": 4077, + "loc": { + "start": { + "line": 115, + "column": 22 + }, + "end": { + "line": 115, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "CallExpression", + "start": 4081, + "end": 4119, + "loc": { + "start": { + "line": 115, + "column": 34 + }, + "end": { + "line": 115, + "column": 72 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4081, + "end": 4114, + "loc": { + "start": { + "line": 115, + "column": 34 + }, + "end": { + "line": 115, + "column": 67 + } + }, + "object": { + "type": "MemberExpression", + "start": 4081, + "end": 4106, + "loc": { + "start": { + "line": 115, + "column": 34 + }, + "end": { + "line": 115, + "column": 59 + } + }, + "object": { + "type": "MemberExpression", + "start": 4081, + "end": 4103, + "loc": { + "start": { + "line": 115, + "column": 34 + }, + "end": { + "line": 115, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 4081, + "end": 4096, + "loc": { + "start": { + "line": 115, + "column": 34 + }, + "end": { + "line": 115, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 4081, + "end": 4089, + "loc": { + "start": { + "line": 115, + "column": 34 + }, + "end": { + "line": 115, + "column": 42 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 4090, + "end": 4096, + "loc": { + "start": { + "line": 115, + "column": 43 + }, + "end": { + "line": 115, + "column": 49 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4097, + "end": 4103, + "loc": { + "start": { + "line": 115, + "column": 50 + }, + "end": { + "line": 115, + "column": 56 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4104, + "end": 4106, + "loc": { + "start": { + "line": 115, + "column": 57 + }, + "end": { + "line": 115, + "column": 59 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4107, + "end": 4114, + "loc": { + "start": { + "line": 115, + "column": 60 + }, + "end": { + "line": 115, + "column": 67 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 4115, + "end": 4118, + "loc": { + "start": { + "line": 115, + "column": 68 + }, + "end": { + "line": 115, + "column": 71 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 4163, + "end": 4460, + "loc": { + "start": { + "line": 119, + "column": 10 + }, + "end": { + "line": 125, + "column": 13 + } + }, + "expression": { + "type": "CallExpression", + "start": 4163, + "end": 4459, + "loc": { + "start": { + "line": 119, + "column": 10 + }, + "end": { + "line": 125, + "column": 12 + } + }, + "callee": { + "type": "Identifier", + "start": 4163, + "end": 4171, + "loc": { + "start": { + "line": 119, + "column": 10 + }, + "end": { + "line": 119, + "column": 18 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 4172, + "end": 4194, + "loc": { + "start": { + "line": 119, + "column": 19 + }, + "end": { + "line": 119, + "column": 41 + } + }, + "extra": { + "rawValue": "New Release Category", + "raw": "'New Release Category'" + }, + "value": "New Release Category" + }, + { + "type": "ArrowFunctionExpression", + "start": 4196, + "end": 4458, + "loc": { + "start": { + "line": 119, + "column": 43 + }, + "end": { + "line": 125, + "column": 11 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 4202, + "end": 4458, + "loc": { + "start": { + "line": 119, + "column": 49 + }, + "end": { + "line": 125, + "column": 11 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4216, + "end": 4446, + "loc": { + "start": { + "line": 120, + "column": 12 + }, + "end": { + "line": 124, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 4216, + "end": 4445, + "loc": { + "start": { + "line": 120, + "column": 12 + }, + "end": { + "line": 124, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 4216, + "end": 4218, + "loc": { + "start": { + "line": 120, + "column": 12 + }, + "end": { + "line": 120, + "column": 14 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 4219, + "end": 4247, + "loc": { + "start": { + "line": 120, + "column": 15 + }, + "end": { + "line": 120, + "column": 43 + } + }, + "extra": { + "rawValue": "should response status 200", + "raw": "'should response status 200'" + }, + "value": "should response status 200" + }, + { + "type": "ArrowFunctionExpression", + "start": 4249, + "end": 4444, + "loc": { + "start": { + "line": 120, + "column": 45 + }, + "end": { + "line": 124, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 4255, + "end": 4444, + "loc": { + "start": { + "line": 120, + "column": 51 + }, + "end": { + "line": 124, + "column": 13 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 4271, + "end": 4430, + "loc": { + "start": { + "line": 121, + "column": 14 + }, + "end": { + "line": 123, + "column": 74 + } + }, + "argument": { + "type": "CallExpression", + "start": 4278, + "end": 4429, + "loc": { + "start": { + "line": 121, + "column": 21 + }, + "end": { + "line": 123, + "column": 73 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4278, + "end": 4377, + "loc": { + "start": { + "line": 121, + "column": 21 + }, + "end": { + "line": 123, + "column": 21 + } + }, + "object": { + "type": "CallExpression", + "start": 4278, + "end": 4355, + "loc": { + "start": { + "line": 121, + "column": 21 + }, + "end": { + "line": 122, + "column": 47 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4278, + "end": 4353, + "loc": { + "start": { + "line": 121, + "column": 21 + }, + "end": { + "line": 122, + "column": 45 + } + }, + "object": { + "type": "MemberExpression", + "start": 4278, + "end": 4307, + "loc": { + "start": { + "line": 121, + "column": 21 + }, + "end": { + "line": 121, + "column": 50 + } + }, + "object": { + "type": "Identifier", + "start": 4278, + "end": 4281, + "loc": { + "start": { + "line": 121, + "column": 21 + }, + "end": { + "line": 121, + "column": 24 + }, + "identifierName": "api" + }, + "name": "api" + }, + "property": { + "type": "Identifier", + "start": 4282, + "end": 4307, + "loc": { + "start": { + "line": 121, + "column": 25 + }, + "end": { + "line": 121, + "column": 50 + }, + "identifierName": "newReleaseCategoryFetcher" + }, + "name": "newReleaseCategoryFetcher" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4325, + "end": 4353, + "loc": { + "start": { + "line": 122, + "column": 17 + }, + "end": { + "line": 122, + "column": 45 + }, + "identifierName": "fetchAllNewReleaseCategories" + }, + "name": "fetchAllNewReleaseCategories" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 4373, + "end": 4377, + "loc": { + "start": { + "line": 123, + "column": 17 + }, + "end": { + "line": 123, + "column": 21 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 4378, + "end": 4428, + "loc": { + "start": { + "line": 123, + "column": 22 + }, + "end": { + "line": 123, + "column": 72 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4378, + "end": 4386, + "loc": { + "start": { + "line": 123, + "column": 22 + }, + "end": { + "line": 123, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "CallExpression", + "start": 4390, + "end": 4428, + "loc": { + "start": { + "line": 123, + "column": 34 + }, + "end": { + "line": 123, + "column": 72 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4390, + "end": 4423, + "loc": { + "start": { + "line": 123, + "column": 34 + }, + "end": { + "line": 123, + "column": 67 + } + }, + "object": { + "type": "MemberExpression", + "start": 4390, + "end": 4415, + "loc": { + "start": { + "line": 123, + "column": 34 + }, + "end": { + "line": 123, + "column": 59 + } + }, + "object": { + "type": "MemberExpression", + "start": 4390, + "end": 4412, + "loc": { + "start": { + "line": 123, + "column": 34 + }, + "end": { + "line": 123, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 4390, + "end": 4405, + "loc": { + "start": { + "line": 123, + "column": 34 + }, + "end": { + "line": 123, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 4390, + "end": 4398, + "loc": { + "start": { + "line": 123, + "column": 34 + }, + "end": { + "line": 123, + "column": 42 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 4399, + "end": 4405, + "loc": { + "start": { + "line": 123, + "column": 43 + }, + "end": { + "line": 123, + "column": 49 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4406, + "end": 4412, + "loc": { + "start": { + "line": 123, + "column": 50 + }, + "end": { + "line": 123, + "column": 56 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4413, + "end": 4415, + "loc": { + "start": { + "line": 123, + "column": 57 + }, + "end": { + "line": 123, + "column": 59 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4416, + "end": 4423, + "loc": { + "start": { + "line": 123, + "column": 60 + }, + "end": { + "line": 123, + "column": 67 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 4424, + "end": 4427, + "loc": { + "start": { + "line": 123, + "column": 68 + }, + "end": { + "line": 123, + "column": 71 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 4472, + "end": 4760, + "loc": { + "start": { + "line": 127, + "column": 10 + }, + "end": { + "line": 133, + "column": 13 + } + }, + "expression": { + "type": "CallExpression", + "start": 4472, + "end": 4759, + "loc": { + "start": { + "line": 127, + "column": 10 + }, + "end": { + "line": 133, + "column": 12 + } + }, + "callee": { + "type": "Identifier", + "start": 4472, + "end": 4480, + "loc": { + "start": { + "line": 127, + "column": 10 + }, + "end": { + "line": 127, + "column": 18 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 4481, + "end": 4501, + "loc": { + "start": { + "line": 127, + "column": 19 + }, + "end": { + "line": 127, + "column": 39 + } + }, + "extra": { + "rawValue": "New Hits Playlists", + "raw": "'New Hits Playlists'" + }, + "value": "New Hits Playlists" + }, + { + "type": "ArrowFunctionExpression", + "start": 4503, + "end": 4758, + "loc": { + "start": { + "line": 127, + "column": 41 + }, + "end": { + "line": 133, + "column": 11 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 4509, + "end": 4758, + "loc": { + "start": { + "line": 127, + "column": 47 + }, + "end": { + "line": 133, + "column": 11 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4523, + "end": 4746, + "loc": { + "start": { + "line": 128, + "column": 12 + }, + "end": { + "line": 132, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 4523, + "end": 4745, + "loc": { + "start": { + "line": 128, + "column": 12 + }, + "end": { + "line": 132, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 4523, + "end": 4525, + "loc": { + "start": { + "line": 128, + "column": 12 + }, + "end": { + "line": 128, + "column": 14 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 4526, + "end": 4554, + "loc": { + "start": { + "line": 128, + "column": 15 + }, + "end": { + "line": 128, + "column": 43 + } + }, + "extra": { + "rawValue": "should response status 200", + "raw": "'should response status 200'" + }, + "value": "should response status 200" + }, + { + "type": "ArrowFunctionExpression", + "start": 4556, + "end": 4744, + "loc": { + "start": { + "line": 128, + "column": 45 + }, + "end": { + "line": 132, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 4562, + "end": 4744, + "loc": { + "start": { + "line": 128, + "column": 51 + }, + "end": { + "line": 132, + "column": 13 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 4578, + "end": 4730, + "loc": { + "start": { + "line": 129, + "column": 14 + }, + "end": { + "line": 131, + "column": 74 + } + }, + "argument": { + "type": "CallExpression", + "start": 4585, + "end": 4729, + "loc": { + "start": { + "line": 129, + "column": 21 + }, + "end": { + "line": 131, + "column": 73 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4585, + "end": 4677, + "loc": { + "start": { + "line": 129, + "column": 21 + }, + "end": { + "line": 131, + "column": 21 + } + }, + "object": { + "type": "CallExpression", + "start": 4585, + "end": 4655, + "loc": { + "start": { + "line": 129, + "column": 21 + }, + "end": { + "line": 130, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4585, + "end": 4653, + "loc": { + "start": { + "line": 129, + "column": 21 + }, + "end": { + "line": 130, + "column": 41 + } + }, + "object": { + "type": "MemberExpression", + "start": 4585, + "end": 4611, + "loc": { + "start": { + "line": 129, + "column": 21 + }, + "end": { + "line": 129, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 4585, + "end": 4588, + "loc": { + "start": { + "line": 129, + "column": 21 + }, + "end": { + "line": 129, + "column": 24 + }, + "identifierName": "api" + }, + "name": "api" + }, + "property": { + "type": "Identifier", + "start": 4589, + "end": 4611, + "loc": { + "start": { + "line": 129, + "column": 25 + }, + "end": { + "line": 129, + "column": 47 + }, + "identifierName": "newHitsPlaylistFetcher" + }, + "name": "newHitsPlaylistFetcher" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4629, + "end": 4653, + "loc": { + "start": { + "line": 130, + "column": 17 + }, + "end": { + "line": 130, + "column": 41 + }, + "identifierName": "fetchAllNewHitsPlaylists" + }, + "name": "fetchAllNewHitsPlaylists" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 4673, + "end": 4677, + "loc": { + "start": { + "line": 131, + "column": 17 + }, + "end": { + "line": 131, + "column": 21 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 4678, + "end": 4728, + "loc": { + "start": { + "line": 131, + "column": 22 + }, + "end": { + "line": 131, + "column": 72 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4678, + "end": 4686, + "loc": { + "start": { + "line": 131, + "column": 22 + }, + "end": { + "line": 131, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "CallExpression", + "start": 4690, + "end": 4728, + "loc": { + "start": { + "line": 131, + "column": 34 + }, + "end": { + "line": 131, + "column": 72 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4690, + "end": 4723, + "loc": { + "start": { + "line": 131, + "column": 34 + }, + "end": { + "line": 131, + "column": 67 + } + }, + "object": { + "type": "MemberExpression", + "start": 4690, + "end": 4715, + "loc": { + "start": { + "line": 131, + "column": 34 + }, + "end": { + "line": 131, + "column": 59 + } + }, + "object": { + "type": "MemberExpression", + "start": 4690, + "end": 4712, + "loc": { + "start": { + "line": 131, + "column": 34 + }, + "end": { + "line": 131, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 4690, + "end": 4705, + "loc": { + "start": { + "line": 131, + "column": 34 + }, + "end": { + "line": 131, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 4690, + "end": 4698, + "loc": { + "start": { + "line": 131, + "column": 34 + }, + "end": { + "line": 131, + "column": 42 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 4699, + "end": 4705, + "loc": { + "start": { + "line": 131, + "column": 43 + }, + "end": { + "line": 131, + "column": 49 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4706, + "end": 4712, + "loc": { + "start": { + "line": 131, + "column": 50 + }, + "end": { + "line": 131, + "column": 56 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4713, + "end": 4715, + "loc": { + "start": { + "line": 131, + "column": 57 + }, + "end": { + "line": 131, + "column": 59 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4716, + "end": 4723, + "loc": { + "start": { + "line": 131, + "column": 60 + }, + "end": { + "line": 131, + "column": 67 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 4724, + "end": 4727, + "loc": { + "start": { + "line": 131, + "column": 68 + }, + "end": { + "line": 131, + "column": 71 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 4772, + "end": 5373, + "loc": { + "start": { + "line": 135, + "column": 10 + }, + "end": { + "line": 148, + "column": 13 + } + }, + "expression": { + "type": "CallExpression", + "start": 4772, + "end": 5372, + "loc": { + "start": { + "line": 135, + "column": 10 + }, + "end": { + "line": 148, + "column": 12 + } + }, + "callee": { + "type": "Identifier", + "start": 4772, + "end": 4780, + "loc": { + "start": { + "line": 135, + "column": 10 + }, + "end": { + "line": 135, + "column": 18 + }, + "identifierName": "describe" + }, + "name": "describe" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 4781, + "end": 4798, + "loc": { + "start": { + "line": 135, + "column": 19 + }, + "end": { + "line": 135, + "column": 36 + } + }, + "extra": { + "rawValue": "Shared Playlist", + "raw": "'Shared Playlist'" + }, + "value": "Shared Playlist" + }, + { + "type": "ArrowFunctionExpression", + "start": 4800, + "end": 5371, + "loc": { + "start": { + "line": 135, + "column": 38 + }, + "end": { + "line": 148, + "column": 11 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 4806, + "end": 5371, + "loc": { + "start": { + "line": 135, + "column": 44 + }, + "end": { + "line": 148, + "column": 11 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4820, + "end": 5084, + "loc": { + "start": { + "line": 136, + "column": 12 + }, + "end": { + "line": 141, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 4820, + "end": 5083, + "loc": { + "start": { + "line": 136, + "column": 12 + }, + "end": { + "line": 141, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 4820, + "end": 4822, + "loc": { + "start": { + "line": 136, + "column": 12 + }, + "end": { + "line": 136, + "column": 14 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 4823, + "end": 4851, + "loc": { + "start": { + "line": 136, + "column": 15 + }, + "end": { + "line": 136, + "column": 43 + } + }, + "extra": { + "rawValue": "should response status 200", + "raw": "'should response status 200'" + }, + "value": "should response status 200" + }, + { + "type": "ArrowFunctionExpression", + "start": 4853, + "end": 5082, + "loc": { + "start": { + "line": 136, + "column": 45 + }, + "end": { + "line": 141, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 4859, + "end": 5082, + "loc": { + "start": { + "line": 136, + "column": 51 + }, + "end": { + "line": 141, + "column": 13 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 4875, + "end": 5068, + "loc": { + "start": { + "line": 137, + "column": 14 + }, + "end": { + "line": 140, + "column": 74 + } + }, + "argument": { + "type": "CallExpression", + "start": 4882, + "end": 5067, + "loc": { + "start": { + "line": 137, + "column": 21 + }, + "end": { + "line": 140, + "column": 73 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4882, + "end": 5015, + "loc": { + "start": { + "line": 137, + "column": 21 + }, + "end": { + "line": 140, + "column": 21 + } + }, + "object": { + "type": "CallExpression", + "start": 4882, + "end": 4993, + "loc": { + "start": { + "line": 137, + "column": 21 + }, + "end": { + "line": 139, + "column": 32 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4882, + "end": 4991, + "loc": { + "start": { + "line": 137, + "column": 21 + }, + "end": { + "line": 139, + "column": 30 + } + }, + "object": { + "type": "CallExpression", + "start": 4882, + "end": 4960, + "loc": { + "start": { + "line": 137, + "column": 21 + }, + "end": { + "line": 138, + "column": 52 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4882, + "end": 4938, + "loc": { + "start": { + "line": 137, + "column": 21 + }, + "end": { + "line": 138, + "column": 30 + } + }, + "object": { + "type": "MemberExpression", + "start": 4882, + "end": 4907, + "loc": { + "start": { + "line": 137, + "column": 21 + }, + "end": { + "line": 137, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 4882, + "end": 4885, + "loc": { + "start": { + "line": 137, + "column": 21 + }, + "end": { + "line": 137, + "column": 24 + }, + "identifierName": "api" + }, + "name": "api" + }, + "property": { + "type": "Identifier", + "start": 4886, + "end": 4907, + "loc": { + "start": { + "line": 137, + "column": 25 + }, + "end": { + "line": 137, + "column": 46 + }, + "identifierName": "sharedPlaylistFetcher" + }, + "name": "sharedPlaylistFetcher" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4925, + "end": 4938, + "loc": { + "start": { + "line": 138, + "column": 17 + }, + "end": { + "line": 138, + "column": 30 + }, + "identifierName": "setPlaylistID" + }, + "name": "setPlaylistID" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 4939, + "end": 4959, + "loc": { + "start": { + "line": 138, + "column": 31 + }, + "end": { + "line": 138, + "column": 51 + } + }, + "extra": { + "rawValue": "KsOjSf4whgbL45hRfl", + "raw": "'KsOjSf4whgbL45hRfl'" + }, + "value": "KsOjSf4whgbL45hRfl" + } + ] + }, + "property": { + "type": "Identifier", + "start": 4978, + "end": 4991, + "loc": { + "start": { + "line": 139, + "column": 17 + }, + "end": { + "line": 139, + "column": 30 + }, + "identifierName": "fetchMetadata" + }, + "name": "fetchMetadata" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 5011, + "end": 5015, + "loc": { + "start": { + "line": 140, + "column": 17 + }, + "end": { + "line": 140, + "column": 21 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 5016, + "end": 5066, + "loc": { + "start": { + "line": 140, + "column": 22 + }, + "end": { + "line": 140, + "column": 72 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 5016, + "end": 5024, + "loc": { + "start": { + "line": 140, + "column": 22 + }, + "end": { + "line": 140, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "CallExpression", + "start": 5028, + "end": 5066, + "loc": { + "start": { + "line": 140, + "column": 34 + }, + "end": { + "line": 140, + "column": 72 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5028, + "end": 5061, + "loc": { + "start": { + "line": 140, + "column": 34 + }, + "end": { + "line": 140, + "column": 67 + } + }, + "object": { + "type": "MemberExpression", + "start": 5028, + "end": 5053, + "loc": { + "start": { + "line": 140, + "column": 34 + }, + "end": { + "line": 140, + "column": 59 + } + }, + "object": { + "type": "MemberExpression", + "start": 5028, + "end": 5050, + "loc": { + "start": { + "line": 140, + "column": 34 + }, + "end": { + "line": 140, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 5028, + "end": 5043, + "loc": { + "start": { + "line": 140, + "column": 34 + }, + "end": { + "line": 140, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 5028, + "end": 5036, + "loc": { + "start": { + "line": 140, + "column": 34 + }, + "end": { + "line": 140, + "column": 42 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 5037, + "end": 5043, + "loc": { + "start": { + "line": 140, + "column": 43 + }, + "end": { + "line": 140, + "column": 49 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5044, + "end": 5050, + "loc": { + "start": { + "line": 140, + "column": 50 + }, + "end": { + "line": 140, + "column": 56 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5051, + "end": 5053, + "loc": { + "start": { + "line": 140, + "column": 57 + }, + "end": { + "line": 140, + "column": 59 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5054, + "end": 5061, + "loc": { + "start": { + "line": 140, + "column": 60 + }, + "end": { + "line": 140, + "column": 67 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 5062, + "end": 5065, + "loc": { + "start": { + "line": 140, + "column": 68 + }, + "end": { + "line": 140, + "column": 71 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 5097, + "end": 5359, + "loc": { + "start": { + "line": 142, + "column": 12 + }, + "end": { + "line": 147, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 5097, + "end": 5358, + "loc": { + "start": { + "line": 142, + "column": 12 + }, + "end": { + "line": 147, + "column": 14 + } + }, + "callee": { + "type": "Identifier", + "start": 5097, + "end": 5099, + "loc": { + "start": { + "line": 142, + "column": 12 + }, + "end": { + "line": 142, + "column": 14 + }, + "identifierName": "it" + }, + "name": "it" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 5100, + "end": 5128, + "loc": { + "start": { + "line": 142, + "column": 15 + }, + "end": { + "line": 142, + "column": 43 + } + }, + "extra": { + "rawValue": "should response status 200", + "raw": "'should response status 200'" + }, + "value": "should response status 200" + }, + { + "type": "ArrowFunctionExpression", + "start": 5130, + "end": 5357, + "loc": { + "start": { + "line": 142, + "column": 45 + }, + "end": { + "line": 147, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 5136, + "end": 5357, + "loc": { + "start": { + "line": 142, + "column": 51 + }, + "end": { + "line": 147, + "column": 13 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 5152, + "end": 5343, + "loc": { + "start": { + "line": 143, + "column": 14 + }, + "end": { + "line": 146, + "column": 74 + } + }, + "argument": { + "type": "CallExpression", + "start": 5159, + "end": 5342, + "loc": { + "start": { + "line": 143, + "column": 21 + }, + "end": { + "line": 146, + "column": 73 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5159, + "end": 5290, + "loc": { + "start": { + "line": 143, + "column": 21 + }, + "end": { + "line": 146, + "column": 21 + } + }, + "object": { + "type": "CallExpression", + "start": 5159, + "end": 5268, + "loc": { + "start": { + "line": 143, + "column": 21 + }, + "end": { + "line": 145, + "column": 30 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5159, + "end": 5266, + "loc": { + "start": { + "line": 143, + "column": 21 + }, + "end": { + "line": 145, + "column": 28 + } + }, + "object": { + "type": "CallExpression", + "start": 5159, + "end": 5237, + "loc": { + "start": { + "line": 143, + "column": 21 + }, + "end": { + "line": 144, + "column": 52 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5159, + "end": 5215, + "loc": { + "start": { + "line": 143, + "column": 21 + }, + "end": { + "line": 144, + "column": 30 + } + }, + "object": { + "type": "MemberExpression", + "start": 5159, + "end": 5184, + "loc": { + "start": { + "line": 143, + "column": 21 + }, + "end": { + "line": 143, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 5159, + "end": 5162, + "loc": { + "start": { + "line": 143, + "column": 21 + }, + "end": { + "line": 143, + "column": 24 + }, + "identifierName": "api" + }, + "name": "api" + }, + "property": { + "type": "Identifier", + "start": 5163, + "end": 5184, + "loc": { + "start": { + "line": 143, + "column": 25 + }, + "end": { + "line": 143, + "column": 46 + }, + "identifierName": "sharedPlaylistFetcher" + }, + "name": "sharedPlaylistFetcher" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5202, + "end": 5215, + "loc": { + "start": { + "line": 144, + "column": 17 + }, + "end": { + "line": 144, + "column": 30 + }, + "identifierName": "setPlaylistID" + }, + "name": "setPlaylistID" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 5216, + "end": 5236, + "loc": { + "start": { + "line": 144, + "column": 31 + }, + "end": { + "line": 144, + "column": 51 + } + }, + "extra": { + "rawValue": "KsOjSf4whgbL45hRfl", + "raw": "'KsOjSf4whgbL45hRfl'" + }, + "value": "KsOjSf4whgbL45hRfl" + } + ] + }, + "property": { + "type": "Identifier", + "start": 5255, + "end": 5266, + "loc": { + "start": { + "line": 145, + "column": 17 + }, + "end": { + "line": 145, + "column": 28 + }, + "identifierName": "fetchTracks" + }, + "name": "fetchTracks" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 5286, + "end": 5290, + "loc": { + "start": { + "line": 146, + "column": 17 + }, + "end": { + "line": 146, + "column": 21 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 5291, + "end": 5341, + "loc": { + "start": { + "line": 146, + "column": 22 + }, + "end": { + "line": 146, + "column": 72 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 5291, + "end": 5299, + "loc": { + "start": { + "line": 146, + "column": 22 + }, + "end": { + "line": 146, + "column": 30 + }, + "identifierName": "response" + }, + "name": "response" + } + ], + "body": { + "type": "CallExpression", + "start": 5303, + "end": 5341, + "loc": { + "start": { + "line": 146, + "column": 34 + }, + "end": { + "line": 146, + "column": 72 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5303, + "end": 5336, + "loc": { + "start": { + "line": 146, + "column": 34 + }, + "end": { + "line": 146, + "column": 67 + } + }, + "object": { + "type": "MemberExpression", + "start": 5303, + "end": 5328, + "loc": { + "start": { + "line": 146, + "column": 34 + }, + "end": { + "line": 146, + "column": 59 + } + }, + "object": { + "type": "MemberExpression", + "start": 5303, + "end": 5325, + "loc": { + "start": { + "line": 146, + "column": 34 + }, + "end": { + "line": 146, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 5303, + "end": 5318, + "loc": { + "start": { + "line": 146, + "column": 34 + }, + "end": { + "line": 146, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 5303, + "end": 5311, + "loc": { + "start": { + "line": 146, + "column": 34 + }, + "end": { + "line": 146, + "column": 42 + }, + "identifierName": "response" + }, + "name": "response" + }, + "property": { + "type": "Identifier", + "start": 5312, + "end": 5318, + "loc": { + "start": { + "line": 146, + "column": 43 + }, + "end": { + "line": 146, + "column": 49 + }, + "identifierName": "status" + }, + "name": "status" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5319, + "end": 5325, + "loc": { + "start": { + "line": 146, + "column": 50 + }, + "end": { + "line": 146, + "column": 56 + }, + "identifierName": "should" + }, + "name": "should" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5326, + "end": 5328, + "loc": { + "start": { + "line": 146, + "column": 57 + }, + "end": { + "line": 146, + "column": 59 + }, + "identifierName": "be" + }, + "name": "be" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5329, + "end": 5336, + "loc": { + "start": { + "line": 146, + "column": 60 + }, + "end": { + "line": 146, + "column": 67 + }, + "identifierName": "exactly" + }, + "name": "exactly" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 5337, + "end": 5340, + "loc": { + "start": { + "line": 146, + "column": 68 + }, + "end": { + "line": 146, + "column": 71 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + ] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + }, + "comments": [], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 7, + "end": 13, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 14, + "end": 18, + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 18 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should", + "start": 19, + "end": 27, + "loc": { + "start": { + "line": 1, + "column": 19 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 27, + "end": 28, + "loc": { + "start": { + "line": 1, + "column": 27 + }, + "end": { + "line": 1, + "column": 28 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 29, + "end": 35, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 36, + "end": 37, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Auth", + "start": 38, + "end": 42, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 13 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 42, + "end": 43, + "loc": { + "start": { + "line": 2, + "column": 13 + }, + "end": { + "line": 2, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Api", + "start": 44, + "end": 47, + "loc": { + "start": { + "line": 2, + "column": 15 + }, + "end": { + "line": 2, + "column": 18 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 48, + "end": 49, + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 50, + "end": 54, + "loc": { + "start": { + "line": 2, + "column": 21 + }, + "end": { + "line": 2, + "column": 25 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../", + "start": 55, + "end": 60, + "loc": { + "start": { + "line": 2, + "column": 26 + }, + "end": { + "line": 2, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 60, + "end": 61, + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 32 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 62, + "end": 68, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 69, + "end": 70, + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kkbox_sdk", + "start": 71, + "end": 80, + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 3, + "column": 18 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 81, + "end": 82, + "loc": { + "start": { + "line": 3, + "column": 19 + }, + "end": { + "line": 3, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 83, + "end": 87, + "loc": { + "start": { + "line": 3, + "column": 21 + }, + "end": { + "line": 3, + "column": 25 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../../client_secrets.json", + "start": 88, + "end": 115, + "loc": { + "start": { + "line": 3, + "column": 26 + }, + "end": { + "line": 3, + "column": 53 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 115, + "end": 116, + "loc": { + "start": { + "line": 3, + "column": 53 + }, + "end": { + "line": 3, + "column": 54 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 118, + "end": 123, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "CLIENT_ID", + "start": 124, + "end": 133, + "loc": { + "start": { + "line": 5, + "column": 6 + }, + "end": { + "line": 5, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 134, + "end": 135, + "loc": { + "start": { + "line": 5, + "column": 16 + }, + "end": { + "line": 5, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kkbox_sdk", + "start": 136, + "end": 145, + "loc": { + "start": { + "line": 5, + "column": 18 + }, + "end": { + "line": 5, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 145, + "end": 146, + "loc": { + "start": { + "line": 5, + "column": 27 + }, + "end": { + "line": 5, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "client_id", + "start": 146, + "end": 155, + "loc": { + "start": { + "line": 5, + "column": 28 + }, + "end": { + "line": 5, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 155, + "end": 156, + "loc": { + "start": { + "line": 5, + "column": 37 + }, + "end": { + "line": 5, + "column": 38 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 157, + "end": 162, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "CLIENT_SECRET", + "start": 163, + "end": 176, + "loc": { + "start": { + "line": 6, + "column": 6 + }, + "end": { + "line": 6, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 177, + "end": 178, + "loc": { + "start": { + "line": 6, + "column": 20 + }, + "end": { + "line": 6, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kkbox_sdk", + "start": 179, + "end": 188, + "loc": { + "start": { + "line": 6, + "column": 22 + }, + "end": { + "line": 6, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 188, + "end": 189, + "loc": { + "start": { + "line": 6, + "column": 31 + }, + "end": { + "line": 6, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "client_secret", + "start": 189, + "end": 202, + "loc": { + "start": { + "line": 6, + "column": 32 + }, + "end": { + "line": 6, + "column": 45 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 202, + "end": 203, + "loc": { + "start": { + "line": 6, + "column": 45 + }, + "end": { + "line": 6, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 205, + "end": 213, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 213, + "end": 214, + "loc": { + "start": { + "line": 8, + "column": 8 + }, + "end": { + "line": 8, + "column": 9 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "SDK Begin to Test", + "start": 214, + "end": 233, + "loc": { + "start": { + "line": 8, + "column": 9 + }, + "end": { + "line": 8, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 233, + "end": 234, + "loc": { + "start": { + "line": 8, + "column": 28 + }, + "end": { + "line": 8, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 235, + "end": 236, + "loc": { + "start": { + "line": 8, + "column": 30 + }, + "end": { + "line": 8, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 236, + "end": 237, + "loc": { + "start": { + "line": 8, + "column": 31 + }, + "end": { + "line": 8, + "column": 32 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 238, + "end": 240, + "loc": { + "start": { + "line": 8, + "column": 33 + }, + "end": { + "line": 8, + "column": 35 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 241, + "end": 242, + "loc": { + "start": { + "line": 8, + "column": 36 + }, + "end": { + "line": 8, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 245, + "end": 253, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 9, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 253, + "end": 254, + "loc": { + "start": { + "line": 9, + "column": 10 + }, + "end": { + "line": 9, + "column": 11 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Auth", + "start": 254, + "end": 260, + "loc": { + "start": { + "line": 9, + "column": 11 + }, + "end": { + "line": 9, + "column": 17 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 260, + "end": 261, + "loc": { + "start": { + "line": 9, + "column": 17 + }, + "end": { + "line": 9, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 262, + "end": 263, + "loc": { + "start": { + "line": 9, + "column": 19 + }, + "end": { + "line": 9, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 263, + "end": 264, + "loc": { + "start": { + "line": 9, + "column": 20 + }, + "end": { + "line": 9, + "column": 21 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 265, + "end": 267, + "loc": { + "start": { + "line": 9, + "column": 22 + }, + "end": { + "line": 9, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 268, + "end": 269, + "loc": { + "start": { + "line": 9, + "column": 25 + }, + "end": { + "line": 9, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 274, + "end": 276, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 10, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 276, + "end": 277, + "loc": { + "start": { + "line": 10, + "column": 6 + }, + "end": { + "line": 10, + "column": 7 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should get access token", + "start": 277, + "end": 302, + "loc": { + "start": { + "line": 10, + "column": 7 + }, + "end": { + "line": 10, + "column": 32 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 302, + "end": 303, + "loc": { + "start": { + "line": 10, + "column": 32 + }, + "end": { + "line": 10, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 304, + "end": 305, + "loc": { + "start": { + "line": 10, + "column": 34 + }, + "end": { + "line": 10, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 305, + "end": 306, + "loc": { + "start": { + "line": 10, + "column": 35 + }, + "end": { + "line": 10, + "column": 36 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 307, + "end": 309, + "loc": { + "start": { + "line": 10, + "column": 37 + }, + "end": { + "line": 10, + "column": 39 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 310, + "end": 311, + "loc": { + "start": { + "line": 10, + "column": 40 + }, + "end": { + "line": 10, + "column": 41 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 318, + "end": 323, + "loc": { + "start": { + "line": 11, + "column": 6 + }, + "end": { + "line": 11, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "auth", + "start": 324, + "end": 328, + "loc": { + "start": { + "line": 11, + "column": 12 + }, + "end": { + "line": 11, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 329, + "end": 330, + "loc": { + "start": { + "line": 11, + "column": 17 + }, + "end": { + "line": 11, + "column": 18 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 331, + "end": 334, + "loc": { + "start": { + "line": 11, + "column": 19 + }, + "end": { + "line": 11, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Auth", + "start": 335, + "end": 339, + "loc": { + "start": { + "line": 11, + "column": 23 + }, + "end": { + "line": 11, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 339, + "end": 340, + "loc": { + "start": { + "line": 11, + "column": 27 + }, + "end": { + "line": 11, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "CLIENT_ID", + "start": 340, + "end": 349, + "loc": { + "start": { + "line": 11, + "column": 28 + }, + "end": { + "line": 11, + "column": 37 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 349, + "end": 350, + "loc": { + "start": { + "line": 11, + "column": 37 + }, + "end": { + "line": 11, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "CLIENT_SECRET", + "start": 351, + "end": 364, + "loc": { + "start": { + "line": 11, + "column": 39 + }, + "end": { + "line": 11, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 364, + "end": 365, + "loc": { + "start": { + "line": 11, + "column": 52 + }, + "end": { + "line": 11, + "column": 53 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 365, + "end": 366, + "loc": { + "start": { + "line": 11, + "column": 53 + }, + "end": { + "line": 11, + "column": 54 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 373, + "end": 379, + "loc": { + "start": { + "line": 12, + "column": 6 + }, + "end": { + "line": 12, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "auth", + "start": 380, + "end": 384, + "loc": { + "start": { + "line": 12, + "column": 13 + }, + "end": { + "line": 12, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 384, + "end": 385, + "loc": { + "start": { + "line": 12, + "column": 17 + }, + "end": { + "line": 12, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clientCredentialsFlow", + "start": 385, + "end": 406, + "loc": { + "start": { + "line": 12, + "column": 18 + }, + "end": { + "line": 12, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 406, + "end": 407, + "loc": { + "start": { + "line": 12, + "column": 39 + }, + "end": { + "line": 12, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchAccessToken", + "start": 407, + "end": 423, + "loc": { + "start": { + "line": 12, + "column": 40 + }, + "end": { + "line": 12, + "column": 56 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 423, + "end": 424, + "loc": { + "start": { + "line": 12, + "column": 56 + }, + "end": { + "line": 12, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 424, + "end": 425, + "loc": { + "start": { + "line": 12, + "column": 57 + }, + "end": { + "line": 12, + "column": 58 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 425, + "end": 426, + "loc": { + "start": { + "line": 12, + "column": 58 + }, + "end": { + "line": 12, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 426, + "end": 430, + "loc": { + "start": { + "line": 12, + "column": 59 + }, + "end": { + "line": 12, + "column": 63 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 430, + "end": 431, + "loc": { + "start": { + "line": 12, + "column": 63 + }, + "end": { + "line": 12, + "column": 64 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 431, + "end": 439, + "loc": { + "start": { + "line": 12, + "column": 64 + }, + "end": { + "line": 12, + "column": 72 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 440, + "end": 442, + "loc": { + "start": { + "line": 12, + "column": 73 + }, + "end": { + "line": 12, + "column": 75 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 443, + "end": 444, + "loc": { + "start": { + "line": 12, + "column": 76 + }, + "end": { + "line": 12, + "column": 77 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 453, + "end": 461, + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 461, + "end": 462, + "loc": { + "start": { + "line": 13, + "column": 16 + }, + "end": { + "line": 13, + "column": 17 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Api With Fake Token", + "start": 462, + "end": 483, + "loc": { + "start": { + "line": 13, + "column": 17 + }, + "end": { + "line": 13, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 483, + "end": 484, + "loc": { + "start": { + "line": 13, + "column": 38 + }, + "end": { + "line": 13, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 485, + "end": 486, + "loc": { + "start": { + "line": 13, + "column": 40 + }, + "end": { + "line": 13, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 486, + "end": 487, + "loc": { + "start": { + "line": 13, + "column": 41 + }, + "end": { + "line": 13, + "column": 42 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 488, + "end": 490, + "loc": { + "start": { + "line": 13, + "column": 43 + }, + "end": { + "line": 13, + "column": 45 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 491, + "end": 492, + "loc": { + "start": { + "line": 13, + "column": 46 + }, + "end": { + "line": 13, + "column": 47 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 503, + "end": 508, + "loc": { + "start": { + "line": 14, + "column": 10 + }, + "end": { + "line": 14, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "api", + "start": 509, + "end": 512, + "loc": { + "start": { + "line": 14, + "column": 16 + }, + "end": { + "line": 14, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 513, + "end": 514, + "loc": { + "start": { + "line": 14, + "column": 20 + }, + "end": { + "line": 14, + "column": 21 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 515, + "end": 518, + "loc": { + "start": { + "line": 14, + "column": 22 + }, + "end": { + "line": 14, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Api", + "start": 519, + "end": 522, + "loc": { + "start": { + "line": 14, + "column": 26 + }, + "end": { + "line": 14, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 522, + "end": 523, + "loc": { + "start": { + "line": 14, + "column": 29 + }, + "end": { + "line": 14, + "column": 30 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "FAKE_TOKEN", + "start": 523, + "end": 535, + "loc": { + "start": { + "line": 14, + "column": 30 + }, + "end": { + "line": 14, + "column": 42 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 535, + "end": 536, + "loc": { + "start": { + "line": 14, + "column": 42 + }, + "end": { + "line": 14, + "column": 43 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "HK", + "start": 537, + "end": 541, + "loc": { + "start": { + "line": 14, + "column": 44 + }, + "end": { + "line": 14, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 541, + "end": 542, + "loc": { + "start": { + "line": 14, + "column": 48 + }, + "end": { + "line": 14, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 542, + "end": 543, + "loc": { + "start": { + "line": 14, + "column": 49 + }, + "end": { + "line": 14, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 554, + "end": 562, + "loc": { + "start": { + "line": 15, + "column": 10 + }, + "end": { + "line": 15, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 562, + "end": 563, + "loc": { + "start": { + "line": 15, + "column": 18 + }, + "end": { + "line": 15, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Property checking", + "start": 563, + "end": 582, + "loc": { + "start": { + "line": 15, + "column": 19 + }, + "end": { + "line": 15, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 582, + "end": 583, + "loc": { + "start": { + "line": 15, + "column": 38 + }, + "end": { + "line": 15, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 584, + "end": 585, + "loc": { + "start": { + "line": 15, + "column": 40 + }, + "end": { + "line": 15, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 585, + "end": 586, + "loc": { + "start": { + "line": 15, + "column": 41 + }, + "end": { + "line": 15, + "column": 42 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 587, + "end": 589, + "loc": { + "start": { + "line": 15, + "column": 43 + }, + "end": { + "line": 15, + "column": 45 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 590, + "end": 591, + "loc": { + "start": { + "line": 15, + "column": 46 + }, + "end": { + "line": 15, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 604, + "end": 606, + "loc": { + "start": { + "line": 16, + "column": 12 + }, + "end": { + "line": 16, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 606, + "end": 607, + "loc": { + "start": { + "line": 16, + "column": 14 + }, + "end": { + "line": 16, + "column": 15 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should have HK as territory", + "start": 607, + "end": 636, + "loc": { + "start": { + "line": 16, + "column": 15 + }, + "end": { + "line": 16, + "column": 44 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 636, + "end": 637, + "loc": { + "start": { + "line": 16, + "column": 44 + }, + "end": { + "line": 16, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 638, + "end": 642, + "loc": { + "start": { + "line": 16, + "column": 46 + }, + "end": { + "line": 16, + "column": 50 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 643, + "end": 645, + "loc": { + "start": { + "line": 16, + "column": 51 + }, + "end": { + "line": 16, + "column": 53 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 646, + "end": 647, + "loc": { + "start": { + "line": 16, + "column": 54 + }, + "end": { + "line": 16, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "api", + "start": 662, + "end": 665, + "loc": { + "start": { + "line": 17, + "column": 14 + }, + "end": { + "line": 17, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 665, + "end": 666, + "loc": { + "start": { + "line": 17, + "column": 17 + }, + "end": { + "line": 17, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "territory", + "start": 666, + "end": 675, + "loc": { + "start": { + "line": 17, + "column": 18 + }, + "end": { + "line": 17, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 675, + "end": 676, + "loc": { + "start": { + "line": 17, + "column": 27 + }, + "end": { + "line": 17, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 676, + "end": 682, + "loc": { + "start": { + "line": 17, + "column": 28 + }, + "end": { + "line": 17, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 682, + "end": 683, + "loc": { + "start": { + "line": 17, + "column": 34 + }, + "end": { + "line": 17, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 683, + "end": 685, + "loc": { + "start": { + "line": 17, + "column": 35 + }, + "end": { + "line": 17, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 685, + "end": 686, + "loc": { + "start": { + "line": 17, + "column": 37 + }, + "end": { + "line": 17, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 686, + "end": 693, + "loc": { + "start": { + "line": 17, + "column": 38 + }, + "end": { + "line": 17, + "column": 45 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 693, + "end": 694, + "loc": { + "start": { + "line": 17, + "column": 45 + }, + "end": { + "line": 17, + "column": 46 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "HK", + "start": 694, + "end": 698, + "loc": { + "start": { + "line": 17, + "column": 46 + }, + "end": { + "line": 17, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 698, + "end": 699, + "loc": { + "start": { + "line": 17, + "column": 50 + }, + "end": { + "line": 17, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 699, + "end": 700, + "loc": { + "start": { + "line": 17, + "column": 51 + }, + "end": { + "line": 17, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "done", + "start": 715, + "end": 719, + "loc": { + "start": { + "line": 18, + "column": 14 + }, + "end": { + "line": 18, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 719, + "end": 720, + "loc": { + "start": { + "line": 18, + "column": 18 + }, + "end": { + "line": 18, + "column": 19 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 720, + "end": 721, + "loc": { + "start": { + "line": 18, + "column": 19 + }, + "end": { + "line": 18, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 721, + "end": 722, + "loc": { + "start": { + "line": 18, + "column": 20 + }, + "end": { + "line": 18, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 735, + "end": 736, + "loc": { + "start": { + "line": 19, + "column": 12 + }, + "end": { + "line": 19, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 736, + "end": 737, + "loc": { + "start": { + "line": 19, + "column": 13 + }, + "end": { + "line": 19, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 737, + "end": 738, + "loc": { + "start": { + "line": 19, + "column": 14 + }, + "end": { + "line": 19, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 749, + "end": 750, + "loc": { + "start": { + "line": 20, + "column": 10 + }, + "end": { + "line": 20, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 750, + "end": 751, + "loc": { + "start": { + "line": 20, + "column": 11 + }, + "end": { + "line": 20, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 751, + "end": 752, + "loc": { + "start": { + "line": 20, + "column": 12 + }, + "end": { + "line": 20, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 764, + "end": 772, + "loc": { + "start": { + "line": 22, + "column": 10 + }, + "end": { + "line": 22, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 772, + "end": 773, + "loc": { + "start": { + "line": 22, + "column": 18 + }, + "end": { + "line": 22, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Search with fake token", + "start": 773, + "end": 797, + "loc": { + "start": { + "line": 22, + "column": 19 + }, + "end": { + "line": 22, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 797, + "end": 798, + "loc": { + "start": { + "line": 22, + "column": 43 + }, + "end": { + "line": 22, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 799, + "end": 800, + "loc": { + "start": { + "line": 22, + "column": 45 + }, + "end": { + "line": 22, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 800, + "end": 801, + "loc": { + "start": { + "line": 22, + "column": 46 + }, + "end": { + "line": 22, + "column": 47 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 802, + "end": 804, + "loc": { + "start": { + "line": 22, + "column": 48 + }, + "end": { + "line": 22, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 805, + "end": 806, + "loc": { + "start": { + "line": 22, + "column": 51 + }, + "end": { + "line": 22, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 819, + "end": 821, + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 23, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 821, + "end": 822, + "loc": { + "start": { + "line": 23, + "column": 14 + }, + "end": { + "line": 23, + "column": 15 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should fail", + "start": 822, + "end": 835, + "loc": { + "start": { + "line": 23, + "column": 15 + }, + "end": { + "line": 23, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 835, + "end": 836, + "loc": { + "start": { + "line": 23, + "column": 28 + }, + "end": { + "line": 23, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 837, + "end": 838, + "loc": { + "start": { + "line": 23, + "column": 30 + }, + "end": { + "line": 23, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 838, + "end": 839, + "loc": { + "start": { + "line": 23, + "column": 31 + }, + "end": { + "line": 23, + "column": 32 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 840, + "end": 842, + "loc": { + "start": { + "line": 23, + "column": 33 + }, + "end": { + "line": 23, + "column": 35 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 843, + "end": 844, + "loc": { + "start": { + "line": 23, + "column": 36 + }, + "end": { + "line": 23, + "column": 37 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 859, + "end": 865, + "loc": { + "start": { + "line": 24, + "column": 14 + }, + "end": { + "line": 24, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "api", + "start": 866, + "end": 869, + "loc": { + "start": { + "line": 24, + "column": 21 + }, + "end": { + "line": 24, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 869, + "end": 870, + "loc": { + "start": { + "line": 24, + "column": 24 + }, + "end": { + "line": 24, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "searchFetcher", + "start": 870, + "end": 883, + "loc": { + "start": { + "line": 24, + "column": 25 + }, + "end": { + "line": 24, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 900, + "end": 901, + "loc": { + "start": { + "line": 25, + "column": 16 + }, + "end": { + "line": 25, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setSearchCriteria", + "start": 901, + "end": 918, + "loc": { + "start": { + "line": 25, + "column": 17 + }, + "end": { + "line": 25, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 918, + "end": 919, + "loc": { + "start": { + "line": 25, + "column": 34 + }, + "end": { + "line": 25, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "flash", + "start": 919, + "end": 926, + "loc": { + "start": { + "line": 25, + "column": 35 + }, + "end": { + "line": 25, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 926, + "end": 927, + "loc": { + "start": { + "line": 25, + "column": 42 + }, + "end": { + "line": 25, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 944, + "end": 945, + "loc": { + "start": { + "line": 26, + "column": 16 + }, + "end": { + "line": 26, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchSearchResult", + "start": 945, + "end": 962, + "loc": { + "start": { + "line": 26, + "column": 17 + }, + "end": { + "line": 26, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 962, + "end": 963, + "loc": { + "start": { + "line": 26, + "column": 34 + }, + "end": { + "line": 26, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 963, + "end": 964, + "loc": { + "start": { + "line": 26, + "column": 35 + }, + "end": { + "line": 26, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 981, + "end": 982, + "loc": { + "start": { + "line": 27, + "column": 16 + }, + "end": { + "line": 27, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 982, + "end": 986, + "loc": { + "start": { + "line": 27, + "column": 17 + }, + "end": { + "line": 27, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 986, + "end": 987, + "loc": { + "start": { + "line": 27, + "column": 21 + }, + "end": { + "line": 27, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 987, + "end": 995, + "loc": { + "start": { + "line": 27, + "column": 22 + }, + "end": { + "line": 27, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 996, + "end": 998, + "loc": { + "start": { + "line": 27, + "column": 31 + }, + "end": { + "line": 27, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 999, + "end": 1000, + "loc": { + "start": { + "line": 27, + "column": 34 + }, + "end": { + "line": 27, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 1019, + "end": 1025, + "loc": { + "start": { + "line": 28, + "column": 18 + }, + "end": { + "line": 28, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1025, + "end": 1026, + "loc": { + "start": { + "line": 28, + "column": 24 + }, + "end": { + "line": 28, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "not", + "start": 1026, + "end": 1029, + "loc": { + "start": { + "line": 28, + "column": 25 + }, + "end": { + "line": 28, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1029, + "end": 1030, + "loc": { + "start": { + "line": 28, + "column": 28 + }, + "end": { + "line": 28, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exists", + "start": 1030, + "end": 1036, + "loc": { + "start": { + "line": 28, + "column": 29 + }, + "end": { + "line": 28, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1036, + "end": 1037, + "loc": { + "start": { + "line": 28, + "column": 35 + }, + "end": { + "line": 28, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 1037, + "end": 1045, + "loc": { + "start": { + "line": 28, + "column": 36 + }, + "end": { + "line": 28, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1045, + "end": 1046, + "loc": { + "start": { + "line": 28, + "column": 44 + }, + "end": { + "line": 28, + "column": 45 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1046, + "end": 1047, + "loc": { + "start": { + "line": 28, + "column": 45 + }, + "end": { + "line": 28, + "column": 46 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1064, + "end": 1065, + "loc": { + "start": { + "line": 29, + "column": 16 + }, + "end": { + "line": 29, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1065, + "end": 1066, + "loc": { + "start": { + "line": 29, + "column": 17 + }, + "end": { + "line": 29, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1083, + "end": 1084, + "loc": { + "start": { + "line": 30, + "column": 16 + }, + "end": { + "line": 30, + "column": 17 + } + } + }, + { + "type": { + "label": "catch", + "keyword": "catch", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "catch", + "start": 1084, + "end": 1089, + "loc": { + "start": { + "line": 30, + "column": 17 + }, + "end": { + "line": 30, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1089, + "end": 1090, + "loc": { + "start": { + "line": 30, + "column": 22 + }, + "end": { + "line": 30, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 1090, + "end": 1095, + "loc": { + "start": { + "line": 30, + "column": 23 + }, + "end": { + "line": 30, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1096, + "end": 1098, + "loc": { + "start": { + "line": 30, + "column": 29 + }, + "end": { + "line": 30, + "column": 31 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1099, + "end": 1100, + "loc": { + "start": { + "line": 30, + "column": 32 + }, + "end": { + "line": 30, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 1119, + "end": 1125, + "loc": { + "start": { + "line": 31, + "column": 18 + }, + "end": { + "line": 31, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1125, + "end": 1126, + "loc": { + "start": { + "line": 31, + "column": 24 + }, + "end": { + "line": 31, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exists", + "start": 1126, + "end": 1132, + "loc": { + "start": { + "line": 31, + "column": 25 + }, + "end": { + "line": 31, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1132, + "end": 1133, + "loc": { + "start": { + "line": 31, + "column": 31 + }, + "end": { + "line": 31, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 1133, + "end": 1138, + "loc": { + "start": { + "line": 31, + "column": 32 + }, + "end": { + "line": 31, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1138, + "end": 1139, + "loc": { + "start": { + "line": 31, + "column": 37 + }, + "end": { + "line": 31, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1139, + "end": 1140, + "loc": { + "start": { + "line": 31, + "column": 38 + }, + "end": { + "line": 31, + "column": 39 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1157, + "end": 1158, + "loc": { + "start": { + "line": 32, + "column": 16 + }, + "end": { + "line": 32, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1158, + "end": 1159, + "loc": { + "start": { + "line": 32, + "column": 17 + }, + "end": { + "line": 32, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1159, + "end": 1160, + "loc": { + "start": { + "line": 32, + "column": 18 + }, + "end": { + "line": 32, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1173, + "end": 1174, + "loc": { + "start": { + "line": 33, + "column": 12 + }, + "end": { + "line": 33, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1174, + "end": 1175, + "loc": { + "start": { + "line": 33, + "column": 13 + }, + "end": { + "line": 33, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1175, + "end": 1176, + "loc": { + "start": { + "line": 33, + "column": 14 + }, + "end": { + "line": 33, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1187, + "end": 1188, + "loc": { + "start": { + "line": 34, + "column": 10 + }, + "end": { + "line": 34, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1188, + "end": 1189, + "loc": { + "start": { + "line": 34, + "column": 11 + }, + "end": { + "line": 34, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1189, + "end": 1190, + "loc": { + "start": { + "line": 34, + "column": 12 + }, + "end": { + "line": 34, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1199, + "end": 1200, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1200, + "end": 1201, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 10 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1201, + "end": 1202, + "loc": { + "start": { + "line": 35, + "column": 10 + }, + "end": { + "line": 35, + "column": 11 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1212, + "end": 1217, + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "access_token", + "start": 1218, + "end": 1230, + "loc": { + "start": { + "line": 37, + "column": 14 + }, + "end": { + "line": 37, + "column": 26 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1231, + "end": 1232, + "loc": { + "start": { + "line": 37, + "column": 27 + }, + "end": { + "line": 37, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 1233, + "end": 1241, + "loc": { + "start": { + "line": 37, + "column": 29 + }, + "end": { + "line": 37, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1241, + "end": 1242, + "loc": { + "start": { + "line": 37, + "column": 37 + }, + "end": { + "line": 37, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 1242, + "end": 1246, + "loc": { + "start": { + "line": 37, + "column": 38 + }, + "end": { + "line": 37, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1246, + "end": 1247, + "loc": { + "start": { + "line": 37, + "column": 42 + }, + "end": { + "line": 37, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "access_token", + "start": 1247, + "end": 1259, + "loc": { + "start": { + "line": 37, + "column": 43 + }, + "end": { + "line": 37, + "column": 55 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1259, + "end": 1260, + "loc": { + "start": { + "line": 37, + "column": 55 + }, + "end": { + "line": 37, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "access_token", + "start": 1269, + "end": 1281, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1281, + "end": 1282, + "loc": { + "start": { + "line": 38, + "column": 20 + }, + "end": { + "line": 38, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 1282, + "end": 1288, + "loc": { + "start": { + "line": 38, + "column": 21 + }, + "end": { + "line": 38, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1288, + "end": 1289, + "loc": { + "start": { + "line": 38, + "column": 27 + }, + "end": { + "line": 38, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 1289, + "end": 1291, + "loc": { + "start": { + "line": 38, + "column": 28 + }, + "end": { + "line": 38, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1291, + "end": 1292, + "loc": { + "start": { + "line": 38, + "column": 30 + }, + "end": { + "line": 38, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ok", + "start": 1292, + "end": 1294, + "loc": { + "start": { + "line": 38, + "column": 31 + }, + "end": { + "line": 38, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1294, + "end": 1295, + "loc": { + "start": { + "line": 38, + "column": 33 + }, + "end": { + "line": 38, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 1305, + "end": 1313, + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1313, + "end": 1314, + "loc": { + "start": { + "line": 40, + "column": 16 + }, + "end": { + "line": 40, + "column": 17 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Api", + "start": 1314, + "end": 1319, + "loc": { + "start": { + "line": 40, + "column": 17 + }, + "end": { + "line": 40, + "column": 22 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1319, + "end": 1320, + "loc": { + "start": { + "line": 40, + "column": 22 + }, + "end": { + "line": 40, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1321, + "end": 1322, + "loc": { + "start": { + "line": 40, + "column": 24 + }, + "end": { + "line": 40, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1322, + "end": 1323, + "loc": { + "start": { + "line": 40, + "column": 25 + }, + "end": { + "line": 40, + "column": 26 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1324, + "end": 1326, + "loc": { + "start": { + "line": 40, + "column": 27 + }, + "end": { + "line": 40, + "column": 29 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1327, + "end": 1328, + "loc": { + "start": { + "line": 40, + "column": 30 + }, + "end": { + "line": 40, + "column": 31 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1339, + "end": 1344, + "loc": { + "start": { + "line": 41, + "column": 10 + }, + "end": { + "line": 41, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "api", + "start": 1345, + "end": 1348, + "loc": { + "start": { + "line": 41, + "column": 16 + }, + "end": { + "line": 41, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1349, + "end": 1350, + "loc": { + "start": { + "line": 41, + "column": 20 + }, + "end": { + "line": 41, + "column": 21 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 1351, + "end": 1354, + "loc": { + "start": { + "line": 41, + "column": 22 + }, + "end": { + "line": 41, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Api", + "start": 1355, + "end": 1358, + "loc": { + "start": { + "line": 41, + "column": 26 + }, + "end": { + "line": 41, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1358, + "end": 1359, + "loc": { + "start": { + "line": 41, + "column": 29 + }, + "end": { + "line": 41, + "column": 30 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "FAKE_TOKEN", + "start": 1359, + "end": 1371, + "loc": { + "start": { + "line": 41, + "column": 30 + }, + "end": { + "line": 41, + "column": 42 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1371, + "end": 1372, + "loc": { + "start": { + "line": 41, + "column": 42 + }, + "end": { + "line": 41, + "column": 43 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "HK", + "start": 1373, + "end": 1377, + "loc": { + "start": { + "line": 41, + "column": 44 + }, + "end": { + "line": 41, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1377, + "end": 1378, + "loc": { + "start": { + "line": 41, + "column": 48 + }, + "end": { + "line": 41, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1378, + "end": 1379, + "loc": { + "start": { + "line": 41, + "column": 49 + }, + "end": { + "line": 41, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "api", + "start": 1390, + "end": 1393, + "loc": { + "start": { + "line": 42, + "column": 10 + }, + "end": { + "line": 42, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1393, + "end": 1394, + "loc": { + "start": { + "line": 42, + "column": 13 + }, + "end": { + "line": 42, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setToken", + "start": 1394, + "end": 1402, + "loc": { + "start": { + "line": 42, + "column": 14 + }, + "end": { + "line": 42, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1402, + "end": 1403, + "loc": { + "start": { + "line": 42, + "column": 22 + }, + "end": { + "line": 42, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "access_token", + "start": 1403, + "end": 1415, + "loc": { + "start": { + "line": 42, + "column": 23 + }, + "end": { + "line": 42, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1415, + "end": 1416, + "loc": { + "start": { + "line": 42, + "column": 35 + }, + "end": { + "line": 42, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1416, + "end": 1417, + "loc": { + "start": { + "line": 42, + "column": 36 + }, + "end": { + "line": 42, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 1428, + "end": 1436, + "loc": { + "start": { + "line": 43, + "column": 10 + }, + "end": { + "line": 43, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1436, + "end": 1437, + "loc": { + "start": { + "line": 43, + "column": 18 + }, + "end": { + "line": 43, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Search", + "start": 1437, + "end": 1445, + "loc": { + "start": { + "line": 43, + "column": 19 + }, + "end": { + "line": 43, + "column": 27 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1445, + "end": 1446, + "loc": { + "start": { + "line": 43, + "column": 27 + }, + "end": { + "line": 43, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1447, + "end": 1448, + "loc": { + "start": { + "line": 43, + "column": 29 + }, + "end": { + "line": 43, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1448, + "end": 1449, + "loc": { + "start": { + "line": 43, + "column": 30 + }, + "end": { + "line": 43, + "column": 31 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1450, + "end": 1452, + "loc": { + "start": { + "line": 43, + "column": 32 + }, + "end": { + "line": 43, + "column": 34 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1453, + "end": 1454, + "loc": { + "start": { + "line": 43, + "column": 35 + }, + "end": { + "line": 43, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 1467, + "end": 1469, + "loc": { + "start": { + "line": 44, + "column": 12 + }, + "end": { + "line": 44, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1469, + "end": 1470, + "loc": { + "start": { + "line": 44, + "column": 14 + }, + "end": { + "line": 44, + "column": 15 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200", + "start": 1470, + "end": 1498, + "loc": { + "start": { + "line": 44, + "column": 15 + }, + "end": { + "line": 44, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1498, + "end": 1499, + "loc": { + "start": { + "line": 44, + "column": 43 + }, + "end": { + "line": 44, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1500, + "end": 1501, + "loc": { + "start": { + "line": 44, + "column": 45 + }, + "end": { + "line": 44, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1501, + "end": 1502, + "loc": { + "start": { + "line": 44, + "column": 46 + }, + "end": { + "line": 44, + "column": 47 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1503, + "end": 1505, + "loc": { + "start": { + "line": 44, + "column": 48 + }, + "end": { + "line": 44, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1506, + "end": 1507, + "loc": { + "start": { + "line": 44, + "column": 51 + }, + "end": { + "line": 44, + "column": 52 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1522, + "end": 1528, + "loc": { + "start": { + "line": 45, + "column": 14 + }, + "end": { + "line": 45, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "api", + "start": 1529, + "end": 1532, + "loc": { + "start": { + "line": 45, + "column": 21 + }, + "end": { + "line": 45, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1532, + "end": 1533, + "loc": { + "start": { + "line": 45, + "column": 24 + }, + "end": { + "line": 45, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "searchFetcher", + "start": 1533, + "end": 1546, + "loc": { + "start": { + "line": 45, + "column": 25 + }, + "end": { + "line": 45, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1563, + "end": 1564, + "loc": { + "start": { + "line": 46, + "column": 16 + }, + "end": { + "line": 46, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setSearchCriteria", + "start": 1564, + "end": 1581, + "loc": { + "start": { + "line": 46, + "column": 17 + }, + "end": { + "line": 46, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1581, + "end": 1582, + "loc": { + "start": { + "line": 46, + "column": 34 + }, + "end": { + "line": 46, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "flash", + "start": 1582, + "end": 1589, + "loc": { + "start": { + "line": 46, + "column": 35 + }, + "end": { + "line": 46, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1589, + "end": 1590, + "loc": { + "start": { + "line": 46, + "column": 42 + }, + "end": { + "line": 46, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1607, + "end": 1608, + "loc": { + "start": { + "line": 47, + "column": 16 + }, + "end": { + "line": 47, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchSearchResult", + "start": 1608, + "end": 1625, + "loc": { + "start": { + "line": 47, + "column": 17 + }, + "end": { + "line": 47, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1625, + "end": 1626, + "loc": { + "start": { + "line": 47, + "column": 34 + }, + "end": { + "line": 47, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1626, + "end": 1627, + "loc": { + "start": { + "line": 47, + "column": 35 + }, + "end": { + "line": 47, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1644, + "end": 1645, + "loc": { + "start": { + "line": 48, + "column": 16 + }, + "end": { + "line": 48, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 1645, + "end": 1649, + "loc": { + "start": { + "line": 48, + "column": 17 + }, + "end": { + "line": 48, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1649, + "end": 1650, + "loc": { + "start": { + "line": 48, + "column": 21 + }, + "end": { + "line": 48, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 1650, + "end": 1658, + "loc": { + "start": { + "line": 48, + "column": 22 + }, + "end": { + "line": 48, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1659, + "end": 1661, + "loc": { + "start": { + "line": 48, + "column": 31 + }, + "end": { + "line": 48, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 1662, + "end": 1670, + "loc": { + "start": { + "line": 48, + "column": 34 + }, + "end": { + "line": 48, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1670, + "end": 1671, + "loc": { + "start": { + "line": 48, + "column": 42 + }, + "end": { + "line": 48, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 1671, + "end": 1677, + "loc": { + "start": { + "line": 48, + "column": 43 + }, + "end": { + "line": 48, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1677, + "end": 1678, + "loc": { + "start": { + "line": 48, + "column": 49 + }, + "end": { + "line": 48, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 1678, + "end": 1684, + "loc": { + "start": { + "line": 48, + "column": 50 + }, + "end": { + "line": 48, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1684, + "end": 1685, + "loc": { + "start": { + "line": 48, + "column": 56 + }, + "end": { + "line": 48, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 1685, + "end": 1687, + "loc": { + "start": { + "line": 48, + "column": 57 + }, + "end": { + "line": 48, + "column": 59 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1687, + "end": 1688, + "loc": { + "start": { + "line": 48, + "column": 59 + }, + "end": { + "line": 48, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 1688, + "end": 1695, + "loc": { + "start": { + "line": 48, + "column": 60 + }, + "end": { + "line": 48, + "column": 67 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1695, + "end": 1696, + "loc": { + "start": { + "line": 48, + "column": 67 + }, + "end": { + "line": 48, + "column": 68 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 1696, + "end": 1699, + "loc": { + "start": { + "line": 48, + "column": 68 + }, + "end": { + "line": 48, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1699, + "end": 1700, + "loc": { + "start": { + "line": 48, + "column": 71 + }, + "end": { + "line": 48, + "column": 72 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1700, + "end": 1701, + "loc": { + "start": { + "line": 48, + "column": 72 + }, + "end": { + "line": 48, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1701, + "end": 1702, + "loc": { + "start": { + "line": 48, + "column": 73 + }, + "end": { + "line": 48, + "column": 74 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1715, + "end": 1716, + "loc": { + "start": { + "line": 49, + "column": 12 + }, + "end": { + "line": 49, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1716, + "end": 1717, + "loc": { + "start": { + "line": 49, + "column": 13 + }, + "end": { + "line": 49, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1717, + "end": 1718, + "loc": { + "start": { + "line": 49, + "column": 14 + }, + "end": { + "line": 49, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1729, + "end": 1730, + "loc": { + "start": { + "line": 50, + "column": 10 + }, + "end": { + "line": 50, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1730, + "end": 1731, + "loc": { + "start": { + "line": 50, + "column": 11 + }, + "end": { + "line": 50, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1731, + "end": 1732, + "loc": { + "start": { + "line": 50, + "column": 12 + }, + "end": { + "line": 50, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 1744, + "end": 1752, + "loc": { + "start": { + "line": 52, + "column": 10 + }, + "end": { + "line": 52, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1752, + "end": 1753, + "loc": { + "start": { + "line": 52, + "column": 18 + }, + "end": { + "line": 52, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Track", + "start": 1753, + "end": 1760, + "loc": { + "start": { + "line": 52, + "column": 19 + }, + "end": { + "line": 52, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1760, + "end": 1761, + "loc": { + "start": { + "line": 52, + "column": 26 + }, + "end": { + "line": 52, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1762, + "end": 1763, + "loc": { + "start": { + "line": 52, + "column": 28 + }, + "end": { + "line": 52, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1763, + "end": 1764, + "loc": { + "start": { + "line": 52, + "column": 29 + }, + "end": { + "line": 52, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1765, + "end": 1767, + "loc": { + "start": { + "line": 52, + "column": 31 + }, + "end": { + "line": 52, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1768, + "end": 1769, + "loc": { + "start": { + "line": 52, + "column": 34 + }, + "end": { + "line": 52, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 1782, + "end": 1784, + "loc": { + "start": { + "line": 53, + "column": 12 + }, + "end": { + "line": 53, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1784, + "end": 1785, + "loc": { + "start": { + "line": 53, + "column": 14 + }, + "end": { + "line": 53, + "column": 15 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200", + "start": 1785, + "end": 1813, + "loc": { + "start": { + "line": 53, + "column": 15 + }, + "end": { + "line": 53, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1813, + "end": 1814, + "loc": { + "start": { + "line": 53, + "column": 43 + }, + "end": { + "line": 53, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1815, + "end": 1816, + "loc": { + "start": { + "line": 53, + "column": 45 + }, + "end": { + "line": 53, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1816, + "end": 1817, + "loc": { + "start": { + "line": 53, + "column": 46 + }, + "end": { + "line": 53, + "column": 47 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1818, + "end": 1820, + "loc": { + "start": { + "line": 53, + "column": 48 + }, + "end": { + "line": 53, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1821, + "end": 1822, + "loc": { + "start": { + "line": 53, + "column": 51 + }, + "end": { + "line": 53, + "column": 52 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1837, + "end": 1843, + "loc": { + "start": { + "line": 54, + "column": 14 + }, + "end": { + "line": 54, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "api", + "start": 1844, + "end": 1847, + "loc": { + "start": { + "line": 54, + "column": 21 + }, + "end": { + "line": 54, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1847, + "end": 1848, + "loc": { + "start": { + "line": 54, + "column": 24 + }, + "end": { + "line": 54, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "trackFetcher", + "start": 1848, + "end": 1860, + "loc": { + "start": { + "line": 54, + "column": 25 + }, + "end": { + "line": 54, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1877, + "end": 1878, + "loc": { + "start": { + "line": 55, + "column": 16 + }, + "end": { + "line": 55, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setTrackID", + "start": 1878, + "end": 1888, + "loc": { + "start": { + "line": 55, + "column": 17 + }, + "end": { + "line": 55, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1888, + "end": 1889, + "loc": { + "start": { + "line": 55, + "column": 27 + }, + "end": { + "line": 55, + "column": 28 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "KpnEGVHEsGgkoB0MBk", + "start": 1889, + "end": 1909, + "loc": { + "start": { + "line": 55, + "column": 28 + }, + "end": { + "line": 55, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1909, + "end": 1910, + "loc": { + "start": { + "line": 55, + "column": 48 + }, + "end": { + "line": 55, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1927, + "end": 1928, + "loc": { + "start": { + "line": 56, + "column": 16 + }, + "end": { + "line": 56, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchMetadata", + "start": 1928, + "end": 1941, + "loc": { + "start": { + "line": 56, + "column": 17 + }, + "end": { + "line": 56, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1941, + "end": 1942, + "loc": { + "start": { + "line": 56, + "column": 30 + }, + "end": { + "line": 56, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1942, + "end": 1943, + "loc": { + "start": { + "line": 56, + "column": 31 + }, + "end": { + "line": 56, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1960, + "end": 1961, + "loc": { + "start": { + "line": 57, + "column": 16 + }, + "end": { + "line": 57, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 1961, + "end": 1965, + "loc": { + "start": { + "line": 57, + "column": 17 + }, + "end": { + "line": 57, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1965, + "end": 1966, + "loc": { + "start": { + "line": 57, + "column": 21 + }, + "end": { + "line": 57, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 1966, + "end": 1974, + "loc": { + "start": { + "line": 57, + "column": 22 + }, + "end": { + "line": 57, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1975, + "end": 1977, + "loc": { + "start": { + "line": 57, + "column": 31 + }, + "end": { + "line": 57, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 1978, + "end": 1986, + "loc": { + "start": { + "line": 57, + "column": 34 + }, + "end": { + "line": 57, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1986, + "end": 1987, + "loc": { + "start": { + "line": 57, + "column": 42 + }, + "end": { + "line": 57, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 1987, + "end": 1993, + "loc": { + "start": { + "line": 57, + "column": 43 + }, + "end": { + "line": 57, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1993, + "end": 1994, + "loc": { + "start": { + "line": 57, + "column": 49 + }, + "end": { + "line": 57, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 1994, + "end": 2000, + "loc": { + "start": { + "line": 57, + "column": 50 + }, + "end": { + "line": 57, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2000, + "end": 2001, + "loc": { + "start": { + "line": 57, + "column": 56 + }, + "end": { + "line": 57, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 2001, + "end": 2003, + "loc": { + "start": { + "line": 57, + "column": 57 + }, + "end": { + "line": 57, + "column": 59 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2003, + "end": 2004, + "loc": { + "start": { + "line": 57, + "column": 59 + }, + "end": { + "line": 57, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 2004, + "end": 2011, + "loc": { + "start": { + "line": 57, + "column": 60 + }, + "end": { + "line": 57, + "column": 67 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2011, + "end": 2012, + "loc": { + "start": { + "line": 57, + "column": 67 + }, + "end": { + "line": 57, + "column": 68 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 2012, + "end": 2015, + "loc": { + "start": { + "line": 57, + "column": 68 + }, + "end": { + "line": 57, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2015, + "end": 2016, + "loc": { + "start": { + "line": 57, + "column": 71 + }, + "end": { + "line": 57, + "column": 72 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2016, + "end": 2017, + "loc": { + "start": { + "line": 57, + "column": 72 + }, + "end": { + "line": 57, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2017, + "end": 2018, + "loc": { + "start": { + "line": 57, + "column": 73 + }, + "end": { + "line": 57, + "column": 74 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2031, + "end": 2032, + "loc": { + "start": { + "line": 58, + "column": 12 + }, + "end": { + "line": 58, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2032, + "end": 2033, + "loc": { + "start": { + "line": 58, + "column": 13 + }, + "end": { + "line": 58, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2033, + "end": 2034, + "loc": { + "start": { + "line": 58, + "column": 14 + }, + "end": { + "line": 58, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2045, + "end": 2046, + "loc": { + "start": { + "line": 59, + "column": 10 + }, + "end": { + "line": 59, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2046, + "end": 2047, + "loc": { + "start": { + "line": 59, + "column": 11 + }, + "end": { + "line": 59, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2047, + "end": 2048, + "loc": { + "start": { + "line": 59, + "column": 12 + }, + "end": { + "line": 59, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 2060, + "end": 2068, + "loc": { + "start": { + "line": 61, + "column": 10 + }, + "end": { + "line": 61, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2068, + "end": 2069, + "loc": { + "start": { + "line": 61, + "column": 18 + }, + "end": { + "line": 61, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Album", + "start": 2069, + "end": 2076, + "loc": { + "start": { + "line": 61, + "column": 19 + }, + "end": { + "line": 61, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2076, + "end": 2077, + "loc": { + "start": { + "line": 61, + "column": 26 + }, + "end": { + "line": 61, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2078, + "end": 2079, + "loc": { + "start": { + "line": 61, + "column": 28 + }, + "end": { + "line": 61, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2079, + "end": 2080, + "loc": { + "start": { + "line": 61, + "column": 29 + }, + "end": { + "line": 61, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2081, + "end": 2083, + "loc": { + "start": { + "line": 61, + "column": 31 + }, + "end": { + "line": 61, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2084, + "end": 2085, + "loc": { + "start": { + "line": 61, + "column": 34 + }, + "end": { + "line": 61, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 2098, + "end": 2100, + "loc": { + "start": { + "line": 62, + "column": 12 + }, + "end": { + "line": 62, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2100, + "end": 2101, + "loc": { + "start": { + "line": 62, + "column": 14 + }, + "end": { + "line": 62, + "column": 15 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200", + "start": 2101, + "end": 2129, + "loc": { + "start": { + "line": 62, + "column": 15 + }, + "end": { + "line": 62, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2129, + "end": 2130, + "loc": { + "start": { + "line": 62, + "column": 43 + }, + "end": { + "line": 62, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2131, + "end": 2132, + "loc": { + "start": { + "line": 62, + "column": 45 + }, + "end": { + "line": 62, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2132, + "end": 2133, + "loc": { + "start": { + "line": 62, + "column": 46 + }, + "end": { + "line": 62, + "column": 47 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2134, + "end": 2136, + "loc": { + "start": { + "line": 62, + "column": 48 + }, + "end": { + "line": 62, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2137, + "end": 2138, + "loc": { + "start": { + "line": 62, + "column": 51 + }, + "end": { + "line": 62, + "column": 52 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2153, + "end": 2159, + "loc": { + "start": { + "line": 63, + "column": 14 + }, + "end": { + "line": 63, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "api", + "start": 2160, + "end": 2163, + "loc": { + "start": { + "line": 63, + "column": 21 + }, + "end": { + "line": 63, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2163, + "end": 2164, + "loc": { + "start": { + "line": 63, + "column": 24 + }, + "end": { + "line": 63, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "albumFetcher", + "start": 2164, + "end": 2176, + "loc": { + "start": { + "line": 63, + "column": 25 + }, + "end": { + "line": 63, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2193, + "end": 2194, + "loc": { + "start": { + "line": 64, + "column": 16 + }, + "end": { + "line": 64, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setAlbumID", + "start": 2194, + "end": 2204, + "loc": { + "start": { + "line": 64, + "column": 17 + }, + "end": { + "line": 64, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2204, + "end": 2205, + "loc": { + "start": { + "line": 64, + "column": 27 + }, + "end": { + "line": 64, + "column": 28 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "KmRKnW5qmUrTnGRuxF", + "start": 2205, + "end": 2225, + "loc": { + "start": { + "line": 64, + "column": 28 + }, + "end": { + "line": 64, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2225, + "end": 2226, + "loc": { + "start": { + "line": 64, + "column": 48 + }, + "end": { + "line": 64, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2243, + "end": 2244, + "loc": { + "start": { + "line": 65, + "column": 16 + }, + "end": { + "line": 65, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchMetadata", + "start": 2244, + "end": 2257, + "loc": { + "start": { + "line": 65, + "column": 17 + }, + "end": { + "line": 65, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2257, + "end": 2258, + "loc": { + "start": { + "line": 65, + "column": 30 + }, + "end": { + "line": 65, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2258, + "end": 2259, + "loc": { + "start": { + "line": 65, + "column": 31 + }, + "end": { + "line": 65, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2276, + "end": 2277, + "loc": { + "start": { + "line": 66, + "column": 16 + }, + "end": { + "line": 66, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 2277, + "end": 2281, + "loc": { + "start": { + "line": 66, + "column": 17 + }, + "end": { + "line": 66, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2281, + "end": 2282, + "loc": { + "start": { + "line": 66, + "column": 21 + }, + "end": { + "line": 66, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 2282, + "end": 2290, + "loc": { + "start": { + "line": 66, + "column": 22 + }, + "end": { + "line": 66, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2291, + "end": 2293, + "loc": { + "start": { + "line": 66, + "column": 31 + }, + "end": { + "line": 66, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 2294, + "end": 2302, + "loc": { + "start": { + "line": 66, + "column": 34 + }, + "end": { + "line": 66, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2302, + "end": 2303, + "loc": { + "start": { + "line": 66, + "column": 42 + }, + "end": { + "line": 66, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 2303, + "end": 2309, + "loc": { + "start": { + "line": 66, + "column": 43 + }, + "end": { + "line": 66, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2309, + "end": 2310, + "loc": { + "start": { + "line": 66, + "column": 49 + }, + "end": { + "line": 66, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 2310, + "end": 2316, + "loc": { + "start": { + "line": 66, + "column": 50 + }, + "end": { + "line": 66, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2316, + "end": 2317, + "loc": { + "start": { + "line": 66, + "column": 56 + }, + "end": { + "line": 66, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 2317, + "end": 2319, + "loc": { + "start": { + "line": 66, + "column": 57 + }, + "end": { + "line": 66, + "column": 59 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2319, + "end": 2320, + "loc": { + "start": { + "line": 66, + "column": 59 + }, + "end": { + "line": 66, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 2320, + "end": 2327, + "loc": { + "start": { + "line": 66, + "column": 60 + }, + "end": { + "line": 66, + "column": 67 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2327, + "end": 2328, + "loc": { + "start": { + "line": 66, + "column": 67 + }, + "end": { + "line": 66, + "column": 68 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 2328, + "end": 2331, + "loc": { + "start": { + "line": 66, + "column": 68 + }, + "end": { + "line": 66, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2331, + "end": 2332, + "loc": { + "start": { + "line": 66, + "column": 71 + }, + "end": { + "line": 66, + "column": 72 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2332, + "end": 2333, + "loc": { + "start": { + "line": 66, + "column": 72 + }, + "end": { + "line": 66, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2333, + "end": 2334, + "loc": { + "start": { + "line": 66, + "column": 73 + }, + "end": { + "line": 66, + "column": 74 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2347, + "end": 2348, + "loc": { + "start": { + "line": 67, + "column": 12 + }, + "end": { + "line": 67, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2348, + "end": 2349, + "loc": { + "start": { + "line": 67, + "column": 13 + }, + "end": { + "line": 67, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2349, + "end": 2350, + "loc": { + "start": { + "line": 67, + "column": 14 + }, + "end": { + "line": 67, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2361, + "end": 2362, + "loc": { + "start": { + "line": 68, + "column": 10 + }, + "end": { + "line": 68, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2362, + "end": 2363, + "loc": { + "start": { + "line": 68, + "column": 11 + }, + "end": { + "line": 68, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2363, + "end": 2364, + "loc": { + "start": { + "line": 68, + "column": 12 + }, + "end": { + "line": 68, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 2376, + "end": 2384, + "loc": { + "start": { + "line": 70, + "column": 10 + }, + "end": { + "line": 70, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2384, + "end": 2385, + "loc": { + "start": { + "line": 70, + "column": 18 + }, + "end": { + "line": 70, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Artist", + "start": 2385, + "end": 2393, + "loc": { + "start": { + "line": 70, + "column": 19 + }, + "end": { + "line": 70, + "column": 27 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2393, + "end": 2394, + "loc": { + "start": { + "line": 70, + "column": 27 + }, + "end": { + "line": 70, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2395, + "end": 2396, + "loc": { + "start": { + "line": 70, + "column": 29 + }, + "end": { + "line": 70, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2396, + "end": 2397, + "loc": { + "start": { + "line": 70, + "column": 30 + }, + "end": { + "line": 70, + "column": 31 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2398, + "end": 2400, + "loc": { + "start": { + "line": 70, + "column": 32 + }, + "end": { + "line": 70, + "column": 34 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2401, + "end": 2402, + "loc": { + "start": { + "line": 70, + "column": 35 + }, + "end": { + "line": 70, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 2415, + "end": 2417, + "loc": { + "start": { + "line": 71, + "column": 12 + }, + "end": { + "line": 71, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2417, + "end": 2418, + "loc": { + "start": { + "line": 71, + "column": 14 + }, + "end": { + "line": 71, + "column": 15 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200", + "start": 2418, + "end": 2446, + "loc": { + "start": { + "line": 71, + "column": 15 + }, + "end": { + "line": 71, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2446, + "end": 2447, + "loc": { + "start": { + "line": 71, + "column": 43 + }, + "end": { + "line": 71, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2448, + "end": 2449, + "loc": { + "start": { + "line": 71, + "column": 45 + }, + "end": { + "line": 71, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2449, + "end": 2450, + "loc": { + "start": { + "line": 71, + "column": 46 + }, + "end": { + "line": 71, + "column": 47 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2451, + "end": 2453, + "loc": { + "start": { + "line": 71, + "column": 48 + }, + "end": { + "line": 71, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2454, + "end": 2455, + "loc": { + "start": { + "line": 71, + "column": 51 + }, + "end": { + "line": 71, + "column": 52 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2470, + "end": 2476, + "loc": { + "start": { + "line": 72, + "column": 14 + }, + "end": { + "line": 72, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "api", + "start": 2477, + "end": 2480, + "loc": { + "start": { + "line": 72, + "column": 21 + }, + "end": { + "line": 72, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2480, + "end": 2481, + "loc": { + "start": { + "line": 72, + "column": 24 + }, + "end": { + "line": 72, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "artistFetcher", + "start": 2481, + "end": 2494, + "loc": { + "start": { + "line": 72, + "column": 25 + }, + "end": { + "line": 72, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2511, + "end": 2512, + "loc": { + "start": { + "line": 73, + "column": 16 + }, + "end": { + "line": 73, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setArtistID", + "start": 2512, + "end": 2523, + "loc": { + "start": { + "line": 73, + "column": 17 + }, + "end": { + "line": 73, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2523, + "end": 2524, + "loc": { + "start": { + "line": 73, + "column": 28 + }, + "end": { + "line": 73, + "column": 29 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Cnv_K6i5Ft4y41SxLy", + "start": 2524, + "end": 2544, + "loc": { + "start": { + "line": 73, + "column": 29 + }, + "end": { + "line": 73, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2544, + "end": 2545, + "loc": { + "start": { + "line": 73, + "column": 49 + }, + "end": { + "line": 73, + "column": 50 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2562, + "end": 2563, + "loc": { + "start": { + "line": 74, + "column": 16 + }, + "end": { + "line": 74, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchMetadata", + "start": 2563, + "end": 2576, + "loc": { + "start": { + "line": 74, + "column": 17 + }, + "end": { + "line": 74, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2576, + "end": 2577, + "loc": { + "start": { + "line": 74, + "column": 30 + }, + "end": { + "line": 74, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2577, + "end": 2578, + "loc": { + "start": { + "line": 74, + "column": 31 + }, + "end": { + "line": 74, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2595, + "end": 2596, + "loc": { + "start": { + "line": 75, + "column": 16 + }, + "end": { + "line": 75, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 2596, + "end": 2600, + "loc": { + "start": { + "line": 75, + "column": 17 + }, + "end": { + "line": 75, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2600, + "end": 2601, + "loc": { + "start": { + "line": 75, + "column": 21 + }, + "end": { + "line": 75, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 2601, + "end": 2609, + "loc": { + "start": { + "line": 75, + "column": 22 + }, + "end": { + "line": 75, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2610, + "end": 2612, + "loc": { + "start": { + "line": 75, + "column": 31 + }, + "end": { + "line": 75, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 2613, + "end": 2621, + "loc": { + "start": { + "line": 75, + "column": 34 + }, + "end": { + "line": 75, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2621, + "end": 2622, + "loc": { + "start": { + "line": 75, + "column": 42 + }, + "end": { + "line": 75, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 2622, + "end": 2628, + "loc": { + "start": { + "line": 75, + "column": 43 + }, + "end": { + "line": 75, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2628, + "end": 2629, + "loc": { + "start": { + "line": 75, + "column": 49 + }, + "end": { + "line": 75, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 2629, + "end": 2635, + "loc": { + "start": { + "line": 75, + "column": 50 + }, + "end": { + "line": 75, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2635, + "end": 2636, + "loc": { + "start": { + "line": 75, + "column": 56 + }, + "end": { + "line": 75, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 2636, + "end": 2638, + "loc": { + "start": { + "line": 75, + "column": 57 + }, + "end": { + "line": 75, + "column": 59 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2638, + "end": 2639, + "loc": { + "start": { + "line": 75, + "column": 59 + }, + "end": { + "line": 75, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 2639, + "end": 2646, + "loc": { + "start": { + "line": 75, + "column": 60 + }, + "end": { + "line": 75, + "column": 67 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2646, + "end": 2647, + "loc": { + "start": { + "line": 75, + "column": 67 + }, + "end": { + "line": 75, + "column": 68 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 2647, + "end": 2650, + "loc": { + "start": { + "line": 75, + "column": 68 + }, + "end": { + "line": 75, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2650, + "end": 2651, + "loc": { + "start": { + "line": 75, + "column": 71 + }, + "end": { + "line": 75, + "column": 72 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2651, + "end": 2652, + "loc": { + "start": { + "line": 75, + "column": 72 + }, + "end": { + "line": 75, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2652, + "end": 2653, + "loc": { + "start": { + "line": 75, + "column": 73 + }, + "end": { + "line": 75, + "column": 74 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2666, + "end": 2667, + "loc": { + "start": { + "line": 76, + "column": 12 + }, + "end": { + "line": 76, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2667, + "end": 2668, + "loc": { + "start": { + "line": 76, + "column": 13 + }, + "end": { + "line": 76, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2668, + "end": 2669, + "loc": { + "start": { + "line": 76, + "column": 14 + }, + "end": { + "line": 76, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2680, + "end": 2681, + "loc": { + "start": { + "line": 77, + "column": 10 + }, + "end": { + "line": 77, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2681, + "end": 2682, + "loc": { + "start": { + "line": 77, + "column": 11 + }, + "end": { + "line": 77, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2682, + "end": 2683, + "loc": { + "start": { + "line": 77, + "column": 12 + }, + "end": { + "line": 77, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 2695, + "end": 2703, + "loc": { + "start": { + "line": 79, + "column": 10 + }, + "end": { + "line": 79, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2703, + "end": 2704, + "loc": { + "start": { + "line": 79, + "column": 18 + }, + "end": { + "line": 79, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Featured Playlists", + "start": 2704, + "end": 2724, + "loc": { + "start": { + "line": 79, + "column": 19 + }, + "end": { + "line": 79, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2724, + "end": 2725, + "loc": { + "start": { + "line": 79, + "column": 39 + }, + "end": { + "line": 79, + "column": 40 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2726, + "end": 2727, + "loc": { + "start": { + "line": 79, + "column": 41 + }, + "end": { + "line": 79, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2727, + "end": 2728, + "loc": { + "start": { + "line": 79, + "column": 42 + }, + "end": { + "line": 79, + "column": 43 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2729, + "end": 2731, + "loc": { + "start": { + "line": 79, + "column": 44 + }, + "end": { + "line": 79, + "column": 46 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2732, + "end": 2733, + "loc": { + "start": { + "line": 79, + "column": 47 + }, + "end": { + "line": 79, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 2746, + "end": 2748, + "loc": { + "start": { + "line": 80, + "column": 12 + }, + "end": { + "line": 80, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2748, + "end": 2749, + "loc": { + "start": { + "line": 80, + "column": 14 + }, + "end": { + "line": 80, + "column": 15 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200", + "start": 2749, + "end": 2777, + "loc": { + "start": { + "line": 80, + "column": 15 + }, + "end": { + "line": 80, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2777, + "end": 2778, + "loc": { + "start": { + "line": 80, + "column": 43 + }, + "end": { + "line": 80, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2779, + "end": 2780, + "loc": { + "start": { + "line": 80, + "column": 45 + }, + "end": { + "line": 80, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2780, + "end": 2781, + "loc": { + "start": { + "line": 80, + "column": 46 + }, + "end": { + "line": 80, + "column": 47 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2782, + "end": 2784, + "loc": { + "start": { + "line": 80, + "column": 48 + }, + "end": { + "line": 80, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2785, + "end": 2786, + "loc": { + "start": { + "line": 80, + "column": 51 + }, + "end": { + "line": 80, + "column": 52 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2801, + "end": 2807, + "loc": { + "start": { + "line": 81, + "column": 14 + }, + "end": { + "line": 81, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "api", + "start": 2808, + "end": 2811, + "loc": { + "start": { + "line": 81, + "column": 21 + }, + "end": { + "line": 81, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2811, + "end": 2812, + "loc": { + "start": { + "line": 81, + "column": 24 + }, + "end": { + "line": 81, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "featuredPlaylistFetcher", + "start": 2812, + "end": 2835, + "loc": { + "start": { + "line": 81, + "column": 25 + }, + "end": { + "line": 81, + "column": 48 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2852, + "end": 2853, + "loc": { + "start": { + "line": 82, + "column": 16 + }, + "end": { + "line": 82, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchAllFeaturedPlaylists", + "start": 2853, + "end": 2878, + "loc": { + "start": { + "line": 82, + "column": 17 + }, + "end": { + "line": 82, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2878, + "end": 2879, + "loc": { + "start": { + "line": 82, + "column": 42 + }, + "end": { + "line": 82, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2879, + "end": 2880, + "loc": { + "start": { + "line": 82, + "column": 43 + }, + "end": { + "line": 82, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2897, + "end": 2898, + "loc": { + "start": { + "line": 83, + "column": 16 + }, + "end": { + "line": 83, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 2898, + "end": 2902, + "loc": { + "start": { + "line": 83, + "column": 17 + }, + "end": { + "line": 83, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2902, + "end": 2903, + "loc": { + "start": { + "line": 83, + "column": 21 + }, + "end": { + "line": 83, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 2903, + "end": 2911, + "loc": { + "start": { + "line": 83, + "column": 22 + }, + "end": { + "line": 83, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2912, + "end": 2914, + "loc": { + "start": { + "line": 83, + "column": 31 + }, + "end": { + "line": 83, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 2915, + "end": 2923, + "loc": { + "start": { + "line": 83, + "column": 34 + }, + "end": { + "line": 83, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2923, + "end": 2924, + "loc": { + "start": { + "line": 83, + "column": 42 + }, + "end": { + "line": 83, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 2924, + "end": 2930, + "loc": { + "start": { + "line": 83, + "column": 43 + }, + "end": { + "line": 83, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2930, + "end": 2931, + "loc": { + "start": { + "line": 83, + "column": 49 + }, + "end": { + "line": 83, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 2931, + "end": 2937, + "loc": { + "start": { + "line": 83, + "column": 50 + }, + "end": { + "line": 83, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2937, + "end": 2938, + "loc": { + "start": { + "line": 83, + "column": 56 + }, + "end": { + "line": 83, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 2938, + "end": 2940, + "loc": { + "start": { + "line": 83, + "column": 57 + }, + "end": { + "line": 83, + "column": 59 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2940, + "end": 2941, + "loc": { + "start": { + "line": 83, + "column": 59 + }, + "end": { + "line": 83, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 2941, + "end": 2948, + "loc": { + "start": { + "line": 83, + "column": 60 + }, + "end": { + "line": 83, + "column": 67 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2948, + "end": 2949, + "loc": { + "start": { + "line": 83, + "column": 67 + }, + "end": { + "line": 83, + "column": 68 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 2949, + "end": 2952, + "loc": { + "start": { + "line": 83, + "column": 68 + }, + "end": { + "line": 83, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2952, + "end": 2953, + "loc": { + "start": { + "line": 83, + "column": 71 + }, + "end": { + "line": 83, + "column": 72 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2953, + "end": 2954, + "loc": { + "start": { + "line": 83, + "column": 72 + }, + "end": { + "line": 83, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2954, + "end": 2955, + "loc": { + "start": { + "line": 83, + "column": 73 + }, + "end": { + "line": 83, + "column": 74 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2968, + "end": 2969, + "loc": { + "start": { + "line": 84, + "column": 12 + }, + "end": { + "line": 84, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2969, + "end": 2970, + "loc": { + "start": { + "line": 84, + "column": 13 + }, + "end": { + "line": 84, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2970, + "end": 2971, + "loc": { + "start": { + "line": 84, + "column": 14 + }, + "end": { + "line": 84, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2982, + "end": 2983, + "loc": { + "start": { + "line": 85, + "column": 10 + }, + "end": { + "line": 85, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2983, + "end": 2984, + "loc": { + "start": { + "line": 85, + "column": 11 + }, + "end": { + "line": 85, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2984, + "end": 2985, + "loc": { + "start": { + "line": 85, + "column": 12 + }, + "end": { + "line": 85, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 2997, + "end": 3005, + "loc": { + "start": { + "line": 87, + "column": 10 + }, + "end": { + "line": 87, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3005, + "end": 3006, + "loc": { + "start": { + "line": 87, + "column": 18 + }, + "end": { + "line": 87, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Featured Playlist Category", + "start": 3006, + "end": 3034, + "loc": { + "start": { + "line": 87, + "column": 19 + }, + "end": { + "line": 87, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3034, + "end": 3035, + "loc": { + "start": { + "line": 87, + "column": 47 + }, + "end": { + "line": 87, + "column": 48 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3036, + "end": 3037, + "loc": { + "start": { + "line": 87, + "column": 49 + }, + "end": { + "line": 87, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3037, + "end": 3038, + "loc": { + "start": { + "line": 87, + "column": 50 + }, + "end": { + "line": 87, + "column": 51 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3039, + "end": 3041, + "loc": { + "start": { + "line": 87, + "column": 52 + }, + "end": { + "line": 87, + "column": 54 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3042, + "end": 3043, + "loc": { + "start": { + "line": 87, + "column": 55 + }, + "end": { + "line": 87, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 3056, + "end": 3058, + "loc": { + "start": { + "line": 88, + "column": 12 + }, + "end": { + "line": 88, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3058, + "end": 3059, + "loc": { + "start": { + "line": 88, + "column": 14 + }, + "end": { + "line": 88, + "column": 15 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200", + "start": 3059, + "end": 3087, + "loc": { + "start": { + "line": 88, + "column": 15 + }, + "end": { + "line": 88, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3087, + "end": 3088, + "loc": { + "start": { + "line": 88, + "column": 43 + }, + "end": { + "line": 88, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3089, + "end": 3090, + "loc": { + "start": { + "line": 88, + "column": 45 + }, + "end": { + "line": 88, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3090, + "end": 3091, + "loc": { + "start": { + "line": 88, + "column": 46 + }, + "end": { + "line": 88, + "column": 47 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3092, + "end": 3094, + "loc": { + "start": { + "line": 88, + "column": 48 + }, + "end": { + "line": 88, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3095, + "end": 3096, + "loc": { + "start": { + "line": 88, + "column": 51 + }, + "end": { + "line": 88, + "column": 52 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 3111, + "end": 3117, + "loc": { + "start": { + "line": 89, + "column": 14 + }, + "end": { + "line": 89, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "api", + "start": 3118, + "end": 3121, + "loc": { + "start": { + "line": 89, + "column": 21 + }, + "end": { + "line": 89, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3121, + "end": 3122, + "loc": { + "start": { + "line": 89, + "column": 24 + }, + "end": { + "line": 89, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "featuredPlaylistCategoryFetcher", + "start": 3122, + "end": 3153, + "loc": { + "start": { + "line": 89, + "column": 25 + }, + "end": { + "line": 89, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3170, + "end": 3171, + "loc": { + "start": { + "line": 90, + "column": 16 + }, + "end": { + "line": 90, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchAllFeaturedPlaylistCategories", + "start": 3171, + "end": 3205, + "loc": { + "start": { + "line": 90, + "column": 17 + }, + "end": { + "line": 90, + "column": 51 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3205, + "end": 3206, + "loc": { + "start": { + "line": 90, + "column": 51 + }, + "end": { + "line": 90, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3206, + "end": 3207, + "loc": { + "start": { + "line": 90, + "column": 52 + }, + "end": { + "line": 90, + "column": 53 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3224, + "end": 3225, + "loc": { + "start": { + "line": 91, + "column": 16 + }, + "end": { + "line": 91, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 3225, + "end": 3229, + "loc": { + "start": { + "line": 91, + "column": 17 + }, + "end": { + "line": 91, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3229, + "end": 3230, + "loc": { + "start": { + "line": 91, + "column": 21 + }, + "end": { + "line": 91, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 3230, + "end": 3238, + "loc": { + "start": { + "line": 91, + "column": 22 + }, + "end": { + "line": 91, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3239, + "end": 3241, + "loc": { + "start": { + "line": 91, + "column": 31 + }, + "end": { + "line": 91, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 3242, + "end": 3250, + "loc": { + "start": { + "line": 91, + "column": 34 + }, + "end": { + "line": 91, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3250, + "end": 3251, + "loc": { + "start": { + "line": 91, + "column": 42 + }, + "end": { + "line": 91, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 3251, + "end": 3257, + "loc": { + "start": { + "line": 91, + "column": 43 + }, + "end": { + "line": 91, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3257, + "end": 3258, + "loc": { + "start": { + "line": 91, + "column": 49 + }, + "end": { + "line": 91, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 3258, + "end": 3264, + "loc": { + "start": { + "line": 91, + "column": 50 + }, + "end": { + "line": 91, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3264, + "end": 3265, + "loc": { + "start": { + "line": 91, + "column": 56 + }, + "end": { + "line": 91, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 3265, + "end": 3267, + "loc": { + "start": { + "line": 91, + "column": 57 + }, + "end": { + "line": 91, + "column": 59 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3267, + "end": 3268, + "loc": { + "start": { + "line": 91, + "column": 59 + }, + "end": { + "line": 91, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 3268, + "end": 3275, + "loc": { + "start": { + "line": 91, + "column": 60 + }, + "end": { + "line": 91, + "column": 67 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3275, + "end": 3276, + "loc": { + "start": { + "line": 91, + "column": 67 + }, + "end": { + "line": 91, + "column": 68 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 3276, + "end": 3279, + "loc": { + "start": { + "line": 91, + "column": 68 + }, + "end": { + "line": 91, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3279, + "end": 3280, + "loc": { + "start": { + "line": 91, + "column": 71 + }, + "end": { + "line": 91, + "column": 72 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3280, + "end": 3281, + "loc": { + "start": { + "line": 91, + "column": 72 + }, + "end": { + "line": 91, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3281, + "end": 3282, + "loc": { + "start": { + "line": 91, + "column": 73 + }, + "end": { + "line": 91, + "column": 74 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3295, + "end": 3296, + "loc": { + "start": { + "line": 92, + "column": 12 + }, + "end": { + "line": 92, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3296, + "end": 3297, + "loc": { + "start": { + "line": 92, + "column": 13 + }, + "end": { + "line": 92, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3297, + "end": 3298, + "loc": { + "start": { + "line": 92, + "column": 14 + }, + "end": { + "line": 92, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3309, + "end": 3310, + "loc": { + "start": { + "line": 93, + "column": 10 + }, + "end": { + "line": 93, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3310, + "end": 3311, + "loc": { + "start": { + "line": 93, + "column": 11 + }, + "end": { + "line": 93, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3311, + "end": 3312, + "loc": { + "start": { + "line": 93, + "column": 12 + }, + "end": { + "line": 93, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 3324, + "end": 3332, + "loc": { + "start": { + "line": 95, + "column": 10 + }, + "end": { + "line": 95, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3332, + "end": 3333, + "loc": { + "start": { + "line": 95, + "column": 18 + }, + "end": { + "line": 95, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Mood Station", + "start": 3333, + "end": 3347, + "loc": { + "start": { + "line": 95, + "column": 19 + }, + "end": { + "line": 95, + "column": 33 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3347, + "end": 3348, + "loc": { + "start": { + "line": 95, + "column": 33 + }, + "end": { + "line": 95, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3349, + "end": 3350, + "loc": { + "start": { + "line": 95, + "column": 35 + }, + "end": { + "line": 95, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3350, + "end": 3351, + "loc": { + "start": { + "line": 95, + "column": 36 + }, + "end": { + "line": 95, + "column": 37 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3352, + "end": 3354, + "loc": { + "start": { + "line": 95, + "column": 38 + }, + "end": { + "line": 95, + "column": 40 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3355, + "end": 3356, + "loc": { + "start": { + "line": 95, + "column": 41 + }, + "end": { + "line": 95, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 3369, + "end": 3371, + "loc": { + "start": { + "line": 96, + "column": 12 + }, + "end": { + "line": 96, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3371, + "end": 3372, + "loc": { + "start": { + "line": 96, + "column": 14 + }, + "end": { + "line": 96, + "column": 15 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200", + "start": 3372, + "end": 3400, + "loc": { + "start": { + "line": 96, + "column": 15 + }, + "end": { + "line": 96, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3400, + "end": 3401, + "loc": { + "start": { + "line": 96, + "column": 43 + }, + "end": { + "line": 96, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3402, + "end": 3403, + "loc": { + "start": { + "line": 96, + "column": 45 + }, + "end": { + "line": 96, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3403, + "end": 3404, + "loc": { + "start": { + "line": 96, + "column": 46 + }, + "end": { + "line": 96, + "column": 47 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3405, + "end": 3407, + "loc": { + "start": { + "line": 96, + "column": 48 + }, + "end": { + "line": 96, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3408, + "end": 3409, + "loc": { + "start": { + "line": 96, + "column": 51 + }, + "end": { + "line": 96, + "column": 52 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 3424, + "end": 3430, + "loc": { + "start": { + "line": 97, + "column": 14 + }, + "end": { + "line": 97, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "api", + "start": 3431, + "end": 3434, + "loc": { + "start": { + "line": 97, + "column": 21 + }, + "end": { + "line": 97, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3434, + "end": 3435, + "loc": { + "start": { + "line": 97, + "column": 24 + }, + "end": { + "line": 97, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "moodStationFetcher", + "start": 3435, + "end": 3453, + "loc": { + "start": { + "line": 97, + "column": 25 + }, + "end": { + "line": 97, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3470, + "end": 3471, + "loc": { + "start": { + "line": 98, + "column": 16 + }, + "end": { + "line": 98, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchAllMoodStations", + "start": 3471, + "end": 3491, + "loc": { + "start": { + "line": 98, + "column": 17 + }, + "end": { + "line": 98, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3491, + "end": 3492, + "loc": { + "start": { + "line": 98, + "column": 37 + }, + "end": { + "line": 98, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3492, + "end": 3493, + "loc": { + "start": { + "line": 98, + "column": 38 + }, + "end": { + "line": 98, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3510, + "end": 3511, + "loc": { + "start": { + "line": 99, + "column": 16 + }, + "end": { + "line": 99, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 3511, + "end": 3515, + "loc": { + "start": { + "line": 99, + "column": 17 + }, + "end": { + "line": 99, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3515, + "end": 3516, + "loc": { + "start": { + "line": 99, + "column": 21 + }, + "end": { + "line": 99, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 3516, + "end": 3524, + "loc": { + "start": { + "line": 99, + "column": 22 + }, + "end": { + "line": 99, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3525, + "end": 3527, + "loc": { + "start": { + "line": 99, + "column": 31 + }, + "end": { + "line": 99, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 3528, + "end": 3536, + "loc": { + "start": { + "line": 99, + "column": 34 + }, + "end": { + "line": 99, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3536, + "end": 3537, + "loc": { + "start": { + "line": 99, + "column": 42 + }, + "end": { + "line": 99, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 3537, + "end": 3543, + "loc": { + "start": { + "line": 99, + "column": 43 + }, + "end": { + "line": 99, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3543, + "end": 3544, + "loc": { + "start": { + "line": 99, + "column": 49 + }, + "end": { + "line": 99, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 3544, + "end": 3550, + "loc": { + "start": { + "line": 99, + "column": 50 + }, + "end": { + "line": 99, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3550, + "end": 3551, + "loc": { + "start": { + "line": 99, + "column": 56 + }, + "end": { + "line": 99, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 3551, + "end": 3553, + "loc": { + "start": { + "line": 99, + "column": 57 + }, + "end": { + "line": 99, + "column": 59 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3553, + "end": 3554, + "loc": { + "start": { + "line": 99, + "column": 59 + }, + "end": { + "line": 99, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 3554, + "end": 3561, + "loc": { + "start": { + "line": 99, + "column": 60 + }, + "end": { + "line": 99, + "column": 67 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3561, + "end": 3562, + "loc": { + "start": { + "line": 99, + "column": 67 + }, + "end": { + "line": 99, + "column": 68 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 3562, + "end": 3565, + "loc": { + "start": { + "line": 99, + "column": 68 + }, + "end": { + "line": 99, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3565, + "end": 3566, + "loc": { + "start": { + "line": 99, + "column": 71 + }, + "end": { + "line": 99, + "column": 72 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3566, + "end": 3567, + "loc": { + "start": { + "line": 99, + "column": 72 + }, + "end": { + "line": 99, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3567, + "end": 3568, + "loc": { + "start": { + "line": 99, + "column": 73 + }, + "end": { + "line": 99, + "column": 74 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3581, + "end": 3582, + "loc": { + "start": { + "line": 100, + "column": 12 + }, + "end": { + "line": 100, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3582, + "end": 3583, + "loc": { + "start": { + "line": 100, + "column": 13 + }, + "end": { + "line": 100, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3583, + "end": 3584, + "loc": { + "start": { + "line": 100, + "column": 14 + }, + "end": { + "line": 100, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3595, + "end": 3596, + "loc": { + "start": { + "line": 101, + "column": 10 + }, + "end": { + "line": 101, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3596, + "end": 3597, + "loc": { + "start": { + "line": 101, + "column": 11 + }, + "end": { + "line": 101, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3597, + "end": 3598, + "loc": { + "start": { + "line": 101, + "column": 12 + }, + "end": { + "line": 101, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 3610, + "end": 3618, + "loc": { + "start": { + "line": 103, + "column": 10 + }, + "end": { + "line": 103, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3618, + "end": 3619, + "loc": { + "start": { + "line": 103, + "column": 18 + }, + "end": { + "line": 103, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Genre Station", + "start": 3619, + "end": 3634, + "loc": { + "start": { + "line": 103, + "column": 19 + }, + "end": { + "line": 103, + "column": 34 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3634, + "end": 3635, + "loc": { + "start": { + "line": 103, + "column": 34 + }, + "end": { + "line": 103, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3636, + "end": 3637, + "loc": { + "start": { + "line": 103, + "column": 36 + }, + "end": { + "line": 103, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3637, + "end": 3638, + "loc": { + "start": { + "line": 103, + "column": 37 + }, + "end": { + "line": 103, + "column": 38 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3639, + "end": 3641, + "loc": { + "start": { + "line": 103, + "column": 39 + }, + "end": { + "line": 103, + "column": 41 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3642, + "end": 3643, + "loc": { + "start": { + "line": 103, + "column": 42 + }, + "end": { + "line": 103, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 3656, + "end": 3658, + "loc": { + "start": { + "line": 104, + "column": 12 + }, + "end": { + "line": 104, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3658, + "end": 3659, + "loc": { + "start": { + "line": 104, + "column": 14 + }, + "end": { + "line": 104, + "column": 15 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200", + "start": 3659, + "end": 3687, + "loc": { + "start": { + "line": 104, + "column": 15 + }, + "end": { + "line": 104, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3687, + "end": 3688, + "loc": { + "start": { + "line": 104, + "column": 43 + }, + "end": { + "line": 104, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3689, + "end": 3690, + "loc": { + "start": { + "line": 104, + "column": 45 + }, + "end": { + "line": 104, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3690, + "end": 3691, + "loc": { + "start": { + "line": 104, + "column": 46 + }, + "end": { + "line": 104, + "column": 47 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3692, + "end": 3694, + "loc": { + "start": { + "line": 104, + "column": 48 + }, + "end": { + "line": 104, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3695, + "end": 3696, + "loc": { + "start": { + "line": 104, + "column": 51 + }, + "end": { + "line": 104, + "column": 52 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 3711, + "end": 3717, + "loc": { + "start": { + "line": 105, + "column": 14 + }, + "end": { + "line": 105, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "api", + "start": 3718, + "end": 3721, + "loc": { + "start": { + "line": 105, + "column": 21 + }, + "end": { + "line": 105, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3721, + "end": 3722, + "loc": { + "start": { + "line": 105, + "column": 24 + }, + "end": { + "line": 105, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "genreStationFetcher", + "start": 3722, + "end": 3741, + "loc": { + "start": { + "line": 105, + "column": 25 + }, + "end": { + "line": 105, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3758, + "end": 3759, + "loc": { + "start": { + "line": 106, + "column": 16 + }, + "end": { + "line": 106, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchAllGenreStations", + "start": 3759, + "end": 3780, + "loc": { + "start": { + "line": 106, + "column": 17 + }, + "end": { + "line": 106, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3780, + "end": 3781, + "loc": { + "start": { + "line": 106, + "column": 38 + }, + "end": { + "line": 106, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3781, + "end": 3782, + "loc": { + "start": { + "line": 106, + "column": 39 + }, + "end": { + "line": 106, + "column": 40 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3799, + "end": 3800, + "loc": { + "start": { + "line": 107, + "column": 16 + }, + "end": { + "line": 107, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 3800, + "end": 3804, + "loc": { + "start": { + "line": 107, + "column": 17 + }, + "end": { + "line": 107, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3804, + "end": 3805, + "loc": { + "start": { + "line": 107, + "column": 21 + }, + "end": { + "line": 107, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 3805, + "end": 3813, + "loc": { + "start": { + "line": 107, + "column": 22 + }, + "end": { + "line": 107, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3814, + "end": 3816, + "loc": { + "start": { + "line": 107, + "column": 31 + }, + "end": { + "line": 107, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 3817, + "end": 3825, + "loc": { + "start": { + "line": 107, + "column": 34 + }, + "end": { + "line": 107, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3825, + "end": 3826, + "loc": { + "start": { + "line": 107, + "column": 42 + }, + "end": { + "line": 107, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 3826, + "end": 3832, + "loc": { + "start": { + "line": 107, + "column": 43 + }, + "end": { + "line": 107, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3832, + "end": 3833, + "loc": { + "start": { + "line": 107, + "column": 49 + }, + "end": { + "line": 107, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 3833, + "end": 3839, + "loc": { + "start": { + "line": 107, + "column": 50 + }, + "end": { + "line": 107, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3839, + "end": 3840, + "loc": { + "start": { + "line": 107, + "column": 56 + }, + "end": { + "line": 107, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 3840, + "end": 3842, + "loc": { + "start": { + "line": 107, + "column": 57 + }, + "end": { + "line": 107, + "column": 59 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3842, + "end": 3843, + "loc": { + "start": { + "line": 107, + "column": 59 + }, + "end": { + "line": 107, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 3843, + "end": 3850, + "loc": { + "start": { + "line": 107, + "column": 60 + }, + "end": { + "line": 107, + "column": 67 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3850, + "end": 3851, + "loc": { + "start": { + "line": 107, + "column": 67 + }, + "end": { + "line": 107, + "column": 68 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 3851, + "end": 3854, + "loc": { + "start": { + "line": 107, + "column": 68 + }, + "end": { + "line": 107, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3854, + "end": 3855, + "loc": { + "start": { + "line": 107, + "column": 71 + }, + "end": { + "line": 107, + "column": 72 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3855, + "end": 3856, + "loc": { + "start": { + "line": 107, + "column": 72 + }, + "end": { + "line": 107, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3856, + "end": 3857, + "loc": { + "start": { + "line": 107, + "column": 73 + }, + "end": { + "line": 107, + "column": 74 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3870, + "end": 3871, + "loc": { + "start": { + "line": 108, + "column": 12 + }, + "end": { + "line": 108, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3871, + "end": 3872, + "loc": { + "start": { + "line": 108, + "column": 13 + }, + "end": { + "line": 108, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3872, + "end": 3873, + "loc": { + "start": { + "line": 108, + "column": 14 + }, + "end": { + "line": 108, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3884, + "end": 3885, + "loc": { + "start": { + "line": 109, + "column": 10 + }, + "end": { + "line": 109, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3885, + "end": 3886, + "loc": { + "start": { + "line": 109, + "column": 11 + }, + "end": { + "line": 109, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3886, + "end": 3887, + "loc": { + "start": { + "line": 109, + "column": 12 + }, + "end": { + "line": 109, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 3899, + "end": 3907, + "loc": { + "start": { + "line": 111, + "column": 10 + }, + "end": { + "line": 111, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3907, + "end": 3908, + "loc": { + "start": { + "line": 111, + "column": 18 + }, + "end": { + "line": 111, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Chart", + "start": 3908, + "end": 3915, + "loc": { + "start": { + "line": 111, + "column": 19 + }, + "end": { + "line": 111, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3915, + "end": 3916, + "loc": { + "start": { + "line": 111, + "column": 26 + }, + "end": { + "line": 111, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3917, + "end": 3918, + "loc": { + "start": { + "line": 111, + "column": 28 + }, + "end": { + "line": 111, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3918, + "end": 3919, + "loc": { + "start": { + "line": 111, + "column": 29 + }, + "end": { + "line": 111, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3920, + "end": 3922, + "loc": { + "start": { + "line": 111, + "column": 31 + }, + "end": { + "line": 111, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3923, + "end": 3924, + "loc": { + "start": { + "line": 111, + "column": 34 + }, + "end": { + "line": 111, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 3937, + "end": 3939, + "loc": { + "start": { + "line": 112, + "column": 12 + }, + "end": { + "line": 112, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3939, + "end": 3940, + "loc": { + "start": { + "line": 112, + "column": 14 + }, + "end": { + "line": 112, + "column": 15 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200", + "start": 3940, + "end": 3968, + "loc": { + "start": { + "line": 112, + "column": 15 + }, + "end": { + "line": 112, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3968, + "end": 3969, + "loc": { + "start": { + "line": 112, + "column": 43 + }, + "end": { + "line": 112, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3970, + "end": 3971, + "loc": { + "start": { + "line": 112, + "column": 45 + }, + "end": { + "line": 112, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3971, + "end": 3972, + "loc": { + "start": { + "line": 112, + "column": 46 + }, + "end": { + "line": 112, + "column": 47 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3973, + "end": 3975, + "loc": { + "start": { + "line": 112, + "column": 48 + }, + "end": { + "line": 112, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3976, + "end": 3977, + "loc": { + "start": { + "line": 112, + "column": 51 + }, + "end": { + "line": 112, + "column": 52 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 3992, + "end": 3998, + "loc": { + "start": { + "line": 113, + "column": 14 + }, + "end": { + "line": 113, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "api", + "start": 3999, + "end": 4002, + "loc": { + "start": { + "line": 113, + "column": 21 + }, + "end": { + "line": 113, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4002, + "end": 4003, + "loc": { + "start": { + "line": 113, + "column": 24 + }, + "end": { + "line": 113, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "chartFetcher", + "start": 4003, + "end": 4015, + "loc": { + "start": { + "line": 113, + "column": 25 + }, + "end": { + "line": 113, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4032, + "end": 4033, + "loc": { + "start": { + "line": 114, + "column": 16 + }, + "end": { + "line": 114, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchCharts", + "start": 4033, + "end": 4044, + "loc": { + "start": { + "line": 114, + "column": 17 + }, + "end": { + "line": 114, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4044, + "end": 4045, + "loc": { + "start": { + "line": 114, + "column": 28 + }, + "end": { + "line": 114, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4045, + "end": 4046, + "loc": { + "start": { + "line": 114, + "column": 29 + }, + "end": { + "line": 114, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4063, + "end": 4064, + "loc": { + "start": { + "line": 115, + "column": 16 + }, + "end": { + "line": 115, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 4064, + "end": 4068, + "loc": { + "start": { + "line": 115, + "column": 17 + }, + "end": { + "line": 115, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4068, + "end": 4069, + "loc": { + "start": { + "line": 115, + "column": 21 + }, + "end": { + "line": 115, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 4069, + "end": 4077, + "loc": { + "start": { + "line": 115, + "column": 22 + }, + "end": { + "line": 115, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4078, + "end": 4080, + "loc": { + "start": { + "line": 115, + "column": 31 + }, + "end": { + "line": 115, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 4081, + "end": 4089, + "loc": { + "start": { + "line": 115, + "column": 34 + }, + "end": { + "line": 115, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4089, + "end": 4090, + "loc": { + "start": { + "line": 115, + "column": 42 + }, + "end": { + "line": 115, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 4090, + "end": 4096, + "loc": { + "start": { + "line": 115, + "column": 43 + }, + "end": { + "line": 115, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4096, + "end": 4097, + "loc": { + "start": { + "line": 115, + "column": 49 + }, + "end": { + "line": 115, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 4097, + "end": 4103, + "loc": { + "start": { + "line": 115, + "column": 50 + }, + "end": { + "line": 115, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4103, + "end": 4104, + "loc": { + "start": { + "line": 115, + "column": 56 + }, + "end": { + "line": 115, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 4104, + "end": 4106, + "loc": { + "start": { + "line": 115, + "column": 57 + }, + "end": { + "line": 115, + "column": 59 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4106, + "end": 4107, + "loc": { + "start": { + "line": 115, + "column": 59 + }, + "end": { + "line": 115, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 4107, + "end": 4114, + "loc": { + "start": { + "line": 115, + "column": 60 + }, + "end": { + "line": 115, + "column": 67 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4114, + "end": 4115, + "loc": { + "start": { + "line": 115, + "column": 67 + }, + "end": { + "line": 115, + "column": 68 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 4115, + "end": 4118, + "loc": { + "start": { + "line": 115, + "column": 68 + }, + "end": { + "line": 115, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4118, + "end": 4119, + "loc": { + "start": { + "line": 115, + "column": 71 + }, + "end": { + "line": 115, + "column": 72 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4119, + "end": 4120, + "loc": { + "start": { + "line": 115, + "column": 72 + }, + "end": { + "line": 115, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4120, + "end": 4121, + "loc": { + "start": { + "line": 115, + "column": 73 + }, + "end": { + "line": 115, + "column": 74 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4134, + "end": 4135, + "loc": { + "start": { + "line": 116, + "column": 12 + }, + "end": { + "line": 116, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4135, + "end": 4136, + "loc": { + "start": { + "line": 116, + "column": 13 + }, + "end": { + "line": 116, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4136, + "end": 4137, + "loc": { + "start": { + "line": 116, + "column": 14 + }, + "end": { + "line": 116, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4148, + "end": 4149, + "loc": { + "start": { + "line": 117, + "column": 10 + }, + "end": { + "line": 117, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4149, + "end": 4150, + "loc": { + "start": { + "line": 117, + "column": 11 + }, + "end": { + "line": 117, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4150, + "end": 4151, + "loc": { + "start": { + "line": 117, + "column": 12 + }, + "end": { + "line": 117, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 4163, + "end": 4171, + "loc": { + "start": { + "line": 119, + "column": 10 + }, + "end": { + "line": 119, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4171, + "end": 4172, + "loc": { + "start": { + "line": 119, + "column": 18 + }, + "end": { + "line": 119, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "New Release Category", + "start": 4172, + "end": 4194, + "loc": { + "start": { + "line": 119, + "column": 19 + }, + "end": { + "line": 119, + "column": 41 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4194, + "end": 4195, + "loc": { + "start": { + "line": 119, + "column": 41 + }, + "end": { + "line": 119, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4196, + "end": 4197, + "loc": { + "start": { + "line": 119, + "column": 43 + }, + "end": { + "line": 119, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4197, + "end": 4198, + "loc": { + "start": { + "line": 119, + "column": 44 + }, + "end": { + "line": 119, + "column": 45 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4199, + "end": 4201, + "loc": { + "start": { + "line": 119, + "column": 46 + }, + "end": { + "line": 119, + "column": 48 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4202, + "end": 4203, + "loc": { + "start": { + "line": 119, + "column": 49 + }, + "end": { + "line": 119, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 4216, + "end": 4218, + "loc": { + "start": { + "line": 120, + "column": 12 + }, + "end": { + "line": 120, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4218, + "end": 4219, + "loc": { + "start": { + "line": 120, + "column": 14 + }, + "end": { + "line": 120, + "column": 15 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200", + "start": 4219, + "end": 4247, + "loc": { + "start": { + "line": 120, + "column": 15 + }, + "end": { + "line": 120, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4247, + "end": 4248, + "loc": { + "start": { + "line": 120, + "column": 43 + }, + "end": { + "line": 120, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4249, + "end": 4250, + "loc": { + "start": { + "line": 120, + "column": 45 + }, + "end": { + "line": 120, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4250, + "end": 4251, + "loc": { + "start": { + "line": 120, + "column": 46 + }, + "end": { + "line": 120, + "column": 47 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4252, + "end": 4254, + "loc": { + "start": { + "line": 120, + "column": 48 + }, + "end": { + "line": 120, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4255, + "end": 4256, + "loc": { + "start": { + "line": 120, + "column": 51 + }, + "end": { + "line": 120, + "column": 52 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4271, + "end": 4277, + "loc": { + "start": { + "line": 121, + "column": 14 + }, + "end": { + "line": 121, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "api", + "start": 4278, + "end": 4281, + "loc": { + "start": { + "line": 121, + "column": 21 + }, + "end": { + "line": 121, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4281, + "end": 4282, + "loc": { + "start": { + "line": 121, + "column": 24 + }, + "end": { + "line": 121, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newReleaseCategoryFetcher", + "start": 4282, + "end": 4307, + "loc": { + "start": { + "line": 121, + "column": 25 + }, + "end": { + "line": 121, + "column": 50 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4324, + "end": 4325, + "loc": { + "start": { + "line": 122, + "column": 16 + }, + "end": { + "line": 122, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchAllNewReleaseCategories", + "start": 4325, + "end": 4353, + "loc": { + "start": { + "line": 122, + "column": 17 + }, + "end": { + "line": 122, + "column": 45 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4353, + "end": 4354, + "loc": { + "start": { + "line": 122, + "column": 45 + }, + "end": { + "line": 122, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4354, + "end": 4355, + "loc": { + "start": { + "line": 122, + "column": 46 + }, + "end": { + "line": 122, + "column": 47 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4372, + "end": 4373, + "loc": { + "start": { + "line": 123, + "column": 16 + }, + "end": { + "line": 123, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 4373, + "end": 4377, + "loc": { + "start": { + "line": 123, + "column": 17 + }, + "end": { + "line": 123, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4377, + "end": 4378, + "loc": { + "start": { + "line": 123, + "column": 21 + }, + "end": { + "line": 123, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 4378, + "end": 4386, + "loc": { + "start": { + "line": 123, + "column": 22 + }, + "end": { + "line": 123, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4387, + "end": 4389, + "loc": { + "start": { + "line": 123, + "column": 31 + }, + "end": { + "line": 123, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 4390, + "end": 4398, + "loc": { + "start": { + "line": 123, + "column": 34 + }, + "end": { + "line": 123, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4398, + "end": 4399, + "loc": { + "start": { + "line": 123, + "column": 42 + }, + "end": { + "line": 123, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 4399, + "end": 4405, + "loc": { + "start": { + "line": 123, + "column": 43 + }, + "end": { + "line": 123, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4405, + "end": 4406, + "loc": { + "start": { + "line": 123, + "column": 49 + }, + "end": { + "line": 123, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 4406, + "end": 4412, + "loc": { + "start": { + "line": 123, + "column": 50 + }, + "end": { + "line": 123, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4412, + "end": 4413, + "loc": { + "start": { + "line": 123, + "column": 56 + }, + "end": { + "line": 123, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 4413, + "end": 4415, + "loc": { + "start": { + "line": 123, + "column": 57 + }, + "end": { + "line": 123, + "column": 59 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4415, + "end": 4416, + "loc": { + "start": { + "line": 123, + "column": 59 + }, + "end": { + "line": 123, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 4416, + "end": 4423, + "loc": { + "start": { + "line": 123, + "column": 60 + }, + "end": { + "line": 123, + "column": 67 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4423, + "end": 4424, + "loc": { + "start": { + "line": 123, + "column": 67 + }, + "end": { + "line": 123, + "column": 68 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 4424, + "end": 4427, + "loc": { + "start": { + "line": 123, + "column": 68 + }, + "end": { + "line": 123, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4427, + "end": 4428, + "loc": { + "start": { + "line": 123, + "column": 71 + }, + "end": { + "line": 123, + "column": 72 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4428, + "end": 4429, + "loc": { + "start": { + "line": 123, + "column": 72 + }, + "end": { + "line": 123, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4429, + "end": 4430, + "loc": { + "start": { + "line": 123, + "column": 73 + }, + "end": { + "line": 123, + "column": 74 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4443, + "end": 4444, + "loc": { + "start": { + "line": 124, + "column": 12 + }, + "end": { + "line": 124, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4444, + "end": 4445, + "loc": { + "start": { + "line": 124, + "column": 13 + }, + "end": { + "line": 124, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4445, + "end": 4446, + "loc": { + "start": { + "line": 124, + "column": 14 + }, + "end": { + "line": 124, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4457, + "end": 4458, + "loc": { + "start": { + "line": 125, + "column": 10 + }, + "end": { + "line": 125, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4458, + "end": 4459, + "loc": { + "start": { + "line": 125, + "column": 11 + }, + "end": { + "line": 125, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4459, + "end": 4460, + "loc": { + "start": { + "line": 125, + "column": 12 + }, + "end": { + "line": 125, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 4472, + "end": 4480, + "loc": { + "start": { + "line": 127, + "column": 10 + }, + "end": { + "line": 127, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4480, + "end": 4481, + "loc": { + "start": { + "line": 127, + "column": 18 + }, + "end": { + "line": 127, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "New Hits Playlists", + "start": 4481, + "end": 4501, + "loc": { + "start": { + "line": 127, + "column": 19 + }, + "end": { + "line": 127, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4501, + "end": 4502, + "loc": { + "start": { + "line": 127, + "column": 39 + }, + "end": { + "line": 127, + "column": 40 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4503, + "end": 4504, + "loc": { + "start": { + "line": 127, + "column": 41 + }, + "end": { + "line": 127, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4504, + "end": 4505, + "loc": { + "start": { + "line": 127, + "column": 42 + }, + "end": { + "line": 127, + "column": 43 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4506, + "end": 4508, + "loc": { + "start": { + "line": 127, + "column": 44 + }, + "end": { + "line": 127, + "column": 46 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4509, + "end": 4510, + "loc": { + "start": { + "line": 127, + "column": 47 + }, + "end": { + "line": 127, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 4523, + "end": 4525, + "loc": { + "start": { + "line": 128, + "column": 12 + }, + "end": { + "line": 128, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4525, + "end": 4526, + "loc": { + "start": { + "line": 128, + "column": 14 + }, + "end": { + "line": 128, + "column": 15 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200", + "start": 4526, + "end": 4554, + "loc": { + "start": { + "line": 128, + "column": 15 + }, + "end": { + "line": 128, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4554, + "end": 4555, + "loc": { + "start": { + "line": 128, + "column": 43 + }, + "end": { + "line": 128, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4556, + "end": 4557, + "loc": { + "start": { + "line": 128, + "column": 45 + }, + "end": { + "line": 128, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4557, + "end": 4558, + "loc": { + "start": { + "line": 128, + "column": 46 + }, + "end": { + "line": 128, + "column": 47 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4559, + "end": 4561, + "loc": { + "start": { + "line": 128, + "column": 48 + }, + "end": { + "line": 128, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4562, + "end": 4563, + "loc": { + "start": { + "line": 128, + "column": 51 + }, + "end": { + "line": 128, + "column": 52 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4578, + "end": 4584, + "loc": { + "start": { + "line": 129, + "column": 14 + }, + "end": { + "line": 129, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "api", + "start": 4585, + "end": 4588, + "loc": { + "start": { + "line": 129, + "column": 21 + }, + "end": { + "line": 129, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4588, + "end": 4589, + "loc": { + "start": { + "line": 129, + "column": 24 + }, + "end": { + "line": 129, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newHitsPlaylistFetcher", + "start": 4589, + "end": 4611, + "loc": { + "start": { + "line": 129, + "column": 25 + }, + "end": { + "line": 129, + "column": 47 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4628, + "end": 4629, + "loc": { + "start": { + "line": 130, + "column": 16 + }, + "end": { + "line": 130, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchAllNewHitsPlaylists", + "start": 4629, + "end": 4653, + "loc": { + "start": { + "line": 130, + "column": 17 + }, + "end": { + "line": 130, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4653, + "end": 4654, + "loc": { + "start": { + "line": 130, + "column": 41 + }, + "end": { + "line": 130, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4654, + "end": 4655, + "loc": { + "start": { + "line": 130, + "column": 42 + }, + "end": { + "line": 130, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4672, + "end": 4673, + "loc": { + "start": { + "line": 131, + "column": 16 + }, + "end": { + "line": 131, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 4673, + "end": 4677, + "loc": { + "start": { + "line": 131, + "column": 17 + }, + "end": { + "line": 131, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4677, + "end": 4678, + "loc": { + "start": { + "line": 131, + "column": 21 + }, + "end": { + "line": 131, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 4678, + "end": 4686, + "loc": { + "start": { + "line": 131, + "column": 22 + }, + "end": { + "line": 131, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4687, + "end": 4689, + "loc": { + "start": { + "line": 131, + "column": 31 + }, + "end": { + "line": 131, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 4690, + "end": 4698, + "loc": { + "start": { + "line": 131, + "column": 34 + }, + "end": { + "line": 131, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4698, + "end": 4699, + "loc": { + "start": { + "line": 131, + "column": 42 + }, + "end": { + "line": 131, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 4699, + "end": 4705, + "loc": { + "start": { + "line": 131, + "column": 43 + }, + "end": { + "line": 131, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4705, + "end": 4706, + "loc": { + "start": { + "line": 131, + "column": 49 + }, + "end": { + "line": 131, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 4706, + "end": 4712, + "loc": { + "start": { + "line": 131, + "column": 50 + }, + "end": { + "line": 131, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4712, + "end": 4713, + "loc": { + "start": { + "line": 131, + "column": 56 + }, + "end": { + "line": 131, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 4713, + "end": 4715, + "loc": { + "start": { + "line": 131, + "column": 57 + }, + "end": { + "line": 131, + "column": 59 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4715, + "end": 4716, + "loc": { + "start": { + "line": 131, + "column": 59 + }, + "end": { + "line": 131, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 4716, + "end": 4723, + "loc": { + "start": { + "line": 131, + "column": 60 + }, + "end": { + "line": 131, + "column": 67 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4723, + "end": 4724, + "loc": { + "start": { + "line": 131, + "column": 67 + }, + "end": { + "line": 131, + "column": 68 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 4724, + "end": 4727, + "loc": { + "start": { + "line": 131, + "column": 68 + }, + "end": { + "line": 131, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4727, + "end": 4728, + "loc": { + "start": { + "line": 131, + "column": 71 + }, + "end": { + "line": 131, + "column": 72 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4728, + "end": 4729, + "loc": { + "start": { + "line": 131, + "column": 72 + }, + "end": { + "line": 131, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4729, + "end": 4730, + "loc": { + "start": { + "line": 131, + "column": 73 + }, + "end": { + "line": 131, + "column": 74 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4743, + "end": 4744, + "loc": { + "start": { + "line": 132, + "column": 12 + }, + "end": { + "line": 132, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4744, + "end": 4745, + "loc": { + "start": { + "line": 132, + "column": 13 + }, + "end": { + "line": 132, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4745, + "end": 4746, + "loc": { + "start": { + "line": 132, + "column": 14 + }, + "end": { + "line": 132, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4757, + "end": 4758, + "loc": { + "start": { + "line": 133, + "column": 10 + }, + "end": { + "line": 133, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4758, + "end": 4759, + "loc": { + "start": { + "line": 133, + "column": 11 + }, + "end": { + "line": 133, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4759, + "end": 4760, + "loc": { + "start": { + "line": 133, + "column": 12 + }, + "end": { + "line": 133, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "describe", + "start": 4772, + "end": 4780, + "loc": { + "start": { + "line": 135, + "column": 10 + }, + "end": { + "line": 135, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4780, + "end": 4781, + "loc": { + "start": { + "line": 135, + "column": 18 + }, + "end": { + "line": 135, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Shared Playlist", + "start": 4781, + "end": 4798, + "loc": { + "start": { + "line": 135, + "column": 19 + }, + "end": { + "line": 135, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4798, + "end": 4799, + "loc": { + "start": { + "line": 135, + "column": 36 + }, + "end": { + "line": 135, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4800, + "end": 4801, + "loc": { + "start": { + "line": 135, + "column": 38 + }, + "end": { + "line": 135, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4801, + "end": 4802, + "loc": { + "start": { + "line": 135, + "column": 39 + }, + "end": { + "line": 135, + "column": 40 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4803, + "end": 4805, + "loc": { + "start": { + "line": 135, + "column": 41 + }, + "end": { + "line": 135, + "column": 43 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4806, + "end": 4807, + "loc": { + "start": { + "line": 135, + "column": 44 + }, + "end": { + "line": 135, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 4820, + "end": 4822, + "loc": { + "start": { + "line": 136, + "column": 12 + }, + "end": { + "line": 136, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4822, + "end": 4823, + "loc": { + "start": { + "line": 136, + "column": 14 + }, + "end": { + "line": 136, + "column": 15 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200", + "start": 4823, + "end": 4851, + "loc": { + "start": { + "line": 136, + "column": 15 + }, + "end": { + "line": 136, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4851, + "end": 4852, + "loc": { + "start": { + "line": 136, + "column": 43 + }, + "end": { + "line": 136, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4853, + "end": 4854, + "loc": { + "start": { + "line": 136, + "column": 45 + }, + "end": { + "line": 136, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4854, + "end": 4855, + "loc": { + "start": { + "line": 136, + "column": 46 + }, + "end": { + "line": 136, + "column": 47 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4856, + "end": 4858, + "loc": { + "start": { + "line": 136, + "column": 48 + }, + "end": { + "line": 136, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4859, + "end": 4860, + "loc": { + "start": { + "line": 136, + "column": 51 + }, + "end": { + "line": 136, + "column": 52 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4875, + "end": 4881, + "loc": { + "start": { + "line": 137, + "column": 14 + }, + "end": { + "line": 137, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "api", + "start": 4882, + "end": 4885, + "loc": { + "start": { + "line": 137, + "column": 21 + }, + "end": { + "line": 137, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4885, + "end": 4886, + "loc": { + "start": { + "line": 137, + "column": 24 + }, + "end": { + "line": 137, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sharedPlaylistFetcher", + "start": 4886, + "end": 4907, + "loc": { + "start": { + "line": 137, + "column": 25 + }, + "end": { + "line": 137, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4924, + "end": 4925, + "loc": { + "start": { + "line": 138, + "column": 16 + }, + "end": { + "line": 138, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setPlaylistID", + "start": 4925, + "end": 4938, + "loc": { + "start": { + "line": 138, + "column": 17 + }, + "end": { + "line": 138, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4938, + "end": 4939, + "loc": { + "start": { + "line": 138, + "column": 30 + }, + "end": { + "line": 138, + "column": 31 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "KsOjSf4whgbL45hRfl", + "start": 4939, + "end": 4959, + "loc": { + "start": { + "line": 138, + "column": 31 + }, + "end": { + "line": 138, + "column": 51 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4959, + "end": 4960, + "loc": { + "start": { + "line": 138, + "column": 51 + }, + "end": { + "line": 138, + "column": 52 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4977, + "end": 4978, + "loc": { + "start": { + "line": 139, + "column": 16 + }, + "end": { + "line": 139, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchMetadata", + "start": 4978, + "end": 4991, + "loc": { + "start": { + "line": 139, + "column": 17 + }, + "end": { + "line": 139, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4991, + "end": 4992, + "loc": { + "start": { + "line": 139, + "column": 30 + }, + "end": { + "line": 139, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4992, + "end": 4993, + "loc": { + "start": { + "line": 139, + "column": 31 + }, + "end": { + "line": 139, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5010, + "end": 5011, + "loc": { + "start": { + "line": 140, + "column": 16 + }, + "end": { + "line": 140, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 5011, + "end": 5015, + "loc": { + "start": { + "line": 140, + "column": 17 + }, + "end": { + "line": 140, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5015, + "end": 5016, + "loc": { + "start": { + "line": 140, + "column": 21 + }, + "end": { + "line": 140, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 5016, + "end": 5024, + "loc": { + "start": { + "line": 140, + "column": 22 + }, + "end": { + "line": 140, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5025, + "end": 5027, + "loc": { + "start": { + "line": 140, + "column": 31 + }, + "end": { + "line": 140, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 5028, + "end": 5036, + "loc": { + "start": { + "line": 140, + "column": 34 + }, + "end": { + "line": 140, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5036, + "end": 5037, + "loc": { + "start": { + "line": 140, + "column": 42 + }, + "end": { + "line": 140, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 5037, + "end": 5043, + "loc": { + "start": { + "line": 140, + "column": 43 + }, + "end": { + "line": 140, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5043, + "end": 5044, + "loc": { + "start": { + "line": 140, + "column": 49 + }, + "end": { + "line": 140, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 5044, + "end": 5050, + "loc": { + "start": { + "line": 140, + "column": 50 + }, + "end": { + "line": 140, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5050, + "end": 5051, + "loc": { + "start": { + "line": 140, + "column": 56 + }, + "end": { + "line": 140, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 5051, + "end": 5053, + "loc": { + "start": { + "line": 140, + "column": 57 + }, + "end": { + "line": 140, + "column": 59 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5053, + "end": 5054, + "loc": { + "start": { + "line": 140, + "column": 59 + }, + "end": { + "line": 140, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 5054, + "end": 5061, + "loc": { + "start": { + "line": 140, + "column": 60 + }, + "end": { + "line": 140, + "column": 67 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5061, + "end": 5062, + "loc": { + "start": { + "line": 140, + "column": 67 + }, + "end": { + "line": 140, + "column": 68 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 5062, + "end": 5065, + "loc": { + "start": { + "line": 140, + "column": 68 + }, + "end": { + "line": 140, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5065, + "end": 5066, + "loc": { + "start": { + "line": 140, + "column": 71 + }, + "end": { + "line": 140, + "column": 72 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5066, + "end": 5067, + "loc": { + "start": { + "line": 140, + "column": 72 + }, + "end": { + "line": 140, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5067, + "end": 5068, + "loc": { + "start": { + "line": 140, + "column": 73 + }, + "end": { + "line": 140, + "column": 74 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5081, + "end": 5082, + "loc": { + "start": { + "line": 141, + "column": 12 + }, + "end": { + "line": 141, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5082, + "end": 5083, + "loc": { + "start": { + "line": 141, + "column": 13 + }, + "end": { + "line": 141, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5083, + "end": 5084, + "loc": { + "start": { + "line": 141, + "column": 14 + }, + "end": { + "line": 141, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "it", + "start": 5097, + "end": 5099, + "loc": { + "start": { + "line": 142, + "column": 12 + }, + "end": { + "line": 142, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5099, + "end": 5100, + "loc": { + "start": { + "line": 142, + "column": 14 + }, + "end": { + "line": 142, + "column": 15 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "should response status 200", + "start": 5100, + "end": 5128, + "loc": { + "start": { + "line": 142, + "column": 15 + }, + "end": { + "line": 142, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5128, + "end": 5129, + "loc": { + "start": { + "line": 142, + "column": 43 + }, + "end": { + "line": 142, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5130, + "end": 5131, + "loc": { + "start": { + "line": 142, + "column": 45 + }, + "end": { + "line": 142, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5131, + "end": 5132, + "loc": { + "start": { + "line": 142, + "column": 46 + }, + "end": { + "line": 142, + "column": 47 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5133, + "end": 5135, + "loc": { + "start": { + "line": 142, + "column": 48 + }, + "end": { + "line": 142, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5136, + "end": 5137, + "loc": { + "start": { + "line": 142, + "column": 51 + }, + "end": { + "line": 142, + "column": 52 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 5152, + "end": 5158, + "loc": { + "start": { + "line": 143, + "column": 14 + }, + "end": { + "line": 143, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "api", + "start": 5159, + "end": 5162, + "loc": { + "start": { + "line": 143, + "column": 21 + }, + "end": { + "line": 143, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5162, + "end": 5163, + "loc": { + "start": { + "line": 143, + "column": 24 + }, + "end": { + "line": 143, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sharedPlaylistFetcher", + "start": 5163, + "end": 5184, + "loc": { + "start": { + "line": 143, + "column": 25 + }, + "end": { + "line": 143, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5201, + "end": 5202, + "loc": { + "start": { + "line": 144, + "column": 16 + }, + "end": { + "line": 144, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setPlaylistID", + "start": 5202, + "end": 5215, + "loc": { + "start": { + "line": 144, + "column": 17 + }, + "end": { + "line": 144, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5215, + "end": 5216, + "loc": { + "start": { + "line": 144, + "column": 30 + }, + "end": { + "line": 144, + "column": 31 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "KsOjSf4whgbL45hRfl", + "start": 5216, + "end": 5236, + "loc": { + "start": { + "line": 144, + "column": 31 + }, + "end": { + "line": 144, + "column": 51 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5236, + "end": 5237, + "loc": { + "start": { + "line": 144, + "column": 51 + }, + "end": { + "line": 144, + "column": 52 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5254, + "end": 5255, + "loc": { + "start": { + "line": 145, + "column": 16 + }, + "end": { + "line": 145, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fetchTracks", + "start": 5255, + "end": 5266, + "loc": { + "start": { + "line": 145, + "column": 17 + }, + "end": { + "line": 145, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5266, + "end": 5267, + "loc": { + "start": { + "line": 145, + "column": 28 + }, + "end": { + "line": 145, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5267, + "end": 5268, + "loc": { + "start": { + "line": 145, + "column": 29 + }, + "end": { + "line": 145, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5285, + "end": 5286, + "loc": { + "start": { + "line": 146, + "column": 16 + }, + "end": { + "line": 146, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 5286, + "end": 5290, + "loc": { + "start": { + "line": 146, + "column": 17 + }, + "end": { + "line": 146, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5290, + "end": 5291, + "loc": { + "start": { + "line": 146, + "column": 21 + }, + "end": { + "line": 146, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 5291, + "end": 5299, + "loc": { + "start": { + "line": 146, + "column": 22 + }, + "end": { + "line": 146, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5300, + "end": 5302, + "loc": { + "start": { + "line": 146, + "column": 31 + }, + "end": { + "line": 146, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "response", + "start": 5303, + "end": 5311, + "loc": { + "start": { + "line": 146, + "column": 34 + }, + "end": { + "line": 146, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5311, + "end": 5312, + "loc": { + "start": { + "line": 146, + "column": 42 + }, + "end": { + "line": 146, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "status", + "start": 5312, + "end": 5318, + "loc": { + "start": { + "line": 146, + "column": 43 + }, + "end": { + "line": 146, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5318, + "end": 5319, + "loc": { + "start": { + "line": 146, + "column": 49 + }, + "end": { + "line": 146, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "should", + "start": 5319, + "end": 5325, + "loc": { + "start": { + "line": 146, + "column": 50 + }, + "end": { + "line": 146, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5325, + "end": 5326, + "loc": { + "start": { + "line": 146, + "column": 56 + }, + "end": { + "line": 146, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "be", + "start": 5326, + "end": 5328, + "loc": { + "start": { + "line": 146, + "column": 57 + }, + "end": { + "line": 146, + "column": 59 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5328, + "end": 5329, + "loc": { + "start": { + "line": 146, + "column": 59 + }, + "end": { + "line": 146, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exactly", + "start": 5329, + "end": 5336, + "loc": { + "start": { + "line": 146, + "column": 60 + }, + "end": { + "line": 146, + "column": 67 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5336, + "end": 5337, + "loc": { + "start": { + "line": 146, + "column": 67 + }, + "end": { + "line": 146, + "column": 68 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 200, + "start": 5337, + "end": 5340, + "loc": { + "start": { + "line": 146, + "column": 68 + }, + "end": { + "line": 146, + "column": 71 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5340, + "end": 5341, + "loc": { + "start": { + "line": 146, + "column": 71 + }, + "end": { + "line": 146, + "column": 72 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5341, + "end": 5342, + "loc": { + "start": { + "line": 146, + "column": 72 + }, + "end": { + "line": 146, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5342, + "end": 5343, + "loc": { + "start": { + "line": 146, + "column": 73 + }, + "end": { + "line": 146, + "column": 74 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5356, + "end": 5357, + "loc": { + "start": { + "line": 147, + "column": 12 + }, + "end": { + "line": 147, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5357, + "end": 5358, + "loc": { + "start": { + "line": 147, + "column": 13 + }, + "end": { + "line": 147, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5358, + "end": 5359, + "loc": { + "start": { + "line": 147, + "column": 14 + }, + "end": { + "line": 147, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5370, + "end": 5371, + "loc": { + "start": { + "line": 148, + "column": 10 + }, + "end": { + "line": 148, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5371, + "end": 5372, + "loc": { + "start": { + "line": 148, + "column": 11 + }, + "end": { + "line": 148, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5372, + "end": 5373, + "loc": { + "start": { + "line": 148, + "column": 12 + }, + "end": { + "line": 148, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5382, + "end": 5383, + "loc": { + "start": { + "line": 149, + "column": 8 + }, + "end": { + "line": 149, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5383, + "end": 5384, + "loc": { + "start": { + "line": 149, + "column": 9 + }, + "end": { + "line": 149, + "column": 10 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5384, + "end": 5385, + "loc": { + "start": { + "line": 149, + "column": 10 + }, + "end": { + "line": 149, + "column": 11 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5392, + "end": 5393, + "loc": { + "start": { + "line": 150, + "column": 6 + }, + "end": { + "line": 150, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5393, + "end": 5394, + "loc": { + "start": { + "line": 150, + "column": 7 + }, + "end": { + "line": 150, + "column": 8 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5394, + "end": 5395, + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5400, + "end": 5401, + "loc": { + "start": { + "line": 151, + "column": 4 + }, + "end": { + "line": 151, + "column": 5 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5401, + "end": 5402, + "loc": { + "start": { + "line": 151, + "column": 5 + }, + "end": { + "line": 151, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5402, + "end": 5403, + "loc": { + "start": { + "line": 151, + "column": 6 + }, + "end": { + "line": 151, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5406, + "end": 5407, + "loc": { + "start": { + "line": 152, + "column": 2 + }, + "end": { + "line": 152, + "column": 3 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5407, + "end": 5408, + "loc": { + "start": { + "line": 152, + "column": 3 + }, + "end": { + "line": 152, + "column": 4 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5408, + "end": 5409, + "loc": { + "start": { + "line": 152, + "column": 4 + }, + "end": { + "line": 152, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5410, + "end": 5411, + "loc": { + "start": { + "line": 153, + "column": 0 + }, + "end": { + "line": 153, + "column": 1 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5411, + "end": 5412, + "loc": { + "start": { + "line": 153, + "column": 1 + }, + "end": { + "line": 153, + "column": 2 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5412, + "end": 5413, + "loc": { + "start": { + "line": 153, + "column": 2 + }, + "end": { + "line": 153, + "column": 3 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5414, + "end": 5414, + "loc": { + "start": { + "line": 154, + "column": 0 + }, + "end": { + "line": 154, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/badge.svg b/docs/badge.svg index 80c0bb5..64f0fc1 100644 --- a/docs/badge.svg +++ b/docs/badge.svg @@ -11,7 +11,7 @@ document document - 96% - 96% + 91% + 91% diff --git a/docs/class/src/api/AlbumFetcher.js~AlbumFetcher.html b/docs/class/src/api/AlbumFetcher.js~AlbumFetcher.html index f5de1ef..62e0b64 100644 --- a/docs/class/src/api/AlbumFetcher.js~AlbumFetcher.html +++ b/docs/class/src/api/AlbumFetcher.js~AlbumFetcher.html @@ -3,14 +3,12 @@ - AlbumFetcher | API Document + AlbumFetcher | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+
- + public class @@ -85,7 +82,7 @@

AlbumFetcher

-

See:

+

See:

@@ -115,13 +112,14 @@

AlbumFetcher

- fetchMetadata(): Promise + + fetchMetadata(): Promise

-

Fetcy metadata of the album you create.

+

Fetch metadata of the album you create.

@@ -143,7 +141,8 @@

AlbumFetcher

- fetchTracks(limit: number, offset: number): Promise + + fetchTracks(limit: number, offset: number): Promise

@@ -171,7 +170,8 @@

AlbumFetcher

- getWidgetUri(): string + + getWidgetUri(): string

@@ -199,7 +199,8 @@

AlbumFetcher

- setAlbumID(album_id: string): AlbumFetcher + + setAlbumID(albumID: string): AlbumFetcher

@@ -235,7 +236,8 @@

AlbumFetcher

- fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise + + fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise

@@ -263,7 +265,8 @@

AlbumFetcher

- hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean + + hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean

@@ -276,6 +279,35 @@

AlbumFetcher

+ + + + + public + + + + + + +
+

+ + + + setTerritory(territory: string): Fetcher +

+
+
+ + +

Set the fetcher's territory.

+
+
+ + + + @@ -296,7 +328,7 @@

- fetchMetadata(): Promise + fetchMetadata(): Promise @@ -307,7 +339,7 @@

-

Fetcy metadata of the album you create.

+

Fetch metadata of the album you create.

@@ -320,7 +352,7 @@

Return:

- + @@ -342,13 +374,13 @@

Example:

-
api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchMetadata()
+
api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchMetadata();
- +
@@ -359,11 +391,11 @@

- fetchTracks(limit: number, offset: number): Promise + fetchTracks(limit: number, offset: number): Promise - source + source

@@ -384,15 +416,15 @@

Params:

- - + + - - + + @@ -407,7 +439,7 @@

Return:

PromisePromise
limitnumberlimitnumber
  • optional

The size for one page.

offsetnumberoffsetnumber
  • optional

The offset index for first element.

- + @@ -429,13 +461,13 @@

Example:

-
api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks()
+
api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks();
- +
@@ -446,11 +478,11 @@

- getWidgetUri(): string + getWidgetUri(): string - source + source

@@ -470,7 +502,7 @@

Return:

PromisePromise
- + @@ -509,7 +541,7 @@

- setAlbumID(album_id: string): AlbumFetcher + setAlbumID(albumID: string): AlbumFetcher @@ -534,8 +566,8 @@

Params:

- - + + @@ -550,7 +582,7 @@

Return:

stringstring
album_idstringalbumIDstring

The ID of an album.

- + @@ -571,14 +603,14 @@

Return:

- + diff --git a/docs/class/src/api/Api.js~Api.html b/docs/class/src/api/Api.js~Api.html index 8d2c9b1..e6d54dc 100644 --- a/docs/class/src/api/Api.js~Api.html +++ b/docs/class/src/api/Api.js~Api.html @@ -3,14 +3,12 @@ - Api | API Document + Api | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+
@@ -113,7 +110,8 @@

Api

- constructor(token: string, territory: string) + + constructor(token: string, territory: string)

@@ -148,7 +146,8 @@

Api

- albumFetcher: AlbumFetcher + + albumFetcher: AlbumFetcher

@@ -175,7 +174,8 @@

Api

- artistFetcher: ArtistFetcher + + artistFetcher: ArtistFetcher

@@ -202,7 +202,8 @@

Api

- chartFetcher: ChartFetcher + + chartFetcher: ChartFetcher

@@ -310,7 +314,8 @@

Api

- httpClient: * + + httpClient: *

@@ -418,7 +426,8 @@

Api

- searchFetcher: SearchFetcher + + searchFetcher: SearchFetcher

@@ -445,7 +454,8 @@

Api

- territory: * + + sharedPlaylistFetcher: SharedPlaylistFetcher

@@ -472,7 +482,36 @@

Api

- trackFetcher: TrackFetcher + + territory: * +

+
+
+ + + +
+ +
+ + + + - - + + - - + + - - + + @@ -1235,7 +1318,7 @@

Example:

-
api.setToken(token)
+
api.setToken(token);
@@ -1248,7 +1331,7 @@

Example:

diff --git a/docs/class/src/api/ArtistFetcher.js~ArtistFetcher.html b/docs/class/src/api/ArtistFetcher.js~ArtistFetcher.html index 9c18b7f..520dbc4 100644 --- a/docs/class/src/api/ArtistFetcher.js~ArtistFetcher.html +++ b/docs/class/src/api/ArtistFetcher.js~ArtistFetcher.html @@ -3,14 +3,12 @@ - ArtistFetcher | API Document + ArtistFetcher | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+
- + public class @@ -85,7 +82,7 @@

ArtistFetcher

- + @@ -115,7 +112,8 @@

ArtistFetcher

- fetchAlbums(limit: number, offset: number): Promise + + fetchAlbums(limit: number, offset: number): Promise

@@ -143,7 +141,8 @@

ArtistFetcher

- fetchMetadata(): Promise + + fetchMetadata(): Promise

@@ -171,7 +170,37 @@

ArtistFetcher

- fetchTopTracks(limit: number, offset: number): Promise + + fetchRelatedArtists(limit: number, offset: number): Promise +

+
+
+ + +

Fetch related artists

+
+
+ + + + + + + + + + + @@ -296,11 +357,11 @@

- fetchAlbums(limit: number, offset: number): Promise + fetchAlbums(limit: number, offset: number): Promise - source + source

@@ -321,15 +382,15 @@

Params:

- - + + - - + + @@ -344,7 +405,7 @@

Return:

AlbumFetcherAlbumFetcher
+ + +
+ public + + + + + +
@@ -506,7 +545,8 @@

Api

- setToken(token: string) + + setToken(token: string)

@@ -539,11 +579,11 @@

- constructor(token: string, territory: string) + constructor(token: string, territory: string) - source + source

@@ -564,15 +604,15 @@

Params:

tokenstringtokenstring

Get via Auth.

territorystringterritorystring
  • optional
  • default: 'TW'

['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.

@@ -598,11 +638,11 @@

Example:

-
new Api(token)
+
new Api(token);
-
new Api(token, 'TW')
+
new Api(token, 'TW');
@@ -622,11 +662,11 @@

- albumFetcher: AlbumFetcher + albumFetcher: AlbumFetcher - source + source

@@ -665,11 +705,11 @@

- artistFetcher: ArtistFetcher + artistFetcher: ArtistFetcher - source + source

@@ -708,11 +748,11 @@

- chartFetcher: ChartFetcher + chartFetcher: ChartFetcher - source + source

@@ -751,11 +791,11 @@

- featuredPlaylistCategoryFetcher: FeaturedPlaylistCategoryFetcher + featuredPlaylistCategoryFetcher: FeaturedPlaylistCategoryFetcher - source + source

@@ -794,11 +834,11 @@

- featuredPlaylistFetcher: FeaturedPlaylistFetcher + featuredPlaylistFetcher: FeaturedPlaylistFetcher - source + source

@@ -837,11 +877,11 @@

- genreStationFetcher: GenreStationFetcher + genreStationFetcher: GenreStationFetcher - source + source

@@ -880,11 +920,11 @@

- httpClient: * + httpClient: * - source + source

@@ -923,11 +963,11 @@

- moodStationFetcher: MoodStationFetcher + moodStationFetcher: MoodStationFetcher - source + source

@@ -966,11 +1006,11 @@

- newHitsPlaylistFetcher: NewHitsPlaylistFetcher + newHitsPlaylistFetcher: NewHitsPlaylistFetcher - source + source

@@ -1009,11 +1049,11 @@

- newReleaseCategoryFetcher: NewReleaseCategoryFetcher + newReleaseCategoryFetcher: NewReleaseCategoryFetcher - source + source

@@ -1052,11 +1092,54 @@

- searchFetcher: SearchFetcher + searchFetcher: SearchFetcher - source + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + +
+

+ public + + + + + + sharedPlaylistFetcher: SharedPlaylistFetcher + + + + source

@@ -1095,11 +1178,11 @@

- territory: * + territory: * - source + source

@@ -1138,11 +1221,11 @@

- trackFetcher: TrackFetcher + trackFetcher: TrackFetcher - source + source

@@ -1184,11 +1267,11 @@

- setToken(token: string) + setToken(token: string) - source + source

@@ -1209,8 +1292,8 @@

Params:

tokenstringtokenstring

Get via Auth.

+ + +
+ public + + + + + +
+

+ + + + fetchTopTracks(limit: number, offset: number): Promise

@@ -199,7 +228,8 @@

ArtistFetcher

- setArtistID(artist_id: string): Artist + + setArtistID(artistID: string): Artist

@@ -235,7 +265,8 @@

ArtistFetcher

- fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise + + fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise

@@ -263,7 +294,8 @@

ArtistFetcher

- hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean + + hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean

@@ -276,6 +308,35 @@

ArtistFetcher

+
+ public + + + + + +
+

+ + + + setTerritory(territory: string): Fetcher +

+
+
+ + +

Set the fetcher's territory.

+
+
+
+ +
limitnumberlimitnumber
  • optional

The size for one page.

offsetnumberoffsetnumber
  • optional

The offset index for first element.

- + @@ -366,13 +427,13 @@

Example:

-
api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchAlbums()
+
api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchAlbums();
- +
@@ -383,7 +444,7 @@

- fetchMetadata(): Promise + fetchMetadata(): Promise @@ -407,7 +468,94 @@

Return:

PromisePromise
- + + + + +
PromisePromise
+
+
+
+ + + + + + + + + +
+

Example:

+ +
+ +
api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchMetadata();
+
+
+ + + +

See:

+ +

+
+

+ public + + + + + + fetchRelatedArtists(limit: number, offset: number): Promise + + + + source + +

+ + + + +

Fetch related artists

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
limitnumber
  • optional

The size for one page.

+
offsetnumber
  • optional

The offset index for first element.

+
+
+
+ +
+

Return:

+ + + + @@ -429,13 +577,13 @@

Example:

-
api.Artist.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchMetadata()
+
api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchRelatedArtists();
-

See:

+

See:

@@ -446,11 +594,11 @@

- fetchTopTracks(limit: number, offset: number): Promise + fetchTopTracks(limit: number, offset: number): Promise - source + source

@@ -471,15 +619,15 @@

Params:

- - + + - - + + @@ -494,7 +642,7 @@

Return:

Promise
limitnumberlimitnumber
  • optional

The size for one page.

offsetnumberoffsetnumber
  • optional

The offset index for first element.

- + @@ -516,13 +664,13 @@

Example:

-
api.Artist.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchTopTracks()
+
api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchTopTracks();
-

See:

+

See:

@@ -533,7 +681,7 @@

- setArtistID(artist_id: string): Artist + setArtistID(artistID: string): Artist @@ -558,8 +706,8 @@

Params:

- - + + @@ -574,7 +722,7 @@

Return:

PromisePromise
artist_idstringartistIDstring

The ID of an artist.

- + @@ -595,14 +743,14 @@

Return:

-

See:

+

See:

diff --git a/docs/class/src/api/ChartFetcher.js~ChartFetcher.html b/docs/class/src/api/ChartFetcher.js~ChartFetcher.html index c163abf..acefe64 100644 --- a/docs/class/src/api/ChartFetcher.js~ChartFetcher.html +++ b/docs/class/src/api/ChartFetcher.js~ChartFetcher.html @@ -3,14 +3,12 @@ - ChartFetcher | API Document + ChartFetcher | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+
- + public class @@ -85,7 +82,7 @@

ChartFetcher

-

See:

+

See:

@@ -115,7 +112,8 @@

ChartFetcher

- fetchCharts(): Promise + + fetchCharts(): Promise

@@ -128,6 +126,93 @@

ChartFetcher

+ + + + + + + + + + + + + + + @@ -151,7 +236,8 @@

ChartFetcher

- fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise + + fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise

@@ -179,7 +265,8 @@

ChartFetcher

- hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean + + hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean

@@ -192,6 +279,35 @@

ChartFetcher

+ + + + + @@ -212,11 +328,11 @@

- fetchCharts(): Promise + fetchCharts(): Promise - source + source

@@ -236,7 +352,7 @@

Return:

ArtistArtist
+
+ public + + + + + +
+

+ + + + fetchMetadata(): Promise +

+
+
+ + +

Fetch playlist of the chart you set.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + fetchTracks(limit: number, offset: number): Promise +

+
+
+ + +

Fetch tracks of the playlist with the chart fetcher you init.

+
+
+
+ + +
+ public + + + + + +
+

+ + + + setPlaylistID(playlistID: string): ChartFetcher +

+
+
+ + +

Init the chart fetcher.

+
+
+
+ +
+
+ public + + + + + +
+

+ + + + setTerritory(territory: string): Fetcher +

+
+
+ + +

Set the fetcher's territory.

+
+
+
+ +
- + @@ -258,20 +374,243 @@

Example:

-
api.chartFetcher.fetchCharts()
+
api.chartFetcher.fetchCharts();
-

See:

+

See:

+ + +
+

+ public + + + + + + fetchMetadata(): Promise + + + + source + +

+ + + + +

Fetch playlist of the chart you set.

+
+ + + +
+
+ +
+

Return:

+
PromisePromise
+ + + + + + +
Promise
+
+
+
+ + + + + + + + + +
+

Example:

+ +
+ +
api.chartFetcher.setPlaylistID('4mJSYXvueA8t0odsny').fetchMetadata();
+
+
+ + + +

See:

+ +
+
+

+ public + + + + + + fetchTracks(limit: number, offset: number): Promise + + + + source + +

+ + + + +

Fetch tracks of the playlist with the chart fetcher you init. Result will be paged.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
limitnumber
  • optional

The size of one page.

+
offsetnumber
  • optional

The offset index for first element.

+
+
+
+ +
+

Return:

+ + + + + + + +
Promise
+
+
+
+ + + + + + + + + +
+

Example:

+ +
+ +
api.chartFetcher.setPlaylistID('4mJSYXvueA8t0odsny').fetchTracks();
+
+
+ + + +

See:

+ +
+
+

+ public + + + + + + setPlaylistID(playlistID: string): ChartFetcher + + + + source + +

+ + + + +

Init the chart fetcher.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
playlistIDstring

The playlist ID.

+
+
+
+ +
+

Return:

+ + + + + + + +
ChartFetcher
+
+
+
+ + + + + + + + + + + + + +

See:

diff --git a/docs/class/src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher.html b/docs/class/src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher.html index 5fec718..d490e09 100644 --- a/docs/class/src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher.html +++ b/docs/class/src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher.html @@ -3,14 +3,12 @@ - FeaturedPlaylistCategoryFetcher | API Document + FeaturedPlaylistCategoryFetcher | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+
- +
import FeaturedPlaylistCategoryFetcher from '@kkbox/kkbox-js-sdk/src/api/FeaturedPlaylistCategoryFetcher.js'
public class @@ -85,7 +82,7 @@

FeaturedPlaylistCategoryFetcher

-

See:

+

See:

@@ -115,7 +112,8 @@

FeaturedPlaylistCategoryFetcher

- fetchAllFeaturedPlaylistCategories(): Promise + + fetchAllFeaturedPlaylistCategories(): Promise

@@ -143,7 +141,8 @@

FeaturedPlaylistCategoryFetcher

- fetchMetadata(): Promise + + fetchMetadata(): Promise

@@ -171,7 +170,8 @@

FeaturedPlaylistCategoryFetcher

- fetchPlaylists(limit: number, offset: number): Promise + + fetchPlaylists(limit: number, offset: number): Promise

@@ -199,7 +199,8 @@

FeaturedPlaylistCategoryFetcher

- setCategoryID(category_id: string): FeaturedPlaylistCategoryFetcher + + setCategoryID(categoryID: string): FeaturedPlaylistCategoryFetcher

@@ -235,7 +236,8 @@

FeaturedPlaylistCategoryFetcher

- fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise + + fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise

@@ -263,7 +265,8 @@

FeaturedPlaylistCategoryFetcher

- hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean + + hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean

@@ -276,6 +279,35 @@

FeaturedPlaylistCategoryFetcher

+ + + + + public + + + + + + +
+

+ + + + setTerritory(territory: string): Fetcher +

+
+
+ + +

Set the fetcher's territory.

+
+
+ + + + @@ -296,7 +328,7 @@

- fetchAllFeaturedPlaylistCategories(): Promise + fetchAllFeaturedPlaylistCategories(): Promise @@ -320,7 +352,7 @@

Return:

- + @@ -342,13 +374,13 @@

Example:

-
api.featuredPlaylistCategoryFetcher.fetchAllFeaturedPlaylistCategories()
+
api.featuredPlaylistCategoryFetcher.fetchAllFeaturedPlaylistCategories();
-

See:

+

See:

@@ -359,11 +391,11 @@

- fetchMetadata(): Promise + fetchMetadata(): Promise - source + source

@@ -383,7 +415,7 @@

Return:

PromisePromise
- + @@ -405,13 +437,13 @@

Example:

-
api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchMetadata()
+
api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchMetadata();
-

See:

+

See:

@@ -422,11 +454,11 @@

- fetchPlaylists(limit: number, offset: number): Promise + fetchPlaylists(limit: number, offset: number): Promise - source + source

@@ -447,15 +479,15 @@

Params:

- - + + - - + + @@ -470,7 +502,7 @@

Return:

PromisePromise
limitnumberlimitnumber
  • optional

The size of one page.

offsetnumberoffsetnumber
  • optional

The offset index for first element.

- + @@ -492,13 +524,13 @@

Example:

-
api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchPlaylists()
+
api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchPlaylists();
-

See:

+

See:

@@ -509,11 +541,11 @@

- setCategoryID(category_id: string): FeaturedPlaylistCategoryFetcher + setCategoryID(categoryID: string): FeaturedPlaylistCategoryFetcher - source + source

@@ -534,8 +566,8 @@

Params:

- - + + @@ -550,7 +582,7 @@

Return:

PromisePromise
category_idstringcategoryIDstring

The category ID.

- + @@ -571,14 +603,14 @@

Return:

-

See:

+

See:

diff --git a/docs/class/src/api/FeaturedPlaylistFetcher.js~FeaturedPlaylistFetcher.html b/docs/class/src/api/FeaturedPlaylistFetcher.js~FeaturedPlaylistFetcher.html index e393e8a..24a0c7c 100644 --- a/docs/class/src/api/FeaturedPlaylistFetcher.js~FeaturedPlaylistFetcher.html +++ b/docs/class/src/api/FeaturedPlaylistFetcher.js~FeaturedPlaylistFetcher.html @@ -3,14 +3,12 @@ - FeaturedPlaylistFetcher | API Document + FeaturedPlaylistFetcher | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+
- +
import FeaturedPlaylistFetcher from '@kkbox/kkbox-js-sdk/src/api/FeaturedPlaylistFetcher.js'
public class @@ -85,7 +82,7 @@

FeaturedPlaylistFetcher

-

See:

+

See:

@@ -115,7 +112,8 @@

FeaturedPlaylistFetcher

- fetchAllFeaturedPlaylists(limit: number, offset: number): Promise + + fetchAllFeaturedPlaylists(limit: number, offset: number): Promise

@@ -151,7 +149,8 @@

FeaturedPlaylistFetcher

- fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise + + fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise

@@ -179,7 +178,8 @@

FeaturedPlaylistFetcher

- hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean + + hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean

@@ -192,6 +192,35 @@

FeaturedPlaylistFetcher

+ + + + + @@ -212,7 +241,7 @@

- fetchAllFeaturedPlaylists(limit: number, offset: number): Promise + fetchAllFeaturedPlaylists(limit: number, offset: number): Promise @@ -237,15 +266,15 @@

Params:

- - + + - - + + @@ -260,7 +289,7 @@

Return:

FeaturedPlaylistCategoryFetcherFeaturedPlaylistCategoryFetcher
+
+ public + + + + + +
+

+ + + + setTerritory(territory: string): Fetcher +

+
+
+ + +

Set the fetcher's territory.

+
+
+
+ +
limitnumberlimitnumber
  • optional

The size for one page.

offsetnumberoffsetnumber
  • optional

The offset index for first element.

- + @@ -282,20 +311,20 @@

Example:

-
api.featuredPlaylistFetcher.fetchAllFeaturedPlaylists()
+
api.featuredPlaylistFetcher.fetchAllFeaturedPlaylists();
-

See:

+

See:

diff --git a/docs/class/src/api/Fetcher.js~Fetcher.html b/docs/class/src/api/Fetcher.js~Fetcher.html index ea0a20a..273bbe8 100644 --- a/docs/class/src/api/Fetcher.js~Fetcher.html +++ b/docs/class/src/api/Fetcher.js~Fetcher.html @@ -3,14 +3,12 @@ - Fetcher | API Document + Fetcher | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+
- + public class @@ -113,7 +110,8 @@

Fetcher

- constructor(http: Http, territory: string) + + constructor(http: Http, territory: string)

@@ -148,7 +146,8 @@

Fetcher

- fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise + + fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise

@@ -176,7 +175,8 @@

Fetcher

- hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean + + hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean

@@ -189,6 +189,35 @@

Fetcher

+ + + + + @@ -209,7 +238,7 @@

- constructor(http: Http, territory: string) + constructor(http: Http, territory: string) @@ -233,14 +262,14 @@

Params:

- - + + - - + + - - + + - - + + - @@ -330,7 +359,7 @@

Return:

PromisePromise
+
+ public + + + + + +
+

+ + + + setTerritory(territory: string): Fetcher +

+
+
+ + +

Set the fetcher's territory.

+
+
+
+ +
httpHttphttpHttp
territorystringterritorystring
  • optional
  • default: 'TW'

['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.

@@ -280,18 +309,18 @@

- fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise + fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise - source + source

-

Fetches next page of various paged APIs.

+

Fetches next page of various paged APIs.

@@ -305,18 +334,18 @@

Params:

fulfillmentfulfillmentfulfillmentfulfillment

The fulfillment get from Promose's onFulfillment function

nextUriPathStringnextUriPathString

The next uri's path. Defaults to 'data.paging.next', -which means we will get the next uri path from 'fulfillment.data.paging.next'. +

The next uri's path. Defaults to 'data.paging.next', +which means we will get the next uri path from 'fulfillment.data.paging.next'. The correct next uri path depends on respective api's response.

- + @@ -352,9 +381,12 @@

Example:

-
api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks().then(response => {
-     api.albumFetcher.fetchNextPage(response))
-})
+
api.albumFetcher
+  .setAlbumID('KmRKnW5qmUrTnGRuxF')
+  .fetchTracks()
+  .then(response => {
+    api.albumFetcher.fetchNextPage(response));
+  });
@@ -371,11 +403,11 @@

- hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean + hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean - source + source

@@ -396,18 +428,18 @@

Params:

- - + + - - + + - @@ -421,7 +453,7 @@

Return:

PromisePromise
fulfillmentfulfillmentfulfillmentfulfillment

The fulfillment get from Promose's onFulfillment function

nextUriPathStringnextUriPathString

The next uri's path. Defaults to 'data.paging.next', -which means we will get the next uri path from 'fulfillment.data.paging.next'. +

The next uri's path. Defaults to 'data.paging.next', +which means we will get the next uri path from 'fulfillment.data.paging.next'. The correct next uri path depends on respective api's response.

- + @@ -443,11 +475,14 @@

Example:

-
api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks().then(response => {
-     if (api.albumFetcher.hasNextPage(response)) {
-         // more data available
-     }
-})
+
api.albumFetcher
+  .setAlbumID('KmRKnW5qmUrTnGRuxF')
+  .fetchTracks()
+  .then(response => {
+    if (api.albumFetcher.hasNextPage(response)) {
+      // more data available
+    }
+  });
@@ -455,12 +490,86 @@

Example:

+ +
+

+ public + + + + + + setTerritory(territory: string): Fetcher + + + + source + +

+ + + + +

Set the fetcher's territory.

+
+ + + +
+

Params:

+
BooleanBoolean
+ + + + + + + + + + + + +
NameTypeAttributeDescription
territorystring
  • optional
  • +
  • default: 'TW'

['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.

+
+

+ + +
+

Return:

+ + + + + + + +
Fetcher
+
+
+
+ + + + + + + + + + + + + + + diff --git a/docs/class/src/api/GenreStationFetcher.js~GenreStationFetcher.html b/docs/class/src/api/GenreStationFetcher.js~GenreStationFetcher.html index 6534fef..b1261dd 100644 --- a/docs/class/src/api/GenreStationFetcher.js~GenreStationFetcher.html +++ b/docs/class/src/api/GenreStationFetcher.js~GenreStationFetcher.html @@ -3,14 +3,12 @@ - GenreStationFetcher | API Document + GenreStationFetcher | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+
- +
import GenreStationFetcher from '@kkbox/kkbox-js-sdk/src/api/GenreStationFetcher.js'
public class @@ -85,7 +82,7 @@

GenreStationFetcher

-

See:

+

See:

@@ -115,7 +112,8 @@

GenreStationFetcher

- fetchAllGenreStations(limit: number, offset: number): Promise + + fetchAllGenreStations(limit: number, offset: number): Promise

@@ -143,7 +141,8 @@

GenreStationFetcher

- fetchMetadata(): Promise + + fetchMetadata(): Promise

@@ -171,7 +170,8 @@

GenreStationFetcher

- setGenreStationID(genre_station_id: string): GenreStation + + setGenreStationID(genreStationID: string): GenreStation

@@ -207,7 +207,8 @@

GenreStationFetcher

- fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise + + fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise

@@ -235,7 +236,8 @@

GenreStationFetcher

- hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean + + hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean

@@ -248,6 +250,35 @@

GenreStationFetcher

+ + + + + public + + + + + + +
+

+ + + + setTerritory(territory: string): Fetcher +

+
+
+ + +

Set the fetcher's territory.

+
+
+ + + + @@ -268,7 +299,7 @@

- fetchAllGenreStations(limit: number, offset: number): Promise + fetchAllGenreStations(limit: number, offset: number): Promise @@ -293,15 +324,15 @@

Params:

- limit - number + limit + number
  • optional

The size for one page.

- offset - number + offset + number
  • optional

The offset index for first element.

@@ -316,7 +347,7 @@

Return:

- + @@ -338,13 +369,13 @@

Example:

-
api.GenreStation.fetchAllGenreStations()
+
api.genreStationFetcher.fetchAllGenreStations();
-

See:

+

See:

@@ -355,7 +386,7 @@

- fetchMetadata(): Promise + fetchMetadata(): Promise @@ -379,7 +410,7 @@

Return:

PromisePromise
- + @@ -401,13 +432,13 @@

Example:

-
api.GenreStation.setGenreStationID('TYq3EHFTl-1EOvJM5Y').fetchMetadata()
+
api.genreStationFetcher.setGenreStationID('TYq3EHFTl-1EOvJM5Y').fetchMetadata();
-

See:

+

See:

@@ -418,7 +449,7 @@

- setGenreStationID(genre_station_id: string): GenreStation + setGenreStationID(genreStationID: string): GenreStation @@ -443,8 +474,8 @@

Params:

- - + + @@ -459,7 +490,7 @@

Return:

PromisePromise
genre_station_idstringgenreStationIDstring

The ID of a genre station.

- + @@ -480,14 +511,14 @@

Return:

-

See:

+

See:

diff --git a/docs/class/src/api/HttpClient.js~HttpClient.html b/docs/class/src/api/HttpClient.js~HttpClient.html index 7716721..0f030ba 100644 --- a/docs/class/src/api/HttpClient.js~HttpClient.html +++ b/docs/class/src/api/HttpClient.js~HttpClient.html @@ -3,14 +3,12 @@ - HttpClient | API Document + HttpClient | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+
- + public class @@ -113,7 +110,43 @@

HttpClient

- constructor(token: string) + + constructor(token: string) +

+
+
+ + + +
+ +
+ + +
GenreStationGenreStation
+ + +
+

+

Member Summary

+ + + + + +
Private Members
+ private + + + + + +
+

+ + + + token: string

@@ -130,7 +163,6 @@

HttpClient

-

Method Summary

@@ -148,7 +180,8 @@

HttpClient

- get(endpoint: string, params: object): Promise + + get(endpoint: string, params: object): Promise

@@ -176,7 +209,8 @@

HttpClient

- post(endpoint: string, data: object): Promise + + post(endpoint: string, data: object): Promise

@@ -209,7 +243,7 @@

- constructor(token: string) + constructor(token: string) @@ -233,8 +267,8 @@

Params:

- - + + @@ -262,7 +296,52 @@

Params:

+

Private Members

+ +
+

+ private + + + + + + token: string + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+

Public Methods

@@ -273,7 +352,7 @@

- get(endpoint: string, params: object): Promise + get(endpoint: string, params: object): Promise @@ -298,15 +377,15 @@

Params:

- - + + - - + + @@ -321,7 +400,7 @@

Return:

Public Methods
tokenstringtokenstring

Need access token to initialize.

endpointstringendpointstring

Uri endpoint.

paramsobjectparamsobject

Uri parameters.

- + @@ -353,11 +432,11 @@

- post(endpoint: string, data: object): Promise + post(endpoint: string, data: object): Promise - source + source

@@ -378,15 +457,15 @@

Params:

- - + + - - + + @@ -401,7 +480,7 @@

Return:

PromisePromise
endpointstringendpointstring

Uri endpoint.

dataobjectdataobject

Body json data.

- + @@ -429,7 +508,7 @@

Return:

diff --git a/docs/class/src/api/MoodStationFetcher.js~MoodStationFetcher.html b/docs/class/src/api/MoodStationFetcher.js~MoodStationFetcher.html index 1d39eee..8713c96 100644 --- a/docs/class/src/api/MoodStationFetcher.js~MoodStationFetcher.html +++ b/docs/class/src/api/MoodStationFetcher.js~MoodStationFetcher.html @@ -3,14 +3,12 @@ - MoodStationFetcher | API Document + MoodStationFetcher | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+
- +
import MoodStationFetcher from '@kkbox/kkbox-js-sdk/src/api/MoodStationFetcher.js'
public class @@ -85,7 +82,7 @@

MoodStationFetcher

-

See:

+

See:

@@ -114,7 +111,8 @@

MoodStationFetcher

- territory: * + + territory: *

@@ -148,7 +146,8 @@

MoodStationFetcher

- fetchAllMoodStations(): Promise + + fetchAllMoodStations(): Promise

@@ -176,7 +175,8 @@

MoodStationFetcher

- fetchMetadata(): Promise + + fetchMetadata(): Promise

@@ -204,7 +204,8 @@

MoodStationFetcher

- setMoodStationID(mood_station_id: string, territory: string): MoodStation + + setMoodStationID(moodStationID: string, territory: string): MoodStation

@@ -240,7 +241,8 @@

MoodStationFetcher

- fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise + + fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise

@@ -268,7 +270,8 @@

MoodStationFetcher

- hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean + + hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean

@@ -281,6 +284,35 @@

MoodStationFetcher

+ + + + + @@ -300,11 +332,11 @@

- territory: * + territory: * - source + source

@@ -346,7 +378,7 @@

- fetchAllMoodStations(): Promise + fetchAllMoodStations(): Promise @@ -370,7 +402,7 @@

Return:

PromisePromise
+
+ public + + + + + +
+

+ + + + setTerritory(territory: string): Fetcher +

+
+
+ + +

Set the fetcher's territory.

+
+
+
+ +
- + @@ -392,13 +424,13 @@

Example:

-
api.moodStationFetcher.fetchAllMoodStations()
+
api.moodStationFetcher.fetchAllMoodStations();
-

See:

+

See:

@@ -409,11 +441,11 @@

- fetchMetadata(): Promise + fetchMetadata(): Promise - source + source

@@ -433,7 +465,7 @@

Return:

PromisePromise
- + @@ -455,13 +487,13 @@

Example:

-
api.moodStationFetcher.setMoodStationID('StGZp2ToWq92diPHS7').fetchMetadata()
+
api.moodStationFetcher.setMoodStationID('StGZp2ToWq92diPHS7').fetchMetadata();
- +

See:

@@ -472,11 +504,11 @@

- setMoodStationID(mood_station_id: string, territory: string): MoodStation + setMoodStationID(moodStationID: string, territory: string): MoodStation - source + source

@@ -497,15 +529,15 @@

Params:

- - + + - - + +
PromisePromise
mood_station_idstringmoodStationIDstring

The ID of a mood station.

territorystringterritorystring
  • optional
  • default: 'TW'

['TW', 'HK', 'SG', 'MY', 'JP'] The territory of a mood station.

@@ -521,7 +553,7 @@

Return:

- + @@ -542,14 +574,14 @@

Return:

- + diff --git a/docs/class/src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher.html b/docs/class/src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher.html index 9aec8c7..af4d9c5 100644 --- a/docs/class/src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher.html +++ b/docs/class/src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher.html @@ -3,14 +3,12 @@ - NewHitsPlaylistFetcher | API Document + NewHitsPlaylistFetcher | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+
- +
import NewHitsPlaylistFetcher from '@kkbox/kkbox-js-sdk/src/api/NewHitsPlaylistFetcher.js'
public class @@ -85,7 +82,7 @@

NewHitsPlaylistFetcher

- + @@ -115,7 +112,8 @@

NewHitsPlaylistFetcher

- fetchAllNewHitsPlaylists(limit: number, offset: number): Promise + + fetchAllNewHitsPlaylists(limit: number, offset: number): Promise

@@ -143,13 +141,14 @@

NewHitsPlaylistFetcher

- fetchMetadata(): Promise + + fetchMetadata(): Promise

-

Fetch metadata of the new release category you set.

+

Fetch metadata of the new hits playlist you set.

@@ -171,7 +170,37 @@

NewHitsPlaylistFetcher

- setPlaylistID(playlist_id: string): NewHitsPlaylistFetcher + + fetchTracks(limit: number, offset: number): Promise +

+
+
+ + +

Fetch tracks of the new hits playlist you set.

+
+
+ + + + + + + + + + + @@ -268,7 +328,7 @@

- fetchAllNewHitsPlaylists(limit: number, offset: number): Promise + fetchAllNewHitsPlaylists(limit: number, offset: number): Promise @@ -293,15 +353,15 @@

Params:

- - + + - - + + @@ -316,7 +376,7 @@

Return:

MoodStationMoodStation
+ + +
+ public + + + + + +
+

+ + + + setPlaylistID(playlistID: string): NewHitsPlaylistFetcher

@@ -207,7 +236,8 @@

NewHitsPlaylistFetcher

- fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise + + fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise

@@ -235,7 +265,8 @@

NewHitsPlaylistFetcher

- hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean + + hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean

@@ -248,6 +279,35 @@

NewHitsPlaylistFetcher

+
+ public + + + + + +
+

+ + + + setTerritory(territory: string): Fetcher +

+
+
+ + +

Set the fetcher's territory.

+
+
+
+ +
limitnumberlimitnumber
  • optional

The size of one page.

offsetnumberoffsetnumber
  • optional

The offset index for first element.

- + @@ -338,13 +398,13 @@

Example:

-
api.newHitsPlaylistFetcher.fetchAllNewHitsPlaylists()
+
api.newHitsPlaylistFetcher.fetchAllNewHitsPlaylists();
- +
@@ -355,7 +415,7 @@

- fetchMetadata(): Promise + fetchMetadata(): Promise @@ -366,7 +426,7 @@

-

Fetch metadata of the new release category you set.

+

Fetch metadata of the new hits playlist you set.

@@ -379,7 +439,94 @@

Return:

PromisePromise
- + + + + +
PromisePromise
+
+
+ + + + + + + + + + +
+

Example:

+ +
+ +
api.newHitsPlaylistFetcher.setPlaylistID('DZrC8m29ciOFY2JAm3').fetchMetadata();
+
+
+ + + + + + +
+

+ public + + + + + + fetchTracks(limit: number, offset: number): Promise + + + + source + +

+ + + + +

Fetch tracks of the new hits playlist you set. Result will be paged.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
limitnumber
  • optional

The size of one page.

+
offsetnumber
  • optional

The offset index for first element.

+
+
+
+ +
+

Return:

+ + + + @@ -401,13 +548,13 @@

Example:

-
api.newHitsPlaylistFetcher.setPlaylistID('DZrC8m29ciOFY2JAm3').fetchMetadata()
+
api.newHitsPlaylistFetcher.setPlaylistID('DZrC8m29ciOFY2JAm3').fetchTracks();
- +
@@ -418,7 +565,7 @@

- setPlaylistID(playlist_id: string): NewHitsPlaylistFetcher + setPlaylistID(playlistID: string): NewHitsPlaylistFetcher @@ -443,8 +590,8 @@

Params:

- - + + @@ -459,7 +606,7 @@

Return:

Promise
playlist_idstringplaylistIDstring

The playlist ID.

- + @@ -480,14 +627,14 @@

Return:

- + diff --git a/docs/class/src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher.html b/docs/class/src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher.html index 4dec4b0..c5c4044 100644 --- a/docs/class/src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher.html +++ b/docs/class/src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher.html @@ -3,14 +3,12 @@ - NewReleaseCategoryFetcher | API Document + NewReleaseCategoryFetcher | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+
- +
import NewReleaseCategoryFetcher from '@kkbox/kkbox-js-sdk/src/api/NewReleaseCategoryFetcher.js'
public class @@ -85,7 +82,7 @@

NewReleaseCategoryFetcher

- + @@ -115,7 +112,8 @@

NewReleaseCategoryFetcher

- fetchAlbums(limit: number, offset: number): Promise + + fetchAlbums(limit: number, offset: number): Promise

@@ -143,7 +141,8 @@

NewReleaseCategoryFetcher

- fetchAllNewReleaseCategories(limit: number, offset: number): Promise + + fetchAllNewReleaseCategories(limit: number, offset: number): Promise

@@ -171,7 +170,8 @@

NewReleaseCategoryFetcher

- fetchMetadata(): Promise + + fetchMetadata(): Promise

@@ -199,7 +199,8 @@

NewReleaseCategoryFetcher

- setCategoryID(category_id: string): NewReleaseCategoryFetcher + + setCategoryID(categoryID: string): NewReleaseCategoryFetcher

@@ -235,7 +236,8 @@

NewReleaseCategoryFetcher

- fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise + + fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise

@@ -263,7 +265,8 @@

NewReleaseCategoryFetcher

- hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean + + hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean

@@ -276,6 +279,35 @@

NewReleaseCategoryFetcher

+ + + + + @@ -296,11 +328,11 @@

- fetchAlbums(limit: number, offset: number): Promise + fetchAlbums(limit: number, offset: number): Promise - source + source

@@ -321,15 +353,15 @@

Params:

- - + + - - + + @@ -344,7 +376,7 @@

Return:

NewHitsPlaylistFetcherNewHitsPlaylistFetcher
+
+ public + + + + + +
+

+ + + + setTerritory(territory: string): Fetcher +

+
+
+ + +

Set the fetcher's territory.

+
+
+
+ +
limitnumberlimitnumber
  • optional

The size of one page.

offsetnumberoffsetnumber
  • optional

The offset index for first element.

- + @@ -366,13 +398,13 @@

Example:

-
api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchAlbums()
+
api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchAlbums();
- +
@@ -383,7 +415,7 @@

- fetchAllNewReleaseCategories(limit: number, offset: number): Promise + fetchAllNewReleaseCategories(limit: number, offset: number): Promise @@ -408,15 +440,15 @@

Params:

- - + + - - + + @@ -431,7 +463,7 @@

Return:

PromisePromise
limitnumberlimitnumber
  • optional

The size of one page.

offsetnumberoffsetnumber
  • optional

The offset index for first element.

- + @@ -453,13 +485,13 @@

Example:

-
api.newReleaseCategoryFetcher.fetchAllNewReleaseCategories()
+
api.newReleaseCategoryFetcher.fetchAllNewReleaseCategories();
- +
@@ -470,7 +502,7 @@

- fetchMetadata(): Promise + fetchMetadata(): Promise @@ -494,7 +526,7 @@

Return:

PromisePromise
- + @@ -516,13 +548,13 @@

Example:

-
api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchMetadata()
+
api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchMetadata();
- +
@@ -533,7 +565,7 @@

- setCategoryID(category_id: string): NewReleaseCategoryFetcher + setCategoryID(categoryID: string): NewReleaseCategoryFetcher @@ -558,8 +590,8 @@

Params:

- - + + @@ -574,7 +606,7 @@

Return:

PromisePromise
category_idstringcategoryIDstring

The category ID.

- + @@ -595,14 +627,14 @@

Return:

- + diff --git a/docs/class/src/api/SearchFetcher.js~SearchFetcher.html b/docs/class/src/api/SearchFetcher.js~SearchFetcher.html index 0a9b55b..7b1266c 100644 --- a/docs/class/src/api/SearchFetcher.js~SearchFetcher.html +++ b/docs/class/src/api/SearchFetcher.js~SearchFetcher.html @@ -3,14 +3,12 @@ - SearchFetcher | API Document + SearchFetcher | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+
- + public class @@ -85,7 +82,7 @@

SearchFetcher

- + @@ -115,7 +112,8 @@

SearchFetcher

- fetchSearchResult(limit: number, offset: number): Promise + + fetchSearchResult(limit: number, offset: number): Promise

@@ -143,7 +141,8 @@

SearchFetcher

- filter(conditions: Object): Search + + filter(conditions: Object): Search

@@ -171,7 +170,8 @@

SearchFetcher

- setSearchCriteria(q: string, type: string): Search + + setSearchCriteria(q: string, type: string): Search

@@ -207,7 +207,8 @@

SearchFetcher

- fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise + + fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise

@@ -235,7 +236,8 @@

SearchFetcher

- hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean + + hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean

@@ -248,6 +250,35 @@

SearchFetcher

+ + + + + @@ -268,11 +299,11 @@

- fetchSearchResult(limit: number, offset: number): Promise + fetchSearchResult(limit: number, offset: number): Promise - source + source

@@ -293,15 +324,15 @@

Params:

- - + + - - + + @@ -316,7 +347,7 @@

Return:

NewReleaseCategoryFetcherNewReleaseCategoryFetcher
+
+ public + + + + + +
+

+ + + + setTerritory(territory: string): Fetcher +

+
+
+ + +

Set the fetcher's territory.

+
+
+
+ +
limitnumberlimitnumber
  • optional

The size of one page.

offsetnumberoffsetnumber
  • optional

The offset index for first element.

- + @@ -338,13 +369,15 @@

Example:

-
api.searchFetcher.setSearchCriteria('五月天 好好').fetchSearchResult()
+
api.searchFetcher
+ .setSearchCriteria('五月天 好好')
+ .fetchSearchResult();
- +
@@ -355,11 +388,11 @@

- filter(conditions: Object): Search + filter(conditions: Object): Search - source + source

@@ -380,43 +413,43 @@

Params:

- - + + - - + + - - + + - - + + - - + + - - + + @@ -431,7 +464,7 @@

Return:

PromisePromise
conditionsObjectconditionsObject
  • optional

search conditions.

conditions.trackstringconditions.trackstring

track's name.

conditions.albumstringconditions.albumstring

album's name.

conditions.artiststringconditions.artiststring

artist's name.

conditions.playliststringconditions.playliststring

playlist's title.

conditions.available_territorystringconditions.availableTerritorystring

tracks and albums available territory.

- + @@ -453,7 +486,10 @@

Example:

-
api.searchFetcher.setSearchCriteria('五月天 好好').filter({artist: '五月天'}).fetchSearchResult()
+
api.searchFetcher
+ .setSearchCriteria('五月天 好好')
+ .filter({artist: '五月天'})
+ .fetchSearchResult();
@@ -470,11 +506,11 @@

- setSearchCriteria(q: string, type: string): Search + setSearchCriteria(q: string, type: string): Search - source + source

@@ -495,15 +531,15 @@

Params:

- - + + - - + + @@ -518,7 +554,7 @@

Return:

SearchSearch
qstringqstring

The keyword to be searched.

typestringtypestring
  • optional

['artist', 'album', 'track', 'playlist'] The type of search. Default to search all types. If you want to use multiple type at the same time, you may use ',' to separate them.

- + @@ -539,14 +575,14 @@

Return:

- + diff --git a/docs/class/src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher.html b/docs/class/src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher.html index 48e0b97..9ddd61f 100644 --- a/docs/class/src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher.html +++ b/docs/class/src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher.html @@ -3,14 +3,12 @@ - SharedPlaylistFetcher | API Document + SharedPlaylistFetcher | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+
- +
import SharedPlaylistFetcher from '@kkbox/kkbox-js-sdk/src/api/SharedPlaylistFetcher.js'
public class @@ -85,7 +82,7 @@

SharedPlaylistFetcher

- + @@ -115,7 +112,8 @@

SharedPlaylistFetcher

- fetchMetadata(): Promise + + fetchMetadata(): Promise

@@ -143,7 +141,8 @@

SharedPlaylistFetcher

- fetchTracks(limit: number, offset: number): Promise + + fetchTracks(limit: number, offset: number): Promise

@@ -171,7 +170,8 @@

SharedPlaylistFetcher

- getWidgetUri(): string + + getWidgetUri(): string

@@ -199,7 +199,8 @@

SharedPlaylistFetcher

- setPlaylistID(playlist_id: string): SharedPlaylistFetcher + + setPlaylistID(playlistID: string): SharedPlaylistFetcher

@@ -235,7 +236,8 @@

SharedPlaylistFetcher

- fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise + + fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise

@@ -263,7 +265,8 @@

SharedPlaylistFetcher

- hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean + + hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean

@@ -276,6 +279,35 @@

SharedPlaylistFetcher

+ + + + + @@ -296,11 +328,11 @@

- fetchMetadata(): Promise + fetchMetadata(): Promise - source + source

@@ -320,7 +352,7 @@

Return:

SearchSearch
+
+ public + + + + + +
+

+ + + + setTerritory(territory: string): Fetcher +

+
+
+ + +

Set the fetcher's territory.

+
+
+
+ +
- + @@ -342,13 +374,15 @@

Example:

-
api.SharedPlaylistFetcher.setPlaylistID('4nUZM-TY2aVxZ2xaA-').fetchMetadata()
+
 api.sharedPlaylistFetcher
+   .setPlaylistID('4nUZM-TY2aVxZ2xaA-')
+   .fetchMetadata();
- +
@@ -359,11 +393,11 @@

- fetchTracks(limit: number, offset: number): Promise + fetchTracks(limit: number, offset: number): Promise - source + source

@@ -384,15 +418,15 @@

Params:

- - + + - - + + @@ -407,7 +441,7 @@

Return:

PromisePromise
limitnumberlimitnumber
  • optional

The size for one page.

offsetnumberoffsetnumber
  • optional

The offset index for first element.

- + @@ -429,13 +463,15 @@

Example:

-
api.SharedPlaylistFetcher.setPlaylistID('4nUZM-TY2aVxZ2xaA-').fetchTracks()
+
 api.sharedPlaylistFetcher
+   .setPlaylistID('4nUZM-TY2aVxZ2xaA-')
+   .fetchTracks();
- +
@@ -446,11 +482,11 @@

- getWidgetUri(): string + getWidgetUri(): string - source + source

@@ -470,7 +506,7 @@

Return:

PromisePromise
- + @@ -509,7 +545,7 @@

- setPlaylistID(playlist_id: string): SharedPlaylistFetcher + setPlaylistID(playlistID: string): SharedPlaylistFetcher @@ -534,8 +570,8 @@

Params:

- - + + @@ -550,7 +586,7 @@

Return:

stringstring
playlist_idstringplaylistIDstring

The ID of a playlist.

- + @@ -571,14 +607,14 @@

Return:

- + diff --git a/docs/class/src/api/TrackFetcher.js~TrackFetcher.html b/docs/class/src/api/TrackFetcher.js~TrackFetcher.html index a9723cf..a06447f 100644 --- a/docs/class/src/api/TrackFetcher.js~TrackFetcher.html +++ b/docs/class/src/api/TrackFetcher.js~TrackFetcher.html @@ -3,14 +3,12 @@ - TrackFetcher | API Document + TrackFetcher | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+
@@ -143,7 +141,8 @@

TrackFetcher

- getWidgetUri(): string + + getWidgetUri(): string

@@ -171,7 +170,8 @@

TrackFetcher

- setTrackID(track_id: string): Track + + setTrackID(trackID: string): Track

@@ -207,7 +207,8 @@

TrackFetcher

- fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise + + fetchNextPage(fulfillment: fulfillment, nextUriPath: String): Promise

@@ -235,7 +236,8 @@

TrackFetcher

- hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean + + hasNextPage(fulfillment: fulfillment, nextUriPath: String): Boolean

@@ -248,6 +250,35 @@

TrackFetcher

+ + + + + @@ -268,7 +299,7 @@

- fetchMetadata(): Promise + fetchMetadata(): Promise @@ -292,7 +323,7 @@

Return:

SharedPlaylistFetcherSharedPlaylistFetcher
+
+ public + + + + + +
+

+ + + + setTerritory(territory: string): Fetcher +

+
+
+ + +

Set the fetcher's territory.

+
+
+
+ +
- + @@ -314,13 +345,13 @@

Example:

-
api.Track.setTrackID('KpnEGVHEsGgkoB0MBk').fetchMetadata()
+
api.trackFetcher.setTrackID('KpnEGVHEsGgkoB0MBk').fetchMetadata();
- +
@@ -331,11 +362,11 @@

- getWidgetUri(): string + getWidgetUri(): string - source + source

@@ -355,7 +386,7 @@

Return:

PromisePromise
- + @@ -394,7 +425,7 @@

- setTrackID(track_id: string): Track + setTrackID(trackID: string): Track @@ -419,8 +450,8 @@

Params:

- - + + @@ -435,7 +466,7 @@

Return:

stringstring
track_idstringtrackIDstring

The ID of a track.

- + @@ -456,14 +487,14 @@

Return:

- + diff --git a/docs/class/src/auth/Auth.js~Auth.html b/docs/class/src/auth/Auth.js~Auth.html index 6bc2eb3..6e5210b 100644 --- a/docs/class/src/auth/Auth.js~Auth.html +++ b/docs/class/src/auth/Auth.js~Auth.html @@ -3,14 +3,12 @@ - Auth | API Document + Auth | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+
- + public class @@ -113,7 +110,8 @@

Auth

- constructor(client_id: string, client_secret: string) + + constructor(clientID: string, clientSecret: string)

@@ -175,7 +174,8 @@

Auth

- tokenFetcher: TokenFetcher + + tokenFetcher: TokenFetcher

@@ -208,7 +208,7 @@

- constructor(client_id: string, client_secret: string) + constructor(clientID: string, clientSecret: string) @@ -233,14 +233,14 @@

Params:

- - + + - - + + @@ -264,7 +264,7 @@

Example:

-
new Auth(client_id, client_secret)
+
new Auth(clientID, clientSecret);
@@ -284,7 +284,7 @@

- clientCredentialsFlow: ClientCredentialsFlow + clientCredentialsFlow: ClientCredentialsFlow @@ -327,7 +327,7 @@

- tokenFetcher: TokenFetcher + tokenFetcher: TokenFetcher @@ -367,7 +367,7 @@

diff --git a/docs/class/src/auth/ClientCredentialsFlow.js~ClientCredentialsFlow.html b/docs/class/src/auth/ClientCredentialsFlow.js~ClientCredentialsFlow.html index 41794b0..2972e0f 100644 --- a/docs/class/src/auth/ClientCredentialsFlow.js~ClientCredentialsFlow.html +++ b/docs/class/src/auth/ClientCredentialsFlow.js~ClientCredentialsFlow.html @@ -3,14 +3,12 @@ - ClientCredentialsFlow | API Document + ClientCredentialsFlow | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+
- +
import ClientCredentialsFlow from '@kkbox/kkbox-js-sdk/src/auth/ClientCredentialsFlow.js'
public class @@ -86,7 +83,7 @@

ClientCredentialsFlow

- + @@ -116,7 +113,8 @@

ClientCredentialsFlow

- fetchAccessToken(): Promise + + fetchAccessToken(): Promise

@@ -151,7 +149,7 @@

- fetchAccessToken(): Promise + fetchAccessToken(): Promise @@ -175,7 +173,7 @@

Return:

TrackTrack
client_idstringclientIDstring
client_secretstringclientSecretstring
- + @@ -197,7 +195,7 @@

Example:

-
auth.clientCredentialsFlow.fetchAccessToken()
+
auth.clientCredentialsFlow.fetchAccessToken();
@@ -210,7 +208,7 @@

Example:

diff --git a/docs/class/src/auth/TokenFetcher.js~TokenFetcher.html b/docs/class/src/auth/TokenFetcher.js~TokenFetcher.html index 743ef82..4adc10a 100644 --- a/docs/class/src/auth/TokenFetcher.js~TokenFetcher.html +++ b/docs/class/src/auth/TokenFetcher.js~TokenFetcher.html @@ -3,14 +3,12 @@ - TokenFetcher | API Document + TokenFetcher | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+
- + public class @@ -115,7 +112,8 @@

TokenFetcher

- fetchAccessToken(params: object): Promise + + fetchAccessToken(params: object): Promise

@@ -150,7 +148,7 @@

- fetchAccessToken(params: object): Promise + fetchAccessToken(params: object): Promise @@ -175,8 +173,8 @@

Params:

- - + + @@ -191,7 +189,7 @@

Return:

PromisePromise
paramsobjectparamsobject

Form data.

- + @@ -219,7 +217,7 @@

Return:

diff --git a/docs/coverage.json b/docs/coverage.json index 9a55721..70a3e89 100644 --- a/docs/coverage.json +++ b/docs/coverage.json @@ -1,102 +1,141 @@ { - "coverage": "96.34%", - "expectCount": 82, - "actualCount": 79, + "coverage": "91.04%", + "expectCount": 134, + "actualCount": 122, "files": { + "src/Endpoint.js": { + "expectCount": 2, + "actualCount": 0, + "undocumentLines": [ + 1, + 2 + ] + }, "src/api/AlbumFetcher.js": { - "expectCount": 5, - "actualCount": 5, + "expectCount": 7, + "actualCount": 7, "undocumentLines": [] }, "src/api/Api.js": { - "expectCount": 16, - "actualCount": 14, + "expectCount": 17, + "actualCount": 15, "undocumentLines": [ 28, - 27 + 29 ] }, "src/api/ArtistFetcher.js": { - "expectCount": 5, - "actualCount": 5, - "undocumentLines": [] - }, - "src/auth/Auth.js": { - "expectCount": 4, - "actualCount": 4, + "expectCount": 8, + "actualCount": 8, "undocumentLines": [] }, "src/api/ChartFetcher.js": { - "expectCount": 2, - "actualCount": 2, - "undocumentLines": [] - }, - "src/auth/ClientCredentialsFlow.js": { - "expectCount": 2, - "actualCount": 2, + "expectCount": 7, + "actualCount": 7, "undocumentLines": [] }, "src/api/FeaturedPlaylistCategoryFetcher.js": { - "expectCount": 5, - "actualCount": 5, + "expectCount": 7, + "actualCount": 7, "undocumentLines": [] }, "src/api/FeaturedPlaylistFetcher.js": { - "expectCount": 2, - "actualCount": 2, + "expectCount": 3, + "actualCount": 3, "undocumentLines": [] }, "src/api/Fetcher.js": { - "expectCount": 4, - "actualCount": 4, + "expectCount": 8, + "actualCount": 8, "undocumentLines": [] }, "src/api/GenreStationFetcher.js": { - "expectCount": 4, - "actualCount": 4, + "expectCount": 6, + "actualCount": 6, "undocumentLines": [] }, "src/api/HttpClient.js": { - "expectCount": 4, - "actualCount": 4, + "expectCount": 5, + "actualCount": 5, "undocumentLines": [] }, "src/api/MoodStationFetcher.js": { - "expectCount": 5, - "actualCount": 4, + "expectCount": 7, + "actualCount": 6, "undocumentLines": [ - 42 + 44 ] }, "src/api/NewHitsPlaylistFetcher.js": { - "expectCount": 4, - "actualCount": 4, + "expectCount": 7, + "actualCount": 7, "undocumentLines": [] }, "src/api/NewReleaseCategoryFetcher.js": { - "expectCount": 5, - "actualCount": 5, + "expectCount": 7, + "actualCount": 7, "undocumentLines": [] }, "src/api/SearchFetcher.js": { + "expectCount": 9, + "actualCount": 8, + "undocumentLines": [ + 91 + ] + }, + "src/api/SharedPlaylistFetcher.js": { + "expectCount": 7, + "actualCount": 7, + "undocumentLines": [] + }, + "src/api/TrackFetcher.js": { + "expectCount": 6, + "actualCount": 6, + "undocumentLines": [] + }, + "src/auth/Auth.js": { "expectCount": 4, "actualCount": 4, "undocumentLines": [] }, - "src/api/SharedPlaylistFetcher.js": { + "src/auth/ClientCredentialsFlow.js": { + "expectCount": 4, + "actualCount": 4, + "undocumentLines": [] + }, + "src/auth/TokenFetcher.js": { "expectCount": 5, "actualCount": 5, "undocumentLines": [] }, - "src/auth/TokenFetcher.js": { + "src/catchError.js": { "expectCount": 2, "actualCount": 2, "undocumentLines": [] }, - "src/api/TrackFetcher.js": { - "expectCount": 4, - "actualCount": 4, - "undocumentLines": [] + "src/test/apitest.js": { + "expectCount": 2, + "actualCount": 0, + "undocumentLines": [ + 18, + 19 + ] + }, + "src/test/authtest.js": { + "expectCount": 2, + "actualCount": 0, + "undocumentLines": [ + 6, + 7 + ] + }, + "src/test/sdktest.js": { + "expectCount": 2, + "actualCount": 0, + "undocumentLines": [ + 5, + 6 + ] } } } \ No newline at end of file diff --git a/docs/css/github.css b/docs/css/github.css new file mode 100644 index 0000000..db9ca23 --- /dev/null +++ b/docs/css/github.css @@ -0,0 +1,83 @@ +/* github markdown */ +.github-markdown { + font-size: 16px; +} + +.github-markdown h1, +.github-markdown h2, +.github-markdown h3, +.github-markdown h4, +.github-markdown h5 { + margin-top: 1em; + margin-bottom: 16px; + font-weight: bold; + padding: 0; +} + +.github-markdown h1:nth-of-type(1) { + margin-top: 0; +} + +.github-markdown h1 { + font-size: 2em; + padding-bottom: 0.3em; +} + +.github-markdown h2 { + font-size: 1.75em; + padding-bottom: 0.3em; +} + +.github-markdown h3 { + font-size: 1.5em; +} + +.github-markdown h4 { + font-size: 1.25em; +} + +.github-markdown h5 { + font-size: 1em; +} + +.github-markdown ul, .github-markdown ol { + padding-left: 2em; +} + +.github-markdown pre > code { + font-size: 0.85em; +} + +.github-markdown table { + margin-bottom: 1em; + border-collapse: collapse; + border-spacing: 0; +} + +.github-markdown table tr { + background-color: #fff; + border-top: 1px solid #ccc; +} + +.github-markdown table th, +.github-markdown table td { + padding: 6px 13px; + border: 1px solid #ddd; +} + +.github-markdown table tr:nth-child(2n) { + background-color: #f8f8f8; +} + +.github-markdown hr { + border-right: 0; + border-bottom: 1px solid #e5e5e5; + border-left: 0; + border-top: 0; +} + +/** badge(.svg) does not have border */ +.github-markdown img:not([src*=".svg"]) { + max-width: 100%; + box-shadow: 1px 1px 1px rgba(0,0,0,0.5); +} diff --git a/docs/css/identifiers.css b/docs/css/identifiers.css new file mode 100644 index 0000000..52c8461 --- /dev/null +++ b/docs/css/identifiers.css @@ -0,0 +1,37 @@ +.identifiers-wrap { + display: flex; + align-items: flex-start; +} + +.identifier-dir-tree { + background: #fff; + border: solid 1px #ddd; + border-radius: 0.25em; + top: 52px; + position: -webkit-sticky; + position: sticky; + max-height: calc(100vh - 155px); + overflow-y: scroll; + min-width: 200px; + margin-left: 1em; +} + +.identifier-dir-tree-header { + padding: 0.5em; + background-color: #fafafa; + border-bottom: solid 1px #ddd; +} + +.identifier-dir-tree-content { + padding: 0 0.5em 0; +} + +.identifier-dir-tree-content > div { + padding-top: 0.25em; + padding-bottom: 0.25em; +} + +.identifier-dir-tree-content a { + color: inherit; +} + diff --git a/docs/css/manual.css b/docs/css/manual.css new file mode 100644 index 0000000..138a07f --- /dev/null +++ b/docs/css/manual.css @@ -0,0 +1,134 @@ +.github-markdown .manual-toc { + padding-left: 0; +} + +.manual-index .manual-cards { + display: flex; + flex-wrap: wrap; +} + +.manual-index .manual-card-wrap { + width: 280px; + padding: 10px 20px 10px 0; + box-sizing: border-box; +} + +.manual-index .manual-card-wrap > h1 { + margin: 0; + font-size: 1em; + font-weight: 600; + padding: 0.2em 0 0.2em 0.5em; + border-radius: 0.1em 0.1em 0 0; + border: none; +} + +.manual-index .manual-card-wrap > h1 span { + color: #555; +} + +.manual-index .manual-card { + height: 200px; + overflow: hidden; + border: solid 1px rgba(230, 230, 230, 0.84); + border-radius: 0 0 0.1em 0.1em; + padding: 8px; + position: relative; +} + +.manual-index .manual-card > div { + transform: scale(0.4); + transform-origin: 0 0; + width: 250%; +} + +.manual-index .manual-card > a { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(210, 210, 210, 0.1); +} + +.manual-index .manual-card > a:hover { + background: none; +} + +.manual-index .manual-badge { + margin: 0; +} + +.manual-index .manual-user-index { + margin-bottom: 1em; + border-bottom: solid 1px #ddd; +} + +.manual-root .navigation { + padding-left: 4px; + margin-top: 4px; +} + +.navigation .manual-toc-root > div { + padding-left: 0.25em; + padding-right: 0.75em; +} + +.github-markdown .manual-toc-title a { + color: inherit; +} + +.manual-breadcrumb-list { + font-size: 0.8em; + margin-bottom: 1em; +} + +.manual-toc-title a:hover { + color: #039BE5; +} + +.manual-toc li { + margin: 0.75em 0; + list-style-type: none; +} + +.navigation .manual-toc [class^="indent-h"] a { + color: #666; +} + +.navigation .manual-toc .indent-h1 a { + color: #555; + font-weight: 600; + display: block; +} + +.manual-toc .indent-h1 { + display: block; + margin: 0.4em 0 0 0.25em; + padding: 0.2em 0 0.2em 0.5em; + border-radius: 0.1em; +} + +.manual-root .navigation .manual-toc li:not(.indent-h1) { + margin-top: 0.5em; +} + +.manual-toc .indent-h2 { + display: none; + margin-left: 1.5em; +} +.manual-toc .indent-h3 { + display: none; + margin-left: 2.5em; +} +.manual-toc .indent-h4 { + display: none; + margin-left: 3.5em; +} +.manual-toc .indent-h5 { + display: none; + margin-left: 4.5em; +} + +.manual-nav li { + margin: 0.75em 0; +} diff --git a/docs/css/search.css b/docs/css/search.css new file mode 100644 index 0000000..9940a54 --- /dev/null +++ b/docs/css/search.css @@ -0,0 +1,84 @@ +/* search box */ +.search-box { + position: absolute; + top: 10px; + right: 50px; + padding-right: 8px; + padding-bottom: 10px; + line-height: normal; + font-size: 12px; +} + +.search-box img { + width: 20px; + vertical-align: top; +} + +.search-input { + display: inline; + visibility: hidden; + width: 0; + padding: 2px; + height: 1.5em; + outline: none; + background: transparent; + border: 1px #0af; + border-style: none none solid none; + vertical-align: bottom; +} + +.search-input-edge { + display: none; + width: 1px; + height: 5px; + background-color: #0af; + vertical-align: bottom; +} + +.search-result { + position: absolute; + display: none; + height: 600px; + width: 100%; + padding: 0; + margin-top: 5px; + margin-left: 24px; + background: white; + box-shadow: 1px 1px 4px rgb(0,0,0); + white-space: nowrap; + overflow-y: scroll; +} + +.search-result-import-path { + color: #aaa; + font-size: 12px; +} + +.search-result li { + list-style: none; + padding: 2px 4px; +} + +.search-result li a { + display: block; +} + +.search-result li.selected { + background: #ddd; +} + +.search-result li.search-separator { + background: rgb(37, 138, 175); + color: white; +} + +.search-box.active .search-input { + visibility: visible; + transition: width 0.2s ease-out; + width: 300px; +} + +.search-box.active .search-input-edge { + display: inline-block; +} + diff --git a/docs/css/source.css b/docs/css/source.css new file mode 100644 index 0000000..3b9c92d --- /dev/null +++ b/docs/css/source.css @@ -0,0 +1,55 @@ +table.files-summary { + width: 100%; + margin: 10px 0; + border-spacing: 0; + border: 0; + border-collapse: collapse; + text-align: right; +} + +table.files-summary tbody tr:hover { + background: #eee; +} + +table.files-summary td:first-child, +table.files-summary td:nth-of-type(2) { + text-align: left; +} + +table.files-summary[data-use-coverage="false"] td.coverage { + display: none; +} + +table.files-summary thead { + background: #fafafa; +} + +table.files-summary td { + border: solid 1px #ddd; + padding: 4px 10px; + vertical-align: top; +} + +table.files-summary td.identifiers > span { + display: block; + margin-top: 4px; +} +table.files-summary td.identifiers > span:first-child { + margin-top: 0; +} + +table.files-summary .coverage-count { + font-size: 12px; + color: #aaa; + display: inline-block; + min-width: 40px; +} + +.total-coverage-count { + position: relative; + bottom: 2px; + font-size: 12px; + color: #666; + font-weight: 500; + padding-left: 5px; +} diff --git a/docs/css/style.css b/docs/css/style.css index 5ad3785..fe3b2d9 100644 --- a/docs/css/style.css +++ b/docs/css/style.css @@ -1,5 +1,11 @@ @import url(https://fonts.googleapis.com/css?family=Roboto:400,300,700); @import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,600,700); +@import url(./manual.css); +@import url(./source.css); +@import url(./test.css); +@import url(./identifiers.css); +@import url(./github.css); +@import url(./search.css); * { margin: 0; @@ -60,11 +66,14 @@ h3 { position: relative; font-size: 16px; margin-bottom: 12px; - background-color: #E2E2E2; padding: 4px; font-weight: 300; } +details { + cursor: pointer; +} + del { text-decoration: line-through; } @@ -74,6 +83,10 @@ p { line-height: 1.5; } +code { + font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; +} + pre > code { display: block; } @@ -98,6 +111,11 @@ li > code { border-radius: 3px; } +.code { + font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; + font-size: 13px; +} + .import-path pre.prettyprint, .import-path pre.prettyprint code { margin: 0; @@ -114,6 +132,7 @@ li > code { } .layout-container > header { + display: flex; height: 40px; line-height: 40px; font-size: 16px; @@ -172,10 +191,10 @@ li > code { } .navigation .nav-dir-path { + display: block; margin-top: 0.7em; margin-bottom: 0.25em; - font-size: 0.8em; - color: #aaa; + font-weight: 600; } .kind-class, @@ -192,6 +211,7 @@ li > code { border-radius: 0.2em; margin-right: 0.2em; font-weight: bold; + line-height: 1.2em; } .kind-class { @@ -224,6 +244,10 @@ li > code { background-color: #bbcbea; } +.summary span[class^="kind-"] { + margin-left: 0; +} + h1 .version, h1 .url a { font-size: 14px; @@ -298,8 +322,7 @@ table.summary { } table.summary thead { - background: #999; - color: white; + background: #fafafa; } table.summary td { @@ -390,6 +413,7 @@ table.params td p { .content .detail > h3 { color: black; + background-color: #f0f0f0; } .content .detail > div { @@ -518,13 +542,34 @@ footer img { } pre.source-code { - background: #f5f5f5; padding: 4px; } pre.raw-source-code > code { padding: 0; margin: 0; + font-size: 12px; + background: #fff; + border: solid 1px #ddd; + line-height: 1.5; +} + +pre.raw-source-code > code > ol { + counter-reset:number; + list-style:none; + margin:0; + padding:0; + overflow: hidden; +} + +pre.raw-source-code > code > ol li:before { + counter-increment: number; + content: counter(number); + display: inline-block; + min-width: 3em; + color: #aaa; + text-align: right; + padding-right: 1em; } pre.source-code.line-number { @@ -544,481 +589,20 @@ pre.source-code li { } pre.source-code.line-number li.active { - background: rgb(255, 255, 150); + background: rgb(255, 255, 150) !important; } pre.source-code.line-number li.error-line { background: #ffb8bf; } -table.files-summary { - width: 100%; - margin: 10px 0; - border-spacing: 0; - border: 0; - border-collapse: collapse; - text-align: right; -} - -table.files-summary tbody tr:hover { - background: #eee; -} - -table.files-summary td:first-child, -table.files-summary td:nth-of-type(2) { - text-align: left; -} - -table.files-summary[data-use-coverage="false"] td.coverage { - display: none; -} - -table.files-summary thead { - background: #999; - color: white; -} - -table.files-summary td { - border: solid 1px #ddd; - padding: 4px 10px; - vertical-align: top; -} - -table.files-summary td.identifiers > span { - display: block; - margin-top: 4px; -} -table.files-summary td.identifiers > span:first-child { - margin-top: 0; -} - -table.files-summary .coverage-count { - font-size: 12px; - color: #aaa; - display: inline-block; - min-width: 40px; -} - -.total-coverage-count { - position: relative; - bottom: 2px; - font-size: 12px; - color: #666; - font-weight: 500; - padding-left: 5px; -} - -table.test-summary thead { - background: #999; - color: white; -} - -table.test-summary thead .test-description { - width: 50%; -} - -table.test-summary { - width: 100%; - margin: 10px 0; - border-spacing: 0; - border: 0; - border-collapse: collapse; -} - -table.test-summary thead .test-count { - width: 3em; -} - -table.test-summary tbody tr:hover { - background-color: #eee; -} - -table.test-summary td { - border: solid 1px #ddd; - padding: 4px 10px; - vertical-align: top; -} - -table.test-summary td p { - margin: 0; -} - -table.test-summary tr.test-describe .toggle { - display: inline-block; - float: left; - margin-right: 4px; - cursor: pointer; - font-size: 0.8em; - padding-top: 0.25em; -} - -table.test-summary tr.test-describe .toggle.opened:before { - content: '▼'; -} - -table.test-summary tr.test-describe .toggle.closed:before { - content: '▶'; -} - -table.test-summary .test-target > span { - display: block; - margin-top: 4px; -} -table.test-summary .test-target > span:first-child { - margin-top: 0; -} - .inner-link-active { - background: rgb(255, 255, 150); -} - -/* search box */ -.search-box { - position: absolute; - top: 10px; - right: 50px; - padding-right: 8px; - padding-bottom: 10px; - line-height: normal; - font-size: 12px; -} - -.search-box img { - width: 20px; - vertical-align: top; -} - -.search-input { - display: inline; - visibility: hidden; - width: 0; - padding: 2px; - height: 1.5em; - outline: none; - background: transparent; - border: 1px #0af; - border-style: none none solid none; - vertical-align: bottom; -} - -.search-input-edge { - display: none; - width: 1px; - height: 5px; - background-color: #0af; - vertical-align: bottom; -} - -.search-result { - position: absolute; - display: none; - height: 600px; - width: 100%; - padding: 0; - margin-top: 5px; - margin-left: 24px; - background: white; - box-shadow: 1px 1px 4px rgb(0,0,0); - white-space: nowrap; - overflow-y: scroll; -} - -.search-result-import-path { - color: #aaa; - font-size: 12px; -} - -.search-result li { - list-style: none; - padding: 2px 4px; -} - -.search-result li a { - display: block; -} - -.search-result li.selected { - background: #ddd; -} - -.search-result li.search-separator { - background: rgb(37, 138, 175); - color: white; -} - -.search-box.active .search-input { - visibility: visible; - transition: width 0.2s ease-out; - width: 300px; -} - -.search-box.active .search-input-edge { - display: inline-block; -} - -.github-markdown .manual-toc { - padding-left: 0; -} - -/** manual */ - -.manual-index .manual-cards { - display: flex; - flex-wrap: wrap; -} - -.manual-index .manual-card-wrap { - width: 280px; - padding: 10px 20px 10px 0; - box-sizing: border-box; -} - -.manual-index .manual-card-wrap > h1 { - margin: 0; - font-size: 1em; - font-weight: 600; - padding: 0.2em 0 0.2em 0.5em; - border-radius: 0.1em 0.1em 0 0; - border: none; -} - -.manual-index .manual-card-wrap > h1 span { - color: #555; -} - -.manual-index .manual-card { - height: 200px; - overflow: hidden; - border: solid 1px rgba(230, 230, 230, 0.84); - border-radius: 0 0 0.1em 0.1em; - padding: 8px; - position: relative; - border-top: none; -} - -.manual-index .manual-card > div { - transform: scale(0.4); - transform-origin: 0 0; - width: 250%; -} - -.manual-index .manual-card > a { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: rgba(210, 210, 210, 0.1); -} - -.manual-index .manual-card > a:hover { - background: none; -} - -.manual-index .manual-badge { - margin: 0; -} - -.manual-index .manual-user-index { - margin-bottom: 1em; - border-bottom: solid 1px #ddd; -} - -.manual-root .navigation { - padding-left: 4px; - margin-top: 4px; + /*background: rgb(255, 255, 150) !important;*/ + background: #039BE5 !important; + color: #fff !important; + padding-left: 0.1em !important; } -.navigation .manual-toc { - margin-top: -0.25em; -} - -.navigation .manual-toc-root > div { - padding-top: 1px; - padding-left: 0.25em; - padding-right: 0.75em; -} - -.github-markdown .manual-toc-title a { +.inner-link-active a { color: inherit; } - -.manual-breadcrumb-list { - font-size: 0.8em; - margin-bottom: 1em; -} - -.manual-toc-title a:hover { - color: #039BE5; -} - -.manual-toc li { - margin: 0.75em 0; - list-style-type: none; -} - -.navigation .manual-toc [class^="indent-h"] a { - color: #666; -} - -.navigation .manual-toc .indent-h1 a { - color: #555; - font-weight: 600; - display: block; -} - -.manual-toc .indent-h1 { - display: block; - margin: 1em 0 0 0.25em; - padding: 0.2em 0 0.2em 0.5em; - border-radius: 0.1em; -} -.manual-toc .indent-h2 { - display: none; - margin-left: 1.5em; -} -.manual-toc .indent-h3 { - display: none; - margin-left: 2.5em; -} -.manual-toc .indent-h4 { - display: none; - margin-left: 3.5em; -} -.manual-toc .indent-h5 { - display: none; - margin-left: 4.5em; -} - -.manual-color { - position: relative; -} - -.manual-color:after { - content: attr(data-section-count); - font-size: 0.5em; - opacity: 0.5; - position: absolute; - right: 0.5em; - top: 0.5em; -} - -.manual-color-overview, -.manual-color-design { - color: #db001e; - background-color: #edbec3; -} - -.manual-color-installation, -.manual-color-tutorial, -.manual-color-usage, -.manual-color-configuration, -.manual-color-advanced { - color: #009800; - background-color: #bfe5bf; -} - -.manual-color-example { - color: #eb6420; - background-color: #fad8c7; -} - -.manual-color-reference { - color: #6b0090; - background-color: #d6bdde; -} - -.manual-color-faq, -.manual-color-changelog { - color: #0738c3; - background-color: #bbcbea; -} - -.manual-nav li { - margin: 0.75em 0; -} - -/* github markdown */ -.github-markdown { - font-size: 16px; -} - -.github-markdown h1, -.github-markdown h2, -.github-markdown h3, -.github-markdown h4, -.github-markdown h5 { - margin-top: 1em; - margin-bottom: 16px; - font-weight: bold; - padding: 0; -} - -.github-markdown h1:nth-of-type(1) { - margin-top: 0; -} - -.github-markdown h1 { - font-size: 2em; - padding-bottom: 0.3em; -} - -.github-markdown h2 { - font-size: 1.75em; - padding-bottom: 0.3em; -} - -.github-markdown h3 { - font-size: 1.5em; - background-color: transparent; -} - -.github-markdown h4 { - font-size: 1.25em; -} - -.github-markdown h5 { - font-size: 1em; -} - -.github-markdown ul, .github-markdown ol { - padding-left: 2em; -} - -.github-markdown pre > code { - font-size: 0.85em; -} - -.github-markdown table { - margin-bottom: 1em; - border-collapse: collapse; - border-spacing: 0; -} - -.github-markdown table tr { - background-color: #fff; - border-top: 1px solid #ccc; -} - -.github-markdown table th, -.github-markdown table td { - padding: 6px 13px; - border: 1px solid #ddd; -} - -.github-markdown table tr:nth-child(2n) { - background-color: #f8f8f8; -} - -.github-markdown hr { - border-right: 0; - border-bottom: 1px solid #e5e5e5; - border-left: 0; - border-top: 0; -} - -/** badge(.svg) does not have border */ -.github-markdown img:not([src*=".svg"]) { - max-width: 100%; - box-shadow: 1px 1px 1px rgba(0,0,0,0.5); -} diff --git a/docs/css/test.css b/docs/css/test.css new file mode 100644 index 0000000..8ce1266 --- /dev/null +++ b/docs/css/test.css @@ -0,0 +1,58 @@ +table.test-summary thead { + background: #fafafa; +} + +table.test-summary thead .test-description { + width: 50%; +} + +table.test-summary { + width: 100%; + margin: 10px 0; + border-spacing: 0; + border: 0; + border-collapse: collapse; +} + +table.test-summary thead .test-count { + width: 3em; +} + +table.test-summary tbody tr:hover { + background-color: #eee; +} + +table.test-summary td { + border: solid 1px #ddd; + padding: 4px 10px; + vertical-align: top; +} + +table.test-summary td p { + margin: 0; +} + +table.test-summary tr.test-interface .toggle { + display: inline-block; + float: left; + margin-right: 4px; + cursor: pointer; + font-size: 0.8em; + padding-top: 0.25em; +} + +table.test-summary tr.test-interface .toggle.opened:before { + content: '▼'; +} + +table.test-summary tr.test-interface .toggle.closed:before { + content: '▶'; +} + +table.test-summary .test-target > span { + display: block; + margin-top: 4px; +} +table.test-summary .test-target > span:first-child { + margin-top: 0; +} diff --git a/docs/dump.json b/docs/dump.json deleted file mode 100644 index 37f1cf6..0000000 --- a/docs/dump.json +++ /dev/null @@ -1,4876 +0,0 @@ -[ - { - "__docId__": 0, - "kind": "file", - "name": "src/Endpoint.js", - "content": "const API_DOMAIN = (() => {\n return process.env.NODE_ENV === 'staging' ? 'https://api.kkbox-staging.com/v1.1/' : 'https://api.kkbox.com/v1.1/'\n})()\n/**\n * @ignore\n */\nexport const SEARCH = API_DOMAIN + 'search/'\n\n/**\n * @ignore\n */\nexport const TRACKS = API_DOMAIN + 'tracks/'\n\n/**\n * @ignore\n */\nexport const ARTISTS = API_DOMAIN + 'artists/'\n\n/**\n * @ignore\n */\nexport const ALBUMS = API_DOMAIN + 'albums/'\n\n/**\n * @ignore\n */\nexport const SHARED_PLAYLISTS = API_DOMAIN + 'shared-playlists/'\n\n/**\n * @ignore\n */\nexport const MOOD_STATIONS = API_DOMAIN + 'mood-stations/'\n\n/**\n * @ignore\n */\nexport const FEATURED_PLAYLISTS = API_DOMAIN + 'featured-playlists/'\n\n/**\n * @ignore\n */\nexport const FEATURED_PLAYLISTS_CATEGORIES = API_DOMAIN + 'featured-playlist-categories/'\n\n/**\n * @ignore\n */\nexport const NEW_RELEASE_CATEGORIES = API_DOMAIN + 'new-release-categories/'\n\n/**\n * @ignore\n */\nexport const NEW_HITS_PLAYLISTS = API_DOMAIN + 'new-hits-playlists/'\n\n/**\n * @ignore\n */\nexport const GENRE_STATIONS = API_DOMAIN + 'genre-stations/'\n\n/**\n * @ignore\n */\nexport const CHARTS = API_DOMAIN + 'charts/'\n\n/**\n * @ignore\n */\nexport const SEARCH_TYPES = {\n ARTIST: 'artist',\n ALBUM: 'album',\n TRACK: 'track',\n PLAY_LIST: 'playlist'\n}\n\nconst OAuth_DOMAIN = 'https://account.kkbox.com/oauth2/'\n\n/**\n * @ignore\n */\nexport const Token = OAuth_DOMAIN + 'token/'\n\n/**\n * @ignore\n */\nexport const Authorization = OAuth_DOMAIN + 'authorize/'", - "static": true, - "longname": "src/Endpoint.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 1, - "kind": "variable", - "name": "API_DOMAIN", - "memberof": "src/Endpoint.js", - "static": true, - "longname": "src/Endpoint.js~API_DOMAIN", - "access": null, - "export": false, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/Endpoint.js", - "importStyle": null, - "description": null, - "lineNumber": 1, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 2, - "kind": "variable", - "name": "SEARCH", - "memberof": "src/Endpoint.js", - "static": true, - "longname": "src/Endpoint.js~SEARCH", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/Endpoint.js", - "importStyle": "{SEARCH}", - "description": "", - "lineNumber": 7, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 3, - "kind": "variable", - "name": "TRACKS", - "memberof": "src/Endpoint.js", - "static": true, - "longname": "src/Endpoint.js~TRACKS", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/Endpoint.js", - "importStyle": "{TRACKS}", - "description": "", - "lineNumber": 12, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 4, - "kind": "variable", - "name": "ARTISTS", - "memberof": "src/Endpoint.js", - "static": true, - "longname": "src/Endpoint.js~ARTISTS", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/Endpoint.js", - "importStyle": "{ARTISTS}", - "description": "", - "lineNumber": 17, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 5, - "kind": "variable", - "name": "ALBUMS", - "memberof": "src/Endpoint.js", - "static": true, - "longname": "src/Endpoint.js~ALBUMS", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/Endpoint.js", - "importStyle": "{ALBUMS}", - "description": "", - "lineNumber": 22, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 6, - "kind": "variable", - "name": "SHARED_PLAYLISTS", - "memberof": "src/Endpoint.js", - "static": true, - "longname": "src/Endpoint.js~SHARED_PLAYLISTS", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/Endpoint.js", - "importStyle": "{SHARED_PLAYLISTS}", - "description": "", - "lineNumber": 27, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 7, - "kind": "variable", - "name": "MOOD_STATIONS", - "memberof": "src/Endpoint.js", - "static": true, - "longname": "src/Endpoint.js~MOOD_STATIONS", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/Endpoint.js", - "importStyle": "{MOOD_STATIONS}", - "description": "", - "lineNumber": 32, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 8, - "kind": "variable", - "name": "FEATURED_PLAYLISTS", - "memberof": "src/Endpoint.js", - "static": true, - "longname": "src/Endpoint.js~FEATURED_PLAYLISTS", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/Endpoint.js", - "importStyle": "{FEATURED_PLAYLISTS}", - "description": "", - "lineNumber": 37, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 9, - "kind": "variable", - "name": "FEATURED_PLAYLISTS_CATEGORIES", - "memberof": "src/Endpoint.js", - "static": true, - "longname": "src/Endpoint.js~FEATURED_PLAYLISTS_CATEGORIES", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/Endpoint.js", - "importStyle": "{FEATURED_PLAYLISTS_CATEGORIES}", - "description": "", - "lineNumber": 42, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 10, - "kind": "variable", - "name": "NEW_RELEASE_CATEGORIES", - "memberof": "src/Endpoint.js", - "static": true, - "longname": "src/Endpoint.js~NEW_RELEASE_CATEGORIES", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/Endpoint.js", - "importStyle": "{NEW_RELEASE_CATEGORIES}", - "description": "", - "lineNumber": 47, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 11, - "kind": "variable", - "name": "NEW_HITS_PLAYLISTS", - "memberof": "src/Endpoint.js", - "static": true, - "longname": "src/Endpoint.js~NEW_HITS_PLAYLISTS", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/Endpoint.js", - "importStyle": "{NEW_HITS_PLAYLISTS}", - "description": "", - "lineNumber": 52, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 12, - "kind": "variable", - "name": "GENRE_STATIONS", - "memberof": "src/Endpoint.js", - "static": true, - "longname": "src/Endpoint.js~GENRE_STATIONS", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/Endpoint.js", - "importStyle": "{GENRE_STATIONS}", - "description": "", - "lineNumber": 57, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 13, - "kind": "variable", - "name": "CHARTS", - "memberof": "src/Endpoint.js", - "static": true, - "longname": "src/Endpoint.js~CHARTS", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/Endpoint.js", - "importStyle": "{CHARTS}", - "description": "", - "lineNumber": 62, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 14, - "kind": "variable", - "name": "SEARCH_TYPES", - "memberof": "src/Endpoint.js", - "static": true, - "longname": "src/Endpoint.js~SEARCH_TYPES", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/Endpoint.js", - "importStyle": "{SEARCH_TYPES}", - "description": "", - "lineNumber": 67, - "ignore": true, - "type": { - "types": [ - "{\"ARTIST\": string, \"ALBUM\": string, \"TRACK\": string, \"PLAY_LIST\": string}" - ] - } - }, - { - "__docId__": 15, - "kind": "variable", - "name": "OAuth_DOMAIN", - "memberof": "src/Endpoint.js", - "static": true, - "longname": "src/Endpoint.js~OAuth_DOMAIN", - "access": null, - "export": false, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/Endpoint.js", - "importStyle": null, - "description": null, - "lineNumber": 74, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "string" - ] - } - }, - { - "__docId__": 16, - "kind": "variable", - "name": "Token", - "memberof": "src/Endpoint.js", - "static": true, - "longname": "src/Endpoint.js~Token", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/Endpoint.js", - "importStyle": "{Token}", - "description": "", - "lineNumber": 79, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 17, - "kind": "variable", - "name": "Authorization", - "memberof": "src/Endpoint.js", - "static": true, - "longname": "src/Endpoint.js~Authorization", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/Endpoint.js", - "importStyle": "{Authorization}", - "description": "", - "lineNumber": 84, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 18, - "kind": "file", - "name": "src/SDK.js", - "content": "export {default as Auth} from './auth/Auth'\nexport {default as Api} from './api/Api'", - "static": true, - "longname": "src/SDK.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 19, - "kind": "file", - "name": "src/api/AlbumFetcher.js", - "content": "import {ALBUMS as ENDPOINT} from '../Endpoint'\nimport Fetcher from './Fetcher'\n\n/**\n * Fetch metadata and tracks of a album.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums\n */\nexport default class AlbumFetcher extends Fetcher { \n /**\n * @ignore\n */\n constructor(http, territory = 'TW') {\n super(http, territory)\n\n /**\n * @ignore\n */\n this.album_id = undefined\n }\n\n /**\n * Set the album fetcher.\n *\n * @param {string} album_id - The ID of an album.\n * @return {AlbumFetcher}\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums/endpoints/get-albums-album_id\n */\n setAlbumID(album_id) {\n this.album_id = album_id \n return this\n }\n\n /**\n * Fetcy metadata of the album you create.\n *\n * @return {Promise}\n * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums/endpoints/get-albums-album_id\n */\n fetchMetadata() {\n return this.http.get(ENDPOINT + this.album_id, {territory: this.territory})\n }\n\n /**\n * Get KKBOX web widget uri of the album.\n * @example https://widget.kkbox.com/v1/?id=4qtXcj31wYJTRZbb23&type=album\n * @return {string}\n */\n getWidgetUri(){\n return `https://widget.kkbox.com/v1/?id=${this.album_id}&type=album`\n }\n\n /**\n * Get tracks in an album. Result will be return with pagination.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums/endpoints/get-albums-album_id-tracks\n */\n fetchTracks(limit = undefined, offset = undefined) {\n return this.http.get(ENDPOINT + this.album_id + '/tracks', {\n territory: this.territory,\n limit: limit,\n offset: offset\n })\n }\n}", - "static": true, - "longname": "src/api/AlbumFetcher.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 20, - "kind": "class", - "name": "AlbumFetcher", - "memberof": "src/api/AlbumFetcher.js", - "static": true, - "longname": "src/api/AlbumFetcher.js~AlbumFetcher", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/api/AlbumFetcher.js", - "importStyle": "AlbumFetcher", - "description": "Fetch metadata and tracks of a album.", - "see": [ - "https://kkbox.gelato.io/docs/versions/v1.1/resources/albums" - ], - "lineNumber": 8, - "interface": false, - "extends": [ - "src/api/Fetcher.js~Fetcher" - ] - }, - { - "__docId__": 21, - "kind": "constructor", - "name": "constructor", - "memberof": "src/api/AlbumFetcher.js~AlbumFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/AlbumFetcher.js~AlbumFetcher#constructor", - "access": null, - "description": "", - "lineNumber": 12, - "ignore": true, - "params": [ - { - "name": "http", - "types": [ - "*" - ] - }, - { - "name": "territory", - "optional": true, - "types": [ - "string" - ], - "defaultRaw": "TW", - "defaultValue": "TW" - } - ] - }, - { - "__docId__": 22, - "kind": "member", - "name": "album_id", - "memberof": "src/api/AlbumFetcher.js~AlbumFetcher", - "static": false, - "longname": "src/api/AlbumFetcher.js~AlbumFetcher#album_id", - "access": null, - "description": "", - "lineNumber": 18, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 23, - "kind": "method", - "name": "setAlbumID", - "memberof": "src/api/AlbumFetcher.js~AlbumFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/AlbumFetcher.js~AlbumFetcher#setAlbumID", - "access": null, - "description": "Set the album fetcher.", - "see": [ - "https://kkbox.gelato.io/docs/versions/v1.1/resources/albums/endpoints/get-albums-album_id" - ], - "lineNumber": 28, - "params": [ - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": false, - "name": "album_id", - "description": "The ID of an album." - } - ], - "return": { - "nullable": null, - "types": [ - "AlbumFetcher" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 24, - "kind": "member", - "name": "album_id", - "memberof": "src/api/AlbumFetcher.js~AlbumFetcher", - "static": false, - "longname": "src/api/AlbumFetcher.js~AlbumFetcher#album_id", - "access": null, - "description": null, - "lineNumber": 29, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 25, - "kind": "method", - "name": "fetchMetadata", - "memberof": "src/api/AlbumFetcher.js~AlbumFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/AlbumFetcher.js~AlbumFetcher#fetchMetadata", - "access": null, - "description": "Fetcy metadata of the album you create.", - "examples": [ - "api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchMetadata()" - ], - "see": [ - "https://kkbox.gelato.io/docs/versions/v1.1/resources/albums/endpoints/get-albums-album_id" - ], - "lineNumber": 40, - "params": [], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 26, - "kind": "method", - "name": "getWidgetUri", - "memberof": "src/api/AlbumFetcher.js~AlbumFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/AlbumFetcher.js~AlbumFetcher#getWidgetUri", - "access": null, - "description": "Get KKBOX web widget uri of the album.", - "examples": [ - "https://widget.kkbox.com/v1/?id=4qtXcj31wYJTRZbb23&type=album" - ], - "lineNumber": 49, - "params": [], - "return": { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 27, - "kind": "method", - "name": "fetchTracks", - "memberof": "src/api/AlbumFetcher.js~AlbumFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/AlbumFetcher.js~AlbumFetcher#fetchTracks", - "access": null, - "description": "Get tracks in an album. Result will be return with pagination.", - "examples": [ - "api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks()" - ], - "see": [ - "https://kkbox.gelato.io/docs/versions/v1.1/resources/albums/endpoints/get-albums-album_id-tracks" - ], - "lineNumber": 62, - "params": [ - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "name": "limit", - "description": "The size for one page." - }, - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "name": "offset", - "description": "The offset index for first element." - } - ], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 28, - "kind": "file", - "name": "src/api/Api.js", - "content": "import HttpClient from './HttpClient'\nimport SearchFetcher from './SearchFetcher'\nimport TrackFetcher from './TrackFetcher'\nimport AlbumFetcher from './AlbumFetcher'\nimport ArtistFetcher from './ArtistFetcher'\nimport FeaturedPlaylistFetcher from './FeaturedPlaylistFetcher'\nimport FeaturedPlaylistCategoryFetcher from './FeaturedPlaylistCategoryFetcher'\nimport NewReleaseCategoryFetcher from './NewReleaseCategoryFetcher'\nimport NewHitsPlaylistFetcher from './NewHitsPlaylistFetcher'\nimport GenreStationFetcher from './GenreStationFetcher'\nimport MoodStationFetcher from './MoodStationFetcher'\nimport ChartFetcher from './ChartFetcher'\n\n/**\n * Fetch KKBOX resources.\n */\nexport default class Api {\n /**\n * Need access token to initialize.\n *\n * @param {string} token - Get via Auth.\n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.\n * @example new Api(token)\n * @example new Api(token, 'TW')\n */\n constructor(token, territory = 'TW') { \n this.territory = territory\n this.httpClient = undefined\n this.setToken(token)\n }\n\n /**\n * Set new token and create fetchers with the new token.\n *\n * @param {string} token - Get via Auth.\n * @example api.setToken(token)\n */\n setToken(token) {\n this.httpClient = new HttpClient(token)\n\n /**\n * @type {SearchFetcher}\n */\n this.searchFetcher = new SearchFetcher(this.httpClient, this.territory)\n\n /**\n * @type {TrackFetcher}\n */\n this.trackFetcher = new TrackFetcher(this.httpClient, this.territory)\n\n /**\n * @type {AlbumFetcher}\n */\n this.albumFetcher = new AlbumFetcher(this.httpClient, this.territory)\n\n /**\n * @type {ArtistFetcher}\n */\n this.artistFetcher = new ArtistFetcher(this.httpClient, this.territory)\n\n /**\n * @type {FeaturedPlaylistFetcher}\n */\n this.featuredPlaylistFetcher = new FeaturedPlaylistFetcher(this.httpClient, this.territory)\n\n /**\n * @type {FeaturedPlaylistCategoryFetcher}\n */\n this.featuredPlaylistCategoryFetcher = new FeaturedPlaylistCategoryFetcher(this.httpClient, this.territory)\n\n /**\n * @type {NewReleaseCategoryFetcher}\n */ \n this.newReleaseCategoryFetcher = new NewReleaseCategoryFetcher(this.httpClient, this.territory)\n\n /**\n * @type {NewHitsPlaylistFetcher}\n */ \n this.newHitsPlaylistFetcher = new NewHitsPlaylistFetcher(this.httpClient, this.territory)\n \n /**\n * @type {GenreStationFetcher}\n */\n this.genreStationFetcher = new GenreStationFetcher(this.httpClient, this.territory)\n\n /**\n * @type {MoodStationFetcher}\n */\n this.moodStationFetcher = new MoodStationFetcher(this.httpClient, this.territory)\n\n /**\n * @type {ChartFetcher}\n */\n this.chartFetcher = new ChartFetcher(this.httpClient, this.territory) \n }\n}", - "static": true, - "longname": "src/api/Api.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 29, - "kind": "class", - "name": "Api", - "memberof": "src/api/Api.js", - "static": true, - "longname": "src/api/Api.js~Api", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/api/Api.js", - "importStyle": "Api", - "description": "Fetch KKBOX resources.", - "lineNumber": 17, - "interface": false - }, - { - "__docId__": 30, - "kind": "constructor", - "name": "constructor", - "memberof": "src/api/Api.js~Api", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/Api.js~Api#constructor", - "access": null, - "description": "Need access token to initialize.", - "examples": [ - "new Api(token)", - "new Api(token, 'TW')" - ], - "lineNumber": 26, - "params": [ - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": false, - "name": "token", - "description": "Get via Auth." - }, - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": true, - "defaultValue": " 'TW'", - "defaultRaw": " 'TW'", - "name": "territory", - "description": "['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher." - } - ] - }, - { - "__docId__": 31, - "kind": "member", - "name": "territory", - "memberof": "src/api/Api.js~Api", - "static": false, - "longname": "src/api/Api.js~Api#territory", - "access": null, - "description": null, - "lineNumber": 27, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 32, - "kind": "member", - "name": "httpClient", - "memberof": "src/api/Api.js~Api", - "static": false, - "longname": "src/api/Api.js~Api#httpClient", - "access": null, - "description": null, - "lineNumber": 28, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 33, - "kind": "method", - "name": "setToken", - "memberof": "src/api/Api.js~Api", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/Api.js~Api#setToken", - "access": null, - "description": "Set new token and create fetchers with the new token.", - "examples": [ - "api.setToken(token)" - ], - "lineNumber": 38, - "params": [ - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": false, - "name": "token", - "description": "Get via Auth." - } - ] - }, - { - "__docId__": 34, - "kind": "member", - "name": "httpClient", - "memberof": "src/api/Api.js~Api", - "static": false, - "longname": "src/api/Api.js~Api#httpClient", - "access": null, - "description": null, - "lineNumber": 39, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 35, - "kind": "member", - "name": "searchFetcher", - "memberof": "src/api/Api.js~Api", - "static": false, - "longname": "src/api/Api.js~Api#searchFetcher", - "access": null, - "description": "", - "lineNumber": 44, - "type": { - "nullable": null, - "types": [ - "SearchFetcher" - ], - "spread": false, - "description": null - } - }, - { - "__docId__": 36, - "kind": "member", - "name": "trackFetcher", - "memberof": "src/api/Api.js~Api", - "static": false, - "longname": "src/api/Api.js~Api#trackFetcher", - "access": null, - "description": "", - "lineNumber": 49, - "type": { - "nullable": null, - "types": [ - "TrackFetcher" - ], - "spread": false, - "description": null - } - }, - { - "__docId__": 37, - "kind": "member", - "name": "albumFetcher", - "memberof": "src/api/Api.js~Api", - "static": false, - "longname": "src/api/Api.js~Api#albumFetcher", - "access": null, - "description": "", - "lineNumber": 54, - "type": { - "nullable": null, - "types": [ - "AlbumFetcher" - ], - "spread": false, - "description": null - } - }, - { - "__docId__": 38, - "kind": "member", - "name": "artistFetcher", - "memberof": "src/api/Api.js~Api", - "static": false, - "longname": "src/api/Api.js~Api#artistFetcher", - "access": null, - "description": "", - "lineNumber": 59, - "type": { - "nullable": null, - "types": [ - "ArtistFetcher" - ], - "spread": false, - "description": null - } - }, - { - "__docId__": 39, - "kind": "member", - "name": "featuredPlaylistFetcher", - "memberof": "src/api/Api.js~Api", - "static": false, - "longname": "src/api/Api.js~Api#featuredPlaylistFetcher", - "access": null, - "description": "", - "lineNumber": 64, - "type": { - "nullable": null, - "types": [ - "FeaturedPlaylistFetcher" - ], - "spread": false, - "description": null - } - }, - { - "__docId__": 40, - "kind": "member", - "name": "featuredPlaylistCategoryFetcher", - "memberof": "src/api/Api.js~Api", - "static": false, - "longname": "src/api/Api.js~Api#featuredPlaylistCategoryFetcher", - "access": null, - "description": "", - "lineNumber": 69, - "type": { - "nullable": null, - "types": [ - "FeaturedPlaylistCategoryFetcher" - ], - "spread": false, - "description": null - } - }, - { - "__docId__": 41, - "kind": "member", - "name": "newReleaseCategoryFetcher", - "memberof": "src/api/Api.js~Api", - "static": false, - "longname": "src/api/Api.js~Api#newReleaseCategoryFetcher", - "access": null, - "description": "", - "lineNumber": 74, - "type": { - "nullable": null, - "types": [ - "NewReleaseCategoryFetcher" - ], - "spread": false, - "description": null - } - }, - { - "__docId__": 42, - "kind": "member", - "name": "newHitsPlaylistFetcher", - "memberof": "src/api/Api.js~Api", - "static": false, - "longname": "src/api/Api.js~Api#newHitsPlaylistFetcher", - "access": null, - "description": "", - "lineNumber": 79, - "type": { - "nullable": null, - "types": [ - "NewHitsPlaylistFetcher" - ], - "spread": false, - "description": null - } - }, - { - "__docId__": 43, - "kind": "member", - "name": "genreStationFetcher", - "memberof": "src/api/Api.js~Api", - "static": false, - "longname": "src/api/Api.js~Api#genreStationFetcher", - "access": null, - "description": "", - "lineNumber": 84, - "type": { - "nullable": null, - "types": [ - "GenreStationFetcher" - ], - "spread": false, - "description": null - } - }, - { - "__docId__": 44, - "kind": "member", - "name": "moodStationFetcher", - "memberof": "src/api/Api.js~Api", - "static": false, - "longname": "src/api/Api.js~Api#moodStationFetcher", - "access": null, - "description": "", - "lineNumber": 89, - "type": { - "nullable": null, - "types": [ - "MoodStationFetcher" - ], - "spread": false, - "description": null - } - }, - { - "__docId__": 45, - "kind": "member", - "name": "chartFetcher", - "memberof": "src/api/Api.js~Api", - "static": false, - "longname": "src/api/Api.js~Api#chartFetcher", - "access": null, - "description": "", - "lineNumber": 94, - "type": { - "nullable": null, - "types": [ - "ChartFetcher" - ], - "spread": false, - "description": null - } - }, - { - "__docId__": 46, - "kind": "file", - "name": "src/api/ArtistFetcher.js", - "content": "import {ARTISTS as ENDPOINT} from '../Endpoint'\nimport Fetcher from './Fetcher'\n\n/**\n * Get artist metadata.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists\n */\nexport default class ArtistFetcher extends Fetcher {\n /**\n * @ignore\n */\n constructor(http, territory = 'TW') {\n super(http, territory)\n\n /**\n * @ignore\n */\n this.artist_id = undefined\n }\n\n /**\n * Init the artist object.\n *\n * @param {string} artist_id - The ID of an artist.\n * @return {Artist}\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id\n */\n setArtistID(artist_id) {\n this.artist_id = artist_id\n return this\n }\n\n /**\n * Fetch metadata of the artist you find.\n *\n * @return {Promise}\n * @example api.Artist.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id\n */\n fetchMetadata() {\n return this.http.get(ENDPOINT + this.artist_id, {territory: this.territory})\n }\n\n /**\n * Fetch albums belong to an artist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchAlbums()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id-albums\n */\n fetchAlbums(limit = undefined, offset = undefined) {\n return this.http.get(ENDPOINT + this.artist_id + '/albums', {\n territory: this.territory,\n limit: limit,\n offset: offset\n })\n }\n\n /**\n * Fetch top tracks belong to an artist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.Artist.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchTopTracks()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id-top-tracks\n */\n fetchTopTracks(limit = undefined, offset = undefined) {\n return this.http.get(ENDPOINT + this.artist_id + '/top-tracks', {\n territory: this.territory,\n limit: limit,\n offset: offset\n })\n }\n}", - "static": true, - "longname": "src/api/ArtistFetcher.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 47, - "kind": "class", - "name": "ArtistFetcher", - "memberof": "src/api/ArtistFetcher.js", - "static": true, - "longname": "src/api/ArtistFetcher.js~ArtistFetcher", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/api/ArtistFetcher.js", - "importStyle": "ArtistFetcher", - "description": "Get artist metadata.", - "see": [ - "https://kkbox.gelato.io/docs/versions/v1.1/resources/artists" - ], - "lineNumber": 8, - "interface": false, - "extends": [ - "src/api/Fetcher.js~Fetcher" - ] - }, - { - "__docId__": 48, - "kind": "constructor", - "name": "constructor", - "memberof": "src/api/ArtistFetcher.js~ArtistFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/ArtistFetcher.js~ArtistFetcher#constructor", - "access": null, - "description": "", - "lineNumber": 12, - "ignore": true, - "params": [ - { - "name": "http", - "types": [ - "*" - ] - }, - { - "name": "territory", - "optional": true, - "types": [ - "string" - ], - "defaultRaw": "TW", - "defaultValue": "TW" - } - ] - }, - { - "__docId__": 49, - "kind": "member", - "name": "artist_id", - "memberof": "src/api/ArtistFetcher.js~ArtistFetcher", - "static": false, - "longname": "src/api/ArtistFetcher.js~ArtistFetcher#artist_id", - "access": null, - "description": "", - "lineNumber": 18, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 50, - "kind": "method", - "name": "setArtistID", - "memberof": "src/api/ArtistFetcher.js~ArtistFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/ArtistFetcher.js~ArtistFetcher#setArtistID", - "access": null, - "description": "Init the artist object.", - "see": [ - "https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id" - ], - "lineNumber": 28, - "params": [ - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": false, - "name": "artist_id", - "description": "The ID of an artist." - } - ], - "return": { - "nullable": null, - "types": [ - "Artist" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 51, - "kind": "member", - "name": "artist_id", - "memberof": "src/api/ArtistFetcher.js~ArtistFetcher", - "static": false, - "longname": "src/api/ArtistFetcher.js~ArtistFetcher#artist_id", - "access": null, - "description": null, - "lineNumber": 29, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 52, - "kind": "method", - "name": "fetchMetadata", - "memberof": "src/api/ArtistFetcher.js~ArtistFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/ArtistFetcher.js~ArtistFetcher#fetchMetadata", - "access": null, - "description": "Fetch metadata of the artist you find.", - "examples": [ - "api.Artist.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchMetadata()" - ], - "see": [ - "https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id" - ], - "lineNumber": 40, - "params": [], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 53, - "kind": "method", - "name": "fetchAlbums", - "memberof": "src/api/ArtistFetcher.js~ArtistFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/ArtistFetcher.js~ArtistFetcher#fetchAlbums", - "access": null, - "description": "Fetch albums belong to an artist.", - "examples": [ - "api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchAlbums()" - ], - "see": [ - "https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id-albums" - ], - "lineNumber": 53, - "params": [ - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "name": "limit", - "description": "The size for one page." - }, - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "name": "offset", - "description": "The offset index for first element." - } - ], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 54, - "kind": "method", - "name": "fetchTopTracks", - "memberof": "src/api/ArtistFetcher.js~ArtistFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/ArtistFetcher.js~ArtistFetcher#fetchTopTracks", - "access": null, - "description": "Fetch top tracks belong to an artist.", - "examples": [ - "api.Artist.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchTopTracks()" - ], - "see": [ - "https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id-top-tracks" - ], - "lineNumber": 70, - "params": [ - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "name": "limit", - "description": "The size for one page." - }, - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "name": "offset", - "description": "The offset index for first element." - } - ], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 55, - "kind": "file", - "name": "src/api/ChartFetcher.js", - "content": "import {CHARTS as ENDPOINT} from '../Endpoint'\nimport Fetcher from './Fetcher'\n\n/**\n * The fetcher that can fetch chart playlists.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/charts\n */\nexport default class ChartFetcher extends Fetcher {\n /**\n * @ignore\n */\n constructor(http, territory = 'TW') {\n super(http, territory = 'TW')\n }\n\n /**\n * Fetch chart playlists.\n *\n * @return {Promise}\n * @example api.chartFetcher.fetchCharts()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/charts/endpoints/get-charts\n */\n fetchCharts() {\n return this.http.get(ENDPOINT, {\n territory: this.territory\n })\n }\n}", - "static": true, - "longname": "src/api/ChartFetcher.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 56, - "kind": "class", - "name": "ChartFetcher", - "memberof": "src/api/ChartFetcher.js", - "static": true, - "longname": "src/api/ChartFetcher.js~ChartFetcher", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/api/ChartFetcher.js", - "importStyle": "ChartFetcher", - "description": "The fetcher that can fetch chart playlists.", - "see": [ - "https://kkbox.gelato.io/docs/versions/1.1/resources/charts" - ], - "lineNumber": 8, - "interface": false, - "extends": [ - "src/api/Fetcher.js~Fetcher" - ] - }, - { - "__docId__": 57, - "kind": "constructor", - "name": "constructor", - "memberof": "src/api/ChartFetcher.js~ChartFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/ChartFetcher.js~ChartFetcher#constructor", - "access": null, - "description": "", - "lineNumber": 12, - "ignore": true, - "params": [ - { - "name": "http", - "types": [ - "*" - ] - }, - { - "name": "territory", - "optional": true, - "types": [ - "string" - ], - "defaultRaw": "TW", - "defaultValue": "TW" - } - ] - }, - { - "__docId__": 58, - "kind": "method", - "name": "fetchCharts", - "memberof": "src/api/ChartFetcher.js~ChartFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/ChartFetcher.js~ChartFetcher#fetchCharts", - "access": null, - "description": "Fetch chart playlists.", - "examples": [ - "api.chartFetcher.fetchCharts()" - ], - "see": [ - "https://kkbox.gelato.io/docs/versions/1.1/resources/charts/endpoints/get-charts" - ], - "lineNumber": 23, - "params": [], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 59, - "kind": "file", - "name": "src/api/FeaturedPlaylistCategoryFetcher.js", - "content": "import {FEATURED_PLAYLISTS_CATEGORIES as ENDPOINT} from '../Endpoint'\nimport Fetcher from './Fetcher'\n\n/**\n * List featured playlist categories.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories\n */\nexport default class FeaturedPlaylistCategoryFetcher extends Fetcher {\n /**\n * @ignore\n */\n constructor(http, territory = 'TW') {\n super(http, territory)\n\n /**\n * @ignore\n */\n this.category_id = undefined\n }\n\n /**\n * Fetch all featured playlist categories.\n *\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.fetchAllFeaturedPlaylistCategories()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories\n */\n fetchAllFeaturedPlaylistCategories() {\n return this.http.get(ENDPOINT, {territory: this.territory})\n }\n\n /**\n * Init the featured playlist category fetcher.\n *\n * @param {string} category_id - The category ID.\n * @return {FeaturedPlaylistCategoryFetcher}\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories-category_id\n */\n setCategoryID(category_id) {\n this.category_id = category_id \n return this\n }\n\n /**\n * Fetch metadata of the category you init.\n *\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories-category_id\n */\n fetchMetadata() {\n return this.http.get(ENDPOINT + this.category_id, {territory: this.territory})\n }\n\n /**\n * Fetch featured playlists of the category with the category fetcher you init. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchPlaylists()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories-category_id-playlists\n */\n fetchPlaylists(limit = undefined, offset = undefined) {\n return this.http.get(ENDPOINT + this.category_id + '/playlists', {\n territory: this.territory,\n limit: limit,\n offset: offset\n })\n }\n}", - "static": true, - "longname": "src/api/FeaturedPlaylistCategoryFetcher.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 60, - "kind": "class", - "name": "FeaturedPlaylistCategoryFetcher", - "memberof": "src/api/FeaturedPlaylistCategoryFetcher.js", - "static": true, - "longname": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/api/FeaturedPlaylistCategoryFetcher.js", - "importStyle": "FeaturedPlaylistCategoryFetcher", - "description": "List featured playlist categories.", - "see": [ - "https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories" - ], - "lineNumber": 8, - "interface": false, - "extends": [ - "src/api/Fetcher.js~Fetcher" - ] - }, - { - "__docId__": 61, - "kind": "constructor", - "name": "constructor", - "memberof": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher#constructor", - "access": null, - "description": "", - "lineNumber": 12, - "ignore": true, - "params": [ - { - "name": "http", - "types": [ - "*" - ] - }, - { - "name": "territory", - "optional": true, - "types": [ - "string" - ], - "defaultRaw": "TW", - "defaultValue": "TW" - } - ] - }, - { - "__docId__": 62, - "kind": "member", - "name": "category_id", - "memberof": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher", - "static": false, - "longname": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher#category_id", - "access": null, - "description": "", - "lineNumber": 18, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 63, - "kind": "method", - "name": "fetchAllFeaturedPlaylistCategories", - "memberof": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher#fetchAllFeaturedPlaylistCategories", - "access": null, - "description": "Fetch all featured playlist categories.", - "examples": [ - "api.featuredPlaylistCategoryFetcher.fetchAllFeaturedPlaylistCategories()" - ], - "see": [ - "https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories" - ], - "lineNumber": 28, - "params": [], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 64, - "kind": "method", - "name": "setCategoryID", - "memberof": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher#setCategoryID", - "access": null, - "description": "Init the featured playlist category fetcher.", - "see": [ - "https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories-category_id" - ], - "lineNumber": 39, - "params": [ - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": false, - "name": "category_id", - "description": "The category ID." - } - ], - "return": { - "nullable": null, - "types": [ - "FeaturedPlaylistCategoryFetcher" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 65, - "kind": "member", - "name": "category_id", - "memberof": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher", - "static": false, - "longname": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher#category_id", - "access": null, - "description": null, - "lineNumber": 40, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 66, - "kind": "method", - "name": "fetchMetadata", - "memberof": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher#fetchMetadata", - "access": null, - "description": "Fetch metadata of the category you init.", - "examples": [ - "api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchMetadata()" - ], - "see": [ - "https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories-category_id" - ], - "lineNumber": 51, - "params": [], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 67, - "kind": "method", - "name": "fetchPlaylists", - "memberof": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher#fetchPlaylists", - "access": null, - "description": "Fetch featured playlists of the category with the category fetcher you init. Result will be paged.", - "examples": [ - "api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchPlaylists()" - ], - "see": [ - "https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories-category_id-playlists" - ], - "lineNumber": 64, - "params": [ - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "name": "limit", - "description": "The size of one page." - }, - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "name": "offset", - "description": "The offset index for first element." - } - ], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 68, - "kind": "file", - "name": "src/api/FeaturedPlaylistFetcher.js", - "content": "import {FEATURED_PLAYLISTS as ENDPOINT} from '../Endpoint'\nimport Fetcher from './Fetcher'\n\n/**\n * List all featured playlists.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlists\n */\nexport default class FeaturedPlaylistFetcher extends Fetcher {\n /**\n * @ignore\n */\n constructor(http, territory = 'TW') {\n super(http, territory)\n }\n\n /**\n * Fetch all featured playlists. Result will be paged.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.featuredPlaylistFetcher.fetchAllFeaturedPlaylists()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlists/endpoints/get-featured-playlists\n */\n fetchAllFeaturedPlaylists(limit = undefined, offset = undefined) {\n return this.http.get(ENDPOINT, {\n limit: limit, \n offset: offset, \n territory: this.territory\n })\n }\n}", - "static": true, - "longname": "src/api/FeaturedPlaylistFetcher.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 69, - "kind": "class", - "name": "FeaturedPlaylistFetcher", - "memberof": "src/api/FeaturedPlaylistFetcher.js", - "static": true, - "longname": "src/api/FeaturedPlaylistFetcher.js~FeaturedPlaylistFetcher", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/api/FeaturedPlaylistFetcher.js", - "importStyle": "FeaturedPlaylistFetcher", - "description": "List all featured playlists.", - "see": [ - "https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlists" - ], - "lineNumber": 8, - "interface": false, - "extends": [ - "src/api/Fetcher.js~Fetcher" - ] - }, - { - "__docId__": 70, - "kind": "constructor", - "name": "constructor", - "memberof": "src/api/FeaturedPlaylistFetcher.js~FeaturedPlaylistFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/FeaturedPlaylistFetcher.js~FeaturedPlaylistFetcher#constructor", - "access": null, - "description": "", - "lineNumber": 12, - "ignore": true, - "params": [ - { - "name": "http", - "types": [ - "*" - ] - }, - { - "name": "territory", - "optional": true, - "types": [ - "string" - ], - "defaultRaw": "TW", - "defaultValue": "TW" - } - ] - }, - { - "__docId__": 71, - "kind": "method", - "name": "fetchAllFeaturedPlaylists", - "memberof": "src/api/FeaturedPlaylistFetcher.js~FeaturedPlaylistFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/FeaturedPlaylistFetcher.js~FeaturedPlaylistFetcher#fetchAllFeaturedPlaylists", - "access": null, - "description": "Fetch all featured playlists. Result will be paged.", - "examples": [ - "api.featuredPlaylistFetcher.fetchAllFeaturedPlaylists()" - ], - "see": [ - "https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlists/endpoints/get-featured-playlists" - ], - "lineNumber": 25, - "params": [ - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "name": "limit", - "description": "The size for one page." - }, - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "name": "offset", - "description": "The offset index for first element." - } - ], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 72, - "kind": "file", - "name": "src/api/Fetcher.js", - "content": "/**\n * Base api fetcher.\n */\nexport default class Fetcher {\n /** \n * @param {Http} http \n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.\n */\n constructor(http, territory = 'TW') {\n /**\n * @ignore\n */\n this.http = http\n\n /**\n * @ignore\n */\n this.territory = territory\n }\n\n /**\n * Gets an object's nested property by path.\n * @ignore\n */\n getPropertyByPath(object, path) {\n path = path.replace(/\\[(\\w+)\\]/g, '.$1'); // convert indexes to properties\n path = path.replace(/^\\./, ''); // strip a leading dot\n var keys = path.split('.');\n for (var i = 0, n = keys.length; i < n; ++i) {\n var key = keys[i];\n if (key in object) {\n object = object[key];\n } else {\n return;\n }\n }\n return object;\n }\n\n /**\n * Fetches next page of various paged APIs. \n * \n * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function \n * @param {String} nextUriPath - The next uri's path. Defaults to 'data.paging.next', \n * which means we will get the next uri path from 'fulfillment.data.paging.next'. \n * The correct next uri path depends on respective api's response.\n * @return {Promise}\n * @example \n * api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks().then(response => {\n * api.albumFetcher.fetchNextPage(response))\n * })\n */\n fetchNextPage(fulfillment, nextUriPath = 'data.paging.next') {\n var nextUri = this.getPropertyByPath(fulfillment, nextUriPath)\n if (nextUri != null && nextUri !== undefined) {\n return this.http.get(nextUri)\n }\n else {\n return new Promise((resolve, reject) => {\n reject('Cannot fetch next page')\n }) \n }\n }\n\n /**\n * Is next page available for various paged APIs.\n * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function \n * @param {String} nextUriPath - The next uri's path. Defaults to 'data.paging.next', \n * which means we will get the next uri path from 'fulfillment.data.paging.next'. \n * The correct next uri path depends on respective api's response.\n * @return {Boolean}\n * @example\n * api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks().then(response => {\n * if (api.albumFetcher.hasNextPage(response)) {\n * // more data available\n * }\n * })\n */\n hasNextPage(fulfillment, nextUriPath = 'data.paging.next') {\n var nextUri = this.getPropertyByPath(fulfillment, nextUriPath)\n if (nextUri != null && nextUri !== undefined) {\n return true\n }\n else {\n return false\n }\n }\n}", - "static": true, - "longname": "src/api/Fetcher.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 73, - "kind": "class", - "name": "Fetcher", - "memberof": "src/api/Fetcher.js", - "static": true, - "longname": "src/api/Fetcher.js~Fetcher", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/api/Fetcher.js", - "importStyle": "Fetcher", - "description": "Base api fetcher.", - "lineNumber": 4, - "interface": false - }, - { - "__docId__": 74, - "kind": "constructor", - "name": "constructor", - "memberof": "src/api/Fetcher.js~Fetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/Fetcher.js~Fetcher#constructor", - "access": null, - "description": " ", - "lineNumber": 9, - "params": [ - { - "nullable": null, - "types": [ - "Http" - ], - "spread": false, - "optional": false, - "name": "http", - "description": "" - }, - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": true, - "defaultValue": " 'TW'", - "defaultRaw": " 'TW'", - "name": "territory", - "description": "['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher." - } - ] - }, - { - "__docId__": 75, - "kind": "member", - "name": "http", - "memberof": "src/api/Fetcher.js~Fetcher", - "static": false, - "longname": "src/api/Fetcher.js~Fetcher#http", - "access": null, - "description": "", - "lineNumber": 13, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 76, - "kind": "member", - "name": "territory", - "memberof": "src/api/Fetcher.js~Fetcher", - "static": false, - "longname": "src/api/Fetcher.js~Fetcher#territory", - "access": null, - "description": "", - "lineNumber": 18, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 77, - "kind": "method", - "name": "getPropertyByPath", - "memberof": "src/api/Fetcher.js~Fetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/Fetcher.js~Fetcher#getPropertyByPath", - "access": null, - "description": "Gets an object's nested property by path.", - "lineNumber": 25, - "ignore": true, - "params": [ - { - "name": "object", - "types": [ - "*" - ] - }, - { - "name": "path", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 78, - "kind": "method", - "name": "fetchNextPage", - "memberof": "src/api/Fetcher.js~Fetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/Fetcher.js~Fetcher#fetchNextPage", - "access": null, - "description": "Fetches next page of various paged APIs. ", - "examples": [ - "api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks().then(response => {\n api.albumFetcher.fetchNextPage(response))\n})" - ], - "lineNumber": 53, - "params": [ - { - "nullable": null, - "types": [ - "fulfillment" - ], - "spread": false, - "optional": false, - "name": "fulfillment", - "description": "The fulfillment get from Promose's onFulfillment function" - }, - { - "nullable": null, - "types": [ - "String" - ], - "spread": false, - "optional": false, - "name": "nextUriPath", - "description": "The next uri's path. Defaults to 'data.paging.next', \nwhich means we will get the next uri path from 'fulfillment.data.paging.next'. \nThe correct next uri path depends on respective api's response." - } - ], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 79, - "kind": "method", - "name": "hasNextPage", - "memberof": "src/api/Fetcher.js~Fetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/Fetcher.js~Fetcher#hasNextPage", - "access": null, - "description": "Is next page available for various paged APIs.", - "examples": [ - "api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks().then(response => {\n if (api.albumFetcher.hasNextPage(response)) {\n // more data available\n }\n})" - ], - "lineNumber": 79, - "params": [ - { - "nullable": null, - "types": [ - "fulfillment" - ], - "spread": false, - "optional": false, - "name": "fulfillment", - "description": "The fulfillment get from Promose's onFulfillment function" - }, - { - "nullable": null, - "types": [ - "String" - ], - "spread": false, - "optional": false, - "name": "nextUriPath", - "description": "The next uri's path. Defaults to 'data.paging.next', \nwhich means we will get the next uri path from 'fulfillment.data.paging.next'. \nThe correct next uri path depends on respective api's response." - } - ], - "return": { - "nullable": null, - "types": [ - "Boolean" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 80, - "kind": "file", - "name": "src/api/GenreStationFetcher.js", - "content": "import {GENRE_STATIONS as ENDPOINT} from '../Endpoint'\nimport Fetcher from './Fetcher'\n\n/**\n * Get genre stations.\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations\n */\nexport default class GenreStationFetcher extends Fetcher {\n /**\n * @ignore\n */\n constructor(http, territory = 'TW') {\n super(http, territory)\n\n /**\n * @ignore\n */\n this.genre_station_id = undefined \n }\n\n /**\n * Fetch all genre stations. The result will be paged.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.GenreStation.fetchAllGenreStations()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations/endpoints/get-genre-stations\n */\n fetchAllGenreStations(limit = undefined, offset = undefined) {\n return this.http.get(ENDPOINT, {\n territory: this.territory,\n limit: limit,\n offset: offset \n })\n }\n\n /**\n * Init the genre station fetcher.\n *\n * @param {string} genre_station_id - The ID of a genre station.\n * @return {GenreStation}\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations/endpoints/get-genre-stations-station_id\n */\n setGenreStationID(genre_station_id) {\n this.genre_station_id = genre_station_id \n return this\n }\n\n /**\n * Fetch metadata of the genre station with the genre station fetcher.\n *\n * @return {Promise}\n * @example api.GenreStation.setGenreStationID('TYq3EHFTl-1EOvJM5Y').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations/endpoints/get-genre-stations-station_id\n */\n fetchMetadata() {\n return this.http.get(ENDPOINT + this.genre_station_id, {territory: this.territory})\n }\n}", - "static": true, - "longname": "src/api/GenreStationFetcher.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 81, - "kind": "class", - "name": "GenreStationFetcher", - "memberof": "src/api/GenreStationFetcher.js", - "static": true, - "longname": "src/api/GenreStationFetcher.js~GenreStationFetcher", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/api/GenreStationFetcher.js", - "importStyle": "GenreStationFetcher", - "description": "Get genre stations.", - "see": [ - "https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations" - ], - "lineNumber": 8, - "interface": false, - "extends": [ - "src/api/Fetcher.js~Fetcher" - ] - }, - { - "__docId__": 82, - "kind": "constructor", - "name": "constructor", - "memberof": "src/api/GenreStationFetcher.js~GenreStationFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/GenreStationFetcher.js~GenreStationFetcher#constructor", - "access": null, - "description": "", - "lineNumber": 12, - "ignore": true, - "params": [ - { - "name": "http", - "types": [ - "*" - ] - }, - { - "name": "territory", - "optional": true, - "types": [ - "string" - ], - "defaultRaw": "TW", - "defaultValue": "TW" - } - ] - }, - { - "__docId__": 83, - "kind": "member", - "name": "genre_station_id", - "memberof": "src/api/GenreStationFetcher.js~GenreStationFetcher", - "static": false, - "longname": "src/api/GenreStationFetcher.js~GenreStationFetcher#genre_station_id", - "access": null, - "description": "", - "lineNumber": 18, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 84, - "kind": "method", - "name": "fetchAllGenreStations", - "memberof": "src/api/GenreStationFetcher.js~GenreStationFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/GenreStationFetcher.js~GenreStationFetcher#fetchAllGenreStations", - "access": null, - "description": "Fetch all genre stations. The result will be paged.", - "examples": [ - "api.GenreStation.fetchAllGenreStations()" - ], - "see": [ - "https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations/endpoints/get-genre-stations" - ], - "lineNumber": 30, - "params": [ - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "name": "limit", - "description": "The size for one page." - }, - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "name": "offset", - "description": "The offset index for first element." - } - ], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 85, - "kind": "method", - "name": "setGenreStationID", - "memberof": "src/api/GenreStationFetcher.js~GenreStationFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/GenreStationFetcher.js~GenreStationFetcher#setGenreStationID", - "access": null, - "description": "Init the genre station fetcher.", - "see": [ - "https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations/endpoints/get-genre-stations-station_id" - ], - "lineNumber": 45, - "params": [ - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": false, - "name": "genre_station_id", - "description": "The ID of a genre station." - } - ], - "return": { - "nullable": null, - "types": [ - "GenreStation" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 86, - "kind": "member", - "name": "genre_station_id", - "memberof": "src/api/GenreStationFetcher.js~GenreStationFetcher", - "static": false, - "longname": "src/api/GenreStationFetcher.js~GenreStationFetcher#genre_station_id", - "access": null, - "description": null, - "lineNumber": 46, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 87, - "kind": "method", - "name": "fetchMetadata", - "memberof": "src/api/GenreStationFetcher.js~GenreStationFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/GenreStationFetcher.js~GenreStationFetcher#fetchMetadata", - "access": null, - "description": "Fetch metadata of the genre station with the genre station fetcher.", - "examples": [ - "api.GenreStation.setGenreStationID('TYq3EHFTl-1EOvJM5Y').fetchMetadata()" - ], - "see": [ - "https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations/endpoints/get-genre-stations-station_id" - ], - "lineNumber": 57, - "params": [], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 88, - "kind": "file", - "name": "src/api/HttpClient.js", - "content": "import axios from 'axios'\nimport {apiError} from '../catchError'\n\n/**\n * Do request to open api server with authorization header and error catch.\n */\nexport default class HttpClient {\n /**\n * @param {string} token - Need access token to initialize.\n */\n constructor(token) {\n /**\n * @private\n * @type {string}\n */\n this.token = 'Bearer ' + token\n }\n\n /**\n * Http get method.\n *\n * @param {string} endpoint - Uri endpoint.\n * @param {object} params - Uri parameters.\n * @return {Promise}\n */\n get(endpoint, params = {}) {\n return axios.get(endpoint, {\n params: params,\n headers: {Authorization: this.token, 'User-Agent': 'KKBOX JavaScript SDK'}\n }).catch(apiError)\n }\n\n /**\n * Http post method.\n *\n * @param {string} endpoint - Uri endpoint.\n * @param {object} data - Body json data.\n * @return {Promise}\n */\n post(endpoint, data = {}) {\n return axios.post(endpoint, data, {\n headers: {\n Authorization: this.token,\n 'User-Agent': 'KKBOX JavaScript SDK'\n }\n }).catch(apiError)\n }\n}", - "static": true, - "longname": "src/api/HttpClient.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 89, - "kind": "class", - "name": "HttpClient", - "memberof": "src/api/HttpClient.js", - "static": true, - "longname": "src/api/HttpClient.js~HttpClient", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/api/HttpClient.js", - "importStyle": "HttpClient", - "description": "Do request to open api server with authorization header and error catch.", - "lineNumber": 7, - "interface": false - }, - { - "__docId__": 90, - "kind": "constructor", - "name": "constructor", - "memberof": "src/api/HttpClient.js~HttpClient", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/HttpClient.js~HttpClient#constructor", - "access": null, - "description": "", - "lineNumber": 11, - "params": [ - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": false, - "name": "token", - "description": "Need access token to initialize." - } - ] - }, - { - "__docId__": 91, - "kind": "member", - "name": "token", - "memberof": "src/api/HttpClient.js~HttpClient", - "static": false, - "longname": "src/api/HttpClient.js~HttpClient#token", - "access": "private", - "description": "", - "lineNumber": 16, - "type": { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "description": null - } - }, - { - "__docId__": 92, - "kind": "method", - "name": "get", - "memberof": "src/api/HttpClient.js~HttpClient", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/HttpClient.js~HttpClient#get", - "access": null, - "description": "Http get method.", - "lineNumber": 26, - "params": [ - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": false, - "name": "endpoint", - "description": "Uri endpoint." - }, - { - "nullable": null, - "types": [ - "object" - ], - "spread": false, - "optional": false, - "name": "params", - "description": "Uri parameters." - } - ], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 93, - "kind": "method", - "name": "post", - "memberof": "src/api/HttpClient.js~HttpClient", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/HttpClient.js~HttpClient#post", - "access": null, - "description": "Http post method.", - "lineNumber": 40, - "params": [ - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": false, - "name": "endpoint", - "description": "Uri endpoint." - }, - { - "nullable": null, - "types": [ - "object" - ], - "spread": false, - "optional": false, - "name": "data", - "description": "Body json data." - } - ], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 94, - "kind": "file", - "name": "src/api/MoodStationFetcher.js", - "content": "import {MOOD_STATIONS as ENDPOINT} from '../Endpoint'\nimport Fetcher from './Fetcher'\n\n/**\n * Get mood stations.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/mood-stations\n */\nexport default class MoodStationFetcher extends Fetcher {\n /**\n * @ignore\n */\n constructor(http, territory = 'TW') {\n super(http, territory)\n\n /**\n * @ignore\n */\n this.mood_station_id = undefined\n }\n\n /**\n * Fetch all mood stations.\n *\n * @return {Promise}\n * @example api.moodStationFetcher.fetchAllMoodStations()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/mood-stations/endpoints/get-mood-stations\n */\n fetchAllMoodStations() {\n return this.http.get(ENDPOINT, {territory: this.territory})\n }\n\n /**\n * Init the mood station fetcher.\n *\n * @param {string} mood_station_id - The ID of a mood station.\n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory of a mood station.\n * @return {MoodStation}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/mood-stations/endpoints/get-mood-stations-station_id\n */\n setMoodStationID(mood_station_id, territory = 'TW') {\n this.mood_station_id = mood_station_id\n this.territory = territory\n return this\n }\n\n /**\n * Fetch the mood station's metadata.\n *\n * @return {Promise}\n * @example api.moodStationFetcher.setMoodStationID('StGZp2ToWq92diPHS7').fetchMetadata()\n */\n fetchMetadata() {\n return this.http.get(ENDPOINT + this.mood_station_id, {territory: this.territory})\n }\n}", - "static": true, - "longname": "src/api/MoodStationFetcher.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 95, - "kind": "class", - "name": "MoodStationFetcher", - "memberof": "src/api/MoodStationFetcher.js", - "static": true, - "longname": "src/api/MoodStationFetcher.js~MoodStationFetcher", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/api/MoodStationFetcher.js", - "importStyle": "MoodStationFetcher", - "description": "Get mood stations.", - "see": [ - "https://kkbox.gelato.io/docs/versions/1.1/resources/mood-stations" - ], - "lineNumber": 8, - "interface": false, - "extends": [ - "src/api/Fetcher.js~Fetcher" - ] - }, - { - "__docId__": 96, - "kind": "constructor", - "name": "constructor", - "memberof": "src/api/MoodStationFetcher.js~MoodStationFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/MoodStationFetcher.js~MoodStationFetcher#constructor", - "access": null, - "description": "", - "lineNumber": 12, - "ignore": true, - "params": [ - { - "name": "http", - "types": [ - "*" - ] - }, - { - "name": "territory", - "optional": true, - "types": [ - "string" - ], - "defaultRaw": "TW", - "defaultValue": "TW" - } - ] - }, - { - "__docId__": 97, - "kind": "member", - "name": "mood_station_id", - "memberof": "src/api/MoodStationFetcher.js~MoodStationFetcher", - "static": false, - "longname": "src/api/MoodStationFetcher.js~MoodStationFetcher#mood_station_id", - "access": null, - "description": "", - "lineNumber": 18, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 98, - "kind": "method", - "name": "fetchAllMoodStations", - "memberof": "src/api/MoodStationFetcher.js~MoodStationFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/MoodStationFetcher.js~MoodStationFetcher#fetchAllMoodStations", - "access": null, - "description": "Fetch all mood stations.", - "examples": [ - "api.moodStationFetcher.fetchAllMoodStations()" - ], - "see": [ - "https://kkbox.gelato.io/docs/versions/1.1/resources/mood-stations/endpoints/get-mood-stations" - ], - "lineNumber": 28, - "params": [], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 99, - "kind": "method", - "name": "setMoodStationID", - "memberof": "src/api/MoodStationFetcher.js~MoodStationFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/MoodStationFetcher.js~MoodStationFetcher#setMoodStationID", - "access": null, - "description": "Init the mood station fetcher.", - "see": [ - "https://kkbox.gelato.io/docs/versions/1.1/resources/mood-stations/endpoints/get-mood-stations-station_id" - ], - "lineNumber": 40, - "params": [ - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": false, - "name": "mood_station_id", - "description": "The ID of a mood station." - }, - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": true, - "defaultValue": " 'TW'", - "defaultRaw": " 'TW'", - "name": "territory", - "description": "['TW', 'HK', 'SG', 'MY', 'JP'] The territory of a mood station." - } - ], - "return": { - "nullable": null, - "types": [ - "MoodStation" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 100, - "kind": "member", - "name": "mood_station_id", - "memberof": "src/api/MoodStationFetcher.js~MoodStationFetcher", - "static": false, - "longname": "src/api/MoodStationFetcher.js~MoodStationFetcher#mood_station_id", - "access": null, - "description": null, - "lineNumber": 41, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 101, - "kind": "member", - "name": "territory", - "memberof": "src/api/MoodStationFetcher.js~MoodStationFetcher", - "static": false, - "longname": "src/api/MoodStationFetcher.js~MoodStationFetcher#territory", - "access": null, - "description": null, - "lineNumber": 42, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 102, - "kind": "method", - "name": "fetchMetadata", - "memberof": "src/api/MoodStationFetcher.js~MoodStationFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/MoodStationFetcher.js~MoodStationFetcher#fetchMetadata", - "access": null, - "description": "Fetch the mood station's metadata.", - "examples": [ - "api.moodStationFetcher.setMoodStationID('StGZp2ToWq92diPHS7').fetchMetadata()" - ], - "lineNumber": 52, - "params": [], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 103, - "kind": "file", - "name": "src/api/NewHitsPlaylistFetcher.js", - "content": "import {NEW_HITS_PLAYLISTS as ENDPOINT} from '../Endpoint'\nimport Fetcher from './Fetcher'\n\n/**\n * List new hits playlists.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists\n */\nexport default class NewHitsPlaylistFetcher extends Fetcher {\n /**\n * @ignore\n */\n constructor(http, territory = 'TW') {\n super(http, territory)\n\n /**\n * @ignore\n */\n this.playlist_id = undefined\n }\n\n /**\n * Fetch all new hits playlists.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newHitsPlaylistFetcher.fetchAllNewHitsPlaylists()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists/endpoints/get-new-hits-playlists\n */\n fetchAllNewHitsPlaylists(limit = undefined, offset = undefined) {\n return this.http.get(ENDPOINT, {\n territory: this.territory\n })\n }\n\n /**\n * Init the new hits playlist fetcher.\n *\n * @param {string} playlist_id - The playlist ID.\n * @return {NewHitsPlaylistFetcher}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists/endpoints/get-new-hits-playlists-playlist_id\n */\n setPlaylistID(playlist_id) {\n this.playlist_id = playlist_id \n return this\n }\n\n /**\n * Fetch metadata of the new release category you set.\n *\n * @return {Promise}\n * @example api.newHitsPlaylistFetcher.setPlaylistID('DZrC8m29ciOFY2JAm3').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists/endpoints/get-new-hits-playlists-playlist_id\n */\n fetchMetadata() {\n return this.http.get(ENDPOINT + this.playlist_id, {territory: this.territory})\n }\n}", - "static": true, - "longname": "src/api/NewHitsPlaylistFetcher.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 104, - "kind": "class", - "name": "NewHitsPlaylistFetcher", - "memberof": "src/api/NewHitsPlaylistFetcher.js", - "static": true, - "longname": "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/api/NewHitsPlaylistFetcher.js", - "importStyle": "NewHitsPlaylistFetcher", - "description": "List new hits playlists.", - "see": [ - "https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists" - ], - "lineNumber": 8, - "interface": false, - "extends": [ - "src/api/Fetcher.js~Fetcher" - ] - }, - { - "__docId__": 105, - "kind": "constructor", - "name": "constructor", - "memberof": "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher#constructor", - "access": null, - "description": "", - "lineNumber": 12, - "ignore": true, - "params": [ - { - "name": "http", - "types": [ - "*" - ] - }, - { - "name": "territory", - "optional": true, - "types": [ - "string" - ], - "defaultRaw": "TW", - "defaultValue": "TW" - } - ] - }, - { - "__docId__": 106, - "kind": "member", - "name": "playlist_id", - "memberof": "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher", - "static": false, - "longname": "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher#playlist_id", - "access": null, - "description": "", - "lineNumber": 18, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 107, - "kind": "method", - "name": "fetchAllNewHitsPlaylists", - "memberof": "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher#fetchAllNewHitsPlaylists", - "access": null, - "description": "Fetch all new hits playlists.", - "examples": [ - "api.newHitsPlaylistFetcher.fetchAllNewHitsPlaylists()" - ], - "see": [ - "https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists/endpoints/get-new-hits-playlists" - ], - "lineNumber": 30, - "params": [ - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "name": "limit", - "description": "The size of one page." - }, - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "name": "offset", - "description": "The offset index for first element." - } - ], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 108, - "kind": "method", - "name": "setPlaylistID", - "memberof": "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher#setPlaylistID", - "access": null, - "description": "Init the new hits playlist fetcher.", - "see": [ - "https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists/endpoints/get-new-hits-playlists-playlist_id" - ], - "lineNumber": 43, - "params": [ - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": false, - "name": "playlist_id", - "description": "The playlist ID." - } - ], - "return": { - "nullable": null, - "types": [ - "NewHitsPlaylistFetcher" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 109, - "kind": "member", - "name": "playlist_id", - "memberof": "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher", - "static": false, - "longname": "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher#playlist_id", - "access": null, - "description": null, - "lineNumber": 44, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 110, - "kind": "method", - "name": "fetchMetadata", - "memberof": "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher#fetchMetadata", - "access": null, - "description": "Fetch metadata of the new release category you set.", - "examples": [ - "api.newHitsPlaylistFetcher.setPlaylistID('DZrC8m29ciOFY2JAm3').fetchMetadata()" - ], - "see": [ - "https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists/endpoints/get-new-hits-playlists-playlist_id" - ], - "lineNumber": 55, - "params": [], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 111, - "kind": "file", - "name": "src/api/NewReleaseCategoryFetcher.js", - "content": "import {NEW_RELEASE_CATEGORIES as ENDPOINT} from '../Endpoint'\nimport Fetcher from './Fetcher'\n\n/**\n * List categories of new release albums.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories\n */\nexport default class NewReleaseCategoryFetcher extends Fetcher {\n /**\n * @ignore\n */\n constructor(http, territory = 'TW') {\n super(http, territory)\n\n /**\n * @ignore\n */\n this.category_id = undefined\n }\n\n /**\n * Fetch all new release categories.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.fetchAllNewReleaseCategories()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories\n */\n fetchAllNewReleaseCategories(limit = undefined, offset = undefined) {\n return this.http.get(ENDPOINT, {\n limit: limit,\n offset: offset,\n territory: this.territory\n })\n }\n\n /**\n * Init the new release category fetcher.\n *\n * @param {string} category_id - The category ID.\n * @return {NewReleaseCategoryFetcher}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories-category_id\n */\n setCategoryID(category_id) {\n this.category_id = category_id \n return this\n }\n\n /**\n * Fetch metadata of the new release category you set.\n *\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories-category_id\n */\n fetchMetadata() {\n return this.http.get(ENDPOINT + this.category_id, {territory: this.territory})\n }\n\n /**\n * Fetch albums of the new release category with the category fetcher you init. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchAlbums()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories-category_id-albums\n */\n fetchAlbums(limit = undefined, offset = undefined) {\n return this.http.get(ENDPOINT + this.category_id + '/albums', {\n territory: this.territory,\n limit: limit,\n offset: offset\n })\n }\n}", - "static": true, - "longname": "src/api/NewReleaseCategoryFetcher.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 112, - "kind": "class", - "name": "NewReleaseCategoryFetcher", - "memberof": "src/api/NewReleaseCategoryFetcher.js", - "static": true, - "longname": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/api/NewReleaseCategoryFetcher.js", - "importStyle": "NewReleaseCategoryFetcher", - "description": "List categories of new release albums.", - "see": [ - "https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories" - ], - "lineNumber": 8, - "interface": false, - "extends": [ - "src/api/Fetcher.js~Fetcher" - ] - }, - { - "__docId__": 113, - "kind": "constructor", - "name": "constructor", - "memberof": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher#constructor", - "access": null, - "description": "", - "lineNumber": 12, - "ignore": true, - "params": [ - { - "name": "http", - "types": [ - "*" - ] - }, - { - "name": "territory", - "optional": true, - "types": [ - "string" - ], - "defaultRaw": "TW", - "defaultValue": "TW" - } - ] - }, - { - "__docId__": 114, - "kind": "member", - "name": "category_id", - "memberof": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher", - "static": false, - "longname": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher#category_id", - "access": null, - "description": "", - "lineNumber": 18, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 115, - "kind": "method", - "name": "fetchAllNewReleaseCategories", - "memberof": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher#fetchAllNewReleaseCategories", - "access": null, - "description": "Fetch all new release categories.", - "examples": [ - "api.newReleaseCategoryFetcher.fetchAllNewReleaseCategories()" - ], - "see": [ - "https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories" - ], - "lineNumber": 30, - "params": [ - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "name": "limit", - "description": "The size of one page." - }, - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "name": "offset", - "description": "The offset index for first element." - } - ], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 116, - "kind": "method", - "name": "setCategoryID", - "memberof": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher#setCategoryID", - "access": null, - "description": "Init the new release category fetcher.", - "see": [ - "https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories-category_id" - ], - "lineNumber": 45, - "params": [ - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": false, - "name": "category_id", - "description": "The category ID." - } - ], - "return": { - "nullable": null, - "types": [ - "NewReleaseCategoryFetcher" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 117, - "kind": "member", - "name": "category_id", - "memberof": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher", - "static": false, - "longname": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher#category_id", - "access": null, - "description": null, - "lineNumber": 46, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 118, - "kind": "method", - "name": "fetchMetadata", - "memberof": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher#fetchMetadata", - "access": null, - "description": "Fetch metadata of the new release category you set.", - "examples": [ - "api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchMetadata()" - ], - "see": [ - "https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories-category_id" - ], - "lineNumber": 57, - "params": [], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 119, - "kind": "method", - "name": "fetchAlbums", - "memberof": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher#fetchAlbums", - "access": null, - "description": "Fetch albums of the new release category with the category fetcher you init. Result will be paged.", - "examples": [ - "api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchAlbums()" - ], - "see": [ - "https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories-category_id-albums" - ], - "lineNumber": 70, - "params": [ - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "name": "limit", - "description": "The size of one page." - }, - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "name": "offset", - "description": "The offset index for first element." - } - ], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 120, - "kind": "file", - "name": "src/api/SearchFetcher.js", - "content": "import {SEARCH as ENDPOINT} from '../Endpoint'\nimport Fetcher from './Fetcher'\n\n/**\n * Search API.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/search\n */\nexport default class SearchFetcher extends Fetcher {\n /**\n * @ignore\n */\n constructor(http, territory = 'TW') {\n super(http, territory)\n\n /**\n * @ignore\n */\n this.filterConditions = undefined\n\n /**\n * @ignore\n */\n this.q = undefined\n\n /**\n * @ignore\n */\n this.type = undefined\n }\n\n /**\n * Filter what you don't want when search.\n *\n * @param {Object} [conditions] - search conditions.\n * @param {string} conditions.track - track's name.\n * @param {string} conditions.album - album's name.\n * @param {string} conditions.artist - artist's name.\n * @param {string} conditions.playlist - playlist's title.\n * @param {string} conditions.available_territory - tracks and albums available territory.\n * @return {Search}\n * @example api.searchFetcher.setSearchCriteria('五月天 好好').filter({artist: '五月天'}).fetchSearchResult()\n */\n filter(conditions = {\n track = undefined,\n album = undefined,\n artist = undefined,\n playlist = undefined,\n available_territory = undefined\n } = {}) {\n this.filterConditions = conditions\n return this\n }\n\n /**\n * Init the search fetcher for the artist, album, track or playlist.\n *\n * @param {string} q - The keyword to be searched.\n * @param {string} [type] - ['artist', 'album', 'track', 'playlist'] The type of search. Default to search all types. If you want to use multiple type at the same time, you may use ',' to separate them.\n * @return {Search}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/search\n */\n setSearchCriteria(q, type = undefined) {\n this.q = q\n this.type = type \n return this\n }\n\n /**\n * Fetch the search result.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.searchFetcher.setSearchCriteria('五月天 好好').fetchSearchResult()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/search/endpoints/get-search\n */\n fetchSearchResult(limit = undefined, offset = undefined) {\n return this.http.get(ENDPOINT, {\n q: this.q,\n type: this.type,\n territory: this.territory,\n limit: limit,\n offset: offset \n }).then(doFilter.bind(this))\n }\n}\n\nfunction doFilter(response) {\n if (this.filterConditions !== undefined) {\n const data = Object.keys(response.data).map(key => {\n switch (key) {\n case 'tracks':\n return {\n [key]: Object.assign(response.data[key], {\n data: response.data[key].data\n .filter(track => {\n if (this.filterConditions.available_territory !== undefined &&\n !track.available_territories.includes(this.filterConditions.available_territory)) {\n return false\n }\n if (this.filterConditions.track !== undefined &&\n !new RegExp('.*' + this.filterConditions.track + '.*').test(track.name)) {\n return false\n }\n if (this.filterConditions.album !== undefined &&\n !new RegExp('.*' + this.filterConditions.album + '.*').test(track.album.name)) {\n return false\n }\n return !(this.filterConditions.artist !== undefined &&\n !new RegExp('.*' + this.filterConditions.artist + '.*').test(track.album.artist.name))\n })\n })\n } \n case 'albums':\n return {\n [key]: Object.assign(response.data[key], {\n data: response.data[key].data\n .filter(album => {\n if (this.filterConditions.available_territory !== undefined &&\n !album.available_territories.includes(this.filterConditions.available_territory)) {\n return false\n }\n if (this.filterConditions.album !== undefined &&\n !new RegExp('.*' + this.filterConditions.album + '.*').test(album.name)) {\n return false\n }\n return !(this.filterConditions.artist !== undefined &&\n !new RegExp('.*' + this.filterConditions.artist + '.*').test(album.artist.name))\n })\n })\n } \n case 'artists':\n return {\n [key]: Object.assign(response.data[key], {\n data: response.data[key].data\n .filter(artist => {\n if (this.filterConditions.artist === undefined) {\n return true\n } else {\n return new RegExp('.*' + this.filterConditions.artist + '.*').test(artist.name)\n }\n })\n })\n } \n case 'playlists':\n return {\n [key]: Object.assign(response.data[key], {\n data: response.data[key].data\n .filter(playlist => {\n if (this.filterConditions.playlist === undefined) {\n return true\n } else {\n return new RegExp('.*' + this.filterConditions.playlist + '.*').test(playlist.title)\n }\n })\n })\n } \n default:\n return {[key]: response.data[key]}\n }\n })\n return Object.assign(response, {data: Object.assign(...data)})\n } else {\n return response\n }\n}", - "static": true, - "longname": "src/api/SearchFetcher.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 121, - "kind": "class", - "name": "SearchFetcher", - "memberof": "src/api/SearchFetcher.js", - "static": true, - "longname": "src/api/SearchFetcher.js~SearchFetcher", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/api/SearchFetcher.js", - "importStyle": "SearchFetcher", - "description": "Search API.", - "see": [ - "https://kkbox.gelato.io/docs/versions/1.1/resources/search" - ], - "lineNumber": 8, - "interface": false, - "extends": [ - "src/api/Fetcher.js~Fetcher" - ] - }, - { - "__docId__": 122, - "kind": "constructor", - "name": "constructor", - "memberof": "src/api/SearchFetcher.js~SearchFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/SearchFetcher.js~SearchFetcher#constructor", - "access": null, - "description": "", - "lineNumber": 12, - "ignore": true, - "params": [ - { - "name": "http", - "types": [ - "*" - ] - }, - { - "name": "territory", - "optional": true, - "types": [ - "string" - ], - "defaultRaw": "TW", - "defaultValue": "TW" - } - ] - }, - { - "__docId__": 123, - "kind": "member", - "name": "filterConditions", - "memberof": "src/api/SearchFetcher.js~SearchFetcher", - "static": false, - "longname": "src/api/SearchFetcher.js~SearchFetcher#filterConditions", - "access": null, - "description": "", - "lineNumber": 18, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 124, - "kind": "member", - "name": "q", - "memberof": "src/api/SearchFetcher.js~SearchFetcher", - "static": false, - "longname": "src/api/SearchFetcher.js~SearchFetcher#q", - "access": null, - "description": "", - "lineNumber": 23, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 125, - "kind": "member", - "name": "type", - "memberof": "src/api/SearchFetcher.js~SearchFetcher", - "static": false, - "longname": "src/api/SearchFetcher.js~SearchFetcher#type", - "access": null, - "description": "", - "lineNumber": 28, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 126, - "kind": "method", - "name": "filter", - "memberof": "src/api/SearchFetcher.js~SearchFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/SearchFetcher.js~SearchFetcher#filter", - "access": null, - "description": "Filter what you don't want when search.", - "examples": [ - "api.searchFetcher.setSearchCriteria('五月天 好好').filter({artist: '五月天'}).fetchSearchResult()" - ], - "lineNumber": 43, - "params": [ - { - "nullable": null, - "types": [ - "Object" - ], - "spread": false, - "optional": true, - "name": "conditions", - "description": "search conditions." - }, - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": false, - "name": "conditions.track", - "description": "track's name." - }, - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": false, - "name": "conditions.album", - "description": "album's name." - }, - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": false, - "name": "conditions.artist", - "description": "artist's name." - }, - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": false, - "name": "conditions.playlist", - "description": "playlist's title." - }, - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": false, - "name": "conditions.available_territory", - "description": "tracks and albums available territory." - } - ], - "return": { - "nullable": null, - "types": [ - "Search" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 127, - "kind": "member", - "name": "filterConditions", - "memberof": "src/api/SearchFetcher.js~SearchFetcher", - "static": false, - "longname": "src/api/SearchFetcher.js~SearchFetcher#filterConditions", - "access": null, - "description": null, - "lineNumber": 50, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 128, - "kind": "method", - "name": "setSearchCriteria", - "memberof": "src/api/SearchFetcher.js~SearchFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/SearchFetcher.js~SearchFetcher#setSearchCriteria", - "access": null, - "description": "Init the search fetcher for the artist, album, track or playlist.", - "see": [ - "https://kkbox.gelato.io/docs/versions/1.1/resources/search" - ], - "lineNumber": 62, - "params": [ - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": false, - "name": "q", - "description": "The keyword to be searched." - }, - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": true, - "name": "type", - "description": "['artist', 'album', 'track', 'playlist'] The type of search. Default to search all types. If you want to use multiple type at the same time, you may use ',' to separate them." - } - ], - "return": { - "nullable": null, - "types": [ - "Search" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 129, - "kind": "member", - "name": "q", - "memberof": "src/api/SearchFetcher.js~SearchFetcher", - "static": false, - "longname": "src/api/SearchFetcher.js~SearchFetcher#q", - "access": null, - "description": null, - "lineNumber": 63, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 130, - "kind": "member", - "name": "type", - "memberof": "src/api/SearchFetcher.js~SearchFetcher", - "static": false, - "longname": "src/api/SearchFetcher.js~SearchFetcher#type", - "access": null, - "description": null, - "lineNumber": 64, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 131, - "kind": "method", - "name": "fetchSearchResult", - "memberof": "src/api/SearchFetcher.js~SearchFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/SearchFetcher.js~SearchFetcher#fetchSearchResult", - "access": null, - "description": "Fetch the search result.", - "examples": [ - "api.searchFetcher.setSearchCriteria('五月天 好好').fetchSearchResult()" - ], - "see": [ - "https://kkbox.gelato.io/docs/versions/1.1/resources/search/endpoints/get-search" - ], - "lineNumber": 77, - "params": [ - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "name": "limit", - "description": "The size of one page." - }, - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "name": "offset", - "description": "The offset index for first element." - } - ], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 132, - "kind": "function", - "name": "doFilter", - "memberof": "src/api/SearchFetcher.js", - "generator": false, - "async": false, - "static": true, - "longname": "src/api/SearchFetcher.js~doFilter", - "access": null, - "export": false, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/api/SearchFetcher.js", - "importStyle": null, - "description": null, - "lineNumber": 88, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "response", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 133, - "kind": "file", - "name": "src/api/SharedPlaylistFetcher.js", - "content": "import {SHARED_PLAYLISTS as ENDPOINT} from '../Endpoint'\nimport Fetcher from './Fetcher'\n\n/**\n * Get playlist metadata.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists\n */\nexport default class SharedPlaylistFetcher extends Fetcher {\n /**\n * @ignore\n */\n constructor(http, territory = 'TW') {\n super(http, territory)\n\n /**\n * @ignore\n */\n this.playlist_id = undefined\n }\n\n /**\n * Init the shared playlist fetcher.\n *\n * @param {string} playlist_id - The ID of a playlist.\n * @return {SharedPlaylistFetcher}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists/endpoints/get-shared-playlists-playlist_id\n */\n setPlaylistID(playlist_id) {\n this.playlist_id = playlist_id\n return this\n }\n\n /**\n * Fetch metadata of the shared playlist with the shared playlist fetcher.\n *\n * @return {Promise}\n * @example api.SharedPlaylistFetcher.setPlaylistID('4nUZM-TY2aVxZ2xaA-').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists/endpoints/get-shared-playlists-playlist_id\n */\n fetchMetadata() {\n return this.http.get(ENDPOINT + this.playlist_id, {territory: this.territory})\n }\n\n /**\n * Get KKBOX web widget uri of the playlist.\n * @example https://widget.kkbox.com/v1/?id=KmjwNXizu5MxHFSloP&type=playlist\n * @return {string}\n */\n getWidgetUri(){\n return `https://widget.kkbox.com/v1/?id=${this.playlist_id}&type=playlist`\n }\n\n /**\n * Fetch track list of a shared playlist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.SharedPlaylistFetcher.setPlaylistID('4nUZM-TY2aVxZ2xaA-').fetchTracks()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists/endpoints/get-shared-playlists-playlist_id-tracks\n */\n fetchTracks(limit = undefined, offset = undefined) {\n return this.http.get(ENDPOINT + this.playlist_id + '/tracks', {\n territory: this.territory,\n limit: limit,\n offset: offset\n })\n }\n}", - "static": true, - "longname": "src/api/SharedPlaylistFetcher.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 134, - "kind": "class", - "name": "SharedPlaylistFetcher", - "memberof": "src/api/SharedPlaylistFetcher.js", - "static": true, - "longname": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/api/SharedPlaylistFetcher.js", - "importStyle": "SharedPlaylistFetcher", - "description": "Get playlist metadata.", - "see": [ - "https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists" - ], - "lineNumber": 8, - "interface": false, - "extends": [ - "src/api/Fetcher.js~Fetcher" - ] - }, - { - "__docId__": 135, - "kind": "constructor", - "name": "constructor", - "memberof": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher#constructor", - "access": null, - "description": "", - "lineNumber": 12, - "ignore": true, - "params": [ - { - "name": "http", - "types": [ - "*" - ] - }, - { - "name": "territory", - "optional": true, - "types": [ - "string" - ], - "defaultRaw": "TW", - "defaultValue": "TW" - } - ] - }, - { - "__docId__": 136, - "kind": "member", - "name": "playlist_id", - "memberof": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher", - "static": false, - "longname": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher#playlist_id", - "access": null, - "description": "", - "lineNumber": 18, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 137, - "kind": "method", - "name": "setPlaylistID", - "memberof": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher#setPlaylistID", - "access": null, - "description": "Init the shared playlist fetcher.", - "see": [ - "https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists/endpoints/get-shared-playlists-playlist_id" - ], - "lineNumber": 28, - "params": [ - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": false, - "name": "playlist_id", - "description": "The ID of a playlist." - } - ], - "return": { - "nullable": null, - "types": [ - "SharedPlaylistFetcher" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 138, - "kind": "member", - "name": "playlist_id", - "memberof": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher", - "static": false, - "longname": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher#playlist_id", - "access": null, - "description": null, - "lineNumber": 29, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 139, - "kind": "method", - "name": "fetchMetadata", - "memberof": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher#fetchMetadata", - "access": null, - "description": "Fetch metadata of the shared playlist with the shared playlist fetcher.", - "examples": [ - "api.SharedPlaylistFetcher.setPlaylistID('4nUZM-TY2aVxZ2xaA-').fetchMetadata()" - ], - "see": [ - "https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists/endpoints/get-shared-playlists-playlist_id" - ], - "lineNumber": 40, - "params": [], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 140, - "kind": "method", - "name": "getWidgetUri", - "memberof": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher#getWidgetUri", - "access": null, - "description": "Get KKBOX web widget uri of the playlist.", - "examples": [ - "https://widget.kkbox.com/v1/?id=KmjwNXizu5MxHFSloP&type=playlist" - ], - "lineNumber": 49, - "params": [], - "return": { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 141, - "kind": "method", - "name": "fetchTracks", - "memberof": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher#fetchTracks", - "access": null, - "description": "Fetch track list of a shared playlist.", - "examples": [ - "api.SharedPlaylistFetcher.setPlaylistID('4nUZM-TY2aVxZ2xaA-').fetchTracks()" - ], - "see": [ - "https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists/endpoints/get-shared-playlists-playlist_id-tracks" - ], - "lineNumber": 62, - "params": [ - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "name": "limit", - "description": "The size for one page." - }, - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "name": "offset", - "description": "The offset index for first element." - } - ], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 142, - "kind": "file", - "name": "src/api/TrackFetcher.js", - "content": "import {TRACKS as ENDPOINT} from '../Endpoint'\nimport Fetcher from './Fetcher'\n\n/**\n * Get metadata of a track.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/tracks\n */\nexport default class TrackFetcher extends Fetcher {\n /**\n * @ignore\n */\n constructor(http, territory = 'TW') {\n super(http, territory)\n\n /**\n * @ignore\n */\n this.track_id = undefined\n }\n\n /**\n * Set the track fetcher's track ID.\n *\n * @param {string} track_id - The ID of a track.\n * @return {Track}\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/tracks/endpoints/get-tracks-track_id\n */\n setTrackID(track_id) {\n this.track_id = track_id\n return this\n }\n\n /**\n * Get metadata of the track with the track fetcher.\n *\n * @return {Promise}\n * @example api.Track.setTrackID('KpnEGVHEsGgkoB0MBk').fetchMetadata()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/tracks/endpoints/get-tracks-track_id\n */\n fetchMetadata() {\n return this.http.get(ENDPOINT + this.track_id, {territory: this.territory})\n }\n\n /**\n * Get KKBOX web widget uri of the track.\n * @example https://widget.kkbox.com/v1/?id=8sD5pE4dV0Zqmmler6&type=song\n * @return {string}\n */\n getWidgetUri(){\n return `https://widget.kkbox.com/v1/?id=${this.track_id}&type=song`\n }\n}", - "static": true, - "longname": "src/api/TrackFetcher.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 143, - "kind": "class", - "name": "TrackFetcher", - "memberof": "src/api/TrackFetcher.js", - "static": true, - "longname": "src/api/TrackFetcher.js~TrackFetcher", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/api/TrackFetcher.js", - "importStyle": "TrackFetcher", - "description": "Get metadata of a track.", - "see": [ - "https://kkbox.gelato.io/docs/versions/1.1/resources/tracks" - ], - "lineNumber": 8, - "interface": false, - "extends": [ - "src/api/Fetcher.js~Fetcher" - ] - }, - { - "__docId__": 144, - "kind": "constructor", - "name": "constructor", - "memberof": "src/api/TrackFetcher.js~TrackFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/TrackFetcher.js~TrackFetcher#constructor", - "access": null, - "description": "", - "lineNumber": 12, - "ignore": true, - "params": [ - { - "name": "http", - "types": [ - "*" - ] - }, - { - "name": "territory", - "optional": true, - "types": [ - "string" - ], - "defaultRaw": "TW", - "defaultValue": "TW" - } - ] - }, - { - "__docId__": 145, - "kind": "member", - "name": "track_id", - "memberof": "src/api/TrackFetcher.js~TrackFetcher", - "static": false, - "longname": "src/api/TrackFetcher.js~TrackFetcher#track_id", - "access": null, - "description": "", - "lineNumber": 18, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 146, - "kind": "method", - "name": "setTrackID", - "memberof": "src/api/TrackFetcher.js~TrackFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/TrackFetcher.js~TrackFetcher#setTrackID", - "access": null, - "description": "Set the track fetcher's track ID.", - "see": [ - "https://kkbox.gelato.io/docs/versions/1.1/resources/tracks/endpoints/get-tracks-track_id" - ], - "lineNumber": 28, - "params": [ - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": false, - "name": "track_id", - "description": "The ID of a track." - } - ], - "return": { - "nullable": null, - "types": [ - "Track" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 147, - "kind": "member", - "name": "track_id", - "memberof": "src/api/TrackFetcher.js~TrackFetcher", - "static": false, - "longname": "src/api/TrackFetcher.js~TrackFetcher#track_id", - "access": null, - "description": null, - "lineNumber": 29, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 148, - "kind": "method", - "name": "fetchMetadata", - "memberof": "src/api/TrackFetcher.js~TrackFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/TrackFetcher.js~TrackFetcher#fetchMetadata", - "access": null, - "description": "Get metadata of the track with the track fetcher.", - "examples": [ - "api.Track.setTrackID('KpnEGVHEsGgkoB0MBk').fetchMetadata()" - ], - "see": [ - "https://kkbox.gelato.io/docs/versions/1.1/resources/tracks/endpoints/get-tracks-track_id" - ], - "lineNumber": 40, - "params": [], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 149, - "kind": "method", - "name": "getWidgetUri", - "memberof": "src/api/TrackFetcher.js~TrackFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/api/TrackFetcher.js~TrackFetcher#getWidgetUri", - "access": null, - "description": "Get KKBOX web widget uri of the track.", - "examples": [ - "https://widget.kkbox.com/v1/?id=8sD5pE4dV0Zqmmler6&type=song" - ], - "lineNumber": 49, - "params": [], - "return": { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 150, - "kind": "file", - "name": "src/auth/Auth.js", - "content": "import ClientCredentialsFlow from './ClientCredentialsFlow'\nimport TokenFetcher from './TokenFetcher'\n\n/**\n * Implements various KKBOX OAuth 2.0 authorization flows.\n */\nexport default class Auth {\n /**\n * Initialize the Auth object with client id and client secret.\n *\n * @param {string} client_id\n * @param {string} client_secret\n * @example new Auth(client_id, client_secret)\n */\n constructor(client_id, client_secret) {\n /**\n * @type {TokenFetcher}\n */\n this.tokenFetcher = new TokenFetcher(client_id, client_secret)\n\n /**\n * @type {ClientCredentialsFlow}\n */\n this.clientCredentialsFlow = new ClientCredentialsFlow(this.tokenFetcher)\n }\n}", - "static": true, - "longname": "src/auth/Auth.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 151, - "kind": "class", - "name": "Auth", - "memberof": "src/auth/Auth.js", - "static": true, - "longname": "src/auth/Auth.js~Auth", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/auth/Auth.js", - "importStyle": "Auth", - "description": "Implements various KKBOX OAuth 2.0 authorization flows.", - "lineNumber": 7, - "interface": false - }, - { - "__docId__": 152, - "kind": "constructor", - "name": "constructor", - "memberof": "src/auth/Auth.js~Auth", - "generator": false, - "async": false, - "static": false, - "longname": "src/auth/Auth.js~Auth#constructor", - "access": null, - "description": "Initialize the Auth object with client id and client secret.", - "examples": [ - "new Auth(client_id, client_secret)" - ], - "lineNumber": 15, - "params": [ - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": false, - "name": "client_id", - "description": "" - }, - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": false, - "name": "client_secret", - "description": "" - } - ] - }, - { - "__docId__": 153, - "kind": "member", - "name": "tokenFetcher", - "memberof": "src/auth/Auth.js~Auth", - "static": false, - "longname": "src/auth/Auth.js~Auth#tokenFetcher", - "access": null, - "description": "", - "lineNumber": 19, - "type": { - "nullable": null, - "types": [ - "TokenFetcher" - ], - "spread": false, - "description": null - } - }, - { - "__docId__": 154, - "kind": "member", - "name": "clientCredentialsFlow", - "memberof": "src/auth/Auth.js~Auth", - "static": false, - "longname": "src/auth/Auth.js~Auth#clientCredentialsFlow", - "access": null, - "description": "", - "lineNumber": 24, - "type": { - "nullable": null, - "types": [ - "ClientCredentialsFlow" - ], - "spread": false, - "description": null - } - }, - { - "__docId__": 155, - "kind": "file", - "name": "src/auth/ClientCredentialsFlow.js", - "content": "/**\n * Implements the client credentials flow. Used for accessing APIs that don't need any KKBOX\n * user's personal data.\n * @see https://kkbox.gelato.io/docs/versions/1.1/authentication\n */\nexport default class ClientCredentialsFlow {\n /**\n * @ignore\n */\n constructor(token) {\n /**\n * @ignore\n */\n this.token = token\n }\n\n /**\n * Fetch access token.\n *\n * @return {Promise}\n * @example auth.clientCredentialsFlow.fetchAccessToken()\n */\n fetchAccessToken() {\n return this.token.fetchAccessToken({grant_type: 'client_credentials'})\n }\n}", - "static": true, - "longname": "src/auth/ClientCredentialsFlow.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 156, - "kind": "class", - "name": "ClientCredentialsFlow", - "memberof": "src/auth/ClientCredentialsFlow.js", - "static": true, - "longname": "src/auth/ClientCredentialsFlow.js~ClientCredentialsFlow", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/auth/ClientCredentialsFlow.js", - "importStyle": "ClientCredentialsFlow", - "description": "Implements the client credentials flow. Used for accessing APIs that don't need any KKBOX\nuser's personal data.", - "see": [ - "https://kkbox.gelato.io/docs/versions/1.1/authentication" - ], - "lineNumber": 6, - "interface": false - }, - { - "__docId__": 157, - "kind": "constructor", - "name": "constructor", - "memberof": "src/auth/ClientCredentialsFlow.js~ClientCredentialsFlow", - "generator": false, - "async": false, - "static": false, - "longname": "src/auth/ClientCredentialsFlow.js~ClientCredentialsFlow#constructor", - "access": null, - "description": "", - "lineNumber": 10, - "ignore": true, - "params": [ - { - "name": "token", - "types": [ - "*" - ] - } - ] - }, - { - "__docId__": 158, - "kind": "member", - "name": "token", - "memberof": "src/auth/ClientCredentialsFlow.js~ClientCredentialsFlow", - "static": false, - "longname": "src/auth/ClientCredentialsFlow.js~ClientCredentialsFlow#token", - "access": null, - "description": "", - "lineNumber": 14, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 159, - "kind": "method", - "name": "fetchAccessToken", - "memberof": "src/auth/ClientCredentialsFlow.js~ClientCredentialsFlow", - "generator": false, - "async": false, - "static": false, - "longname": "src/auth/ClientCredentialsFlow.js~ClientCredentialsFlow#fetchAccessToken", - "access": null, - "description": "Fetch access token.", - "examples": [ - "auth.clientCredentialsFlow.fetchAccessToken()" - ], - "lineNumber": 23, - "params": [], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 160, - "kind": "file", - "name": "src/auth/TokenFetcher.js", - "content": "import axios from 'axios'\nimport {authError} from '../catchError'\nimport querystring from 'querystring'\nimport {Token as ENDPOINT_TOKEN} from '../Endpoint'\n\n/**\n * Fetches access token.\n */\nexport default class TokenFetcher {\n /**\n * @ignore\n */\n constructor(client_id, client_secret) {\n /**\n * @ignore\n */\n this.client_id = client_id\n\n /**\n * @ignore\n */\n this.client_secret = client_secret\n }\n\n /**\n * Fetches access token.\n *\n * @param {object} params - Form data.\n * @return {Promise}\n */\n fetchAccessToken(params) {\n return axios.post(ENDPOINT_TOKEN, querystring.stringify(params), {\n auth: {\n username: this.client_id,\n password: this.client_secret\n },\n headers: {'User-Agent': 'KKBOX JavaScript SDK'}\n }).catch(authError)\n }\n}", - "static": true, - "longname": "src/auth/TokenFetcher.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 161, - "kind": "class", - "name": "TokenFetcher", - "memberof": "src/auth/TokenFetcher.js", - "static": true, - "longname": "src/auth/TokenFetcher.js~TokenFetcher", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/auth/TokenFetcher.js", - "importStyle": "TokenFetcher", - "description": "Fetches access token.", - "lineNumber": 9, - "interface": false - }, - { - "__docId__": 162, - "kind": "constructor", - "name": "constructor", - "memberof": "src/auth/TokenFetcher.js~TokenFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/auth/TokenFetcher.js~TokenFetcher#constructor", - "access": null, - "description": "", - "lineNumber": 13, - "ignore": true, - "params": [ - { - "name": "client_id", - "types": [ - "*" - ] - }, - { - "name": "client_secret", - "types": [ - "*" - ] - } - ] - }, - { - "__docId__": 163, - "kind": "member", - "name": "client_id", - "memberof": "src/auth/TokenFetcher.js~TokenFetcher", - "static": false, - "longname": "src/auth/TokenFetcher.js~TokenFetcher#client_id", - "access": null, - "description": "", - "lineNumber": 17, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 164, - "kind": "member", - "name": "client_secret", - "memberof": "src/auth/TokenFetcher.js~TokenFetcher", - "static": false, - "longname": "src/auth/TokenFetcher.js~TokenFetcher#client_secret", - "access": null, - "description": "", - "lineNumber": 22, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 165, - "kind": "method", - "name": "fetchAccessToken", - "memberof": "src/auth/TokenFetcher.js~TokenFetcher", - "generator": false, - "async": false, - "static": false, - "longname": "src/auth/TokenFetcher.js~TokenFetcher#fetchAccessToken", - "access": null, - "description": "Fetches access token.", - "lineNumber": 31, - "params": [ - { - "nullable": null, - "types": [ - "object" - ], - "spread": false, - "optional": false, - "name": "params", - "description": "Form data." - } - ], - "return": { - "nullable": null, - "types": [ - "Promise" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 166, - "kind": "file", - "name": "src/catchError.js", - "content": "/**\n * @ignore\n */\nexport const apiError = (error) => {\n if (error.response) {\n throw new Error(error.response.data.error.message)\n } else {\n throw new Error(error.message)\n }\n}\n\n/**\n * @ignore\n */\nexport const authError = (error) => {\n throw new Error(error.response.data.error)\n}", - "static": true, - "longname": "src/catchError.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 167, - "kind": "function", - "name": "apiError", - "memberof": "src/catchError.js", - "generator": false, - "async": false, - "static": true, - "longname": "src/catchError.js~apiError", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/catchError.js", - "importStyle": "{apiError}", - "description": "", - "lineNumber": 4, - "ignore": true, - "params": [ - { - "name": "error", - "types": [ - "*" - ] - } - ] - }, - { - "__docId__": 168, - "kind": "function", - "name": "authError", - "memberof": "src/catchError.js", - "generator": false, - "async": false, - "static": true, - "longname": "src/catchError.js~authError", - "access": null, - "export": true, - "importPath": "@kkboxorg/kkbox-javascript-developer-sdk/src/catchError.js", - "importStyle": "{authError}", - "description": "", - "lineNumber": 15, - "ignore": true, - "params": [ - { - "name": "error", - "types": [ - "*" - ] - } - ] - }, - { - "__docId__": 170, - "kind": "external", - "name": "Infinity", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Infinity", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 171, - "kind": "external", - "name": "NaN", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~NaN", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 172, - "kind": "external", - "name": "undefined", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~undefined", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 173, - "kind": "external", - "name": "null", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~null", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 174, - "kind": "external", - "name": "Object", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Object", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 175, - "kind": "external", - "name": "object", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~object", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 176, - "kind": "external", - "name": "Function", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Function", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 177, - "kind": "external", - "name": "function", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~function", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 178, - "kind": "external", - "name": "Boolean", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Boolean", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 179, - "kind": "external", - "name": "boolean", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~boolean", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 180, - "kind": "external", - "name": "Symbol", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Symbol", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 181, - "kind": "external", - "name": "Error", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Error", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 182, - "kind": "external", - "name": "EvalError", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~EvalError", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 183, - "kind": "external", - "name": "InternalError", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~InternalError", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 184, - "kind": "external", - "name": "RangeError", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~RangeError", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 185, - "kind": "external", - "name": "ReferenceError", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~ReferenceError", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 186, - "kind": "external", - "name": "SyntaxError", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~SyntaxError", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 187, - "kind": "external", - "name": "TypeError", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~TypeError", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 188, - "kind": "external", - "name": "URIError", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~URIError", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 189, - "kind": "external", - "name": "Number", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Number", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 190, - "kind": "external", - "name": "number", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~number", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 191, - "kind": "external", - "name": "Date", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Date", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 192, - "kind": "external", - "name": "String", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~String", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 193, - "kind": "external", - "name": "string", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~string", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 194, - "kind": "external", - "name": "RegExp", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~RegExp", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 195, - "kind": "external", - "name": "Array", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Array", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 196, - "kind": "external", - "name": "Int8Array", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Int8Array", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 197, - "kind": "external", - "name": "Uint8Array", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Uint8Array", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 198, - "kind": "external", - "name": "Uint8ClampedArray", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Uint8ClampedArray", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 199, - "kind": "external", - "name": "Int16Array", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Int16Array", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 200, - "kind": "external", - "name": "Uint16Array", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Uint16Array", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 201, - "kind": "external", - "name": "Int32Array", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Int32Array", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 202, - "kind": "external", - "name": "Uint32Array", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Uint32Array", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 203, - "kind": "external", - "name": "Float32Array", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Float32Array", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 204, - "kind": "external", - "name": "Float64Array", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Float64Array", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 205, - "kind": "external", - "name": "Map", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Map", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 206, - "kind": "external", - "name": "Set", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Set", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 207, - "kind": "external", - "name": "WeakMap", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~WeakMap", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 208, - "kind": "external", - "name": "WeakSet", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~WeakSet", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 209, - "kind": "external", - "name": "ArrayBuffer", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~ArrayBuffer", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 210, - "kind": "external", - "name": "DataView", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~DataView", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 211, - "kind": "external", - "name": "JSON", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~JSON", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 212, - "kind": "external", - "name": "Promise", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Promise", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 213, - "kind": "external", - "name": "Generator", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Generator", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 214, - "kind": "external", - "name": "GeneratorFunction", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~GeneratorFunction", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 215, - "kind": "external", - "name": "Reflect", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Reflect", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 216, - "kind": "external", - "name": "Proxy", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Proxy", - "access": null, - "description": "", - "lineNumber": 193, - "builtinExternal": true - }, - { - "__docId__": 218, - "kind": "external", - "name": "CanvasRenderingContext2D", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D", - "memberof": "BuiltinExternal/WebAPIExternal.js", - "static": true, - "longname": "BuiltinExternal/WebAPIExternal.js~CanvasRenderingContext2D", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 219, - "kind": "external", - "name": "DocumentFragment", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment", - "memberof": "BuiltinExternal/WebAPIExternal.js", - "static": true, - "longname": "BuiltinExternal/WebAPIExternal.js~DocumentFragment", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 220, - "kind": "external", - "name": "Element", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Element", - "memberof": "BuiltinExternal/WebAPIExternal.js", - "static": true, - "longname": "BuiltinExternal/WebAPIExternal.js~Element", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 221, - "kind": "external", - "name": "Event", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Event", - "memberof": "BuiltinExternal/WebAPIExternal.js", - "static": true, - "longname": "BuiltinExternal/WebAPIExternal.js~Event", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 222, - "kind": "external", - "name": "Node", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Node", - "memberof": "BuiltinExternal/WebAPIExternal.js", - "static": true, - "longname": "BuiltinExternal/WebAPIExternal.js~Node", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 223, - "kind": "external", - "name": "NodeList", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/NodeList", - "memberof": "BuiltinExternal/WebAPIExternal.js", - "static": true, - "longname": "BuiltinExternal/WebAPIExternal.js~NodeList", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 224, - "kind": "external", - "name": "XMLHttpRequest", - "externalLink": "https://developer.mozilla.org/en/docs/Web/API/XMLHttpRequest", - "memberof": "BuiltinExternal/WebAPIExternal.js", - "static": true, - "longname": "BuiltinExternal/WebAPIExternal.js~XMLHttpRequest", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 225, - "kind": "external", - "name": "AudioContext", - "externalLink": "https://developer.mozilla.org/en/docs/Web/API/AudioContext", - "memberof": "BuiltinExternal/WebAPIExternal.js", - "static": true, - "longname": "BuiltinExternal/WebAPIExternal.js~AudioContext", - "access": null, - "description": "", - "lineNumber": 34, - "builtinExternal": true - } -] \ No newline at end of file diff --git a/docs/file/src/Endpoint.js.html b/docs/file/src/Endpoint.js.html index 7c290a9..074902c 100644 --- a/docs/file/src/Endpoint.js.html +++ b/docs/file/src/Endpoint.js.html @@ -3,14 +3,12 @@ - src/Endpoint.js | API Document + src/Endpoint.js | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+

src/Endpoint.js

-
const API_DOMAIN = (() => {
-    return process.env.NODE_ENV === 'staging' ? 'https://api.kkbox-staging.com/v1.1/' : 'https://api.kkbox.com/v1.1/'
-})()
-/**
- * @ignore
- */
-export const SEARCH = API_DOMAIN + 'search/'
-
-/**
- * @ignore
- */
-export const TRACKS = API_DOMAIN + 'tracks/'
-
-/**
- * @ignore
- */
-export const ARTISTS = API_DOMAIN + 'artists/'
-
-/**
- * @ignore
- */
-export const ALBUMS = API_DOMAIN + 'albums/'
-
-/**
- * @ignore
- */
-export const SHARED_PLAYLISTS = API_DOMAIN + 'shared-playlists/'
-
-/**
- * @ignore
- */
-export const MOOD_STATIONS = API_DOMAIN + 'mood-stations/'
-
-/**
- * @ignore
- */
-export const FEATURED_PLAYLISTS = API_DOMAIN + 'featured-playlists/'
-
-/**
- * @ignore
- */
-export const FEATURED_PLAYLISTS_CATEGORIES = API_DOMAIN + 'featured-playlist-categories/'
-
-/**
- * @ignore
- */
-export const NEW_RELEASE_CATEGORIES = API_DOMAIN + 'new-release-categories/'
-
-/**
- * @ignore
- */
-export const NEW_HITS_PLAYLISTS = API_DOMAIN + 'new-hits-playlists/'
-
-/**
- * @ignore
- */
-export const GENRE_STATIONS = API_DOMAIN + 'genre-stations/'
-
-/**
- * @ignore
- */
-export const CHARTS = API_DOMAIN + 'charts/'
-
-/**
- * @ignore
- */
-export const SEARCH_TYPES = {
-    ARTIST: 'artist',
-    ALBUM: 'album',
-    TRACK: 'track',
-    PLAY_LIST: 'playlist'
-}
-
-const OAuth_DOMAIN = 'https://account.kkbox.com/oauth2/'
-
-/**
- * @ignore
- */
-export const Token = OAuth_DOMAIN + 'token/'
-
-/**
- * @ignore
- */
-export const Authorization = OAuth_DOMAIN + 'authorize/'
+
const API_DOMAIN = 'https://api.kkbox.com/v1.1/';
+const OAUTH_DOMAIN = 'https://account.kkbox.com/oauth2/';
+
+module.exports = {
+  SEARCH: API_DOMAIN + 'search',
+  TRACKS: API_DOMAIN + 'tracks',
+  ARTISTS: API_DOMAIN + 'artists',
+  ALBUMS: API_DOMAIN + 'albums',
+  SHARED_PLAYLISTS: API_DOMAIN + 'shared-playlists',
+  MOOD_STATIONS: API_DOMAIN + 'mood-stations',
+  FEATURED_PLAYLISTS: API_DOMAIN + 'featured-playlists',
+  FEATURED_PLAYLISTS_CATEGORIES: API_DOMAIN + 'featured-playlist-categories',
+  NEW_RELEASE_CATEGORIES: API_DOMAIN + 'new-release-categories',
+  NEW_HITS_PLAYLISTS: API_DOMAIN + 'new-hits-playlists',
+  GENRE_STATIONS: API_DOMAIN + 'genre-stations',
+  CHARTS: API_DOMAIN + 'charts',
+  Token: OAUTH_DOMAIN + 'token/',
+  Authorization: OAUTH_DOMAIN + 'authorize/'
+};
+
diff --git a/docs/file/src/api/AlbumFetcher.js.html b/docs/file/src/api/AlbumFetcher.js.html index 550860d..329017a 100644 --- a/docs/file/src/api/AlbumFetcher.js.html +++ b/docs/file/src/api/AlbumFetcher.js.html @@ -3,14 +3,12 @@ - src/api/AlbumFetcher.js | API Document + src/api/AlbumFetcher.js | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+

src/api/AlbumFetcher.js

-
import {ALBUMS as ENDPOINT} from '../Endpoint'
-import Fetcher from './Fetcher'
+
import { ALBUMS as ENDPOINT } from '../Endpoint';
+import Fetcher from './Fetcher';
 
 /**
  * Fetch metadata and tracks of a album.
- * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums
+ * @see https://docs-en.kkbox.codes/v1.1/reference#albums
  */
-export default class AlbumFetcher extends Fetcher {    
+export default class AlbumFetcher extends Fetcher {
+  /**
+   * @ignore
+   */
+  constructor(http, territory = 'TW') {
+    super(http, territory);
+
     /**
      * @ignore
      */
-    constructor(http, territory = 'TW') {
-        super(http, territory)
+    this.albumID = undefined;
+  }
 
-        /**
-         * @ignore
-         */
-        this.album_id = undefined
-    }
-
-    /**
-     * Set the album fetcher.
-     *
-     * @param {string} album_id - The ID of an album.
-     * @return {AlbumFetcher}
-     * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums/endpoints/get-albums-album_id
-     */
-    setAlbumID(album_id) {
-        this.album_id = album_id        
-        return this
-    }
+  /**
+   * Set the album fetcher.
+   *
+   * @param {string} albumID - The ID of an album.
+   * @return {AlbumFetcher}
+   * @see https://docs-en.kkbox.codes/v1.1/reference#albums-album_id
+   */
+  setAlbumID(albumID) {
+    this.albumID = albumID;
+    return this;
+  }
 
-    /**
-     * Fetcy metadata of the album you create.
-     *
-     * @return {Promise}
-     * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchMetadata()
-     * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums/endpoints/get-albums-album_id
-     */
-    fetchMetadata() {
-        return this.http.get(ENDPOINT + this.album_id, {territory: this.territory})
-    }
+  /**
+   * Fetch metadata of the album you create.
+   *
+   * @return {Promise}
+   * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchMetadata();
+   * @see https://docs-en.kkbox.codes/v1.1/reference#albums-album_id
+   */
+  fetchMetadata() {
+    return this.http.get(ENDPOINT + '/' + this.albumID, {
+      territory: this.territory
+    });
+  }
 
-    /**
-     * Get KKBOX web widget uri of the album.
-     * @example https://widget.kkbox.com/v1/?id=4qtXcj31wYJTRZbb23&type=album
-     * @return {string}
-     */
-    getWidgetUri(){
-        return `https://widget.kkbox.com/v1/?id=${this.album_id}&type=album`
-    }
+  /**
+   * Get KKBOX web widget uri of the album.
+   * @example https://widget.kkbox.com/v1/?id=4qtXcj31wYJTRZbb23&type=album
+   * @return {string}
+   */
+  getWidgetUri() {
+    return `https://widget.kkbox.com/v1/?id=${this.albumID}&type=album`;
+  }
 
-    /**
-     * Get tracks in an album. Result will be return with pagination.
-     *
-     * @param {number} [limit] - The size for one page.
-     * @param {number} [offset] - The offset index for first element.
-     * @return {Promise}
-     * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks()
-     * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums/endpoints/get-albums-album_id-tracks
-     */
-    fetchTracks(limit = undefined, offset = undefined) {
-        return this.http.get(ENDPOINT + this.album_id + '/tracks', {
-            territory: this.territory,
-            limit: limit,
-            offset: offset
-        })
-    }
-}
+ /** + * Get tracks in an album. Result will be return with pagination. + * + * @param {number} [limit] - The size for one page. + * @param {number} [offset] - The offset index for first element. + * @return {Promise} + * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks(); + * @see https://docs-en.kkbox.codes/v1.1/reference#albums-album_id-tracks + */ + fetchTracks(limit = undefined, offset = undefined) { + return this.http.get(ENDPOINT + '/' + this.albumID + '/tracks', { + territory: this.territory, + limit: limit, + offset: offset + }); + } +} +
diff --git a/docs/file/src/api/Api.js.html b/docs/file/src/api/Api.js.html index ad9c70c..25f9be2 100644 --- a/docs/file/src/api/Api.js.html +++ b/docs/file/src/api/Api.js.html @@ -3,14 +3,12 @@ - src/api/Api.js | API Document + src/api/Api.js | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+

src/api/Api.js

-
import HttpClient from './HttpClient'
-import SearchFetcher from './SearchFetcher'
-import TrackFetcher from './TrackFetcher'
-import AlbumFetcher from './AlbumFetcher'
-import ArtistFetcher from './ArtistFetcher'
-import FeaturedPlaylistFetcher from './FeaturedPlaylistFetcher'
-import FeaturedPlaylistCategoryFetcher from './FeaturedPlaylistCategoryFetcher'
-import NewReleaseCategoryFetcher from './NewReleaseCategoryFetcher'
-import NewHitsPlaylistFetcher from './NewHitsPlaylistFetcher'
-import GenreStationFetcher from './GenreStationFetcher'
-import MoodStationFetcher from './MoodStationFetcher'
-import ChartFetcher from './ChartFetcher'
+
import HttpClient from './HttpClient';
+import SearchFetcher from './SearchFetcher';
+import TrackFetcher from './TrackFetcher';
+import AlbumFetcher from './AlbumFetcher';
+import ArtistFetcher from './ArtistFetcher';
+import FeaturedPlaylistFetcher from './FeaturedPlaylistFetcher';
+import FeaturedPlaylistCategoryFetcher from './FeaturedPlaylistCategoryFetcher';
+import NewReleaseCategoryFetcher from './NewReleaseCategoryFetcher';
+import NewHitsPlaylistFetcher from './NewHitsPlaylistFetcher';
+import GenreStationFetcher from './GenreStationFetcher';
+import MoodStationFetcher from './MoodStationFetcher';
+import ChartFetcher from './ChartFetcher';
+import SharedPlaylistFetcher from './SharedPlaylistFetcher';
 
 /**
  * Fetch KKBOX resources.
  */
 export default class Api {
+  /**
+   * Need access token to initialize.
+   *
+   * @param {string} token - Get via Auth.
+   * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.
+   * @example new Api(token);
+   * @example new Api(token, 'TW');
+   */
+  constructor(token, territory = 'TW') {
+    this.territory = territory;
+    this.httpClient = undefined;
+    this.setToken(token);
+  }
+
+  /**
+   * Set new token and create fetchers with the new token.
+   *
+   * @param {string} token - Get via Auth.
+   * @example api.setToken(token);
+   */
+  setToken(token) {
+    this.httpClient = new HttpClient(token);
+
+    /**
+     * @type {SearchFetcher}
+     */
+    this.searchFetcher = new SearchFetcher(this.httpClient, this.territory);
+
+    /**
+     * @type {TrackFetcher}
+     */
+    this.trackFetcher = new TrackFetcher(this.httpClient, this.territory);
+
+    /**
+     * @type {AlbumFetcher}
+     */
+    this.albumFetcher = new AlbumFetcher(this.httpClient, this.territory);
+
+    /**
+     * @type {ArtistFetcher}
+     */
+    this.artistFetcher = new ArtistFetcher(this.httpClient, this.territory);
+
+    /**
+     * @type {FeaturedPlaylistFetcher}
+     */
+    this.featuredPlaylistFetcher = new FeaturedPlaylistFetcher(
+      this.httpClient,
+      this.territory
+    );
+
+    /**
+     * @type {FeaturedPlaylistCategoryFetcher}
+     */
+    this.featuredPlaylistCategoryFetcher = new FeaturedPlaylistCategoryFetcher(
+      this.httpClient,
+      this.territory
+    );
+
+    /**
+     * @type {NewReleaseCategoryFetcher}
+     */
+    this.newReleaseCategoryFetcher = new NewReleaseCategoryFetcher(
+      this.httpClient,
+      this.territory
+    );
+
+    /**
+     * @type {NewHitsPlaylistFetcher}
+     */
+    this.newHitsPlaylistFetcher = new NewHitsPlaylistFetcher(
+      this.httpClient,
+      this.territory
+    );
+
+    /**
+     * @type {GenreStationFetcher}
+     */
+    this.genreStationFetcher = new GenreStationFetcher(
+      this.httpClient,
+      this.territory
+    );
+
+    /**
+     * @type {MoodStationFetcher}
+     */
+    this.moodStationFetcher = new MoodStationFetcher(
+      this.httpClient,
+      this.territory
+    );
+
     /**
-     * Need access token to initialize.
-     *
-     * @param {string} token - Get via Auth.
-     * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.
-     * @example new Api(token)
-     * @example new Api(token, 'TW')
+     * @type {ChartFetcher}
      */
-    constructor(token, territory = 'TW') {        
-        this.territory = territory
-        this.httpClient = undefined
-        this.setToken(token)
-    }
+    this.chartFetcher = new ChartFetcher(this.httpClient, this.territory);
 
     /**
-     * Set new token and create fetchers with the new token.
-     *
-     * @param {string} token - Get via Auth.
-     * @example api.setToken(token)
+     * @type {SharedPlaylistFetcher}
      */
-    setToken(token) {
-        this.httpClient = new HttpClient(token)
-
-        /**
-         * @type {SearchFetcher}
-         */
-        this.searchFetcher = new SearchFetcher(this.httpClient, this.territory)
-
-        /**
-         * @type {TrackFetcher}
-         */
-        this.trackFetcher = new TrackFetcher(this.httpClient, this.territory)
-
-        /**
-         * @type {AlbumFetcher}
-         */
-        this.albumFetcher = new AlbumFetcher(this.httpClient, this.territory)
-
-        /**
-         * @type {ArtistFetcher}
-         */
-        this.artistFetcher = new ArtistFetcher(this.httpClient, this.territory)
-
-        /**
-         * @type {FeaturedPlaylistFetcher}
-         */
-        this.featuredPlaylistFetcher = new FeaturedPlaylistFetcher(this.httpClient, this.territory)
-
-        /**
-         * @type {FeaturedPlaylistCategoryFetcher}
-         */
-        this.featuredPlaylistCategoryFetcher = new FeaturedPlaylistCategoryFetcher(this.httpClient, this.territory)
-
-        /**
-         * @type {NewReleaseCategoryFetcher}
-         */        
-        this.newReleaseCategoryFetcher = new NewReleaseCategoryFetcher(this.httpClient, this.territory)
-
-        /**
-         * @type {NewHitsPlaylistFetcher}
-         */        
-        this.newHitsPlaylistFetcher = new NewHitsPlaylistFetcher(this.httpClient, this.territory)
-        
-        /**
-         * @type {GenreStationFetcher}
-         */
-        this.genreStationFetcher = new GenreStationFetcher(this.httpClient, this.territory)
-
-        /**
-         * @type {MoodStationFetcher}
-         */
-        this.moodStationFetcher = new MoodStationFetcher(this.httpClient, this.territory)
-
-        /**
-         * @type {ChartFetcher}
-         */
-        this.chartFetcher = new ChartFetcher(this.httpClient, this.territory)        
-    }
-}
+ this.sharedPlaylistFetcher = new SharedPlaylistFetcher( + this.httpClient, + this.territory + ); + } +} +
diff --git a/docs/file/src/api/ArtistFetcher.js.html b/docs/file/src/api/ArtistFetcher.js.html index d3aa59d..bd4380b 100644 --- a/docs/file/src/api/ArtistFetcher.js.html +++ b/docs/file/src/api/ArtistFetcher.js.html @@ -3,14 +3,12 @@ - src/api/ArtistFetcher.js | API Document + src/api/ArtistFetcher.js | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+

src/api/ArtistFetcher.js

-
import {ARTISTS as ENDPOINT} from '../Endpoint'
-import Fetcher from './Fetcher'
+
import { ARTISTS as ENDPOINT } from '../Endpoint';
+import Fetcher from './Fetcher';
 
 /**
  * Get artist metadata.
- * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists
+ * @see https://docs-en.kkbox.codes/v1.1/reference#artists
  */
 export default class ArtistFetcher extends Fetcher {
+  /**
+   * @ignore
+   */
+  constructor(http, territory = 'TW') {
+    super(http, territory);
+
     /**
      * @ignore
      */
-    constructor(http, territory = 'TW') {
-        super(http, territory)
+    this.artistID = undefined;
+  }
 
-        /**
-         * @ignore
-         */
-        this.artist_id = undefined
-    }
+  /**
+   * Init the artist object.
+   *
+   * @param {string} artistID - The ID of an artist.
+   * @return {Artist}
+   * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id
+   */
+  setArtistID(artistID) {
+    this.artistID = artistID;
+    return this;
+  }
 
-    /**
-     * Init the artist object.
-     *
-     * @param {string} artist_id - The ID of an artist.
-     * @return {Artist}
-     * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id
-     */
-    setArtistID(artist_id) {
-        this.artist_id = artist_id
-        return this
-    }
+  /**
+   * Fetch metadata of the artist you find.
+   *
+   * @return {Promise}
+   * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchMetadata();
+   * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id
+   */
+  fetchMetadata() {
+    return this.http.get(ENDPOINT + '/' + this.artistID, {
+      territory: this.territory
+    });
+  }
 
-    /**
-     * Fetch metadata of the artist you find.
-     *
-     * @return {Promise}
-     * @example api.Artist.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchMetadata()
-     * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id
-     */
-    fetchMetadata() {
-        return this.http.get(ENDPOINT + this.artist_id, {territory: this.territory})
-    }
+  /**
+   * Fetch albums belong to an artist.
+   *
+   * @param {number} [limit] - The size for one page.
+   * @param {number} [offset] - The offset index for first element.
+   * @return {Promise}
+   * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchAlbums();
+   * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id-albums
+   */
+  fetchAlbums(limit = undefined, offset = undefined) {
+    return this.http.get(ENDPOINT + '/' + this.artistID + '/albums', {
+      territory: this.territory,
+      limit: limit,
+      offset: offset
+    });
+  }
 
-    /**
-     * Fetch albums belong to an artist.
-     *
-     * @param {number} [limit] - The size for one page.
-     * @param {number} [offset] - The offset index for first element.
-     * @return {Promise}
-     * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchAlbums()
-     * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id-albums
-     */
-    fetchAlbums(limit = undefined, offset = undefined) {
-        return this.http.get(ENDPOINT + this.artist_id + '/albums', {
-            territory: this.territory,
-            limit: limit,
-            offset: offset
-        })
-    }
+  /**
+   * Fetch top tracks belong to an artist.
+   *
+   * @param {number} [limit] - The size for one page.
+   * @param {number} [offset] - The offset index for first element.
+   * @return {Promise}
+   * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchTopTracks();
+   * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id-toptracks
+   */
+  fetchTopTracks(limit = undefined, offset = undefined) {
+    return this.http.get(ENDPOINT + '/' + this.artistID + '/top-tracks', {
+      territory: this.territory,
+      limit: limit,
+      offset: offset
+    });
+  }
 
-    /**
-     * Fetch top tracks belong to an artist.
-     *
-     * @param {number} [limit] - The size for one page.
-     * @param {number} [offset] - The offset index for first element.
-     * @return {Promise}
-     * @example api.Artist.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchTopTracks()
-     * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id-top-tracks
-     */
-    fetchTopTracks(limit = undefined, offset = undefined) {
-        return this.http.get(ENDPOINT + this.artist_id + '/top-tracks', {
-            territory: this.territory,
-            limit: limit,
-            offset: offset
-        })
-    }
-}
+ /** + * Fetch related artists + * + * @param {number} [limit] - The size for one page. + * @param {number} [offset] - The offset index for first element. + * @return {Promise} + * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchRelatedArtists(); + * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id-relatedartists + */ + fetchRelatedArtists(limit = undefined, offset = undefined) { + return this.http.get(ENDPOINT + '/' + this.artistID + '/related-artists', { + territory: this.territory, + limit: limit, + offset: offset + }); + } +} +
diff --git a/docs/file/src/api/ChartFetcher.js.html b/docs/file/src/api/ChartFetcher.js.html index b3f475f..8692d82 100644 --- a/docs/file/src/api/ChartFetcher.js.html +++ b/docs/file/src/api/ChartFetcher.js.html @@ -3,14 +3,12 @@ - src/api/ChartFetcher.js | API Document + src/api/ChartFetcher.js | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+

src/api/ChartFetcher.js

-
import {CHARTS as ENDPOINT} from '../Endpoint'
-import Fetcher from './Fetcher'
+
import { CHARTS as ENDPOINT } from '../Endpoint';
+import Fetcher from './Fetcher';
 
 /**
  * The fetcher that can fetch chart playlists.
- * @see https://kkbox.gelato.io/docs/versions/1.1/resources/charts
+ * @see https://docs-en.kkbox.codes/v1.1/reference#charts
  */
 export default class ChartFetcher extends Fetcher {
+  /**
+   * @ignore
+   */
+  constructor(http, territory = 'TW') {
+    super(http, territory);
+
     /**
      * @ignore
      */
-    constructor(http, territory = 'TW') {
-        super(http, territory = 'TW')
-    }
+    this.playlistID = undefined;
+  }
 
-    /**
-     * Fetch chart playlists.
-     *
-     * @return {Promise}
-     * @example api.chartFetcher.fetchCharts()
-     * @see https://kkbox.gelato.io/docs/versions/1.1/resources/charts/endpoints/get-charts
-     */
-    fetchCharts() {
-        return this.http.get(ENDPOINT, {
-            territory: this.territory
-        })
-    }
-}
+ /** + * Fetch chart playlists. + * + * @return {Promise} + * @example api.chartFetcher.fetchCharts(); + * @see https://docs-en.kkbox.codes/v1.1/reference#charts_1 + */ + fetchCharts() { + return this.http.get(ENDPOINT, { + territory: this.territory + }); + } + + /** + * Init the chart fetcher. + * + * @param {string} playlistID - The playlist ID. + * @return {ChartFetcher} + * @see https://docs-en.kkbox.codes/v1.1/reference#charts-playlist_id + */ + setPlaylistID(playlistID) { + this.playlistID = playlistID; + return this; + } + + /** + * Fetch playlist of the chart you set. + * + * @return {Promise} + * @example api.chartFetcher.setPlaylistID('4mJSYXvueA8t0odsny').fetchMetadata(); + * @see https://docs-en.kkbox.codes/v1.1/reference#charts-playlist_id + */ + fetchMetadata() { + return this.http.get(ENDPOINT + '/' + this.playlistID, { + territory: this.territory + }); + } + + /** + * Fetch tracks of the playlist with the chart fetcher you init. Result will be paged. + * + * @param {number} [limit] - The size of one page. + * @param {number} [offset] - The offset index for first element. + * @return {Promise} + * @example api.chartFetcher.setPlaylistID('4mJSYXvueA8t0odsny').fetchTracks(); + * @see https://docs-en.kkbox.codes/v1.1/reference#charts-playlist_id-tracks + */ + fetchTracks(limit = undefined, offset = undefined) { + return this.http.get(ENDPOINT + '/' + this.playlistID + '/tracks', { + territory: this.territory, + limit: limit, + offset: offset + }); + } +} +
diff --git a/docs/file/src/api/FeaturedPlaylistCategoryFetcher.js.html b/docs/file/src/api/FeaturedPlaylistCategoryFetcher.js.html index 240483a..56472b0 100644 --- a/docs/file/src/api/FeaturedPlaylistCategoryFetcher.js.html +++ b/docs/file/src/api/FeaturedPlaylistCategoryFetcher.js.html @@ -3,14 +3,12 @@ - src/api/FeaturedPlaylistCategoryFetcher.js | API Document + src/api/FeaturedPlaylistCategoryFetcher.js | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+

src/api/FeaturedPlaylistCategoryFetcher.js

-
import {FEATURED_PLAYLISTS_CATEGORIES as ENDPOINT} from '../Endpoint'
-import Fetcher from './Fetcher'
+
import { FEATURED_PLAYLISTS_CATEGORIES as ENDPOINT } from '../Endpoint';
+import Fetcher from './Fetcher';
 
 /**
  * List featured playlist categories.
- * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories
+ * @see https://docs-en.kkbox.codes/v1.1/reference#featured-playlist-categories
  */
 export default class FeaturedPlaylistCategoryFetcher extends Fetcher {
+  /**
+   * @ignore
+   */
+  constructor(http, territory = 'TW') {
+    super(http, territory);
+
     /**
      * @ignore
      */
-    constructor(http, territory = 'TW') {
-        super(http, territory)
+    this.categoryID = undefined;
+  }
 
-        /**
-         * @ignore
-         */
-        this.category_id = undefined
-    }
-
-    /**
-     * Fetch all featured playlist categories.
-     *
-     * @return {Promise}
-     * @example api.featuredPlaylistCategoryFetcher.fetchAllFeaturedPlaylistCategories()
-     * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories
-     */
-    fetchAllFeaturedPlaylistCategories() {
-        return this.http.get(ENDPOINT, {territory: this.territory})
-    }
+  /**
+   * Fetch all featured playlist categories.
+   *
+   * @return {Promise}
+   * @example api.featuredPlaylistCategoryFetcher.fetchAllFeaturedPlaylistCategories();
+   * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories
+   */
+  fetchAllFeaturedPlaylistCategories() {
+    return this.http.get(ENDPOINT, {
+      territory: this.territory
+    });
+  }
 
-    /**
-     * Init the featured playlist category fetcher.
-     *
-     * @param {string} category_id - The category ID.
-     * @return {FeaturedPlaylistCategoryFetcher}
-     * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories-category_id
-     */
-    setCategoryID(category_id) {
-        this.category_id = category_id        
-        return this
-    }
+  /**
+   * Init the featured playlist category fetcher.
+   *
+   * @param {string} categoryID - The category ID.
+   * @return {FeaturedPlaylistCategoryFetcher}
+   * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories-category_id
+   */
+  setCategoryID(categoryID) {
+    this.categoryID = categoryID;
+    return this;
+  }
 
-    /**
-     * Fetch metadata of the category you init.
-     *
-     * @return {Promise}
-     * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchMetadata()
-     * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories-category_id
-     */
-    fetchMetadata() {
-        return this.http.get(ENDPOINT + this.category_id, {territory: this.territory})
-    }
+  /**
+   * Fetch metadata of the category you init.
+   *
+   * @return {Promise}
+   * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchMetadata();
+   * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories-category_id
+   */
+  fetchMetadata() {
+    return this.http.get(ENDPOINT + '/' + this.categoryID, {
+      territory: this.territory
+    });
+  }
 
-    /**
-     * Fetch featured playlists of the category with the category fetcher you init. Result will be paged.
-     *
-     * @param {number} [limit] - The size of one page.
-     * @param {number} [offset] - The offset index for first element.
-     * @return {Promise}
-     * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchPlaylists()
-     * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories-category_id-playlists
-     */
-    fetchPlaylists(limit = undefined, offset = undefined) {
-        return this.http.get(ENDPOINT + this.category_id + '/playlists', {
-            territory: this.territory,
-            limit: limit,
-            offset: offset
-        })
-    }
-}
+ /** + * Fetch featured playlists of the category with the category fetcher you init. Result will be paged. + * + * @param {number} [limit] - The size of one page. + * @param {number} [offset] - The offset index for first element. + * @return {Promise} + * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchPlaylists(); + * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories-category_id-playlists + */ + fetchPlaylists(limit = undefined, offset = undefined) { + return this.http.get(ENDPOINT + '/' + this.categoryID + '/playlists', { + territory: this.territory, + limit: limit, + offset: offset + }); + } +} +
diff --git a/docs/file/src/api/FeaturedPlaylistFetcher.js.html b/docs/file/src/api/FeaturedPlaylistFetcher.js.html index 5d28e71..93844f9 100644 --- a/docs/file/src/api/FeaturedPlaylistFetcher.js.html +++ b/docs/file/src/api/FeaturedPlaylistFetcher.js.html @@ -3,14 +3,12 @@ - src/api/FeaturedPlaylistFetcher.js | API Document + src/api/FeaturedPlaylistFetcher.js | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+

src/api/FeaturedPlaylistFetcher.js

-
import {FEATURED_PLAYLISTS as ENDPOINT} from '../Endpoint'
-import Fetcher from './Fetcher'
+
import { FEATURED_PLAYLISTS as ENDPOINT } from '../Endpoint';
+import Fetcher from './Fetcher';
 
 /**
  * List all featured playlists.
- * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlists
+ * @see https://docs-en.kkbox.codes/v1.1/reference#featured-playlists
  */
 export default class FeaturedPlaylistFetcher extends Fetcher {
-    /**
-     * @ignore
-     */
-    constructor(http, territory = 'TW') {
-        super(http, territory)
-    }
+  /**
+   * @ignore
+   */
+  constructor(http, territory = 'TW') {
+    super(http, territory);
+  }
 
-    /**
-     * Fetch all featured playlists. Result will be paged.
-     *
-     * @param {number} [limit] - The size for one page.
-     * @param {number} [offset] - The offset index for first element.
-     * @return {Promise}
-     * @example api.featuredPlaylistFetcher.fetchAllFeaturedPlaylists()
-     * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlists/endpoints/get-featured-playlists
-     */
-    fetchAllFeaturedPlaylists(limit = undefined, offset = undefined) {
-        return this.http.get(ENDPOINT, {
-            limit: limit, 
-            offset: offset, 
-            territory: this.territory
-        })
-    }
-}
+ /** + * Fetch all featured playlists. Result will be paged. + * + * @param {number} [limit] - The size for one page. + * @param {number} [offset] - The offset index for first element. + * @return {Promise} + * @example api.featuredPlaylistFetcher.fetchAllFeaturedPlaylists(); + * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylists + */ + fetchAllFeaturedPlaylists(limit = undefined, offset = undefined) { + return this.http.get(ENDPOINT, { + limit: limit, + offset: offset, + territory: this.territory + }); + } +} +
diff --git a/docs/file/src/api/Fetcher.js.html b/docs/file/src/api/Fetcher.js.html index 5a46b76..6017fca 100644 --- a/docs/file/src/api/Fetcher.js.html +++ b/docs/file/src/api/Fetcher.js.html @@ -3,14 +3,12 @@ - src/api/Fetcher.js | API Document + src/api/Fetcher.js | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+
PromisePromise
- + +
+
+ +
+

api

+
Static Public Class Summary
+ @@ -70,9 +73,10 @@ @@ -182,15 +189,16 @@ @@ -210,15 +218,16 @@ @@ -238,15 +247,16 @@ @@ -266,15 +276,16 @@ @@ -294,15 +305,16 @@ @@ -322,15 +334,16 @@ @@ -350,15 +363,16 @@ @@ -378,15 +392,16 @@ @@ -406,15 +421,16 @@ @@ -434,15 +450,16 @@ @@ -462,15 +479,16 @@ @@ -479,7 +497,17 @@ - + +
summary
@@ -98,9 +102,10 @@

+ C - Api + Api

@@ -126,9 +131,10 @@
@@ -154,15 +160,16 @@

+ C - Auth + ChartFetcher

-

Implements various KKBOX OAuth 2.0 authorization flows.

+

The fetcher that can fetch chart playlists.

-

The fetcher that can fetch chart playlists.

+

List featured playlist categories.

-

Implements the client credentials flow.

+

List all featured playlists.

-

List featured playlist categories.

+

Base api fetcher.

-

List all featured playlists.

+

Get genre stations.

-

Base api fetcher.

+

Do request to open api server with authorization header and error catch.

-

Get genre stations.

+

Get mood stations.

-

Do request to open api server with authorization header and error catch.

+

List new hits playlists.

-

Get mood stations.

+

List categories of new release albums.

-

List new hits playlists.

+

Search API.

-

List categories of new release albums.

+

Get playlist metadata.

-

Search API.

+

Get metadata of a track.

+
+
+
+

auth

+
+ + + + @@ -518,15 +547,16 @@ @@ -546,15 +576,16 @@ @@ -565,16 +596,20 @@
summary
public @@ -490,15 +518,16 @@
-

Get playlist metadata.

+

Implements various KKBOX OAuth 2.0 authorization flows.

-

Fetches access token.

+

Implements the client credentials flow.

-

Get metadata of a track.

+

Fetches access token.

+
+
- - - - +
+
Directories
+ +
+ diff --git a/docs/image/manual-badge.svg b/docs/image/manual-badge.svg index 54224bc..4029606 100644 --- a/docs/image/manual-badge.svg +++ b/docs/image/manual-badge.svg @@ -1,17 +1,17 @@ - + - - + + - + manual manual - @value@ - @value@ + @value@ + @value@ diff --git a/docs/index.html b/docs/index.html index f9456d5..4106cc8 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3,14 +3,12 @@ - API Document + Home | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+ -

KKBOX Open API Developer SDK for JavaScript

-

The SDK for accessing various metadata of KKBOX tracks, albums, artists, playlists and stations.

-

npm install

-
npm install @kkboxorg/kkbox-javascript-developer-sdk
-

Source Install

-
npm install
-

Build SDK

-
npm run build
-

Test

-

For testing, you should first browse https://developer.kkbox.com/ and create an developer account, then create an app to get client id and client secret for that account.

-

Then, create a file name client_secrets.json, put it in the test directory and write the client id and client secret in it. The content will be like:

-
{
-    "kkbox_sdk": {
-        "client_id": "YOUR CLIENT ID",
-        "client_secret": "YOUR CLIENT SECRET"
-    }
-}
-

And then we can run the tests.

-
npm run test
-

How to use the SDK

-

There are two classes Auth and Api and you should initialize an Auth object by client id and secret.

-
import {Auth} from 'kkbox-javascript-developer-sdk'
+

KKBOX Open API Developer SDK for JavaScript

npm (scoped) +Build Status +License Apache

+

The SDK helps you to access various metadata from KKBOX, including tracks, albums, artists, playlists and stations.

+

Getting Started

Install the SDK using npm

+
$ npm install @kkbox/kkbox-js-sdk
+
+

Usage example

import { Auth, Api } from '@kkbox/kkbox-js-sdk';
+
+// Create an auth object with client id and secret
+const auth = new Auth(client_id, client_secret);
 
-const auth = new Auth(client_id, client_secret)
-

Then use the auth object to get access token.

-
auth.clientCredentialsFlow.fetchAccessToken().then(response => {
-    const access_token = response.data.access_token
-})
-

After getting access token, use it to initialize Api object.

-
import {Api} from 'kkbox-javascript-developer-sdk'
+// Fetch your access token
+auth.clientCredentialsFlow
+  .fetchAccessToken()
+  .then(response => {
+    const access_token = response.data.access_token;
 
-const api = new Api(access_token)
-

Now you can use various fetcher object to fetch data.

-
api.searchFetcher.setSearchCriteria('五月天 派對動物', 'track').fetchSearchResult().then(response => {
-    console.log(response.data)
-})
-

Most methods return paged result and we can use the fetchNextPage method to get the next page of result.

-
api.searchFetcher.setSearchCriteria('五月天 派對動物', 'track').fetchSearchResult().then(response => {
-    console.log(response.data)
-    api.searchFetcher.fetchNextPage(response).then(response => {
-        console.log(response.data)
-    })
-})
-

All the code.

-
import {Auth} from 'kkbox-javascript-developer-sdk'
-import {Api} from 'kkbox-javascript-developer-sdk'
+    // Create an API object with your access token
+    const api = new Api(access_token);
 
-const auth = new Auth(client_id, client_secret)
-auth.clientCredentialsFlow.fetchAccessToken().then(response => {
-    const access_token = response.data.access_token
-    const api = new Api(access_token)    
-    api.searchFetcher.setSearchCriteria('五月天 派對動物', 'track').fetchSearchResult().then(response => {
-        console.log(response.data)
+    // Fetch content with various fetchers
+    api.searchFetcher
+      .setSearchCriteria('五月天 派對動物', 'track')
+      .fetchSearchResult()
+      .then(response => {
+
+        // Content from the KKBOX Open API
+        console.log(response.data);
+
+        // Continue to the next page
         api.searchFetcher.fetchNextPage(response).then(response => {
-            console.log(response.data)
-        })        
-    })
-})
-

API Documentation

+ console.log(response.data); + }); + + }); + });
+
+

Test

To test the SDK, a valid client ID and client secret are required.

+

Please visit https://developer.kkbox.com/, create a new developer account, and obtain the client ID and client secret of your app.

+

Then, create a file named client_secrets.json, put it into the test directory, and fill your client ID and client secret into it.

+

It may look like

+
{
+  "kkbox_sdk": {
+    "client_id": "YOUR CLIENT ID",
+    "client_secret": "YOUR CLIENT SECRET"
+  }
+}
+
+

Run the test:

+
$ npm test
+
+

Documentation

See https://kkbox.github.io/OpenAPI-JavaScript/ for full documentation.

+

Use the SDK in Web Browsers

The SDK plays fine with Node.js, but works partially in web browsers.

+

You can use the SDK in your Web and Electron apps, but you need to prepare a middle man server to help you to obtain access tokens. That's because KKBOX's Open API server supports Cross-Origin Resource Sharing (CORS), but the Auth server does not.

+

In other words, your JavaScript code hosted on your own website could access data from KKBOX, but direct access to the Auth server is forbidden by the security policy of modern web browsers.

+

When developing an Electron app, you can choose to turn web security off to make you app able to fetch access tokens. You can do this while creating browser windows.

+
mainWindow = new BrowserWindow({
+  width: 500,
+  height: 500,
+  useContentSize: true,
+  webPreferences: {
+    webSecurity: false
+  }
+});
+
+

License

Copyright 2018 KKBOX Technologies Limited

+

Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at

+
http://www.apache.org/licenses/LICENSE-2.0
+

Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License.

diff --git a/docs/index.json b/docs/index.json new file mode 100644 index 0000000..a6ba059 --- /dev/null +++ b/docs/index.json @@ -0,0 +1,4383 @@ +[ + { + "__docId__": 1, + "kind": "external", + "name": "Infinity", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Infinity", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 2, + "kind": "external", + "name": "NaN", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~NaN", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 3, + "kind": "external", + "name": "undefined", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~undefined", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 4, + "kind": "external", + "name": "null", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~null", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 5, + "kind": "external", + "name": "Object", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Object", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 6, + "kind": "external", + "name": "object", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~object", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 7, + "kind": "external", + "name": "Function", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Function", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 8, + "kind": "external", + "name": "function", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~function", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 9, + "kind": "external", + "name": "Boolean", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Boolean", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 10, + "kind": "external", + "name": "boolean", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~boolean", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 11, + "kind": "external", + "name": "Symbol", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Symbol", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 12, + "kind": "external", + "name": "Error", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Error", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 13, + "kind": "external", + "name": "EvalError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~EvalError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 14, + "kind": "external", + "name": "InternalError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~InternalError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 15, + "kind": "external", + "name": "RangeError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~RangeError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 16, + "kind": "external", + "name": "ReferenceError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~ReferenceError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 17, + "kind": "external", + "name": "SyntaxError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~SyntaxError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 18, + "kind": "external", + "name": "TypeError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~TypeError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 19, + "kind": "external", + "name": "URIError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~URIError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 20, + "kind": "external", + "name": "Number", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Number", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 21, + "kind": "external", + "name": "number", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~number", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 22, + "kind": "external", + "name": "Date", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Date", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 23, + "kind": "external", + "name": "String", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~String", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 24, + "kind": "external", + "name": "string", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~string", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 25, + "kind": "external", + "name": "RegExp", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~RegExp", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 26, + "kind": "external", + "name": "Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 27, + "kind": "external", + "name": "Int8Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Int8Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 28, + "kind": "external", + "name": "Uint8Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Uint8Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 29, + "kind": "external", + "name": "Uint8ClampedArray", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Uint8ClampedArray", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 30, + "kind": "external", + "name": "Int16Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Int16Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 31, + "kind": "external", + "name": "Uint16Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Uint16Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 32, + "kind": "external", + "name": "Int32Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Int32Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 33, + "kind": "external", + "name": "Uint32Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Uint32Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 34, + "kind": "external", + "name": "Float32Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Float32Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 35, + "kind": "external", + "name": "Float64Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Float64Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 36, + "kind": "external", + "name": "Map", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Map", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 37, + "kind": "external", + "name": "Set", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Set", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 38, + "kind": "external", + "name": "WeakMap", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~WeakMap", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 39, + "kind": "external", + "name": "WeakSet", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~WeakSet", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 40, + "kind": "external", + "name": "ArrayBuffer", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~ArrayBuffer", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 41, + "kind": "external", + "name": "DataView", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~DataView", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 42, + "kind": "external", + "name": "JSON", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~JSON", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 43, + "kind": "external", + "name": "Promise", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Promise", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 44, + "kind": "external", + "name": "Generator", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Generator", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 45, + "kind": "external", + "name": "GeneratorFunction", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~GeneratorFunction", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 46, + "kind": "external", + "name": "Reflect", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Reflect", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 47, + "kind": "external", + "name": "Proxy", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Proxy", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 48, + "kind": "file", + "name": "src/Endpoint.js", + "content": "const API_DOMAIN = 'https://api.kkbox.com/v1.1/';\nconst OAUTH_DOMAIN = 'https://account.kkbox.com/oauth2/';\n\nmodule.exports = {\n SEARCH: API_DOMAIN + 'search',\n TRACKS: API_DOMAIN + 'tracks',\n ARTISTS: API_DOMAIN + 'artists',\n ALBUMS: API_DOMAIN + 'albums',\n SHARED_PLAYLISTS: API_DOMAIN + 'shared-playlists',\n MOOD_STATIONS: API_DOMAIN + 'mood-stations',\n FEATURED_PLAYLISTS: API_DOMAIN + 'featured-playlists',\n FEATURED_PLAYLISTS_CATEGORIES: API_DOMAIN + 'featured-playlist-categories',\n NEW_RELEASE_CATEGORIES: API_DOMAIN + 'new-release-categories',\n NEW_HITS_PLAYLISTS: API_DOMAIN + 'new-hits-playlists',\n GENRE_STATIONS: API_DOMAIN + 'genre-stations',\n CHARTS: API_DOMAIN + 'charts',\n Token: OAUTH_DOMAIN + 'token/',\n Authorization: OAUTH_DOMAIN + 'authorize/'\n};\n", + "static": true, + "longname": "/Users/ajhsu/Git/kkcorp/OpenAPI-JavaScript/src/Endpoint.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 49, + "kind": "variable", + "name": "API_DOMAIN", + "memberof": "src/Endpoint.js", + "static": true, + "longname": "src/Endpoint.js~API_DOMAIN", + "access": "public", + "export": false, + "importPath": "@kkbox/kkbox-js-sdk/src/Endpoint.js", + "importStyle": null, + "description": null, + "lineNumber": 1, + "undocument": true, + "type": { + "types": [ + "string" + ] + }, + "ignore": true + }, + { + "__docId__": 50, + "kind": "variable", + "name": "OAUTH_DOMAIN", + "memberof": "src/Endpoint.js", + "static": true, + "longname": "src/Endpoint.js~OAUTH_DOMAIN", + "access": "public", + "export": false, + "importPath": "@kkbox/kkbox-js-sdk/src/Endpoint.js", + "importStyle": null, + "description": null, + "lineNumber": 2, + "undocument": true, + "type": { + "types": [ + "string" + ] + }, + "ignore": true + }, + { + "__docId__": 51, + "kind": "file", + "name": "src/api/AlbumFetcher.js", + "content": "import { ALBUMS as ENDPOINT } from '../Endpoint';\nimport Fetcher from './Fetcher';\n\n/**\n * Fetch metadata and tracks of a album.\n * @see https://docs-en.kkbox.codes/v1.1/reference#albums\n */\nexport default class AlbumFetcher extends Fetcher {\n /**\n * @ignore\n */\n constructor(http, territory = 'TW') {\n super(http, territory);\n\n /**\n * @ignore\n */\n this.albumID = undefined;\n }\n\n /**\n * Set the album fetcher.\n *\n * @param {string} albumID - The ID of an album.\n * @return {AlbumFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#albums-album_id\n */\n setAlbumID(albumID) {\n this.albumID = albumID;\n return this;\n }\n\n /**\n * Fetch metadata of the album you create.\n *\n * @return {Promise}\n * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#albums-album_id\n */\n fetchMetadata() {\n return this.http.get(ENDPOINT + '/' + this.albumID, {\n territory: this.territory\n });\n }\n\n /**\n * Get KKBOX web widget uri of the album.\n * @example https://widget.kkbox.com/v1/?id=4qtXcj31wYJTRZbb23&type=album\n * @return {string}\n */\n getWidgetUri() {\n return `https://widget.kkbox.com/v1/?id=${this.albumID}&type=album`;\n }\n\n /**\n * Get tracks in an album. Result will be return with pagination.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks();\n * @see https://docs-en.kkbox.codes/v1.1/reference#albums-album_id-tracks\n */\n fetchTracks(limit = undefined, offset = undefined) {\n return this.http.get(ENDPOINT + '/' + this.albumID + '/tracks', {\n territory: this.territory,\n limit: limit,\n offset: offset\n });\n }\n}\n", + "static": true, + "longname": "/Users/ajhsu/Git/kkcorp/OpenAPI-JavaScript/src/api/AlbumFetcher.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 52, + "kind": "class", + "name": "AlbumFetcher", + "memberof": "src/api/AlbumFetcher.js", + "static": true, + "longname": "src/api/AlbumFetcher.js~AlbumFetcher", + "access": "public", + "export": true, + "importPath": "@kkbox/kkbox-js-sdk/src/api/AlbumFetcher.js", + "importStyle": "AlbumFetcher", + "description": "Fetch metadata and tracks of a album.", + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#albums" + ], + "lineNumber": 8, + "interface": false, + "extends": [ + "src/api/Fetcher.js~Fetcher" + ] + }, + { + "__docId__": 53, + "kind": "constructor", + "name": "constructor", + "memberof": "src/api/AlbumFetcher.js~AlbumFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/AlbumFetcher.js~AlbumFetcher#constructor", + "access": "public", + "description": "", + "lineNumber": 12, + "ignore": true + }, + { + "__docId__": 54, + "kind": "member", + "name": "albumID", + "memberof": "src/api/AlbumFetcher.js~AlbumFetcher", + "static": false, + "longname": "src/api/AlbumFetcher.js~AlbumFetcher#albumID", + "access": "public", + "description": "", + "lineNumber": 18, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 55, + "kind": "method", + "name": "setAlbumID", + "memberof": "src/api/AlbumFetcher.js~AlbumFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/AlbumFetcher.js~AlbumFetcher#setAlbumID", + "access": "public", + "description": "Set the album fetcher.", + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#albums-album_id" + ], + "lineNumber": 28, + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "albumID", + "description": "The ID of an album." + } + ], + "return": { + "nullable": null, + "types": [ + "AlbumFetcher" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 57, + "kind": "method", + "name": "fetchMetadata", + "memberof": "src/api/AlbumFetcher.js~AlbumFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/AlbumFetcher.js~AlbumFetcher#fetchMetadata", + "access": "public", + "description": "Fetch metadata of the album you create.", + "examples": [ + "api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchMetadata();" + ], + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#albums-album_id" + ], + "lineNumber": 40, + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 58, + "kind": "method", + "name": "getWidgetUri", + "memberof": "src/api/AlbumFetcher.js~AlbumFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/AlbumFetcher.js~AlbumFetcher#getWidgetUri", + "access": "public", + "description": "Get KKBOX web widget uri of the album.", + "examples": [ + "https://widget.kkbox.com/v1/?id=4qtXcj31wYJTRZbb23&type=album" + ], + "lineNumber": 51, + "return": { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 59, + "kind": "method", + "name": "fetchTracks", + "memberof": "src/api/AlbumFetcher.js~AlbumFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/AlbumFetcher.js~AlbumFetcher#fetchTracks", + "access": "public", + "description": "Get tracks in an album. Result will be return with pagination.", + "examples": [ + "api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks();" + ], + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#albums-album_id-tracks" + ], + "lineNumber": 64, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "limit", + "description": "The size for one page." + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "offset", + "description": "The offset index for first element." + } + ], + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 60, + "kind": "file", + "name": "src/api/Api.js", + "content": "import HttpClient from './HttpClient';\nimport SearchFetcher from './SearchFetcher';\nimport TrackFetcher from './TrackFetcher';\nimport AlbumFetcher from './AlbumFetcher';\nimport ArtistFetcher from './ArtistFetcher';\nimport FeaturedPlaylistFetcher from './FeaturedPlaylistFetcher';\nimport FeaturedPlaylistCategoryFetcher from './FeaturedPlaylistCategoryFetcher';\nimport NewReleaseCategoryFetcher from './NewReleaseCategoryFetcher';\nimport NewHitsPlaylistFetcher from './NewHitsPlaylistFetcher';\nimport GenreStationFetcher from './GenreStationFetcher';\nimport MoodStationFetcher from './MoodStationFetcher';\nimport ChartFetcher from './ChartFetcher';\nimport SharedPlaylistFetcher from './SharedPlaylistFetcher';\n\n/**\n * Fetch KKBOX resources.\n */\nexport default class Api {\n /**\n * Need access token to initialize.\n *\n * @param {string} token - Get via Auth.\n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.\n * @example new Api(token);\n * @example new Api(token, 'TW');\n */\n constructor(token, territory = 'TW') {\n this.territory = territory;\n this.httpClient = undefined;\n this.setToken(token);\n }\n\n /**\n * Set new token and create fetchers with the new token.\n *\n * @param {string} token - Get via Auth.\n * @example api.setToken(token);\n */\n setToken(token) {\n this.httpClient = new HttpClient(token);\n\n /**\n * @type {SearchFetcher}\n */\n this.searchFetcher = new SearchFetcher(this.httpClient, this.territory);\n\n /**\n * @type {TrackFetcher}\n */\n this.trackFetcher = new TrackFetcher(this.httpClient, this.territory);\n\n /**\n * @type {AlbumFetcher}\n */\n this.albumFetcher = new AlbumFetcher(this.httpClient, this.territory);\n\n /**\n * @type {ArtistFetcher}\n */\n this.artistFetcher = new ArtistFetcher(this.httpClient, this.territory);\n\n /**\n * @type {FeaturedPlaylistFetcher}\n */\n this.featuredPlaylistFetcher = new FeaturedPlaylistFetcher(\n this.httpClient,\n this.territory\n );\n\n /**\n * @type {FeaturedPlaylistCategoryFetcher}\n */\n this.featuredPlaylistCategoryFetcher = new FeaturedPlaylistCategoryFetcher(\n this.httpClient,\n this.territory\n );\n\n /**\n * @type {NewReleaseCategoryFetcher}\n */\n this.newReleaseCategoryFetcher = new NewReleaseCategoryFetcher(\n this.httpClient,\n this.territory\n );\n\n /**\n * @type {NewHitsPlaylistFetcher}\n */\n this.newHitsPlaylistFetcher = new NewHitsPlaylistFetcher(\n this.httpClient,\n this.territory\n );\n\n /**\n * @type {GenreStationFetcher}\n */\n this.genreStationFetcher = new GenreStationFetcher(\n this.httpClient,\n this.territory\n );\n\n /**\n * @type {MoodStationFetcher}\n */\n this.moodStationFetcher = new MoodStationFetcher(\n this.httpClient,\n this.territory\n );\n\n /**\n * @type {ChartFetcher}\n */\n this.chartFetcher = new ChartFetcher(this.httpClient, this.territory);\n\n /**\n * @type {SharedPlaylistFetcher}\n */\n this.sharedPlaylistFetcher = new SharedPlaylistFetcher(\n this.httpClient,\n this.territory\n );\n }\n}\n", + "static": true, + "longname": "/Users/ajhsu/Git/kkcorp/OpenAPI-JavaScript/src/api/Api.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 61, + "kind": "class", + "name": "Api", + "memberof": "src/api/Api.js", + "static": true, + "longname": "src/api/Api.js~Api", + "access": "public", + "export": true, + "importPath": "@kkbox/kkbox-js-sdk/src/api/Api.js", + "importStyle": "Api", + "description": "Fetch KKBOX resources.", + "lineNumber": 18, + "interface": false + }, + { + "__docId__": 62, + "kind": "constructor", + "name": "constructor", + "memberof": "src/api/Api.js~Api", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/Api.js~Api#constructor", + "access": "public", + "description": "Need access token to initialize.", + "examples": [ + "new Api(token);", + "new Api(token, 'TW');" + ], + "lineNumber": 27, + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "token", + "description": "Get via Auth." + }, + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": true, + "defaultValue": " 'TW'", + "defaultRaw": " 'TW'", + "name": "territory", + "description": "['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher." + } + ] + }, + { + "__docId__": 63, + "kind": "member", + "name": "territory", + "memberof": "src/api/Api.js~Api", + "static": false, + "longname": "src/api/Api.js~Api#territory", + "access": "public", + "description": null, + "lineNumber": 28, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 64, + "kind": "member", + "name": "httpClient", + "memberof": "src/api/Api.js~Api", + "static": false, + "longname": "src/api/Api.js~Api#httpClient", + "access": "public", + "description": null, + "lineNumber": 29, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 65, + "kind": "method", + "name": "setToken", + "memberof": "src/api/Api.js~Api", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/Api.js~Api#setToken", + "access": "public", + "description": "Set new token and create fetchers with the new token.", + "examples": [ + "api.setToken(token);" + ], + "lineNumber": 39, + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "token", + "description": "Get via Auth." + } + ], + "return": null + }, + { + "__docId__": 67, + "kind": "member", + "name": "searchFetcher", + "memberof": "src/api/Api.js~Api", + "static": false, + "longname": "src/api/Api.js~Api#searchFetcher", + "access": "public", + "description": "", + "lineNumber": 45, + "type": { + "nullable": null, + "types": [ + "SearchFetcher" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 68, + "kind": "member", + "name": "trackFetcher", + "memberof": "src/api/Api.js~Api", + "static": false, + "longname": "src/api/Api.js~Api#trackFetcher", + "access": "public", + "description": "", + "lineNumber": 50, + "type": { + "nullable": null, + "types": [ + "TrackFetcher" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 69, + "kind": "member", + "name": "albumFetcher", + "memberof": "src/api/Api.js~Api", + "static": false, + "longname": "src/api/Api.js~Api#albumFetcher", + "access": "public", + "description": "", + "lineNumber": 55, + "type": { + "nullable": null, + "types": [ + "AlbumFetcher" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 70, + "kind": "member", + "name": "artistFetcher", + "memberof": "src/api/Api.js~Api", + "static": false, + "longname": "src/api/Api.js~Api#artistFetcher", + "access": "public", + "description": "", + "lineNumber": 60, + "type": { + "nullable": null, + "types": [ + "ArtistFetcher" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 71, + "kind": "member", + "name": "featuredPlaylistFetcher", + "memberof": "src/api/Api.js~Api", + "static": false, + "longname": "src/api/Api.js~Api#featuredPlaylistFetcher", + "access": "public", + "description": "", + "lineNumber": 65, + "type": { + "nullable": null, + "types": [ + "FeaturedPlaylistFetcher" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 72, + "kind": "member", + "name": "featuredPlaylistCategoryFetcher", + "memberof": "src/api/Api.js~Api", + "static": false, + "longname": "src/api/Api.js~Api#featuredPlaylistCategoryFetcher", + "access": "public", + "description": "", + "lineNumber": 73, + "type": { + "nullable": null, + "types": [ + "FeaturedPlaylistCategoryFetcher" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 73, + "kind": "member", + "name": "newReleaseCategoryFetcher", + "memberof": "src/api/Api.js~Api", + "static": false, + "longname": "src/api/Api.js~Api#newReleaseCategoryFetcher", + "access": "public", + "description": "", + "lineNumber": 81, + "type": { + "nullable": null, + "types": [ + "NewReleaseCategoryFetcher" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 74, + "kind": "member", + "name": "newHitsPlaylistFetcher", + "memberof": "src/api/Api.js~Api", + "static": false, + "longname": "src/api/Api.js~Api#newHitsPlaylistFetcher", + "access": "public", + "description": "", + "lineNumber": 89, + "type": { + "nullable": null, + "types": [ + "NewHitsPlaylistFetcher" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 75, + "kind": "member", + "name": "genreStationFetcher", + "memberof": "src/api/Api.js~Api", + "static": false, + "longname": "src/api/Api.js~Api#genreStationFetcher", + "access": "public", + "description": "", + "lineNumber": 97, + "type": { + "nullable": null, + "types": [ + "GenreStationFetcher" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 76, + "kind": "member", + "name": "moodStationFetcher", + "memberof": "src/api/Api.js~Api", + "static": false, + "longname": "src/api/Api.js~Api#moodStationFetcher", + "access": "public", + "description": "", + "lineNumber": 105, + "type": { + "nullable": null, + "types": [ + "MoodStationFetcher" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 77, + "kind": "member", + "name": "chartFetcher", + "memberof": "src/api/Api.js~Api", + "static": false, + "longname": "src/api/Api.js~Api#chartFetcher", + "access": "public", + "description": "", + "lineNumber": 113, + "type": { + "nullable": null, + "types": [ + "ChartFetcher" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 78, + "kind": "member", + "name": "sharedPlaylistFetcher", + "memberof": "src/api/Api.js~Api", + "static": false, + "longname": "src/api/Api.js~Api#sharedPlaylistFetcher", + "access": "public", + "description": "", + "lineNumber": 118, + "type": { + "nullable": null, + "types": [ + "SharedPlaylistFetcher" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 79, + "kind": "file", + "name": "src/api/ArtistFetcher.js", + "content": "import { ARTISTS as ENDPOINT } from '../Endpoint';\nimport Fetcher from './Fetcher';\n\n/**\n * Get artist metadata.\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists\n */\nexport default class ArtistFetcher extends Fetcher {\n /**\n * @ignore\n */\n constructor(http, territory = 'TW') {\n super(http, territory);\n\n /**\n * @ignore\n */\n this.artistID = undefined;\n }\n\n /**\n * Init the artist object.\n *\n * @param {string} artistID - The ID of an artist.\n * @return {Artist}\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id\n */\n setArtistID(artistID) {\n this.artistID = artistID;\n return this;\n }\n\n /**\n * Fetch metadata of the artist you find.\n *\n * @return {Promise}\n * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id\n */\n fetchMetadata() {\n return this.http.get(ENDPOINT + '/' + this.artistID, {\n territory: this.territory\n });\n }\n\n /**\n * Fetch albums belong to an artist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchAlbums();\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id-albums\n */\n fetchAlbums(limit = undefined, offset = undefined) {\n return this.http.get(ENDPOINT + '/' + this.artistID + '/albums', {\n territory: this.territory,\n limit: limit,\n offset: offset\n });\n }\n\n /**\n * Fetch top tracks belong to an artist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchTopTracks();\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id-toptracks\n */\n fetchTopTracks(limit = undefined, offset = undefined) {\n return this.http.get(ENDPOINT + '/' + this.artistID + '/top-tracks', {\n territory: this.territory,\n limit: limit,\n offset: offset\n });\n }\n\n /**\n * Fetch related artists\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchRelatedArtists();\n * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id-relatedartists\n */\n fetchRelatedArtists(limit = undefined, offset = undefined) {\n return this.http.get(ENDPOINT + '/' + this.artistID + '/related-artists', {\n territory: this.territory,\n limit: limit,\n offset: offset\n });\n }\n}\n", + "static": true, + "longname": "/Users/ajhsu/Git/kkcorp/OpenAPI-JavaScript/src/api/ArtistFetcher.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 80, + "kind": "class", + "name": "ArtistFetcher", + "memberof": "src/api/ArtistFetcher.js", + "static": true, + "longname": "src/api/ArtistFetcher.js~ArtistFetcher", + "access": "public", + "export": true, + "importPath": "@kkbox/kkbox-js-sdk/src/api/ArtistFetcher.js", + "importStyle": "ArtistFetcher", + "description": "Get artist metadata.", + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#artists" + ], + "lineNumber": 8, + "interface": false, + "extends": [ + "src/api/Fetcher.js~Fetcher" + ] + }, + { + "__docId__": 81, + "kind": "constructor", + "name": "constructor", + "memberof": "src/api/ArtistFetcher.js~ArtistFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/ArtistFetcher.js~ArtistFetcher#constructor", + "access": "public", + "description": "", + "lineNumber": 12, + "ignore": true + }, + { + "__docId__": 82, + "kind": "member", + "name": "artistID", + "memberof": "src/api/ArtistFetcher.js~ArtistFetcher", + "static": false, + "longname": "src/api/ArtistFetcher.js~ArtistFetcher#artistID", + "access": "public", + "description": "", + "lineNumber": 18, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 83, + "kind": "method", + "name": "setArtistID", + "memberof": "src/api/ArtistFetcher.js~ArtistFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/ArtistFetcher.js~ArtistFetcher#setArtistID", + "access": "public", + "description": "Init the artist object.", + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id" + ], + "lineNumber": 28, + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "artistID", + "description": "The ID of an artist." + } + ], + "return": { + "nullable": null, + "types": [ + "Artist" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 85, + "kind": "method", + "name": "fetchMetadata", + "memberof": "src/api/ArtistFetcher.js~ArtistFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/ArtistFetcher.js~ArtistFetcher#fetchMetadata", + "access": "public", + "description": "Fetch metadata of the artist you find.", + "examples": [ + "api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchMetadata();" + ], + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id" + ], + "lineNumber": 40, + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 86, + "kind": "method", + "name": "fetchAlbums", + "memberof": "src/api/ArtistFetcher.js~ArtistFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/ArtistFetcher.js~ArtistFetcher#fetchAlbums", + "access": "public", + "description": "Fetch albums belong to an artist.", + "examples": [ + "api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchAlbums();" + ], + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id-albums" + ], + "lineNumber": 55, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "limit", + "description": "The size for one page." + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "offset", + "description": "The offset index for first element." + } + ], + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 87, + "kind": "method", + "name": "fetchTopTracks", + "memberof": "src/api/ArtistFetcher.js~ArtistFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/ArtistFetcher.js~ArtistFetcher#fetchTopTracks", + "access": "public", + "description": "Fetch top tracks belong to an artist.", + "examples": [ + "api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchTopTracks();" + ], + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id-toptracks" + ], + "lineNumber": 72, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "limit", + "description": "The size for one page." + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "offset", + "description": "The offset index for first element." + } + ], + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 88, + "kind": "method", + "name": "fetchRelatedArtists", + "memberof": "src/api/ArtistFetcher.js~ArtistFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/ArtistFetcher.js~ArtistFetcher#fetchRelatedArtists", + "access": "public", + "description": "Fetch related artists", + "examples": [ + "api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchRelatedArtists();" + ], + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id-relatedartists" + ], + "lineNumber": 89, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "limit", + "description": "The size for one page." + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "offset", + "description": "The offset index for first element." + } + ], + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 89, + "kind": "file", + "name": "src/api/ChartFetcher.js", + "content": "import { CHARTS as ENDPOINT } from '../Endpoint';\nimport Fetcher from './Fetcher';\n\n/**\n * The fetcher that can fetch chart playlists.\n * @see https://docs-en.kkbox.codes/v1.1/reference#charts\n */\nexport default class ChartFetcher extends Fetcher {\n /**\n * @ignore\n */\n constructor(http, territory = 'TW') {\n super(http, territory);\n\n /**\n * @ignore\n */\n this.playlistID = undefined;\n }\n\n /**\n * Fetch chart playlists.\n *\n * @return {Promise}\n * @example api.chartFetcher.fetchCharts();\n * @see https://docs-en.kkbox.codes/v1.1/reference#charts_1\n */\n fetchCharts() {\n return this.http.get(ENDPOINT, {\n territory: this.territory\n });\n }\n\n /**\n * Init the chart fetcher.\n *\n * @param {string} playlistID - The playlist ID.\n * @return {ChartFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#charts-playlist_id\n */\n setPlaylistID(playlistID) {\n this.playlistID = playlistID;\n return this;\n }\n\n /**\n * Fetch playlist of the chart you set.\n *\n * @return {Promise}\n * @example api.chartFetcher.setPlaylistID('4mJSYXvueA8t0odsny').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#charts-playlist_id\n */\n fetchMetadata() {\n return this.http.get(ENDPOINT + '/' + this.playlistID, {\n territory: this.territory\n });\n }\n\n /**\n * Fetch tracks of the playlist with the chart fetcher you init. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.chartFetcher.setPlaylistID('4mJSYXvueA8t0odsny').fetchTracks();\n * @see https://docs-en.kkbox.codes/v1.1/reference#charts-playlist_id-tracks\n */\n fetchTracks(limit = undefined, offset = undefined) {\n return this.http.get(ENDPOINT + '/' + this.playlistID + '/tracks', {\n territory: this.territory,\n limit: limit,\n offset: offset\n });\n }\n}\n", + "static": true, + "longname": "/Users/ajhsu/Git/kkcorp/OpenAPI-JavaScript/src/api/ChartFetcher.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 90, + "kind": "class", + "name": "ChartFetcher", + "memberof": "src/api/ChartFetcher.js", + "static": true, + "longname": "src/api/ChartFetcher.js~ChartFetcher", + "access": "public", + "export": true, + "importPath": "@kkbox/kkbox-js-sdk/src/api/ChartFetcher.js", + "importStyle": "ChartFetcher", + "description": "The fetcher that can fetch chart playlists.", + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#charts" + ], + "lineNumber": 8, + "interface": false, + "extends": [ + "src/api/Fetcher.js~Fetcher" + ] + }, + { + "__docId__": 91, + "kind": "constructor", + "name": "constructor", + "memberof": "src/api/ChartFetcher.js~ChartFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/ChartFetcher.js~ChartFetcher#constructor", + "access": "public", + "description": "", + "lineNumber": 12, + "ignore": true + }, + { + "__docId__": 92, + "kind": "member", + "name": "playlistID", + "memberof": "src/api/ChartFetcher.js~ChartFetcher", + "static": false, + "longname": "src/api/ChartFetcher.js~ChartFetcher#playlistID", + "access": "public", + "description": "", + "lineNumber": 18, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 93, + "kind": "method", + "name": "fetchCharts", + "memberof": "src/api/ChartFetcher.js~ChartFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/ChartFetcher.js~ChartFetcher#fetchCharts", + "access": "public", + "description": "Fetch chart playlists.", + "examples": [ + "api.chartFetcher.fetchCharts();" + ], + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#charts_1" + ], + "lineNumber": 28, + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 94, + "kind": "method", + "name": "setPlaylistID", + "memberof": "src/api/ChartFetcher.js~ChartFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/ChartFetcher.js~ChartFetcher#setPlaylistID", + "access": "public", + "description": "Init the chart fetcher.", + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#charts-playlist_id" + ], + "lineNumber": 41, + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "playlistID", + "description": "The playlist ID." + } + ], + "return": { + "nullable": null, + "types": [ + "ChartFetcher" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 96, + "kind": "method", + "name": "fetchMetadata", + "memberof": "src/api/ChartFetcher.js~ChartFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/ChartFetcher.js~ChartFetcher#fetchMetadata", + "access": "public", + "description": "Fetch playlist of the chart you set.", + "examples": [ + "api.chartFetcher.setPlaylistID('4mJSYXvueA8t0odsny').fetchMetadata();" + ], + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#charts-playlist_id" + ], + "lineNumber": 53, + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 97, + "kind": "method", + "name": "fetchTracks", + "memberof": "src/api/ChartFetcher.js~ChartFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/ChartFetcher.js~ChartFetcher#fetchTracks", + "access": "public", + "description": "Fetch tracks of the playlist with the chart fetcher you init. Result will be paged.", + "examples": [ + "api.chartFetcher.setPlaylistID('4mJSYXvueA8t0odsny').fetchTracks();" + ], + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#charts-playlist_id-tracks" + ], + "lineNumber": 68, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "limit", + "description": "The size of one page." + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "offset", + "description": "The offset index for first element." + } + ], + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 98, + "kind": "file", + "name": "src/api/FeaturedPlaylistCategoryFetcher.js", + "content": "import { FEATURED_PLAYLISTS_CATEGORIES as ENDPOINT } from '../Endpoint';\nimport Fetcher from './Fetcher';\n\n/**\n * List featured playlist categories.\n * @see https://docs-en.kkbox.codes/v1.1/reference#featured-playlist-categories\n */\nexport default class FeaturedPlaylistCategoryFetcher extends Fetcher {\n /**\n * @ignore\n */\n constructor(http, territory = 'TW') {\n super(http, territory);\n\n /**\n * @ignore\n */\n this.categoryID = undefined;\n }\n\n /**\n * Fetch all featured playlist categories.\n *\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.fetchAllFeaturedPlaylistCategories();\n * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories\n */\n fetchAllFeaturedPlaylistCategories() {\n return this.http.get(ENDPOINT, {\n territory: this.territory\n });\n }\n\n /**\n * Init the featured playlist category fetcher.\n *\n * @param {string} categoryID - The category ID.\n * @return {FeaturedPlaylistCategoryFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories-category_id\n */\n setCategoryID(categoryID) {\n this.categoryID = categoryID;\n return this;\n }\n\n /**\n * Fetch metadata of the category you init.\n *\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories-category_id\n */\n fetchMetadata() {\n return this.http.get(ENDPOINT + '/' + this.categoryID, {\n territory: this.territory\n });\n }\n\n /**\n * Fetch featured playlists of the category with the category fetcher you init. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchPlaylists();\n * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories-category_id-playlists\n */\n fetchPlaylists(limit = undefined, offset = undefined) {\n return this.http.get(ENDPOINT + '/' + this.categoryID + '/playlists', {\n territory: this.territory,\n limit: limit,\n offset: offset\n });\n }\n}\n", + "static": true, + "longname": "/Users/ajhsu/Git/kkcorp/OpenAPI-JavaScript/src/api/FeaturedPlaylistCategoryFetcher.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 99, + "kind": "class", + "name": "FeaturedPlaylistCategoryFetcher", + "memberof": "src/api/FeaturedPlaylistCategoryFetcher.js", + "static": true, + "longname": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher", + "access": "public", + "export": true, + "importPath": "@kkbox/kkbox-js-sdk/src/api/FeaturedPlaylistCategoryFetcher.js", + "importStyle": "FeaturedPlaylistCategoryFetcher", + "description": "List featured playlist categories.", + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#featured-playlist-categories" + ], + "lineNumber": 8, + "interface": false, + "extends": [ + "src/api/Fetcher.js~Fetcher" + ] + }, + { + "__docId__": 100, + "kind": "constructor", + "name": "constructor", + "memberof": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher#constructor", + "access": "public", + "description": "", + "lineNumber": 12, + "ignore": true + }, + { + "__docId__": 101, + "kind": "member", + "name": "categoryID", + "memberof": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher", + "static": false, + "longname": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher#categoryID", + "access": "public", + "description": "", + "lineNumber": 18, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 102, + "kind": "method", + "name": "fetchAllFeaturedPlaylistCategories", + "memberof": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher#fetchAllFeaturedPlaylistCategories", + "access": "public", + "description": "Fetch all featured playlist categories.", + "examples": [ + "api.featuredPlaylistCategoryFetcher.fetchAllFeaturedPlaylistCategories();" + ], + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories" + ], + "lineNumber": 28, + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 103, + "kind": "method", + "name": "setCategoryID", + "memberof": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher#setCategoryID", + "access": "public", + "description": "Init the featured playlist category fetcher.", + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories-category_id" + ], + "lineNumber": 41, + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "categoryID", + "description": "The category ID." + } + ], + "return": { + "nullable": null, + "types": [ + "FeaturedPlaylistCategoryFetcher" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 105, + "kind": "method", + "name": "fetchMetadata", + "memberof": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher#fetchMetadata", + "access": "public", + "description": "Fetch metadata of the category you init.", + "examples": [ + "api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchMetadata();" + ], + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories-category_id" + ], + "lineNumber": 53, + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 106, + "kind": "method", + "name": "fetchPlaylists", + "memberof": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher#fetchPlaylists", + "access": "public", + "description": "Fetch featured playlists of the category with the category fetcher you init. Result will be paged.", + "examples": [ + "api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchPlaylists();" + ], + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories-category_id-playlists" + ], + "lineNumber": 68, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "limit", + "description": "The size of one page." + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "offset", + "description": "The offset index for first element." + } + ], + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 107, + "kind": "file", + "name": "src/api/FeaturedPlaylistFetcher.js", + "content": "import { FEATURED_PLAYLISTS as ENDPOINT } from '../Endpoint';\nimport Fetcher from './Fetcher';\n\n/**\n * List all featured playlists.\n * @see https://docs-en.kkbox.codes/v1.1/reference#featured-playlists\n */\nexport default class FeaturedPlaylistFetcher extends Fetcher {\n /**\n * @ignore\n */\n constructor(http, territory = 'TW') {\n super(http, territory);\n }\n\n /**\n * Fetch all featured playlists. Result will be paged.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.featuredPlaylistFetcher.fetchAllFeaturedPlaylists();\n * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylists\n */\n fetchAllFeaturedPlaylists(limit = undefined, offset = undefined) {\n return this.http.get(ENDPOINT, {\n limit: limit,\n offset: offset,\n territory: this.territory\n });\n }\n}\n", + "static": true, + "longname": "/Users/ajhsu/Git/kkcorp/OpenAPI-JavaScript/src/api/FeaturedPlaylistFetcher.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 108, + "kind": "class", + "name": "FeaturedPlaylistFetcher", + "memberof": "src/api/FeaturedPlaylistFetcher.js", + "static": true, + "longname": "src/api/FeaturedPlaylistFetcher.js~FeaturedPlaylistFetcher", + "access": "public", + "export": true, + "importPath": "@kkbox/kkbox-js-sdk/src/api/FeaturedPlaylistFetcher.js", + "importStyle": "FeaturedPlaylistFetcher", + "description": "List all featured playlists.", + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#featured-playlists" + ], + "lineNumber": 8, + "interface": false, + "extends": [ + "src/api/Fetcher.js~Fetcher" + ] + }, + { + "__docId__": 109, + "kind": "constructor", + "name": "constructor", + "memberof": "src/api/FeaturedPlaylistFetcher.js~FeaturedPlaylistFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/FeaturedPlaylistFetcher.js~FeaturedPlaylistFetcher#constructor", + "access": "public", + "description": "", + "lineNumber": 12, + "ignore": true + }, + { + "__docId__": 110, + "kind": "method", + "name": "fetchAllFeaturedPlaylists", + "memberof": "src/api/FeaturedPlaylistFetcher.js~FeaturedPlaylistFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/FeaturedPlaylistFetcher.js~FeaturedPlaylistFetcher#fetchAllFeaturedPlaylists", + "access": "public", + "description": "Fetch all featured playlists. Result will be paged.", + "examples": [ + "api.featuredPlaylistFetcher.fetchAllFeaturedPlaylists();" + ], + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#featuredplaylists" + ], + "lineNumber": 25, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "limit", + "description": "The size for one page." + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "offset", + "description": "The offset index for first element." + } + ], + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 111, + "kind": "file", + "name": "src/api/Fetcher.js", + "content": "/**\n * Base api fetcher.\n */\nexport default class Fetcher {\n /**\n * @param {Http} http\n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.\n */\n constructor(http, territory = 'TW') {\n /**\n * @ignore\n */\n this.http = http;\n\n /**\n * @ignore\n */\n this.territory = territory;\n }\n\n /**\n * Set the fetcher's territory.\n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.\n * @return {Fetcher}\n */\n setTerritory(territory) {\n this.territory = territory;\n return this;\n }\n\n /**\n * Gets an object's nested property by path.\n * @ignore\n */\n getPropertyByPath(object, path) {\n path = path.replace(/\\[(\\w+)\\]/g, '.$1'); // convert indexes to properties\n path = path.replace(/^\\./, ''); // strip a leading dot\n var keys = path.split('.');\n for (var i = 0, n = keys.length; i < n; ++i) {\n var key = keys[i];\n if (key in object) {\n object = object[key];\n } else {\n return;\n }\n }\n return object;\n }\n\n /**\n * Fetches next page of various paged APIs.\n *\n * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function\n * @param {String} nextUriPath - The next uri's path. Defaults to 'data.paging.next',\n * which means we will get the next uri path from 'fulfillment.data.paging.next'.\n * The correct next uri path depends on respective api's response.\n * @return {Promise}\n * @example\n * api.albumFetcher\n * .setAlbumID('KmRKnW5qmUrTnGRuxF')\n * .fetchTracks()\n * .then(response => {\n * api.albumFetcher.fetchNextPage(response));\n * });\n */\n fetchNextPage(fulfillment, nextUriPath = 'data.paging.next') {\n var nextUri = this.getPropertyByPath(fulfillment, nextUriPath);\n if (nextUri != null && nextUri !== undefined) {\n return this.http.get(nextUri);\n } else {\n return new Promise((resolve, reject) => {\n reject(new Error('Cannot fetch next page'));\n });\n }\n }\n\n /**\n * Is next page available for various paged APIs.\n * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function\n * @param {String} nextUriPath - The next uri's path. Defaults to 'data.paging.next',\n * which means we will get the next uri path from 'fulfillment.data.paging.next'.\n * The correct next uri path depends on respective api's response.\n * @return {Boolean}\n * @example\n * api.albumFetcher\n * .setAlbumID('KmRKnW5qmUrTnGRuxF')\n * .fetchTracks()\n * .then(response => {\n * if (api.albumFetcher.hasNextPage(response)) {\n * // more data available\n * }\n * });\n */\n hasNextPage(fulfillment, nextUriPath = 'data.paging.next') {\n var nextUri = this.getPropertyByPath(fulfillment, nextUriPath);\n return nextUri != null && nextUri !== undefined;\n }\n}\n", + "static": true, + "longname": "/Users/ajhsu/Git/kkcorp/OpenAPI-JavaScript/src/api/Fetcher.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 112, + "kind": "class", + "name": "Fetcher", + "memberof": "src/api/Fetcher.js", + "static": true, + "longname": "src/api/Fetcher.js~Fetcher", + "access": "public", + "export": true, + "importPath": "@kkbox/kkbox-js-sdk/src/api/Fetcher.js", + "importStyle": "Fetcher", + "description": "Base api fetcher.", + "lineNumber": 4, + "interface": false + }, + { + "__docId__": 113, + "kind": "constructor", + "name": "constructor", + "memberof": "src/api/Fetcher.js~Fetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/Fetcher.js~Fetcher#constructor", + "access": "public", + "description": "", + "lineNumber": 9, + "params": [ + { + "nullable": null, + "types": [ + "Http" + ], + "spread": false, + "optional": false, + "name": "http", + "description": "" + }, + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": true, + "defaultValue": " 'TW'", + "defaultRaw": " 'TW'", + "name": "territory", + "description": "['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher." + } + ] + }, + { + "__docId__": 114, + "kind": "member", + "name": "http", + "memberof": "src/api/Fetcher.js~Fetcher", + "static": false, + "longname": "src/api/Fetcher.js~Fetcher#http", + "access": "public", + "description": "", + "lineNumber": 13, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 115, + "kind": "member", + "name": "territory", + "memberof": "src/api/Fetcher.js~Fetcher", + "static": false, + "longname": "src/api/Fetcher.js~Fetcher#territory", + "access": "public", + "description": "", + "lineNumber": 18, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 116, + "kind": "method", + "name": "setTerritory", + "memberof": "src/api/Fetcher.js~Fetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/Fetcher.js~Fetcher#setTerritory", + "access": "public", + "description": "Set the fetcher's territory.", + "lineNumber": 26, + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": true, + "defaultValue": " 'TW'", + "defaultRaw": " 'TW'", + "name": "territory", + "description": "['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher." + } + ], + "return": { + "nullable": null, + "types": [ + "Fetcher" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 118, + "kind": "method", + "name": "getPropertyByPath", + "memberof": "src/api/Fetcher.js~Fetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/Fetcher.js~Fetcher#getPropertyByPath", + "access": "public", + "description": "Gets an object's nested property by path.", + "lineNumber": 35, + "ignore": true, + "params": [ + { + "name": "object", + "types": [ + "*" + ] + }, + { + "name": "path", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 119, + "kind": "method", + "name": "fetchNextPage", + "memberof": "src/api/Fetcher.js~Fetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/Fetcher.js~Fetcher#fetchNextPage", + "access": "public", + "description": "Fetches next page of various paged APIs.", + "examples": [ + "api.albumFetcher\n .setAlbumID('KmRKnW5qmUrTnGRuxF')\n .fetchTracks()\n .then(response => {\n api.albumFetcher.fetchNextPage(response));\n });" + ], + "lineNumber": 66, + "params": [ + { + "nullable": null, + "types": [ + "fulfillment" + ], + "spread": false, + "optional": false, + "name": "fulfillment", + "description": "The fulfillment get from Promose's onFulfillment function" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "nextUriPath", + "description": "The next uri's path. Defaults to 'data.paging.next',\nwhich means we will get the next uri path from 'fulfillment.data.paging.next'.\nThe correct next uri path depends on respective api's response." + } + ], + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 120, + "kind": "method", + "name": "hasNextPage", + "memberof": "src/api/Fetcher.js~Fetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/Fetcher.js~Fetcher#hasNextPage", + "access": "public", + "description": "Is next page available for various paged APIs.", + "examples": [ + "api.albumFetcher\n .setAlbumID('KmRKnW5qmUrTnGRuxF')\n .fetchTracks()\n .then(response => {\n if (api.albumFetcher.hasNextPage(response)) {\n // more data available\n }\n });" + ], + "lineNumber": 94, + "params": [ + { + "nullable": null, + "types": [ + "fulfillment" + ], + "spread": false, + "optional": false, + "name": "fulfillment", + "description": "The fulfillment get from Promose's onFulfillment function" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "nextUriPath", + "description": "The next uri's path. Defaults to 'data.paging.next',\nwhich means we will get the next uri path from 'fulfillment.data.paging.next'.\nThe correct next uri path depends on respective api's response." + } + ], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 121, + "kind": "file", + "name": "src/api/GenreStationFetcher.js", + "content": "import { GENRE_STATIONS as ENDPOINT } from '../Endpoint';\nimport Fetcher from './Fetcher';\n\n/**\n * Get genre stations.\n * @see https://docs-en.kkbox.codes/v1.1/reference#genre-stations\n */\nexport default class GenreStationFetcher extends Fetcher {\n /**\n * @ignore\n */\n constructor(http, territory = 'TW') {\n super(http, territory);\n\n /**\n * @ignore\n */\n this.genreStationID = undefined;\n }\n\n /**\n * Fetch all genre stations. The result will be paged.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.genreStationFetcher.fetchAllGenreStations();\n * @see https://docs-en.kkbox.codes/v1.1/reference#genrestations\n */\n fetchAllGenreStations(limit = undefined, offset = undefined) {\n return this.http.get(ENDPOINT, {\n territory: this.territory,\n limit: limit,\n offset: offset\n });\n }\n\n /**\n * Init the genre station fetcher.\n *\n * @param {string} genreStationID - The ID of a genre station.\n * @return {GenreStation}\n * @see https://docs-en.kkbox.codes/v1.1/reference#genrestations-station_id\n */\n setGenreStationID(genreStationID) {\n this.genreStationID = genreStationID;\n return this;\n }\n\n /**\n * Fetch metadata of the genre station with the genre station fetcher.\n *\n * @return {Promise}\n * @example api.genreStationFetcher.setGenreStationID('TYq3EHFTl-1EOvJM5Y').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#genrestations-station_id\n */\n fetchMetadata() {\n return this.http.get(ENDPOINT + '/' + this.genreStationID, {\n territory: this.territory\n });\n }\n}\n", + "static": true, + "longname": "/Users/ajhsu/Git/kkcorp/OpenAPI-JavaScript/src/api/GenreStationFetcher.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 122, + "kind": "class", + "name": "GenreStationFetcher", + "memberof": "src/api/GenreStationFetcher.js", + "static": true, + "longname": "src/api/GenreStationFetcher.js~GenreStationFetcher", + "access": "public", + "export": true, + "importPath": "@kkbox/kkbox-js-sdk/src/api/GenreStationFetcher.js", + "importStyle": "GenreStationFetcher", + "description": "Get genre stations.", + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#genre-stations" + ], + "lineNumber": 8, + "interface": false, + "extends": [ + "src/api/Fetcher.js~Fetcher" + ] + }, + { + "__docId__": 123, + "kind": "constructor", + "name": "constructor", + "memberof": "src/api/GenreStationFetcher.js~GenreStationFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/GenreStationFetcher.js~GenreStationFetcher#constructor", + "access": "public", + "description": "", + "lineNumber": 12, + "ignore": true + }, + { + "__docId__": 124, + "kind": "member", + "name": "genreStationID", + "memberof": "src/api/GenreStationFetcher.js~GenreStationFetcher", + "static": false, + "longname": "src/api/GenreStationFetcher.js~GenreStationFetcher#genreStationID", + "access": "public", + "description": "", + "lineNumber": 18, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 125, + "kind": "method", + "name": "fetchAllGenreStations", + "memberof": "src/api/GenreStationFetcher.js~GenreStationFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/GenreStationFetcher.js~GenreStationFetcher#fetchAllGenreStations", + "access": "public", + "description": "Fetch all genre stations. The result will be paged.", + "examples": [ + "api.genreStationFetcher.fetchAllGenreStations();" + ], + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#genrestations" + ], + "lineNumber": 30, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "limit", + "description": "The size for one page." + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "offset", + "description": "The offset index for first element." + } + ], + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 126, + "kind": "method", + "name": "setGenreStationID", + "memberof": "src/api/GenreStationFetcher.js~GenreStationFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/GenreStationFetcher.js~GenreStationFetcher#setGenreStationID", + "access": "public", + "description": "Init the genre station fetcher.", + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#genrestations-station_id" + ], + "lineNumber": 45, + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "genreStationID", + "description": "The ID of a genre station." + } + ], + "return": { + "nullable": null, + "types": [ + "GenreStation" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 128, + "kind": "method", + "name": "fetchMetadata", + "memberof": "src/api/GenreStationFetcher.js~GenreStationFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/GenreStationFetcher.js~GenreStationFetcher#fetchMetadata", + "access": "public", + "description": "Fetch metadata of the genre station with the genre station fetcher.", + "examples": [ + "api.genreStationFetcher.setGenreStationID('TYq3EHFTl-1EOvJM5Y').fetchMetadata();" + ], + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#genrestations-station_id" + ], + "lineNumber": 57, + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 129, + "kind": "file", + "name": "src/api/HttpClient.js", + "content": "import axios from 'axios';\nimport { apiError } from '../catchError';\n\n/**\n * Do request to open api server with authorization header and error catch.\n */\nexport default class HttpClient {\n /**\n * @param {string} token - Need access token to initialize.\n */\n constructor(token) {\n /**\n * @private\n * @type {string}\n */\n this.token = 'Bearer ' + token;\n }\n\n /**\n * Http get method.\n *\n * @param {string} endpoint - Uri endpoint.\n * @param {object} params - Uri parameters.\n * @return {Promise}\n */\n get(endpoint, params = {}) {\n return axios\n .get(endpoint, {\n params: params,\n headers: {\n Authorization: this.token\n }\n })\n .catch(apiError);\n }\n\n /**\n * Http post method.\n *\n * @param {string} endpoint - Uri endpoint.\n * @param {object} data - Body json data.\n * @return {Promise}\n */\n post(endpoint, data = {}) {\n return axios\n .post(endpoint, data, {\n headers: {\n Authorization: this.token\n }\n })\n .catch(apiError);\n }\n}\n", + "static": true, + "longname": "/Users/ajhsu/Git/kkcorp/OpenAPI-JavaScript/src/api/HttpClient.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 130, + "kind": "class", + "name": "HttpClient", + "memberof": "src/api/HttpClient.js", + "static": true, + "longname": "src/api/HttpClient.js~HttpClient", + "access": "public", + "export": true, + "importPath": "@kkbox/kkbox-js-sdk/src/api/HttpClient.js", + "importStyle": "HttpClient", + "description": "Do request to open api server with authorization header and error catch.", + "lineNumber": 7, + "interface": false + }, + { + "__docId__": 131, + "kind": "constructor", + "name": "constructor", + "memberof": "src/api/HttpClient.js~HttpClient", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/HttpClient.js~HttpClient#constructor", + "access": "public", + "description": "", + "lineNumber": 11, + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "token", + "description": "Need access token to initialize." + } + ] + }, + { + "__docId__": 132, + "kind": "member", + "name": "token", + "memberof": "src/api/HttpClient.js~HttpClient", + "static": false, + "longname": "src/api/HttpClient.js~HttpClient#token", + "access": "private", + "description": "", + "lineNumber": 16, + "type": { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 133, + "kind": "method", + "name": "get", + "memberof": "src/api/HttpClient.js~HttpClient", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/HttpClient.js~HttpClient#get", + "access": "public", + "description": "Http get method.", + "lineNumber": 26, + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "endpoint", + "description": "Uri endpoint." + }, + { + "nullable": null, + "types": [ + "object" + ], + "spread": false, + "optional": false, + "name": "params", + "description": "Uri parameters." + } + ], + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 134, + "kind": "method", + "name": "post", + "memberof": "src/api/HttpClient.js~HttpClient", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/HttpClient.js~HttpClient#post", + "access": "public", + "description": "Http post method.", + "lineNumber": 44, + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "endpoint", + "description": "Uri endpoint." + }, + { + "nullable": null, + "types": [ + "object" + ], + "spread": false, + "optional": false, + "name": "data", + "description": "Body json data." + } + ], + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 135, + "kind": "file", + "name": "src/api/MoodStationFetcher.js", + "content": "import { MOOD_STATIONS as ENDPOINT } from '../Endpoint';\nimport Fetcher from './Fetcher';\n\n/**\n * Get mood stations.\n * @see https://docs-en.kkbox.codes/v1.1/reference#mood-stations\n */\nexport default class MoodStationFetcher extends Fetcher {\n /**\n * @ignore\n */\n constructor(http, territory = 'TW') {\n super(http, territory);\n\n /**\n * @ignore\n */\n this.moodStationID = undefined;\n }\n\n /**\n * Fetch all mood stations.\n *\n * @return {Promise}\n * @example api.moodStationFetcher.fetchAllMoodStations();\n * @see https://docs-en.kkbox.codes/v1.1/reference#moodstations\n */\n fetchAllMoodStations() {\n return this.http.get(ENDPOINT, {\n territory: this.territory\n });\n }\n\n /**\n * Init the mood station fetcher.\n *\n * @param {string} moodStationID - The ID of a mood station.\n * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory of a mood station.\n * @return {MoodStation}\n * @see https://docs-en.kkbox.codes/v1.1/reference#moodstations-station_id\n */\n setMoodStationID(moodStationID, territory = 'TW') {\n this.moodStationID = moodStationID;\n this.territory = territory;\n return this;\n }\n\n /**\n * Fetch the mood station's metadata.\n *\n * @return {Promise}\n * @example api.moodStationFetcher.setMoodStationID('StGZp2ToWq92diPHS7').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#moodstations-station_id\n */\n fetchMetadata() {\n return this.http.get(ENDPOINT + '/' + this.moodStationID, {\n territory: this.territory\n });\n }\n}\n", + "static": true, + "longname": "/Users/ajhsu/Git/kkcorp/OpenAPI-JavaScript/src/api/MoodStationFetcher.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 136, + "kind": "class", + "name": "MoodStationFetcher", + "memberof": "src/api/MoodStationFetcher.js", + "static": true, + "longname": "src/api/MoodStationFetcher.js~MoodStationFetcher", + "access": "public", + "export": true, + "importPath": "@kkbox/kkbox-js-sdk/src/api/MoodStationFetcher.js", + "importStyle": "MoodStationFetcher", + "description": "Get mood stations.", + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#mood-stations" + ], + "lineNumber": 8, + "interface": false, + "extends": [ + "src/api/Fetcher.js~Fetcher" + ] + }, + { + "__docId__": 137, + "kind": "constructor", + "name": "constructor", + "memberof": "src/api/MoodStationFetcher.js~MoodStationFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/MoodStationFetcher.js~MoodStationFetcher#constructor", + "access": "public", + "description": "", + "lineNumber": 12, + "ignore": true + }, + { + "__docId__": 138, + "kind": "member", + "name": "moodStationID", + "memberof": "src/api/MoodStationFetcher.js~MoodStationFetcher", + "static": false, + "longname": "src/api/MoodStationFetcher.js~MoodStationFetcher#moodStationID", + "access": "public", + "description": "", + "lineNumber": 18, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 139, + "kind": "method", + "name": "fetchAllMoodStations", + "memberof": "src/api/MoodStationFetcher.js~MoodStationFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/MoodStationFetcher.js~MoodStationFetcher#fetchAllMoodStations", + "access": "public", + "description": "Fetch all mood stations.", + "examples": [ + "api.moodStationFetcher.fetchAllMoodStations();" + ], + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#moodstations" + ], + "lineNumber": 28, + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 140, + "kind": "method", + "name": "setMoodStationID", + "memberof": "src/api/MoodStationFetcher.js~MoodStationFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/MoodStationFetcher.js~MoodStationFetcher#setMoodStationID", + "access": "public", + "description": "Init the mood station fetcher.", + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#moodstations-station_id" + ], + "lineNumber": 42, + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "moodStationID", + "description": "The ID of a mood station." + }, + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": true, + "defaultValue": " 'TW'", + "defaultRaw": " 'TW'", + "name": "territory", + "description": "['TW', 'HK', 'SG', 'MY', 'JP'] The territory of a mood station." + } + ], + "return": { + "nullable": null, + "types": [ + "MoodStation" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 142, + "kind": "member", + "name": "territory", + "memberof": "src/api/MoodStationFetcher.js~MoodStationFetcher", + "static": false, + "longname": "src/api/MoodStationFetcher.js~MoodStationFetcher#territory", + "access": "public", + "description": null, + "lineNumber": 44, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 143, + "kind": "method", + "name": "fetchMetadata", + "memberof": "src/api/MoodStationFetcher.js~MoodStationFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/MoodStationFetcher.js~MoodStationFetcher#fetchMetadata", + "access": "public", + "description": "Fetch the mood station's metadata.", + "examples": [ + "api.moodStationFetcher.setMoodStationID('StGZp2ToWq92diPHS7').fetchMetadata();" + ], + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#moodstations-station_id" + ], + "lineNumber": 55, + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 144, + "kind": "file", + "name": "src/api/NewHitsPlaylistFetcher.js", + "content": "import { NEW_HITS_PLAYLISTS as ENDPOINT } from '../Endpoint';\nimport Fetcher from './Fetcher';\n\n/**\n * List new hits playlists.\n * @see https://docs-en.kkbox.codes/v1.1/reference#new-hits-playlists\n */\nexport default class NewHitsPlaylistFetcher extends Fetcher {\n /**\n * @ignore\n */\n constructor(http, territory = 'TW') {\n super(http, territory);\n\n /**\n * @ignore\n */\n this.playlistID = undefined;\n }\n\n /**\n * Fetch all new hits playlists.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newHitsPlaylistFetcher.fetchAllNewHitsPlaylists();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists\n */\n fetchAllNewHitsPlaylists(limit = undefined, offset = undefined) {\n return this.http.get(ENDPOINT, {\n territory: this.territory\n });\n }\n\n /**\n * Init the new hits playlist fetcher.\n *\n * @param {string} playlistID - The playlist ID.\n * @return {NewHitsPlaylistFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists-playlist_id\n */\n setPlaylistID(playlistID) {\n this.playlistID = playlistID;\n return this;\n }\n\n /**\n * Fetch metadata of the new hits playlist you set.\n *\n * @return {Promise}\n * @example api.newHitsPlaylistFetcher.setPlaylistID('DZrC8m29ciOFY2JAm3').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists-playlist_id\n */\n fetchMetadata() {\n return this.http.get(ENDPOINT + '/' + this.playlistID, {\n territory: this.territory\n });\n }\n\n /**\n * Fetch tracks of the new hits playlist you set. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newHitsPlaylistFetcher.setPlaylistID('DZrC8m29ciOFY2JAm3').fetchTracks();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists-playlist_id-tracks\n */\n fetchTracks(limit = undefined, offset = undefined) {\n return this.http.get(ENDPOINT + '/' + this.playlistID + '/tracks', {\n territory: this.territory,\n limit: limit,\n offset: offset\n });\n }\n}\n", + "static": true, + "longname": "/Users/ajhsu/Git/kkcorp/OpenAPI-JavaScript/src/api/NewHitsPlaylistFetcher.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 145, + "kind": "class", + "name": "NewHitsPlaylistFetcher", + "memberof": "src/api/NewHitsPlaylistFetcher.js", + "static": true, + "longname": "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher", + "access": "public", + "export": true, + "importPath": "@kkbox/kkbox-js-sdk/src/api/NewHitsPlaylistFetcher.js", + "importStyle": "NewHitsPlaylistFetcher", + "description": "List new hits playlists.", + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#new-hits-playlists" + ], + "lineNumber": 8, + "interface": false, + "extends": [ + "src/api/Fetcher.js~Fetcher" + ] + }, + { + "__docId__": 146, + "kind": "constructor", + "name": "constructor", + "memberof": "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher#constructor", + "access": "public", + "description": "", + "lineNumber": 12, + "ignore": true + }, + { + "__docId__": 147, + "kind": "member", + "name": "playlistID", + "memberof": "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher", + "static": false, + "longname": "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher#playlistID", + "access": "public", + "description": "", + "lineNumber": 18, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 148, + "kind": "method", + "name": "fetchAllNewHitsPlaylists", + "memberof": "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher#fetchAllNewHitsPlaylists", + "access": "public", + "description": "Fetch all new hits playlists.", + "examples": [ + "api.newHitsPlaylistFetcher.fetchAllNewHitsPlaylists();" + ], + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists" + ], + "lineNumber": 30, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "limit", + "description": "The size of one page." + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "offset", + "description": "The offset index for first element." + } + ], + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 149, + "kind": "method", + "name": "setPlaylistID", + "memberof": "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher#setPlaylistID", + "access": "public", + "description": "Init the new hits playlist fetcher.", + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists-playlist_id" + ], + "lineNumber": 43, + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "playlistID", + "description": "The playlist ID." + } + ], + "return": { + "nullable": null, + "types": [ + "NewHitsPlaylistFetcher" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 151, + "kind": "method", + "name": "fetchMetadata", + "memberof": "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher#fetchMetadata", + "access": "public", + "description": "Fetch metadata of the new hits playlist you set.", + "examples": [ + "api.newHitsPlaylistFetcher.setPlaylistID('DZrC8m29ciOFY2JAm3').fetchMetadata();" + ], + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists-playlist_id" + ], + "lineNumber": 55, + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 152, + "kind": "method", + "name": "fetchTracks", + "memberof": "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher#fetchTracks", + "access": "public", + "description": "Fetch tracks of the new hits playlist you set. Result will be paged.", + "examples": [ + "api.newHitsPlaylistFetcher.setPlaylistID('DZrC8m29ciOFY2JAm3').fetchTracks();" + ], + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists-playlist_id-tracks" + ], + "lineNumber": 70, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "limit", + "description": "The size of one page." + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "offset", + "description": "The offset index for first element." + } + ], + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 153, + "kind": "file", + "name": "src/api/NewReleaseCategoryFetcher.js", + "content": "import { NEW_RELEASE_CATEGORIES as ENDPOINT } from '../Endpoint';\nimport Fetcher from './Fetcher';\n\n/**\n * List categories of new release albums.\n * @see https://docs-en.kkbox.codes/v1.1/reference#new-release-categories\n */\nexport default class NewReleaseCategoryFetcher extends Fetcher {\n /**\n * @ignore\n */\n constructor(http, territory = 'TW') {\n super(http, territory);\n\n /**\n * @ignore\n */\n this.categoryID = undefined;\n }\n\n /**\n * Fetch all new release categories.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.fetchAllNewReleaseCategories();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories\n */\n fetchAllNewReleaseCategories(limit = undefined, offset = undefined) {\n return this.http.get(ENDPOINT, {\n limit: limit,\n offset: offset,\n territory: this.territory\n });\n }\n\n /**\n * Init the new release category fetcher.\n *\n * @param {string} categoryID - The category ID.\n * @return {NewReleaseCategoryFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories-category_id\n */\n setCategoryID(categoryID) {\n this.categoryID = categoryID;\n return this;\n }\n\n /**\n * Fetch metadata of the new release category you set.\n *\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories-category_id\n */\n fetchMetadata() {\n return this.http.get(ENDPOINT + '/' + this.categoryID, {\n territory: this.territory\n });\n }\n\n /**\n * Fetch albums of the new release category with the category fetcher you init. Result will be paged.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchAlbums();\n * @see https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories-category_id-albums\n */\n fetchAlbums(limit = undefined, offset = undefined) {\n return this.http.get(ENDPOINT + '/' + this.categoryID + '/albums', {\n territory: this.territory,\n limit: limit,\n offset: offset\n });\n }\n}\n", + "static": true, + "longname": "/Users/ajhsu/Git/kkcorp/OpenAPI-JavaScript/src/api/NewReleaseCategoryFetcher.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 154, + "kind": "class", + "name": "NewReleaseCategoryFetcher", + "memberof": "src/api/NewReleaseCategoryFetcher.js", + "static": true, + "longname": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher", + "access": "public", + "export": true, + "importPath": "@kkbox/kkbox-js-sdk/src/api/NewReleaseCategoryFetcher.js", + "importStyle": "NewReleaseCategoryFetcher", + "description": "List categories of new release albums.", + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#new-release-categories" + ], + "lineNumber": 8, + "interface": false, + "extends": [ + "src/api/Fetcher.js~Fetcher" + ] + }, + { + "__docId__": 155, + "kind": "constructor", + "name": "constructor", + "memberof": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher#constructor", + "access": "public", + "description": "", + "lineNumber": 12, + "ignore": true + }, + { + "__docId__": 156, + "kind": "member", + "name": "categoryID", + "memberof": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher", + "static": false, + "longname": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher#categoryID", + "access": "public", + "description": "", + "lineNumber": 18, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 157, + "kind": "method", + "name": "fetchAllNewReleaseCategories", + "memberof": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher#fetchAllNewReleaseCategories", + "access": "public", + "description": "Fetch all new release categories.", + "examples": [ + "api.newReleaseCategoryFetcher.fetchAllNewReleaseCategories();" + ], + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories" + ], + "lineNumber": 30, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "limit", + "description": "The size of one page." + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "offset", + "description": "The offset index for first element." + } + ], + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 158, + "kind": "method", + "name": "setCategoryID", + "memberof": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher#setCategoryID", + "access": "public", + "description": "Init the new release category fetcher.", + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories-category_id" + ], + "lineNumber": 45, + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "categoryID", + "description": "The category ID." + } + ], + "return": { + "nullable": null, + "types": [ + "NewReleaseCategoryFetcher" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 160, + "kind": "method", + "name": "fetchMetadata", + "memberof": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher#fetchMetadata", + "access": "public", + "description": "Fetch metadata of the new release category you set.", + "examples": [ + "api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchMetadata();" + ], + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories-category_id" + ], + "lineNumber": 57, + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 161, + "kind": "method", + "name": "fetchAlbums", + "memberof": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher#fetchAlbums", + "access": "public", + "description": "Fetch albums of the new release category with the category fetcher you init. Result will be paged.", + "examples": [ + "api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchAlbums();" + ], + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories-category_id-albums" + ], + "lineNumber": 72, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "limit", + "description": "The size of one page." + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "offset", + "description": "The offset index for first element." + } + ], + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 162, + "kind": "file", + "name": "src/api/SearchFetcher.js", + "content": "import { SEARCH as ENDPOINT } from '../Endpoint';\nimport Fetcher from './Fetcher';\n\n/**\n * Search API.\n * @see https://docs-en.kkbox.codes/v1.1/reference#search\n */\nexport default class SearchFetcher extends Fetcher {\n /**\n * @ignore\n */\n constructor(http, territory = 'TW') {\n super(http, territory);\n\n /**\n * @ignore\n */\n this.filterConditions = undefined;\n\n /**\n * @ignore\n */\n this.q = undefined;\n\n /**\n * @ignore\n */\n this.type = undefined;\n }\n\n /**\n * Filter what you don't want when search.\n *\n * @param {Object} [conditions] - search conditions.\n * @param {string} conditions.track - track's name.\n * @param {string} conditions.album - album's name.\n * @param {string} conditions.artist - artist's name.\n * @param {string} conditions.playlist - playlist's title.\n * @param {string} conditions.availableTerritory - tracks and albums available territory.\n * @return {Search}\n * @example\n * api.searchFetcher\n * .setSearchCriteria('五月天 好好')\n * .filter({artist: '五月天'})\n * .fetchSearchResult();\n */\n filter(conditions = {}) {\n this.filterConditions = conditions;\n return this;\n }\n\n /**\n * Init the search fetcher for the artist, album, track or playlist.\n *\n * @param {string} q - The keyword to be searched.\n * @param {string} [type] - ['artist', 'album', 'track', 'playlist'] The type of search. Default to search all types. If you want to use multiple type at the same time, you may use ',' to separate them.\n * @return {Search}\n * @see https://docs-en.kkbox.codes/v1.1/reference#search_1\n */\n setSearchCriteria(q, type = undefined) {\n this.q = q;\n this.type = type;\n return this;\n }\n\n /**\n * Fetch the search result.\n *\n * @param {number} [limit] - The size of one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example\n * api.searchFetcher\n * .setSearchCriteria('五月天 好好')\n * .fetchSearchResult();\n * @see https://docs-en.kkbox.codes/v1.1/reference#search_1\n */\n fetchSearchResult(limit = undefined, offset = undefined) {\n return this.http\n .get(ENDPOINT, {\n q: this.q,\n type: this.type,\n territory: this.territory,\n limit: limit,\n offset: offset\n })\n .then(doFilter.bind(this));\n }\n}\n\nfunction doFilter(response) {\n if (this.filterConditions !== undefined) {\n const data = Object.keys(response.data).map(key => {\n switch (key) {\n case 'tracks':\n return {\n [key]: Object.assign(response.data[key], {\n data: response.data[key].data.filter(track => {\n if (\n this.filterConditions.availableTerritory !== undefined &&\n !track.available_territories.includes(\n this.filterConditions.availableTerritory\n )\n ) {\n return false;\n }\n if (\n this.filterConditions.track !== undefined &&\n !new RegExp('.*' + this.filterConditions.track + '.*').test(\n track.name\n )\n ) {\n return false;\n }\n if (\n this.filterConditions.album !== undefined &&\n !new RegExp('.*' + this.filterConditions.album + '.*').test(\n track.album.name\n )\n ) {\n return false;\n }\n return !(\n this.filterConditions.artist !== undefined &&\n !new RegExp('.*' + this.filterConditions.artist + '.*').test(\n track.album.artist.name\n )\n );\n })\n })\n };\n case 'albums':\n return {\n [key]: Object.assign(response.data[key], {\n data: response.data[key].data.filter(album => {\n if (\n this.filterConditions.availableTerritory !== undefined &&\n !album.available_territories.includes(\n this.filterConditions.availableTerritory\n )\n ) {\n return false;\n }\n if (\n this.filterConditions.album !== undefined &&\n !new RegExp('.*' + this.filterConditions.album + '.*').test(\n album.name\n )\n ) {\n return false;\n }\n return !(\n this.filterConditions.artist !== undefined &&\n !new RegExp('.*' + this.filterConditions.artist + '.*').test(\n album.artist.name\n )\n );\n })\n })\n };\n case 'artists':\n return {\n [key]: Object.assign(response.data[key], {\n data: response.data[key].data.filter(artist => {\n if (this.filterConditions.artist === undefined) {\n return true;\n } else {\n return new RegExp(\n '.*' + this.filterConditions.artist + '.*'\n ).test(artist.name);\n }\n })\n })\n };\n case 'playlists':\n return {\n [key]: Object.assign(response.data[key], {\n data: response.data[key].data.filter(playlist => {\n if (this.filterConditions.playlist === undefined) {\n return true;\n } else {\n return new RegExp(\n '.*' + this.filterConditions.playlist + '.*'\n ).test(playlist.title);\n }\n })\n })\n };\n default:\n return {\n [key]: response.data[key]\n };\n }\n });\n return Object.assign(response, {\n data: Object.assign(...data)\n });\n } else {\n return response;\n }\n}\n", + "static": true, + "longname": "/Users/ajhsu/Git/kkcorp/OpenAPI-JavaScript/src/api/SearchFetcher.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 163, + "kind": "class", + "name": "SearchFetcher", + "memberof": "src/api/SearchFetcher.js", + "static": true, + "longname": "src/api/SearchFetcher.js~SearchFetcher", + "access": "public", + "export": true, + "importPath": "@kkbox/kkbox-js-sdk/src/api/SearchFetcher.js", + "importStyle": "SearchFetcher", + "description": "Search API.", + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#search" + ], + "lineNumber": 8, + "interface": false, + "extends": [ + "src/api/Fetcher.js~Fetcher" + ] + }, + { + "__docId__": 164, + "kind": "constructor", + "name": "constructor", + "memberof": "src/api/SearchFetcher.js~SearchFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/SearchFetcher.js~SearchFetcher#constructor", + "access": "public", + "description": "", + "lineNumber": 12, + "ignore": true + }, + { + "__docId__": 165, + "kind": "member", + "name": "filterConditions", + "memberof": "src/api/SearchFetcher.js~SearchFetcher", + "static": false, + "longname": "src/api/SearchFetcher.js~SearchFetcher#filterConditions", + "access": "public", + "description": "", + "lineNumber": 18, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 166, + "kind": "member", + "name": "q", + "memberof": "src/api/SearchFetcher.js~SearchFetcher", + "static": false, + "longname": "src/api/SearchFetcher.js~SearchFetcher#q", + "access": "public", + "description": "", + "lineNumber": 23, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 167, + "kind": "member", + "name": "type", + "memberof": "src/api/SearchFetcher.js~SearchFetcher", + "static": false, + "longname": "src/api/SearchFetcher.js~SearchFetcher#type", + "access": "public", + "description": "", + "lineNumber": 28, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 168, + "kind": "method", + "name": "filter", + "memberof": "src/api/SearchFetcher.js~SearchFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/SearchFetcher.js~SearchFetcher#filter", + "access": "public", + "description": "Filter what you don't want when search.", + "examples": [ + "api.searchFetcher\n .setSearchCriteria('五月天 好好')\n .filter({artist: '五月天'})\n .fetchSearchResult();" + ], + "lineNumber": 47, + "params": [ + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": true, + "name": "conditions", + "description": "search conditions." + }, + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "conditions.track", + "description": "track's name." + }, + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "conditions.album", + "description": "album's name." + }, + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "conditions.artist", + "description": "artist's name." + }, + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "conditions.playlist", + "description": "playlist's title." + }, + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "conditions.availableTerritory", + "description": "tracks and albums available territory." + } + ], + "return": { + "nullable": null, + "types": [ + "Search" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 170, + "kind": "method", + "name": "setSearchCriteria", + "memberof": "src/api/SearchFetcher.js~SearchFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/SearchFetcher.js~SearchFetcher#setSearchCriteria", + "access": "public", + "description": "Init the search fetcher for the artist, album, track or playlist.", + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#search_1" + ], + "lineNumber": 60, + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "q", + "description": "The keyword to be searched." + }, + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": true, + "name": "type", + "description": "['artist', 'album', 'track', 'playlist'] The type of search. Default to search all types. If you want to use multiple type at the same time, you may use ',' to separate them." + } + ], + "return": { + "nullable": null, + "types": [ + "Search" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 173, + "kind": "method", + "name": "fetchSearchResult", + "memberof": "src/api/SearchFetcher.js~SearchFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/SearchFetcher.js~SearchFetcher#fetchSearchResult", + "access": "public", + "description": "Fetch the search result.", + "examples": [ + "api.searchFetcher\n .setSearchCriteria('五月天 好好')\n .fetchSearchResult();" + ], + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#search_1" + ], + "lineNumber": 78, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "limit", + "description": "The size of one page." + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "offset", + "description": "The offset index for first element." + } + ], + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 174, + "kind": "function", + "name": "doFilter", + "memberof": "src/api/SearchFetcher.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/api/SearchFetcher.js~doFilter", + "access": "public", + "export": false, + "importPath": "@kkbox/kkbox-js-sdk/src/api/SearchFetcher.js", + "importStyle": null, + "description": null, + "lineNumber": 91, + "undocument": true, + "params": [ + { + "name": "response", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 175, + "kind": "file", + "name": "src/api/SharedPlaylistFetcher.js", + "content": "import { SHARED_PLAYLISTS as ENDPOINT } from '../Endpoint';\nimport Fetcher from './Fetcher';\n\n/**\n * Get playlist metadata.\n * @see https://docs-en.kkbox.codes/v1.1/reference#shared-playlists\n */\nexport default class SharedPlaylistFetcher extends Fetcher {\n /**\n * @ignore\n */\n constructor(http, territory = 'TW') {\n super(http, territory);\n\n /**\n * @ignore\n */\n this.playlistID = undefined;\n }\n\n /**\n * Init the shared playlist fetcher.\n *\n * @param {string} playlistID - The ID of a playlist.\n * @return {SharedPlaylistFetcher}\n * @see https://docs-en.kkbox.codes/v1.1/reference#sharedplaylists-playlist_id\n */\n setPlaylistID(playlistID) {\n this.playlistID = playlistID;\n return this;\n }\n\n /**\n * Fetch metadata of the shared playlist with the shared playlist fetcher.\n *\n * @return {Promise}\n * @example\n * api.sharedPlaylistFetcher\n * .setPlaylistID('4nUZM-TY2aVxZ2xaA-')\n * .fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#sharedplaylists-playlist_id\n */\n fetchMetadata() {\n return this.http.get(ENDPOINT + '/' + this.playlistID, {\n territory: this.territory\n });\n }\n\n /**\n * Get KKBOX web widget uri of the playlist.\n * @example https://widget.kkbox.com/v1/?id=KmjwNXizu5MxHFSloP&type=playlist\n * @return {string}\n */\n getWidgetUri() {\n return `https://widget.kkbox.com/v1/?id=${this.playlistID}&type=playlist`;\n }\n\n /**\n * Fetch track list of a shared playlist.\n *\n * @param {number} [limit] - The size for one page.\n * @param {number} [offset] - The offset index for first element.\n * @return {Promise}\n * @example\n * api.sharedPlaylistFetcher\n * .setPlaylistID('4nUZM-TY2aVxZ2xaA-')\n * .fetchTracks();\n * @see https://docs-en.kkbox.codes/v1.1/reference#sharedplaylists-playlist_id-tracks\n */\n fetchTracks(limit = undefined, offset = undefined) {\n return this.http.get(ENDPOINT + '/' + this.playlistID + '/tracks', {\n territory: this.territory,\n limit: limit,\n offset: offset\n });\n }\n}\n", + "static": true, + "longname": "/Users/ajhsu/Git/kkcorp/OpenAPI-JavaScript/src/api/SharedPlaylistFetcher.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 176, + "kind": "class", + "name": "SharedPlaylistFetcher", + "memberof": "src/api/SharedPlaylistFetcher.js", + "static": true, + "longname": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher", + "access": "public", + "export": true, + "importPath": "@kkbox/kkbox-js-sdk/src/api/SharedPlaylistFetcher.js", + "importStyle": "SharedPlaylistFetcher", + "description": "Get playlist metadata.", + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#shared-playlists" + ], + "lineNumber": 8, + "interface": false, + "extends": [ + "src/api/Fetcher.js~Fetcher" + ] + }, + { + "__docId__": 177, + "kind": "constructor", + "name": "constructor", + "memberof": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher#constructor", + "access": "public", + "description": "", + "lineNumber": 12, + "ignore": true + }, + { + "__docId__": 178, + "kind": "member", + "name": "playlistID", + "memberof": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher", + "static": false, + "longname": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher#playlistID", + "access": "public", + "description": "", + "lineNumber": 18, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 179, + "kind": "method", + "name": "setPlaylistID", + "memberof": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher#setPlaylistID", + "access": "public", + "description": "Init the shared playlist fetcher.", + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#sharedplaylists-playlist_id" + ], + "lineNumber": 28, + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "playlistID", + "description": "The ID of a playlist." + } + ], + "return": { + "nullable": null, + "types": [ + "SharedPlaylistFetcher" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 181, + "kind": "method", + "name": "fetchMetadata", + "memberof": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher#fetchMetadata", + "access": "public", + "description": "Fetch metadata of the shared playlist with the shared playlist fetcher.", + "examples": [ + " api.sharedPlaylistFetcher\n .setPlaylistID('4nUZM-TY2aVxZ2xaA-')\n .fetchMetadata();" + ], + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#sharedplaylists-playlist_id" + ], + "lineNumber": 43, + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 182, + "kind": "method", + "name": "getWidgetUri", + "memberof": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher#getWidgetUri", + "access": "public", + "description": "Get KKBOX web widget uri of the playlist.", + "examples": [ + "https://widget.kkbox.com/v1/?id=KmjwNXizu5MxHFSloP&type=playlist" + ], + "lineNumber": 54, + "return": { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 183, + "kind": "method", + "name": "fetchTracks", + "memberof": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher#fetchTracks", + "access": "public", + "description": "Fetch track list of a shared playlist.", + "examples": [ + " api.sharedPlaylistFetcher\n .setPlaylistID('4nUZM-TY2aVxZ2xaA-')\n .fetchTracks();" + ], + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#sharedplaylists-playlist_id-tracks" + ], + "lineNumber": 70, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "limit", + "description": "The size for one page." + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "offset", + "description": "The offset index for first element." + } + ], + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 184, + "kind": "file", + "name": "src/api/TrackFetcher.js", + "content": "import { TRACKS as ENDPOINT } from '../Endpoint';\nimport Fetcher from './Fetcher';\n\n/**\n * Get metadata of a track.\n * @see https://docs-en.kkbox.codes/v1.1/reference#tracks\n */\nexport default class TrackFetcher extends Fetcher {\n /**\n * @ignore\n */\n constructor(http, territory = 'TW') {\n super(http, territory);\n\n /**\n * @ignore\n */\n this.trackID = undefined;\n }\n\n /**\n * Set the track fetcher's track ID.\n *\n * @param {string} trackID - The ID of a track.\n * @return {Track}\n * @see https://docs-en.kkbox.codes/v1.1/reference#tracks-track_id\n */\n setTrackID(trackID) {\n this.trackID = trackID;\n return this;\n }\n\n /**\n * Get metadata of the track with the track fetcher.\n *\n * @return {Promise}\n * @example api.trackFetcher.setTrackID('KpnEGVHEsGgkoB0MBk').fetchMetadata();\n * @see https://docs-en.kkbox.codes/v1.1/reference#tracks-track_id\n */\n fetchMetadata() {\n return this.http.get(ENDPOINT + '/' + this.trackID, {\n territory: this.territory\n });\n }\n\n /**\n * Get KKBOX web widget uri of the track.\n * @example https://widget.kkbox.com/v1/?id=8sD5pE4dV0Zqmmler6&type=song\n * @return {string}\n */\n getWidgetUri() {\n return `https://widget.kkbox.com/v1/?id=${this.trackID}&type=song`;\n }\n}\n", + "static": true, + "longname": "/Users/ajhsu/Git/kkcorp/OpenAPI-JavaScript/src/api/TrackFetcher.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 185, + "kind": "class", + "name": "TrackFetcher", + "memberof": "src/api/TrackFetcher.js", + "static": true, + "longname": "src/api/TrackFetcher.js~TrackFetcher", + "access": "public", + "export": true, + "importPath": "@kkbox/kkbox-js-sdk/src/api/TrackFetcher.js", + "importStyle": "TrackFetcher", + "description": "Get metadata of a track.", + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#tracks" + ], + "lineNumber": 8, + "interface": false, + "extends": [ + "src/api/Fetcher.js~Fetcher" + ] + }, + { + "__docId__": 186, + "kind": "constructor", + "name": "constructor", + "memberof": "src/api/TrackFetcher.js~TrackFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/TrackFetcher.js~TrackFetcher#constructor", + "access": "public", + "description": "", + "lineNumber": 12, + "ignore": true + }, + { + "__docId__": 187, + "kind": "member", + "name": "trackID", + "memberof": "src/api/TrackFetcher.js~TrackFetcher", + "static": false, + "longname": "src/api/TrackFetcher.js~TrackFetcher#trackID", + "access": "public", + "description": "", + "lineNumber": 18, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 188, + "kind": "method", + "name": "setTrackID", + "memberof": "src/api/TrackFetcher.js~TrackFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/TrackFetcher.js~TrackFetcher#setTrackID", + "access": "public", + "description": "Set the track fetcher's track ID.", + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#tracks-track_id" + ], + "lineNumber": 28, + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "trackID", + "description": "The ID of a track." + } + ], + "return": { + "nullable": null, + "types": [ + "Track" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 190, + "kind": "method", + "name": "fetchMetadata", + "memberof": "src/api/TrackFetcher.js~TrackFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/TrackFetcher.js~TrackFetcher#fetchMetadata", + "access": "public", + "description": "Get metadata of the track with the track fetcher.", + "examples": [ + "api.trackFetcher.setTrackID('KpnEGVHEsGgkoB0MBk').fetchMetadata();" + ], + "see": [ + "https://docs-en.kkbox.codes/v1.1/reference#tracks-track_id" + ], + "lineNumber": 40, + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 191, + "kind": "method", + "name": "getWidgetUri", + "memberof": "src/api/TrackFetcher.js~TrackFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/api/TrackFetcher.js~TrackFetcher#getWidgetUri", + "access": "public", + "description": "Get KKBOX web widget uri of the track.", + "examples": [ + "https://widget.kkbox.com/v1/?id=8sD5pE4dV0Zqmmler6&type=song" + ], + "lineNumber": 51, + "return": { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 192, + "kind": "file", + "name": "src/auth/Auth.js", + "content": "import ClientCredentialsFlow from './ClientCredentialsFlow';\nimport TokenFetcher from './TokenFetcher';\n\n/**\n * Implements various KKBOX OAuth 2.0 authorization flows.\n */\nexport default class Auth {\n /**\n * Initialize the Auth object with client id and client secret.\n *\n * @param {string} clientID\n * @param {string} clientSecret\n * @example new Auth(clientID, clientSecret);\n */\n constructor(clientID, clientSecret) {\n /**\n * @type {TokenFetcher}\n */\n this.tokenFetcher = new TokenFetcher(clientID, clientSecret);\n\n /**\n * @type {ClientCredentialsFlow}\n */\n this.clientCredentialsFlow = new ClientCredentialsFlow(this.tokenFetcher);\n }\n}\n", + "static": true, + "longname": "/Users/ajhsu/Git/kkcorp/OpenAPI-JavaScript/src/auth/Auth.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 193, + "kind": "class", + "name": "Auth", + "memberof": "src/auth/Auth.js", + "static": true, + "longname": "src/auth/Auth.js~Auth", + "access": "public", + "export": true, + "importPath": "@kkbox/kkbox-js-sdk/src/auth/Auth.js", + "importStyle": "Auth", + "description": "Implements various KKBOX OAuth 2.0 authorization flows.", + "lineNumber": 7, + "interface": false + }, + { + "__docId__": 194, + "kind": "constructor", + "name": "constructor", + "memberof": "src/auth/Auth.js~Auth", + "generator": false, + "async": false, + "static": false, + "longname": "src/auth/Auth.js~Auth#constructor", + "access": "public", + "description": "Initialize the Auth object with client id and client secret.", + "examples": [ + "new Auth(clientID, clientSecret);" + ], + "lineNumber": 15, + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "clientID", + "description": "" + }, + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "clientSecret", + "description": "" + } + ] + }, + { + "__docId__": 195, + "kind": "member", + "name": "tokenFetcher", + "memberof": "src/auth/Auth.js~Auth", + "static": false, + "longname": "src/auth/Auth.js~Auth#tokenFetcher", + "access": "public", + "description": "", + "lineNumber": 19, + "type": { + "nullable": null, + "types": [ + "TokenFetcher" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 196, + "kind": "member", + "name": "clientCredentialsFlow", + "memberof": "src/auth/Auth.js~Auth", + "static": false, + "longname": "src/auth/Auth.js~Auth#clientCredentialsFlow", + "access": "public", + "description": "", + "lineNumber": 24, + "type": { + "nullable": null, + "types": [ + "ClientCredentialsFlow" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 197, + "kind": "file", + "name": "src/auth/ClientCredentialsFlow.js", + "content": "/**\n * Implements the client credentials flow. Used for accessing APIs that don't need any KKBOX\n * user's personal data.\n * @see https://docs-en.kkbox.codes/docs/getting-started\n */\nexport default class ClientCredentialsFlow {\n /**\n * @ignore\n */\n constructor(token) {\n /**\n * @ignore\n */\n this.token = token;\n }\n\n /**\n * Fetch access token.\n *\n * @return {Promise}\n * @example auth.clientCredentialsFlow.fetchAccessToken();\n */\n fetchAccessToken() {\n return this.token.fetchAccessToken({\n grant_type: 'client_credentials'\n });\n }\n}\n", + "static": true, + "longname": "/Users/ajhsu/Git/kkcorp/OpenAPI-JavaScript/src/auth/ClientCredentialsFlow.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 198, + "kind": "class", + "name": "ClientCredentialsFlow", + "memberof": "src/auth/ClientCredentialsFlow.js", + "static": true, + "longname": "src/auth/ClientCredentialsFlow.js~ClientCredentialsFlow", + "access": "public", + "export": true, + "importPath": "@kkbox/kkbox-js-sdk/src/auth/ClientCredentialsFlow.js", + "importStyle": "ClientCredentialsFlow", + "description": "Implements the client credentials flow. Used for accessing APIs that don't need any KKBOX\nuser's personal data.", + "see": [ + "https://docs-en.kkbox.codes/docs/getting-started" + ], + "lineNumber": 6, + "interface": false + }, + { + "__docId__": 199, + "kind": "constructor", + "name": "constructor", + "memberof": "src/auth/ClientCredentialsFlow.js~ClientCredentialsFlow", + "generator": false, + "async": false, + "static": false, + "longname": "src/auth/ClientCredentialsFlow.js~ClientCredentialsFlow#constructor", + "access": "public", + "description": "", + "lineNumber": 10, + "ignore": true + }, + { + "__docId__": 200, + "kind": "member", + "name": "token", + "memberof": "src/auth/ClientCredentialsFlow.js~ClientCredentialsFlow", + "static": false, + "longname": "src/auth/ClientCredentialsFlow.js~ClientCredentialsFlow#token", + "access": "public", + "description": "", + "lineNumber": 14, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 201, + "kind": "method", + "name": "fetchAccessToken", + "memberof": "src/auth/ClientCredentialsFlow.js~ClientCredentialsFlow", + "generator": false, + "async": false, + "static": false, + "longname": "src/auth/ClientCredentialsFlow.js~ClientCredentialsFlow#fetchAccessToken", + "access": "public", + "description": "Fetch access token.", + "examples": [ + "auth.clientCredentialsFlow.fetchAccessToken();" + ], + "lineNumber": 23, + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 202, + "kind": "file", + "name": "src/auth/TokenFetcher.js", + "content": "import axios from 'axios';\nimport { authError } from '../catchError';\nimport querystring from 'querystring';\nimport { Token as ENDPOINT_TOKEN } from '../Endpoint';\n\n/**\n * Fetches access token.\n */\nexport default class TokenFetcher {\n /**\n * @ignore\n */\n constructor(clientID, clientSecret) {\n /**\n * @ignore\n */\n this.clientID = clientID;\n\n /**\n * @ignore\n */\n this.clientSecret = clientSecret;\n }\n\n /**\n * Fetches access token.\n *\n * @param {object} params - Form data.\n * @return {Promise}\n */\n fetchAccessToken(params) {\n return axios\n .post(ENDPOINT_TOKEN, querystring.stringify(params), {\n auth: {\n username: this.clientID,\n password: this.clientSecret\n },\n headers: {}\n })\n .catch(authError);\n }\n}\n", + "static": true, + "longname": "/Users/ajhsu/Git/kkcorp/OpenAPI-JavaScript/src/auth/TokenFetcher.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 203, + "kind": "class", + "name": "TokenFetcher", + "memberof": "src/auth/TokenFetcher.js", + "static": true, + "longname": "src/auth/TokenFetcher.js~TokenFetcher", + "access": "public", + "export": true, + "importPath": "@kkbox/kkbox-js-sdk/src/auth/TokenFetcher.js", + "importStyle": "TokenFetcher", + "description": "Fetches access token.", + "lineNumber": 9, + "interface": false + }, + { + "__docId__": 204, + "kind": "constructor", + "name": "constructor", + "memberof": "src/auth/TokenFetcher.js~TokenFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/auth/TokenFetcher.js~TokenFetcher#constructor", + "access": "public", + "description": "", + "lineNumber": 13, + "ignore": true + }, + { + "__docId__": 205, + "kind": "member", + "name": "clientID", + "memberof": "src/auth/TokenFetcher.js~TokenFetcher", + "static": false, + "longname": "src/auth/TokenFetcher.js~TokenFetcher#clientID", + "access": "public", + "description": "", + "lineNumber": 17, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 206, + "kind": "member", + "name": "clientSecret", + "memberof": "src/auth/TokenFetcher.js~TokenFetcher", + "static": false, + "longname": "src/auth/TokenFetcher.js~TokenFetcher#clientSecret", + "access": "public", + "description": "", + "lineNumber": 22, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 207, + "kind": "method", + "name": "fetchAccessToken", + "memberof": "src/auth/TokenFetcher.js~TokenFetcher", + "generator": false, + "async": false, + "static": false, + "longname": "src/auth/TokenFetcher.js~TokenFetcher#fetchAccessToken", + "access": "public", + "description": "Fetches access token.", + "lineNumber": 31, + "params": [ + { + "nullable": null, + "types": [ + "object" + ], + "spread": false, + "optional": false, + "name": "params", + "description": "Form data." + } + ], + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 208, + "kind": "file", + "name": "src/catchError.js", + "content": "/**\n * @ignore\n */\nexport const apiError = error => {\n if (error.response) {\n throw new Error(error.response.data.error.message);\n } else {\n throw new Error(error.message);\n }\n};\n\n/**\n * @ignore\n */\nexport const authError = error => {\n throw new Error(error.response.data.error);\n};\n", + "static": true, + "longname": "/Users/ajhsu/Git/kkcorp/OpenAPI-JavaScript/src/catchError.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 209, + "kind": "function", + "name": "apiError", + "memberof": "src/catchError.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/catchError.js~apiError", + "access": "public", + "export": true, + "importPath": "@kkbox/kkbox-js-sdk/src/catchError.js", + "importStyle": "{apiError}", + "description": "", + "lineNumber": 4, + "ignore": true, + "params": [ + { + "name": "error", + "types": [ + "*" + ] + } + ], + "return": null + }, + { + "__docId__": 210, + "kind": "function", + "name": "authError", + "memberof": "src/catchError.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/catchError.js~authError", + "access": "public", + "export": true, + "importPath": "@kkbox/kkbox-js-sdk/src/catchError.js", + "importStyle": "{authError}", + "description": "", + "lineNumber": 15, + "ignore": true, + "params": [ + { + "name": "error", + "types": [ + "*" + ] + } + ], + "return": null + }, + { + "__docId__": 211, + "kind": "file", + "name": "src/index.js", + "content": "export { default as Auth } from './auth/Auth';\nexport { default as Api } from './api/Api';\n", + "static": true, + "longname": "/Users/ajhsu/Git/kkcorp/OpenAPI-JavaScript/src/index.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 212, + "kind": "file", + "name": "src/test/apitest.js", + "content": "import should from 'should';\nimport HttpClient from '../api/HttpClient';\nimport SearchFetcher from '../api/SearchFetcher';\nimport AlbumFetcher from '../api/AlbumFetcher';\nimport ArtistFetcher from '../api/ArtistFetcher';\nimport FeaturedPlaylistFetcher from '../api/FeaturedPlaylistFetcher';\nimport FeaturedPlaylistCategoryFetcher from '../api/FeaturedPlaylistCategoryFetcher';\nimport NewReleaseCategoryFetcher from '../api/NewReleaseCategoryFetcher';\nimport NewHitsPlaylistFetcher from '../api/NewHitsPlaylistFetcher';\nimport SharedPlaylistFetcher from '../api/SharedPlaylistFetcher';\nimport MoodStationFetcher from '../api/MoodStationFetcher';\nimport GenreStationFetcher from '../api/GenreStationFetcher';\nimport ChartFetcher from '../api/ChartFetcher';\nimport TrackFetcher from '../api/TrackFetcher';\nimport TokenFetcher from '../auth/TokenFetcher';\nimport ClientCredentials from '../auth/ClientCredentialsFlow';\nimport { kkbox_sdk } from '../../client_secrets.json';\nconst CLIENT_ID = kkbox_sdk.client_id;\nconst CLIENT_SECRET = kkbox_sdk.client_secret;\n\ndescribe('Api Begin to Test', () => {\n describe('ClientCredentials', () => {\n describe('#fetch the access token()', () => {\n it('should fetch access token', () => {\n const tokenFetcher = new TokenFetcher(CLIENT_ID, CLIENT_SECRET);\n const clientCredentials = new ClientCredentials(tokenFetcher);\n return clientCredentials.fetchAccessToken().then(\n response => {\n const access_token = response.data.access_token;\n access_token.should.be.ok;\n\n const httpClient = new HttpClient(access_token);\n\n describe('Search', () => {\n const searchFetcher = new SearchFetcher(\n httpClient\n ).setSearchCriteria('Linkin Park');\n describe('#fetchSearchResult()', () => {\n it('should response status 200', () => {\n return searchFetcher.fetchSearchResult().then(response => {\n response.status.should.be.exactly(200),\n reject => should.not.exists(reject);\n });\n });\n });\n\n describe('#filter()', () => {\n it('should get result', () => {\n return searchFetcher\n .filter({\n artist: 'Linkin Park',\n album: 'One More Light',\n available_territory: 'TW'\n })\n .fetchSearchResult()\n .then(response => {\n response.data.tracks.data.length.should.be.greaterThan(0);\n });\n });\n });\n });\n\n describe('Track', () => {\n const track_id = 'KpnEGVHEsGgkoB0MBk';\n const trackFetcher = new TrackFetcher(httpClient).setTrackID(\n track_id\n );\n it('should response status 200', () => {\n return trackFetcher\n .fetchMetadata()\n .then(\n response => response.status.should.be.exactly(200),\n reject => should.not.exists(reject)\n );\n });\n\n describe('#getWidgetUri', () => {\n it('should return right uri', function(doneCb) {\n trackFetcher\n .getWidgetUri()\n .should.be.exactly(\n `https://widget.kkbox.com/v1/?id=${track_id}&type=song`\n );\n doneCb();\n });\n });\n });\n\n describe('Album', () => {\n const album_id = 'KmRKnW5qmUrTnGRuxF';\n const albumFetcher = new AlbumFetcher(httpClient).setAlbumID(\n album_id\n );\n describe('#fetchMetadata()', () => {\n it('should response status 200', () => {\n return albumFetcher.fetchMetadata().then(\n response => {\n response.status.should.be.exactly(200);\n },\n reject => {\n should.not.exist(reject);\n }\n );\n });\n });\n\n describe('#fetchTracks()', () => {\n var fulfillment = undefined;\n it('should response status 200', () => {\n return albumFetcher.fetchTracks().then(\n response => {\n response.status.should.be.exactly(200);\n fulfillment = response;\n },\n reject => {\n should.not.exist(reject);\n }\n );\n });\n\n it('fetch next page should fail', () => {\n return albumFetcher.fetchNextPage(fulfillment).then(\n response => {\n throw new Error('Should not get response');\n },\n reject => {\n should.exist(reject);\n }\n );\n });\n\n it('should not have next page', done => {\n albumFetcher.hasNextPage(fulfillment).should.be.false;\n done();\n });\n });\n\n describe('#getWidgetUri', () => {\n it('should return right uri', done => {\n albumFetcher\n .getWidgetUri()\n .should.be.exactly(\n `https://widget.kkbox.com/v1/?id=${album_id}&type=album`\n );\n done();\n });\n });\n });\n\n describe('Album fetch next tracks', () => {\n const album_id = 'Ks8MAYNedkIB_sGajW'; // Cosmic Explorer from Perfume\n const albumFetcher = new AlbumFetcher(httpClient).setAlbumID(\n album_id\n );\n\n describe('#fetchTracks(1)', () => {\n it('should succeed and should fetch next page succeed', done => {\n albumFetcher.fetchTracks(1).then(\n response => {\n response.status.should.be.exactly(200);\n albumFetcher.fetchNextPage(response).then(\n response => {\n response.data.data.should.be.an.instanceOf(Array);\n response.data.data.length.should.be.equal(1);\n response.status.should.be.exactly(200);\n done();\n },\n reject => {\n done(reject);\n }\n );\n },\n reject => {\n done(reject);\n }\n );\n });\n });\n });\n\n describe('Album fetch next page', () => {\n const album_id = 'Ks8MAYNedkIB_sGajW'; // Cosmic Explorer from Perfume\n const albumFetcher = new AlbumFetcher(httpClient).setAlbumID(\n album_id\n );\n\n it('fetch next page should response status 200', () => {\n return albumFetcher.fetchTracks(1).then(\n response => {\n response.status.should.be.exactly(200);\n albumFetcher.fetchNextPage(response).then(\n response => {\n response.status.should.be.exactly(200);\n },\n reject => {\n should.not.exists(reject);\n }\n );\n },\n reject => {\n should.not.exists(reject);\n }\n );\n });\n });\n\n describe('Shared Playlists', () => {\n const playlist_id = '4nUZM-TY2aVxZ2xaA-';\n const sharedPlaylistFetcher = new SharedPlaylistFetcher(\n httpClient\n ).setPlaylistID(playlist_id);\n describe('#find and get()', () => {\n it('should response status 200', done => {\n sharedPlaylistFetcher\n .fetchMetadata()\n .then(response => {\n response.status.should.be.exactly(200);\n done();\n })\n .catch(error => {\n should.not.exists(error);\n done(error);\n });\n });\n });\n\n describe('#tracks()', () => {\n it('should response status 200', done => {\n sharedPlaylistFetcher.fetchTracks().then(\n response => {\n response.status.should.be.exactly(200);\n done();\n },\n reject => {\n done(reject);\n }\n );\n });\n });\n\n describe('#getWidgetUri', () => {\n it('should return right uri', done => {\n sharedPlaylistFetcher\n .getWidgetUri()\n .should.be.exactly(\n `https://widget.kkbox.com/v1/?id=${playlist_id}&type=playlist`\n );\n done();\n });\n });\n });\n\n describe('Artist', () => {\n const artistFetcher = new ArtistFetcher(httpClient).setArtistID(\n 'Cnv_K6i5Ft4y41SxLy'\n );\n describe('#fetchMetadata()', () => {\n it('should response status 200', () => {\n return artistFetcher\n .fetchMetadata()\n .then(response => {\n response.status.should.be.exactly(200);\n return response;\n })\n .catch(error => should.not.exists(error));\n });\n });\n\n describe('#fetchAlbums()', () => {\n it('should succeed and fetch next page should fail', () => {\n return artistFetcher\n .fetchAlbums()\n .then(response => {\n response.status.should.be.exactly(200);\n artistFetcher\n .fetchNextPage(response)\n .then(response => {\n response.status.should.not.be.exactly(200);\n return response;\n })\n .catch(error => should.exists(error));\n return response;\n })\n .catch(error => should.not.exists(error));\n });\n });\n\n describe('#fetchTopTracks()', () => {\n it('should response status 200', done => {\n artistFetcher.fetchTopTracks().then(\n response => {\n response.status.should.be.exactly(200);\n done();\n },\n reject => {\n should.not.exists(reject);\n done();\n }\n );\n });\n });\n\n describe('#fetchRelatedArtists()', () => {\n it('should response status 200', done => {\n artistFetcher.fetchRelatedArtists().then(\n response => {\n response.status.should.be.exactly(200);\n done();\n },\n reject => {\n should.not.exists(reject);\n done();\n }\n );\n });\n });\n });\n\n describe('Artist fetch album tests', () => {\n const artistFetcher = new ArtistFetcher(httpClient).setArtistID(\n 'Cnv_K6i5Ft4y41SxLy'\n );\n describe('#fetchAlbums(1)', () => {\n it('should succeed and fetch next page shuold succeed', done => {\n artistFetcher.fetchAlbums(1).then(response => {\n response.status.should.be.exactly(200);\n artistFetcher.fetchNextPage(response).then(\n response => {\n response.status.should.be.exactly(200);\n done();\n },\n reject => {\n done(reject);\n }\n );\n });\n });\n });\n\n describe('#fetchTopTracks(1)', () => {\n it('should succeed and fetch next page shuold succeed', done => {\n artistFetcher.fetchTopTracks(1).then(response => {\n response.status.should.be.exactly(200);\n artistFetcher.fetchNextPage(response).then(\n response => {\n response.status.should.be.exactly(200);\n done();\n },\n reject => {\n done(reject);\n }\n );\n });\n });\n });\n });\n\n describe('Featured Playlists', () => {\n const featuredPlaylistFetcher = new FeaturedPlaylistFetcher(\n httpClient\n );\n describe('#fetchAllFeaturedPlaylists()', () => {\n it('should response status 200', done => {\n featuredPlaylistFetcher\n .fetchAllFeaturedPlaylists(1)\n .then(response => {\n response.status.should.be.exactly(200);\n featuredPlaylistFetcher.fetchNextPage(response).then(\n response => {\n response.status.should.be.exactly(200);\n done();\n },\n reject => {\n done(reject);\n }\n );\n });\n });\n });\n });\n\n describe('Featured Playlist Category', () => {\n const featuredPlaylistCategoryFetcher = new FeaturedPlaylistCategoryFetcher(\n httpClient\n );\n describe('#fetchAll()', () => {\n it('should response status 200', () => {\n return featuredPlaylistCategoryFetcher\n .fetchAllFeaturedPlaylistCategories()\n .then(\n response => response.status.should.be.exactly(200),\n reject => should.not.exists(reject)\n );\n });\n });\n\n const f = featuredPlaylistCategoryFetcher.setCategoryID(\n 'LXUR688EBKRRZydAWb'\n );\n describe('#fetchMetadata()', () => {\n it('should response status 200', () => {\n return f\n .fetchMetadata()\n .then(\n response => response.status.should.be.exactly(200),\n reject => should.not.exists(reject)\n );\n });\n });\n\n describe('#fetchPlaylists()', () => {\n it('should response status 200 and fetch next page should succeed', done => {\n f.fetchPlaylists().then(response => {\n response.status.should.be.exactly(200);\n f.fetchNextPage(response).then(\n response => {\n response.status.should.be.exactly(200);\n done();\n },\n reject => {\n done(reject);\n }\n );\n });\n });\n });\n });\n\n describe('Mood Station', () => {\n const moodStationFetcher = new MoodStationFetcher(httpClient);\n describe('#fetchAll()', () => {\n it('should succeed', () => {\n return moodStationFetcher\n .fetchAllMoodStations()\n .then(\n response => response.status.should.be.exactly(200),\n reject => should.not.exists(reject)\n );\n });\n });\n\n describe('#fetchMetadata()', () => {\n it('should succeed', () => {\n return moodStationFetcher\n .setMoodStationID('StGZp2ToWq92diPHS7')\n .fetchMetadata()\n .then(\n response => response.status.should.be.exactly(200),\n reject => should.not.exists(reject)\n );\n });\n });\n });\n\n describe('Genre Station', () => {\n const genreStationFetcher = new GenreStationFetcher(httpClient);\n describe('#fetchAllGenreStations()', () => {\n it('should succeed and fetch next page should succeed', done => {\n genreStationFetcher\n .fetchAllGenreStations(1)\n .then(response => {\n response.status.should.be.exactly(200);\n genreStationFetcher.fetchNextPage(response).then(\n response => {\n response.status.should.be.exactly(200);\n done();\n },\n reject => {\n done(reject);\n }\n );\n });\n });\n });\n\n describe('#fetchMetadata()', () => {\n it('should succeed', () => {\n return genreStationFetcher\n .setGenreStationID('TYq3EHFTl-1EOvJM5Y')\n .fetchMetadata()\n .then(\n response => response.status.should.be.exactly(200),\n reject => should.not.exists(reject)\n );\n });\n });\n });\n\n describe('Chart', () => {\n const chartFetcher = new ChartFetcher(httpClient);\n describe('#fetchCharts()', () => {\n it('should succeed and fetch next page should fail', done => {\n chartFetcher.fetchCharts().then(response => {\n response.status.should.be.exactly(200);\n chartFetcher.hasNextPage(response).should.be.false();\n chartFetcher.fetchNextPage(response).then(\n response => {\n response.should.not.exists();\n done(response);\n },\n reject => {\n done();\n }\n );\n });\n });\n });\n\n describe('#fetchMetadata()', () => {\n it('should succeed', done => {\n chartFetcher\n .setPlaylistID('4mJSYXvueA8t0odsny')\n .fetchMetadata()\n .then(\n response => {\n response.status.should.be.exactly(200);\n done();\n },\n reject => {\n should.not.exists(reject);\n done();\n }\n );\n });\n });\n\n describe('#fetchTracks()', () => {\n it('should succeed', done => {\n chartFetcher\n .setPlaylistID('4mJSYXvueA8t0odsny')\n .fetchTracks()\n .then(\n response => {\n response.status.should.be.exactly(200);\n done();\n },\n reject => {\n should.not.exists(reject);\n done();\n }\n );\n });\n });\n });\n\n describe('New Release Category', () => {\n const newReleaseCategoryFetcher = new NewReleaseCategoryFetcher(\n httpClient\n );\n describe('#fetchAll()', () => {\n it('should succeed and fetch next page should succeed', done => {\n newReleaseCategoryFetcher\n .fetchAllNewReleaseCategories(1)\n .then(\n response => {\n response.status.should.be.exactly(200);\n newReleaseCategoryFetcher\n .hasNextPage(response)\n .should.be.true();\n newReleaseCategoryFetcher.fetchNextPage(response).then(\n response => {\n response.status.should.be.ok();\n done();\n },\n reject => {\n done(reject);\n }\n );\n },\n reject => should.not.exists(reject)\n );\n });\n });\n\n const f = newReleaseCategoryFetcher.setCategoryID(\n 'Cng5IUIQhxb8w1cbsz'\n );\n describe('#fetchMetadata()', () => {\n it('should response status 200', () => {\n return f\n .fetchMetadata()\n .then(\n response => response.status.should.be.exactly(200),\n reject => should.not.exists(reject)\n );\n });\n });\n\n describe('#fetchAlbums()', () => {\n it('should response status 200 and fetch next page should succeed', done => {\n f.fetchAlbums().then(response => {\n response.status.should.be.exactly(200);\n f.fetchNextPage(response).then(\n response => {\n response.status.should.be.exactly(200);\n done();\n },\n reject => {\n done(reject);\n }\n );\n });\n });\n });\n });\n\n describe('New Hits Playlists', () => {\n const newHitsPlaylistFetcher = new NewHitsPlaylistFetcher(\n httpClient\n );\n describe('#fetchAll()', () => {\n it('should succeed', () => {\n newHitsPlaylistFetcher\n .fetchAllNewHitsPlaylists()\n .then(response => {\n response.status.should.be.exactly(200);\n })\n .catch(error => should.not.exists(error));\n });\n });\n\n const f = newHitsPlaylistFetcher.setPlaylistID(\n 'DZni8m29ciOFbRxTJq'\n );\n describe('#fetchMetadata()', () => {\n it('should succeed', () => {\n return f\n .fetchMetadata()\n .then(\n response => response.status.should.be.exactly(200),\n reject => should.not.exists(reject)\n )\n .catch(error => should.not.exsits(error));\n });\n });\n\n describe('#fetchTracks()', () => {\n it('should succeed', () => {\n return f\n .fetchTracks()\n .then(\n response => response.status.should.be.exactly(200),\n reject => should.not.exists(reject)\n )\n .catch(error => should.not.exsits(error));\n });\n });\n });\n },\n reject => should.not.exists(reject)\n );\n });\n });\n });\n});\n", + "static": true, + "longname": "/Users/ajhsu/Git/kkcorp/OpenAPI-JavaScript/src/test/apitest.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 213, + "kind": "variable", + "name": "CLIENT_ID", + "memberof": "src/test/apitest.js", + "static": true, + "longname": "src/test/apitest.js~CLIENT_ID", + "access": "public", + "export": false, + "importPath": "@kkbox/kkbox-js-sdk/src/test/apitest.js", + "importStyle": null, + "description": null, + "lineNumber": 18, + "undocument": true, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 214, + "kind": "variable", + "name": "CLIENT_SECRET", + "memberof": "src/test/apitest.js", + "static": true, + "longname": "src/test/apitest.js~CLIENT_SECRET", + "access": "public", + "export": false, + "importPath": "@kkbox/kkbox-js-sdk/src/test/apitest.js", + "importStyle": null, + "description": null, + "lineNumber": 19, + "undocument": true, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 215, + "kind": "file", + "name": "src/test/authtest.js", + "content": "import should from 'should';\nimport TokenFetcher from '../auth/TokenFetcher';\nimport ClientCredentialsFlow from '../auth/ClientCredentialsFlow';\nimport { kkbox_sdk } from '../../client_secrets.json';\n\nconst CLIENT_ID = kkbox_sdk.client_id;\nconst CLIENT_SECRET = kkbox_sdk.client_secret;\n\ndescribe('Auth Begin to Test', () => {\n const tokenFetcher = new TokenFetcher(CLIENT_ID, CLIENT_SECRET);\n describe('clientCredentialsFlow', () => {\n describe('#fetchAccessToken()', () => {\n it('should get access token', () => {\n const clientCredentialsFlow = new ClientCredentialsFlow(tokenFetcher);\n return clientCredentialsFlow.fetchAccessToken().then(response => {\n const access_token = response.data.access_token;\n access_token.should.be.ok;\n });\n });\n });\n });\n});\n", + "static": true, + "longname": "/Users/ajhsu/Git/kkcorp/OpenAPI-JavaScript/src/test/authtest.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 216, + "kind": "variable", + "name": "CLIENT_ID", + "memberof": "src/test/authtest.js", + "static": true, + "longname": "src/test/authtest.js~CLIENT_ID", + "access": "public", + "export": false, + "importPath": "@kkbox/kkbox-js-sdk/src/test/authtest.js", + "importStyle": null, + "description": null, + "lineNumber": 6, + "undocument": true, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 217, + "kind": "variable", + "name": "CLIENT_SECRET", + "memberof": "src/test/authtest.js", + "static": true, + "longname": "src/test/authtest.js~CLIENT_SECRET", + "access": "public", + "export": false, + "importPath": "@kkbox/kkbox-js-sdk/src/test/authtest.js", + "importStyle": null, + "description": null, + "lineNumber": 7, + "undocument": true, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 218, + "kind": "file", + "name": "src/test/sdktest.js", + "content": "import should from 'should';\nimport { Auth, Api } from '../';\nimport { kkbox_sdk } from '../../client_secrets.json';\n\nconst CLIENT_ID = kkbox_sdk.client_id;\nconst CLIENT_SECRET = kkbox_sdk.client_secret;\n\ndescribe('SDK Begin to Test', () => {\n describe('Auth', () => {\n it('should get access token', () => {\n const auth = new Auth(CLIENT_ID, CLIENT_SECRET);\n return auth.clientCredentialsFlow.fetchAccessToken().then(response => {\n describe('Api With Fake Token', () => {\n const api = new Api('FAKE_TOKEN', 'HK');\n describe('Property checking', () => {\n it('should have HK as territory', done => {\n api.territory.should.be.exactly('HK');\n done();\n });\n });\n\n describe('Search with fake token', () => {\n it('should fail', () => {\n return api.searchFetcher\n .setSearchCriteria('flash')\n .fetchSearchResult()\n .then(response => {\n should.not.exists(response);\n })\n .catch(error => {\n should.exists(error);\n });\n });\n });\n });\n\n const access_token = response.data.access_token;\n access_token.should.be.ok;\n\n describe('Api', () => {\n const api = new Api('FAKE_TOKEN', 'HK');\n api.setToken(access_token);\n describe('Search', () => {\n it('should response status 200', () => {\n return api.searchFetcher\n .setSearchCriteria('flash')\n .fetchSearchResult()\n .then(response => response.status.should.be.exactly(200));\n });\n });\n\n describe('Track', () => {\n it('should response status 200', () => {\n return api.trackFetcher\n .setTrackID('KpnEGVHEsGgkoB0MBk')\n .fetchMetadata()\n .then(response => response.status.should.be.exactly(200));\n });\n });\n\n describe('Album', () => {\n it('should response status 200', () => {\n return api.albumFetcher\n .setAlbumID('KmRKnW5qmUrTnGRuxF')\n .fetchMetadata()\n .then(response => response.status.should.be.exactly(200));\n });\n });\n\n describe('Artist', () => {\n it('should response status 200', () => {\n return api.artistFetcher\n .setArtistID('Cnv_K6i5Ft4y41SxLy')\n .fetchMetadata()\n .then(response => response.status.should.be.exactly(200));\n });\n });\n\n describe('Featured Playlists', () => {\n it('should response status 200', () => {\n return api.featuredPlaylistFetcher\n .fetchAllFeaturedPlaylists()\n .then(response => response.status.should.be.exactly(200));\n });\n });\n\n describe('Featured Playlist Category', () => {\n it('should response status 200', () => {\n return api.featuredPlaylistCategoryFetcher\n .fetchAllFeaturedPlaylistCategories()\n .then(response => response.status.should.be.exactly(200));\n });\n });\n\n describe('Mood Station', () => {\n it('should response status 200', () => {\n return api.moodStationFetcher\n .fetchAllMoodStations()\n .then(response => response.status.should.be.exactly(200));\n });\n });\n\n describe('Genre Station', () => {\n it('should response status 200', () => {\n return api.genreStationFetcher\n .fetchAllGenreStations()\n .then(response => response.status.should.be.exactly(200));\n });\n });\n\n describe('Chart', () => {\n it('should response status 200', () => {\n return api.chartFetcher\n .fetchCharts()\n .then(response => response.status.should.be.exactly(200));\n });\n });\n\n describe('New Release Category', () => {\n it('should response status 200', () => {\n return api.newReleaseCategoryFetcher\n .fetchAllNewReleaseCategories()\n .then(response => response.status.should.be.exactly(200));\n });\n });\n\n describe('New Hits Playlists', () => {\n it('should response status 200', () => {\n return api.newHitsPlaylistFetcher\n .fetchAllNewHitsPlaylists()\n .then(response => response.status.should.be.exactly(200));\n });\n });\n\n describe('Shared Playlist', () => {\n it('should response status 200', () => {\n return api.sharedPlaylistFetcher\n .setPlaylistID('KsOjSf4whgbL45hRfl')\n .fetchMetadata()\n .then(response => response.status.should.be.exactly(200));\n });\n it('should response status 200', () => {\n return api.sharedPlaylistFetcher\n .setPlaylistID('KsOjSf4whgbL45hRfl')\n .fetchTracks()\n .then(response => response.status.should.be.exactly(200));\n });\n });\n });\n });\n });\n });\n});\n", + "static": true, + "longname": "/Users/ajhsu/Git/kkcorp/OpenAPI-JavaScript/src/test/sdktest.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 219, + "kind": "variable", + "name": "CLIENT_ID", + "memberof": "src/test/sdktest.js", + "static": true, + "longname": "src/test/sdktest.js~CLIENT_ID", + "access": "public", + "export": false, + "importPath": "@kkbox/kkbox-js-sdk/src/test/sdktest.js", + "importStyle": null, + "description": null, + "lineNumber": 5, + "undocument": true, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 220, + "kind": "variable", + "name": "CLIENT_SECRET", + "memberof": "src/test/sdktest.js", + "static": true, + "longname": "src/test/sdktest.js~CLIENT_SECRET", + "access": "public", + "export": false, + "importPath": "@kkbox/kkbox-js-sdk/src/test/sdktest.js", + "importStyle": null, + "description": null, + "lineNumber": 6, + "undocument": true, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "kind": "index", + "content": "# KKBOX Open API Developer SDK for JavaScript\n\n[![npm (scoped)](https://img.shields.io/npm/v/@kkbox/kkbox-js-sdk.svg)](https://www.npmjs.com/package/@kkbox/kkbox-js-sdk)\n[![Build Status](https://travis-ci.org/KKBOX/OpenAPI-JavaScript.svg?branch=master)](https://travis-ci.org/KKBOX/OpenAPI-JavaScript)\n[![License Apache](https://img.shields.io/badge/license-Apache-green.svg?style=flat)](https://raw.githubusercontent.com/KKBOX/OpenAPI-JavaScript/master/LICENSE.txt)\n\nThe SDK helps you to access various metadata from KKBOX, including tracks, albums, artists, playlists and stations.\n\n## Getting Started\n\nInstall the SDK using npm\n\n```bash\n$ npm install @kkbox/kkbox-js-sdk\n```\n\n## Usage example\n```js\nimport { Auth, Api } from '@kkbox/kkbox-js-sdk';\n\n// Create an auth object with client id and secret\nconst auth = new Auth(client_id, client_secret);\n\n// Fetch your access token\nauth.clientCredentialsFlow\n .fetchAccessToken()\n .then(response => {\n const access_token = response.data.access_token;\n\n // Create an API object with your access token\n const api = new Api(access_token);\n\n // Fetch content with various fetchers\n api.searchFetcher\n .setSearchCriteria('五月天 派對動物', 'track')\n .fetchSearchResult()\n .then(response => {\n\n // Content from the KKBOX Open API\n console.log(response.data);\n\n // Continue to the next page\n api.searchFetcher.fetchNextPage(response).then(response => {\n console.log(response.data);\n });\n\n });\n });\n```\n\n## Test\n\nTo test the SDK, a valid client ID and client secret are required.\n\nPlease visit [https://developer.kkbox.com/](https://developer.kkbox.com/), create a new developer account, and obtain the client ID and client secret of your app.\n\nThen, create a file named `client_secrets.json`, put it into the `test` directory, and fill your client ID and client secret into it.\n\nIt may look like\n\n```json\n{\n \"kkbox_sdk\": {\n \"client_id\": \"YOUR CLIENT ID\",\n \"client_secret\": \"YOUR CLIENT SECRET\"\n }\n}\n```\n\nRun the test:\n``` bash\n$ npm test\n```\n\n## Documentation\n\nSee [https://kkbox.github.io/OpenAPI-JavaScript/](https://kkbox.github.io/OpenAPI-JavaScript/) for full documentation.\n\n## Use the SDK in Web Browsers\n\nThe SDK plays fine with Node.js, but works partially in web browsers.\n\nYou can use the SDK in your Web and [Electron](https://electronjs.org) apps, but you need to prepare a middle man server to help you to obtain access tokens. That's because KKBOX's Open API server supports [Cross-Origin Resource Sharing (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS), but the Auth server does not.\n\nIn other words, your JavaScript code hosted on your own website could access data from KKBOX, but direct access to the Auth server is forbidden by the security policy of modern web browsers.\n\nWhen developing an Electron app, you can choose to turn web security off to make you app able to fetch access tokens. You can do this while creating browser windows.\n\n```js\nmainWindow = new BrowserWindow({\n width: 500,\n height: 500,\n useContentSize: true,\n webPreferences: {\n webSecurity: false\n }\n});\n```\n\n## License\n\nCopyright 2018 KKBOX Technologies Limited\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n", + "longname": "/Users/ajhsu/Git/kkcorp/OpenAPI-JavaScript/README.md", + "name": "./README.md", + "static": true, + "access": "public" + }, + { + "kind": "packageJSON", + "content": "{\n \"name\": \"@kkbox/kkbox-js-sdk\",\n \"version\": \"1.3.3\",\n \"description\": \"KKBOX Open API Developer SDK for JavaScript\",\n \"main\": \"./dist/index.js\",\n \"scripts\": {\n \"build\": \"babel src -d dist\",\n \"build:webpack\": \"webpack -p\",\n \"pretest\": \"npm run build\",\n \"test\": \"mocha -R spec -t 30000 ./dist/test\",\n \"doc\": \"esdoc\",\n \"prepublishOnly\": \"npm run build\"\n },\n \"author\": \"KKBOX\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/KKBOX/OpenAPI-JavaScript.git\"\n },\n \"license\": \"Apache-2.0\",\n \"dependencies\": {\n \"axios\": \"^0.18.0\",\n \"babel-preset-env\": \"^1.7.0\"\n },\n \"devDependencies\": {\n \"babel-cli\": \"^6.26.0\",\n \"babel-loader\": \"^7.1.4\",\n \"esdoc\": \"^1.0.4\",\n \"esdoc-standard-plugin\": \"^1.0.0\",\n \"mocha\": \"^5.2.0\",\n \"should\": \"^11.2.1\",\n \"webpack\": \"^2.3.3\"\n },\n \"mailTo\": \"willyliu@kkbox.com\",\n \"bugs\": {\n \"url\": \"https://github.com/KKBOX/OpenAPI-JavaScript/issues\"\n },\n \"homepage\": \"https://github.com/KKBOX/OpenAPI-JavaScript#readme\",\n \"directories\": {\n \"test\": \"test\"\n },\n \"keywords\": [\n \"KKBOX\",\n \"OpenAPI\",\n \"Open\",\n \"API\"\n ]\n}\n", + "longname": "/Users/ajhsu/Git/kkcorp/OpenAPI-JavaScript/package.json", + "name": "package.json", + "static": true, + "access": "public" + } +] \ No newline at end of file diff --git a/docs/lint.json b/docs/lint.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/docs/lint.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/docs/package.json b/docs/package.json deleted file mode 100644 index 2dd0605..0000000 --- a/docs/package.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "name": "@kkboxorg/kkbox-javascript-developer-sdk", - "version": "1.0.0", - "description": "KKBOX Open API developer SDK for JavaScript. Use it to easily access KKBOX open API to get various metadata about KKBOX's tracks, albums, artists, playlists and stations. ", - "main": "src/SDK.js", - "scripts": { - "test": "mocha --trace-warnings -R spec -t 5000 --compilers babel-register ./test/authtest ./test/apitest", - "test-sdk": "mocha -t 5000 --compilers babel-register ./test/sdktest", - "test-auth": "mocha -t 5000 --compilers babel-register ./test/authtest", - "test-all": "mocha -t 5000 --compilers babel-register", - "test-jenkins": "JUNIT_REPORT_PATH=report.xml jenkins-mocha -t 5000 --cobertura --compilers babel-register --colors --reporter mocha-jenkins-reporter ./test/authtest ./test/apitest", - "build": "webpack -p", - "doc": "./node_modules/.bin/esdoc && open ./public/index.html", - "build-doc": "./node_modules/.bin/esdoc" - }, - "author": "KKBOX", - "repository": { - "type": "git", - "url": "git+https://github.com/KKBOX/OpenAPI-JavaScript.git" - }, - "license": "Apache-2.0", - "dependencies": { - "axios": "^0.15.3", - "babel-polyfill": "^6.23.0" - }, - "devDependencies": { - "babel-cli": "^6.24.0", - "babel-core": "^6.24.0", - "babel-loader": "^6.4.1", - "babel-plugin-syntax-dynamic-import": "^6.18.0", - "babel-plugin-transform-async-to-generator": "^6.22.0", - "babel-plugin-transform-regenerator": "^6.22.0", - "babel-plugin-transform-runtime": "^6.23.0", - "babel-preset-babili": "^0.1.2", - "babel-preset-env": "^1.3.2", - "esdoc": "^0.5.2", - "esdoc-standard-plugin": "0.0.7", - "jenkins-mocha": "^4.1.2", - "mocha": "^3.2.0", - "mocha-ci-slack-reporter": "^1.0.1", - "mocha-jenkins-reporter": "0.3.8", - "should": "^11.2.1", - "webpack": "^2.3.3" - }, - "babel": { - "presets": [ - [ - "env", - { - "targets": { - "node": 5 - } - } - ], - [ - "babili", - { - "evaluate": true, - "mangle": true - } - ] - ] - }, - "mailTo": "willyliu@kkbox.com", - "bugs": { - "url": "https://github.com/KKBOX/OpenAPI-JavaScript/issues" - }, - "homepage": "https://github.com/KKBOX/OpenAPI-JavaScript#readme", - "directories": { - "test": "test" - }, - "keywords": [ - "KKBOX", - "OpenAPI", - "Open", - "API" - ] -} diff --git a/docs/script/inner-link.js b/docs/script/inner-link.js index 69a7477..ad1c942 100644 --- a/docs/script/inner-link.js +++ b/docs/script/inner-link.js @@ -24,8 +24,9 @@ (function(){ var els = document.querySelectorAll('[href^="#"]'); + var href = location.href.replace(/#.*$/, ''); // remove existed hash for (var i = 0; i < els.length; i++) { var el = els[i]; - el.href = location.href + el.getAttribute('href'); // because el.href is absolute path + el.href = href + el.getAttribute('href'); // because el.href is absolute path } })(); diff --git a/docs/script/manual.js b/docs/script/manual.js index 4c2b169..de0bfe2 100644 --- a/docs/script/manual.js +++ b/docs/script/manual.js @@ -1,10 +1,11 @@ (function(){ - var matched = location.pathname.match(/\/(manual\/.*?\/.*\.html)$/); + var matched = location.pathname.match(/\/(manual\/.*\.html)$/); if (!matched) return; var currentName = matched[1]; var cssClass = '.navigation .manual-toc li[data-link="' + currentName + '"]'; var styleText = cssClass + '{ display: block; }\n'; + styleText += cssClass + '.indent-h1 a { color: #039BE5 }'; var style = document.createElement('style'); style.textContent = styleText; document.querySelector('head').appendChild(style); diff --git a/docs/script/prettify/prettify.js b/docs/script/prettify/prettify.js old mode 100644 new mode 100755 index eef5ad7..3b74b5b --- a/docs/script/prettify/prettify.js +++ b/docs/script/prettify/prettify.js @@ -1,28 +1,46 @@ -var q=null;window.PR_SHOULD_USE_CONTINUATION=!0; -(function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.toString(16);a=String.fromCharCode(a);if(a==="\\"||a==="-"||a==="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),a= -[],b=[],o=f[0]==="^",c=o?1:0,i=f.length;c122||(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b.sort(function(a,f){return a[0]-f[0]||f[1]-a[1]});f=[];j=[NaN,NaN];for(c=0;ci[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),b=f.length,d=[],c=0,i=0;c=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;d+=f.length;if(c){c=o[1];var j=f.indexOf(c),k=j+c.length;o[2]&&(k=f.length-o[2].length,j=k-c.length);b=b.substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.push(l+i,b)}a.e=p}var h={},y;(function(){for(var e=a.concat(m), -l=[],p={},d=0,g=e.length;d=0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p.hasOwnProperty(n)||(l.push(r),p[n]=q)}l.push(/[\S\s]/);y=L(l)})();var t=m.length;return e}function u(a){var m=[],e=[];a.tripleQuotedStrings?m.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?m.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/, -q,"'\"`"]):m.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&e.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var h=a.hashComments;h&&(a.cStyleComments?(h>1?m.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):m.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):m.push(["com",/^#[^\n\r]*/, -q,"#"]));a.cStyleComments&&(e.push(["com",/^\/\/[^\n\r]*/,q]),e.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));a.regexLiterals&&e.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""+a.keywords).replace(/^ | $/g, -"");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/,q," \r\n\t\xa0"]);e.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return x(m,e)}function D(a,m){function e(a){switch(a.nodeType){case 1:if(k.test(a.className))break;if("BR"===a.nodeName)h(a), -a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)e(a);break;case 3:case 4:if(p){var b=a.nodeValue,d=b.match(t);if(d){var c=b.substring(0,d.index);a.nodeValue=c;(b=b.substring(d.index+d[0].length))&&a.parentNode.insertBefore(s.createTextNode(b),a.nextSibling);h(a);c||a.parentNode.removeChild(a)}}}}function h(a){function b(a,d){var e=d?a.cloneNode(!1):a,f=a.parentNode;if(f){var f=b(f,1),g=a.nextSibling;f.appendChild(e);for(var h=g;h;h=g)g=h.nextSibling,f.appendChild(h)}return e} -for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),e;(e=a.parentNode)&&e.nodeType===1;)a=e;d.push(a)}var k=/(?:^|\s)nocode(?:\s|$)/,t=/\r\n?|\n/,s=a.ownerDocument,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=s.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);for(l=s.createElement("LI");a.firstChild;)l.appendChild(a.firstChild);for(var d=[l],g=0;g=0;){var h=m[e];A.hasOwnProperty(h)?window.console&&console.warn("cannot override language handler %s",h):A[h]=a}}function C(a,m){if(!a||!A.hasOwnProperty(a))a=/^\s*=o&&(h+=2);e>=c&&(a+=2)}}catch(w){"console"in window&&console.log(w&&w.stack?w.stack:w)}}var v=["break,continue,do,else,for,if,return,while"],w=[[v,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"], -"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],F=[w,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],G=[w,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"], -H=[G,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],w=[w,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],I=[v,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"], -J=[v,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],v=[v,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],K=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,N=/\S/,O=u({keywords:[F,H,w,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+ -I,J,v],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),A={};k(O,["default-code"]);k(x([],[["pln",/^[^]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]), -["default-markup","htm","html","mxml","xhtml","xml","xsl"]);k(x([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css", -/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);k(x([],[["atv",/^[\S\s]+/]]),["uq.val"]);k(u({keywords:F,hashComments:!0,cStyleComments:!0,types:K}),["c","cc","cpp","cxx","cyc","m"]);k(u({keywords:"null,true,false"}),["json"]);k(u({keywords:H,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:K}),["cs"]);k(u({keywords:G,cStyleComments:!0}),["java"]);k(u({keywords:v,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]);k(u({keywords:I,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}), -["cv","py"]);k(u({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl","pl","pm"]);k(u({keywords:J,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]);k(u({keywords:w,cStyleComments:!0,regexLiterals:!0}),["js"]);k(u({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes", -hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);k(x([],[["str",/^[\S\s]+/]]),["regex"]);window.prettyPrintOne=function(a,m,e){var h=document.createElement("PRE");h.innerHTML=a;e&&D(h,e);E({g:m,i:e,h:h});return h.innerHTML};window.prettyPrint=function(a){function m(){for(var e=window.PR_SHOULD_USE_CONTINUATION?l.now()+250:Infinity;p=0){var k=k.match(g),f,b;if(b= -!k){b=n;for(var o=void 0,c=b.firstChild;c;c=c.nextSibling)var i=c.nodeType,o=i===1?o?b:c:i===3?N.test(c.nodeValue)?b:o:o;b=(f=o===b?void 0:o)&&"CODE"===f.tagName}b&&(k=f.className.match(g));k&&(k=k[1]);b=!1;for(o=n.parentNode;o;o=o.parentNode)if((o.tagName==="pre"||o.tagName==="code"||o.tagName==="xmp")&&o.className&&o.className.indexOf("prettyprint")>=0){b=!0;break}b||((b=(b=n.className.match(/\blinenums\b(?::(\d+))?/))?b[1]&&b[1].length?+b[1]:!0:!1)&&D(n,b),d={g:k,h:n,i:b},E(d))}}p=a?parseInt(e.substring(1),8):"u"===a||"x"===a?parseInt(e.substring(2),16):e.charCodeAt(1)}function f(e){if(32>e)return(16>e?"\\x0":"\\x")+e.toString(16);e=String.fromCharCode(e);return"\\"===e||"-"===e||"]"===e||"^"===e?"\\"+e:e}function b(e){var b=e.substring(1,e.length-1).match(/\\u[0-9A-Fa-f]{4}|\\x[0-9A-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\s\S]|-|[^-\\]/g);e= +[];var a="^"===b[0],c=["["];a&&c.push("^");for(var a=a?1:0,g=b.length;ak||122k||90k||122h[0]&&(h[1]+1>h[0]&&c.push("-"),c.push(f(h[1])));c.push("]");return c.join("")}function v(e){for(var a=e.source.match(/(?:\[(?:[^\x5C\x5D]|\\[\s\S])*\]|\\u[A-Fa-f0-9]{4}|\\x[A-Fa-f0-9]{2}|\\[0-9]+|\\[^ux0-9]|\(\?[:!=]|[\(\)\^]|[^\x5B\x5C\(\)\^]+)/g),c=a.length,d=[],g=0,h=0;g/,null])):d.push(["com",/^#[^\r\n]*/,null,"#"]));a.cStyleComments&&(f.push(["com",/^\/\/[^\r\n]*/,null]),f.push(["com",/^\/\*[\s\S]*?(?:\*\/|$)/,null]));if(b=a.regexLiterals){var v=(b=1|\\/=?|::?|<>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+ +("/(?=[^/*"+b+"])(?:[^/\\x5B\\x5C"+b+"]|\\x5C"+v+"|\\x5B(?:[^\\x5C\\x5D"+b+"]|\\x5C"+v+")*(?:\\x5D|$))+/")+")")])}(b=a.types)&&f.push(["typ",b]);b=(""+a.keywords).replace(/^ | $/g,"");b.length&&f.push(["kwd",new RegExp("^(?:"+b.replace(/[\s,]+/g,"|")+")\\b"),null]);d.push(["pln",/^\s+/,null," \r\n\t\u00a0"]);b="^.[^\\s\\w.$@'\"`/\\\\]*";a.regexLiterals&&(b+="(?!s*/)");f.push(["lit",/^@[a-z_$][a-z_$@0-9]*/i,null],["typ",/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],["pln",/^[a-z_$][a-z_$@0-9]*/i, +null],["lit",/^(?:0x[a-f0-9]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+\-]?\d+)?)[a-z]*/i,null,"0123456789"],["pln",/^\\[\s\S]?/,null],["pun",new RegExp(b),null]);return G(d,f)}function L(a,d,f){function b(a){var c=a.nodeType;if(1==c&&!A.test(a.className))if("br"===a.nodeName)v(a),a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)b(a);else if((3==c||4==c)&&f){var d=a.nodeValue,q=d.match(n);q&&(c=d.substring(0,q.index),a.nodeValue=c,(d=d.substring(q.index+q[0].length))&& +a.parentNode.insertBefore(l.createTextNode(d),a.nextSibling),v(a),c||a.parentNode.removeChild(a))}}function v(a){function b(a,c){var d=c?a.cloneNode(!1):a,k=a.parentNode;if(k){var k=b(k,1),e=a.nextSibling;k.appendChild(d);for(var f=e;f;f=e)e=f.nextSibling,k.appendChild(f)}return d}for(;!a.nextSibling;)if(a=a.parentNode,!a)return;a=b(a.nextSibling,0);for(var d;(d=a.parentNode)&&1===d.nodeType;)a=d;c.push(a)}for(var A=/(?:^|\s)nocode(?:\s|$)/,n=/\r\n?|\n/,l=a.ownerDocument,m=l.createElement("li");a.firstChild;)m.appendChild(a.firstChild); +for(var c=[m],p=0;p=+v[1],d=/\n/g,A=a.a,n=A.length,f=0,l=a.c,m=l.length,b=0,c=a.g,p=c.length,w=0;c[p]=n;var r,e;for(e=r=0;e=h&&(b+=2);f>=k&&(w+=2)}}finally{g&&(g.style.display=a)}}catch(x){E.console&&console.log(x&&x.stack||x)}}var E=window,C=["break,continue,do,else,for,if,return,while"], +F=[[C,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],H=[F,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"], +O=[F,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],P=[F,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"], +F=[F,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],Q=[C,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],R=[C,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],C=[C,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"], +S=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,W=/\S/,X=y({keywords:[H,P,O,F,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",Q,R,C],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),I={};t(X,["default-code"]);t(G([],[["pln",/^[^]*(?:>|$)/],["com",/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),"default-markup htm html mxml xhtml xml xsl".split(" "));t(G([["pln",/^[\s]+/,null," \t\r\n"],["atv",/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null, +"\"'"]],[["tag",/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],["pun",/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]);t(G([],[["atv",/^[\s\S]+/]]),["uq.val"]);t(y({keywords:H, +hashComments:!0,cStyleComments:!0,types:S}),"c cc cpp cxx cyc m".split(" "));t(y({keywords:"null,true,false"}),["json"]);t(y({keywords:P,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:S}),["cs"]);t(y({keywords:O,cStyleComments:!0}),["java"]);t(y({keywords:C,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]);t(y({keywords:Q,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]);t(y({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END", +hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]);t(y({keywords:R,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]);t(y({keywords:F,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]);t(y({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0, +regexLiterals:!0}),["coffee"]);t(G([],[["str",/^[\s\S]+/]]),["regex"]);var Y=E.PR={createSimpleLexer:G,registerLangHandler:t,sourceDecorator:y,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:E.prettyPrintOne=function(a,d,f){f=f||!1;d=d||null;var b=document.createElement("div");b.innerHTML="
"+a+"
"; +b=b.firstChild;f&&L(b,f,!0);M({j:d,m:f,h:b,l:1,a:null,i:null,c:null,g:null});return b.innerHTML},prettyPrint:E.prettyPrint=function(a,d){function f(){for(var b=E.PR_SHOULD_USE_CONTINUATION?c.now()+250:Infinity;pAlbumFetcher @kkboxorg/kkbox-javascript-developer-sdk/src/api/AlbumFetcher.js", + "AlbumFetcher @kkbox/kkbox-js-sdk/src/api/AlbumFetcher.js", "class" ], [ - "@kkboxorg/kkbox-javascript-developer-sdk/src/api/api.js~api", + "@kkbox/kkbox-js-sdk/src/api/api.js~api", "class/src/api/Api.js~Api.html", - "Api @kkboxorg/kkbox-javascript-developer-sdk/src/api/Api.js", + "Api @kkbox/kkbox-js-sdk/src/api/Api.js", "class" ], [ - "@kkboxorg/kkbox-javascript-developer-sdk/src/api/artistfetcher.js~artistfetcher", + "@kkbox/kkbox-js-sdk/src/api/artistfetcher.js~artistfetcher", "class/src/api/ArtistFetcher.js~ArtistFetcher.html", - "ArtistFetcher @kkboxorg/kkbox-javascript-developer-sdk/src/api/ArtistFetcher.js", + "ArtistFetcher @kkbox/kkbox-js-sdk/src/api/ArtistFetcher.js", "class" ], [ - "@kkboxorg/kkbox-javascript-developer-sdk/src/auth/auth.js~auth", + "@kkbox/kkbox-js-sdk/src/auth/auth.js~auth", "class/src/auth/Auth.js~Auth.html", - "Auth @kkboxorg/kkbox-javascript-developer-sdk/src/auth/Auth.js", + "Auth @kkbox/kkbox-js-sdk/src/auth/Auth.js", "class" ], [ - "@kkboxorg/kkbox-javascript-developer-sdk/src/api/chartfetcher.js~chartfetcher", + "@kkbox/kkbox-js-sdk/src/api/chartfetcher.js~chartfetcher", "class/src/api/ChartFetcher.js~ChartFetcher.html", - "ChartFetcher @kkboxorg/kkbox-javascript-developer-sdk/src/api/ChartFetcher.js", + "ChartFetcher @kkbox/kkbox-js-sdk/src/api/ChartFetcher.js", "class" ], [ - "@kkboxorg/kkbox-javascript-developer-sdk/src/auth/clientcredentialsflow.js~clientcredentialsflow", + "@kkbox/kkbox-js-sdk/src/auth/clientcredentialsflow.js~clientcredentialsflow", "class/src/auth/ClientCredentialsFlow.js~ClientCredentialsFlow.html", - "ClientCredentialsFlow @kkboxorg/kkbox-javascript-developer-sdk/src/auth/ClientCredentialsFlow.js", + "ClientCredentialsFlow @kkbox/kkbox-js-sdk/src/auth/ClientCredentialsFlow.js", "class" ], [ - "@kkboxorg/kkbox-javascript-developer-sdk/src/api/featuredplaylistcategoryfetcher.js~featuredplaylistcategoryfetcher", + "@kkbox/kkbox-js-sdk/src/api/featuredplaylistcategoryfetcher.js~featuredplaylistcategoryfetcher", "class/src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher.html", - "FeaturedPlaylistCategoryFetcher @kkboxorg/kkbox-javascript-developer-sdk/src/api/FeaturedPlaylistCategoryFetcher.js", + "FeaturedPlaylistCategoryFetcher @kkbox/kkbox-js-sdk/src/api/FeaturedPlaylistCategoryFetcher.js", "class" ], [ - "@kkboxorg/kkbox-javascript-developer-sdk/src/api/featuredplaylistfetcher.js~featuredplaylistfetcher", + "@kkbox/kkbox-js-sdk/src/api/featuredplaylistfetcher.js~featuredplaylistfetcher", "class/src/api/FeaturedPlaylistFetcher.js~FeaturedPlaylistFetcher.html", - "FeaturedPlaylistFetcher @kkboxorg/kkbox-javascript-developer-sdk/src/api/FeaturedPlaylistFetcher.js", + "FeaturedPlaylistFetcher @kkbox/kkbox-js-sdk/src/api/FeaturedPlaylistFetcher.js", "class" ], [ - "@kkboxorg/kkbox-javascript-developer-sdk/src/api/fetcher.js~fetcher", + "@kkbox/kkbox-js-sdk/src/api/fetcher.js~fetcher", "class/src/api/Fetcher.js~Fetcher.html", - "Fetcher @kkboxorg/kkbox-javascript-developer-sdk/src/api/Fetcher.js", + "Fetcher @kkbox/kkbox-js-sdk/src/api/Fetcher.js", "class" ], [ - "@kkboxorg/kkbox-javascript-developer-sdk/src/api/genrestationfetcher.js~genrestationfetcher", + "@kkbox/kkbox-js-sdk/src/api/genrestationfetcher.js~genrestationfetcher", "class/src/api/GenreStationFetcher.js~GenreStationFetcher.html", - "GenreStationFetcher @kkboxorg/kkbox-javascript-developer-sdk/src/api/GenreStationFetcher.js", + "GenreStationFetcher @kkbox/kkbox-js-sdk/src/api/GenreStationFetcher.js", "class" ], [ - "@kkboxorg/kkbox-javascript-developer-sdk/src/api/httpclient.js~httpclient", + "@kkbox/kkbox-js-sdk/src/api/httpclient.js~httpclient", "class/src/api/HttpClient.js~HttpClient.html", - "HttpClient @kkboxorg/kkbox-javascript-developer-sdk/src/api/HttpClient.js", + "HttpClient @kkbox/kkbox-js-sdk/src/api/HttpClient.js", "class" ], [ - "@kkboxorg/kkbox-javascript-developer-sdk/src/api/moodstationfetcher.js~moodstationfetcher", + "@kkbox/kkbox-js-sdk/src/api/moodstationfetcher.js~moodstationfetcher", "class/src/api/MoodStationFetcher.js~MoodStationFetcher.html", - "MoodStationFetcher @kkboxorg/kkbox-javascript-developer-sdk/src/api/MoodStationFetcher.js", + "MoodStationFetcher @kkbox/kkbox-js-sdk/src/api/MoodStationFetcher.js", "class" ], [ - "@kkboxorg/kkbox-javascript-developer-sdk/src/api/newhitsplaylistfetcher.js~newhitsplaylistfetcher", + "@kkbox/kkbox-js-sdk/src/api/newhitsplaylistfetcher.js~newhitsplaylistfetcher", "class/src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher.html", - "NewHitsPlaylistFetcher @kkboxorg/kkbox-javascript-developer-sdk/src/api/NewHitsPlaylistFetcher.js", + "NewHitsPlaylistFetcher @kkbox/kkbox-js-sdk/src/api/NewHitsPlaylistFetcher.js", "class" ], [ - "@kkboxorg/kkbox-javascript-developer-sdk/src/api/newreleasecategoryfetcher.js~newreleasecategoryfetcher", + "@kkbox/kkbox-js-sdk/src/api/newreleasecategoryfetcher.js~newreleasecategoryfetcher", "class/src/api/NewReleaseCategoryFetcher.js~NewReleaseCategoryFetcher.html", - "NewReleaseCategoryFetcher @kkboxorg/kkbox-javascript-developer-sdk/src/api/NewReleaseCategoryFetcher.js", + "NewReleaseCategoryFetcher @kkbox/kkbox-js-sdk/src/api/NewReleaseCategoryFetcher.js", "class" ], [ - "@kkboxorg/kkbox-javascript-developer-sdk/src/api/searchfetcher.js~searchfetcher", + "@kkbox/kkbox-js-sdk/src/api/searchfetcher.js~searchfetcher", "class/src/api/SearchFetcher.js~SearchFetcher.html", - "SearchFetcher @kkboxorg/kkbox-javascript-developer-sdk/src/api/SearchFetcher.js", + "SearchFetcher @kkbox/kkbox-js-sdk/src/api/SearchFetcher.js", "class" ], [ - "@kkboxorg/kkbox-javascript-developer-sdk/src/api/sharedplaylistfetcher.js~sharedplaylistfetcher", + "@kkbox/kkbox-js-sdk/src/api/sharedplaylistfetcher.js~sharedplaylistfetcher", "class/src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher.html", - "SharedPlaylistFetcher @kkboxorg/kkbox-javascript-developer-sdk/src/api/SharedPlaylistFetcher.js", + "SharedPlaylistFetcher @kkbox/kkbox-js-sdk/src/api/SharedPlaylistFetcher.js", "class" ], [ - "@kkboxorg/kkbox-javascript-developer-sdk/src/auth/tokenfetcher.js~tokenfetcher", + "@kkbox/kkbox-js-sdk/src/auth/tokenfetcher.js~tokenfetcher", "class/src/auth/TokenFetcher.js~TokenFetcher.html", - "TokenFetcher @kkboxorg/kkbox-javascript-developer-sdk/src/auth/TokenFetcher.js", + "TokenFetcher @kkbox/kkbox-js-sdk/src/auth/TokenFetcher.js", "class" ], [ - "@kkboxorg/kkbox-javascript-developer-sdk/src/api/trackfetcher.js~trackfetcher", + "@kkbox/kkbox-js-sdk/src/api/trackfetcher.js~trackfetcher", "class/src/api/TrackFetcher.js~TrackFetcher.html", - "TrackFetcher @kkboxorg/kkbox-javascript-developer-sdk/src/api/TrackFetcher.js", + "TrackFetcher @kkbox/kkbox-js-sdk/src/api/TrackFetcher.js", "class" ], [ - "builtinexternal/ecmascriptexternal.js~array", + "src/.external-ecmascript.js~array", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", - "BuiltinExternal/ECMAScriptExternal.js~Array", + "src/.external-ecmascript.js~Array", "external" ], [ - "builtinexternal/ecmascriptexternal.js~arraybuffer", + "src/.external-ecmascript.js~arraybuffer", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer", - "BuiltinExternal/ECMAScriptExternal.js~ArrayBuffer", + "src/.external-ecmascript.js~ArrayBuffer", "external" ], [ - "builtinexternal/ecmascriptexternal.js~boolean", + "src/.external-ecmascript.js~boolean", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", - "BuiltinExternal/ECMAScriptExternal.js~Boolean", + "src/.external-ecmascript.js~Boolean", "external" ], [ - "builtinexternal/ecmascriptexternal.js~dataview", + "src/.external-ecmascript.js~dataview", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView", - "BuiltinExternal/ECMAScriptExternal.js~DataView", + "src/.external-ecmascript.js~DataView", "external" ], [ - "builtinexternal/ecmascriptexternal.js~date", + "src/.external-ecmascript.js~date", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date", - "BuiltinExternal/ECMAScriptExternal.js~Date", + "src/.external-ecmascript.js~Date", "external" ], [ - "builtinexternal/ecmascriptexternal.js~error", + "src/.external-ecmascript.js~error", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error", - "BuiltinExternal/ECMAScriptExternal.js~Error", + "src/.external-ecmascript.js~Error", "external" ], [ - "builtinexternal/ecmascriptexternal.js~evalerror", + "src/.external-ecmascript.js~evalerror", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError", - "BuiltinExternal/ECMAScriptExternal.js~EvalError", + "src/.external-ecmascript.js~EvalError", "external" ], [ - "builtinexternal/ecmascriptexternal.js~float32array", + "src/.external-ecmascript.js~float32array", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array", - "BuiltinExternal/ECMAScriptExternal.js~Float32Array", + "src/.external-ecmascript.js~Float32Array", "external" ], [ - "builtinexternal/ecmascriptexternal.js~float64array", + "src/.external-ecmascript.js~float64array", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array", - "BuiltinExternal/ECMAScriptExternal.js~Float64Array", + "src/.external-ecmascript.js~Float64Array", "external" ], [ - "builtinexternal/ecmascriptexternal.js~function", + "src/.external-ecmascript.js~function", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", - "BuiltinExternal/ECMAScriptExternal.js~Function", + "src/.external-ecmascript.js~Function", "external" ], [ - "builtinexternal/ecmascriptexternal.js~generator", + "src/.external-ecmascript.js~generator", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator", - "BuiltinExternal/ECMAScriptExternal.js~Generator", + "src/.external-ecmascript.js~Generator", "external" ], [ - "builtinexternal/ecmascriptexternal.js~generatorfunction", + "src/.external-ecmascript.js~generatorfunction", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction", - "BuiltinExternal/ECMAScriptExternal.js~GeneratorFunction", + "src/.external-ecmascript.js~GeneratorFunction", "external" ], [ - "builtinexternal/ecmascriptexternal.js~infinity", + "src/.external-ecmascript.js~infinity", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity", - "BuiltinExternal/ECMAScriptExternal.js~Infinity", + "src/.external-ecmascript.js~Infinity", "external" ], [ - "builtinexternal/ecmascriptexternal.js~int16array", + "src/.external-ecmascript.js~int16array", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array", - "BuiltinExternal/ECMAScriptExternal.js~Int16Array", + "src/.external-ecmascript.js~Int16Array", "external" ], [ - "builtinexternal/ecmascriptexternal.js~int32array", + "src/.external-ecmascript.js~int32array", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array", - "BuiltinExternal/ECMAScriptExternal.js~Int32Array", + "src/.external-ecmascript.js~Int32Array", "external" ], [ - "builtinexternal/ecmascriptexternal.js~int8array", + "src/.external-ecmascript.js~int8array", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array", - "BuiltinExternal/ECMAScriptExternal.js~Int8Array", + "src/.external-ecmascript.js~Int8Array", "external" ], [ - "builtinexternal/ecmascriptexternal.js~internalerror", + "src/.external-ecmascript.js~internalerror", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError", - "BuiltinExternal/ECMAScriptExternal.js~InternalError", + "src/.external-ecmascript.js~InternalError", "external" ], [ - "builtinexternal/ecmascriptexternal.js~json", + "src/.external-ecmascript.js~json", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON", - "BuiltinExternal/ECMAScriptExternal.js~JSON", + "src/.external-ecmascript.js~JSON", "external" ], [ - "builtinexternal/ecmascriptexternal.js~map", + "src/.external-ecmascript.js~map", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map", - "BuiltinExternal/ECMAScriptExternal.js~Map", + "src/.external-ecmascript.js~Map", "external" ], [ - "builtinexternal/ecmascriptexternal.js~nan", + "src/.external-ecmascript.js~nan", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN", - "BuiltinExternal/ECMAScriptExternal.js~NaN", + "src/.external-ecmascript.js~NaN", "external" ], [ - "builtinexternal/ecmascriptexternal.js~number", + "src/.external-ecmascript.js~number", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", - "BuiltinExternal/ECMAScriptExternal.js~Number", + "src/.external-ecmascript.js~Number", "external" ], [ - "builtinexternal/ecmascriptexternal.js~object", + "src/.external-ecmascript.js~object", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", - "BuiltinExternal/ECMAScriptExternal.js~Object", + "src/.external-ecmascript.js~Object", "external" ], [ - "builtinexternal/ecmascriptexternal.js~promise", + "src/.external-ecmascript.js~promise", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise", - "BuiltinExternal/ECMAScriptExternal.js~Promise", + "src/.external-ecmascript.js~Promise", "external" ], [ - "builtinexternal/ecmascriptexternal.js~proxy", + "src/.external-ecmascript.js~proxy", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy", - "BuiltinExternal/ECMAScriptExternal.js~Proxy", + "src/.external-ecmascript.js~Proxy", "external" ], [ - "builtinexternal/ecmascriptexternal.js~rangeerror", + "src/.external-ecmascript.js~rangeerror", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError", - "BuiltinExternal/ECMAScriptExternal.js~RangeError", + "src/.external-ecmascript.js~RangeError", "external" ], [ - "builtinexternal/ecmascriptexternal.js~referenceerror", + "src/.external-ecmascript.js~referenceerror", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError", - "BuiltinExternal/ECMAScriptExternal.js~ReferenceError", + "src/.external-ecmascript.js~ReferenceError", "external" ], [ - "builtinexternal/ecmascriptexternal.js~reflect", + "src/.external-ecmascript.js~reflect", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect", - "BuiltinExternal/ECMAScriptExternal.js~Reflect", + "src/.external-ecmascript.js~Reflect", "external" ], [ - "builtinexternal/ecmascriptexternal.js~regexp", + "src/.external-ecmascript.js~regexp", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp", - "BuiltinExternal/ECMAScriptExternal.js~RegExp", + "src/.external-ecmascript.js~RegExp", "external" ], [ - "builtinexternal/ecmascriptexternal.js~set", + "src/.external-ecmascript.js~set", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set", - "BuiltinExternal/ECMAScriptExternal.js~Set", + "src/.external-ecmascript.js~Set", "external" ], [ - "builtinexternal/ecmascriptexternal.js~string", + "src/.external-ecmascript.js~string", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", - "BuiltinExternal/ECMAScriptExternal.js~String", + "src/.external-ecmascript.js~String", "external" ], [ - "builtinexternal/ecmascriptexternal.js~symbol", + "src/.external-ecmascript.js~symbol", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol", - "BuiltinExternal/ECMAScriptExternal.js~Symbol", + "src/.external-ecmascript.js~Symbol", "external" ], [ - "builtinexternal/ecmascriptexternal.js~syntaxerror", + "src/.external-ecmascript.js~syntaxerror", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError", - "BuiltinExternal/ECMAScriptExternal.js~SyntaxError", + "src/.external-ecmascript.js~SyntaxError", "external" ], [ - "builtinexternal/ecmascriptexternal.js~typeerror", + "src/.external-ecmascript.js~typeerror", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError", - "BuiltinExternal/ECMAScriptExternal.js~TypeError", + "src/.external-ecmascript.js~TypeError", "external" ], [ - "builtinexternal/ecmascriptexternal.js~urierror", + "src/.external-ecmascript.js~urierror", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError", - "BuiltinExternal/ECMAScriptExternal.js~URIError", + "src/.external-ecmascript.js~URIError", "external" ], [ - "builtinexternal/ecmascriptexternal.js~uint16array", + "src/.external-ecmascript.js~uint16array", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array", - "BuiltinExternal/ECMAScriptExternal.js~Uint16Array", + "src/.external-ecmascript.js~Uint16Array", "external" ], [ - "builtinexternal/ecmascriptexternal.js~uint32array", + "src/.external-ecmascript.js~uint32array", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array", - "BuiltinExternal/ECMAScriptExternal.js~Uint32Array", + "src/.external-ecmascript.js~Uint32Array", "external" ], [ - "builtinexternal/ecmascriptexternal.js~uint8array", + "src/.external-ecmascript.js~uint8array", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array", - "BuiltinExternal/ECMAScriptExternal.js~Uint8Array", + "src/.external-ecmascript.js~Uint8Array", "external" ], [ - "builtinexternal/ecmascriptexternal.js~uint8clampedarray", + "src/.external-ecmascript.js~uint8clampedarray", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray", - "BuiltinExternal/ECMAScriptExternal.js~Uint8ClampedArray", + "src/.external-ecmascript.js~Uint8ClampedArray", "external" ], [ - "builtinexternal/ecmascriptexternal.js~weakmap", + "src/.external-ecmascript.js~weakmap", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap", - "BuiltinExternal/ECMAScriptExternal.js~WeakMap", + "src/.external-ecmascript.js~WeakMap", "external" ], [ - "builtinexternal/ecmascriptexternal.js~weakset", + "src/.external-ecmascript.js~weakset", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet", - "BuiltinExternal/ECMAScriptExternal.js~WeakSet", + "src/.external-ecmascript.js~WeakSet", "external" ], [ - "builtinexternal/ecmascriptexternal.js~boolean", + "src/.external-ecmascript.js~boolean", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", - "BuiltinExternal/ECMAScriptExternal.js~boolean", + "src/.external-ecmascript.js~boolean", "external" ], [ - "builtinexternal/ecmascriptexternal.js~function", + "src/.external-ecmascript.js~function", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", - "BuiltinExternal/ECMAScriptExternal.js~function", + "src/.external-ecmascript.js~function", "external" ], [ - "builtinexternal/ecmascriptexternal.js~null", + "src/.external-ecmascript.js~null", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null", - "BuiltinExternal/ECMAScriptExternal.js~null", + "src/.external-ecmascript.js~null", "external" ], [ - "builtinexternal/ecmascriptexternal.js~number", + "src/.external-ecmascript.js~number", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", - "BuiltinExternal/ECMAScriptExternal.js~number", + "src/.external-ecmascript.js~number", "external" ], [ - "builtinexternal/ecmascriptexternal.js~object", + "src/.external-ecmascript.js~object", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", - "BuiltinExternal/ECMAScriptExternal.js~object", + "src/.external-ecmascript.js~object", "external" ], [ - "builtinexternal/ecmascriptexternal.js~string", + "src/.external-ecmascript.js~string", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", - "BuiltinExternal/ECMAScriptExternal.js~string", + "src/.external-ecmascript.js~string", "external" ], [ - "builtinexternal/ecmascriptexternal.js~undefined", + "src/.external-ecmascript.js~undefined", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined", - "BuiltinExternal/ECMAScriptExternal.js~undefined", - "external" - ], - [ - "builtinexternal/webapiexternal.js~audiocontext", - "https://developer.mozilla.org/en/docs/Web/API/AudioContext", - "BuiltinExternal/WebAPIExternal.js~AudioContext", - "external" - ], - [ - "builtinexternal/webapiexternal.js~canvasrenderingcontext2d", - "https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D", - "BuiltinExternal/WebAPIExternal.js~CanvasRenderingContext2D", - "external" - ], - [ - "builtinexternal/webapiexternal.js~documentfragment", - "https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment", - "BuiltinExternal/WebAPIExternal.js~DocumentFragment", - "external" - ], - [ - "builtinexternal/webapiexternal.js~element", - "https://developer.mozilla.org/en-US/docs/Web/API/Element", - "BuiltinExternal/WebAPIExternal.js~Element", - "external" - ], - [ - "builtinexternal/webapiexternal.js~event", - "https://developer.mozilla.org/en-US/docs/Web/API/Event", - "BuiltinExternal/WebAPIExternal.js~Event", - "external" - ], - [ - "builtinexternal/webapiexternal.js~node", - "https://developer.mozilla.org/en-US/docs/Web/API/Node", - "BuiltinExternal/WebAPIExternal.js~Node", - "external" - ], - [ - "builtinexternal/webapiexternal.js~nodelist", - "https://developer.mozilla.org/en-US/docs/Web/API/NodeList", - "BuiltinExternal/WebAPIExternal.js~NodeList", - "external" - ], - [ - "builtinexternal/webapiexternal.js~xmlhttprequest", - "https://developer.mozilla.org/en/docs/Web/API/XMLHttpRequest", - "BuiltinExternal/WebAPIExternal.js~XMLHttpRequest", + "src/.external-ecmascript.js~undefined", "external" ], [ @@ -443,12 +395,6 @@ window.esdocSearchIndex = [ "src/Endpoint.js", "file" ], - [ - "src/sdk.js", - "file/src/SDK.js.html", - "src/SDK.js", - "file" - ], [ "src/api/albumfetcher.js", "file/src/api/AlbumFetcher.js.html", @@ -563,6 +509,12 @@ window.esdocSearchIndex = [ "src/api/Api.js~Api#setToken", "method" ], + [ + "src/api/api.js~api#sharedplaylistfetcher", + "class/src/api/Api.js~Api.html#instance-member-sharedPlaylistFetcher", + "src/api/Api.js~Api#sharedPlaylistFetcher", + "member" + ], [ "src/api/api.js~api#territory", "class/src/api/Api.js~Api.html#instance-member-territory", @@ -593,6 +545,12 @@ window.esdocSearchIndex = [ "src/api/ArtistFetcher.js~ArtistFetcher#fetchMetadata", "method" ], + [ + "src/api/artistfetcher.js~artistfetcher#fetchrelatedartists", + "class/src/api/ArtistFetcher.js~ArtistFetcher.html#instance-method-fetchRelatedArtists", + "src/api/ArtistFetcher.js~ArtistFetcher#fetchRelatedArtists", + "method" + ], [ "src/api/artistfetcher.js~artistfetcher#fetchtoptracks", "class/src/api/ArtistFetcher.js~ArtistFetcher.html#instance-method-fetchTopTracks", @@ -617,6 +575,24 @@ window.esdocSearchIndex = [ "src/api/ChartFetcher.js~ChartFetcher#fetchCharts", "method" ], + [ + "src/api/chartfetcher.js~chartfetcher#fetchmetadata", + "class/src/api/ChartFetcher.js~ChartFetcher.html#instance-method-fetchMetadata", + "src/api/ChartFetcher.js~ChartFetcher#fetchMetadata", + "method" + ], + [ + "src/api/chartfetcher.js~chartfetcher#fetchtracks", + "class/src/api/ChartFetcher.js~ChartFetcher.html#instance-method-fetchTracks", + "src/api/ChartFetcher.js~ChartFetcher#fetchTracks", + "method" + ], + [ + "src/api/chartfetcher.js~chartfetcher#setplaylistid", + "class/src/api/ChartFetcher.js~ChartFetcher.html#instance-method-setPlaylistID", + "src/api/ChartFetcher.js~ChartFetcher#setPlaylistID", + "method" + ], [ "src/api/featuredplaylistcategoryfetcher.js", "file/src/api/FeaturedPlaylistCategoryFetcher.js.html", @@ -683,6 +659,12 @@ window.esdocSearchIndex = [ "src/api/Fetcher.js~Fetcher#hasNextPage", "method" ], + [ + "src/api/fetcher.js~fetcher#setterritory", + "class/src/api/Fetcher.js~Fetcher.html#instance-method-setTerritory", + "src/api/Fetcher.js~Fetcher#setTerritory", + "method" + ], [ "src/api/genrestationfetcher.js", "file/src/api/GenreStationFetcher.js.html", @@ -731,6 +713,12 @@ window.esdocSearchIndex = [ "src/api/HttpClient.js~HttpClient#post", "method" ], + [ + "src/api/httpclient.js~httpclient#token", + "class/src/api/HttpClient.js~HttpClient.html#instance-member-token", + "src/api/HttpClient.js~HttpClient#token", + "member" + ], [ "src/api/moodstationfetcher.js", "file/src/api/MoodStationFetcher.js.html", @@ -779,6 +767,12 @@ window.esdocSearchIndex = [ "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher#fetchMetadata", "method" ], + [ + "src/api/newhitsplaylistfetcher.js~newhitsplaylistfetcher#fetchtracks", + "class/src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher.html#instance-method-fetchTracks", + "src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher#fetchTracks", + "method" + ], [ "src/api/newhitsplaylistfetcher.js~newhitsplaylistfetcher#setplaylistid", "class/src/api/NewHitsPlaylistFetcher.js~NewHitsPlaylistFetcher.html#instance-method-setPlaylistID", @@ -946,5 +940,29 @@ window.esdocSearchIndex = [ "file/src/catchError.js.html", "src/catchError.js", "file" + ], + [ + "src/index.js", + "file/src/index.js.html", + "src/index.js", + "file" + ], + [ + "src/test/apitest.js", + "file/src/test/apitest.js.html", + "src/test/apitest.js", + "file" + ], + [ + "src/test/authtest.js", + "file/src/test/authtest.js.html", + "src/test/authtest.js", + "file" + ], + [ + "src/test/sdktest.js", + "file/src/test/sdktest.js.html", + "src/test/sdktest.js", + "file" ] ] \ No newline at end of file diff --git a/docs/script/test-summary.js b/docs/script/test-summary.js index 2f32cb0..2abad3b 100644 --- a/docs/script/test-summary.js +++ b/docs/script/test-summary.js @@ -3,7 +3,7 @@ var button = ev.target; var parent = ev.target.parentElement; while(parent) { - if (parent.tagName === 'TR' && parent.classList.contains('test-describe')) break; + if (parent.tagName === 'TR' && parent.classList.contains('test-interface')) break; parent = parent.parentElement; } @@ -42,7 +42,7 @@ } } - var buttons = document.querySelectorAll('.test-summary tr.test-describe .toggle'); + var buttons = document.querySelectorAll('.test-summary tr.test-interface .toggle'); for (var i = 0; i < buttons.length; i++) { buttons[i].addEventListener('click', toggle); } diff --git a/docs/source.html b/docs/source.html index c773197..dbdcb12 100644 --- a/docs/source.html +++ b/docs/source.html @@ -3,14 +3,12 @@ - Source | API Document + Source | @kkbox/kkbox-js-sdk - - - +
@@ -19,7 +17,6 @@ Reference Source - Repository -
+ -

Source 79/82

+

Source 122/134

@@ -70,179 +67,203 @@ - - - - - - - - - + - - - - + + + + - - - - + + + + - + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - + - - - - + + + + - - - - + + + + - - - - + + + + - + - - - - + + + + - - - - + + + + - - - - + + + + - - - + + + - - - - + + + + - - - - + + + + + + + + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + +
src/Endpoint.js--1446 byte832017-10-03 09:05:52 (UTC)
src/SDK.jssrc/Endpoint.js --84 byte12017-10-03 09:05:52 (UTC)0 %0/2783 byte192018-06-07 05:49:00 (UTC)
src/api/AlbumFetcher.js AlbumFetcher100 %5/52105 byte682017-10-03 09:05:52 (UTC)100 %7/71877 byte712018-06-06 09:08:40 (UTC)
src/api/Api.jssrc/api/Api.js Api87 %14/163101 byte952017-10-03 09:05:52 (UTC)88 %15/173198 byte1232018-06-06 09:08:40 (UTC)
src/api/ArtistFetcher.js ArtistFetcher100 %5/52448 byte762017-10-03 09:05:52 (UTC)100 %8/82780 byte962018-06-06 09:08:40 (UTC)
src/api/ChartFetcher.js ChartFetcher100 %2/2706 byte272017-10-03 09:05:52 (UTC)100 %7/71962 byte752018-06-06 09:08:40 (UTC)
src/api/FeaturedPlaylistCategoryFetcher.js FeaturedPlaylistCategoryFetcher100 %5/52628 byte702017-10-03 09:05:52 (UTC)100 %7/72286 byte752018-06-06 09:08:40 (UTC)
src/api/FeaturedPlaylistFetcher.js FeaturedPlaylistFetcher100 %2/21032 byte312017-10-03 09:05:52 (UTC)100 %3/3922 byte322018-06-06 09:08:40 (UTC)
src/api/Fetcher.js Fetcher100 %4/42959 byte872017-10-03 09:05:52 (UTC)100 %8/82921 byte982018-06-06 09:08:40 (UTC)
src/api/GenreStationFetcher.js GenreStationFetcher100 %4/41942 byte592017-10-03 09:05:52 (UTC)100 %6/61698 byte622018-06-06 09:08:40 (UTC)
src/api/HttpClient.js HttpClient100 %4/41202 byte472017-10-03 09:05:52 (UTC)100 %5/51066 byte532018-06-06 09:08:40 (UTC)
src/api/MoodStationFetcher.jssrc/api/MoodStationFetcher.js MoodStationFetcher80 %4/51650 byte542017-10-03 09:05:52 (UTC)85 %6/71570 byte602018-06-06 09:08:40 (UTC)
src/api/NewHitsPlaylistFetcher.js NewHitsPlaylistFetcher100 %4/41865 byte572017-10-03 09:05:52 (UTC)100 %7/72255 byte772018-06-06 09:08:40 (UTC)
src/api/NewReleaseCategoryFetcher.js NewReleaseCategoryFetcher100 %5/52749 byte762017-10-03 09:05:52 (UTC)100 %7/72398 byte792018-06-06 09:08:40 (UTC)
src/api/SearchFetcher.jssrc/api/SearchFetcher.js SearchFetcher100 %4/47071 byte1652017-10-03 09:05:52 (UTC)88 %8/96101 byte2012018-06-06 09:08:40 (UTC)
src/api/SharedPlaylistFetcher.js SharedPlaylistFetcher100 %5/52262 byte682017-10-03 09:05:52 (UTC)100 %7/72065 byte772018-06-06 09:08:40 (UTC)
src/api/TrackFetcher.js TrackFetcher100 %4/41412 byte512017-10-03 09:05:52 (UTC)100 %6/61278 byte542018-06-06 09:08:40 (UTC)
src/auth/Auth.js Auth 100 %4/4736 byte252017-10-03 09:05:52 (UTC)684 byte262018-06-06 09:08:40 (UTC)
src/auth/ClientCredentialsFlow.js ClientCredentialsFlow100 %2/2617 byte252017-10-03 09:05:52 (UTC)100 %4/4579 byte282018-06-06 09:08:40 (UTC)
src/auth/TokenFetcher.js TokenFetcher100 %2/2916 byte392017-10-03 09:05:52 (UTC)100 %5/5810 byte422018-06-06 09:08:40 (UTC)
src/catchError.js -100 %2/2293 byte172018-06-06 09:08:40 (UTC)
src/index.js- -307 byte162017-10-03 09:05:52 (UTC)91 byte22018-06-07 02:54:18 (UTC)
src/test/apitest.js-0 %0/224867 byte6552018-06-07 06:32:06 (UTC)
src/test/authtest.js-0 %0/2816 byte222018-06-07 06:06:51 (UTC)
src/test/sdktest.js-0 %0/25414 byte1532018-06-07 06:06:51 (UTC)
diff --git a/package-lock.json b/package-lock.json index 0d8518d..86a131e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5777 +1,5770 @@ { - "name": "@kkboxorg/kkbox-javascript-developer-sdk", - "version": "1.0.0", + "name": "@kkbox/kkbox-js-sdk", + "version": "1.3.6", "lockfileVersion": 1, + "requires": true, "dependencies": { - "abab": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/abab/-/abab-1.0.3.tgz", - "integrity": "sha1-uB3l9ydOxOdW15fNg08wNkJyTl0=", - "dev": true, - "optional": true - }, - "acorn": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-2.7.0.tgz", - "integrity": "sha1-q259nYhqrKiwhbwzEreaGYQz8Oc=", - "dev": true - }, - "acorn-dynamic-import": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-2.0.2.tgz", - "integrity": "sha1-x1K9IQvvZ5UBtsbLf8hPj0cVjMQ=", - "dev": true, - "requires": { - "acorn": "4.0.13" - }, - "dependencies": { - "acorn": { - "version": "4.0.13", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz", - "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=", - "dev": true - } - } - }, - "acorn-globals": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-1.0.9.tgz", - "integrity": "sha1-VbtemGkVB7dFedBRNBMhfDgMVM8=", - "dev": true, - "optional": true, - "requires": { - "acorn": "2.7.0" - } - }, - "ajv": { - "version": "4.11.8", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-4.11.8.tgz", - "integrity": "sha1-gv+wKynmYq5TvcIK8VlHcGc5xTY=", - "dev": true, - "requires": { - "co": "4.6.0", - "json-stable-stringify": "1.0.1" - } - }, - "ajv-keywords": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-1.5.1.tgz", - "integrity": "sha1-MU3QpLM2j609/NxU7eYXG4htrzw=", - "dev": true - }, - "align-text": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz", - "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=", - "dev": true, - "requires": { - "kind-of": "3.2.2", - "longest": "1.0.1", - "repeat-string": "1.6.1" - } - }, - "amdefine": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", - "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", - "dev": true, - "optional": true - }, - "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", - "dev": true - }, - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", - "dev": true - }, - "anymatch": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-1.3.0.tgz", - "integrity": "sha1-o+Uvo5FoyCX/V7AkgSbOWo/5VQc=", - "dev": true, - "requires": { - "arrify": "1.0.1", - "micromatch": "2.3.11" - } - }, - "arr-diff": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", - "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", - "dev": true, - "requires": { - "arr-flatten": "1.0.3" - } - }, - "arr-flatten": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.0.3.tgz", - "integrity": "sha1-onTthawIhJtr14R8RYB0XcUa37E=", - "dev": true - }, - "array-unique": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", - "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", - "dev": true - }, - "arrify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", - "dev": true - }, - "asap": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.5.tgz", - "integrity": "sha1-UidltQw1EEkOUtfc/ghe+bqWlY8=", - "dev": true - }, - "asn1": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz", - "integrity": "sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y=", - "dev": true, - "optional": true - }, - "asn1.js": { - "version": "4.9.1", - "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.9.1.tgz", - "integrity": "sha1-SLokC0WpKA6UdImQull9IWYX/UA=", - "dev": true, - "requires": { - "bn.js": "4.11.7", - "inherits": "2.0.3", - "minimalistic-assert": "1.0.0" - } - }, - "assert": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/assert/-/assert-1.4.1.tgz", - "integrity": "sha1-mZEtWRg2tab1s0XA8H7vwI/GXZE=", - "dev": true, - "requires": { - "util": "0.10.3" - } - }, - "assert-plus": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz", - "integrity": "sha1-104bh+ev/A24qttwIfP+SBAasjQ=", - "dev": true, - "optional": true - }, - "async": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/async/-/async-2.5.0.tgz", - "integrity": "sha512-e+lJAJeNWuPCNyxZKOBdaJGyLGHugXVQtrAwtuAe2vhxTYxFTKE73p8JuTmdH0qdQZtDvI4dhJwjZc5zsfIsYw==", - "dev": true, - "requires": { - "lodash": "4.17.4" - } - }, - "async-each": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.1.tgz", - "integrity": "sha1-GdOGodntxufByF04iu28xW0zYC0=", - "dev": true - }, - "asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", - "dev": true, - "optional": true - }, - "aws-sign2": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz", - "integrity": "sha1-FDQt0428yU0OW4fXY81jYSwOeU8=", - "dev": true, - "optional": true - }, - "aws4": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.6.0.tgz", - "integrity": "sha1-g+9cqGCysy5KDe7e6MdxudtXRx4=", - "dev": true, - "optional": true - }, - "axios": { - "version": "0.15.3", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.15.3.tgz", - "integrity": "sha1-LJ1jiy4ZGgjqHWzJiOrda6W9wFM=", - "requires": { - "follow-redirects": "1.0.0" - } - }, - "babel-cli": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-cli/-/babel-cli-6.24.1.tgz", - "integrity": "sha1-IHzXBbumFImy6kG1MSNBz2rKIoM=", - "dev": true, - "requires": { - "babel-core": "6.25.0", - "babel-polyfill": "6.23.0", - "babel-register": "6.24.1", - "babel-runtime": "6.23.0", - "chokidar": "1.7.0", - "commander": "2.11.0", - "convert-source-map": "1.5.0", - "fs-readdir-recursive": "1.0.0", - "glob": "7.1.2", - "lodash": "4.17.4", - "output-file-sync": "1.1.2", - "path-is-absolute": "1.0.1", - "slash": "1.0.0", - "source-map": "0.5.6", - "v8flags": "2.1.1" - } - }, - "babel-code-frame": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.22.0.tgz", - "integrity": "sha1-AnYgvuVnqIwyVhV05/0IAdMxGOQ=", - "dev": true, - "requires": { - "chalk": "1.1.3", - "esutils": "2.0.2", - "js-tokens": "3.0.2" - } - }, - "babel-core": { - "version": "6.25.0", - "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.25.0.tgz", - "integrity": "sha1-fdQrBGPHQunVKW3rPsZ6kyLa1yk=", - "dev": true, - "requires": { - "babel-code-frame": "6.22.0", - "babel-generator": "6.25.0", - "babel-helpers": "6.24.1", - "babel-messages": "6.23.0", - "babel-register": "6.24.1", - "babel-runtime": "6.23.0", - "babel-template": "6.25.0", - "babel-traverse": "6.25.0", - "babel-types": "6.25.0", - "babylon": "6.17.4", - "convert-source-map": "1.5.0", - "debug": "2.6.8", - "json5": "0.5.1", - "lodash": "4.17.4", - "minimatch": "3.0.4", - "path-is-absolute": "1.0.1", - "private": "0.1.7", - "slash": "1.0.0", - "source-map": "0.5.6" - } - }, - "babel-generator": { - "version": "6.25.0", - "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.25.0.tgz", - "integrity": "sha1-M6GvcNXyiQrrRlpKd5PB32qeqfw=", - "dev": true, - "requires": { - "babel-messages": "6.23.0", - "babel-runtime": "6.23.0", - "babel-types": "6.25.0", - "detect-indent": "4.0.0", - "jsesc": "1.3.0", - "lodash": "4.17.4", - "source-map": "0.5.6", - "trim-right": "1.0.1" - } - }, - "babel-helper-builder-binary-assignment-operator-visitor": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz", - "integrity": "sha1-zORReto1b0IgvK6KAsKzRvmlZmQ=", - "dev": true, - "requires": { - "babel-helper-explode-assignable-expression": "6.24.1", - "babel-runtime": "6.23.0", - "babel-types": "6.25.0" - } - }, - "babel-helper-call-delegate": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz", - "integrity": "sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340=", - "dev": true, - "requires": { - "babel-helper-hoist-variables": "6.24.1", - "babel-runtime": "6.23.0", - "babel-traverse": "6.25.0", - "babel-types": "6.25.0" - } - }, - "babel-helper-define-map": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.24.1.tgz", - "integrity": "sha1-epdH8ljYlH0y1RX2qhx70CIEoIA=", - "dev": true, - "requires": { - "babel-helper-function-name": "6.24.1", - "babel-runtime": "6.23.0", - "babel-types": "6.25.0", - "lodash": "4.17.4" - } - }, - "babel-helper-evaluate-path": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/babel-helper-evaluate-path/-/babel-helper-evaluate-path-0.1.0.tgz", - "integrity": "sha1-ldmMTqNhUEg9sufT7J4ZVKcmKcs=", - "dev": true - }, - "babel-helper-explode-assignable-expression": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz", - "integrity": "sha1-8luCz33BBDPFX3BZLVdGQArCLKo=", - "dev": true, - "requires": { - "babel-runtime": "6.23.0", - "babel-traverse": "6.25.0", - "babel-types": "6.25.0" - } - }, - "babel-helper-flip-expressions": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/babel-helper-flip-expressions/-/babel-helper-flip-expressions-0.1.2.tgz", - "integrity": "sha1-d/ZlL53pxCQB2Ce9RuvSEJ4+8Yo=", - "dev": true - }, - "babel-helper-function-name": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz", - "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=", - "dev": true, - "requires": { - "babel-helper-get-function-arity": "6.24.1", - "babel-runtime": "6.23.0", - "babel-template": "6.25.0", - "babel-traverse": "6.25.0", - "babel-types": "6.25.0" - } - }, - "babel-helper-get-function-arity": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz", - "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=", - "dev": true, - "requires": { - "babel-runtime": "6.23.0", - "babel-types": "6.25.0" - } - }, - "babel-helper-hoist-variables": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz", - "integrity": "sha1-HssnaJydJVE+rbyZFKc/VAi+enY=", - "dev": true, - "requires": { - "babel-runtime": "6.23.0", - "babel-types": "6.25.0" - } - }, - "babel-helper-is-nodes-equiv": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/babel-helper-is-nodes-equiv/-/babel-helper-is-nodes-equiv-0.0.1.tgz", - "integrity": "sha1-NOmzALFHnd2Y7HfqC76TQt/jloQ=", - "dev": true - }, - "babel-helper-is-void-0": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/babel-helper-is-void-0/-/babel-helper-is-void-0-0.1.1.tgz", - "integrity": "sha1-cvIaOrugvvODf5F0/KcxrtmgKIg=", - "dev": true - }, - "babel-helper-mark-eval-scopes": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/babel-helper-mark-eval-scopes/-/babel-helper-mark-eval-scopes-0.1.1.tgz", - "integrity": "sha1-RVQ0Xt+fJUlCe9IJjlMCU/ivKZI=", - "dev": true - }, - "babel-helper-optimise-call-expression": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz", - "integrity": "sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc=", - "dev": true, - "requires": { - "babel-runtime": "6.23.0", - "babel-types": "6.25.0" - } - }, - "babel-helper-regex": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-regex/-/babel-helper-regex-6.24.1.tgz", - "integrity": "sha1-024i+rEAjXnYhkjjIRaGgShFbOg=", - "dev": true, - "requires": { - "babel-runtime": "6.23.0", - "babel-types": "6.25.0", - "lodash": "4.17.4" - } - }, - "babel-helper-remap-async-to-generator": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz", - "integrity": "sha1-XsWBgnrXI/7N04HxySg5BnbkVRs=", - "dev": true, - "requires": { - "babel-helper-function-name": "6.24.1", - "babel-runtime": "6.23.0", - "babel-template": "6.25.0", - "babel-traverse": "6.25.0", - "babel-types": "6.25.0" - } - }, - "babel-helper-remove-or-void": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/babel-helper-remove-or-void/-/babel-helper-remove-or-void-0.1.1.tgz", - "integrity": "sha1-nX4YVtxvr8tBsoOkFnMNwYRPZtc=", - "dev": true - }, - "babel-helper-replace-supers": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz", - "integrity": "sha1-v22/5Dk40XNpohPKiov3S2qQqxo=", - "dev": true, - "requires": { - "babel-helper-optimise-call-expression": "6.24.1", - "babel-messages": "6.23.0", - "babel-runtime": "6.23.0", - "babel-template": "6.25.0", - "babel-traverse": "6.25.0", - "babel-types": "6.25.0" - } - }, - "babel-helper-to-multiple-sequence-expressions": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/babel-helper-to-multiple-sequence-expressions/-/babel-helper-to-multiple-sequence-expressions-0.1.1.tgz", - "integrity": "sha1-XxuDKznkrPlU6RN/AlE5XHEZazU=", - "dev": true - }, - "babel-helpers": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz", - "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=", - "dev": true, - "requires": { - "babel-runtime": "6.23.0", - "babel-template": "6.25.0" - } - }, - "babel-loader": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-6.4.1.tgz", - "integrity": "sha1-CzQRLVsHSKjc2/Uaz2+b1C1QuMo=", - "dev": true, - "requires": { - "find-cache-dir": "0.1.1", - "loader-utils": "0.2.17", - "mkdirp": "0.5.1", - "object-assign": "4.1.1" - } - }, - "babel-messages": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", - "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", - "dev": true, - "requires": { - "babel-runtime": "6.23.0" - } - }, - "babel-plugin-check-es2015-constants": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz", - "integrity": "sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=", - "dev": true, - "requires": { - "babel-runtime": "6.23.0" - } - }, - "babel-plugin-minify-builtins": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/babel-plugin-minify-builtins/-/babel-plugin-minify-builtins-0.1.3.tgz", - "integrity": "sha1-TyGn3LUfkaBOpx1H/w6OOwX+wCE=", - "dev": true, - "requires": { - "babel-helper-evaluate-path": "0.1.0" - } - }, - "babel-plugin-minify-constant-folding": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/babel-plugin-minify-constant-folding/-/babel-plugin-minify-constant-folding-0.1.3.tgz", - "integrity": "sha1-V70XKt+LjXStfJlhLrlQQU6+o8o=", - "dev": true, - "requires": { - "babel-helper-evaluate-path": "0.1.0" - } - }, - "babel-plugin-minify-dead-code-elimination": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/babel-plugin-minify-dead-code-elimination/-/babel-plugin-minify-dead-code-elimination-0.1.7.tgz", - "integrity": "sha1-d09TbzR7mDk6J7qnF4cpaIE8NCw=", - "dev": true, - "requires": { - "babel-helper-mark-eval-scopes": "0.1.1", - "babel-helper-remove-or-void": "0.1.1", - "lodash.some": "4.6.0" - } - }, - "babel-plugin-minify-flip-comparisons": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/babel-plugin-minify-flip-comparisons/-/babel-plugin-minify-flip-comparisons-0.1.2.tgz", - "integrity": "sha1-4oa0C3WZsY3+oZUHHkJ5Rlz8GIQ=", - "dev": true, - "requires": { - "babel-helper-is-void-0": "0.1.1" - } - }, - "babel-plugin-minify-guarded-expressions": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/babel-plugin-minify-guarded-expressions/-/babel-plugin-minify-guarded-expressions-0.1.2.tgz", - "integrity": "sha1-38PUc7A2LZYF084KweIjKMYNEAc=", - "dev": true, - "requires": { - "babel-helper-flip-expressions": "0.1.2" - } - }, - "babel-plugin-minify-infinity": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/babel-plugin-minify-infinity/-/babel-plugin-minify-infinity-0.1.2.tgz", - "integrity": "sha1-Xxz2fd7cuhPIoA2oMlQt8AkaHNQ=", - "dev": true - }, - "babel-plugin-minify-mangle-names": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/babel-plugin-minify-mangle-names/-/babel-plugin-minify-mangle-names-0.1.3.tgz", - "integrity": "sha1-v6JGYaZ5T7A4M1h+VYKLZUSeBv4=", - "dev": true, - "requires": { - "babel-helper-mark-eval-scopes": "0.1.1" - } - }, - "babel-plugin-minify-numeric-literals": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/babel-plugin-minify-numeric-literals/-/babel-plugin-minify-numeric-literals-0.1.1.tgz", - "integrity": "sha1-1LiwySX4dHFO4z7ksmZ4WD185/s=", - "dev": true - }, - "babel-plugin-minify-replace": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/babel-plugin-minify-replace/-/babel-plugin-minify-replace-0.1.2.tgz", - "integrity": "sha1-uQuecatNOzYyVimpG+q+E7CxasE=", - "dev": true - }, - "babel-plugin-minify-simplify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/babel-plugin-minify-simplify/-/babel-plugin-minify-simplify-0.1.2.tgz", - "integrity": "sha1-qWjxZY/esvx1noH+Mx2Jgp3w9rk=", - "dev": true, - "requires": { - "babel-helper-flip-expressions": "0.1.2", - "babel-helper-is-nodes-equiv": "0.0.1", - "babel-helper-to-multiple-sequence-expressions": "0.1.1" - } - }, - "babel-plugin-minify-type-constructors": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/babel-plugin-minify-type-constructors/-/babel-plugin-minify-type-constructors-0.1.2.tgz", - "integrity": "sha1-21PFt2y44vzUXYYvFxBMeHYTN+4=", - "dev": true, - "requires": { - "babel-helper-is-void-0": "0.1.1" - } - }, - "babel-plugin-syntax-async-functions": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz", - "integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU=", - "dev": true - }, - "babel-plugin-syntax-dynamic-import": { - "version": "6.18.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz", - "integrity": "sha1-jWomIpyDdFqZgqRBBRVyyqF5sdo=", - "dev": true - }, - "babel-plugin-syntax-exponentiation-operator": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz", - "integrity": "sha1-nufoM3KQ2pUoggGmpX9BcDF4MN4=", - "dev": true - }, - "babel-plugin-syntax-trailing-function-commas": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz", - "integrity": "sha1-ugNgk3+NBuQBgKQ/4NVhb/9TLPM=", - "dev": true - }, - "babel-plugin-transform-async-to-generator": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz", - "integrity": "sha1-ZTbjeK/2yx1VF6wOQOs+n8jQh2E=", - "dev": true, - "requires": { - "babel-helper-remap-async-to-generator": "6.24.1", - "babel-plugin-syntax-async-functions": "6.13.0", - "babel-runtime": "6.23.0" - } - }, - "babel-plugin-transform-es2015-arrow-functions": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz", - "integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=", - "dev": true, - "requires": { - "babel-runtime": "6.23.0" - } - }, - "babel-plugin-transform-es2015-block-scoped-functions": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz", - "integrity": "sha1-u8UbSflk1wy42OC5ToICRs46YUE=", - "dev": true, - "requires": { - "babel-runtime": "6.23.0" - } - }, - "babel-plugin-transform-es2015-block-scoping": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.24.1.tgz", - "integrity": "sha1-dsKV3DpHQbFmWt/TFnIV3P8ypXY=", - "dev": true, - "requires": { - "babel-runtime": "6.23.0", - "babel-template": "6.25.0", - "babel-traverse": "6.25.0", - "babel-types": "6.25.0", - "lodash": "4.17.4" - } - }, - "babel-plugin-transform-es2015-classes": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz", - "integrity": "sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=", - "dev": true, - "requires": { - "babel-helper-define-map": "6.24.1", - "babel-helper-function-name": "6.24.1", - "babel-helper-optimise-call-expression": "6.24.1", - "babel-helper-replace-supers": "6.24.1", - "babel-messages": "6.23.0", - "babel-runtime": "6.23.0", - "babel-template": "6.25.0", - "babel-traverse": "6.25.0", - "babel-types": "6.25.0" - } - }, - "babel-plugin-transform-es2015-computed-properties": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz", - "integrity": "sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=", - "dev": true, - "requires": { - "babel-runtime": "6.23.0", - "babel-template": "6.25.0" - } - }, - "babel-plugin-transform-es2015-destructuring": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz", - "integrity": "sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=", - "dev": true, - "requires": { - "babel-runtime": "6.23.0" - } - }, - "babel-plugin-transform-es2015-duplicate-keys": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz", - "integrity": "sha1-c+s9MQypaePvnskcU3QabxV2Qj4=", - "dev": true, - "requires": { - "babel-runtime": "6.23.0", - "babel-types": "6.25.0" - } - }, - "babel-plugin-transform-es2015-for-of": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz", - "integrity": "sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=", - "dev": true, - "requires": { - "babel-runtime": "6.23.0" - } - }, - "babel-plugin-transform-es2015-function-name": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz", - "integrity": "sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=", - "dev": true, - "requires": { - "babel-helper-function-name": "6.24.1", - "babel-runtime": "6.23.0", - "babel-types": "6.25.0" - } - }, - "babel-plugin-transform-es2015-literals": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz", - "integrity": "sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=", - "dev": true, - "requires": { - "babel-runtime": "6.23.0" - } - }, - "babel-plugin-transform-es2015-modules-amd": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz", - "integrity": "sha1-Oz5UAXI5hC1tGcMBHEvS8AoA0VQ=", - "dev": true, - "requires": { - "babel-plugin-transform-es2015-modules-commonjs": "6.24.1", - "babel-runtime": "6.23.0", - "babel-template": "6.25.0" - } - }, - "babel-plugin-transform-es2015-modules-commonjs": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.24.1.tgz", - "integrity": "sha1-0+MQtA72ZKNmIiAAl8bUQCmPK/4=", - "dev": true, - "requires": { - "babel-plugin-transform-strict-mode": "6.24.1", - "babel-runtime": "6.23.0", - "babel-template": "6.25.0", - "babel-types": "6.25.0" - } - }, - "babel-plugin-transform-es2015-modules-systemjs": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz", - "integrity": "sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=", - "dev": true, - "requires": { - "babel-helper-hoist-variables": "6.24.1", - "babel-runtime": "6.23.0", - "babel-template": "6.25.0" - } - }, - "babel-plugin-transform-es2015-modules-umd": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz", - "integrity": "sha1-rJl+YoXNGO1hdq22B9YCNErThGg=", - "dev": true, - "requires": { - "babel-plugin-transform-es2015-modules-amd": "6.24.1", - "babel-runtime": "6.23.0", - "babel-template": "6.25.0" - } - }, - "babel-plugin-transform-es2015-object-super": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz", - "integrity": "sha1-JM72muIcuDp/hgPa0CH1cusnj40=", - "dev": true, - "requires": { - "babel-helper-replace-supers": "6.24.1", - "babel-runtime": "6.23.0" - } - }, - "babel-plugin-transform-es2015-parameters": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz", - "integrity": "sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=", - "dev": true, - "requires": { - "babel-helper-call-delegate": "6.24.1", - "babel-helper-get-function-arity": "6.24.1", - "babel-runtime": "6.23.0", - "babel-template": "6.25.0", - "babel-traverse": "6.25.0", - "babel-types": "6.25.0" - } - }, - "babel-plugin-transform-es2015-shorthand-properties": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz", - "integrity": "sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=", - "dev": true, - "requires": { - "babel-runtime": "6.23.0", - "babel-types": "6.25.0" - } - }, - "babel-plugin-transform-es2015-spread": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz", - "integrity": "sha1-1taKmfia7cRTbIGlQujdnxdG+NE=", - "dev": true, - "requires": { - "babel-runtime": "6.23.0" - } - }, - "babel-plugin-transform-es2015-sticky-regex": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz", - "integrity": "sha1-AMHNsaynERLN8M9hJsLta0V8zbw=", - "dev": true, - "requires": { - "babel-helper-regex": "6.24.1", - "babel-runtime": "6.23.0", - "babel-types": "6.25.0" - } - }, - "babel-plugin-transform-es2015-template-literals": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz", - "integrity": "sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=", - "dev": true, - "requires": { - "babel-runtime": "6.23.0" - } - }, - "babel-plugin-transform-es2015-typeof-symbol": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz", - "integrity": "sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=", - "dev": true, - "requires": { - "babel-runtime": "6.23.0" - } - }, - "babel-plugin-transform-es2015-unicode-regex": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz", - "integrity": "sha1-04sS9C6nMj9yk4fxinxa4frrNek=", - "dev": true, - "requires": { - "babel-helper-regex": "6.24.1", - "babel-runtime": "6.23.0", - "regexpu-core": "2.0.0" - } - }, - "babel-plugin-transform-exponentiation-operator": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz", - "integrity": "sha1-KrDJx/MJj6SJB3cruBP+QejeOg4=", - "dev": true, - "requires": { - "babel-helper-builder-binary-assignment-operator-visitor": "6.24.1", - "babel-plugin-syntax-exponentiation-operator": "6.13.0", - "babel-runtime": "6.23.0" - } - }, - "babel-plugin-transform-inline-consecutive-adds": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-inline-consecutive-adds/-/babel-plugin-transform-inline-consecutive-adds-0.1.2.tgz", - "integrity": "sha1-VELp8cGceKeJn4pN7m/UgfYQAfU=", - "dev": true - }, - "babel-plugin-transform-member-expression-literals": { - "version": "6.8.4", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-member-expression-literals/-/babel-plugin-transform-member-expression-literals-6.8.4.tgz", - "integrity": "sha1-BWebxAWWuRKTQBlZqhYgqxsr5Dc=", - "dev": true - }, - "babel-plugin-transform-merge-sibling-variables": { - "version": "6.8.5", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-merge-sibling-variables/-/babel-plugin-transform-merge-sibling-variables-6.8.5.tgz", - "integrity": "sha1-A6vfEHxhJBkT6yaN3t5tW8VBhiw=", - "dev": true - }, - "babel-plugin-transform-minify-booleans": { - "version": "6.8.2", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-minify-booleans/-/babel-plugin-transform-minify-booleans-6.8.2.tgz", - "integrity": "sha1-hFFXn3BucCweGrJ1beXI6jac8Hw=", - "dev": true - }, - "babel-plugin-transform-property-literals": { - "version": "6.8.4", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-property-literals/-/babel-plugin-transform-property-literals-6.8.4.tgz", - "integrity": "sha1-atMREQuAoZKlbvtd30/jym96Ydo=", - "dev": true, - "requires": { - "esutils": "2.0.2" - } - }, - "babel-plugin-transform-regenerator": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.24.1.tgz", - "integrity": "sha1-uNowWtQ8PJm0hI5P5AN7dw0jxBg=", - "dev": true, - "requires": { - "regenerator-transform": "0.9.11" - } - }, - "babel-plugin-transform-regexp-constructors": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-regexp-constructors/-/babel-plugin-transform-regexp-constructors-0.1.1.tgz", - "integrity": "sha1-MSq3SHzIihxi7iXqG2CH6JuHeZw=", - "dev": true - }, - "babel-plugin-transform-remove-console": { - "version": "6.8.4", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-remove-console/-/babel-plugin-transform-remove-console-6.8.4.tgz", - "integrity": "sha1-Qf3awZpymkw91+8pZOrAewlvmo8=", - "dev": true - }, - "babel-plugin-transform-remove-debugger": { - "version": "6.8.4", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-remove-debugger/-/babel-plugin-transform-remove-debugger-6.8.4.tgz", - "integrity": "sha1-+FcEoIrapxtV13AFtblOm53yH24=", - "dev": true - }, - "babel-plugin-transform-remove-undefined": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-remove-undefined/-/babel-plugin-transform-remove-undefined-0.1.2.tgz", - "integrity": "sha1-4ev1ERD2seBmXyg4Lvc/leUCNlI=", - "dev": true - }, - "babel-plugin-transform-runtime": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-runtime/-/babel-plugin-transform-runtime-6.23.0.tgz", - "integrity": "sha1-iEkNRGUC6puOfvsP4J7E2ZR5se4=", - "dev": true, - "requires": { - "babel-runtime": "6.23.0" - } - }, - "babel-plugin-transform-simplify-comparison-operators": { - "version": "6.8.4", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-simplify-comparison-operators/-/babel-plugin-transform-simplify-comparison-operators-6.8.4.tgz", - "integrity": "sha1-KqJKJi1mTIyz4SWjBseY16LeCNU=", - "dev": true - }, - "babel-plugin-transform-strict-mode": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz", - "integrity": "sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g=", - "dev": true, - "requires": { - "babel-runtime": "6.23.0", - "babel-types": "6.25.0" - } - }, - "babel-plugin-transform-undefined-to-void": { - "version": "6.8.2", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-undefined-to-void/-/babel-plugin-transform-undefined-to-void-6.8.2.tgz", - "integrity": "sha1-/isdKU6wXodSTrk3JN6m4sPWb6E=", - "dev": true - }, - "babel-polyfill": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.23.0.tgz", - "integrity": "sha1-g2TKYt+Or7gwSZ9pkXdGbDsDSZ0=", - "requires": { - "babel-runtime": "6.23.0", - "core-js": "2.4.1", - "regenerator-runtime": "0.10.5" - } - }, - "babel-preset-babili": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/babel-preset-babili/-/babel-preset-babili-0.1.4.tgz", - "integrity": "sha1-rZ1mUQAvW8PwfKswB4EWf1RyS/I=", - "dev": true, - "requires": { - "babel-plugin-minify-builtins": "0.1.3", - "babel-plugin-minify-constant-folding": "0.1.3", - "babel-plugin-minify-dead-code-elimination": "0.1.7", - "babel-plugin-minify-flip-comparisons": "0.1.2", - "babel-plugin-minify-guarded-expressions": "0.1.2", - "babel-plugin-minify-infinity": "0.1.2", - "babel-plugin-minify-mangle-names": "0.1.3", - "babel-plugin-minify-numeric-literals": "0.1.1", - "babel-plugin-minify-replace": "0.1.2", - "babel-plugin-minify-simplify": "0.1.2", - "babel-plugin-minify-type-constructors": "0.1.2", - "babel-plugin-transform-inline-consecutive-adds": "0.1.2", - "babel-plugin-transform-member-expression-literals": "6.8.4", - "babel-plugin-transform-merge-sibling-variables": "6.8.5", - "babel-plugin-transform-minify-booleans": "6.8.2", - "babel-plugin-transform-property-literals": "6.8.4", - "babel-plugin-transform-regexp-constructors": "0.1.1", - "babel-plugin-transform-remove-console": "6.8.4", - "babel-plugin-transform-remove-debugger": "6.8.4", - "babel-plugin-transform-remove-undefined": "0.1.2", - "babel-plugin-transform-simplify-comparison-operators": "6.8.4", - "babel-plugin-transform-undefined-to-void": "6.8.2", - "lodash.isplainobject": "4.0.6" - } - }, - "babel-preset-env": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/babel-preset-env/-/babel-preset-env-1.6.0.tgz", - "integrity": "sha512-OVgtQRuOZKckrILgMA5rvctvFZPv72Gua9Rt006AiPoB0DJKGN07UmaQA+qRrYgK71MVct8fFhT0EyNWYorVew==", - "dev": true, - "requires": { - "babel-plugin-check-es2015-constants": "6.22.0", - "babel-plugin-syntax-trailing-function-commas": "6.22.0", - "babel-plugin-transform-async-to-generator": "6.24.1", - "babel-plugin-transform-es2015-arrow-functions": "6.22.0", - "babel-plugin-transform-es2015-block-scoped-functions": "6.22.0", - "babel-plugin-transform-es2015-block-scoping": "6.24.1", - "babel-plugin-transform-es2015-classes": "6.24.1", - "babel-plugin-transform-es2015-computed-properties": "6.24.1", - "babel-plugin-transform-es2015-destructuring": "6.23.0", - "babel-plugin-transform-es2015-duplicate-keys": "6.24.1", - "babel-plugin-transform-es2015-for-of": "6.23.0", - "babel-plugin-transform-es2015-function-name": "6.24.1", - "babel-plugin-transform-es2015-literals": "6.22.0", - "babel-plugin-transform-es2015-modules-amd": "6.24.1", - "babel-plugin-transform-es2015-modules-commonjs": "6.24.1", - "babel-plugin-transform-es2015-modules-systemjs": "6.24.1", - "babel-plugin-transform-es2015-modules-umd": "6.24.1", - "babel-plugin-transform-es2015-object-super": "6.24.1", - "babel-plugin-transform-es2015-parameters": "6.24.1", - "babel-plugin-transform-es2015-shorthand-properties": "6.24.1", - "babel-plugin-transform-es2015-spread": "6.22.0", - "babel-plugin-transform-es2015-sticky-regex": "6.24.1", - "babel-plugin-transform-es2015-template-literals": "6.22.0", - "babel-plugin-transform-es2015-typeof-symbol": "6.23.0", - "babel-plugin-transform-es2015-unicode-regex": "6.24.1", - "babel-plugin-transform-exponentiation-operator": "6.24.1", - "babel-plugin-transform-regenerator": "6.24.1", - "browserslist": "2.1.5", - "invariant": "2.2.2", - "semver": "5.3.0" - } - }, - "babel-register": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.24.1.tgz", - "integrity": "sha1-fhDhOi9xBlvfrVoXh7pFvKbe118=", - "dev": true, - "requires": { - "babel-core": "6.25.0", - "babel-runtime": "6.23.0", - "core-js": "2.4.1", - "home-or-tmp": "2.0.0", - "lodash": "4.17.4", - "mkdirp": "0.5.1", - "source-map-support": "0.4.15" - } - }, - "babel-runtime": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.23.0.tgz", - "integrity": "sha1-CpSJ8UTecO+zzkMArM2zKeL8VDs=", - "requires": { - "core-js": "2.4.1", - "regenerator-runtime": "0.10.5" - } - }, - "babel-template": { - "version": "6.25.0", - "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.25.0.tgz", - "integrity": "sha1-ZlJBFmt8KqTGGdceGSlpVSsQwHE=", - "dev": true, - "requires": { - "babel-runtime": "6.23.0", - "babel-traverse": "6.25.0", - "babel-types": "6.25.0", - "babylon": "6.17.4", - "lodash": "4.17.4" - } - }, - "babel-traverse": { - "version": "6.25.0", - "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.25.0.tgz", - "integrity": "sha1-IldJfi/NGbie3BPEyROB+VEklvE=", - "dev": true, - "requires": { - "babel-code-frame": "6.22.0", - "babel-messages": "6.23.0", - "babel-runtime": "6.23.0", - "babel-types": "6.25.0", - "babylon": "6.17.4", - "debug": "2.6.8", - "globals": "9.18.0", - "invariant": "2.2.2", - "lodash": "4.17.4" - } - }, - "babel-types": { - "version": "6.25.0", - "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.25.0.tgz", - "integrity": "sha1-cK+ySNVmDl0Y+BHZHIMDtUE0oY4=", - "dev": true, - "requires": { - "babel-runtime": "6.23.0", - "esutils": "2.0.2", - "lodash": "4.17.4", - "to-fast-properties": "1.0.3" - } - }, - "babylon": { - "version": "6.17.4", - "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.17.4.tgz", - "integrity": "sha512-kChlV+0SXkjE0vUn9OZ7pBMWRFd8uq3mZe8x1K6jhuNcAFAtEnjchFAqB+dYEXKyd+JpT6eppRR78QAr5gTsUw==", - "dev": true - }, - "balanced-match": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", - "dev": true - }, - "base64-js": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.2.1.tgz", - "integrity": "sha512-dwVUVIXsBZXwTuwnXI9RK8sBmgq09NDHzyR9SAph9eqk76gKK2JSQmZARC2zRC81JC2QTtxD0ARU5qTS25gIGw==", - "dev": true - }, - "bcrypt-pbkdf": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz", - "integrity": "sha1-Y7xdy2EzG5K8Bf1SiVPDNGKgb40=", - "dev": true, - "optional": true, - "requires": { - "tweetnacl": "0.14.5" - } - }, - "big.js": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/big.js/-/big.js-3.1.3.tgz", - "integrity": "sha1-TK2iGTZS6zyp7I5VyQFWacmAaXg=", - "dev": true - }, - "binary-extensions": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.8.0.tgz", - "integrity": "sha1-SOyNFt9Dd+rl+liEaCSAr02Vx3Q=", - "dev": true - }, - "bn.js": { - "version": "4.11.7", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.7.tgz", - "integrity": "sha512-LxFiV5mefv0ley0SzqkOPR1bC4EbpPx8LkOz5vMe/Yi15t5hzwgO/G+tc7wOtL4PZTYjwHu8JnEiSLumuSjSfA==", - "dev": true - }, - "boolbase": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", - "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=", - "dev": true - }, - "boom": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz", - "integrity": "sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8=", - "dev": true, - "requires": { - "hoek": "2.16.3" - } - }, - "brace-expansion": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.8.tgz", - "integrity": "sha1-wHshHHyVLsH479Uad+8NHTmQopI=", - "dev": true, - "requires": { - "balanced-match": "1.0.0", - "concat-map": "0.0.1" - } - }, - "braces": { - "version": "1.8.5", - "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", - "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", - "dev": true, - "requires": { - "expand-range": "1.8.2", - "preserve": "0.2.0", - "repeat-element": "1.1.2" - } - }, - "brorand": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", - "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=", - "dev": true - }, - "browser-stdout": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.0.tgz", - "integrity": "sha1-81HTKWnTL6XXpVZxVCY9korjvR8=", - "dev": true - }, - "browserify-aes": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.0.6.tgz", - "integrity": "sha1-Xncl297x/Vkw1OurSFZ85FHEigo=", - "dev": true, - "requires": { - "buffer-xor": "1.0.3", - "cipher-base": "1.0.3", - "create-hash": "1.1.3", - "evp_bytestokey": "1.0.0", - "inherits": "2.0.3" - } - }, - "browserify-cipher": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.0.tgz", - "integrity": "sha1-mYgkSHS/XtTijalWZtzWasj8Njo=", - "dev": true, - "requires": { - "browserify-aes": "1.0.6", - "browserify-des": "1.0.0", - "evp_bytestokey": "1.0.0" - } - }, - "browserify-des": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.0.tgz", - "integrity": "sha1-2qJ3cXRwki7S/hhZQRihdUOXId0=", - "dev": true, - "requires": { - "cipher-base": "1.0.3", - "des.js": "1.0.0", - "inherits": "2.0.3" - } - }, - "browserify-rsa": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz", - "integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=", - "dev": true, - "requires": { - "bn.js": "4.11.7", - "randombytes": "2.0.5" - } - }, - "browserify-sign": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.0.4.tgz", - "integrity": "sha1-qk62jl17ZYuqa/alfmMMvXqT0pg=", - "dev": true, - "requires": { - "bn.js": "4.11.7", - "browserify-rsa": "4.0.1", - "create-hash": "1.1.3", - "create-hmac": "1.1.6", - "elliptic": "6.4.0", - "inherits": "2.0.3", - "parse-asn1": "5.1.0" - } - }, - "browserify-zlib": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.1.4.tgz", - "integrity": "sha1-uzX4pRn2AOD6a4SFJByXnQFB+y0=", - "dev": true, - "requires": { - "pako": "0.2.9" - } - }, - "browserslist": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-2.1.5.tgz", - "integrity": "sha1-6IJVDfPRzW1IHBo+ADjyuvE6RxE=", - "dev": true, - "requires": { - "caniuse-lite": "1.0.30000696", - "electron-to-chromium": "1.3.15" - } - }, - "buffer": { - "version": "4.9.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz", - "integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=", - "dev": true, - "requires": { - "base64-js": "1.2.1", - "ieee754": "1.1.8", - "isarray": "1.0.0" - } - }, - "buffer-xor": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", - "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=", - "dev": true - }, - "builtin-modules": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", - "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=", - "dev": true - }, - "builtin-status-codes": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", - "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=", - "dev": true - }, - "camelcase": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz", - "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk=", - "dev": true - }, - "caniuse-lite": { - "version": "1.0.30000696", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000696.tgz", - "integrity": "sha1-MPJpXSoBoN/XeaJquD9NE0s9pcw=", - "dev": true - }, - "caseless": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", - "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", - "dev": true, - "optional": true - }, - "center-align": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz", - "integrity": "sha1-qg0yYptu6XIgBBHL1EYckHvCt60=", - "dev": true, - "requires": { - "align-text": "0.1.4", - "lazy-cache": "1.0.4" - } - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "dev": true, - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - } - }, - "cheerio": { - "version": "0.22.0", - "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-0.22.0.tgz", - "integrity": "sha1-qbqoYKP5tZWmuBsahocxIe06Jp4=", - "dev": true, - "requires": { - "css-select": "1.2.0", - "dom-serializer": "0.1.0", - "entities": "1.1.1", - "htmlparser2": "3.9.2", - "lodash.assignin": "4.2.0", - "lodash.bind": "4.2.1", - "lodash.defaults": "4.2.0", - "lodash.filter": "4.6.0", - "lodash.flatten": "4.4.0", - "lodash.foreach": "4.5.0", - "lodash.map": "4.6.0", - "lodash.merge": "4.6.0", - "lodash.pick": "4.4.0", - "lodash.reduce": "4.6.0", - "lodash.reject": "4.6.0", - "lodash.some": "4.6.0" - } - }, - "chokidar": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-1.7.0.tgz", - "integrity": "sha1-eY5ol3gVHIB2tLNg5e3SjNortGg=", - "dev": true, - "requires": { - "anymatch": "1.3.0", - "async-each": "1.0.1", - "fsevents": "1.1.2", - "glob-parent": "2.0.0", - "inherits": "2.0.3", - "is-binary-path": "1.0.1", - "is-glob": "2.0.1", - "path-is-absolute": "1.0.1", - "readdirp": "2.1.0" - } - }, - "cipher-base": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.3.tgz", - "integrity": "sha1-7qvxlEGc6QDaMBjCB9IS8qbfCgc=", - "dev": true, - "requires": { - "inherits": "2.0.3" - } - }, - "cliui": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz", - "integrity": "sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=", - "dev": true, - "requires": { - "center-align": "0.1.3", - "right-align": "0.1.3", - "wordwrap": "0.0.2" - }, - "dependencies": { - "wordwrap": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz", - "integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8=", - "dev": true - } - } - }, - "co": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", - "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", - "dev": true - }, - "code-point-at": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", - "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", - "dev": true - }, - "color-logger": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/color-logger/-/color-logger-0.0.3.tgz", - "integrity": "sha1-2bIt0dlz4Waxi/MT+fSBu6TfIBg=", - "dev": true - }, - "combined-stream": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz", - "integrity": "sha1-k4NwpXtKUd6ix3wV1cX9+JUWQAk=", - "dev": true, - "requires": { - "delayed-stream": "1.0.0" - } - }, - "commander": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz", - "integrity": "sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==", - "dev": true - }, - "commondir": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", - "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", - "dev": true - }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true - }, - "concat-stream": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.0.tgz", - "integrity": "sha1-CqxmL9Ur54lk1VMvaUeE5wEQrPc=", - "dev": true, - "requires": { - "inherits": "2.0.3", - "readable-stream": "2.3.3", - "typedarray": "0.0.6" - } - }, - "console-browserify": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz", - "integrity": "sha1-8CQcRXMKn8YyOyBtvzjtx0HQuxA=", - "dev": true, - "requires": { - "date-now": "0.1.4" - } - }, - "constants-browserify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", - "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=", - "dev": true - }, - "convert-source-map": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.0.tgz", - "integrity": "sha1-ms1whRxtXf3ZPZKC5e35SgP/RrU=", - "dev": true - }, - "core-js": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.4.1.tgz", - "integrity": "sha1-TekR5mew6ukSTjQlS1OupvxhjT4=" - }, - "core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", - "dev": true - }, - "create-ecdh": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.0.tgz", - "integrity": "sha1-iIxyNZbN92EvZJgjPuvXo1MBc30=", - "dev": true, - "requires": { - "bn.js": "4.11.7", - "elliptic": "6.4.0" - } - }, - "create-hash": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.1.3.tgz", - "integrity": "sha1-YGBCrIuSYnUPSDyt2rD1gZFy2P0=", - "dev": true, - "requires": { - "cipher-base": "1.0.3", - "inherits": "2.0.3", - "ripemd160": "2.0.1", - "sha.js": "2.4.8" - } - }, - "create-hmac": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.6.tgz", - "integrity": "sha1-rLniIaThe9sHbpBlfEK5PjcmzwY=", - "dev": true, - "requires": { - "cipher-base": "1.0.3", - "create-hash": "1.1.3", - "inherits": "2.0.3", - "ripemd160": "2.0.1", - "safe-buffer": "5.1.1", - "sha.js": "2.4.8" - } - }, - "cryptiles": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz", - "integrity": "sha1-O9/s3GCBR8HGcgL6KR59ylnqo7g=", - "dev": true, - "optional": true, - "requires": { - "boom": "2.10.1" - } - }, - "crypto-browserify": { - "version": "3.11.0", - "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.11.0.tgz", - "integrity": "sha1-NlKgkGq5sqfgw85mpAjpV6JIVSI=", - "dev": true, - "requires": { - "browserify-cipher": "1.0.0", - "browserify-sign": "4.0.4", - "create-ecdh": "4.0.0", - "create-hash": "1.1.3", - "create-hmac": "1.1.6", - "diffie-hellman": "5.0.2", - "inherits": "2.0.3", - "pbkdf2": "3.0.12", - "public-encrypt": "4.0.0", - "randombytes": "2.0.5" - } - }, - "css-select": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz", - "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=", - "dev": true, - "requires": { - "boolbase": "1.0.0", - "css-what": "2.1.0", - "domutils": "1.5.1", - "nth-check": "1.0.1" - } - }, - "css-what": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.0.tgz", - "integrity": "sha1-lGfQMsOM+u+58teVASUwYvh/ob0=", - "dev": true - }, - "cssom": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.2.tgz", - "integrity": "sha1-uANhcMefB6kP8vFuIihAJ6JDhIs=", - "dev": true - }, - "cssstyle": { - "version": "0.2.37", - "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-0.2.37.tgz", - "integrity": "sha1-VBCXI0yyUTyDzu06zdwn/yeYfVQ=", - "dev": true, - "optional": true, - "requires": { - "cssom": "0.3.2" - } - }, - "dashdash": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", - "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", - "dev": true, - "optional": true, - "requires": { - "assert-plus": "1.0.0" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", - "dev": true, - "optional": true - } - } - }, - "date-now": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz", - "integrity": "sha1-6vQ5/U1ISK105cx9vvIAZyueNFs=", - "dev": true - }, - "debug": { - "version": "2.6.8", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.8.tgz", - "integrity": "sha1-5zFTHKLt4n0YgiJCfaF4IdaP9Pw=", - "requires": { - "ms": "2.0.0" - } - }, - "decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", - "dev": true - }, - "deep-is": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", - "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", - "dev": true, - "optional": true - }, - "delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", - "dev": true - }, - "des.js": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.0.tgz", - "integrity": "sha1-wHTS4qpqipoH29YfmhXCzYPsjsw=", - "dev": true, - "requires": { - "inherits": "2.0.3", - "minimalistic-assert": "1.0.0" - } - }, - "detect-indent": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", - "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", - "dev": true, - "requires": { - "repeating": "2.0.1" - } - }, - "diff": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-3.2.0.tgz", - "integrity": "sha1-yc45Okt8vQsFinJck98pkCeGj/k=", - "dev": true - }, - "diffie-hellman": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.2.tgz", - "integrity": "sha1-tYNXOScM/ias9jIJn97SoH8gnl4=", - "dev": true, - "requires": { - "bn.js": "4.11.7", - "miller-rabin": "4.0.0", - "randombytes": "2.0.5" - } - }, - "dom-serializer": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.0.tgz", - "integrity": "sha1-BzxpdUbOB4DOI75KKOKT5AvDDII=", - "dev": true, - "requires": { - "domelementtype": "1.1.3", - "entities": "1.1.1" - }, - "dependencies": { - "domelementtype": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.1.3.tgz", - "integrity": "sha1-vSh3PiZCiBrsUVRJJCmcXNgiGFs=", - "dev": true - } - } - }, - "domain-browser": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.1.7.tgz", - "integrity": "sha1-hnqksJP6oF8d4IwG9NeyH9+GmLw=", - "dev": true - }, - "domelementtype": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.0.tgz", - "integrity": "sha1-sXrtguirWeUt2cGbF1bg/BhyBMI=", - "dev": true - }, - "domhandler": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.1.tgz", - "integrity": "sha1-iS5HAAqZvlW783dP/qBWHYh5wlk=", - "dev": true, - "requires": { - "domelementtype": "1.3.0" - } - }, - "domutils": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz", - "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=", - "dev": true, - "requires": { - "dom-serializer": "0.1.0", - "domelementtype": "1.3.0" - } - }, - "ecc-jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz", - "integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=", - "dev": true, - "optional": true, - "requires": { - "jsbn": "0.1.1" - } - }, - "electron-to-chromium": { - "version": "1.3.15", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.15.tgz", - "integrity": "sha1-CDl5NIkcvPrrvRi4KpW1pIETg2k=", - "dev": true - }, - "elliptic": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz", - "integrity": "sha1-ysmvh2LIWDYYcAPI3+GT5eLq5d8=", - "dev": true, - "requires": { - "bn.js": "4.11.7", - "brorand": "1.1.0", - "hash.js": "1.1.3", - "hmac-drbg": "1.0.1", - "inherits": "2.0.3", - "minimalistic-assert": "1.0.0", - "minimalistic-crypto-utils": "1.0.1" - } - }, - "emojis-list": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-2.1.0.tgz", - "integrity": "sha1-TapNnbAPmBmIDHn6RXrlsJof04k=", - "dev": true - }, - "enhanced-resolve": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-3.3.0.tgz", - "integrity": "sha512-2qbxE7ek3YxPJ1ML6V+satHkzHpJQKWkRHmRx6mfAoW59yP8YH8BFplbegSP+u2hBd6B6KCOpvJQ3dZAP+hkpg==", - "dev": true, - "requires": { - "graceful-fs": "4.1.11", - "memory-fs": "0.4.1", - "object-assign": "4.1.1", - "tapable": "0.2.6" - } - }, - "entities": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.1.tgz", - "integrity": "sha1-blwtClYhtdra7O+AuQ7ftc13cvA=", - "dev": true - }, - "errno": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.4.tgz", - "integrity": "sha1-uJbiOp5ei6M4cfyZar02NfyaHH0=", - "dev": true, - "requires": { - "prr": "0.0.0" - } - }, - "error-ex": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.1.tgz", - "integrity": "sha1-+FWobOYa3E6GIcPNoh56dhLDqNw=", - "dev": true, - "requires": { - "is-arrayish": "0.2.1" - } - }, - "escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=", - "dev": true - }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true - }, - "escodegen": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.8.1.tgz", - "integrity": "sha1-WltTr0aTEQvrsIZ6o0MN07cKEBg=", - "dev": true, - "optional": true, - "requires": { - "esprima": "2.7.3", - "estraverse": "1.9.3", - "esutils": "2.0.2", - "optionator": "0.8.2", - "source-map": "0.2.0" - }, - "dependencies": { - "source-map": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.2.0.tgz", - "integrity": "sha1-2rc/vPwrqBm03gO9b26qSBZLP50=", - "dev": true, - "optional": true, - "requires": { - "amdefine": "1.0.1" - } - } - } - }, - "esdoc": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/esdoc/-/esdoc-0.5.2.tgz", - "integrity": "sha1-y/0LIOPRyswjyTwyju2YfiG6AGc=", - "dev": true, - "requires": { - "babel-generator": "6.11.4", - "babel-traverse": "6.12.0", - "babylon": "6.14.1", - "cheerio": "0.22.0", - "color-logger": "0.0.3", - "escape-html": "1.0.3", - "fs-extra": "1.0.0", - "ice-cap": "0.0.4", - "marked": "0.3.6", - "minimist": "1.2.0", - "taffydb": "2.7.2" - }, - "dependencies": { - "babel-generator": { - "version": "6.11.4", - "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.11.4.tgz", - "integrity": "sha1-FPaTOrsgxiZm0n47e59bncBxKpo=", - "dev": true, - "requires": { - "babel-messages": "6.23.0", - "babel-runtime": "6.23.0", - "babel-types": "6.25.0", - "detect-indent": "3.0.1", - "lodash": "4.17.4", - "source-map": "0.5.6" - } - }, - "babel-traverse": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.12.0.tgz", - "integrity": "sha1-8i9U+g1u639jWFJGurbmN4WPXZQ=", - "dev": true, - "requires": { - "babel-code-frame": "6.22.0", - "babel-messages": "6.23.0", - "babel-runtime": "6.23.0", - "babel-types": "6.25.0", - "babylon": "6.14.1", - "debug": "2.6.8", - "globals": "8.18.0", - "invariant": "2.2.2", - "lodash": "4.17.4" - } - }, - "babylon": { - "version": "6.14.1", - "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.14.1.tgz", - "integrity": "sha1-lWJ1+rcnU62bNDXXr+WPi/CimBU=", - "dev": true - }, - "detect-indent": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-3.0.1.tgz", - "integrity": "sha1-ncXl3bzu+DJXZLlFGwK8bVQIT3U=", - "dev": true, - "requires": { - "get-stdin": "4.0.1", - "minimist": "1.2.0", - "repeating": "1.1.3" - } - }, - "globals": { - "version": "8.18.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-8.18.0.tgz", - "integrity": "sha1-k9SmK9ysOM+vr8R9awNHaMsP/LQ=", - "dev": true - }, - "minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", - "dev": true - }, - "repeating": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/repeating/-/repeating-1.1.3.tgz", - "integrity": "sha1-PUEUIYh3U3SU+X93+Xhfq4EPpKw=", - "dev": true, - "requires": { - "is-finite": "1.0.2" - } - } - } - }, - "esdoc-accessor-plugin": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/esdoc-accessor-plugin/-/esdoc-accessor-plugin-0.0.5.tgz", - "integrity": "sha1-efZjc0a4uenpnGPsZTOTB6orAG0=", - "dev": true - }, - "esdoc-brand-plugin": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/esdoc-brand-plugin/-/esdoc-brand-plugin-0.0.7.tgz", - "integrity": "sha1-DkEA+XgwL0LN79QYeBMBUYsIr2E=", - "dev": true, - "requires": { - "cheerio": "0.22.0" - } - }, - "esdoc-coverage-plugin": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/esdoc-coverage-plugin/-/esdoc-coverage-plugin-0.0.5.tgz", - "integrity": "sha1-SfGd7/C18Gh+mzDJSR5Jsge851A=", - "dev": true - }, - "esdoc-external-ecmascript-plugin": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/esdoc-external-ecmascript-plugin/-/esdoc-external-ecmascript-plugin-0.0.5.tgz", - "integrity": "sha1-dtIeOsBE4qw47vgpViyCOEPGbYc=", - "dev": true, - "requires": { - "fs-extra": "1.0.0" - } - }, - "esdoc-integrate-manual-plugin": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/esdoc-integrate-manual-plugin/-/esdoc-integrate-manual-plugin-0.0.4.tgz", - "integrity": "sha1-NNHXQMCgalh6HBwLm5BdWA/Bhbo=", - "dev": true - }, - "esdoc-integrate-test-plugin": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/esdoc-integrate-test-plugin/-/esdoc-integrate-test-plugin-0.0.4.tgz", - "integrity": "sha1-CsIdZPkOUKifj2wXGYYYKG7HUmk=", - "dev": true - }, - "esdoc-lint-plugin": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/esdoc-lint-plugin/-/esdoc-lint-plugin-0.0.4.tgz", - "integrity": "sha1-M6ZMCz89NVpoV5ZUEVMhz37Ar2g=", - "dev": true - }, - "esdoc-publish-html-plugin": { - "version": "0.0.12", - "resolved": "https://registry.npmjs.org/esdoc-publish-html-plugin/-/esdoc-publish-html-plugin-0.0.12.tgz", - "integrity": "sha1-seLcFMEu1oFXtsd6Ab+7qyTeDeo=", - "dev": true, - "requires": { - "babel-generator": "6.11.4", - "cheerio": "0.22.0", - "escape-html": "1.0.3", - "fs-extra": "1.0.0", - "ice-cap": "0.0.4", - "marked": "0.3.6", - "taffydb": "2.7.2" - }, - "dependencies": { - "babel-generator": { - "version": "6.11.4", - "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.11.4.tgz", - "integrity": "sha1-FPaTOrsgxiZm0n47e59bncBxKpo=", - "dev": true, - "requires": { - "babel-messages": "6.23.0", - "babel-runtime": "6.23.0", - "babel-types": "6.25.0", - "detect-indent": "3.0.1", - "lodash": "4.17.4", - "source-map": "0.5.6" - } - }, - "detect-indent": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-3.0.1.tgz", - "integrity": "sha1-ncXl3bzu+DJXZLlFGwK8bVQIT3U=", - "dev": true, - "requires": { - "get-stdin": "4.0.1", - "minimist": "1.2.0", - "repeating": "1.1.3" - } - }, - "minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", - "dev": true - }, - "repeating": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/repeating/-/repeating-1.1.3.tgz", - "integrity": "sha1-PUEUIYh3U3SU+X93+Xhfq4EPpKw=", - "dev": true, - "requires": { - "is-finite": "1.0.2" - } - } - } - }, - "esdoc-standard-plugin": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/esdoc-standard-plugin/-/esdoc-standard-plugin-0.0.7.tgz", - "integrity": "sha1-qtb+dz8dZa6/q03267/cN9cRdtc=", - "dev": true, - "requires": { - "esdoc-accessor-plugin": "0.0.5", - "esdoc-brand-plugin": "0.0.7", - "esdoc-coverage-plugin": "0.0.5", - "esdoc-external-ecmascript-plugin": "0.0.5", - "esdoc-integrate-manual-plugin": "0.0.4", - "esdoc-integrate-test-plugin": "0.0.4", - "esdoc-lint-plugin": "0.0.4", - "esdoc-publish-html-plugin": "0.0.12", - "esdoc-type-inference-plugin": "0.0.3", - "esdoc-undocumented-identifier-plugin": "0.0.6", - "esdoc-unexported-identifier-plugin": "0.0.5" - } - }, - "esdoc-type-inference-plugin": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/esdoc-type-inference-plugin/-/esdoc-type-inference-plugin-0.0.3.tgz", - "integrity": "sha1-5TsQ3A96VQl/XzMtz5+DX0xy1nk=", - "dev": true - }, - "esdoc-undocumented-identifier-plugin": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/esdoc-undocumented-identifier-plugin/-/esdoc-undocumented-identifier-plugin-0.0.6.tgz", - "integrity": "sha1-2VzRynR5WkNbMnXBOsMnqTR91pM=", - "dev": true - }, - "esdoc-unexported-identifier-plugin": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/esdoc-unexported-identifier-plugin/-/esdoc-unexported-identifier-plugin-0.0.5.tgz", - "integrity": "sha1-5jzTPMetGMCYNDST2RNyVoAVbsQ=", - "dev": true - }, - "esprima": { - "version": "2.7.3", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz", - "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=", - "dev": true, - "optional": true - }, - "estraverse": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-1.9.3.tgz", - "integrity": "sha1-r2fy3JIlgkFZUJJgkaQAXSnJu0Q=", - "dev": true, - "optional": true - }, - "esutils": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", - "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", - "dev": true - }, - "events": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", - "integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=", - "dev": true - }, - "evp_bytestokey": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.0.tgz", - "integrity": "sha1-SXtmrZ/vZc18CKYYCCS6FHa2blM=", - "dev": true, - "requires": { - "create-hash": "1.1.3" - } - }, - "expand-brackets": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", - "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", - "dev": true, - "requires": { - "is-posix-bracket": "0.1.1" - } - }, - "expand-range": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz", - "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=", - "dev": true, - "requires": { - "fill-range": "2.2.3" - } - }, - "extend": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz", - "integrity": "sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ=", - "dev": true, - "optional": true - }, - "extglob": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", - "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", - "dev": true, - "requires": { - "is-extglob": "1.0.0" - } - }, - "extsprintf": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.0.2.tgz", - "integrity": "sha1-4QgOBljjALBilJkMxw4VAiNf1VA=", - "dev": true - }, - "fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", - "dev": true, - "optional": true - }, - "filename-regex": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz", - "integrity": "sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=", - "dev": true - }, - "fill-range": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.3.tgz", - "integrity": "sha1-ULd9/X5Gm8dJJHCWNpn+eoSFpyM=", - "dev": true, - "requires": { - "is-number": "2.1.0", - "isobject": "2.1.0", - "randomatic": "1.1.7", - "repeat-element": "1.1.2", - "repeat-string": "1.6.1" - } - }, - "find-cache-dir": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-0.1.1.tgz", - "integrity": "sha1-yN765XyKUqinhPnjHFfHQumToLk=", - "dev": true, - "requires": { - "commondir": "1.0.1", - "mkdirp": "0.5.1", - "pkg-dir": "1.0.0" - } - }, - "find-up": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", - "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", - "dev": true, - "requires": { - "path-exists": "2.1.0", - "pinkie-promise": "2.0.1" - } - }, - "follow-redirects": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.0.0.tgz", - "integrity": "sha1-jjQpjL0uF28lTv/sdaHHjMhJ/Tc=", - "requires": { - "debug": "2.6.8" - } - }, - "for-in": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", - "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", - "dev": true - }, - "for-own": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz", - "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=", - "dev": true, - "requires": { - "for-in": "1.0.2" - } - }, - "forever-agent": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", - "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", - "dev": true, - "optional": true - }, - "form-data": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.1.4.tgz", - "integrity": "sha1-M8GDrPGTJ27KqYFDpp6Uv+4XUNE=", - "dev": true, - "optional": true, - "requires": { - "asynckit": "0.4.0", - "combined-stream": "1.0.5", - "mime-types": "2.1.15" - } - }, - "fs-extra": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-1.0.0.tgz", - "integrity": "sha1-zTzl9+fLYUWIP8rjGR6Yd/hYeVA=", - "dev": true, - "requires": { - "graceful-fs": "4.1.11", - "jsonfile": "2.4.0", - "klaw": "1.3.1" - } - }, - "fs-readdir-recursive": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.0.0.tgz", - "integrity": "sha1-jNF0XItPiinIyuw5JHaSG6GV9WA=", - "dev": true - }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true - }, - "fsevents": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.1.2.tgz", - "integrity": "sha512-Sn44E5wQW4bTHXvQmvSHwqbuiXtduD6Rrjm2ZtUEGbyrig+nUH3t/QD4M4/ZXViY556TBpRgZkHLDx3JxPwxiw==", - "dev": true, - "optional": true, - "requires": { - "nan": "2.6.2", - "node-pre-gyp": "0.6.36" + "@babel/cli": { + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.5.0.tgz", + "integrity": "sha512-qNH55fWbKrEsCwID+Qc/3JDPnsSGpIIiMDbppnR8Z6PxLAqMQCFNqBctkIkBrMH49Nx+qqVTrHRWUR+ho2k+qQ==", + "dev": true, + "requires": { + "chokidar": "^2.0.4", + "commander": "^2.8.1", + "convert-source-map": "^1.1.0", + "fs-readdir-recursive": "^1.1.0", + "glob": "^7.0.0", + "lodash": "^4.17.11", + "mkdirp": "^0.5.1", + "output-file-sync": "^2.0.0", + "slash": "^2.0.0", + "source-map": "^0.5.0" }, "dependencies": { - "abbrev": { - "version": "1.1.0", - "bundled": true, - "dev": true, - "optional": true - }, - "ajv": { - "version": "4.11.8", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "co": "4.6.0", - "json-stable-stringify": "1.0.1" - } - }, - "ansi-regex": { - "version": "2.1.1", - "bundled": true, - "dev": true - }, - "aproba": { - "version": "1.1.1", - "bundled": true, - "dev": true, - "optional": true - }, - "are-we-there-yet": { - "version": "1.1.4", - "bundled": true, + "anymatch": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", + "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", "dev": true, "optional": true, "requires": { - "delegates": "1.0.0", - "readable-stream": "2.2.9" + "micromatch": "^3.1.4", + "normalize-path": "^2.1.1" + }, + "dependencies": { + "normalize-path": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", + "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", + "dev": true, + "optional": true, + "requires": { + "remove-trailing-separator": "^1.0.1" + } + } } }, - "asn1": { - "version": "0.2.3", - "bundled": true, - "dev": true, - "optional": true - }, - "assert-plus": { - "version": "0.2.0", - "bundled": true, - "dev": true, - "optional": true - }, - "asynckit": { - "version": "0.4.0", - "bundled": true, - "dev": true, - "optional": true - }, - "aws-sign2": { - "version": "0.6.0", - "bundled": true, + "arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", "dev": true, "optional": true }, - "aws4": { - "version": "1.6.0", - "bundled": true, + "array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", "dev": true, "optional": true }, - "balanced-match": { - "version": "0.4.2", - "bundled": true, - "dev": true - }, - "bcrypt-pbkdf": { - "version": "1.0.1", - "bundled": true, + "chokidar": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.6.tgz", + "integrity": "sha512-V2jUo67OKkc6ySiRpJrjlpJKl9kDuG+Xb8VgsGzb+aEouhgS1D0weyPU4lEzdAcsCAvrih2J2BqyXqHWvVLw5g==", "dev": true, "optional": true, "requires": { - "tweetnacl": "0.14.5" - } - }, - "block-stream": { - "version": "0.0.9", - "bundled": true, - "dev": true, - "requires": { - "inherits": "2.0.3" - } - }, - "boom": { - "version": "2.10.1", - "bundled": true, - "dev": true, - "requires": { - "hoek": "2.16.3" + "anymatch": "^2.0.0", + "async-each": "^1.0.1", + "braces": "^2.3.2", + "fsevents": "^1.2.7", + "glob-parent": "^3.1.0", + "inherits": "^2.0.3", + "is-binary-path": "^1.0.0", + "is-glob": "^4.0.0", + "normalize-path": "^3.0.0", + "path-is-absolute": "^1.0.0", + "readdirp": "^2.2.1", + "upath": "^1.1.1" } }, - "brace-expansion": { - "version": "1.1.7", - "bundled": true, + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, + "optional": true, "requires": { - "balanced-match": "0.4.2", - "concat-map": "0.0.1" + "ms": "2.0.0" } }, - "buffer-shims": { - "version": "1.0.0", - "bundled": true, - "dev": true - }, - "caseless": { - "version": "0.12.0", - "bundled": true, - "dev": true, - "optional": true - }, - "co": { - "version": "4.6.0", - "bundled": true, - "dev": true, - "optional": true - }, - "code-point-at": { - "version": "1.1.0", - "bundled": true, - "dev": true - }, - "combined-stream": { - "version": "1.0.5", - "bundled": true, + "expand-brackets": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", + "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", "dev": true, + "optional": true, "requires": { - "delayed-stream": "1.0.0" + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "optional": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "optional": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "optional": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "optional": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "optional": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "optional": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "optional": true, + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + } + }, + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true, + "optional": true + } } }, - "concat-map": { - "version": "0.0.1", - "bundled": true, - "dev": true - }, - "console-control-strings": { - "version": "1.1.0", - "bundled": true, - "dev": true - }, - "core-util-is": { - "version": "1.0.2", - "bundled": true, - "dev": true - }, - "cryptiles": { - "version": "2.0.5", - "bundled": true, + "extglob": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", "dev": true, "optional": true, "requires": { - "boom": "2.10.1" + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "optional": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "optional": true, + "requires": { + "is-extendable": "^0.1.0" + } + } } }, - "dashdash": { - "version": "1.14.1", - "bundled": true, + "fsevents": { + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.9.tgz", + "integrity": "sha512-oeyj2H3EjjonWcFjD5NvZNE9Rqe4UW+nQBU2HNeKw0koVLEFIhtyETyAakeAM3de7Z/SW5kcA+fZUait9EApnw==", "dev": true, "optional": true, "requires": { - "assert-plus": "1.0.0" + "nan": "^2.12.1", + "node-pre-gyp": "^0.12.0" }, "dependencies": { - "assert-plus": { + "abbrev": { + "version": "1.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "ansi-regex": { + "version": "2.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "aproba": { + "version": "1.2.0", + "bundled": true, + "dev": true, + "optional": true + }, + "are-we-there-yet": { + "version": "1.1.5", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "delegates": "^1.0.0", + "readable-stream": "^2.0.6" + } + }, + "balanced-match": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "brace-expansion": { + "version": "1.1.11", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "chownr": { + "version": "1.1.1", + "bundled": true + }, + "code-point-at": { + "version": "1.1.0", + "bundled": true, + "dev": true, + "optional": true + }, + "concat-map": { + "version": "0.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "console-control-strings": { + "version": "1.1.0", + "bundled": true, + "dev": true, + "optional": true + }, + "core-util-is": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "debug": { + "version": "4.1.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "ms": "^2.1.1" + } + }, + "deep-extend": { + "version": "0.6.0", + "bundled": true, + "dev": true, + "optional": true + }, + "delegates": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "detect-libc": { + "version": "1.0.3", + "bundled": true, + "dev": true, + "optional": true + }, + "fs-minipass": { + "version": "1.2.5", + "bundled": true, + "requires": { + "minipass": "^2.2.1" + } + }, + "fs.realpath": { "version": "1.0.0", "bundled": true, "dev": true, "optional": true - } - } - }, - "debug": { - "version": "2.6.8", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "ms": "2.0.0" - } - }, - "deep-extend": { - "version": "0.4.2", - "bundled": true, - "dev": true, - "optional": true - }, - "delayed-stream": { - "version": "1.0.0", - "bundled": true, - "dev": true - }, - "delegates": { - "version": "1.0.0", - "bundled": true, - "dev": true, - "optional": true - }, - "ecc-jsbn": { - "version": "0.1.1", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "jsbn": "0.1.1" - } - }, - "extend": { - "version": "3.0.1", - "bundled": true, - "dev": true, - "optional": true - }, - "extsprintf": { - "version": "1.0.2", - "bundled": true, - "dev": true - }, - "forever-agent": { - "version": "0.6.1", - "bundled": true, - "dev": true, - "optional": true - }, - "form-data": { - "version": "2.1.4", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "asynckit": "0.4.0", - "combined-stream": "1.0.5", - "mime-types": "2.1.15" - } - }, - "fs.realpath": { - "version": "1.0.0", - "bundled": true, - "dev": true - }, - "fstream": { - "version": "1.0.11", - "bundled": true, - "dev": true, - "requires": { - "graceful-fs": "4.1.11", - "inherits": "2.0.3", - "mkdirp": "0.5.1", - "rimraf": "2.6.1" - } - }, - "fstream-ignore": { - "version": "1.0.5", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "fstream": "1.0.11", - "inherits": "2.0.3", - "minimatch": "3.0.4" - } - }, - "gauge": { - "version": "2.7.4", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "aproba": "1.1.1", - "console-control-strings": "1.1.0", - "has-unicode": "2.0.1", - "object-assign": "4.1.1", - "signal-exit": "3.0.2", - "string-width": "1.0.2", - "strip-ansi": "3.0.1", - "wide-align": "1.1.2" + }, + "gauge": { + "version": "2.7.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "aproba": "^1.0.3", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.0", + "object-assign": "^4.1.0", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wide-align": "^1.1.0" + } + }, + "glob": { + "version": "7.1.3", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "has-unicode": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "iconv-lite": { + "version": "0.4.24", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "ignore-walk": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minimatch": "^3.0.4" + } + }, + "inflight": { + "version": "1.0.6", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.3", + "bundled": true, + "dev": true, + "optional": true + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "isarray": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "minimatch": { + "version": "3.0.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "0.0.8", + "bundled": true, + "dev": true, + "optional": true + }, + "minipass": { + "version": "2.3.5", + "bundled": true, + "optional": true, + "requires": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "minizlib": { + "version": "1.2.1", + "bundled": true, + "requires": { + "minipass": "^2.2.1" + } + }, + "mkdirp": { + "version": "0.5.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minimist": "0.0.8" + } + }, + "ms": { + "version": "2.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "needle": { + "version": "2.3.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "debug": "^4.1.0", + "iconv-lite": "^0.4.4", + "sax": "^1.2.4" + } + }, + "node-pre-gyp": { + "version": "0.12.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "detect-libc": "^1.0.2", + "mkdirp": "^0.5.1", + "needle": "^2.2.1", + "nopt": "^4.0.1", + "npm-packlist": "^1.1.6", + "npmlog": "^4.0.2", + "rc": "^1.2.7", + "rimraf": "^2.6.1", + "semver": "^5.3.0", + "tar": "^4" + } + }, + "nopt": { + "version": "4.0.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "abbrev": "1", + "osenv": "^0.1.4" + } + }, + "npm-bundled": { + "version": "1.0.6", + "bundled": true, + "dev": true, + "optional": true + }, + "npm-packlist": { + "version": "1.4.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "ignore-walk": "^3.0.1", + "npm-bundled": "^1.0.1" + } + }, + "npmlog": { + "version": "4.1.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "are-we-there-yet": "~1.1.2", + "console-control-strings": "~1.1.0", + "gauge": "~2.7.3", + "set-blocking": "~2.0.0" + } + }, + "number-is-nan": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "object-assign": { + "version": "4.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "once": { + "version": "1.4.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "wrappy": "1" + } + }, + "os-homedir": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "os-tmpdir": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "osenv": { + "version": "0.1.5", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.0" + } + }, + "path-is-absolute": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "process-nextick-args": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "rc": { + "version": "1.2.8", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "bundled": true, + "dev": true, + "optional": true + } + } + }, + "readable-stream": { + "version": "2.3.6", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "rimraf": { + "version": "2.6.3", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "glob": "^7.1.3" + } + }, + "safe-buffer": { + "version": "5.1.2", + "bundled": true, + "optional": true + }, + "safer-buffer": { + "version": "2.1.2", + "bundled": true, + "dev": true, + "optional": true + }, + "sax": { + "version": "1.2.4", + "bundled": true, + "dev": true, + "optional": true + }, + "semver": { + "version": "5.7.0", + "bundled": true, + "dev": true, + "optional": true + }, + "set-blocking": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "signal-exit": { + "version": "3.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "string-width": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + } + }, + "string_decoder": { + "version": "1.1.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "safe-buffer": "~5.1.0" + } + }, + "strip-ansi": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "strip-json-comments": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "util-deprecate": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "wide-align": { + "version": "1.1.3", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "string-width": "^1.0.2 || 2" + } + }, + "wrappy": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "yallist": { + "version": "3.0.3", + "bundled": true, + "optional": true + } } }, - "getpass": { - "version": "0.1.7", - "bundled": true, + "glob-parent": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", "dev": true, "optional": true, "requires": { - "assert-plus": "1.0.0" + "is-glob": "^3.1.0", + "path-dirname": "^1.0.0" }, "dependencies": { - "assert-plus": { - "version": "1.0.0", - "bundled": true, + "is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", "dev": true, - "optional": true + "optional": true, + "requires": { + "is-extglob": "^2.1.0" + } } } }, - "glob": { - "version": "7.1.2", - "bundled": true, - "dev": true, - "requires": { - "fs.realpath": "1.0.0", - "inflight": "1.0.6", - "inherits": "2.0.3", - "minimatch": "3.0.4", - "once": "1.4.0", - "path-is-absolute": "1.0.1" - } - }, - "graceful-fs": { - "version": "4.1.11", - "bundled": true, - "dev": true - }, - "har-schema": { - "version": "1.0.5", - "bundled": true, - "dev": true, - "optional": true - }, - "har-validator": { - "version": "4.2.1", - "bundled": true, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "dev": true, "optional": true, "requires": { - "ajv": "4.11.8", - "har-schema": "1.0.5" + "kind-of": "^6.0.0" } }, - "has-unicode": { - "version": "2.0.1", - "bundled": true, - "dev": true, - "optional": true - }, - "hawk": { - "version": "3.1.3", - "bundled": true, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "dev": true, "optional": true, "requires": { - "boom": "2.10.1", - "cryptiles": "2.0.5", - "hoek": "2.16.3", - "sntp": "1.0.9" + "kind-of": "^6.0.0" } }, - "hoek": { - "version": "2.16.3", - "bundled": true, - "dev": true - }, - "http-signature": { - "version": "1.1.1", - "bundled": true, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "dev": true, "optional": true, "requires": { - "assert-plus": "0.2.0", - "jsprim": "1.4.0", - "sshpk": "1.13.0" - } - }, - "inflight": { - "version": "1.0.6", - "bundled": true, - "dev": true, - "requires": { - "once": "1.4.0", - "wrappy": "1.0.2" - } - }, - "inherits": { - "version": "2.0.3", - "bundled": true, - "dev": true - }, - "ini": { - "version": "1.3.4", - "bundled": true, - "dev": true, - "optional": true - }, - "is-fullwidth-code-point": { - "version": "1.0.0", - "bundled": true, - "dev": true, - "requires": { - "number-is-nan": "1.0.1" + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" } }, - "is-typedarray": { - "version": "1.0.0", - "bundled": true, - "dev": true, - "optional": true - }, - "isarray": { - "version": "1.0.0", - "bundled": true, - "dev": true - }, - "isstream": { - "version": "0.1.2", - "bundled": true, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", "dev": true, "optional": true }, - "jodid25519": { - "version": "1.0.2", - "bundled": true, + "is-glob": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", + "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", "dev": true, "optional": true, "requires": { - "jsbn": "0.1.1" + "is-extglob": "^2.1.1" } }, - "jsbn": { - "version": "0.1.1", - "bundled": true, - "dev": true, - "optional": true - }, - "json-schema": { - "version": "0.2.3", - "bundled": true, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", "dev": true, "optional": true }, - "json-stable-stringify": { - "version": "1.0.1", - "bundled": true, + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", "dev": true, "optional": true, "requires": { - "jsonify": "0.0.0" - } - }, - "json-stringify-safe": { - "version": "5.0.1", - "bundled": true, + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + } + }, + "nan": { + "version": "2.14.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz", + "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==", "dev": true, "optional": true }, - "jsonify": { - "version": "0.0.0", - "bundled": true, + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", "dev": true, "optional": true }, - "jsprim": { - "version": "1.4.0", - "bundled": true, + "readdirp": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz", + "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", "dev": true, "optional": true, "requires": { - "assert-plus": "1.0.0", - "extsprintf": "1.0.2", - "json-schema": "0.2.3", - "verror": "1.3.6" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "bundled": true, - "dev": true, - "optional": true - } + "graceful-fs": "^4.1.11", + "micromatch": "^3.1.10", + "readable-stream": "^2.0.2" } }, - "mime-db": { - "version": "1.27.0", - "bundled": true, + "slash": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", + "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", "dev": true }, - "mime-types": { - "version": "2.1.15", - "bundled": true, + "upath": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/upath/-/upath-1.1.2.tgz", + "integrity": "sha512-kXpym8nmDmlCBr7nKdIx8P2jNBa+pBpIUFRnKJ4dr8htyYGJFokkr2ZvERRtUN+9SY+JqXouNgUPtv6JQva/2Q==", + "dev": true, + "optional": true + } + } + }, + "@babel/code-frame": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0.tgz", + "integrity": "sha512-OfC2uemaknXr87bdLUkWog7nYuliM9Ij5HUcajsVcMCpQrcLmtxRbVFTIqmcSkSeYRBFBRxs2FiUqFJDLdiebA==", + "dev": true, + "requires": { + "@babel/highlight": "^7.0.0" + } + }, + "@babel/core": { + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.5.0.tgz", + "integrity": "sha512-6Isr4X98pwXqHvtigw71CKgmhL1etZjPs5A67jL/w0TkLM9eqmFR40YrnJvEc1WnMZFsskjsmid8bHZyxKEAnw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "@babel/generator": "^7.5.0", + "@babel/helpers": "^7.5.0", + "@babel/parser": "^7.5.0", + "@babel/template": "^7.4.4", + "@babel/traverse": "^7.5.0", + "@babel/types": "^7.5.0", + "convert-source-map": "^1.1.0", + "debug": "^4.1.0", + "json5": "^2.1.0", + "lodash": "^4.17.11", + "resolve": "^1.3.2", + "semver": "^5.4.1", + "source-map": "^0.5.0" + }, + "dependencies": { + "debug": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", "dev": true, "requires": { - "mime-db": "1.27.0" + "ms": "^2.1.1" } }, - "minimatch": { - "version": "3.0.4", - "bundled": true, + "json5": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.1.0.tgz", + "integrity": "sha512-8Mh9h6xViijj36g7Dxi+Y4S6hNGV96vcJZr/SrlHh1LR/pEn/8j/+qIBbs44YKl69Lrfctp4QD+AdWLTMqEZAQ==", "dev": true, "requires": { - "brace-expansion": "1.1.7" + "minimist": "^1.2.0" } }, "minimist": { - "version": "0.0.8", - "bundled": true, + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", "dev": true }, - "mkdirp": { - "version": "0.5.1", - "bundled": true, - "dev": true, - "requires": { - "minimist": "0.0.8" - } - }, "ms": { - "version": "2.0.0", - "bundled": true, - "dev": true, - "optional": true - }, - "node-pre-gyp": { - "version": "0.6.36", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "mkdirp": "0.5.1", - "nopt": "4.0.1", - "npmlog": "4.1.0", - "rc": "1.2.1", - "request": "2.81.0", - "rimraf": "2.6.1", - "semver": "5.3.0", - "tar": "2.2.1", - "tar-pack": "3.4.0" - } - }, - "nopt": { - "version": "4.0.1", - "bundled": true, + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + } + } + }, + "@babel/generator": { + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.5.0.tgz", + "integrity": "sha512-1TTVrt7J9rcG5PMjvO7VEG3FrEoEJNHxumRq66GemPmzboLWtIjjcJgk8rokuAS7IiRSpgVSu5Vb9lc99iJkOA==", + "dev": true, + "requires": { + "@babel/types": "^7.5.0", + "jsesc": "^2.5.1", + "lodash": "^4.17.11", + "source-map": "^0.5.0", + "trim-right": "^1.0.1" + }, + "dependencies": { + "jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "dev": true + } + } + }, + "@babel/helper-annotate-as-pure": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.0.0.tgz", + "integrity": "sha512-3UYcJUj9kvSLbLbUIfQTqzcy5VX7GRZ/CCDrnOaZorFFM01aXp1+GJwuFGV4NDDoAS+mOUyHcO6UD/RfqOks3Q==", + "dev": true, + "requires": { + "@babel/types": "^7.0.0" + } + }, + "@babel/helper-builder-binary-assignment-operator-visitor": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.1.0.tgz", + "integrity": "sha512-qNSR4jrmJ8M1VMM9tibvyRAHXQs2PmaksQF7c1CGJNipfe3D8p+wgNwgso/P2A2r2mdgBWAXljNWR0QRZAMW8w==", + "dev": true, + "requires": { + "@babel/helper-explode-assignable-expression": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "@babel/helper-call-delegate": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@babel/helper-call-delegate/-/helper-call-delegate-7.4.4.tgz", + "integrity": "sha512-l79boDFJ8S1c5hvQvG+rc+wHw6IuH7YldmRKsYtpbawsxURu/paVy57FZMomGK22/JckepaikOkY0MoAmdyOlQ==", + "dev": true, + "requires": { + "@babel/helper-hoist-variables": "^7.4.4", + "@babel/traverse": "^7.4.4", + "@babel/types": "^7.4.4" + } + }, + "@babel/helper-define-map": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.4.4.tgz", + "integrity": "sha512-IX3Ln8gLhZpSuqHJSnTNBWGDE9kdkTEWl21A/K7PQ00tseBwbqCHTvNLHSBd9M0R5rER4h5Rsvj9vw0R5SieBg==", + "dev": true, + "requires": { + "@babel/helper-function-name": "^7.1.0", + "@babel/types": "^7.4.4", + "lodash": "^4.17.11" + } + }, + "@babel/helper-explode-assignable-expression": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.1.0.tgz", + "integrity": "sha512-NRQpfHrJ1msCHtKjbzs9YcMmJZOg6mQMmGRB+hbamEdG5PNpaSm95275VD92DvJKuyl0s2sFiDmMZ+EnnvufqA==", + "dev": true, + "requires": { + "@babel/traverse": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "@babel/helper-function-name": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.1.0.tgz", + "integrity": "sha512-A95XEoCpb3TO+KZzJ4S/5uW5fNe26DjBGqf1o9ucyLyCmi1dXq/B3c8iaWTfBk3VvetUxl16e8tIrd5teOCfGw==", + "dev": true, + "requires": { + "@babel/helper-get-function-arity": "^7.0.0", + "@babel/template": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "@babel/helper-get-function-arity": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0.tgz", + "integrity": "sha512-r2DbJeg4svYvt3HOS74U4eWKsUAMRH01Z1ds1zx8KNTPtpTL5JAsdFv8BNyOpVqdFhHkkRDIg5B4AsxmkjAlmQ==", + "dev": true, + "requires": { + "@babel/types": "^7.0.0" + } + }, + "@babel/helper-hoist-variables": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.4.4.tgz", + "integrity": "sha512-VYk2/H/BnYbZDDg39hr3t2kKyifAm1W6zHRfhx8jGjIHpQEBv9dry7oQ2f3+J703TLu69nYdxsovl0XYfcnK4w==", + "dev": true, + "requires": { + "@babel/types": "^7.4.4" + } + }, + "@babel/helper-member-expression-to-functions": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.0.0.tgz", + "integrity": "sha512-avo+lm/QmZlv27Zsi0xEor2fKcqWG56D5ae9dzklpIaY7cQMK5N8VSpaNVPPagiqmy7LrEjK1IWdGMOqPu5csg==", + "dev": true, + "requires": { + "@babel/types": "^7.0.0" + } + }, + "@babel/helper-module-imports": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.0.0.tgz", + "integrity": "sha512-aP/hlLq01DWNEiDg4Jn23i+CXxW/owM4WpDLFUbpjxe4NS3BhLVZQ5i7E0ZrxuQ/vwekIeciyamgB1UIYxxM6A==", + "dev": true, + "requires": { + "@babel/types": "^7.0.0" + } + }, + "@babel/helper-module-transforms": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.4.4.tgz", + "integrity": "sha512-3Z1yp8TVQf+B4ynN7WoHPKS8EkdTbgAEy0nU0rs/1Kw4pDgmvYH3rz3aI11KgxKCba2cn7N+tqzV1mY2HMN96w==", + "dev": true, + "requires": { + "@babel/helper-module-imports": "^7.0.0", + "@babel/helper-simple-access": "^7.1.0", + "@babel/helper-split-export-declaration": "^7.4.4", + "@babel/template": "^7.4.4", + "@babel/types": "^7.4.4", + "lodash": "^4.17.11" + } + }, + "@babel/helper-optimise-call-expression": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.0.0.tgz", + "integrity": "sha512-u8nd9NQePYNQV8iPWu/pLLYBqZBa4ZaY1YWRFMuxrid94wKI1QNt67NEZ7GAe5Kc/0LLScbim05xZFWkAdrj9g==", + "dev": true, + "requires": { + "@babel/types": "^7.0.0" + } + }, + "@babel/helper-plugin-utils": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0.tgz", + "integrity": "sha512-CYAOUCARwExnEixLdB6sDm2dIJ/YgEAKDM1MOeMeZu9Ld/bDgVo8aiWrXwcY7OBh+1Ea2uUcVRcxKk0GJvW7QA==", + "dev": true + }, + "@babel/helper-regex": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.4.4.tgz", + "integrity": "sha512-Y5nuB/kESmR3tKjU8Nkn1wMGEx1tjJX076HBMeL3XLQCu6vA/YRzuTW0bbb+qRnXvQGn+d6Rx953yffl8vEy7Q==", + "dev": true, + "requires": { + "lodash": "^4.17.11" + } + }, + "@babel/helper-remap-async-to-generator": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.1.0.tgz", + "integrity": "sha512-3fOK0L+Fdlg8S5al8u/hWE6vhufGSn0bN09xm2LXMy//REAF8kDCrYoOBKYmA8m5Nom+sV9LyLCwrFynA8/slg==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "^7.0.0", + "@babel/helper-wrap-function": "^7.1.0", + "@babel/template": "^7.1.0", + "@babel/traverse": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "@babel/helper-replace-supers": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.4.4.tgz", + "integrity": "sha512-04xGEnd+s01nY1l15EuMS1rfKktNF+1CkKmHoErDppjAAZL+IUBZpzT748x262HF7fibaQPhbvWUl5HeSt1EXg==", + "dev": true, + "requires": { + "@babel/helper-member-expression-to-functions": "^7.0.0", + "@babel/helper-optimise-call-expression": "^7.0.0", + "@babel/traverse": "^7.4.4", + "@babel/types": "^7.4.4" + } + }, + "@babel/helper-simple-access": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.1.0.tgz", + "integrity": "sha512-Vk+78hNjRbsiu49zAPALxTb+JUQCz1aolpd8osOF16BGnLtseD21nbHgLPGUwrXEurZgiCOUmvs3ExTu4F5x6w==", + "dev": true, + "requires": { + "@babel/template": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.4.4.tgz", + "integrity": "sha512-Ro/XkzLf3JFITkW6b+hNxzZ1n5OQ80NvIUdmHspih1XAhtN3vPTuUFT4eQnela+2MaZ5ulH+iyP513KJrxbN7Q==", + "dev": true, + "requires": { + "@babel/types": "^7.4.4" + } + }, + "@babel/helper-wrap-function": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.2.0.tgz", + "integrity": "sha512-o9fP1BZLLSrYlxYEYyl2aS+Flun5gtjTIG8iln+XuEzQTs0PLagAGSXUcqruJwD5fM48jzIEggCKpIfWTcR7pQ==", + "dev": true, + "requires": { + "@babel/helper-function-name": "^7.1.0", + "@babel/template": "^7.1.0", + "@babel/traverse": "^7.1.0", + "@babel/types": "^7.2.0" + } + }, + "@babel/helpers": { + "version": "7.5.1", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.5.1.tgz", + "integrity": "sha512-rVOTDv8sH8kNI72Unenusxw6u+1vEepZgLxeV+jHkhsQlYhzVhzL1EpfoWT7Ub3zpWSv2WV03V853dqsnyoQzA==", + "dev": true, + "requires": { + "@babel/template": "^7.4.4", + "@babel/traverse": "^7.5.0", + "@babel/types": "^7.5.0" + } + }, + "@babel/highlight": { + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.5.0.tgz", + "integrity": "sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChKy1TRQ==", + "dev": true, + "requires": { + "chalk": "^2.0.0", + "esutils": "^2.0.2", + "js-tokens": "^4.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dev": true, - "optional": true, "requires": { - "abbrev": "1.1.0", - "osenv": "0.1.4" + "color-convert": "^1.9.0" } }, - "npmlog": { - "version": "4.1.0", - "bundled": true, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dev": true, - "optional": true, "requires": { - "are-we-there-yet": "1.1.4", - "console-control-strings": "1.1.0", - "gauge": "2.7.4", - "set-blocking": "2.0.0" + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" } }, - "number-is-nan": { - "version": "1.0.1", - "bundled": true, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", "dev": true }, - "oauth-sign": { - "version": "0.8.2", - "bundled": true, - "dev": true, - "optional": true - }, - "object-assign": { - "version": "4.1.1", - "bundled": true, - "dev": true, - "optional": true - }, - "once": { - "version": "1.4.0", - "bundled": true, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, "requires": { - "wrappy": "1.0.2" + "has-flag": "^3.0.0" } - }, - "os-homedir": { - "version": "1.0.2", - "bundled": true, - "dev": true, - "optional": true - }, - "os-tmpdir": { - "version": "1.0.2", - "bundled": true, - "dev": true, - "optional": true - }, - "osenv": { - "version": "0.1.4", - "bundled": true, + } + } + }, + "@babel/parser": { + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.5.0.tgz", + "integrity": "sha512-I5nW8AhGpOXGCCNYGc+p7ExQIBxRFnS2fd/d862bNOKvmoEPjYPcfIjsfdy0ujagYOIYPczKgD9l3FsgTkAzKA==", + "dev": true + }, + "@babel/plugin-proposal-async-generator-functions": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.2.0.tgz", + "integrity": "sha512-+Dfo/SCQqrwx48ptLVGLdE39YtWRuKc/Y9I5Fy0P1DDBB9lsAHpjcEJQt+4IifuSOSTLBKJObJqMvaO1pIE8LQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/helper-remap-async-to-generator": "^7.1.0", + "@babel/plugin-syntax-async-generators": "^7.2.0" + } + }, + "@babel/plugin-proposal-dynamic-import": { + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.5.0.tgz", + "integrity": "sha512-x/iMjggsKTFHYC6g11PL7Qy58IK8H5zqfm9e6hu4z1iH2IRyAp9u9dL80zA6R76yFovETFLKz2VJIC2iIPBuFw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/plugin-syntax-dynamic-import": "^7.2.0" + } + }, + "@babel/plugin-proposal-json-strings": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.2.0.tgz", + "integrity": "sha512-MAFV1CA/YVmYwZG0fBQyXhmj0BHCB5egZHCKWIFVv/XCxAeVGIHfos3SwDck4LvCllENIAg7xMKOG5kH0dzyUg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/plugin-syntax-json-strings": "^7.2.0" + } + }, + "@babel/plugin-proposal-object-rest-spread": { + "version": "7.5.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.5.1.tgz", + "integrity": "sha512-PVGXx5LYHcT7L4MdoE+rM5uq68IKlvU9lljVQ4OXY6aUEnGvezcGbM4VNY57Ug+3R2Zg/nYHlEdiWoIBoRA0mw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/plugin-syntax-object-rest-spread": "^7.2.0" + } + }, + "@babel/plugin-proposal-optional-catch-binding": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.2.0.tgz", + "integrity": "sha512-mgYj3jCcxug6KUcX4OBoOJz3CMrwRfQELPQ5560F70YQUBZB7uac9fqaWamKR1iWUzGiK2t0ygzjTScZnVz75g==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/plugin-syntax-optional-catch-binding": "^7.2.0" + } + }, + "@babel/plugin-proposal-unicode-property-regex": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.4.4.tgz", + "integrity": "sha512-j1NwnOqMG9mFUOH58JTFsA/+ZYzQLUZ/drqWUqxCYLGeu2JFZL8YrNC9hBxKmWtAuOCHPcRpgv7fhap09Fb4kA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/helper-regex": "^7.4.4", + "regexpu-core": "^4.5.4" + }, + "dependencies": { + "regexpu-core": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.5.4.tgz", + "integrity": "sha512-BtizvGtFQKGPUcTy56o3nk1bGRp4SZOTYrDtGNlqCQufptV5IkkLN6Emw+yunAJjzf+C9FQFtvq7IoA3+oMYHQ==", "dev": true, - "optional": true, "requires": { - "os-homedir": "1.0.2", - "os-tmpdir": "1.0.2" + "regenerate": "^1.4.0", + "regenerate-unicode-properties": "^8.0.2", + "regjsgen": "^0.5.0", + "regjsparser": "^0.6.0", + "unicode-match-property-ecmascript": "^1.0.4", + "unicode-match-property-value-ecmascript": "^1.1.0" } }, - "path-is-absolute": { - "version": "1.0.1", - "bundled": true, - "dev": true - }, - "performance-now": { - "version": "0.2.0", - "bundled": true, - "dev": true, - "optional": true - }, - "process-nextick-args": { - "version": "1.0.7", - "bundled": true, + "regjsgen": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.0.tgz", + "integrity": "sha512-RnIrLhrXCX5ow/E5/Mh2O4e/oa1/jW0eaBKTSy3LaCj+M3Bqvm97GWDp2yUtzIs4LEn65zR2yiYGFqb2ApnzDA==", "dev": true }, - "punycode": { - "version": "1.4.1", - "bundled": true, - "dev": true, - "optional": true - }, - "qs": { - "version": "6.4.0", - "bundled": true, - "dev": true, - "optional": true - }, - "rc": { - "version": "1.2.1", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "deep-extend": "0.4.2", - "ini": "1.3.4", - "minimist": "1.2.0", - "strip-json-comments": "2.0.1" - }, - "dependencies": { - "minimist": { - "version": "1.2.0", - "bundled": true, - "dev": true, - "optional": true - } - } - }, - "readable-stream": { - "version": "2.2.9", - "bundled": true, - "dev": true, - "requires": { - "buffer-shims": "1.0.0", - "core-util-is": "1.0.2", - "inherits": "2.0.3", - "isarray": "1.0.0", - "process-nextick-args": "1.0.7", - "string_decoder": "1.0.1", - "util-deprecate": "1.0.2" - } - }, - "request": { - "version": "2.81.0", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "aws-sign2": "0.6.0", - "aws4": "1.6.0", - "caseless": "0.12.0", - "combined-stream": "1.0.5", - "extend": "3.0.1", - "forever-agent": "0.6.1", - "form-data": "2.1.4", - "har-validator": "4.2.1", - "hawk": "3.1.3", - "http-signature": "1.1.1", - "is-typedarray": "1.0.0", - "isstream": "0.1.2", - "json-stringify-safe": "5.0.1", - "mime-types": "2.1.15", - "oauth-sign": "0.8.2", - "performance-now": "0.2.0", - "qs": "6.4.0", - "safe-buffer": "5.0.1", - "stringstream": "0.0.5", - "tough-cookie": "2.3.2", - "tunnel-agent": "0.6.0", - "uuid": "3.0.1" - } - }, - "rimraf": { - "version": "2.6.1", - "bundled": true, + "regjsparser": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.6.0.tgz", + "integrity": "sha512-RQ7YyokLiQBomUJuUG8iGVvkgOLxwyZM8k6d3q5SAXpg4r5TZJZigKFvC6PpD+qQ98bCDC5YelPeA3EucDoNeQ==", "dev": true, "requires": { - "glob": "7.1.2" + "jsesc": "~0.5.0" } - }, - "safe-buffer": { - "version": "5.0.1", - "bundled": true, + } + } + }, + "@babel/plugin-syntax-async-generators": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.2.0.tgz", + "integrity": "sha512-1ZrIRBv2t0GSlcwVoQ6VgSLpLgiN/FVQUzt9znxo7v2Ov4jJrs8RY8tv0wvDmFN3qIdMKWrmMMW6yZ0G19MfGg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0" + } + }, + "@babel/plugin-syntax-dynamic-import": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.2.0.tgz", + "integrity": "sha512-mVxuJ0YroI/h/tbFTPGZR8cv6ai+STMKNBq0f8hFxsxWjl94qqhsb+wXbpNMDPU3cfR1TIsVFzU3nXyZMqyK4w==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0" + } + }, + "@babel/plugin-syntax-json-strings": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.2.0.tgz", + "integrity": "sha512-5UGYnMSLRE1dqqZwug+1LISpA403HzlSfsg6P9VXU6TBjcSHeNlw4DxDx7LgpF+iKZoOG/+uzqoRHTdcUpiZNg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0" + } + }, + "@babel/plugin-syntax-object-rest-spread": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.2.0.tgz", + "integrity": "sha512-t0JKGgqk2We+9may3t0xDdmneaXmyxq0xieYcKHxIsrJO64n1OiMWNUtc5gQK1PA0NpdCRrtZp4z+IUaKugrSA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0" + } + }, + "@babel/plugin-syntax-optional-catch-binding": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.2.0.tgz", + "integrity": "sha512-bDe4xKNhb0LI7IvZHiA13kff0KEfaGX/Hv4lMA9+7TEc63hMNvfKo6ZFpXhKuEp+II/q35Gc4NoMeDZyaUbj9w==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0" + } + }, + "@babel/plugin-transform-arrow-functions": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.2.0.tgz", + "integrity": "sha512-ER77Cax1+8/8jCB9fo4Ud161OZzWN5qawi4GusDuRLcDbDG+bIGYY20zb2dfAFdTRGzrfq2xZPvF0R64EHnimg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0" + } + }, + "@babel/plugin-transform-async-to-generator": { + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.5.0.tgz", + "integrity": "sha512-mqvkzwIGkq0bEF1zLRRiTdjfomZJDV33AH3oQzHVGkI2VzEmXLpKKOBvEVaFZBJdN0XTyH38s9j/Kiqr68dggg==", + "dev": true, + "requires": { + "@babel/helper-module-imports": "^7.0.0", + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/helper-remap-async-to-generator": "^7.1.0" + } + }, + "@babel/plugin-transform-block-scoped-functions": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.2.0.tgz", + "integrity": "sha512-ntQPR6q1/NKuphly49+QiQiTN0O63uOwjdD6dhIjSWBI5xlrbUFh720TIpzBhpnrLfv2tNH/BXvLIab1+BAI0w==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0" + } + }, + "@babel/plugin-transform-block-scoping": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.4.4.tgz", + "integrity": "sha512-jkTUyWZcTrwxu5DD4rWz6rDB5Cjdmgz6z7M7RLXOJyCUkFBawssDGcGh8M/0FTSB87avyJI1HsTwUXp9nKA1PA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0", + "lodash": "^4.17.11" + } + }, + "@babel/plugin-transform-classes": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.4.4.tgz", + "integrity": "sha512-/e44eFLImEGIpL9qPxSRat13I5QNRgBLu2hOQJCF7VLy/otSM/sypV1+XaIw5+502RX/+6YaSAPmldk+nhHDPw==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "^7.0.0", + "@babel/helper-define-map": "^7.4.4", + "@babel/helper-function-name": "^7.1.0", + "@babel/helper-optimise-call-expression": "^7.0.0", + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/helper-replace-supers": "^7.4.4", + "@babel/helper-split-export-declaration": "^7.4.4", + "globals": "^11.1.0" + }, + "dependencies": { + "globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", "dev": true - }, - "semver": { - "version": "5.3.0", - "bundled": true, - "dev": true, - "optional": true - }, - "set-blocking": { - "version": "2.0.0", - "bundled": true, - "dev": true, - "optional": true - }, - "signal-exit": { - "version": "3.0.2", - "bundled": true, - "dev": true, - "optional": true - }, - "sntp": { - "version": "1.0.9", - "bundled": true, + } + } + }, + "@babel/plugin-transform-computed-properties": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.2.0.tgz", + "integrity": "sha512-kP/drqTxY6Xt3NNpKiMomfgkNn4o7+vKxK2DDKcBG9sHj51vHqMBGy8wbDS/J4lMxnqs153/T3+DmCEAkC5cpA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0" + } + }, + "@babel/plugin-transform-destructuring": { + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.5.0.tgz", + "integrity": "sha512-YbYgbd3TryYYLGyC7ZR+Tq8H/+bCmwoaxHfJHupom5ECstzbRLTch6gOQbhEY9Z4hiCNHEURgq06ykFv9JZ/QQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0" + } + }, + "@babel/plugin-transform-dotall-regex": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.4.4.tgz", + "integrity": "sha512-P05YEhRc2h53lZDjRPk/OektxCVevFzZs2Gfjd545Wde3k+yFDbXORgl2e0xpbq8mLcKJ7Idss4fAg0zORN/zg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/helper-regex": "^7.4.4", + "regexpu-core": "^4.5.4" + }, + "dependencies": { + "regexpu-core": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.5.4.tgz", + "integrity": "sha512-BtizvGtFQKGPUcTy56o3nk1bGRp4SZOTYrDtGNlqCQufptV5IkkLN6Emw+yunAJjzf+C9FQFtvq7IoA3+oMYHQ==", "dev": true, - "optional": true, "requires": { - "hoek": "2.16.3" + "regenerate": "^1.4.0", + "regenerate-unicode-properties": "^8.0.2", + "regjsgen": "^0.5.0", + "regjsparser": "^0.6.0", + "unicode-match-property-ecmascript": "^1.0.4", + "unicode-match-property-value-ecmascript": "^1.1.0" } }, - "sshpk": { - "version": "1.13.0", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "asn1": "0.2.3", - "assert-plus": "1.0.0", - "bcrypt-pbkdf": "1.0.1", - "dashdash": "1.14.1", - "ecc-jsbn": "0.1.1", - "getpass": "0.1.7", - "jodid25519": "1.0.2", - "jsbn": "0.1.1", - "tweetnacl": "0.14.5" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "bundled": true, - "dev": true, - "optional": true - } - } + "regjsgen": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.0.tgz", + "integrity": "sha512-RnIrLhrXCX5ow/E5/Mh2O4e/oa1/jW0eaBKTSy3LaCj+M3Bqvm97GWDp2yUtzIs4LEn65zR2yiYGFqb2ApnzDA==", + "dev": true }, - "string_decoder": { - "version": "1.0.1", - "bundled": true, + "regjsparser": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.6.0.tgz", + "integrity": "sha512-RQ7YyokLiQBomUJuUG8iGVvkgOLxwyZM8k6d3q5SAXpg4r5TZJZigKFvC6PpD+qQ98bCDC5YelPeA3EucDoNeQ==", "dev": true, "requires": { - "safe-buffer": "5.0.1" + "jsesc": "~0.5.0" } - }, - "string-width": { - "version": "1.0.2", - "bundled": true, + } + } + }, + "@babel/plugin-transform-duplicate-keys": { + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.5.0.tgz", + "integrity": "sha512-igcziksHizyQPlX9gfSjHkE2wmoCH3evvD2qR5w29/Dk0SMKE/eOI7f1HhBdNhR/zxJDqrgpoDTq5YSLH/XMsQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0" + } + }, + "@babel/plugin-transform-exponentiation-operator": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.2.0.tgz", + "integrity": "sha512-umh4hR6N7mu4Elq9GG8TOu9M0bakvlsREEC+ialrQN6ABS4oDQ69qJv1VtR3uxlKMCQMCvzk7vr17RHKcjx68A==", + "dev": true, + "requires": { + "@babel/helper-builder-binary-assignment-operator-visitor": "^7.1.0", + "@babel/helper-plugin-utils": "^7.0.0" + } + }, + "@babel/plugin-transform-for-of": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.4.4.tgz", + "integrity": "sha512-9T/5Dlr14Z9TIEXLXkt8T1DU7F24cbhwhMNUziN3hB1AXoZcdzPcTiKGRn/6iOymDqtTKWnr/BtRKN9JwbKtdQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0" + } + }, + "@babel/plugin-transform-function-name": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.4.4.tgz", + "integrity": "sha512-iU9pv7U+2jC9ANQkKeNF6DrPy4GBa4NWQtl6dHB4Pb3izX2JOEvDTFarlNsBj/63ZEzNNIAMs3Qw4fNCcSOXJA==", + "dev": true, + "requires": { + "@babel/helper-function-name": "^7.1.0", + "@babel/helper-plugin-utils": "^7.0.0" + } + }, + "@babel/plugin-transform-literals": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.2.0.tgz", + "integrity": "sha512-2ThDhm4lI4oV7fVQ6pNNK+sx+c/GM5/SaML0w/r4ZB7sAneD/piDJtwdKlNckXeyGK7wlwg2E2w33C/Hh+VFCg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0" + } + }, + "@babel/plugin-transform-member-expression-literals": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.2.0.tgz", + "integrity": "sha512-HiU3zKkSU6scTidmnFJ0bMX8hz5ixC93b4MHMiYebmk2lUVNGOboPsqQvx5LzooihijUoLR/v7Nc1rbBtnc7FA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0" + } + }, + "@babel/plugin-transform-modules-amd": { + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.5.0.tgz", + "integrity": "sha512-n20UsQMKnWrltocZZm24cRURxQnWIvsABPJlw/fvoy9c6AgHZzoelAIzajDHAQrDpuKFFPPcFGd7ChsYuIUMpg==", + "dev": true, + "requires": { + "@babel/helper-module-transforms": "^7.1.0", + "@babel/helper-plugin-utils": "^7.0.0", + "babel-plugin-dynamic-import-node": "^2.3.0" + } + }, + "@babel/plugin-transform-modules-commonjs": { + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.5.0.tgz", + "integrity": "sha512-xmHq0B+ytyrWJvQTc5OWAC4ii6Dhr0s22STOoydokG51JjWhyYo5mRPXoi+ZmtHQhZZwuXNN+GG5jy5UZZJxIQ==", + "dev": true, + "requires": { + "@babel/helper-module-transforms": "^7.4.4", + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/helper-simple-access": "^7.1.0", + "babel-plugin-dynamic-import-node": "^2.3.0" + } + }, + "@babel/plugin-transform-modules-systemjs": { + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.5.0.tgz", + "integrity": "sha512-Q2m56tyoQWmuNGxEtUyeEkm6qJYFqs4c+XyXH5RAuYxObRNz9Zgj/1g2GMnjYp2EUyEy7YTrxliGCXzecl/vJg==", + "dev": true, + "requires": { + "@babel/helper-hoist-variables": "^7.4.4", + "@babel/helper-plugin-utils": "^7.0.0", + "babel-plugin-dynamic-import-node": "^2.3.0" + } + }, + "@babel/plugin-transform-modules-umd": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.2.0.tgz", + "integrity": "sha512-BV3bw6MyUH1iIsGhXlOK6sXhmSarZjtJ/vMiD9dNmpY8QXFFQTj+6v92pcfy1iqa8DeAfJFwoxcrS/TUZda6sw==", + "dev": true, + "requires": { + "@babel/helper-module-transforms": "^7.1.0", + "@babel/helper-plugin-utils": "^7.0.0" + } + }, + "@babel/plugin-transform-named-capturing-groups-regex": { + "version": "7.4.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.4.5.tgz", + "integrity": "sha512-z7+2IsWafTBbjNsOxU/Iv5CvTJlr5w4+HGu1HovKYTtgJ362f7kBcQglkfmlspKKZ3bgrbSGvLfNx++ZJgCWsg==", + "dev": true, + "requires": { + "regexp-tree": "^0.1.6" + } + }, + "@babel/plugin-transform-new-target": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.4.4.tgz", + "integrity": "sha512-r1z3T2DNGQwwe2vPGZMBNjioT2scgWzK9BCnDEh+46z8EEwXBq24uRzd65I7pjtugzPSj921aM15RpESgzsSuA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0" + } + }, + "@babel/plugin-transform-object-super": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.2.0.tgz", + "integrity": "sha512-VMyhPYZISFZAqAPVkiYb7dUe2AsVi2/wCT5+wZdsNO31FojQJa9ns40hzZ6U9f50Jlq4w6qwzdBB2uwqZ00ebg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/helper-replace-supers": "^7.1.0" + } + }, + "@babel/plugin-transform-parameters": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.4.4.tgz", + "integrity": "sha512-oMh5DUO1V63nZcu/ZVLQFqiihBGo4OpxJxR1otF50GMeCLiRx5nUdtokd+u9SuVJrvvuIh9OosRFPP4pIPnwmw==", + "dev": true, + "requires": { + "@babel/helper-call-delegate": "^7.4.4", + "@babel/helper-get-function-arity": "^7.0.0", + "@babel/helper-plugin-utils": "^7.0.0" + } + }, + "@babel/plugin-transform-property-literals": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.2.0.tgz", + "integrity": "sha512-9q7Dbk4RhgcLp8ebduOpCbtjh7C0itoLYHXd9ueASKAG/is5PQtMR5VJGka9NKqGhYEGn5ITahd4h9QeBMylWQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0" + } + }, + "@babel/plugin-transform-regenerator": { + "version": "7.4.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.4.5.tgz", + "integrity": "sha512-gBKRh5qAaCWntnd09S8QC7r3auLCqq5DI6O0DlfoyDjslSBVqBibrMdsqO+Uhmx3+BlOmE/Kw1HFxmGbv0N9dA==", + "dev": true, + "requires": { + "regenerator-transform": "^0.14.0" + }, + "dependencies": { + "regenerator-transform": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.0.tgz", + "integrity": "sha512-rtOelq4Cawlbmq9xuMR5gdFmv7ku/sFoB7sRiywx7aq53bc52b4j6zvH7Te1Vt/X2YveDKnCGUbioieU7FEL3w==", "dev": true, "requires": { - "code-point-at": "1.1.0", - "is-fullwidth-code-point": "1.0.0", - "strip-ansi": "3.0.1" + "private": "^0.1.6" } - }, - "stringstream": { - "version": "0.0.5", - "bundled": true, - "dev": true, - "optional": true - }, - "strip-ansi": { - "version": "3.0.1", - "bundled": true, + } + } + }, + "@babel/plugin-transform-reserved-words": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.2.0.tgz", + "integrity": "sha512-fz43fqW8E1tAB3DKF19/vxbpib1fuyCwSPE418ge5ZxILnBhWyhtPgz8eh1RCGGJlwvksHkyxMxh0eenFi+kFw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0" + } + }, + "@babel/plugin-transform-shorthand-properties": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.2.0.tgz", + "integrity": "sha512-QP4eUM83ha9zmYtpbnyjTLAGKQritA5XW/iG9cjtuOI8s1RuL/3V6a3DeSHfKutJQ+ayUfeZJPcnCYEQzaPQqg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0" + } + }, + "@babel/plugin-transform-spread": { + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.2.2.tgz", + "integrity": "sha512-KWfky/58vubwtS0hLqEnrWJjsMGaOeSBn90Ezn5Jeg9Z8KKHmELbP1yGylMlm5N6TPKeY9A2+UaSYLdxahg01w==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0" + } + }, + "@babel/plugin-transform-sticky-regex": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.2.0.tgz", + "integrity": "sha512-KKYCoGaRAf+ckH8gEL3JHUaFVyNHKe3ASNsZ+AlktgHevvxGigoIttrEJb8iKN03Q7Eazlv1s6cx2B2cQ3Jabw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/helper-regex": "^7.0.0" + } + }, + "@babel/plugin-transform-template-literals": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.4.4.tgz", + "integrity": "sha512-mQrEC4TWkhLN0z8ygIvEL9ZEToPhG5K7KDW3pzGqOfIGZ28Jb0POUkeWcoz8HnHvhFy6dwAT1j8OzqN8s804+g==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "^7.0.0", + "@babel/helper-plugin-utils": "^7.0.0" + } + }, + "@babel/plugin-transform-typeof-symbol": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.2.0.tgz", + "integrity": "sha512-2LNhETWYxiYysBtrBTqL8+La0jIoQQnIScUJc74OYvUGRmkskNY4EzLCnjHBzdmb38wqtTaixpo1NctEcvMDZw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0" + } + }, + "@babel/plugin-transform-unicode-regex": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.4.4.tgz", + "integrity": "sha512-il+/XdNw01i93+M9J9u4T7/e/Ue/vWfNZE4IRUQjplu2Mqb/AFTDimkw2tdEdSH50wuQXZAbXSql0UphQke+vA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/helper-regex": "^7.4.4", + "regexpu-core": "^4.5.4" + }, + "dependencies": { + "regexpu-core": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.5.4.tgz", + "integrity": "sha512-BtizvGtFQKGPUcTy56o3nk1bGRp4SZOTYrDtGNlqCQufptV5IkkLN6Emw+yunAJjzf+C9FQFtvq7IoA3+oMYHQ==", "dev": true, "requires": { - "ansi-regex": "2.1.1" + "regenerate": "^1.4.0", + "regenerate-unicode-properties": "^8.0.2", + "regjsgen": "^0.5.0", + "regjsparser": "^0.6.0", + "unicode-match-property-ecmascript": "^1.0.4", + "unicode-match-property-value-ecmascript": "^1.1.0" } }, - "strip-json-comments": { - "version": "2.0.1", - "bundled": true, - "dev": true, - "optional": true + "regjsgen": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.0.tgz", + "integrity": "sha512-RnIrLhrXCX5ow/E5/Mh2O4e/oa1/jW0eaBKTSy3LaCj+M3Bqvm97GWDp2yUtzIs4LEn65zR2yiYGFqb2ApnzDA==", + "dev": true }, - "tar": { - "version": "2.2.1", - "bundled": true, + "regjsparser": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.6.0.tgz", + "integrity": "sha512-RQ7YyokLiQBomUJuUG8iGVvkgOLxwyZM8k6d3q5SAXpg4r5TZJZigKFvC6PpD+qQ98bCDC5YelPeA3EucDoNeQ==", "dev": true, "requires": { - "block-stream": "0.0.9", - "fstream": "1.0.11", - "inherits": "2.0.3" + "jsesc": "~0.5.0" } - }, - "tar-pack": { - "version": "3.4.0", - "bundled": true, + } + } + }, + "@babel/preset-env": { + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.5.0.tgz", + "integrity": "sha512-/5oQ7cYg+6sH9Dt9yx5IiylnLPiUdyMHl5y+K0mKVNiW2wJ7FpU5bg8jKcT8PcCbxdYzfv6OuC63jLEtMuRSmQ==", + "dev": true, + "requires": { + "@babel/helper-module-imports": "^7.0.0", + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/plugin-proposal-async-generator-functions": "^7.2.0", + "@babel/plugin-proposal-dynamic-import": "^7.5.0", + "@babel/plugin-proposal-json-strings": "^7.2.0", + "@babel/plugin-proposal-object-rest-spread": "^7.5.0", + "@babel/plugin-proposal-optional-catch-binding": "^7.2.0", + "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", + "@babel/plugin-syntax-async-generators": "^7.2.0", + "@babel/plugin-syntax-dynamic-import": "^7.2.0", + "@babel/plugin-syntax-json-strings": "^7.2.0", + "@babel/plugin-syntax-object-rest-spread": "^7.2.0", + "@babel/plugin-syntax-optional-catch-binding": "^7.2.0", + "@babel/plugin-transform-arrow-functions": "^7.2.0", + "@babel/plugin-transform-async-to-generator": "^7.5.0", + "@babel/plugin-transform-block-scoped-functions": "^7.2.0", + "@babel/plugin-transform-block-scoping": "^7.4.4", + "@babel/plugin-transform-classes": "^7.4.4", + "@babel/plugin-transform-computed-properties": "^7.2.0", + "@babel/plugin-transform-destructuring": "^7.5.0", + "@babel/plugin-transform-dotall-regex": "^7.4.4", + "@babel/plugin-transform-duplicate-keys": "^7.5.0", + "@babel/plugin-transform-exponentiation-operator": "^7.2.0", + "@babel/plugin-transform-for-of": "^7.4.4", + "@babel/plugin-transform-function-name": "^7.4.4", + "@babel/plugin-transform-literals": "^7.2.0", + "@babel/plugin-transform-member-expression-literals": "^7.2.0", + "@babel/plugin-transform-modules-amd": "^7.5.0", + "@babel/plugin-transform-modules-commonjs": "^7.5.0", + "@babel/plugin-transform-modules-systemjs": "^7.5.0", + "@babel/plugin-transform-modules-umd": "^7.2.0", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.4.5", + "@babel/plugin-transform-new-target": "^7.4.4", + "@babel/plugin-transform-object-super": "^7.2.0", + "@babel/plugin-transform-parameters": "^7.4.4", + "@babel/plugin-transform-property-literals": "^7.2.0", + "@babel/plugin-transform-regenerator": "^7.4.5", + "@babel/plugin-transform-reserved-words": "^7.2.0", + "@babel/plugin-transform-shorthand-properties": "^7.2.0", + "@babel/plugin-transform-spread": "^7.2.0", + "@babel/plugin-transform-sticky-regex": "^7.2.0", + "@babel/plugin-transform-template-literals": "^7.4.4", + "@babel/plugin-transform-typeof-symbol": "^7.2.0", + "@babel/plugin-transform-unicode-regex": "^7.4.4", + "@babel/types": "^7.5.0", + "browserslist": "^4.6.0", + "core-js-compat": "^3.1.1", + "invariant": "^2.2.2", + "js-levenshtein": "^1.1.3", + "semver": "^5.5.0" + }, + "dependencies": { + "browserslist": { + "version": "4.6.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.6.3.tgz", + "integrity": "sha512-CNBqTCq22RKM8wKJNowcqihHJ4SkI8CGeK7KOR9tPboXUuS5Zk5lQgzzTbs4oxD8x+6HUshZUa2OyNI9lR93bQ==", "dev": true, - "optional": true, "requires": { - "debug": "2.6.8", - "fstream": "1.0.11", - "fstream-ignore": "1.0.5", - "once": "1.4.0", - "readable-stream": "2.2.9", - "rimraf": "2.6.1", - "tar": "2.2.1", - "uid-number": "0.0.6" + "caniuse-lite": "^1.0.30000975", + "electron-to-chromium": "^1.3.164", + "node-releases": "^1.1.23" } }, - "tough-cookie": { - "version": "2.3.2", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "punycode": "1.4.1" - } + "caniuse-lite": { + "version": "1.0.30000980", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000980.tgz", + "integrity": "sha512-as0PRtWHaX3gl2gpC7qA7bX88lr+qLacMMXm1QKLLQtBCwT/Ljbgrv5EXKMNBoeEX6yFZ4vIsBb4Nh+PEwW2Rw==", + "dev": true }, - "tunnel-agent": { - "version": "0.6.0", - "bundled": true, + "electron-to-chromium": { + "version": "1.3.188", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.188.tgz", + "integrity": "sha512-tEQcughYIMj8WDMc59EGEtNxdGgwal/oLLTDw+NEqJRJwGflQvH3aiyiexrWeZOETP4/ko78PVr6gwNhdozvuQ==", + "dev": true + } + } + }, + "@babel/template": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.4.4.tgz", + "integrity": "sha512-CiGzLN9KgAvgZsnivND7rkA+AeJ9JB0ciPOD4U59GKbQP2iQl+olF1l76kJOupqidozfZ32ghwBEJDhnk9MEcw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "@babel/parser": "^7.4.4", + "@babel/types": "^7.4.4" + } + }, + "@babel/traverse": { + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.5.0.tgz", + "integrity": "sha512-SnA9aLbyOCcnnbQEGwdfBggnc142h/rbqqsXcaATj2hZcegCl903pUD/lfpsNBlBSuWow/YDfRyJuWi2EPR5cg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "@babel/generator": "^7.5.0", + "@babel/helper-function-name": "^7.1.0", + "@babel/helper-split-export-declaration": "^7.4.4", + "@babel/parser": "^7.5.0", + "@babel/types": "^7.5.0", + "debug": "^4.1.0", + "globals": "^11.1.0", + "lodash": "^4.17.11" + }, + "dependencies": { + "debug": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", "dev": true, - "optional": true, "requires": { - "safe-buffer": "5.0.1" + "ms": "^2.1.1" } }, - "tweetnacl": { - "version": "0.14.5", - "bundled": true, - "dev": true, - "optional": true - }, - "uid-number": { - "version": "0.0.6", - "bundled": true, - "dev": true, - "optional": true - }, - "util-deprecate": { - "version": "1.0.2", - "bundled": true, + "globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", "dev": true }, - "uuid": { - "version": "3.0.1", - "bundled": true, - "dev": true, - "optional": true - }, - "verror": { - "version": "1.3.6", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "extsprintf": "1.0.2" - } + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + } + } + }, + "@babel/types": { + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.5.0.tgz", + "integrity": "sha512-UFpDVqRABKsW01bvw7/wSUe56uy6RXM5+VJibVVAybDGxEW25jdwiFJEf7ASvSaC7sN7rbE/l3cLp2izav+CtQ==", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "lodash": "^4.17.11", + "to-fast-properties": "^2.0.0" + }, + "dependencies": { + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true + } + } + }, + "@types/node": { + "version": "10.3.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.3.3.tgz", + "integrity": "sha512-/gwCgiI2e9RzzZTKbl+am3vgNqOt7a9fJ/uxv4SqYKxenoEDNVU3KZEadlpusWhQI0A0dOrZ0T68JYKVjzmgdQ==", + "dev": true + }, + "abab": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/abab/-/abab-1.0.4.tgz", + "integrity": "sha1-X6rZwsB/YN12dw9xzwJbYqY8/U4=", + "dev": true, + "optional": true + }, + "acorn": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-2.7.0.tgz", + "integrity": "sha1-q259nYhqrKiwhbwzEreaGYQz8Oc=", + "dev": true, + "optional": true + }, + "acorn-dynamic-import": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-2.0.2.tgz", + "integrity": "sha1-x1K9IQvvZ5UBtsbLf8hPj0cVjMQ=", + "dev": true, + "requires": { + "acorn": "^4.0.3" + }, + "dependencies": { + "acorn": { + "version": "4.0.13", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz", + "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=", + "dev": true + } + } + }, + "acorn-globals": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-1.0.9.tgz", + "integrity": "sha1-VbtemGkVB7dFedBRNBMhfDgMVM8=", + "dev": true, + "optional": true, + "requires": { + "acorn": "^2.1.0" + } + }, + "ajv": { + "version": "5.5.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", + "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=", + "dev": true, + "optional": true, + "requires": { + "co": "^4.6.0", + "fast-deep-equal": "^1.0.0", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.3.0" + } + }, + "ajv-keywords": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-1.5.1.tgz", + "integrity": "sha1-MU3QpLM2j609/NxU7eYXG4htrzw=", + "dev": true + }, + "align-text": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz", + "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=", + "dev": true, + "requires": { + "kind-of": "^3.0.2", + "longest": "^1.0.1", + "repeat-string": "^1.5.2" + } + }, + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" + }, + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" + }, + "arr-flatten": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", + "dev": true + }, + "arr-union": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", + "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", + "dev": true + }, + "asn1": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz", + "integrity": "sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y=", + "dev": true, + "optional": true + }, + "asn1.js": { + "version": "4.10.1", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.10.1.tgz", + "integrity": "sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw==", + "dev": true, + "requires": { + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, + "assert": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/assert/-/assert-1.4.1.tgz", + "integrity": "sha1-mZEtWRg2tab1s0XA8H7vwI/GXZE=", + "dev": true, + "requires": { + "util": "0.10.3" + }, + "dependencies": { + "inherits": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", + "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=", + "dev": true }, - "wide-align": { - "version": "1.1.2", - "bundled": true, + "util": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", + "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", "dev": true, - "optional": true, "requires": { - "string-width": "1.0.2" + "inherits": "2.0.1" } - }, - "wrappy": { - "version": "1.0.2", - "bundled": true, - "dev": true } } }, - "get-caller-file": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.2.tgz", - "integrity": "sha1-9wLmMSfn4jHBYKgMFVSstw1QR+U=", + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true, + "optional": true + }, + "assign-symbols": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", + "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", + "dev": true + }, + "async": { + "version": "2.6.4", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.4.tgz", + "integrity": "sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==", + "dev": true, + "requires": { + "lodash": "^4.17.14" + } + }, + "async-each": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.1.tgz", + "integrity": "sha1-GdOGodntxufByF04iu28xW0zYC0=", "dev": true }, - "get-stdin": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", - "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=", + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "dev": true, + "optional": true + }, + "atob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.1.tgz", + "integrity": "sha1-ri1acpR38onWDdf5amMUoi3Wwio=", "dev": true }, - "getpass": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", - "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", "dev": true, - "optional": true, + "optional": true + }, + "aws4": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.7.0.tgz", + "integrity": "sha512-32NDda82rhwD9/JBCCkB+MRYDp0oSvlo2IL6rQWA10PQi7tDUM3eqMSltXmY+Oyl/7N3P3qNtAlv7X0d9bI28w==", + "dev": true, + "optional": true + }, + "axios": { + "version": "0.21.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.2.tgz", + "integrity": "sha512-87otirqUw3e8CzHTMO+/9kh/FSgXt/eVDvipijwDtEuwbkySWZ9SBm6VEubmJ/kLKEoLQV/POhxXFb66bfekfg==", + "requires": { + "follow-redirects": "^1.14.0" + } + }, + "babel-code-frame": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", + "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", "requires": { - "assert-plus": "1.0.0" + "chalk": "^1.1.3", + "esutils": "^2.0.2", + "js-tokens": "^3.0.2" + } + }, + "babel-generator": { + "version": "6.26.1", + "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz", + "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==", + "dev": true, + "requires": { + "babel-messages": "^6.23.0", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "detect-indent": "^4.0.0", + "jsesc": "^1.3.0", + "lodash": "^4.17.4", + "source-map": "^0.5.7", + "trim-right": "^1.0.1" }, "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", - "dev": true, - "optional": true + "jsesc": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", + "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=", + "dev": true } } }, - "glob": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", - "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", - "dev": true, + "babel-helper-builder-binary-assignment-operator-visitor": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz", + "integrity": "sha1-zORReto1b0IgvK6KAsKzRvmlZmQ=", + "requires": { + "babel-helper-explode-assignable-expression": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-helper-call-delegate": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz", + "integrity": "sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340=", + "requires": { + "babel-helper-hoist-variables": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "babel-helper-define-map": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.26.0.tgz", + "integrity": "sha1-pfVtq0GiX5fstJjH66ypgZ+Vvl8=", + "requires": { + "babel-helper-function-name": "^6.24.1", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "lodash": "^4.17.4" + } + }, + "babel-helper-explode-assignable-expression": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz", + "integrity": "sha1-8luCz33BBDPFX3BZLVdGQArCLKo=", + "requires": { + "babel-runtime": "^6.22.0", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "babel-helper-function-name": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz", + "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=", + "requires": { + "babel-helper-get-function-arity": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "babel-helper-get-function-arity": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz", + "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=", + "requires": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-helper-hoist-variables": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz", + "integrity": "sha1-HssnaJydJVE+rbyZFKc/VAi+enY=", + "requires": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-helper-optimise-call-expression": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz", + "integrity": "sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc=", + "requires": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-helper-regex": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-helper-regex/-/babel-helper-regex-6.26.0.tgz", + "integrity": "sha1-MlxZ+QL4LyS3T6zu0DY5VPZJXnI=", + "requires": { + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "lodash": "^4.17.4" + } + }, + "babel-helper-remap-async-to-generator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz", + "integrity": "sha1-XsWBgnrXI/7N04HxySg5BnbkVRs=", + "requires": { + "babel-helper-function-name": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "babel-helper-replace-supers": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz", + "integrity": "sha1-v22/5Dk40XNpohPKiov3S2qQqxo=", + "requires": { + "babel-helper-optimise-call-expression": "^6.24.1", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "babel-messages": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", + "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-check-es2015-constants": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz", + "integrity": "sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=", + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-dynamic-import-node": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.0.tgz", + "integrity": "sha512-o6qFkpeQEBxcqt0XYlWzAVxNCSCZdUgcR8IRlhD/8DylxjjO4foPcvTW0GGKa/cVt3rvxZ7o5ippJ+/0nvLhlQ==", + "dev": true, + "requires": { + "object.assign": "^4.1.0" + } + }, + "babel-plugin-syntax-async-functions": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz", + "integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU=" + }, + "babel-plugin-syntax-exponentiation-operator": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz", + "integrity": "sha1-nufoM3KQ2pUoggGmpX9BcDF4MN4=" + }, + "babel-plugin-syntax-trailing-function-commas": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz", + "integrity": "sha1-ugNgk3+NBuQBgKQ/4NVhb/9TLPM=" + }, + "babel-plugin-transform-async-to-generator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz", + "integrity": "sha1-ZTbjeK/2yx1VF6wOQOs+n8jQh2E=", + "requires": { + "babel-helper-remap-async-to-generator": "^6.24.1", + "babel-plugin-syntax-async-functions": "^6.8.0", + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-arrow-functions": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz", + "integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=", + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-block-scoped-functions": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz", + "integrity": "sha1-u8UbSflk1wy42OC5ToICRs46YUE=", + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-block-scoping": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz", + "integrity": "sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8=", + "requires": { + "babel-runtime": "^6.26.0", + "babel-template": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "lodash": "^4.17.4" + } + }, + "babel-plugin-transform-es2015-classes": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz", + "integrity": "sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=", + "requires": { + "babel-helper-define-map": "^6.24.1", + "babel-helper-function-name": "^6.24.1", + "babel-helper-optimise-call-expression": "^6.24.1", + "babel-helper-replace-supers": "^6.24.1", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-computed-properties": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz", + "integrity": "sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=", + "requires": { + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-destructuring": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz", + "integrity": "sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=", + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-duplicate-keys": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz", + "integrity": "sha1-c+s9MQypaePvnskcU3QabxV2Qj4=", + "requires": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-for-of": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz", + "integrity": "sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=", + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-function-name": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz", + "integrity": "sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=", + "requires": { + "babel-helper-function-name": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-literals": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz", + "integrity": "sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=", + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-modules-amd": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz", + "integrity": "sha1-Oz5UAXI5hC1tGcMBHEvS8AoA0VQ=", + "requires": { + "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-modules-commonjs": { + "version": "6.26.2", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.2.tgz", + "integrity": "sha512-CV9ROOHEdrjcwhIaJNBGMBCodN+1cfkwtM1SbUHmvyy35KGT7fohbpOxkE2uLz1o6odKK2Ck/tz47z+VqQfi9Q==", + "requires": { + "babel-plugin-transform-strict-mode": "^6.24.1", + "babel-runtime": "^6.26.0", + "babel-template": "^6.26.0", + "babel-types": "^6.26.0" + } + }, + "babel-plugin-transform-es2015-modules-systemjs": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz", + "integrity": "sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=", + "requires": { + "babel-helper-hoist-variables": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-modules-umd": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz", + "integrity": "sha1-rJl+YoXNGO1hdq22B9YCNErThGg=", + "requires": { + "babel-plugin-transform-es2015-modules-amd": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-object-super": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz", + "integrity": "sha1-JM72muIcuDp/hgPa0CH1cusnj40=", + "requires": { + "babel-helper-replace-supers": "^6.24.1", + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-parameters": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz", + "integrity": "sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=", "requires": { - "fs.realpath": "1.0.0", - "inflight": "1.0.6", - "inherits": "2.0.3", - "minimatch": "3.0.4", - "once": "1.4.0", - "path-is-absolute": "1.0.1" + "babel-helper-call-delegate": "^6.24.1", + "babel-helper-get-function-arity": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" } }, - "glob-base": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz", - "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=", - "dev": true, + "babel-plugin-transform-es2015-shorthand-properties": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz", + "integrity": "sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=", "requires": { - "glob-parent": "2.0.0", - "is-glob": "2.0.1" + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" } }, - "glob-parent": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", - "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", - "dev": true, + "babel-plugin-transform-es2015-spread": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz", + "integrity": "sha1-1taKmfia7cRTbIGlQujdnxdG+NE=", "requires": { - "is-glob": "2.0.1" + "babel-runtime": "^6.22.0" } }, - "globals": { - "version": "9.18.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz", - "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==", - "dev": true - }, - "graceful-fs": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", - "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=", - "dev": true - }, - "graceful-readlink": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz", - "integrity": "sha1-TK+tdrxi8C+gObL5Tpo906ORpyU=", - "dev": true - }, - "growl": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/growl/-/growl-1.9.2.tgz", - "integrity": "sha1-Dqd0NxXbjY3ixe3hd14bRayFwC8=", - "dev": true - }, - "har-schema": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-1.0.5.tgz", - "integrity": "sha1-0mMTX0MwfALGAq/I/pWXDAFRNp4=", - "dev": true, - "optional": true - }, - "har-validator": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-4.2.1.tgz", - "integrity": "sha1-M0gdDxu/9gDdID11gSpqX7oALio=", - "dev": true, - "optional": true, + "babel-plugin-transform-es2015-sticky-regex": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz", + "integrity": "sha1-AMHNsaynERLN8M9hJsLta0V8zbw=", "requires": { - "ajv": "4.11.8", - "har-schema": "1.0.5" + "babel-helper-regex": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" } }, - "has-ansi": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", - "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", - "dev": true, + "babel-plugin-transform-es2015-template-literals": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz", + "integrity": "sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=", "requires": { - "ansi-regex": "2.1.1" + "babel-runtime": "^6.22.0" } }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", - "dev": true + "babel-plugin-transform-es2015-typeof-symbol": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz", + "integrity": "sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=", + "requires": { + "babel-runtime": "^6.22.0" + } }, - "hash-base": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-2.0.2.tgz", - "integrity": "sha1-ZuodhW206KVHDK32/OI65SRO8uE=", - "dev": true, + "babel-plugin-transform-es2015-unicode-regex": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz", + "integrity": "sha1-04sS9C6nMj9yk4fxinxa4frrNek=", "requires": { - "inherits": "2.0.3" + "babel-helper-regex": "^6.24.1", + "babel-runtime": "^6.22.0", + "regexpu-core": "^2.0.0" } }, - "hash.js": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.3.tgz", - "integrity": "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==", - "dev": true, + "babel-plugin-transform-exponentiation-operator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz", + "integrity": "sha1-KrDJx/MJj6SJB3cruBP+QejeOg4=", "requires": { - "inherits": "2.0.3", - "minimalistic-assert": "1.0.0" + "babel-helper-builder-binary-assignment-operator-visitor": "^6.24.1", + "babel-plugin-syntax-exponentiation-operator": "^6.8.0", + "babel-runtime": "^6.22.0" } }, - "hawk": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz", - "integrity": "sha1-B4REvXwWQLD+VA0sm3PVlnjo4cQ=", - "dev": true, - "optional": true, + "babel-plugin-transform-regenerator": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz", + "integrity": "sha1-4HA2lvveJ/Cj78rPi03KL3s6jy8=", "requires": { - "boom": "2.10.1", - "cryptiles": "2.0.5", - "hoek": "2.16.3", - "sntp": "1.0.9" + "regenerator-transform": "^0.10.0" } }, - "hmac-drbg": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", - "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", - "dev": true, + "babel-plugin-transform-strict-mode": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz", + "integrity": "sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g=", "requires": { - "hash.js": "1.1.3", - "minimalistic-assert": "1.0.0", - "minimalistic-crypto-utils": "1.0.1" + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" } }, - "hoek": { - "version": "2.16.3", - "resolved": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz", - "integrity": "sha1-ILt0A9POo5jpHcRxCo/xuCdKJe0=", - "dev": true + "babel-preset-env": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/babel-preset-env/-/babel-preset-env-1.7.0.tgz", + "integrity": "sha512-9OR2afuKDneX2/q2EurSftUYM0xGu4O2D9adAhVfADDhrYDaxXV0rBbevVYoY9n6nyX1PmQW/0jtpJvUNr9CHg==", + "requires": { + "babel-plugin-check-es2015-constants": "^6.22.0", + "babel-plugin-syntax-trailing-function-commas": "^6.22.0", + "babel-plugin-transform-async-to-generator": "^6.22.0", + "babel-plugin-transform-es2015-arrow-functions": "^6.22.0", + "babel-plugin-transform-es2015-block-scoped-functions": "^6.22.0", + "babel-plugin-transform-es2015-block-scoping": "^6.23.0", + "babel-plugin-transform-es2015-classes": "^6.23.0", + "babel-plugin-transform-es2015-computed-properties": "^6.22.0", + "babel-plugin-transform-es2015-destructuring": "^6.23.0", + "babel-plugin-transform-es2015-duplicate-keys": "^6.22.0", + "babel-plugin-transform-es2015-for-of": "^6.23.0", + "babel-plugin-transform-es2015-function-name": "^6.22.0", + "babel-plugin-transform-es2015-literals": "^6.22.0", + "babel-plugin-transform-es2015-modules-amd": "^6.22.0", + "babel-plugin-transform-es2015-modules-commonjs": "^6.23.0", + "babel-plugin-transform-es2015-modules-systemjs": "^6.23.0", + "babel-plugin-transform-es2015-modules-umd": "^6.23.0", + "babel-plugin-transform-es2015-object-super": "^6.22.0", + "babel-plugin-transform-es2015-parameters": "^6.23.0", + "babel-plugin-transform-es2015-shorthand-properties": "^6.22.0", + "babel-plugin-transform-es2015-spread": "^6.22.0", + "babel-plugin-transform-es2015-sticky-regex": "^6.22.0", + "babel-plugin-transform-es2015-template-literals": "^6.22.0", + "babel-plugin-transform-es2015-typeof-symbol": "^6.23.0", + "babel-plugin-transform-es2015-unicode-regex": "^6.22.0", + "babel-plugin-transform-exponentiation-operator": "^6.22.0", + "babel-plugin-transform-regenerator": "^6.22.0", + "browserslist": "^3.2.6", + "invariant": "^2.2.2", + "semver": "^5.3.0" + } }, - "home-or-tmp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz", - "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=", - "dev": true, + "babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", "requires": { - "os-homedir": "1.0.2", - "os-tmpdir": "1.0.2" + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" } }, - "hosted-git-info": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.5.0.tgz", - "integrity": "sha512-pNgbURSuab90KbTqvRPsseaTxOJCZBD0a7t+haSN33piP9cCM4l0CqdzAif2hUqm716UovKB2ROmiabGAKVXyg==", - "dev": true + "babel-template": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz", + "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=", + "requires": { + "babel-runtime": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "lodash": "^4.17.4" + } }, - "htmlparser2": { - "version": "3.9.2", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.9.2.tgz", - "integrity": "sha1-G9+HrMoPP55T+k/M6w9LTLsAszg=", - "dev": true, + "babel-traverse": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", + "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", + "requires": { + "babel-code-frame": "^6.26.0", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "debug": "^2.6.8", + "globals": "^9.18.0", + "invariant": "^2.2.2", + "lodash": "^4.17.4" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + } + } + } + }, + "babel-types": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", + "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", "requires": { - "domelementtype": "1.3.0", - "domhandler": "2.4.1", - "domutils": "1.5.1", - "entities": "1.1.1", - "inherits": "2.0.3", - "readable-stream": "2.3.3" + "babel-runtime": "^6.26.0", + "esutils": "^2.0.2", + "lodash": "^4.17.4", + "to-fast-properties": "^1.0.3" } }, - "http-basic": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/http-basic/-/http-basic-2.5.1.tgz", - "integrity": "sha1-jORHvbW2xXf4pj4/p4BW7Eu02/s=", + "babylon": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", + "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==" + }, + "balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "dev": true + }, + "base": { + "version": "0.11.2", + "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", + "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", "dev": true, "requires": { - "caseless": "0.11.0", - "concat-stream": "1.6.0", - "http-response-object": "1.1.0" + "cache-base": "^1.0.1", + "class-utils": "^0.3.5", + "component-emitter": "^1.2.1", + "define-property": "^1.0.0", + "isobject": "^3.0.1", + "mixin-deep": "^1.2.0", + "pascalcase": "^0.1.1" }, "dependencies": { - "caseless": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.11.0.tgz", - "integrity": "sha1-cVuW6phBWTzDMGeSP17GDr2k99c=", + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", "dev": true } } }, - "http-response-object": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/http-response-object/-/http-response-object-1.1.0.tgz", - "integrity": "sha1-p8TnWq6C87tJBOT0P2FWc7TVGMM=", + "base64-js": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.0.tgz", + "integrity": "sha512-ccav/yGvoa80BQDljCxsmmQ3Xvx60/UpBIij5QN21W3wBi/hhIC9OoO+KLpu9IJTS9j4DRVJ3aDDF9cMSoa2lw==", "dev": true }, - "http-signature": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz", - "integrity": "sha1-33LiZwZs0Kxn+3at+OE0qPvPkb8=", + "bcrypt-pbkdf": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz", + "integrity": "sha1-Y7xdy2EzG5K8Bf1SiVPDNGKgb40=", "dev": true, "optional": true, "requires": { - "assert-plus": "0.2.0", - "jsprim": "1.4.0", - "sshpk": "1.13.1" + "tweetnacl": "^0.14.3" } }, - "https-browserify": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-0.0.1.tgz", - "integrity": "sha1-P5E2XKvmC3ftDruiS0VOPgnZWoI=", + "big.js": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-3.2.0.tgz", + "integrity": "sha512-+hN/Zh2D08Mx65pZ/4g5bsmNiZUuChDiQfTUQ7qJr4/kuopCr88xZsAXv6mBoZEsUI4OuGHlX59qE94K2mMW8Q==", "dev": true }, - "ice-cap": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/ice-cap/-/ice-cap-0.0.4.tgz", - "integrity": "sha1-im0xq0ysjUtW3k+pRt8zUlYbbhg=", + "binary-extensions": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.11.0.tgz", + "integrity": "sha1-RqoXUftqL5PuXmibsQh9SxTGwgU=", + "dev": true + }, + "bn.js": { + "version": "4.11.8", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz", + "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==", + "dev": true + }, + "boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=", + "dev": true + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, "requires": { - "cheerio": "0.20.0", - "color-logger": "0.0.3" + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "optional": true, + "requires": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" }, "dependencies": { - "cheerio": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-0.20.0.tgz", - "integrity": "sha1-XHEPK6uVZTJyhCugHG6mGzVF7DU=", + "array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", "dev": true, - "requires": { - "css-select": "1.2.0", - "dom-serializer": "0.1.0", - "entities": "1.1.1", - "htmlparser2": "3.8.3", - "jsdom": "7.2.2", - "lodash": "4.17.4" - } + "optional": true }, - "domhandler": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.3.0.tgz", - "integrity": "sha1-LeWaCCLVAn+r/28DLCsloqir5zg=", + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "dev": true, + "optional": true, "requires": { - "domelementtype": "1.3.0" + "is-extendable": "^0.1.0" } }, - "htmlparser2": { - "version": "3.8.3", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.8.3.tgz", - "integrity": "sha1-mWwosZFRaovoZQGn15dX5ccMEGg=", + "fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", "dev": true, + "optional": true, "requires": { - "domelementtype": "1.3.0", - "domhandler": "2.3.0", - "domutils": "1.5.1", - "entities": "1.0.0", - "readable-stream": "1.1.14" - }, - "dependencies": { - "entities": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-1.0.0.tgz", - "integrity": "sha1-sph6o4ITR/zeZCsk/fyeT7cSvyY=", - "dev": true - } + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" } }, - "isarray": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", - "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", - "dev": true - }, - "readable-stream": { - "version": "1.1.14", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", - "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", "dev": true, - "requires": { - "core-util-is": "1.0.2", - "inherits": "2.0.3", - "isarray": "0.0.1", - "string_decoder": "0.10.31" - } - }, - "string_decoder": { - "version": "0.10.31", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", - "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", - "dev": true + "optional": true, + "requires": { + "kind-of": "^3.0.2" + } + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, + "optional": true } } }, - "ieee754": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.8.tgz", - "integrity": "sha1-vjPUCsEO8ZJnAfbwii2G+/0a0+Q=", + "brorand": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", + "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=", "dev": true }, - "indexof": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz", - "integrity": "sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10=", + "browser-stdout": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", + "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", "dev": true }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "browserify-aes": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", + "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", "dev": true, "requires": { - "once": "1.4.0", - "wrappy": "1.0.2" + "buffer-xor": "^1.0.3", + "cipher-base": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.3", + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" } }, - "inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", - "dev": true - }, - "interpret": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.0.3.tgz", - "integrity": "sha1-y8NcYu7uc/Gat7EKgBURQBr8D5A=", - "dev": true + "browserify-cipher": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", + "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", + "dev": true, + "requires": { + "browserify-aes": "^1.0.4", + "browserify-des": "^1.0.0", + "evp_bytestokey": "^1.0.0" + } }, - "invariant": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.2.tgz", - "integrity": "sha1-nh9WrArNtr8wMwbzOL47IErmA2A=", + "browserify-des": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.1.tgz", + "integrity": "sha512-zy0Cobe3hhgpiOM32Tj7KQ3Vl91m0njwsjzZQK1L+JDf11dzP9qIvjreVinsvXrgfjhStXwUWAEpB9D7Gwmayw==", "dev": true, "requires": { - "loose-envify": "1.3.1" + "cipher-base": "^1.0.1", + "des.js": "^1.0.0", + "inherits": "^2.0.1" } }, - "invert-kv": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", - "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=", - "dev": true + "browserify-rsa": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz", + "integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=", + "dev": true, + "requires": { + "bn.js": "^4.1.0", + "randombytes": "^2.0.1" + } }, - "is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", - "dev": true + "browserify-sign": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.0.4.tgz", + "integrity": "sha1-qk62jl17ZYuqa/alfmMMvXqT0pg=", + "dev": true, + "requires": { + "bn.js": "^4.1.1", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "create-hmac": "^1.1.2", + "elliptic": "^6.0.0", + "inherits": "^2.0.1", + "parse-asn1": "^5.0.0" + } }, - "is-binary-path": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", - "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", + "browserify-zlib": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", + "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", "dev": true, "requires": { - "binary-extensions": "1.8.0" + "pako": "~1.0.5" } }, - "is-buffer": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.5.tgz", - "integrity": "sha1-Hzsm72E7IUuIy8ojzGwB2Hlh7sw=", - "dev": true + "browserslist": { + "version": "3.2.8", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-3.2.8.tgz", + "integrity": "sha512-WHVocJYavUwVgVViC0ORikPHQquXwVh939TaelZ4WDqpWgTX/FsGhl/+P4qBUAGcRvtOgDgC+xftNWWp2RUTAQ==", + "requires": { + "caniuse-lite": "^1.0.30000844", + "electron-to-chromium": "^1.3.47" + } }, - "is-builtin-module": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", - "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", + "buffer": { + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz", + "integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=", "dev": true, "requires": { - "builtin-modules": "1.1.1" + "base64-js": "^1.0.2", + "ieee754": "^1.1.4", + "isarray": "^1.0.0" } }, - "is-dotfile": { + "buffer-xor": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz", - "integrity": "sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE=", + "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", + "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=", + "dev": true + }, + "builtin-modules": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", + "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=", + "dev": true + }, + "builtin-status-codes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", + "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=", + "dev": true + }, + "cache-base": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", + "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", + "dev": true, + "requires": { + "collection-visit": "^1.0.0", + "component-emitter": "^1.2.1", + "get-value": "^2.0.6", + "has-value": "^1.0.0", + "isobject": "^3.0.1", + "set-value": "^2.0.0", + "to-object-path": "^0.3.0", + "union-value": "^1.0.0", + "unset-value": "^1.0.0" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + } + } + }, + "camelcase": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz", + "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk=", "dev": true }, - "is-equal-shallow": { + "caniuse-lite": { + "version": "1.0.30000856", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000856.tgz", + "integrity": "sha512-x3mYcApHMQemyaHuH/RyqtKCGIYTgEA63fdi+VBvDz8xUSmRiVWTLeyKcoGQCGG6UPR9/+4qG4OKrTa6aSQRKg==" + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "dev": true, + "optional": true + }, + "center-align": { "version": "0.1.3", - "resolved": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz", - "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=", + "resolved": "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz", + "integrity": "sha1-qg0yYptu6XIgBBHL1EYckHvCt60=", "dev": true, "requires": { - "is-primitive": "2.0.0" + "align-text": "^0.1.3", + "lazy-cache": "^1.0.3" } }, - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true - }, - "is-extglob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", - "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", - "dev": true + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "requires": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + } }, - "is-finite": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", - "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", + "cheerio": { + "version": "1.0.0-rc.2", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.2.tgz", + "integrity": "sha1-S59TqBsn5NXawxwP/Qz6A8xoMNs=", "dev": true, "requires": { - "number-is-nan": "1.0.1" + "css-select": "~1.2.0", + "dom-serializer": "~0.1.0", + "entities": "~1.1.1", + "htmlparser2": "^3.9.1", + "lodash": "^4.15.0", + "parse5": "^3.0.1" } }, - "is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "cipher-base": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", + "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", "dev": true, "requires": { - "number-is-nan": "1.0.1" + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" } }, - "is-glob": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", - "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", + "class-utils": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", + "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", "dev": true, "requires": { - "is-extglob": "1.0.0" + "arr-union": "^3.1.0", + "define-property": "^0.2.5", + "isobject": "^3.0.0", + "static-extend": "^0.1.1" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + } } }, - "is-number": { + "cliui": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz", - "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz", + "integrity": "sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=", "dev": true, "requires": { - "kind-of": "3.2.2" + "center-align": "^0.1.1", + "right-align": "^0.1.1", + "wordwrap": "0.0.2" + }, + "dependencies": { + "wordwrap": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz", + "integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8=", + "dev": true + } } }, - "is-posix-bracket": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz", - "integrity": "sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=", - "dev": true - }, - "is-primitive": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz", - "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=", + "co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", "dev": true }, - "is-typedarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", - "dev": true, - "optional": true - }, - "is-utf8": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", - "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", + "code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", "dev": true }, - "isarray": { + "collection-visit": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", - "dev": true - }, - "isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", - "dev": true - }, - "isobject": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", - "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", + "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", "dev": true, "requires": { - "isarray": "1.0.0" + "map-visit": "^1.0.0", + "object-visit": "^1.0.0" } }, - "isstream": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", - "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", - "dev": true, - "optional": true - }, - "jenkins-mocha": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/jenkins-mocha/-/jenkins-mocha-4.1.2.tgz", - "integrity": "sha1-3b3rQEpnt8Vuwz9i2/RjD6GxhUQ=", + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "dev": true, "requires": { - "mocha": "3.4.2", - "npm-which": "3.0.1", - "nyc": "10.3.2", - "shell-escape": "0.2.0", - "shelljs": "0.7.8", - "spec-xunit-file": "0.0.1-3" + "color-name": "1.1.3" } }, - "js-tokens": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", - "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", + "color-logger": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/color-logger/-/color-logger-0.0.6.tgz", + "integrity": "sha1-5WJF7ymCJlcRDHy3WpzXhstp7Rs=", "dev": true }, - "jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", - "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", - "dev": true, - "optional": true + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true }, - "jsdom": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-7.2.2.tgz", - "integrity": "sha1-QLQCdwwr2iNGkJa+6Rq2deOx/G4=", + "combined-stream": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.6.tgz", + "integrity": "sha1-cj599ugBrFYTETp+RFqbactjKBg=", "dev": true, "optional": true, "requires": { - "abab": "1.0.3", - "acorn": "2.7.0", - "acorn-globals": "1.0.9", - "cssom": "0.3.2", - "cssstyle": "0.2.37", - "escodegen": "1.8.1", - "nwmatcher": "1.4.1", - "parse5": "1.5.1", - "request": "2.81.0", - "sax": "1.2.4", - "symbol-tree": "3.2.2", - "tough-cookie": "2.3.2", - "webidl-conversions": "2.0.1", - "whatwg-url-compat": "0.6.5", - "xml-name-validator": "2.0.1" + "delayed-stream": "~1.0.0" } }, - "jsesc": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", - "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=", + "commander": { + "version": "2.15.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.15.1.tgz", + "integrity": "sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==", "dev": true }, - "json-loader": { - "version": "0.5.4", - "resolved": "https://registry.npmjs.org/json-loader/-/json-loader-0.5.4.tgz", - "integrity": "sha1-i6oTZaYy9Yo8RtIBdfxgAsluN94=", + "component-emitter": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz", + "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=", "dev": true }, - "json-schema": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", - "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=", - "dev": true, - "optional": true + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true }, - "json-stable-stringify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz", - "integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=", + "console-browserify": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz", + "integrity": "sha1-8CQcRXMKn8YyOyBtvzjtx0HQuxA=", "dev": true, "requires": { - "jsonify": "0.0.0" + "date-now": "^0.1.4" } }, - "json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", - "dev": true, - "optional": true - }, - "json3": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/json3/-/json3-3.3.2.tgz", - "integrity": "sha1-PAQ0dD35Pi9cQq7nsZvLSDV19OE=", - "dev": true - }, - "json5": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", - "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=", + "constants-browserify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", + "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=", "dev": true }, - "jsonfile": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", - "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", + "convert-source-map": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.6.0.tgz", + "integrity": "sha512-eFu7XigvxdZ1ETfbgPBohgyQ/Z++C0eEhTor0qRwBw9unw+L0/6V8wkSuGgzdThkiS5lSpdptOQPD8Ak40a+7A==", "dev": true, "requires": { - "graceful-fs": "4.1.11" + "safe-buffer": "~5.1.1" } }, - "jsonify": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", - "integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=", + "copy-descriptor": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", + "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", "dev": true }, - "jsprim": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.0.tgz", - "integrity": "sha1-o7h+QCmNjDgFUtjMdiigu5WiKRg=", + "core-js": { + "version": "2.5.7", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.7.tgz", + "integrity": "sha512-RszJCAxg/PP6uzXVXL6BsxSXx/B05oJAQ2vkJRjyjrEcNVycaqOmNb5OTxZPE3xa5gwZduqza6L9JOCenh/Ecw==" + }, + "core-js-compat": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.1.4.tgz", + "integrity": "sha512-Z5zbO9f1d0YrJdoaQhphVAnKPimX92D6z8lCGphH89MNRxlL1prI9ExJPqVwP0/kgkQCv8c4GJGT8X16yUncOg==", "dev": true, - "optional": true, "requires": { - "assert-plus": "1.0.0", - "extsprintf": "1.0.2", - "json-schema": "0.2.3", - "verror": "1.3.6" + "browserslist": "^4.6.2", + "core-js-pure": "3.1.4", + "semver": "^6.1.1" }, "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "browserslist": { + "version": "4.6.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.6.3.tgz", + "integrity": "sha512-CNBqTCq22RKM8wKJNowcqihHJ4SkI8CGeK7KOR9tPboXUuS5Zk5lQgzzTbs4oxD8x+6HUshZUa2OyNI9lR93bQ==", "dev": true, - "optional": true + "requires": { + "caniuse-lite": "^1.0.30000975", + "electron-to-chromium": "^1.3.164", + "node-releases": "^1.1.23" + } + }, + "caniuse-lite": { + "version": "1.0.30000980", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000980.tgz", + "integrity": "sha512-as0PRtWHaX3gl2gpC7qA7bX88lr+qLacMMXm1QKLLQtBCwT/Ljbgrv5EXKMNBoeEX6yFZ4vIsBb4Nh+PEwW2Rw==", + "dev": true + }, + "electron-to-chromium": { + "version": "1.3.188", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.188.tgz", + "integrity": "sha512-tEQcughYIMj8WDMc59EGEtNxdGgwal/oLLTDw+NEqJRJwGflQvH3aiyiexrWeZOETP4/ko78PVr6gwNhdozvuQ==", + "dev": true + }, + "semver": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.2.0.tgz", + "integrity": "sha512-jdFC1VdUGT/2Scgbimf7FSx9iJLXoqfglSF+gJeuNWVpiE37OIbc1jywR/GJyFdz3mnkz2/id0L0J/cr0izR5A==", + "dev": true } } }, - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "core-js-pure": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.1.4.tgz", + "integrity": "sha512-uJ4Z7iPNwiu1foygbcZYJsJs1jiXrTTCvxfLDXNhI/I+NHbSIEyr548y4fcsCEyWY0XgfAG/qqaunJ1SThHenA==", + "dev": true + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "dev": true + }, + "create-ecdh": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.3.tgz", + "integrity": "sha512-GbEHQPMOswGpKXM9kCWVrremUcBmjteUaQ01T9rkKCPDXfUHX0IoP9LpHYo2NPFampa4e+/pFDc3jQdxrxQLaw==", "dev": true, "requires": { - "is-buffer": "1.1.5" + "bn.js": "^4.1.0", + "elliptic": "^6.0.0" } }, - "klaw": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz", - "integrity": "sha1-QIhDO0azsbolnXh4XY6W9zugJDk=", + "create-hash": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", + "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", "dev": true, "requires": { - "graceful-fs": "4.1.11" + "cipher-base": "^1.0.1", + "inherits": "^2.0.1", + "md5.js": "^1.3.4", + "ripemd160": "^2.0.1", + "sha.js": "^2.4.0" } }, - "lazy-cache": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz", - "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4=", - "dev": true - }, - "lcid": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", - "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", + "create-hmac": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", + "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", "dev": true, "requires": { - "invert-kv": "1.0.0" + "cipher-base": "^1.0.3", + "create-hash": "^1.1.0", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" } }, - "levn": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", - "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", + "crypto-browserify": { + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", + "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", "dev": true, - "optional": true, "requires": { - "prelude-ls": "1.1.2", - "type-check": "0.3.2" + "browserify-cipher": "^1.0.0", + "browserify-sign": "^4.0.0", + "create-ecdh": "^4.0.0", + "create-hash": "^1.1.0", + "create-hmac": "^1.1.0", + "diffie-hellman": "^5.0.0", + "inherits": "^2.0.1", + "pbkdf2": "^3.0.3", + "public-encrypt": "^4.0.0", + "randombytes": "^2.0.0", + "randomfill": "^1.0.3" } }, - "load-json-file": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", - "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "css-select": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz", + "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=", "dev": true, "requires": { - "graceful-fs": "4.1.11", - "parse-json": "2.2.0", - "pify": "2.3.0", - "pinkie-promise": "2.0.1", - "strip-bom": "2.0.0" + "boolbase": "~1.0.0", + "css-what": "2.1", + "domutils": "1.5.1", + "nth-check": "~1.0.1" } }, - "loader-runner": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.3.0.tgz", - "integrity": "sha1-9IKuqC1UPgeSFwDVpG7yb9rGuKI=", + "css-what": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.0.tgz", + "integrity": "sha1-lGfQMsOM+u+58teVASUwYvh/ob0=", "dev": true }, - "loader-utils": { - "version": "0.2.17", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-0.2.17.tgz", - "integrity": "sha1-+G5jdNQyBabmxg6RlvF8Apm/s0g=", + "cssom": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.2.tgz", + "integrity": "sha1-uANhcMefB6kP8vFuIihAJ6JDhIs=", + "dev": true, + "optional": true + }, + "cssstyle": { + "version": "0.2.37", + "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-0.2.37.tgz", + "integrity": "sha1-VBCXI0yyUTyDzu06zdwn/yeYfVQ=", + "dev": true, + "optional": true, + "requires": { + "cssom": "0.3.x" + } + }, + "dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", "dev": true, + "optional": true, "requires": { - "big.js": "3.1.3", - "emojis-list": "2.1.0", - "json5": "0.5.1", - "object-assign": "4.1.1" + "assert-plus": "^1.0.0" } }, - "lodash": { - "version": "4.17.4", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz", - "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=", + "date-now": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz", + "integrity": "sha1-6vQ5/U1ISK105cx9vvIAZyueNFs=", "dev": true }, - "lodash._baseassign": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/lodash._baseassign/-/lodash._baseassign-3.2.0.tgz", - "integrity": "sha1-jDigmVAPIVrQnlnxci/QxSv+Ck4=", + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", "dev": true, "requires": { - "lodash._basecopy": "3.0.1", - "lodash.keys": "3.1.2" + "ms": "2.0.0" } }, - "lodash._basecopy": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz", - "integrity": "sha1-jaDmqHbPNEwK2KVIghEd08XHyjY=", + "decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", "dev": true }, - "lodash._basecreate": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash._basecreate/-/lodash._basecreate-3.0.3.tgz", - "integrity": "sha1-G8ZhYU2qf8MRt9A78WgGoCE8+CE=", + "decode-uri-component": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", + "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", "dev": true }, - "lodash._getnative": { - "version": "3.9.1", - "resolved": "https://registry.npmjs.org/lodash._getnative/-/lodash._getnative-3.9.1.tgz", - "integrity": "sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U=", - "dev": true + "deep-is": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", + "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", + "dev": true, + "optional": true }, - "lodash._isiterateecall": { - "version": "3.0.9", - "resolved": "https://registry.npmjs.org/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz", - "integrity": "sha1-UgOte6Ql+uhCRg5pbbnPPmqsBXw=", - "dev": true + "define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "dev": true, + "requires": { + "object-keys": "^1.0.12" + } }, - "lodash.assignin": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/lodash.assignin/-/lodash.assignin-4.2.0.tgz", - "integrity": "sha1-uo31+4QesKPoBEIysOJjqNxqKKI=", - "dev": true + "define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "requires": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "dependencies": { + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + } + } }, - "lodash.bind": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/lodash.bind/-/lodash.bind-4.2.1.tgz", - "integrity": "sha1-euMBfpOWIqwxt9fX3LGzTbFpDTU=", - "dev": true + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true, + "optional": true }, - "lodash.create": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/lodash.create/-/lodash.create-3.1.1.tgz", - "integrity": "sha1-1/KEnw29p+BGgruM1yqwIkYd6+c=", + "des.js": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.0.tgz", + "integrity": "sha1-wHTS4qpqipoH29YfmhXCzYPsjsw=", "dev": true, "requires": { - "lodash._baseassign": "3.2.0", - "lodash._basecreate": "3.0.3", - "lodash._isiterateecall": "3.0.9" + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" } }, - "lodash.defaults": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", - "integrity": "sha1-0JF4cW/+pN3p5ft7N/bwgCJ0WAw=", - "dev": true + "detect-indent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", + "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", + "dev": true, + "requires": { + "repeating": "^2.0.0" + } }, - "lodash.filter": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/lodash.filter/-/lodash.filter-4.6.0.tgz", - "integrity": "sha1-ZosdSYFgOuHMWm+nYBQ+SAtMSs4=", + "diff": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", + "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", "dev": true }, - "lodash.flatten": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", - "integrity": "sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8=", - "dev": true + "diffie-hellman": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", + "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", + "dev": true, + "requires": { + "bn.js": "^4.1.0", + "miller-rabin": "^4.0.0", + "randombytes": "^2.0.0" + } }, - "lodash.foreach": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.foreach/-/lodash.foreach-4.5.0.tgz", - "integrity": "sha1-Gmo16s5AEoDH8G3d7DUWWrJ+PlM=", - "dev": true + "dom-serializer": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.0.tgz", + "integrity": "sha1-BzxpdUbOB4DOI75KKOKT5AvDDII=", + "dev": true, + "requires": { + "domelementtype": "~1.1.1", + "entities": "~1.1.1" + }, + "dependencies": { + "domelementtype": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.1.3.tgz", + "integrity": "sha1-vSh3PiZCiBrsUVRJJCmcXNgiGFs=", + "dev": true + } + } }, - "lodash.isarguments": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", - "integrity": "sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo=", + "domain-browser": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", + "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==", "dev": true }, - "lodash.isarray": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/lodash.isarray/-/lodash.isarray-3.0.4.tgz", - "integrity": "sha1-eeTriMNqgSKvhvhEqpvNhRtfu1U=", + "domelementtype": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.0.tgz", + "integrity": "sha1-sXrtguirWeUt2cGbF1bg/BhyBMI=", "dev": true }, - "lodash.isplainobject": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=", - "dev": true + "domhandler": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz", + "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==", + "dev": true, + "requires": { + "domelementtype": "1" + } }, - "lodash.keys": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-3.1.2.tgz", - "integrity": "sha1-TbwEcrFWvlCgsoaFXRvQsMZWCYo=", + "domutils": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz", + "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=", "dev": true, "requires": { - "lodash._getnative": "3.9.1", - "lodash.isarguments": "3.1.0", - "lodash.isarray": "3.0.4" + "dom-serializer": "0", + "domelementtype": "1" } }, - "lodash.map": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/lodash.map/-/lodash.map-4.6.0.tgz", - "integrity": "sha1-dx7Hg540c9nEzeKLGTlMNWL09tM=", - "dev": true - }, - "lodash.merge": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.0.tgz", - "integrity": "sha1-aYhLoUSsM/5plzemCG3v+t0PicU=", - "dev": true - }, - "lodash.pick": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.pick/-/lodash.pick-4.4.0.tgz", - "integrity": "sha1-UvBWEP/53tQiYRRB7R/BI6AwAbM=", - "dev": true - }, - "lodash.reduce": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/lodash.reduce/-/lodash.reduce-4.6.0.tgz", - "integrity": "sha1-8atrg5KZrUj3hKu/R2WW8DuRTTs=", - "dev": true + "ecc-jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz", + "integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=", + "dev": true, + "optional": true, + "requires": { + "jsbn": "~0.1.0" + } }, - "lodash.reject": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/lodash.reject/-/lodash.reject-4.6.0.tgz", - "integrity": "sha1-gNZJLcFHCGS79YNTO2UfQqn1JBU=", - "dev": true + "electron-to-chromium": { + "version": "1.3.48", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.48.tgz", + "integrity": "sha1-07DYWTgUBE4JLs4hCPw6ya6kuQA=" }, - "lodash.some": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/lodash.some/-/lodash.some-4.6.0.tgz", - "integrity": "sha1-G7nzFO9ri63tE7VJFpsqlF62jk0=", - "dev": true + "elliptic": { + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", + "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", + "dev": true, + "requires": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + } + } }, - "longest": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", - "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=", + "emojis-list": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-2.1.0.tgz", + "integrity": "sha1-TapNnbAPmBmIDHn6RXrlsJof04k=", "dev": true }, - "loose-envify": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", - "integrity": "sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg=", + "enhanced-resolve": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-3.4.1.tgz", + "integrity": "sha1-BCHjOf1xQZs9oT0Smzl5BAIwR24=", "dev": true, "requires": { - "js-tokens": "3.0.2" + "graceful-fs": "^4.1.2", + "memory-fs": "^0.4.0", + "object-assign": "^4.0.1", + "tapable": "^0.2.7" } }, - "marked": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/marked/-/marked-0.3.6.tgz", - "integrity": "sha1-ssbGGPzOzk74bE/Gy4p8v1rtqNc=", + "entities": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.1.tgz", + "integrity": "sha1-blwtClYhtdra7O+AuQ7ftc13cvA=", "dev": true }, - "memory-fs": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz", - "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=", + "errno": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.7.tgz", + "integrity": "sha512-MfrRBDWzIWifgq6tJj60gkAwtLNb6sQPlcFrSOflcP1aFmmruKQ2wRnze/8V6kgyz7H3FF8Npzv78mZ7XLLflg==", "dev": true, "requires": { - "errno": "0.1.4", - "readable-stream": "2.3.3" + "prr": "~1.0.1" } }, - "micromatch": { - "version": "2.3.11", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", - "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", + "error-ex": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.1.tgz", + "integrity": "sha1-+FWobOYa3E6GIcPNoh56dhLDqNw=", "dev": true, "requires": { - "arr-diff": "2.0.0", - "array-unique": "0.2.1", - "braces": "1.8.5", - "expand-brackets": "0.1.5", - "extglob": "0.3.2", - "filename-regex": "2.0.1", - "is-extglob": "1.0.0", - "is-glob": "2.0.1", - "kind-of": "3.2.2", - "normalize-path": "2.1.1", - "object.omit": "2.0.1", - "parse-glob": "3.0.4", - "regex-cache": "0.4.3" + "is-arrayish": "^0.2.1" } }, - "miller-rabin": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.0.tgz", - "integrity": "sha1-SmL7HUKTPAVYOYL0xxb2+55sbT0=", + "escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=", + "dev": true + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" + }, + "escodegen": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.10.0.tgz", + "integrity": "sha512-fjUOf8johsv23WuIKdNQU4P9t9jhQ4Qzx6pC2uW890OloK3Zs1ZAoCNpg/2larNF501jLl3UNy0kIRcF6VI22g==", "dev": true, + "optional": true, "requires": { - "bn.js": "4.11.7", - "brorand": "1.1.0" + "esprima": "^3.1.3", + "estraverse": "^4.2.0", + "esutils": "^2.0.2", + "optionator": "^0.8.1", + "source-map": "~0.6.1" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "optional": true + } } }, - "mime-db": { - "version": "1.27.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.27.0.tgz", - "integrity": "sha1-gg9XIpa70g7CXtVeW13oaeVDbrE=", - "dev": true - }, - "mime-types": { - "version": "2.1.15", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.15.tgz", - "integrity": "sha1-pOv1BkCUVpI3uM9wBGd20J/JKu0=", + "esdoc": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/esdoc/-/esdoc-1.1.0.tgz", + "integrity": "sha512-vsUcp52XJkOWg9m1vDYplGZN2iDzvmjDL5M/Mp8qkoDG3p2s0yIQCIjKR5wfPBaM3eV14a6zhQNYiNTCVzPnxA==", "dev": true, "requires": { - "mime-db": "1.27.0" + "babel-generator": "6.26.1", + "babel-traverse": "6.26.0", + "babylon": "6.18.0", + "cheerio": "1.0.0-rc.2", + "color-logger": "0.0.6", + "escape-html": "1.0.3", + "fs-extra": "5.0.0", + "ice-cap": "0.0.4", + "marked": "0.3.19", + "minimist": "1.2.0", + "taffydb": "2.7.3" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + } } }, - "minimalistic-assert": { + "esdoc-accessor-plugin": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.0.tgz", - "integrity": "sha1-cCvi3aazf0g2vLP121ZkG2Sh09M=", + "resolved": "https://registry.npmjs.org/esdoc-accessor-plugin/-/esdoc-accessor-plugin-1.0.0.tgz", + "integrity": "sha1-eRukhy5sQDUVznSbE0jW8Ck62es=", "dev": true }, - "minimalistic-crypto-utils": { + "esdoc-brand-plugin": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", - "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=", - "dev": true - }, - "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "resolved": "https://registry.npmjs.org/esdoc-brand-plugin/-/esdoc-brand-plugin-1.0.1.tgz", + "integrity": "sha512-Yv9j3M7qk5PSLmSeD6MbPsfIsEf8K43EdH8qZpE/GZwnJCRVmDPrZJ1cLDj/fPu6P35YqgcEaJK4E2NL/CKA7g==", "dev": true, "requires": { - "brace-expansion": "1.1.8" + "cheerio": "0.22.0" + }, + "dependencies": { + "cheerio": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-0.22.0.tgz", + "integrity": "sha1-qbqoYKP5tZWmuBsahocxIe06Jp4=", + "dev": true, + "requires": { + "css-select": "~1.2.0", + "dom-serializer": "~0.1.0", + "entities": "~1.1.1", + "htmlparser2": "^3.9.1", + "lodash.assignin": "^4.0.9", + "lodash.bind": "^4.1.4", + "lodash.defaults": "^4.0.1", + "lodash.filter": "^4.4.0", + "lodash.flatten": "^4.2.0", + "lodash.foreach": "^4.3.0", + "lodash.map": "^4.4.0", + "lodash.merge": "^4.4.0", + "lodash.pick": "^4.2.1", + "lodash.reduce": "^4.4.0", + "lodash.reject": "^4.4.0", + "lodash.some": "^4.4.0" + } + } } }, - "minimist": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", - "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", + "esdoc-coverage-plugin": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/esdoc-coverage-plugin/-/esdoc-coverage-plugin-1.1.0.tgz", + "integrity": "sha1-OGmGnNf4eJH5cmJXh2laKZrs5Fw=", "dev": true }, - "mkdirp": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", - "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", + "esdoc-external-ecmascript-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-external-ecmascript-plugin/-/esdoc-external-ecmascript-plugin-1.0.0.tgz", + "integrity": "sha1-ePVl1KDFGFrGMVJhTc4f4ahmiNs=", "dev": true, "requires": { - "minimist": "0.0.8" + "fs-extra": "1.0.0" + }, + "dependencies": { + "fs-extra": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-1.0.0.tgz", + "integrity": "sha1-zTzl9+fLYUWIP8rjGR6Yd/hYeVA=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "jsonfile": "^2.1.0", + "klaw": "^1.0.0" + } + }, + "jsonfile": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", + "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6" + } + } } }, - "mocha": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-3.4.2.tgz", - "integrity": "sha1-0O9NMyEm2/GNDWQMmzgt1IvpdZQ=", + "esdoc-integrate-manual-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-integrate-manual-plugin/-/esdoc-integrate-manual-plugin-1.0.0.tgz", + "integrity": "sha1-GFSmqhwIEDXXyMUeO91PtlqkcRw=", + "dev": true + }, + "esdoc-integrate-test-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-integrate-test-plugin/-/esdoc-integrate-test-plugin-1.0.0.tgz", + "integrity": "sha1-4tDQAJD38MNeXS8sAzMnp55T5Ak=", + "dev": true + }, + "esdoc-lint-plugin": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/esdoc-lint-plugin/-/esdoc-lint-plugin-1.0.2.tgz", + "integrity": "sha512-24AYqD2WbZI9We02I7/6dzAa7yUliRTFUaJCZAcYJMQicJT5gUrNFVaI8XmWEN/mhF3szIn1uZBNWeLul4CmNw==", + "dev": true + }, + "esdoc-publish-html-plugin": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/esdoc-publish-html-plugin/-/esdoc-publish-html-plugin-1.1.2.tgz", + "integrity": "sha512-hG1fZmTcEp3P/Hv/qKiMdG1qSp8MjnVZMMkxL5P5ry7I2sX0HQ4P9lt2lms+90Lt0r340HHhSuVx107UL7dphg==", "dev": true, "requires": { - "browser-stdout": "1.3.0", - "commander": "2.9.0", - "debug": "2.6.0", - "diff": "3.2.0", - "escape-string-regexp": "1.0.5", - "glob": "7.1.1", - "growl": "1.9.2", - "json3": "3.3.2", - "lodash.create": "3.1.1", - "mkdirp": "0.5.1", - "supports-color": "3.1.2" + "babel-generator": "6.11.4", + "cheerio": "0.22.0", + "escape-html": "1.0.3", + "fs-extra": "1.0.0", + "ice-cap": "0.0.4", + "marked": "0.3.19", + "taffydb": "2.7.2" }, "dependencies": { - "commander": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.9.0.tgz", - "integrity": "sha1-nJkJQXbhIkDLItbFFGCYQA/g99Q=", + "babel-generator": { + "version": "6.11.4", + "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.11.4.tgz", + "integrity": "sha1-FPaTOrsgxiZm0n47e59bncBxKpo=", "dev": true, "requires": { - "graceful-readlink": "1.0.1" + "babel-messages": "^6.8.0", + "babel-runtime": "^6.9.0", + "babel-types": "^6.10.2", + "detect-indent": "^3.0.1", + "lodash": "^4.2.0", + "source-map": "^0.5.0" } }, - "debug": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.0.tgz", - "integrity": "sha1-vFlryr52F/Edn6FTYe3tVgi4SZs=", + "cheerio": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-0.22.0.tgz", + "integrity": "sha1-qbqoYKP5tZWmuBsahocxIe06Jp4=", + "dev": true, + "requires": { + "css-select": "~1.2.0", + "dom-serializer": "~0.1.0", + "entities": "~1.1.1", + "htmlparser2": "^3.9.1", + "lodash.assignin": "^4.0.9", + "lodash.bind": "^4.1.4", + "lodash.defaults": "^4.0.1", + "lodash.filter": "^4.4.0", + "lodash.flatten": "^4.2.0", + "lodash.foreach": "^4.3.0", + "lodash.map": "^4.4.0", + "lodash.merge": "^4.4.0", + "lodash.pick": "^4.2.1", + "lodash.reduce": "^4.4.0", + "lodash.reject": "^4.4.0", + "lodash.some": "^4.4.0" + } + }, + "detect-indent": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-3.0.1.tgz", + "integrity": "sha1-ncXl3bzu+DJXZLlFGwK8bVQIT3U=", "dev": true, "requires": { - "ms": "0.7.2" + "get-stdin": "^4.0.1", + "minimist": "^1.1.0", + "repeating": "^1.1.0" } }, - "glob": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.1.tgz", - "integrity": "sha1-gFIR3wT6rxxjo2ADBs31reULLsg=", + "fs-extra": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-1.0.0.tgz", + "integrity": "sha1-zTzl9+fLYUWIP8rjGR6Yd/hYeVA=", "dev": true, "requires": { - "fs.realpath": "1.0.0", - "inflight": "1.0.6", - "inherits": "2.0.3", - "minimatch": "3.0.4", - "once": "1.4.0", - "path-is-absolute": "1.0.1" + "graceful-fs": "^4.1.2", + "jsonfile": "^2.1.0", + "klaw": "^1.0.0" } }, - "ms": { - "version": "0.7.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz", - "integrity": "sha1-riXPJRKziFodldfwN4aNhDESR2U=", + "jsonfile": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", + "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6" + } + }, + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", "dev": true }, - "supports-color": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.1.2.tgz", - "integrity": "sha1-cqJiiU2dQIuVbKBf83su2KbiotU=", + "repeating": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/repeating/-/repeating-1.1.3.tgz", + "integrity": "sha1-PUEUIYh3U3SU+X93+Xhfq4EPpKw=", "dev": true, "requires": { - "has-flag": "1.0.0" + "is-finite": "^1.0.0" } + }, + "taffydb": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.7.2.tgz", + "integrity": "sha1-e/gQalwaSCUbPjvAoOFzJIn9Dcg=", + "dev": true } } }, - "mocha-ci-slack-reporter": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mocha-ci-slack-reporter/-/mocha-ci-slack-reporter-1.0.1.tgz", - "integrity": "sha1-OTx8lqi/fXL1PFKw/RodUPqCsyE=", + "esdoc-standard-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-standard-plugin/-/esdoc-standard-plugin-1.0.0.tgz", + "integrity": "sha1-ZhIBysfvhokkkCRG/awVJyU8XU0=", + "dev": true, + "requires": { + "esdoc-accessor-plugin": "^1.0.0", + "esdoc-brand-plugin": "^1.0.0", + "esdoc-coverage-plugin": "^1.0.0", + "esdoc-external-ecmascript-plugin": "^1.0.0", + "esdoc-integrate-manual-plugin": "^1.0.0", + "esdoc-integrate-test-plugin": "^1.0.0", + "esdoc-lint-plugin": "^1.0.0", + "esdoc-publish-html-plugin": "^1.0.0", + "esdoc-type-inference-plugin": "^1.0.0", + "esdoc-undocumented-identifier-plugin": "^1.0.0", + "esdoc-unexported-identifier-plugin": "^1.0.0" + } + }, + "esdoc-type-inference-plugin": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/esdoc-type-inference-plugin/-/esdoc-type-inference-plugin-1.0.2.tgz", + "integrity": "sha512-tMIcEHNe1uhUGA7lT1UTWc9hs2dzthnTgmqXpmeUhurk7fL2tinvoH+IVvG/sLROzwOGZQS9zW/F9KWnpMzLIQ==", + "dev": true + }, + "esdoc-undocumented-identifier-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-undocumented-identifier-plugin/-/esdoc-undocumented-identifier-plugin-1.0.0.tgz", + "integrity": "sha1-guBdNxwy0ShxFA8dXIHsmf2cwsg=", + "dev": true + }, + "esdoc-unexported-identifier-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-unexported-identifier-plugin/-/esdoc-unexported-identifier-plugin-1.0.0.tgz", + "integrity": "sha1-H5h0xqfCvr+a05fDzrdcnGnaurE=", + "dev": true + }, + "esprima": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-3.1.3.tgz", + "integrity": "sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM=", + "dev": true, + "optional": true + }, + "estraverse": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", + "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=", + "dev": true, + "optional": true + }, + "esutils": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", + "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=" + }, + "events": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", + "integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=", + "dev": true + }, + "evp_bytestokey": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", + "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", "dev": true, "requires": { - "debug": "2.6.8", - "sync-request": "3.0.1" + "md5.js": "^1.3.4", + "safe-buffer": "^5.1.1" } }, - "mocha-jenkins-reporter": { - "version": "0.3.8", - "resolved": "https://registry.npmjs.org/mocha-jenkins-reporter/-/mocha-jenkins-reporter-0.3.8.tgz", - "integrity": "sha1-9vx0FQb1e958zJ5GzR68TnUJiUw=", + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "dev": true, + "optional": true + }, + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", "dev": true, "requires": { - "diff": "1.0.7", - "mkdirp": "0.5.1", - "mocha": "3.4.2", - "xml": "1.0.1" + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" }, "dependencies": { - "diff": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/diff/-/diff-1.0.7.tgz", - "integrity": "sha1-JLuwAcSn1VIhaefKvbLCgU7ZHPQ=", - "dev": true + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "^2.0.4" + } } } }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + "extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", + "dev": true, + "optional": true }, - "nan": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.6.2.tgz", - "integrity": "sha1-5P805slf37WuzAjeZZb0NgWn20U=", + "fast-deep-equal": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz", + "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=", "dev": true, "optional": true }, - "node-libs-browser": { + "fast-json-stable-stringify": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.0.0.tgz", - "integrity": "sha1-o6WeyXAkmFtG6Vg3lkb5bEthZkY=", - "dev": true, - "requires": { - "assert": "1.4.1", - "browserify-zlib": "0.1.4", - "buffer": "4.9.1", - "console-browserify": "1.1.0", - "constants-browserify": "1.0.0", - "crypto-browserify": "3.11.0", - "domain-browser": "1.1.7", - "events": "1.1.1", - "https-browserify": "0.0.1", - "os-browserify": "0.2.1", - "path-browserify": "0.0.0", - "process": "0.11.10", - "punycode": "1.4.1", - "querystring-es3": "0.2.1", - "readable-stream": "2.3.3", - "stream-browserify": "2.0.1", - "stream-http": "2.7.2", - "string_decoder": "0.10.31", - "timers-browserify": "2.0.2", - "tty-browserify": "0.0.0", - "url": "0.11.0", - "util": "0.10.3", - "vm-browserify": "0.0.4" - }, - "dependencies": { - "string_decoder": { - "version": "0.10.31", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", - "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", - "dev": true - } - } + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", + "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=", + "dev": true, + "optional": true }, - "normalize-package-data": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz", - "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==", + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", "dev": true, - "requires": { - "hosted-git-info": "2.5.0", - "is-builtin-module": "1.0.0", - "semver": "5.3.0", - "validate-npm-package-license": "3.0.1" - } + "optional": true }, - "normalize-path": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", - "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", + "follow-redirects": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.1.tgz", + "integrity": "sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA==" + }, + "for-in": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", + "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", + "dev": true + }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", "dev": true, - "requires": { - "remove-trailing-separator": "1.0.2" - } + "optional": true }, - "npm-path": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/npm-path/-/npm-path-2.0.3.tgz", - "integrity": "sha1-Fc/04ciaONp39W9gVbJPl137K74=", + "form-data": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.2.tgz", + "integrity": "sha1-SXBJi+YEwgwAXU9cI67NIda0kJk=", "dev": true, + "optional": true, "requires": { - "which": "1.2.14" + "asynckit": "^0.4.0", + "combined-stream": "1.0.6", + "mime-types": "^2.1.12" } }, - "npm-which": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/npm-which/-/npm-which-3.0.1.tgz", - "integrity": "sha1-kiXybsOihcIJyuZ8OxGmtKtxQKo=", + "fragment-cache": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", + "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", "dev": true, "requires": { - "commander": "2.11.0", - "npm-path": "2.0.3", - "which": "1.2.14" + "map-cache": "^0.2.2" } }, - "nth-check": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.1.tgz", - "integrity": "sha1-mSms32KPwsQQmN6rgqxYDPFJquQ=", + "fs-extra": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-5.0.0.tgz", + "integrity": "sha512-66Pm4RYbjzdyeuqudYqhFiNBbCIuI9kgRqLPSHIlXHidW8NIQtVdkM1yeZ4lXwuhbTETv3EUGMNHAAw6hiundQ==", "dev": true, "requires": { - "boolbase": "1.0.0" + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" } }, - "number-is-nan": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", + "fs-readdir-recursive": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz", + "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==", "dev": true }, - "nwmatcher": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/nwmatcher/-/nwmatcher-1.4.1.tgz", - "integrity": "sha1-eumwew6oBNt+JfBctf5Al9TklJ8=", - "dev": true, - "optional": true + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true }, - "nyc": { - "version": "10.3.2", - "resolved": "https://registry.npmjs.org/nyc/-/nyc-10.3.2.tgz", - "integrity": "sha1-8n9NkfKp2zbCT1dP9cbv/wIz3kY=", - "dev": true, - "requires": { - "archy": "1.0.0", - "arrify": "1.0.1", - "caching-transform": "1.0.1", - "convert-source-map": "1.5.0", - "debug-log": "1.0.1", - "default-require-extensions": "1.0.0", - "find-cache-dir": "0.1.1", - "find-up": "1.1.2", - "foreground-child": "1.5.6", - "glob": "7.1.1", - "istanbul-lib-coverage": "1.1.0", - "istanbul-lib-hook": "1.0.6", - "istanbul-lib-instrument": "1.7.1", - "istanbul-lib-report": "1.1.0", - "istanbul-lib-source-maps": "1.2.0", - "istanbul-reports": "1.1.0", - "md5-hex": "1.3.0", - "merge-source-map": "1.0.3", - "micromatch": "2.3.11", - "mkdirp": "0.5.1", - "resolve-from": "2.0.0", - "rimraf": "2.6.1", - "signal-exit": "3.0.2", - "spawn-wrap": "1.2.4", - "test-exclude": "4.1.0", - "yargs": "7.1.0", - "yargs-parser": "5.0.0" + "fsevents": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.4.tgz", + "integrity": "sha512-z8H8/diyk76B7q5wg+Ud0+CqzcAF3mBBI/bA5ne5zrRUUIvNkJY//D3BqyH571KuAC4Nr7Rw7CjWX4r0y9DvNg==", + "dev": true, + "optional": true, + "requires": { + "nan": "^2.9.2", + "node-pre-gyp": "^0.10.0" }, "dependencies": { - "align-text": { - "version": "0.1.4", - "bundled": true, - "dev": true, - "requires": { - "kind-of": "3.2.0", - "longest": "1.0.1", - "repeat-string": "1.6.1" - } - }, - "amdefine": { - "version": "1.0.1", - "bundled": true, - "dev": true - }, - "ansi-regex": { - "version": "2.1.1", - "bundled": true, - "dev": true - }, - "ansi-styles": { - "version": "2.2.1", - "bundled": true, - "dev": true - }, - "append-transform": { - "version": "0.4.0", - "bundled": true, - "dev": true, - "requires": { - "default-require-extensions": "1.0.0" - } - }, - "archy": { - "version": "1.0.0", - "bundled": true, - "dev": true - }, - "arr-diff": { - "version": "2.0.0", - "bundled": true, - "dev": true, - "requires": { - "arr-flatten": "1.0.3" - } - }, - "arr-flatten": { - "version": "1.0.3", - "bundled": true, - "dev": true - }, - "array-unique": { - "version": "0.2.1", - "bundled": true, - "dev": true - }, - "arrify": { - "version": "1.0.1", - "bundled": true, - "dev": true - }, - "async": { - "version": "1.5.2", - "bundled": true, - "dev": true - }, - "babel-code-frame": { - "version": "6.22.0", - "bundled": true, - "dev": true, - "requires": { - "chalk": "1.1.3", - "esutils": "2.0.2", - "js-tokens": "3.0.1" - } - }, - "babel-generator": { - "version": "6.24.1", - "bundled": true, - "dev": true, - "requires": { - "babel-messages": "6.23.0", - "babel-runtime": "6.23.0", - "babel-types": "6.24.1", - "detect-indent": "4.0.0", - "jsesc": "1.3.0", - "lodash": "4.17.4", - "source-map": "0.5.6", - "trim-right": "1.0.1" - } - }, - "babel-messages": { - "version": "6.23.0", - "bundled": true, - "dev": true, - "requires": { - "babel-runtime": "6.23.0" - } - }, - "babel-runtime": { - "version": "6.23.0", - "bundled": true, - "dev": true, - "requires": { - "core-js": "2.4.1", - "regenerator-runtime": "0.10.5" - } - }, - "babel-template": { - "version": "6.24.1", - "bundled": true, - "dev": true, - "requires": { - "babel-runtime": "6.23.0", - "babel-traverse": "6.24.1", - "babel-types": "6.24.1", - "babylon": "6.17.0", - "lodash": "4.17.4" - } - }, - "babel-traverse": { - "version": "6.24.1", - "bundled": true, - "dev": true, - "requires": { - "babel-code-frame": "6.22.0", - "babel-messages": "6.23.0", - "babel-runtime": "6.23.0", - "babel-types": "6.24.1", - "babylon": "6.17.0", - "debug": "2.6.6", - "globals": "9.17.0", - "invariant": "2.2.2", - "lodash": "4.17.4" - } - }, - "babel-types": { - "version": "6.24.1", - "bundled": true, - "dev": true, - "requires": { - "babel-runtime": "6.23.0", - "esutils": "2.0.2", - "lodash": "4.17.4", - "to-fast-properties": "1.0.3" - } - }, - "babylon": { - "version": "6.17.0", - "bundled": true, - "dev": true - }, - "balanced-match": { - "version": "0.4.2", - "bundled": true, - "dev": true - }, - "brace-expansion": { - "version": "1.1.7", - "bundled": true, - "dev": true, - "requires": { - "balanced-match": "0.4.2", - "concat-map": "0.0.1" - } - }, - "braces": { - "version": "1.8.5", - "bundled": true, - "dev": true, - "requires": { - "expand-range": "1.8.2", - "preserve": "0.2.0", - "repeat-element": "1.1.2" - } - }, - "builtin-modules": { - "version": "1.1.1", - "bundled": true, - "dev": true - }, - "caching-transform": { - "version": "1.0.1", - "bundled": true, - "dev": true, - "requires": { - "md5-hex": "1.3.0", - "mkdirp": "0.5.1", - "write-file-atomic": "1.3.4" - } - }, - "camelcase": { - "version": "1.2.1", - "bundled": true, - "dev": true, - "optional": true - }, - "center-align": { - "version": "0.1.3", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "align-text": "0.1.4", - "lazy-cache": "1.0.4" - } - }, - "chalk": { - "version": "1.1.3", - "bundled": true, - "dev": true, - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - } - }, - "cliui": { - "version": "2.1.0", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "center-align": "0.1.3", - "right-align": "0.1.3", - "wordwrap": "0.0.2" - }, - "dependencies": { - "wordwrap": { - "version": "0.0.2", - "bundled": true, - "dev": true, - "optional": true - } - } - }, - "code-point-at": { - "version": "1.1.0", - "bundled": true, - "dev": true - }, - "commondir": { - "version": "1.0.1", - "bundled": true, - "dev": true - }, - "concat-map": { - "version": "0.0.1", - "bundled": true, - "dev": true - }, - "convert-source-map": { - "version": "1.5.0", - "bundled": true, - "dev": true - }, - "core-js": { - "version": "2.4.1", - "bundled": true, - "dev": true - }, - "cross-spawn": { - "version": "4.0.2", - "bundled": true, - "dev": true, - "requires": { - "lru-cache": "4.0.2", - "which": "1.2.14" - } - }, - "debug": { - "version": "2.6.6", - "bundled": true, - "dev": true, - "requires": { - "ms": "0.7.3" - } - }, - "debug-log": { - "version": "1.0.1", - "bundled": true, - "dev": true - }, - "decamelize": { - "version": "1.2.0", - "bundled": true, - "dev": true - }, - "default-require-extensions": { - "version": "1.0.0", - "bundled": true, + "abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", "dev": true, - "requires": { - "strip-bom": "2.0.0" - } + "optional": true }, - "detect-indent": { - "version": "4.0.0", - "bundled": true, + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", "dev": true, - "requires": { - "repeating": "2.0.1" - } + "optional": true }, - "error-ex": { - "version": "1.3.1", - "bundled": true, + "aproba": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", "dev": true, - "requires": { - "is-arrayish": "0.2.1" - } - }, - "escape-string-regexp": { - "version": "1.0.5", - "bundled": true, - "dev": true - }, - "esutils": { - "version": "2.0.2", - "bundled": true, - "dev": true + "optional": true }, - "expand-brackets": { - "version": "0.1.5", - "bundled": true, + "are-we-there-yet": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.4.tgz", + "integrity": "sha1-u13KOCu5TwXhUZQ3PRb9O6HKEQ0=", "dev": true, + "optional": true, "requires": { - "is-posix-bracket": "0.1.1" + "delegates": "^1.0.0", + "readable-stream": "^2.0.6" } }, - "expand-range": { - "version": "1.8.2", - "bundled": true, + "balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", "dev": true, - "requires": { - "fill-range": "2.2.3" - } + "optional": true }, - "extglob": { - "version": "0.3.2", - "bundled": true, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, + "optional": true, "requires": { - "is-extglob": "1.0.0" + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" } }, - "filename-regex": { - "version": "2.0.1", - "bundled": true, - "dev": true - }, - "fill-range": { - "version": "2.2.3", - "bundled": true, + "code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", "dev": true, - "requires": { - "is-number": "2.1.0", - "isobject": "2.1.0", - "randomatic": "1.1.6", - "repeat-element": "1.1.2", - "repeat-string": "1.6.1" - } + "optional": true }, - "find-cache-dir": { - "version": "0.1.1", - "bundled": true, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", "dev": true, - "requires": { - "commondir": "1.0.1", - "mkdirp": "0.5.1", - "pkg-dir": "1.0.0" - } + "optional": true }, - "find-up": { - "version": "1.1.2", - "bundled": true, + "console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", "dev": true, - "requires": { - "path-exists": "2.1.0", - "pinkie-promise": "2.0.1" - } + "optional": true }, - "for-in": { + "core-util-is": { "version": "1.0.2", - "bundled": true, - "dev": true + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "dev": true, + "optional": true }, - "for-own": { - "version": "0.1.5", - "bundled": true, + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, + "optional": true, "requires": { - "for-in": "1.0.2" + "ms": "2.0.0" } }, - "foreground-child": { - "version": "1.5.6", - "bundled": true, + "deep-extend": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.5.1.tgz", + "integrity": "sha512-N8vBdOa+DF7zkRrDCsaOXoCs/E2fJfx9B9MrKnnSiHNh4ws7eSys6YQE4KvT1cecKmOASYQBhbKjeuDD9lT81w==", "dev": true, - "requires": { - "cross-spawn": "4.0.2", - "signal-exit": "3.0.2" - } + "optional": true }, - "fs.realpath": { + "delegates": { "version": "1.0.0", - "bundled": true, - "dev": true + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", + "dev": true, + "optional": true }, - "get-caller-file": { - "version": "1.0.2", - "bundled": true, - "dev": true + "detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", + "dev": true, + "optional": true }, - "glob": { - "version": "7.1.1", - "bundled": true, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "dev": true, - "requires": { - "fs.realpath": "1.0.0", - "inflight": "1.0.6", - "inherits": "2.0.3", - "minimatch": "3.0.3", - "once": "1.4.0", - "path-is-absolute": "1.0.1" - } + "optional": true }, - "glob-base": { - "version": "0.3.0", - "bundled": true, + "gauge": { + "version": "2.7.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", "dev": true, + "optional": true, "requires": { - "glob-parent": "2.0.0", - "is-glob": "2.0.1" + "aproba": "^1.0.3", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.0", + "object-assign": "^4.1.0", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wide-align": "^1.1.0" } }, - "glob-parent": { - "version": "2.0.0", - "bundled": true, + "glob": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", "dev": true, + "optional": true, "requires": { - "is-glob": "2.0.1" + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" } }, - "globals": { - "version": "9.17.0", - "bundled": true, - "dev": true - }, - "graceful-fs": { - "version": "4.1.11", - "bundled": true, - "dev": true + "has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", + "dev": true, + "optional": true }, - "handlebars": { - "version": "4.0.8", - "bundled": true, + "iconv-lite": { + "version": "0.4.21", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.21.tgz", + "integrity": "sha512-En5V9za5mBt2oUA03WGD3TwDv0MKAruqsuxstbMUZaj9W9k/m1CV/9py3l0L5kw9Bln8fdHQmzHSYtvpvTLpKw==", "dev": true, + "optional": true, "requires": { - "async": "1.5.2", - "optimist": "0.6.1", - "source-map": "0.4.4", - "uglify-js": "2.8.22" - }, - "dependencies": { - "source-map": { - "version": "0.4.4", - "bundled": true, - "dev": true, - "requires": { - "amdefine": "1.0.1" - } - } + "safer-buffer": "^2.1.0" } }, - "has-ansi": { - "version": "2.0.0", - "bundled": true, + "ignore-walk": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.1.tgz", + "integrity": "sha512-DTVlMx3IYPe0/JJcYP7Gxg7ttZZu3IInhuEhbchuqneY9wWe5Ojy2mXLBaQFUQmo0AW2r3qG7m1mg86js+gnlQ==", "dev": true, + "optional": true, "requires": { - "ansi-regex": "2.1.1" + "minimatch": "^3.0.4" } }, - "has-flag": { - "version": "1.0.0", - "bundled": true, - "dev": true - }, - "hosted-git-info": { - "version": "2.4.2", - "bundled": true, - "dev": true - }, - "imurmurhash": { - "version": "0.1.4", - "bundled": true, - "dev": true - }, "inflight": { "version": "1.0.6", - "bundled": true, + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", "dev": true, + "optional": true, "requires": { - "once": "1.4.0", - "wrappy": "1.0.2" + "once": "^1.3.0", + "wrappy": "1" } }, "inherits": { "version": "2.0.3", - "bundled": true, - "dev": true + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "dev": true, + "optional": true }, - "invariant": { - "version": "2.2.2", - "bundled": true, + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", "dev": true, + "optional": true, "requires": { - "loose-envify": "1.3.1" + "number-is-nan": "^1.0.0" } }, - "invert-kv": { + "isarray": { "version": "1.0.0", - "bundled": true, - "dev": true - }, - "is-arrayish": { - "version": "0.2.1", - "bundled": true, - "dev": true - }, - "is-buffer": { - "version": "1.1.5", - "bundled": true, - "dev": true + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true, + "optional": true }, - "is-builtin-module": { - "version": "1.0.0", - "bundled": true, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "dev": true, + "optional": true, "requires": { - "builtin-modules": "1.1.1" + "brace-expansion": "^1.1.7" } }, - "is-dotfile": { - "version": "1.0.2", - "bundled": true, - "dev": true + "minimist": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", + "dev": true, + "optional": true }, - "is-equal-shallow": { - "version": "0.1.3", - "bundled": true, + "mkdirp": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", "dev": true, + "optional": true, "requires": { - "is-primitive": "2.0.0" + "minimist": "0.0.8" } }, - "is-extendable": { - "version": "0.1.1", - "bundled": true, - "dev": true - }, - "is-extglob": { - "version": "1.0.0", - "bundled": true, - "dev": true + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true, + "optional": true }, - "is-finite": { - "version": "1.0.2", - "bundled": true, + "needle": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/needle/-/needle-2.2.0.tgz", + "integrity": "sha512-eFagy6c+TYayorXw/qtAdSvaUpEbBsDwDyxYFgLZ0lTojfH7K+OdBqAF7TAFwDokJaGpubpSGG0wO3iC0XPi8w==", "dev": true, + "optional": true, "requires": { - "number-is-nan": "1.0.1" + "debug": "^2.1.2", + "iconv-lite": "^0.4.4", + "sax": "^1.2.4" } }, - "is-fullwidth-code-point": { - "version": "1.0.0", - "bundled": true, + "node-pre-gyp": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.10.0.tgz", + "integrity": "sha512-G7kEonQLRbcA/mOoFoxvlMrw6Q6dPf92+t/l0DFSMuSlDoWaI9JWIyPwK0jyE1bph//CUEL65/Fz1m2vJbmjQQ==", "dev": true, + "optional": true, "requires": { - "number-is-nan": "1.0.1" + "detect-libc": "^1.0.2", + "mkdirp": "^0.5.1", + "needle": "^2.2.0", + "nopt": "^4.0.1", + "npm-packlist": "^1.1.6", + "npmlog": "^4.0.2", + "rc": "^1.1.7", + "rimraf": "^2.6.1", + "semver": "^5.3.0", + "tar": "^4" } }, - "is-glob": { - "version": "2.0.1", - "bundled": true, + "nopt": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.1.tgz", + "integrity": "sha1-0NRoWv1UFRk8jHUFYC0NF81kR00=", "dev": true, + "optional": true, "requires": { - "is-extglob": "1.0.0" + "abbrev": "1", + "osenv": "^0.1.4" } }, - "is-number": { - "version": "2.1.0", - "bundled": true, + "npm-bundled": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.0.3.tgz", + "integrity": "sha512-ByQ3oJ/5ETLyglU2+8dBObvhfWXX8dtPZDMePCahptliFX2iIuhyEszyFk401PZUNQH20vvdW5MLjJxkwU80Ow==", + "dev": true, + "optional": true + }, + "npm-packlist": { + "version": "1.1.10", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.1.10.tgz", + "integrity": "sha512-AQC0Dyhzn4EiYEfIUjCdMl0JJ61I2ER9ukf/sLxJUcZHfo+VyEfz2rMJgLZSS1v30OxPQe1cN0LZA1xbcaVfWA==", "dev": true, + "optional": true, "requires": { - "kind-of": "3.2.0" + "ignore-walk": "^3.0.1", + "npm-bundled": "^1.0.1" } }, - "is-posix-bracket": { - "version": "0.1.1", - "bundled": true, - "dev": true - }, - "is-primitive": { - "version": "2.0.0", - "bundled": true, - "dev": true - }, - "is-utf8": { - "version": "0.2.1", - "bundled": true, - "dev": true - }, - "isarray": { - "version": "1.0.0", - "bundled": true, - "dev": true - }, - "isexe": { - "version": "2.0.0", - "bundled": true, - "dev": true - }, - "isobject": { - "version": "2.1.0", - "bundled": true, + "npmlog": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", "dev": true, + "optional": true, "requires": { - "isarray": "1.0.0" + "are-we-there-yet": "~1.1.2", + "console-control-strings": "~1.1.0", + "gauge": "~2.7.3", + "set-blocking": "~2.0.0" } }, - "istanbul-lib-coverage": { - "version": "1.1.0", - "bundled": true, - "dev": true + "number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", + "dev": true, + "optional": true }, - "istanbul-lib-hook": { - "version": "1.0.6", - "bundled": true, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", "dev": true, - "requires": { - "append-transform": "0.4.0" - } + "optional": true }, - "istanbul-lib-instrument": { - "version": "1.7.1", - "bundled": true, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", "dev": true, + "optional": true, "requires": { - "babel-generator": "6.24.1", - "babel-template": "6.24.1", - "babel-traverse": "6.24.1", - "babel-types": "6.24.1", - "babylon": "6.17.0", - "istanbul-lib-coverage": "1.1.0", - "semver": "5.3.0" + "wrappy": "1" } }, - "istanbul-lib-report": { - "version": "1.1.0", - "bundled": true, + "os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", "dev": true, - "requires": { - "istanbul-lib-coverage": "1.1.0", - "mkdirp": "0.5.1", - "path-parse": "1.0.5", - "supports-color": "3.2.3" - }, - "dependencies": { - "supports-color": { - "version": "3.2.3", - "bundled": true, - "dev": true, - "requires": { - "has-flag": "1.0.0" - } - } - } + "optional": true }, - "istanbul-lib-source-maps": { - "version": "1.2.0", - "bundled": true, + "os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", "dev": true, - "requires": { - "debug": "2.6.6", - "istanbul-lib-coverage": "1.1.0", - "mkdirp": "0.5.1", - "rimraf": "2.6.1", - "source-map": "0.5.6" - } + "optional": true }, - "istanbul-reports": { - "version": "1.1.0", - "bundled": true, + "osenv": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", + "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", "dev": true, + "optional": true, "requires": { - "handlebars": "4.0.8" + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.0" } }, - "js-tokens": { - "version": "3.0.1", - "bundled": true, - "dev": true + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "dev": true, + "optional": true }, - "jsesc": { - "version": "1.3.0", - "bundled": true, - "dev": true + "process-nextick-args": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", + "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", + "dev": true, + "optional": true }, - "kind-of": { - "version": "3.2.0", - "bundled": true, + "rc": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.7.tgz", + "integrity": "sha512-LdLD8xD4zzLsAT5xyushXDNscEjB7+2ulnl8+r1pnESlYtlJtVSoCMBGr30eDRJ3+2Gq89jK9P9e4tCEH1+ywA==", "dev": true, + "optional": true, "requires": { - "is-buffer": "1.1.5" + "deep-extend": "^0.5.1", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true, + "optional": true + } } }, - "lazy-cache": { - "version": "1.0.4", - "bundled": true, - "dev": true, - "optional": true - }, - "lcid": { - "version": "1.0.0", - "bundled": true, + "readable-stream": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", "dev": true, + "optional": true, "requires": { - "invert-kv": "1.0.0" + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" } }, - "load-json-file": { - "version": "1.1.0", - "bundled": true, + "rimraf": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", + "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==", "dev": true, + "optional": true, "requires": { - "graceful-fs": "4.1.11", - "parse-json": "2.2.0", - "pify": "2.3.0", - "pinkie-promise": "2.0.1", - "strip-bom": "2.0.0" + "glob": "^7.0.5" } }, - "lodash": { - "version": "4.17.4", - "bundled": true, - "dev": true - }, - "longest": { - "version": "1.0.1", - "bundled": true, - "dev": true + "safe-buffer": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz", + "integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==", + "dev": true, + "optional": true }, - "loose-envify": { - "version": "1.3.1", - "bundled": true, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "dev": true, - "requires": { - "js-tokens": "3.0.1" - } + "optional": true }, - "lru-cache": { - "version": "4.0.2", - "bundled": true, + "sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", "dev": true, - "requires": { - "pseudomap": "1.0.2", - "yallist": "2.1.2" - } + "optional": true }, - "md5-hex": { - "version": "1.3.0", - "bundled": true, + "semver": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz", + "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==", "dev": true, - "requires": { - "md5-o-matic": "0.1.1" - } + "optional": true }, - "md5-o-matic": { - "version": "0.1.1", - "bundled": true, - "dev": true + "set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "dev": true, + "optional": true }, - "merge-source-map": { - "version": "1.0.3", - "bundled": true, + "signal-exit": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", + "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", "dev": true, - "requires": { - "source-map": "0.5.6" - } + "optional": true }, - "micromatch": { - "version": "2.3.11", - "bundled": true, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", "dev": true, + "optional": true, "requires": { - "arr-diff": "2.0.0", - "array-unique": "0.2.1", - "braces": "1.8.5", - "expand-brackets": "0.1.5", - "extglob": "0.3.2", - "filename-regex": "2.0.1", - "is-extglob": "1.0.0", - "is-glob": "2.0.1", - "kind-of": "3.2.0", - "normalize-path": "2.1.1", - "object.omit": "2.0.1", - "parse-glob": "3.0.4", - "regex-cache": "0.4.3" + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" } }, - "minimatch": { - "version": "3.0.3", - "bundled": true, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "dev": true, + "optional": true, "requires": { - "brace-expansion": "1.1.7" + "safe-buffer": "~5.1.0" } }, - "minimist": { - "version": "0.0.8", - "bundled": true, - "dev": true - }, - "mkdirp": { - "version": "0.5.1", - "bundled": true, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "dev": true, + "optional": true, "requires": { - "minimist": "0.0.8" + "ansi-regex": "^2.0.0" } }, - "ms": { - "version": "0.7.3", - "bundled": true, - "dev": true + "strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", + "dev": true, + "optional": true }, - "normalize-package-data": { - "version": "2.3.8", - "bundled": true, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", "dev": true, - "requires": { - "hosted-git-info": "2.4.2", - "is-builtin-module": "1.0.0", - "semver": "5.3.0", - "validate-npm-package-license": "3.0.1" - } + "optional": true }, - "normalize-path": { - "version": "2.1.1", - "bundled": true, + "wide-align": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.2.tgz", + "integrity": "sha512-ijDLlyQ7s6x1JgCLur53osjm/UXUYD9+0PbYKrBsYisYXzCxN+HC3mYDNy/dWdmf3AwqwU3CXwDCvsNgGK1S0w==", "dev": true, + "optional": true, "requires": { - "remove-trailing-separator": "1.0.1" + "string-width": "^1.0.2" } }, - "number-is-nan": { - "version": "1.0.1", - "bundled": true, - "dev": true - }, - "object-assign": { - "version": "4.1.1", - "bundled": true, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true, + "optional": true + } + } + }, + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + }, + "get-caller-file": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.2.tgz", + "integrity": "sha1-9wLmMSfn4jHBYKgMFVSstw1QR+U=", + "dev": true + }, + "get-stdin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", + "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=", + "dev": true + }, + "get-value": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", + "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", + "dev": true + }, + "getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "dev": true, + "optional": true, + "requires": { + "assert-plus": "^1.0.0" + } + }, + "glob": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "globals": { + "version": "9.18.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz", + "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==" + }, + "graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=", + "dev": true + }, + "growl": { + "version": "1.10.5", + "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", + "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==", + "dev": true + }, + "har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", + "dev": true, + "optional": true + }, + "har-validator": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.0.3.tgz", + "integrity": "sha1-ukAsJmGU8VlW7xXg/PJCmT9qff0=", + "dev": true, + "optional": true, + "requires": { + "ajv": "^5.1.0", + "har-schema": "^2.0.0" + } + }, + "has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true + }, + "has-symbols": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.0.tgz", + "integrity": "sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q=", + "dev": true + }, + "has-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", + "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", + "dev": true, + "requires": { + "get-value": "^2.0.6", + "has-values": "^1.0.0", + "isobject": "^3.0.0" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", "dev": true - }, - "object.omit": { - "version": "2.0.1", - "bundled": true, + } + } + }, + "has-values": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", + "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", + "dev": true, + "requires": { + "is-number": "^3.0.0", + "kind-of": "^4.0.0" + }, + "dependencies": { + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", "dev": true, "requires": { - "for-own": "0.1.5", - "is-extendable": "0.1.1" + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } } }, - "once": { - "version": "1.4.0", - "bundled": true, + "kind-of": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", + "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", "dev": true, "requires": { - "wrappy": "1.0.2" + "is-buffer": "^1.1.5" } - }, - "optimist": { - "version": "0.6.1", - "bundled": true, + } + } + }, + "hash-base": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.0.4.tgz", + "integrity": "sha1-X8hoaEfs1zSZQDMZprCj8/auSRg=", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "hash.js": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.4.tgz", + "integrity": "sha512-A6RlQvvZEtFS5fLU43IDu0QUmBy+fDO9VMdTXvufKwIkt/rFfvICAViCax5fbDO4zdNzaC3/27ZhKUok5bAJyw==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.0" + } + }, + "he": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz", + "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=", + "dev": true + }, + "hmac-drbg": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", + "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", + "dev": true, + "requires": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, + "htmlparser2": { + "version": "3.9.2", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.9.2.tgz", + "integrity": "sha1-G9+HrMoPP55T+k/M6w9LTLsAszg=", + "dev": true, + "requires": { + "domelementtype": "^1.3.0", + "domhandler": "^2.3.0", + "domutils": "^1.5.1", + "entities": "^1.1.1", + "inherits": "^2.0.1", + "readable-stream": "^2.0.2" + } + }, + "http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "dev": true, + "optional": true, + "requires": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + } + }, + "https-browserify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz", + "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=", + "dev": true + }, + "ice-cap": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/ice-cap/-/ice-cap-0.0.4.tgz", + "integrity": "sha1-im0xq0ysjUtW3k+pRt8zUlYbbhg=", + "dev": true, + "requires": { + "cheerio": "0.20.0", + "color-logger": "0.0.3" + }, + "dependencies": { + "cheerio": { + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-0.20.0.tgz", + "integrity": "sha1-XHEPK6uVZTJyhCugHG6mGzVF7DU=", "dev": true, "requires": { - "minimist": "0.0.8", - "wordwrap": "0.0.3" + "css-select": "~1.2.0", + "dom-serializer": "~0.1.0", + "entities": "~1.1.1", + "htmlparser2": "~3.8.1", + "jsdom": "^7.0.2", + "lodash": "^4.1.0" } }, - "os-homedir": { - "version": "1.0.2", - "bundled": true, + "color-logger": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/color-logger/-/color-logger-0.0.3.tgz", + "integrity": "sha1-2bIt0dlz4Waxi/MT+fSBu6TfIBg=", "dev": true }, - "os-locale": { - "version": "1.4.0", - "bundled": true, + "domhandler": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.3.0.tgz", + "integrity": "sha1-LeWaCCLVAn+r/28DLCsloqir5zg=", "dev": true, "requires": { - "lcid": "1.0.0" + "domelementtype": "1" } }, - "parse-glob": { - "version": "3.0.4", - "bundled": true, + "htmlparser2": { + "version": "3.8.3", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.8.3.tgz", + "integrity": "sha1-mWwosZFRaovoZQGn15dX5ccMEGg=", "dev": true, "requires": { - "glob-base": "0.3.0", - "is-dotfile": "1.0.2", - "is-extglob": "1.0.0", - "is-glob": "2.0.1" + "domelementtype": "1", + "domhandler": "2.3", + "domutils": "1.5", + "entities": "1.0", + "readable-stream": "1.1" + }, + "dependencies": { + "entities": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-1.0.0.tgz", + "integrity": "sha1-sph6o4ITR/zeZCsk/fyeT7cSvyY=", + "dev": true + } } }, - "parse-json": { - "version": "2.2.0", - "bundled": true, - "dev": true, - "requires": { - "error-ex": "1.3.1" - } + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", + "dev": true }, - "path-exists": { - "version": "2.1.0", - "bundled": true, + "readable-stream": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", + "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", "dev": true, "requires": { - "pinkie-promise": "2.0.1" + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" } }, - "path-is-absolute": { - "version": "1.0.1", - "bundled": true, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", "dev": true - }, - "path-parse": { - "version": "1.0.5", - "bundled": true, + } + } + }, + "ieee754": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.12.tgz", + "integrity": "sha512-GguP+DRY+pJ3soyIiGPTvdiVXjZ+DbXOxGpXn3eMvNW4x4irjqXm4wHKscC+TfxSJ0yw/S1F24tqdMNsMZTiLA==", + "dev": true + }, + "indexof": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz", + "integrity": "sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10=", + "dev": true + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "dev": true + }, + "ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "dev": true, + "optional": true + }, + "interpret": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.1.0.tgz", + "integrity": "sha1-ftGxQQxqDg94z5XTuEQMY/eLhhQ=", + "dev": true + }, + "invariant": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", + "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", + "requires": { + "loose-envify": "^1.0.0" + } + }, + "invert-kv": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", + "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=", + "dev": true + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + } + }, + "is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "dev": true + }, + "is-binary-path": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", + "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", + "dev": true, + "requires": { + "binary-extensions": "^1.0.0" + } + }, + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, + "is-builtin-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", + "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", + "dev": true, + "requires": { + "builtin-modules": "^1.0.0" + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + } + }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "dependencies": { + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", "dev": true - }, - "path-type": { - "version": "1.1.0", - "bundled": true, + } + } + }, + "is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true + }, + "is-finite": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", + "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", + "dev": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "is-odd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-odd/-/is-odd-2.0.0.tgz", + "integrity": "sha512-OTiixgpZAT1M4NHgS5IguFp/Vz2VI3U7Goh4/HA1adtwyLtSBrxYlcSYkhpAE07s4fKEcjrFxyvtQBND4vFQyQ==", + "dev": true, + "requires": { + "is-number": "^4.0.0" + }, + "dependencies": { + "is-number": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz", + "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==", + "dev": true + } + } + }, + "is-plain-obj": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", + "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=", + "dev": true + }, + "is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "requires": { + "isobject": "^3.0.1" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + } + } + }, + "is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", + "dev": true, + "optional": true + }, + "is-utf8": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", + "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", + "dev": true + }, + "is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "dev": true + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", + "dev": true, + "optional": true + }, + "js-levenshtein": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/js-levenshtein/-/js-levenshtein-1.1.6.tgz", + "integrity": "sha512-X2BB11YZtrRqY4EnQcLX5Rh373zbK4alC1FW7D7MBhL2gtcC17cTnr6DmfHZeS0s2rTHjUTMMHfG7gO8SSdw+g==", + "dev": true + }, + "js-tokens": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", + "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=" + }, + "jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "dev": true, + "optional": true + }, + "jsdom": { + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-7.2.2.tgz", + "integrity": "sha1-QLQCdwwr2iNGkJa+6Rq2deOx/G4=", + "dev": true, + "optional": true, + "requires": { + "abab": "^1.0.0", + "acorn": "^2.4.0", + "acorn-globals": "^1.0.4", + "cssom": ">= 0.3.0 < 0.4.0", + "cssstyle": ">= 0.2.29 < 0.3.0", + "escodegen": "^1.6.1", + "nwmatcher": ">= 1.3.7 < 2.0.0", + "parse5": "^1.5.1", + "request": "^2.55.0", + "sax": "^1.1.4", + "symbol-tree": ">= 3.1.0 < 4.0.0", + "tough-cookie": "^2.2.0", + "webidl-conversions": "^2.0.0", + "whatwg-url-compat": "~0.6.5", + "xml-name-validator": ">= 2.0.1 < 3.0.0" + }, + "dependencies": { + "parse5": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-1.5.1.tgz", + "integrity": "sha1-m387DeMr543CQBsXVzzK8Pb1nZQ=", "dev": true, - "requires": { - "graceful-fs": "4.1.11", - "pify": "2.3.0", - "pinkie-promise": "2.0.1" - } - }, + "optional": true + } + } + }, + "jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=" + }, + "json-loader": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/json-loader/-/json-loader-0.5.7.tgz", + "integrity": "sha512-QLPs8Dj7lnf3e3QYS1zkCo+4ZwqOiF9d/nZnYozTISxXWCfNs9yuky5rJw4/W34s7POaNlbZmQGaB5NiXCbP4w==", + "dev": true + }, + "json-schema": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", + "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=", + "dev": true, + "optional": true + }, + "json-schema-traverse": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", + "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=", + "dev": true, + "optional": true + }, + "json-stable-stringify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz", + "integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=", + "dev": true, + "requires": { + "jsonify": "~0.0.0" + } + }, + "json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", + "dev": true, + "optional": true + }, + "json5": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", + "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=", + "dev": true + }, + "jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6" + } + }, + "jsonify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", + "integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=", + "dev": true + }, + "jsprim": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", + "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", + "dev": true, + "optional": true, + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.2.3", + "verror": "1.10.0" + } + }, + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + }, + "klaw": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz", + "integrity": "sha1-QIhDO0azsbolnXh4XY6W9zugJDk=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.9" + } + }, + "lazy-cache": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz", + "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4=", + "dev": true + }, + "lcid": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", + "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", + "dev": true, + "requires": { + "invert-kv": "^1.0.0" + } + }, + "levn": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", + "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", + "dev": true, + "optional": true, + "requires": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + } + }, + "load-json-file": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "strip-bom": "^2.0.0" + }, + "dependencies": { "pify": { "version": "2.3.0", - "bundled": true, - "dev": true - }, - "pinkie": { - "version": "2.0.4", - "bundled": true, - "dev": true - }, - "pinkie-promise": { - "version": "2.0.1", - "bundled": true, - "dev": true, - "requires": { - "pinkie": "2.0.4" - } - }, - "pkg-dir": { - "version": "1.0.0", - "bundled": true, - "dev": true, - "requires": { - "find-up": "1.1.2" - } - }, - "preserve": { - "version": "0.2.0", - "bundled": true, - "dev": true - }, - "pseudomap": { - "version": "1.0.2", - "bundled": true, - "dev": true - }, - "randomatic": { - "version": "1.1.6", - "bundled": true, - "dev": true, - "requires": { - "is-number": "2.1.0", - "kind-of": "3.2.0" - } - }, - "read-pkg": { - "version": "1.1.0", - "bundled": true, - "dev": true, - "requires": { - "load-json-file": "1.1.0", - "normalize-package-data": "2.3.8", - "path-type": "1.1.0" - } - }, - "read-pkg-up": { - "version": "1.0.1", - "bundled": true, - "dev": true, - "requires": { - "find-up": "1.1.2", - "read-pkg": "1.1.0" - } - }, - "regenerator-runtime": { - "version": "0.10.5", - "bundled": true, - "dev": true - }, - "regex-cache": { - "version": "0.4.3", - "bundled": true, - "dev": true, - "requires": { - "is-equal-shallow": "0.1.3", - "is-primitive": "2.0.0" - } - }, - "remove-trailing-separator": { - "version": "1.0.1", - "bundled": true, - "dev": true - }, - "repeat-element": { - "version": "1.1.2", - "bundled": true, - "dev": true - }, - "repeat-string": { - "version": "1.6.1", - "bundled": true, - "dev": true - }, - "repeating": { - "version": "2.0.1", - "bundled": true, - "dev": true, - "requires": { - "is-finite": "1.0.2" - } - }, - "require-directory": { - "version": "2.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", "dev": true - }, - "require-main-filename": { + } + } + }, + "loader-runner": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.3.0.tgz", + "integrity": "sha1-9IKuqC1UPgeSFwDVpG7yb9rGuKI=", + "dev": true + }, + "lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "lodash.assignin": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.assignin/-/lodash.assignin-4.2.0.tgz", + "integrity": "sha1-uo31+4QesKPoBEIysOJjqNxqKKI=", + "dev": true + }, + "lodash.bind": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/lodash.bind/-/lodash.bind-4.2.1.tgz", + "integrity": "sha1-euMBfpOWIqwxt9fX3LGzTbFpDTU=", + "dev": true + }, + "lodash.defaults": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", + "integrity": "sha1-0JF4cW/+pN3p5ft7N/bwgCJ0WAw=", + "dev": true + }, + "lodash.filter": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.filter/-/lodash.filter-4.6.0.tgz", + "integrity": "sha1-ZosdSYFgOuHMWm+nYBQ+SAtMSs4=", + "dev": true + }, + "lodash.flatten": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", + "integrity": "sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8=", + "dev": true + }, + "lodash.foreach": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.foreach/-/lodash.foreach-4.5.0.tgz", + "integrity": "sha1-Gmo16s5AEoDH8G3d7DUWWrJ+PlM=", + "dev": true + }, + "lodash.map": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.map/-/lodash.map-4.6.0.tgz", + "integrity": "sha1-dx7Hg540c9nEzeKLGTlMNWL09tM=", + "dev": true + }, + "lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, + "lodash.pick": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.pick/-/lodash.pick-4.4.0.tgz", + "integrity": "sha1-UvBWEP/53tQiYRRB7R/BI6AwAbM=", + "dev": true + }, + "lodash.reduce": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.reduce/-/lodash.reduce-4.6.0.tgz", + "integrity": "sha1-8atrg5KZrUj3hKu/R2WW8DuRTTs=", + "dev": true + }, + "lodash.reject": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.reject/-/lodash.reject-4.6.0.tgz", + "integrity": "sha1-gNZJLcFHCGS79YNTO2UfQqn1JBU=", + "dev": true + }, + "lodash.some": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.some/-/lodash.some-4.6.0.tgz", + "integrity": "sha1-G7nzFO9ri63tE7VJFpsqlF62jk0=", + "dev": true + }, + "longest": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", + "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=", + "dev": true + }, + "loose-envify": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", + "integrity": "sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg=", + "requires": { + "js-tokens": "^3.0.0" + } + }, + "map-cache": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", + "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=", + "dev": true + }, + "map-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", + "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", + "dev": true, + "requires": { + "object-visit": "^1.0.0" + } + }, + "marked": { + "version": "0.3.19", + "resolved": "https://registry.npmjs.org/marked/-/marked-0.3.19.tgz", + "integrity": "sha512-ea2eGWOqNxPcXv8dyERdSr/6FmzvWwzjMxpfGB/sbMccXoct+xY+YukPD+QTUZwyvK7BZwcr4m21WBOW41pAkg==", + "dev": true + }, + "md5.js": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.4.tgz", + "integrity": "sha1-6b296UogpawYsENA/Fdk1bCdkB0=", + "dev": true, + "requires": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1" + } + }, + "memory-fs": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz", + "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=", + "dev": true, + "requires": { + "errno": "^0.1.3", + "readable-stream": "^2.0.1" + } + }, + "miller-rabin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", + "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", + "dev": true, + "requires": { + "bn.js": "^4.0.0", + "brorand": "^1.0.1" + } + }, + "mime-db": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.33.0.tgz", + "integrity": "sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ==", + "dev": true, + "optional": true + }, + "mime-types": { + "version": "2.1.18", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.18.tgz", + "integrity": "sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ==", + "dev": true, + "optional": true, + "requires": { + "mime-db": "~1.33.0" + } + }, + "minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", + "dev": true + }, + "minimalistic-crypto-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", + "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=", + "dev": true + }, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", + "dev": true + }, + "mixin-deep": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", + "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", + "dev": true, + "requires": { + "for-in": "^1.0.2", + "is-extendable": "^1.0.1" + }, + "dependencies": { + "is-extendable": { "version": "1.0.1", - "bundled": true, - "dev": true - }, - "resolve-from": { - "version": "2.0.0", - "bundled": true, - "dev": true - }, - "right-align": { - "version": "0.1.3", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "align-text": "0.1.4" - } - }, - "rimraf": { - "version": "2.6.1", - "bundled": true, - "dev": true, - "requires": { - "glob": "7.1.1" - } - }, - "semver": { - "version": "5.3.0", - "bundled": true, - "dev": true - }, - "set-blocking": { - "version": "2.0.0", - "bundled": true, - "dev": true - }, - "signal-exit": { - "version": "3.0.2", - "bundled": true, - "dev": true - }, - "slide": { - "version": "1.1.6", - "bundled": true, - "dev": true - }, - "source-map": { - "version": "0.5.6", - "bundled": true, - "dev": true - }, - "spawn-wrap": { - "version": "1.2.4", - "bundled": true, - "dev": true, - "requires": { - "foreground-child": "1.5.6", - "mkdirp": "0.5.1", - "os-homedir": "1.0.2", - "rimraf": "2.6.1", - "signal-exit": "2.1.2", - "which": "1.2.14" - }, - "dependencies": { - "signal-exit": { - "version": "2.1.2", - "bundled": true, - "dev": true - } - } - }, - "spdx-correct": { - "version": "1.0.2", - "bundled": true, - "dev": true, - "requires": { - "spdx-license-ids": "1.2.2" - } - }, - "spdx-expression-parse": { - "version": "1.0.4", - "bundled": true, - "dev": true - }, - "spdx-license-ids": { - "version": "1.2.2", - "bundled": true, - "dev": true - }, - "string-width": { - "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", "dev": true, "requires": { - "code-point-at": "1.1.0", - "is-fullwidth-code-point": "1.0.0", - "strip-ansi": "3.0.1" + "is-plain-object": "^2.0.4" } - }, - "strip-ansi": { - "version": "3.0.1", - "bundled": true, - "dev": true, - "requires": { - "ansi-regex": "2.1.1" - } - }, - "strip-bom": { - "version": "2.0.0", - "bundled": true, - "dev": true, - "requires": { - "is-utf8": "0.2.1" - } - }, + } + } + }, + "mkdirp": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", + "dev": true, + "requires": { + "minimist": "0.0.8" + } + }, + "mocha": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-5.2.0.tgz", + "integrity": "sha512-2IUgKDhc3J7Uug+FxMXuqIyYzH7gJjXECKe/w43IGgQHTSj3InJi+yAA7T24L9bQMRKiUEHxEX37G5JpVUGLcQ==", + "dev": true, + "requires": { + "browser-stdout": "1.3.1", + "commander": "2.15.1", + "debug": "3.1.0", + "diff": "3.5.0", + "escape-string-regexp": "1.0.5", + "glob": "7.1.2", + "growl": "1.10.5", + "he": "1.1.1", + "minimatch": "3.0.4", + "mkdirp": "0.5.1", + "supports-color": "5.4.0" + }, + "dependencies": { "supports-color": { - "version": "2.0.0", - "bundled": true, - "dev": true - }, - "test-exclude": { - "version": "4.1.0", - "bundled": true, - "dev": true, - "requires": { - "arrify": "1.0.1", - "micromatch": "2.3.11", - "object-assign": "4.1.1", - "read-pkg-up": "1.0.1", - "require-main-filename": "1.0.1" - } - }, - "to-fast-properties": { - "version": "1.0.3", - "bundled": true, - "dev": true - }, - "trim-right": { - "version": "1.0.1", - "bundled": true, - "dev": true - }, - "uglify-js": { - "version": "2.8.22", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "source-map": "0.5.6", - "uglify-to-browserify": "1.0.2", - "yargs": "3.10.0" - }, - "dependencies": { - "yargs": { - "version": "3.10.0", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "camelcase": "1.2.1", - "cliui": "2.1.0", - "decamelize": "1.2.0", - "window-size": "0.1.0" - } - } - } - }, - "uglify-to-browserify": { - "version": "1.0.2", - "bundled": true, - "dev": true, - "optional": true - }, - "validate-npm-package-license": { - "version": "3.0.1", - "bundled": true, - "dev": true, - "requires": { - "spdx-correct": "1.0.2", - "spdx-expression-parse": "1.0.4" - } - }, - "which": { - "version": "1.2.14", - "bundled": true, - "dev": true, - "requires": { - "isexe": "2.0.0" - } - }, - "which-module": { - "version": "1.0.0", - "bundled": true, - "dev": true - }, - "window-size": { - "version": "0.1.0", - "bundled": true, - "dev": true, - "optional": true - }, - "wordwrap": { - "version": "0.0.3", - "bundled": true, - "dev": true - }, - "wrap-ansi": { - "version": "2.1.0", - "bundled": true, + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", + "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", "dev": true, "requires": { - "string-width": "1.0.2", - "strip-ansi": "3.0.1" + "has-flag": "^3.0.0" } - }, - "wrappy": { - "version": "1.0.2", - "bundled": true, + } + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "nan": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.10.0.tgz", + "integrity": "sha512-bAdJv7fBLhWC+/Bls0Oza+mvTaNQtP+1RyhhhvD95pgUJz6XM5IzgmxOkItJ9tkoCiplvAnXI1tNmmUD/eScyA==", + "dev": true, + "optional": true + }, + "nanomatch": { + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.9.tgz", + "integrity": "sha512-n8R9bS8yQ6eSXaV6jHUpKzD8gLsin02w1HSFiegwrs9E098Ylhw5jdyKPaYqvHknHaSCKTPp7C8dGCQ0q9koXA==", + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "fragment-cache": "^0.2.1", + "is-odd": "^2.0.0", + "is-windows": "^1.0.2", + "kind-of": "^6.0.2", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", "dev": true }, - "write-file-atomic": { - "version": "1.3.4", - "bundled": true, - "dev": true, - "requires": { - "graceful-fs": "4.1.11", - "imurmurhash": "0.1.4", - "slide": "1.1.6" - } - }, - "y18n": { - "version": "3.2.1", - "bundled": true, + "array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", "dev": true }, - "yallist": { - "version": "2.1.2", - "bundled": true, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", "dev": true - }, - "yargs": { - "version": "7.1.0", - "bundled": true, - "dev": true, - "requires": { - "camelcase": "3.0.0", - "cliui": "3.2.0", - "decamelize": "1.2.0", - "get-caller-file": "1.0.2", - "os-locale": "1.4.0", - "read-pkg-up": "1.0.1", - "require-directory": "2.1.1", - "require-main-filename": "1.0.1", - "set-blocking": "2.0.0", - "string-width": "1.0.2", - "which-module": "1.0.0", - "y18n": "3.2.1", - "yargs-parser": "5.0.0" - }, - "dependencies": { - "camelcase": { - "version": "3.0.0", - "bundled": true, - "dev": true - }, - "cliui": { - "version": "3.2.0", - "bundled": true, - "dev": true, - "requires": { - "string-width": "1.0.2", - "strip-ansi": "3.0.1", - "wrap-ansi": "2.1.0" - } - } - } - }, - "yargs-parser": { - "version": "5.0.0", - "bundled": true, - "dev": true, - "requires": { - "camelcase": "3.0.0" - }, - "dependencies": { - "camelcase": { - "version": "3.0.0", - "bundled": true, - "dev": true - } - } } } }, + "neo-async": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.5.1.tgz", + "integrity": "sha512-3KL3fvuRkZ7s4IFOMfztb7zJp3QaVWnBeGoJlgB38XnCRPj/0tLzzLG5IB8NYOHbJ8g8UGrgZv44GLDk6CxTxA==", + "dev": true + }, + "node-libs-browser": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.1.0.tgz", + "integrity": "sha512-5AzFzdoIMb89hBGMZglEegffzgRg+ZFoUmisQ8HI4j1KDdpx13J0taNp2y9xPbur6W61gepGDDotGBVQ7mfUCg==", + "dev": true, + "requires": { + "assert": "^1.1.1", + "browserify-zlib": "^0.2.0", + "buffer": "^4.3.0", + "console-browserify": "^1.1.0", + "constants-browserify": "^1.0.0", + "crypto-browserify": "^3.11.0", + "domain-browser": "^1.1.1", + "events": "^1.0.0", + "https-browserify": "^1.0.0", + "os-browserify": "^0.3.0", + "path-browserify": "0.0.0", + "process": "^0.11.10", + "punycode": "^1.2.4", + "querystring-es3": "^0.2.0", + "readable-stream": "^2.3.3", + "stream-browserify": "^2.0.1", + "stream-http": "^2.7.2", + "string_decoder": "^1.0.0", + "timers-browserify": "^2.0.4", + "tty-browserify": "0.0.0", + "url": "^0.11.0", + "util": "^0.10.3", + "vm-browserify": "0.0.4" + } + }, + "node-releases": { + "version": "1.1.25", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.25.tgz", + "integrity": "sha512-fI5BXuk83lKEoZDdH3gRhtsNgh05/wZacuXkgbiYkceE7+QIMXOg98n9ZV7mz27B+kFHnqHcUpscZZlGRSmTpQ==", + "dev": true, + "requires": { + "semver": "^5.3.0" + } + }, + "normalize-package-data": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz", + "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==", + "dev": true, + "requires": { + "hosted-git-info": "^2.1.4", + "is-builtin-module": "^1.0.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "normalize-path": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", + "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", + "dev": true, + "requires": { + "remove-trailing-separator": "^1.0.1" + } + }, + "nth-check": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.1.tgz", + "integrity": "sha1-mSms32KPwsQQmN6rgqxYDPFJquQ=", + "dev": true, + "requires": { + "boolbase": "~1.0.0" + } + }, + "number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", + "dev": true + }, + "nwmatcher": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/nwmatcher/-/nwmatcher-1.4.4.tgz", + "integrity": "sha512-3iuY4N5dhgMpCUrOVnuAdGrgxVqV2cJpM+XNccjR2DKOB1RUP0aA+wGXEiNziG/UKboFyGBIoKOaNlJxx8bciQ==", + "dev": true, + "optional": true + }, "oauth-sign": { "version": "0.8.2", "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz", @@ -5785,14 +5778,78 @@ "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", "dev": true }, - "object.omit": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", - "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=", + "object-copy": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", + "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", + "dev": true, + "requires": { + "copy-descriptor": "^0.1.0", + "define-property": "^0.2.5", + "kind-of": "^3.0.3" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + } + } + }, + "object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true + }, + "object-visit": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", + "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", + "dev": true, + "requires": { + "isobject": "^3.0.0" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + } + } + }, + "object.assign": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz", + "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==", + "dev": true, + "requires": { + "define-properties": "^1.1.2", + "function-bind": "^1.1.1", + "has-symbols": "^1.0.0", + "object-keys": "^1.0.11" + } + }, + "object.pick": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", + "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", "dev": true, "requires": { - "for-own": "0.1.5", - "is-extendable": "0.1.1" + "isobject": "^3.0.1" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + } } }, "once": { @@ -5801,7 +5858,7 @@ "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", "dev": true, "requires": { - "wrappy": "1.0.2" + "wrappy": "1" } }, "optionator": { @@ -5811,24 +5868,18 @@ "dev": true, "optional": true, "requires": { - "deep-is": "0.1.3", - "fast-levenshtein": "2.0.6", - "levn": "0.3.0", - "prelude-ls": "1.1.2", - "type-check": "0.3.2", - "wordwrap": "1.0.0" + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.4", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "wordwrap": "~1.0.0" } }, "os-browserify": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.2.1.tgz", - "integrity": "sha1-Y/xMzuXS13Y9Jrv4YBB45sLgBE8=", - "dev": true - }, - "os-homedir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", - "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz", + "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=", "dev": true }, "os-locale": { @@ -5837,55 +5888,37 @@ "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", "dev": true, "requires": { - "lcid": "1.0.0" + "lcid": "^1.0.0" } }, - "os-tmpdir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", - "dev": true - }, "output-file-sync": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/output-file-sync/-/output-file-sync-1.1.2.tgz", - "integrity": "sha1-0KM+7+YaIF+suQCS6CZZjVJFznY=", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/output-file-sync/-/output-file-sync-2.0.1.tgz", + "integrity": "sha512-mDho4qm7WgIXIGf4eYU1RHN2UU5tPfVYVSRwDJw0uTmj35DQUt/eNp19N7v6T3SrR0ESTEf2up2CGO73qI35zQ==", "dev": true, "requires": { - "graceful-fs": "4.1.11", - "mkdirp": "0.5.1", - "object-assign": "4.1.1" + "graceful-fs": "^4.1.11", + "is-plain-obj": "^1.1.0", + "mkdirp": "^0.5.1" } }, "pako": { - "version": "0.2.9", - "resolved": "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz", - "integrity": "sha1-8/dSL073gjSNqBYbrZ7P1Rv4OnU=", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.6.tgz", + "integrity": "sha512-lQe48YPsMJAig+yngZ87Lus+NF+3mtu7DVOBu6b/gHO1YpKwIj5AWjZ/TOS7i46HD/UixzWb1zeWDZfGZ3iYcg==", "dev": true }, "parse-asn1": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.0.tgz", - "integrity": "sha1-N8T5t+06tlx0gXtfJICTf7+XxxI=", - "dev": true, - "requires": { - "asn1.js": "4.9.1", - "browserify-aes": "1.0.6", - "create-hash": "1.1.3", - "evp_bytestokey": "1.0.0", - "pbkdf2": "3.0.12" - } - }, - "parse-glob": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz", - "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.1.tgz", + "integrity": "sha512-KPx7flKXg775zZpnp9SxJlz00gTd4BmJ2yJufSc44gMCRrRQ7NSzAcSJQfifuOLgW6bEi+ftrALtsgALeB2Adw==", "dev": true, "requires": { - "glob-base": "0.3.0", - "is-dotfile": "1.0.3", - "is-extglob": "1.0.0", - "is-glob": "2.0.1" + "asn1.js": "^4.0.0", + "browserify-aes": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.0", + "pbkdf2": "^3.0.3" } }, "parse-json": { @@ -5894,15 +5927,23 @@ "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", "dev": true, "requires": { - "error-ex": "1.3.1" + "error-ex": "^1.2.0" } }, "parse5": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-1.5.1.tgz", - "integrity": "sha1-m387DeMr543CQBsXVzzK8Pb1nZQ=", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-3.0.3.tgz", + "integrity": "sha512-rgO9Zg5LLLkfJF9E6CCmXlSE4UVceloys8JrFqCcHloC3usd/kJCyPDwH2SOlzix2j3xaP9sUX3e8+kvkuleAA==", "dev": true, - "optional": true + "requires": { + "@types/node": "*" + } + }, + "pascalcase": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", + "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", + "dev": true }, "path-browserify": { "version": "0.0.0", @@ -5910,14 +5951,11 @@ "integrity": "sha1-oLhwcpquIUAFt9UDLsLLuw+0RRo=", "dev": true }, - "path-exists": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", - "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", - "dev": true, - "requires": { - "pinkie-promise": "2.0.1" - } + "path-dirname": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz", + "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=", + "dev": true }, "path-is-absolute": { "version": "1.0.1", @@ -5926,9 +5964,9 @@ "dev": true }, "path-parse": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.5.tgz", - "integrity": "sha1-PBrfhx6pzWyUMbbqK9dKD/BVxME=", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", "dev": true }, "path-type": { @@ -5937,37 +5975,39 @@ "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", "dev": true, "requires": { - "graceful-fs": "4.1.11", - "pify": "2.3.0", - "pinkie-promise": "2.0.1" + "graceful-fs": "^4.1.2", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, + "dependencies": { + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + } } }, "pbkdf2": { - "version": "3.0.12", - "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.12.tgz", - "integrity": "sha1-vjZ4XFBn6kjYBv+SMojF91C2uKI=", + "version": "3.0.16", + "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.16.tgz", + "integrity": "sha512-y4CXP3thSxqf7c0qmOF+9UeOTrifiVTIM+u7NWlq+PRsHbr7r7dpCmvzrZxa96JJUNi0Y5w9VqG5ZNeCVMoDcA==", "dev": true, "requires": { - "create-hash": "1.1.3", - "create-hmac": "1.1.6", - "ripemd160": "2.0.1", - "safe-buffer": "5.1.1", - "sha.js": "2.4.8" + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4", + "ripemd160": "^2.0.1", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" } }, "performance-now": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-0.2.0.tgz", - "integrity": "sha1-M+8wxcd9TqIcWlOGnZG1bY8lVeU=", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", "dev": true, "optional": true }, - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", - "dev": true - }, "pinkie": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", @@ -5980,35 +6020,26 @@ "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", "dev": true, "requires": { - "pinkie": "2.0.4" + "pinkie": "^2.0.0" } }, - "pkg-dir": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-1.0.0.tgz", - "integrity": "sha1-ektQio1bstYp1EcFb/TpyTFM89Q=", - "dev": true, - "requires": { - "find-up": "1.1.2" - } + "posix-character-classes": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", + "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", + "dev": true }, "prelude-ls": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", - "dev": true - }, - "preserve": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz", - "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=", - "dev": true + "dev": true, + "optional": true }, "private": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/private/-/private-0.1.7.tgz", - "integrity": "sha1-aM5eih7woju1cMwoU3tTMqumPvE=", - "dev": true + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", + "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==" }, "process": { "version": "0.11.10", @@ -6017,37 +6048,35 @@ "dev": true }, "process-nextick-args": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz", - "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", + "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", "dev": true }, - "promise": { - "version": "7.3.1", - "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", - "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", - "dev": true, - "requires": { - "asap": "2.0.5" - } - }, "prr": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/prr/-/prr-0.0.0.tgz", - "integrity": "sha1-GoS4WQgyVQFBGFPQCB7j+obikmo=", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", + "integrity": "sha1-0/wRS6BplaRexok/SEzrHXj19HY=", "dev": true }, + "psl": { + "version": "1.1.28", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.1.28.tgz", + "integrity": "sha512-+AqO1Ae+N/4r7Rvchrdm432afjT9hqJRyBN3DQv9At0tPz4hIFSGKbq64fN9dVoCow4oggIIax5/iONx0r9hZw==", + "dev": true, + "optional": true + }, "public-encrypt": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.0.tgz", - "integrity": "sha1-OfaZ86RlYN1eusvKaTyvfGXBjMY=", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.2.tgz", + "integrity": "sha512-4kJ5Esocg8X3h8YgJsKAuoesBgB7mqH3eowiDzMUPKiRDDE7E/BqqZD1hnTByIaAFiwAw246YEltSq7tdrOH0Q==", "dev": true, "requires": { - "bn.js": "4.11.7", - "browserify-rsa": "4.0.1", - "create-hash": "1.1.3", - "parse-asn1": "5.1.0", - "randombytes": "2.0.5" + "bn.js": "^4.1.0", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "parse-asn1": "^5.0.0", + "randombytes": "^2.0.1" } }, "punycode": { @@ -6057,10 +6086,11 @@ "dev": true }, "qs": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.4.0.tgz", - "integrity": "sha1-E+JtKK1rD/qpExLNO/cI7TUecjM=", - "dev": true + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "dev": true, + "optional": true }, "querystring": { "version": "0.2.0", @@ -6074,54 +6104,23 @@ "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=", "dev": true }, - "randomatic": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-1.1.7.tgz", - "integrity": "sha512-D5JUjPyJbaJDkuAazpVnSfVkLlpeO3wDlPROTMLGKG1zMFNFRgrciKo1ltz/AzNTkqE0HzDx655QOL51N06how==", + "randombytes": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.0.6.tgz", + "integrity": "sha512-CIQ5OFxf4Jou6uOKe9t1AOgqpeU5fd70A8NPdHSGeYXqXsPe6peOwI0cUl88RWZ6sP1vPMV3avd/R6cZ5/sP1A==", "dev": true, "requires": { - "is-number": "3.0.0", - "kind-of": "4.0.0" - }, - "dependencies": { - "is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "dev": true, - "requires": { - "kind-of": "3.2.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "1.1.5" - } - } - } - }, - "kind-of": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", - "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", - "dev": true, - "requires": { - "is-buffer": "1.1.5" - } - } + "safe-buffer": "^5.1.0" } }, - "randombytes": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.0.5.tgz", - "integrity": "sha512-8T7Zn1AhMsQ/HI1SjcCfT/t4ii3eAqco3yOcSzS4mozsOz69lHLsoMXmF9nZgnFanYscnSlUSgs8uZyKzpE6kg==", + "randomfill": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", + "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", "dev": true, "requires": { - "safe-buffer": "5.1.1" + "randombytes": "^2.0.5", + "safe-buffer": "^5.1.0" } }, "read-pkg": { @@ -6130,9 +6129,9 @@ "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", "dev": true, "requires": { - "load-json-file": "1.1.0", - "normalize-package-data": "2.4.0", - "path-type": "1.1.0" + "load-json-file": "^1.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^1.0.0" } }, "read-pkg-up": { @@ -6141,23 +6140,44 @@ "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", "dev": true, "requires": { - "find-up": "1.1.2", - "read-pkg": "1.1.0" + "find-up": "^1.0.0", + "read-pkg": "^1.0.0" + }, + "dependencies": { + "find-up": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", + "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", + "dev": true, + "requires": { + "path-exists": "^2.0.0", + "pinkie-promise": "^2.0.0" + } + }, + "path-exists": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", + "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", + "dev": true, + "requires": { + "pinkie-promise": "^2.0.0" + } + } } }, "readable-stream": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.3.tgz", - "integrity": "sha512-m+qzzcn7KUxEmd1gMbchF+Y2eIUbieUaxkWtptyHywrX0rE8QEYqPC07Vuy4Wm32/xE16NcdBctb8S0Xe/5IeQ==", + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", "dev": true, "requires": { - "core-util-is": "1.0.2", - "inherits": "2.0.3", - "isarray": "1.0.0", - "process-nextick-args": "1.0.7", - "safe-buffer": "5.1.1", - "string_decoder": "1.0.3", - "util-deprecate": "1.0.2" + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" } }, "readdirp": { @@ -6166,91 +6186,84 @@ "integrity": "sha1-TtCtBg3zBzMAxIRANz9y0cxkLXg=", "dev": true, "requires": { - "graceful-fs": "4.1.11", - "minimatch": "3.0.4", - "readable-stream": "2.3.3", - "set-immediate-shim": "1.0.1" + "graceful-fs": "^4.1.2", + "minimatch": "^3.0.2", + "readable-stream": "^2.0.2", + "set-immediate-shim": "^1.0.1" } }, - "rechoir": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", - "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=", + "regenerate": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz", + "integrity": "sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg==" + }, + "regenerate-unicode-properties": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-8.1.0.tgz", + "integrity": "sha512-LGZzkgtLY79GeXLm8Dp0BVLdQlWICzBnJz/ipWUgo59qBaZ+BHtq51P2q1uVZlppMuUAT37SDk39qUbjTWB7bA==", "dev": true, "requires": { - "resolve": "1.3.3" + "regenerate": "^1.4.0" } }, - "regenerate": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.3.2.tgz", - "integrity": "sha1-0ZQcZ7rUN+G+dkM63Vs4X5WxkmA=", - "dev": true - }, "regenerator-runtime": { - "version": "0.10.5", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz", - "integrity": "sha1-M2w+/BIgrc7dosn6tntaeVWjNlg=" + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==" }, "regenerator-transform": { - "version": "0.9.11", - "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.9.11.tgz", - "integrity": "sha1-On0GdSDLe3F2dp61/4aGkb7+EoM=", - "dev": true, + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.10.1.tgz", + "integrity": "sha512-PJepbvDbuK1xgIgnau7Y90cwaAmO/LCLMI2mPvaXq2heGMR3aWW5/BQvYrhJ8jgmQjXewXvBjzfqKcVOmhjZ6Q==", "requires": { - "babel-runtime": "6.23.0", - "babel-types": "6.25.0", - "private": "0.1.7" + "babel-runtime": "^6.18.0", + "babel-types": "^6.19.0", + "private": "^0.1.6" } }, - "regex-cache": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.3.tgz", - "integrity": "sha1-mxpsNdTQ3871cRrmUejp09cRQUU=", + "regex-not": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", + "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", "dev": true, "requires": { - "is-equal-shallow": "0.1.3", - "is-primitive": "2.0.0" + "extend-shallow": "^3.0.2", + "safe-regex": "^1.1.0" } }, + "regexp-tree": { + "version": "0.1.11", + "resolved": "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.11.tgz", + "integrity": "sha512-7/l/DgapVVDzZobwMCCgMlqiqyLFJ0cduo/j+3BcDJIB+yJdsYCfKuI3l/04NV+H/rfNRdPIDbXNZHM9XvQatg==", + "dev": true + }, "regexpu-core": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-2.0.0.tgz", "integrity": "sha1-SdA4g3uNz4v6W5pCE5k45uoq4kA=", - "dev": true, "requires": { - "regenerate": "1.3.2", - "regjsgen": "0.2.0", - "regjsparser": "0.1.5" + "regenerate": "^1.2.1", + "regjsgen": "^0.2.0", + "regjsparser": "^0.1.4" } }, "regjsgen": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz", - "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=", - "dev": true + "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=" }, "regjsparser": { "version": "0.1.5", "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz", "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=", - "dev": true, "requires": { - "jsesc": "0.5.0" - }, - "dependencies": { - "jsesc": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", - "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", - "dev": true - } + "jsesc": "~0.5.0" } }, "remove-trailing-separator": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.0.2.tgz", - "integrity": "sha1-abBi2XhyetFNxrVrpKt3L9jXBRE=", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", + "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=", "dev": true }, "repeat-element": { @@ -6271,38 +6284,48 @@ "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", "dev": true, "requires": { - "is-finite": "1.0.2" + "is-finite": "^1.0.0" } }, "request": { - "version": "2.81.0", - "resolved": "https://registry.npmjs.org/request/-/request-2.81.0.tgz", - "integrity": "sha1-xpKJRqDgbF+Nb4qTM0af/aRimKA=", + "version": "2.87.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.87.0.tgz", + "integrity": "sha512-fcogkm7Az5bsS6Sl0sibkbhcKsnyon/jV1kF3ajGmF0c8HrttdKTPRT9hieOaQHA5HEq6r8OyWOo/o781C1tNw==", "dev": true, "optional": true, "requires": { - "aws-sign2": "0.6.0", - "aws4": "1.6.0", - "caseless": "0.12.0", - "combined-stream": "1.0.5", - "extend": "3.0.1", - "forever-agent": "0.6.1", - "form-data": "2.1.4", - "har-validator": "4.2.1", - "hawk": "3.1.3", - "http-signature": "1.1.1", - "is-typedarray": "1.0.0", - "isstream": "0.1.2", - "json-stringify-safe": "5.0.1", - "mime-types": "2.1.15", - "oauth-sign": "0.8.2", - "performance-now": "0.2.0", - "qs": "6.4.0", - "safe-buffer": "5.1.1", - "stringstream": "0.0.5", - "tough-cookie": "2.3.2", - "tunnel-agent": "0.6.0", - "uuid": "3.1.0" + "aws-sign2": "~0.7.0", + "aws4": "^1.6.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.5", + "extend": "~3.0.1", + "forever-agent": "~0.6.1", + "form-data": "~2.3.1", + "har-validator": "~5.0.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.17", + "oauth-sign": "~0.8.2", + "performance-now": "^2.1.0", + "qs": "~6.5.1", + "safe-buffer": "^5.1.1", + "tough-cookie": "~2.3.3", + "tunnel-agent": "^0.6.0", + "uuid": "^3.1.0" + }, + "dependencies": { + "tough-cookie": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.4.tgz", + "integrity": "sha512-TZ6TTfI5NtZnuyy/Kecv+CnoROnyXn2DN97LontgQpCwsX2XyLYCC0ENhYkehSOwAp8rTQKc/NUIF7BkQ5rKLA==", + "dev": true, + "optional": true, + "requires": { + "punycode": "^1.4.1" + } + } } }, "require-directory": { @@ -6318,39 +6341,67 @@ "dev": true }, "resolve": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.3.3.tgz", - "integrity": "sha1-ZVkHw0aahoDcLeOidaj91paR8OU=", + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.11.1.tgz", + "integrity": "sha512-vIpgF6wfuJOZI7KKKSP+HmiKggadPQAdsp5HiC1mvqnfp0gF1vdwgBWZIdrVft9pgqoMFQN+R7BSWZiBxx+BBw==", "dev": true, "requires": { - "path-parse": "1.0.5" + "path-parse": "^1.0.6" } }, + "resolve-url": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", + "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", + "dev": true + }, + "ret": { + "version": "0.1.15", + "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", + "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", + "dev": true + }, "right-align": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz", "integrity": "sha1-YTObci/mo1FWiSENJOFMlhSGE+8=", "dev": true, "requires": { - "align-text": "0.1.4" + "align-text": "^0.1.1" } }, "ripemd160": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.1.tgz", - "integrity": "sha1-D0WEKVxTo2KK9+bXmsohzlfRxuc=", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", + "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", "dev": true, "requires": { - "hash-base": "2.0.2", - "inherits": "2.0.3" + "hash-base": "^3.0.0", + "inherits": "^2.0.1" } }, "safe-buffer": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz", - "integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "dev": true }, + "safe-regex": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", + "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", + "dev": true, + "requires": { + "ret": "~0.1.10" + } + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true, + "optional": true + }, "sax": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", @@ -6359,10 +6410,9 @@ "optional": true }, "semver": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz", - "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=", - "dev": true + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz", + "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==" }, "set-blocking": { "version": "2.0.0", @@ -6373,39 +6423,46 @@ "set-immediate-shim": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz", - "integrity": "sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E=", - "dev": true - }, - "setimmediate": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", - "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=", + "integrity": "sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E=", "dev": true }, - "sha.js": { - "version": "2.4.8", - "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.8.tgz", - "integrity": "sha1-NwaMLEdra69ALRSknGf1l5IfY08=", + "set-value": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.0.tgz", + "integrity": "sha512-hw0yxk9GT/Hr5yJEYnHNKYXkIA8mVJgd9ditYZCe16ZczcaELYYcfvaXesNACk2O8O0nTiPQcQhGUQj8JLzeeg==", "dev": true, "requires": { - "inherits": "2.0.3" + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.3", + "split-string": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } } }, - "shell-escape": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/shell-escape/-/shell-escape-0.2.0.tgz", - "integrity": "sha1-aP0CXrBJC09WegJ/C/IkgLX4QTM=", + "setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=", "dev": true }, - "shelljs": { - "version": "0.7.8", - "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.7.8.tgz", - "integrity": "sha1-3svPh0sNHl+3LhSxZKloMEjprLM=", + "sha.js": { + "version": "2.4.11", + "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", + "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", "dev": true, "requires": { - "glob": "7.1.2", - "interpret": "1.0.3", - "rechoir": "0.6.2" + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" } }, "should": { @@ -6414,11 +6471,11 @@ "integrity": "sha1-kPVRRVUtAc/CAGZuToGKHJZw7aI=", "dev": true, "requires": { - "should-equal": "1.0.1", - "should-format": "3.0.3", - "should-type": "1.4.0", - "should-type-adaptors": "1.0.1", - "should-util": "1.0.0" + "should-equal": "^1.0.0", + "should-format": "^3.0.2", + "should-type": "^1.4.0", + "should-type-adaptors": "^1.0.1", + "should-util": "^1.0.0" } }, "should-equal": { @@ -6427,7 +6484,7 @@ "integrity": "sha1-C26VFvJgGp+wuy3MNpr6HH4gCvc=", "dev": true, "requires": { - "should-type": "1.4.0" + "should-type": "^1.0.0" } }, "should-format": { @@ -6436,8 +6493,8 @@ "integrity": "sha1-m/yPdPo5IFxT04w01xcwPidxJPE=", "dev": true, "requires": { - "should-type": "1.4.0", - "should-type-adaptors": "1.0.1" + "should-type": "^1.3.0", + "should-type-adaptors": "^1.0.1" } }, "should-type": { @@ -6447,13 +6504,13 @@ "dev": true }, "should-type-adaptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/should-type-adaptors/-/should-type-adaptors-1.0.1.tgz", - "integrity": "sha1-7+VVPN9oz/ZuXF9RtxLcNRx3vqo=", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/should-type-adaptors/-/should-type-adaptors-1.1.0.tgz", + "integrity": "sha512-JA4hdoLnN+kebEp2Vs8eBe9g7uy0zbRo+RMcU0EsNy+R+k049Ki+N5tT5Jagst2g7EAja+euFuoXFCa8vIklfA==", "dev": true, "requires": { - "should-type": "1.4.0", - "should-util": "1.0.0" + "should-type": "^1.3.0", + "should-util": "^1.0.0" } }, "should-util": { @@ -6462,93 +6519,231 @@ "integrity": "sha1-yYzaN0qmsZDfi6h8mInCtNtiAGM=", "dev": true }, - "slash": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz", - "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=", - "dev": true + "snapdragon": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", + "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", + "dev": true, + "requires": { + "base": "^0.11.1", + "debug": "^2.2.0", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "map-cache": "^0.2.2", + "source-map": "^0.5.6", + "source-map-resolve": "^0.5.0", + "use": "^3.1.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } }, - "sntp": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz", - "integrity": "sha1-ZUEYTMkK7qbG57NeJlkIJEPGYZg=", + "snapdragon-node": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", + "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", + "dev": true, + "requires": { + "define-property": "^1.0.0", + "isobject": "^3.0.0", + "snapdragon-util": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + } + } + }, + "snapdragon-util": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", + "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", "dev": true, - "optional": true, "requires": { - "hoek": "2.16.3" + "kind-of": "^3.2.0" } }, "source-list-map": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-1.1.2.tgz", - "integrity": "sha1-mIkBnRAkzOVc3AaUmDN+9hhqEaE=", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.0.tgz", + "integrity": "sha512-I2UmuJSRr/T8jisiROLU3A3ltr+swpniSmNPI4Ml3ZCX6tVnDsuZzK7F2hl5jTqbZBWCEKlj5HRQiPExXLgE8A==", "dev": true }, "source-map": { - "version": "0.5.6", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz", - "integrity": "sha1-dc449SvwczxafwwRjYEzSiu19BI=", + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", "dev": true }, - "source-map-support": { - "version": "0.4.15", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.15.tgz", - "integrity": "sha1-AyAt9lwG0r2MfsI2KhkwVv7407E=", + "source-map-resolve": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz", + "integrity": "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==", "dev": true, "requires": { - "source-map": "0.5.6" + "atob": "^2.1.1", + "decode-uri-component": "^0.2.0", + "resolve-url": "^0.2.1", + "source-map-url": "^0.4.0", + "urix": "^0.1.0" } }, + "source-map-url": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", + "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=", + "dev": true + }, "spdx-correct": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-1.0.2.tgz", - "integrity": "sha1-SzBz2TP/UfORLwOsVRlJikFQ20A=", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.0.0.tgz", + "integrity": "sha512-N19o9z5cEyc8yQQPukRCZ9EUmb4HUpnrmaL/fxS2pBo2jbfcFRVuFZ/oFC+vZz0MNNk0h80iMn5/S6qGZOL5+g==", "dev": true, "requires": { - "spdx-license-ids": "1.2.2" + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" } }, - "spdx-expression-parse": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-1.0.4.tgz", - "integrity": "sha1-m98vIOH0DtRH++JzJmGR/O1RYmw=", + "spdx-exceptions": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.1.0.tgz", + "integrity": "sha512-4K1NsmrlCU1JJgUrtgEeTVyfx8VaYea9J9LvARxhbHtVtohPs/gFGG5yy49beySjlIMhhXZ4QqujIZEfS4l6Cg==", "dev": true }, + "spdx-expression-parse": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", + "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", + "dev": true, + "requires": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, "spdx-license-ids": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-1.2.2.tgz", - "integrity": "sha1-yd96NCRZSt5r0RkA1ZZpbcBrrFc=", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.0.tgz", + "integrity": "sha512-2+EPwgbnmOIl8HjGBXXMd9NAu02vLjOO1nWw4kmeRDFyHn+M/ETfHxQUK0oXg8ctgVnl9t3rosNVsZ1jG61nDA==", "dev": true }, - "spec-xunit-file": { - "version": "0.0.1-3", - "resolved": "https://registry.npmjs.org/spec-xunit-file/-/spec-xunit-file-0.0.1-3.tgz", - "integrity": "sha1-hVpmq4w4LrMWXfkoqB0HSQKdI4Y=", - "dev": true + "split-string": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", + "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", + "dev": true, + "requires": { + "extend-shallow": "^3.0.0" + } }, "sshpk": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.13.1.tgz", - "integrity": "sha1-US322mKHFEMW3EwY/hzx2UBzm+M=", + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.14.2.tgz", + "integrity": "sha1-xvxhZIo9nE52T9P8306hBeSSupg=", "dev": true, "optional": true, "requires": { - "asn1": "0.2.3", - "assert-plus": "1.0.0", - "bcrypt-pbkdf": "1.0.1", - "dashdash": "1.14.1", - "ecc-jsbn": "0.1.1", - "getpass": "0.1.7", - "jsbn": "0.1.1", - "tweetnacl": "0.14.5" + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + } + }, + "static-extend": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", + "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", + "dev": true, + "requires": { + "define-property": "^0.2.5", + "object-copy": "^0.1.0" }, "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", "dev": true, - "optional": true + "requires": { + "is-descriptor": "^0.1.0" + } } } }, @@ -6558,30 +6753,21 @@ "integrity": "sha1-ZiZu5fm9uZQKTkUUyvtDu3Hlyds=", "dev": true, "requires": { - "inherits": "2.0.3", - "readable-stream": "2.3.3" + "inherits": "~2.0.1", + "readable-stream": "^2.0.2" } }, "stream-http": { - "version": "2.7.2", - "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.7.2.tgz", - "integrity": "sha512-c0yTD2rbQzXtSsFSVhtpvY/vS6u066PcXOX9kBB3mSO76RiUQzL340uJkGBWnlBg4/HZzqiUXtaVA7wcRcJgEw==", - "dev": true, - "requires": { - "builtin-status-codes": "3.0.0", - "inherits": "2.0.3", - "readable-stream": "2.3.3", - "to-arraybuffer": "1.0.1", - "xtend": "4.0.1" - } - }, - "string_decoder": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", - "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", + "version": "2.8.3", + "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz", + "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==", "dev": true, "requires": { - "safe-buffer": "5.1.1" + "builtin-status-codes": "^3.0.0", + "inherits": "^2.0.1", + "readable-stream": "^2.3.6", + "to-arraybuffer": "^1.0.0", + "xtend": "^4.0.0" } }, "string-width": { @@ -6590,25 +6776,26 @@ "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", "dev": true, "requires": { - "code-point-at": "1.1.0", - "is-fullwidth-code-point": "1.0.0", - "strip-ansi": "3.0.1" + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" } }, - "stringstream": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz", - "integrity": "sha1-TkhM1N5aC7vuGORjB3EKioFiGHg=", + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "dev": true, - "optional": true + "requires": { + "safe-buffer": "~5.1.0" + } }, "strip-ansi": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "dev": true, "requires": { - "ansi-regex": "2.1.1" + "ansi-regex": "^2.0.0" } }, "strip-bom": { @@ -6617,14 +6804,13 @@ "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", "dev": true, "requires": { - "is-utf8": "0.2.1" + "is-utf8": "^0.2.0" } }, "supports-color": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", - "dev": true + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" }, "symbol-tree": { "version": "3.2.2", @@ -6633,58 +6819,112 @@ "dev": true, "optional": true }, - "sync-request": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/sync-request/-/sync-request-3.0.1.tgz", - "integrity": "sha1-yqEjWq+Im6UBB2oYNMQ2gwqC+3M=", - "dev": true, - "requires": { - "concat-stream": "1.6.0", - "http-response-object": "1.1.0", - "then-request": "2.2.0" - } - }, "taffydb": { - "version": "2.7.2", - "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.7.2.tgz", - "integrity": "sha1-e/gQalwaSCUbPjvAoOFzJIn9Dcg=", + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.7.3.tgz", + "integrity": "sha1-KtNxaWKUmPylvIQkMJbTzeDsOjQ=", "dev": true }, "tapable": { - "version": "0.2.6", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-0.2.6.tgz", - "integrity": "sha1-IGvo4YiGC1FEJTdebxrom/sB/Y0=", + "version": "0.2.8", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-0.2.8.tgz", + "integrity": "sha1-mTcqXJmb8t8WCvwNdL7U9HlIzSI=", "dev": true }, - "then-request": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/then-request/-/then-request-2.2.0.tgz", - "integrity": "sha1-ZnizL6DKIY/laZgbvYhxtZQGDYE=", + "tar": { + "version": "4.4.19", + "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.19.tgz", + "integrity": "sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA==", "dev": true, + "optional": true, "requires": { - "caseless": "0.11.0", - "concat-stream": "1.6.0", - "http-basic": "2.5.1", - "http-response-object": "1.1.0", - "promise": "7.3.1", - "qs": "6.4.0" + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" }, "dependencies": { - "caseless": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.11.0.tgz", - "integrity": "sha1-cVuW6phBWTzDMGeSP17GDr2k99c=", - "dev": true + "chownr": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", + "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", + "dev": true, + "optional": true + }, + "fs-minipass": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz", + "integrity": "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==", + "dev": true, + "optional": true, + "requires": { + "minipass": "^2.6.0" + } + }, + "minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", + "dev": true, + "optional": true + }, + "minipass": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz", + "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==", + "dev": true, + "optional": true, + "requires": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "minizlib": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz", + "integrity": "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==", + "dev": true, + "optional": true, + "requires": { + "minipass": "^2.9.0" + } + }, + "mkdirp": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "dev": true, + "optional": true, + "requires": { + "minimist": "^1.2.5" + } + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "optional": true + }, + "yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true, + "optional": true } } }, "timers-browserify": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.2.tgz", - "integrity": "sha1-q0iDz1l9zVCvIRNJoA+8pWrIa4Y=", + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.10.tgz", + "integrity": "sha512-YvC1SV1XdOUaL6gx5CoGroT3Gu49pK9+TZ38ErPldOWW4j49GI1HKs9DV+KGq/w6y+LZ72W1c8cKz2vzY+qpzg==", "dev": true, "requires": { - "setimmediate": "1.0.5" + "setimmediate": "^1.0.4" } }, "to-arraybuffer": { @@ -6696,16 +6936,59 @@ "to-fast-properties": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", - "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=", - "dev": true + "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=" + }, + "to-object-path": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", + "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + } + }, + "to-regex": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", + "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", + "dev": true, + "requires": { + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "regex-not": "^1.0.2", + "safe-regex": "^1.1.0" + } + }, + "to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "dev": true, + "requires": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + }, + "dependencies": { + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + } + } + } }, "tough-cookie": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.2.tgz", - "integrity": "sha1-8IH3bkyFcg5sN6X6ztc3FQ2EByo=", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.2.tgz", + "integrity": "sha512-vahm+X8lSV/KjXziec8x5Vp0OTC9mq8EVCOApIsRAooeuMPSO8aT7PFACYkaL0yZ/3hVqw+8DzhCJwl8H2Ad6w==", "dev": true, + "optional": true, "requires": { - "punycode": "1.4.1" + "psl": "^1.1.24", + "punycode": "^1.4.1" } }, "tr46": { @@ -6734,7 +7017,7 @@ "dev": true, "optional": true, "requires": { - "safe-buffer": "5.1.1" + "safe-buffer": "^5.0.1" } }, "tweetnacl": { @@ -6749,47 +7032,169 @@ "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", "dev": true, + "optional": true, + "requires": { + "prelude-ls": "~1.1.2" + } + }, + "uglify-js": { + "version": "2.8.29", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.29.tgz", + "integrity": "sha1-KcVzMUgFe7Th913zW3qcty5qWd0=", + "dev": true, + "requires": { + "source-map": "~0.5.1", + "uglify-to-browserify": "~1.0.0", + "yargs": "~3.10.0" + }, + "dependencies": { + "yargs": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", + "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=", + "dev": true, + "requires": { + "camelcase": "^1.0.2", + "cliui": "^2.1.0", + "decamelize": "^1.0.0", + "window-size": "0.1.0" + } + } + } + }, + "uglify-to-browserify": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz", + "integrity": "sha1-bgkk1r2mta/jSeOabWMoUKD4grc=", + "dev": true, + "optional": true + }, + "unicode-canonical-property-names-ecmascript": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz", + "integrity": "sha512-jDrNnXWHd4oHiTZnx/ZG7gtUTVp+gCcTTKr8L0HjlwphROEW3+Him+IpvC+xcJEFegapiMZyZe02CyuOnRmbnQ==", + "dev": true + }, + "unicode-match-property-ecmascript": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.4.tgz", + "integrity": "sha512-L4Qoh15vTfntsn4P1zqnHulG0LdXgjSO035fEpdtp6YxXhMT51Q6vgM5lYdG/5X3MjS+k/Y9Xw4SFCY9IkR0rg==", + "dev": true, + "requires": { + "unicode-canonical-property-names-ecmascript": "^1.0.4", + "unicode-property-aliases-ecmascript": "^1.0.4" + } + }, + "unicode-match-property-value-ecmascript": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.1.0.tgz", + "integrity": "sha512-hDTHvaBk3RmFzvSl0UVrUmC3PuW9wKVnpoUDYH0JDkSIovzw+J5viQmeYHxVSBptubnr7PbH2e0fnpDRQnQl5g==", + "dev": true + }, + "unicode-property-aliases-ecmascript": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.5.tgz", + "integrity": "sha512-L5RAqCfXqAwR3RriF8pM0lU0w4Ryf/GgzONwi6KnL1taJQa7x1TCxdJnILX59WIGOwR57IVxn7Nej0fz1Ny6fw==", + "dev": true + }, + "union-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.0.tgz", + "integrity": "sha1-XHHDTLW61dzr4+oM0IIHulqhrqQ=", + "dev": true, "requires": { - "prelude-ls": "1.1.2" + "arr-union": "^3.1.0", + "get-value": "^2.0.6", + "is-extendable": "^0.1.1", + "set-value": "^0.4.3" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "set-value": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-0.4.3.tgz", + "integrity": "sha1-fbCPnT0i3H945Trzw79GZuzfzPE=", + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.1", + "to-object-path": "^0.3.0" + } + } } }, - "typedarray": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", + "universalify": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.1.tgz", + "integrity": "sha1-+nG63UQ3r0wUiEHjs7Fl+enlkLc=", "dev": true }, - "uglify-js": { - "version": "2.8.29", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.29.tgz", - "integrity": "sha1-KcVzMUgFe7Th913zW3qcty5qWd0=", + "unset-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", + "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", "dev": true, "requires": { - "source-map": "0.5.6", - "uglify-to-browserify": "1.0.2", - "yargs": "3.10.0" + "has-value": "^0.3.1", + "isobject": "^3.0.0" }, "dependencies": { - "yargs": { - "version": "3.10.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", - "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=", + "has-value": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", + "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", "dev": true, "requires": { - "camelcase": "1.2.1", - "cliui": "2.1.0", - "decamelize": "1.2.0", - "window-size": "0.1.0" + "get-value": "^2.0.3", + "has-values": "^0.1.4", + "isobject": "^2.0.0" + }, + "dependencies": { + "isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "dev": true, + "requires": { + "isarray": "1.0.0" + } + } } + }, + "has-values": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", + "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=", + "dev": true + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true } } }, - "uglify-to-browserify": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz", - "integrity": "sha1-bgkk1r2mta/jSeOabWMoUKD4grc=", - "dev": true, - "optional": true + "upath": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/upath/-/upath-1.1.0.tgz", + "integrity": "sha512-bzpH/oBhoS/QI/YtbkqCg6VEiPYjSZtrHQM6/QnJS6OL9pKUFLqb3aFh4Scvwm45+7iAgiMkLhSbaZxUqmrprw==", + "dev": true + }, + "urix": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", + "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", + "dev": true }, "url": { "version": "0.11.0", @@ -6809,29 +7214,32 @@ } } }, - "user-home": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/user-home/-/user-home-1.1.1.tgz", - "integrity": "sha1-K1viOjK2Onyd640PKNSFcko98ZA=", - "dev": true - }, - "util": { - "version": "0.10.3", - "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", - "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", + "use": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/use/-/use-3.1.0.tgz", + "integrity": "sha512-6UJEQM/L+mzC3ZJNM56Q4DFGLX/evKGRg15UJHGB9X5j5Z3AFbgZvjUh2yq/UJUY4U5dh7Fal++XbNg1uzpRAw==", "dev": true, "requires": { - "inherits": "2.0.1" + "kind-of": "^6.0.2" }, "dependencies": { - "inherits": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", - "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=", + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", "dev": true } } }, + "util": { + "version": "0.10.4", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.4.tgz", + "integrity": "sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==", + "dev": true, + "requires": { + "inherits": "2.0.3" + } + }, "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -6839,39 +7247,32 @@ "dev": true }, "uuid": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.1.0.tgz", - "integrity": "sha512-DIWtzUkw04M4k3bf1IcpS2tngXEL26YUD2M0tMDUpnUrz2hgzUBlD55a4FjdLGPvfHxS6uluGWvaVEqgBcVa+g==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.2.1.tgz", + "integrity": "sha512-jZnMwlb9Iku/O3smGWvZhauCf6cvvpKi4BKRiliS3cxnI+Gz9j5MEpTz2UFuXiKPJocb7gnsLHwiS05ige5BEA==", "dev": true, "optional": true }, - "v8flags": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/v8flags/-/v8flags-2.1.1.tgz", - "integrity": "sha1-qrGh+jDUX4jdMhFIh1rALAtV5bQ=", - "dev": true, - "requires": { - "user-home": "1.1.1" - } - }, "validate-npm-package-license": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz", - "integrity": "sha1-KAS6vnEq0zeUWaz74kdGqywwP7w=", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.3.tgz", + "integrity": "sha512-63ZOUnL4SIXj4L0NixR3L1lcjO38crAbgrTpl28t8jjrfuiOBL5Iygm+60qPs/KsZGzPNg6Smnc/oY16QTjF0g==", "dev": true, "requires": { - "spdx-correct": "1.0.2", - "spdx-expression-parse": "1.0.4" + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" } }, "verror": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/verror/-/verror-1.3.6.tgz", - "integrity": "sha1-z/XfEpRtKX0rqu+qJoniW+AcAFw=", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", "dev": true, "optional": true, "requires": { - "extsprintf": "1.0.2" + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" } }, "vm-browserify": { @@ -6884,14 +7285,365 @@ } }, "watchpack": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.3.1.tgz", - "integrity": "sha1-fYaTkHsozmAT5/NhCqKhrPB9rYc=", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.6.0.tgz", + "integrity": "sha512-i6dHe3EyLjMmDlU1/bGQpEw25XSjkJULPuAVKCbNRefQVq48yXKUpwg538F7AZTf9kyr57zj++pQFltUa5H7yA==", "dev": true, "requires": { - "async": "2.5.0", - "chokidar": "1.7.0", - "graceful-fs": "4.1.11" + "chokidar": "^2.0.2", + "graceful-fs": "^4.1.2", + "neo-async": "^2.5.0" + }, + "dependencies": { + "anymatch": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", + "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", + "dev": true, + "requires": { + "micromatch": "^3.1.4", + "normalize-path": "^2.1.1" + } + }, + "arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", + "dev": true + }, + "array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", + "dev": true + }, + "braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "requires": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "chokidar": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.0.3.tgz", + "integrity": "sha512-zW8iXYZtXMx4kux/nuZVXjkLP+CyIK5Al5FHnj1OgTKGZfp4Oy6/ymtMSKFv3GD8DviEmUPmJg9eFdJ/JzudMg==", + "dev": true, + "requires": { + "anymatch": "^2.0.0", + "async-each": "^1.0.0", + "braces": "^2.3.0", + "fsevents": "^1.1.2", + "glob-parent": "^3.1.0", + "inherits": "^2.0.1", + "is-binary-path": "^1.0.0", + "is-glob": "^4.0.0", + "normalize-path": "^2.1.1", + "path-is-absolute": "^1.0.0", + "readdirp": "^2.0.0", + "upath": "^1.0.0" + } + }, + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "expand-brackets": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", + "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", + "dev": true, + "requires": { + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + } + }, + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + } + } + }, + "extglob": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", + "dev": true, + "requires": { + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "glob-parent": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", + "dev": true, + "requires": { + "is-glob": "^3.1.0", + "path-dirname": "^1.0.0" + }, + "dependencies": { + "is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "dev": true, + "requires": { + "is-extglob": "^2.1.0" + } + } + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true + }, + "is-glob": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.0.tgz", + "integrity": "sha1-lSHHaEXMJhCoUgPd8ICpWML/q8A=", + "dev": true, + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + }, + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + } + } } }, "webidl-conversions": { @@ -6902,59 +7654,95 @@ "optional": true }, "webpack": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-2.6.1.tgz", - "integrity": "sha1-LgRX8KuxrF3zqxBsacZy8jZ4Xwc=", - "dev": true, - "requires": { - "acorn": "5.0.3", - "acorn-dynamic-import": "2.0.2", - "ajv": "4.11.8", - "ajv-keywords": "1.5.1", - "async": "2.5.0", - "enhanced-resolve": "3.3.0", - "interpret": "1.0.3", - "json-loader": "0.5.4", - "json5": "0.5.1", - "loader-runner": "2.3.0", - "loader-utils": "0.2.17", - "memory-fs": "0.4.1", - "mkdirp": "0.5.1", - "node-libs-browser": "2.0.0", - "source-map": "0.5.6", - "supports-color": "3.2.3", - "tapable": "0.2.6", - "uglify-js": "2.8.29", - "watchpack": "1.3.1", - "webpack-sources": "0.2.3", - "yargs": "6.6.0" + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-2.7.0.tgz", + "integrity": "sha512-MjAA0ZqO1ba7ZQJRnoCdbM56mmFpipOPUv/vQpwwfSI42p5PVDdoiuK2AL2FwFUVgT859Jr43bFZXRg/LNsqvg==", + "dev": true, + "requires": { + "acorn": "^5.0.0", + "acorn-dynamic-import": "^2.0.0", + "ajv": "^4.7.0", + "ajv-keywords": "^1.1.1", + "async": "^2.1.2", + "enhanced-resolve": "^3.3.0", + "interpret": "^1.0.0", + "json-loader": "^0.5.4", + "json5": "^0.5.1", + "loader-runner": "^2.3.0", + "loader-utils": "^0.2.16", + "memory-fs": "~0.4.1", + "mkdirp": "~0.5.0", + "node-libs-browser": "^2.0.0", + "source-map": "^0.5.3", + "supports-color": "^3.1.0", + "tapable": "~0.2.5", + "uglify-js": "^2.8.27", + "watchpack": "^1.3.1", + "webpack-sources": "^1.0.1", + "yargs": "^6.0.0" }, "dependencies": { "acorn": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.0.3.tgz", - "integrity": "sha1-xGDfCEkUY/AozLguqzcwvwEIez0=", + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.6.2.tgz", + "integrity": "sha512-zUzo1E5dI2Ey8+82egfnttyMlMZ2y0D8xOCO3PNPPlYXpl8NZvF6Qk9L9BEtJs+43FqEmfBViDqc5d1ckRDguw==", + "dev": true + }, + "ajv": { + "version": "4.11.8", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-4.11.8.tgz", + "integrity": "sha1-gv+wKynmYq5TvcIK8VlHcGc5xTY=", + "dev": true, + "requires": { + "co": "^4.6.0", + "json-stable-stringify": "^1.0.1" + } + }, + "has-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", + "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", "dev": true }, + "loader-utils": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-0.2.17.tgz", + "integrity": "sha1-+G5jdNQyBabmxg6RlvF8Apm/s0g=", + "dev": true, + "requires": { + "big.js": "^3.1.3", + "emojis-list": "^2.0.0", + "json5": "^0.5.0", + "object-assign": "^4.0.1" + } + }, "supports-color": { "version": "3.2.3", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", "dev": true, "requires": { - "has-flag": "1.0.0" + "has-flag": "^1.0.0" } } } }, "webpack-sources": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-0.2.3.tgz", - "integrity": "sha1-F8Yr+vE8cH+dAsR54Nzd6DgGl/s=", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.1.0.tgz", + "integrity": "sha512-aqYp18kPphgoO5c/+NaUvEeACtZjMESmDChuD3NBciVpah3XpMEU9VAAtIaB1BsfJWWTSdv8Vv1m3T0aRk2dUw==", "dev": true, "requires": { - "source-list-map": "1.1.2", - "source-map": "0.5.6" + "source-list-map": "^2.0.0", + "source-map": "~0.6.1" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } } }, "whatwg-url-compat": { @@ -6964,16 +7752,7 @@ "dev": true, "optional": true, "requires": { - "tr46": "0.0.3" - } - }, - "which": { - "version": "1.2.14", - "resolved": "https://registry.npmjs.org/which/-/which-1.2.14.tgz", - "integrity": "sha1-mofEN48D6CfOyvGs31bHNsAcFOU=", - "dev": true, - "requires": { - "isexe": "2.0.0" + "tr46": "~0.0.1" } }, "which-module": { @@ -7001,8 +7780,8 @@ "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", "dev": true, "requires": { - "string-width": "1.0.2", - "strip-ansi": "3.0.1" + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1" } }, "wrappy": { @@ -7011,12 +7790,6 @@ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", "dev": true }, - "xml": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/xml/-/xml-1.0.1.tgz", - "integrity": "sha1-eLpyAgApxbyHuKgaPPzXS0ovweU=", - "dev": true - }, "xml-name-validator": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-2.0.1.tgz", @@ -7031,9 +7804,9 @@ "dev": true }, "y18n": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", - "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.2.tgz", + "integrity": "sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ==", "dev": true }, "yargs": { @@ -7042,19 +7815,19 @@ "integrity": "sha1-eC7CHvQDNF+DCoCMo9UTr1YGUgg=", "dev": true, "requires": { - "camelcase": "3.0.0", - "cliui": "3.2.0", - "decamelize": "1.2.0", - "get-caller-file": "1.0.2", - "os-locale": "1.4.0", - "read-pkg-up": "1.0.1", - "require-directory": "2.1.1", - "require-main-filename": "1.0.1", - "set-blocking": "2.0.0", - "string-width": "1.0.2", - "which-module": "1.0.0", - "y18n": "3.2.1", - "yargs-parser": "4.2.1" + "camelcase": "^3.0.0", + "cliui": "^3.2.0", + "decamelize": "^1.1.1", + "get-caller-file": "^1.0.1", + "os-locale": "^1.4.0", + "read-pkg-up": "^1.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^1.0.1", + "set-blocking": "^2.0.0", + "string-width": "^1.0.2", + "which-module": "^1.0.0", + "y18n": "^3.2.1", + "yargs-parser": "^4.2.0" }, "dependencies": { "camelcase": { @@ -7069,9 +7842,9 @@ "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", "dev": true, "requires": { - "string-width": "1.0.2", - "strip-ansi": "3.0.1", - "wrap-ansi": "2.1.0" + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wrap-ansi": "^2.0.0" } } } @@ -7082,7 +7855,7 @@ "integrity": "sha1-KczqwNxPA8bIe0qfIX3RjJ90hxw=", "dev": true, "requires": { - "camelcase": "3.0.0" + "camelcase": "^3.0.0" }, "dependencies": { "camelcase": { diff --git a/package.json b/package.json index 2dd0605..b0ca615 100644 --- a/package.json +++ b/package.json @@ -1,17 +1,15 @@ { - "name": "@kkboxorg/kkbox-javascript-developer-sdk", - "version": "1.0.0", + "name": "@kkbox/kkbox-js-sdk", + "version": "1.3.6", "description": "KKBOX Open API developer SDK for JavaScript. Use it to easily access KKBOX open API to get various metadata about KKBOX's tracks, albums, artists, playlists and stations. ", - "main": "src/SDK.js", + "main": "./dist/index.js", "scripts": { - "test": "mocha --trace-warnings -R spec -t 5000 --compilers babel-register ./test/authtest ./test/apitest", - "test-sdk": "mocha -t 5000 --compilers babel-register ./test/sdktest", - "test-auth": "mocha -t 5000 --compilers babel-register ./test/authtest", - "test-all": "mocha -t 5000 --compilers babel-register", - "test-jenkins": "JUNIT_REPORT_PATH=report.xml jenkins-mocha -t 5000 --cobertura --compilers babel-register --colors --reporter mocha-jenkins-reporter ./test/authtest ./test/apitest", - "build": "webpack -p", - "doc": "./node_modules/.bin/esdoc && open ./public/index.html", - "build-doc": "./node_modules/.bin/esdoc" + "build": "npx babel src -d dist", + "build:webpack": "webpack -p", + "pretest": "npm run build", + "test": "mocha -R spec -t 30000 ./dist/test", + "doc": "esdoc", + "prepublishOnly": "npm run build" }, "author": "KKBOX", "repository": { @@ -20,47 +18,19 @@ }, "license": "Apache-2.0", "dependencies": { - "axios": "^0.15.3", - "babel-polyfill": "^6.23.0" + "axios": "^0.21.1", + "babel-preset-env": "^1.7.0" }, "devDependencies": { - "babel-cli": "^6.24.0", - "babel-core": "^6.24.0", - "babel-loader": "^6.4.1", - "babel-plugin-syntax-dynamic-import": "^6.18.0", - "babel-plugin-transform-async-to-generator": "^6.22.0", - "babel-plugin-transform-regenerator": "^6.22.0", - "babel-plugin-transform-runtime": "^6.23.0", - "babel-preset-babili": "^0.1.2", - "babel-preset-env": "^1.3.2", - "esdoc": "^0.5.2", - "esdoc-standard-plugin": "0.0.7", - "jenkins-mocha": "^4.1.2", - "mocha": "^3.2.0", - "mocha-ci-slack-reporter": "^1.0.1", - "mocha-jenkins-reporter": "0.3.8", + "@babel/cli": "^7.5.0", + "@babel/core": "^7.5.0", + "@babel/preset-env": "^7.5.0", + "esdoc": "^1.1.0", + "esdoc-standard-plugin": "^1.0.0", + "mocha": "^5.2.0", "should": "^11.2.1", "webpack": "^2.3.3" }, - "babel": { - "presets": [ - [ - "env", - { - "targets": { - "node": 5 - } - } - ], - [ - "babili", - { - "evaluate": true, - "mangle": true - } - ] - ] - }, "mailTo": "willyliu@kkbox.com", "bugs": { "url": "https://github.com/KKBOX/OpenAPI-JavaScript/issues" diff --git a/src/Endpoint.js b/src/Endpoint.js index 142eb96..e062502 100644 --- a/src/Endpoint.js +++ b/src/Endpoint.js @@ -1,84 +1,19 @@ -const API_DOMAIN = (() => { - return process.env.NODE_ENV === 'staging' ? 'https://api.kkbox-staging.com/v1.1/' : 'https://api.kkbox.com/v1.1/' -})() -/** - * @ignore - */ -export const SEARCH = API_DOMAIN + 'search/' - -/** - * @ignore - */ -export const TRACKS = API_DOMAIN + 'tracks/' - -/** - * @ignore - */ -export const ARTISTS = API_DOMAIN + 'artists/' - -/** - * @ignore - */ -export const ALBUMS = API_DOMAIN + 'albums/' - -/** - * @ignore - */ -export const SHARED_PLAYLISTS = API_DOMAIN + 'shared-playlists/' - -/** - * @ignore - */ -export const MOOD_STATIONS = API_DOMAIN + 'mood-stations/' - -/** - * @ignore - */ -export const FEATURED_PLAYLISTS = API_DOMAIN + 'featured-playlists/' - -/** - * @ignore - */ -export const FEATURED_PLAYLISTS_CATEGORIES = API_DOMAIN + 'featured-playlist-categories/' - -/** - * @ignore - */ -export const NEW_RELEASE_CATEGORIES = API_DOMAIN + 'new-release-categories/' - -/** - * @ignore - */ -export const NEW_HITS_PLAYLISTS = API_DOMAIN + 'new-hits-playlists/' - -/** - * @ignore - */ -export const GENRE_STATIONS = API_DOMAIN + 'genre-stations/' - -/** - * @ignore - */ -export const CHARTS = API_DOMAIN + 'charts/' - -/** - * @ignore - */ -export const SEARCH_TYPES = { - ARTIST: 'artist', - ALBUM: 'album', - TRACK: 'track', - PLAY_LIST: 'playlist' -} - -const OAuth_DOMAIN = 'https://account.kkbox.com/oauth2/' - -/** - * @ignore - */ -export const Token = OAuth_DOMAIN + 'token/' - -/** - * @ignore - */ -export const Authorization = OAuth_DOMAIN + 'authorize/' \ No newline at end of file +const API_DOMAIN = 'https://api.kkbox.com/v1.1/'; +const OAUTH_DOMAIN = 'https://account.kkbox.com/oauth2/'; + +module.exports = { + SEARCH: API_DOMAIN + 'search', + TRACKS: API_DOMAIN + 'tracks', + ARTISTS: API_DOMAIN + 'artists', + ALBUMS: API_DOMAIN + 'albums', + SHARED_PLAYLISTS: API_DOMAIN + 'shared-playlists', + MOOD_STATIONS: API_DOMAIN + 'mood-stations', + FEATURED_PLAYLISTS: API_DOMAIN + 'featured-playlists', + FEATURED_PLAYLISTS_CATEGORIES: API_DOMAIN + 'featured-playlist-categories', + NEW_RELEASE_CATEGORIES: API_DOMAIN + 'new-release-categories', + NEW_HITS_PLAYLISTS: API_DOMAIN + 'new-hits-playlists', + GENRE_STATIONS: API_DOMAIN + 'genre-stations', + CHARTS: API_DOMAIN + 'charts', + Token: OAUTH_DOMAIN + 'token/', + Authorization: OAUTH_DOMAIN + 'authorize/' +}; diff --git a/src/SDK.js b/src/SDK.js deleted file mode 100644 index 63b224f..0000000 --- a/src/SDK.js +++ /dev/null @@ -1,2 +0,0 @@ -export {default as Auth} from './auth/Auth' -export {default as Api} from './api/Api' \ No newline at end of file diff --git a/src/api/AlbumFetcher.js b/src/api/AlbumFetcher.js index 836ba76..bb0fc45 100644 --- a/src/api/AlbumFetcher.js +++ b/src/api/AlbumFetcher.js @@ -1,69 +1,71 @@ -import {ALBUMS as ENDPOINT} from '../Endpoint' -import Fetcher from './Fetcher' +import { ALBUMS as ENDPOINT } from '../Endpoint'; +import Fetcher from './Fetcher'; /** * Fetch metadata and tracks of a album. - * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums + * @see https://docs-en.kkbox.codes/v1.1/reference#albums */ -export default class AlbumFetcher extends Fetcher { +export default class AlbumFetcher extends Fetcher { + /** + * @ignore + */ + constructor(http, territory = 'TW') { + super(http, territory); + /** * @ignore */ - constructor(http, territory = 'TW') { - super(http, territory) + this.albumID = undefined; + } - /** - * @ignore - */ - this.album_id = undefined - } + /** + * Set the album fetcher. + * + * @param {string} albumID - The ID of an album. + * @return {AlbumFetcher} + * @see https://docs-en.kkbox.codes/v1.1/reference#albums-album_id + */ + setAlbumID(albumID) { + this.albumID = albumID; + return this; + } - /** - * Set the album fetcher. - * - * @param {string} album_id - The ID of an album. - * @return {AlbumFetcher} - * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums/endpoints/get-albums-album_id - */ - setAlbumID(album_id) { - this.album_id = album_id - return this - } - - /** - * Fetcy metadata of the album you create. - * - * @return {Promise} - * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchMetadata() - * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums/endpoints/get-albums-album_id - */ - fetchMetadata() { - return this.http.get(ENDPOINT + this.album_id, {territory: this.territory}) - } + /** + * Fetch metadata of the album you create. + * + * @return {Promise} + * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchMetadata(); + * @see https://docs-en.kkbox.codes/v1.1/reference#albums-album_id + */ + fetchMetadata() { + return this.http.get(ENDPOINT + '/' + this.albumID, { + territory: this.territory + }); + } - /** - * Get KKBOX web widget uri of the album. - * @example https://widget.kkbox.com/v1/?id=4qtXcj31wYJTRZbb23&type=album - * @return {string} - */ - getWidgetUri(){ - return `https://widget.kkbox.com/v1/?id=${this.album_id}&type=album` - } + /** + * Get KKBOX web widget uri of the album. + * @example https://widget.kkbox.com/v1/?id=4qtXcj31wYJTRZbb23&type=album + * @return {string} + */ + getWidgetUri() { + return `https://widget.kkbox.com/v1/?id=${this.albumID}&type=album`; + } - /** - * Get tracks in an album. Result will be return with pagination. - * - * @param {number} [limit] - The size for one page. - * @param {number} [offset] - The offset index for first element. - * @return {Promise} - * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks() - * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/albums/endpoints/get-albums-album_id-tracks - */ - fetchTracks(limit = undefined, offset = undefined) { - return this.http.get(ENDPOINT + this.album_id + '/tracks', { - territory: this.territory, - limit: limit, - offset: offset - }) - } -} \ No newline at end of file + /** + * Get tracks in an album. Result will be return with pagination. + * + * @param {number} [limit] - The size for one page. + * @param {number} [offset] - The offset index for first element. + * @return {Promise} + * @example api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks(); + * @see https://docs-en.kkbox.codes/v1.1/reference#albums-album_id-tracks + */ + fetchTracks(limit = undefined, offset = undefined) { + return this.http.get(ENDPOINT + '/' + this.albumID + '/tracks', { + territory: this.territory, + limit: limit, + offset: offset + }); + } +} diff --git a/src/api/Api.js b/src/api/Api.js index c1a1921..68dbff1 100644 --- a/src/api/Api.js +++ b/src/api/Api.js @@ -1,96 +1,123 @@ -import HttpClient from './HttpClient' -import SearchFetcher from './SearchFetcher' -import TrackFetcher from './TrackFetcher' -import AlbumFetcher from './AlbumFetcher' -import ArtistFetcher from './ArtistFetcher' -import FeaturedPlaylistFetcher from './FeaturedPlaylistFetcher' -import FeaturedPlaylistCategoryFetcher from './FeaturedPlaylistCategoryFetcher' -import NewReleaseCategoryFetcher from './NewReleaseCategoryFetcher' -import NewHitsPlaylistFetcher from './NewHitsPlaylistFetcher' -import GenreStationFetcher from './GenreStationFetcher' -import MoodStationFetcher from './MoodStationFetcher' -import ChartFetcher from './ChartFetcher' +import HttpClient from './HttpClient'; +import SearchFetcher from './SearchFetcher'; +import TrackFetcher from './TrackFetcher'; +import AlbumFetcher from './AlbumFetcher'; +import ArtistFetcher from './ArtistFetcher'; +import FeaturedPlaylistFetcher from './FeaturedPlaylistFetcher'; +import FeaturedPlaylistCategoryFetcher from './FeaturedPlaylistCategoryFetcher'; +import NewReleaseCategoryFetcher from './NewReleaseCategoryFetcher'; +import NewHitsPlaylistFetcher from './NewHitsPlaylistFetcher'; +import GenreStationFetcher from './GenreStationFetcher'; +import MoodStationFetcher from './MoodStationFetcher'; +import ChartFetcher from './ChartFetcher'; +import SharedPlaylistFetcher from './SharedPlaylistFetcher'; /** * Fetch KKBOX resources. */ export default class Api { + /** + * Need access token to initialize. + * + * @param {string} token - Get via Auth. + * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher. + * @example new Api(token); + * @example new Api(token, 'TW'); + */ + constructor(token, territory = 'TW') { + this.territory = territory; + this.httpClient = undefined; + this.setToken(token); + } + + /** + * Set new token and create fetchers with the new token. + * + * @param {string} token - Get via Auth. + * @example api.setToken(token); + */ + setToken(token) { + this.httpClient = new HttpClient(token); + /** - * Need access token to initialize. - * - * @param {string} token - Get via Auth. - * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher. - * @example new Api(token) - * @example new Api(token, 'TW') + * @type {SearchFetcher} */ - constructor(token, territory = 'TW') { - this.territory = territory - this.httpClient = undefined - this.setToken(token) - } + this.searchFetcher = new SearchFetcher(this.httpClient, this.territory); /** - * Set new token and create fetchers with the new token. - * - * @param {string} token - Get via Auth. - * @example api.setToken(token) + * @type {TrackFetcher} */ - setToken(token) { - this.httpClient = new HttpClient(token) + this.trackFetcher = new TrackFetcher(this.httpClient, this.territory); - /** - * @type {SearchFetcher} - */ - this.searchFetcher = new SearchFetcher(this.httpClient, this.territory) + /** + * @type {AlbumFetcher} + */ + this.albumFetcher = new AlbumFetcher(this.httpClient, this.territory); - /** - * @type {TrackFetcher} - */ - this.trackFetcher = new TrackFetcher(this.httpClient, this.territory) + /** + * @type {ArtistFetcher} + */ + this.artistFetcher = new ArtistFetcher(this.httpClient, this.territory); - /** - * @type {AlbumFetcher} - */ - this.albumFetcher = new AlbumFetcher(this.httpClient, this.territory) + /** + * @type {FeaturedPlaylistFetcher} + */ + this.featuredPlaylistFetcher = new FeaturedPlaylistFetcher( + this.httpClient, + this.territory + ); - /** - * @type {ArtistFetcher} - */ - this.artistFetcher = new ArtistFetcher(this.httpClient, this.territory) + /** + * @type {FeaturedPlaylistCategoryFetcher} + */ + this.featuredPlaylistCategoryFetcher = new FeaturedPlaylistCategoryFetcher( + this.httpClient, + this.territory + ); - /** - * @type {FeaturedPlaylistFetcher} - */ - this.featuredPlaylistFetcher = new FeaturedPlaylistFetcher(this.httpClient, this.territory) + /** + * @type {NewReleaseCategoryFetcher} + */ + this.newReleaseCategoryFetcher = new NewReleaseCategoryFetcher( + this.httpClient, + this.territory + ); - /** - * @type {FeaturedPlaylistCategoryFetcher} - */ - this.featuredPlaylistCategoryFetcher = new FeaturedPlaylistCategoryFetcher(this.httpClient, this.territory) + /** + * @type {NewHitsPlaylistFetcher} + */ + this.newHitsPlaylistFetcher = new NewHitsPlaylistFetcher( + this.httpClient, + this.territory + ); - /** - * @type {NewReleaseCategoryFetcher} - */ - this.newReleaseCategoryFetcher = new NewReleaseCategoryFetcher(this.httpClient, this.territory) + /** + * @type {GenreStationFetcher} + */ + this.genreStationFetcher = new GenreStationFetcher( + this.httpClient, + this.territory + ); - /** - * @type {NewHitsPlaylistFetcher} - */ - this.newHitsPlaylistFetcher = new NewHitsPlaylistFetcher(this.httpClient, this.territory) - - /** - * @type {GenreStationFetcher} - */ - this.genreStationFetcher = new GenreStationFetcher(this.httpClient, this.territory) + /** + * @type {MoodStationFetcher} + */ + this.moodStationFetcher = new MoodStationFetcher( + this.httpClient, + this.territory + ); - /** - * @type {MoodStationFetcher} - */ - this.moodStationFetcher = new MoodStationFetcher(this.httpClient, this.territory) + /** + * @type {ChartFetcher} + */ + this.chartFetcher = new ChartFetcher(this.httpClient, this.territory); - /** - * @type {ChartFetcher} - */ - this.chartFetcher = new ChartFetcher(this.httpClient, this.territory) - } -} \ No newline at end of file + /** + * @type {SharedPlaylistFetcher} + */ + this.sharedPlaylistFetcher = new SharedPlaylistFetcher( + this.httpClient, + this.territory + ); + } +} diff --git a/src/api/ArtistFetcher.js b/src/api/ArtistFetcher.js index 197c711..5033383 100644 --- a/src/api/ArtistFetcher.js +++ b/src/api/ArtistFetcher.js @@ -1,77 +1,96 @@ -import {ARTISTS as ENDPOINT} from '../Endpoint' -import Fetcher from './Fetcher' +import { ARTISTS as ENDPOINT } from '../Endpoint'; +import Fetcher from './Fetcher'; /** * Get artist metadata. - * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists + * @see https://docs-en.kkbox.codes/v1.1/reference#artists */ export default class ArtistFetcher extends Fetcher { + /** + * @ignore + */ + constructor(http, territory = 'TW') { + super(http, territory); + /** * @ignore */ - constructor(http, territory = 'TW') { - super(http, territory) + this.artistID = undefined; + } - /** - * @ignore - */ - this.artist_id = undefined - } + /** + * Init the artist object. + * + * @param {string} artistID - The ID of an artist. + * @return {Artist} + * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id + */ + setArtistID(artistID) { + this.artistID = artistID; + return this; + } - /** - * Init the artist object. - * - * @param {string} artist_id - The ID of an artist. - * @return {Artist} - * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id - */ - setArtistID(artist_id) { - this.artist_id = artist_id - return this - } + /** + * Fetch metadata of the artist you find. + * + * @return {Promise} + * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchMetadata(); + * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id + */ + fetchMetadata() { + return this.http.get(ENDPOINT + '/' + this.artistID, { + territory: this.territory + }); + } - /** - * Fetch metadata of the artist you find. - * - * @return {Promise} - * @example api.Artist.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchMetadata() - * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id - */ - fetchMetadata() { - return this.http.get(ENDPOINT + this.artist_id, {territory: this.territory}) - } + /** + * Fetch albums belong to an artist. + * + * @param {number} [limit] - The size for one page. + * @param {number} [offset] - The offset index for first element. + * @return {Promise} + * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchAlbums(); + * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id-albums + */ + fetchAlbums(limit = undefined, offset = undefined) { + return this.http.get(ENDPOINT + '/' + this.artistID + '/albums', { + territory: this.territory, + limit: limit, + offset: offset + }); + } - /** - * Fetch albums belong to an artist. - * - * @param {number} [limit] - The size for one page. - * @param {number} [offset] - The offset index for first element. - * @return {Promise} - * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchAlbums() - * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id-albums - */ - fetchAlbums(limit = undefined, offset = undefined) { - return this.http.get(ENDPOINT + this.artist_id + '/albums', { - territory: this.territory, - limit: limit, - offset: offset - }) - } + /** + * Fetch top tracks belong to an artist. + * + * @param {number} [limit] - The size for one page. + * @param {number} [offset] - The offset index for first element. + * @return {Promise} + * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchTopTracks(); + * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id-toptracks + */ + fetchTopTracks(limit = undefined, offset = undefined) { + return this.http.get(ENDPOINT + '/' + this.artistID + '/top-tracks', { + territory: this.territory, + limit: limit, + offset: offset + }); + } - /** - * Fetch top tracks belong to an artist. - * - * @param {number} [limit] - The size for one page. - * @param {number} [offset] - The offset index for first element. - * @return {Promise} - * @example api.Artist.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchTopTracks() - * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/artists/endpoints/get-artists-artist_id-top-tracks - */ - fetchTopTracks(limit = undefined, offset = undefined) { - return this.http.get(ENDPOINT + this.artist_id + '/top-tracks', { - territory: this.territory, - limit: limit, - offset: offset - }) - } -} \ No newline at end of file + /** + * Fetch related artists + * + * @param {number} [limit] - The size for one page. + * @param {number} [offset] - The offset index for first element. + * @return {Promise} + * @example api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchRelatedArtists(); + * @see https://docs-en.kkbox.codes/v1.1/reference#artists-artist_id-relatedartists + */ + fetchRelatedArtists(limit = undefined, offset = undefined) { + return this.http.get(ENDPOINT + '/' + this.artistID + '/related-artists', { + territory: this.territory, + limit: limit, + offset: offset + }); + } +} diff --git a/src/api/ChartFetcher.js b/src/api/ChartFetcher.js index 9670b3f..e7862ac 100644 --- a/src/api/ChartFetcher.js +++ b/src/api/ChartFetcher.js @@ -1,28 +1,75 @@ -import {CHARTS as ENDPOINT} from '../Endpoint' -import Fetcher from './Fetcher' +import { CHARTS as ENDPOINT } from '../Endpoint'; +import Fetcher from './Fetcher'; /** * The fetcher that can fetch chart playlists. - * @see https://kkbox.gelato.io/docs/versions/1.1/resources/charts + * @see https://docs-en.kkbox.codes/v1.1/reference#charts */ export default class ChartFetcher extends Fetcher { + /** + * @ignore + */ + constructor(http, territory = 'TW') { + super(http, territory); + /** * @ignore */ - constructor(http, territory = 'TW') { - super(http, territory = 'TW') - } + this.playlistID = undefined; + } - /** - * Fetch chart playlists. - * - * @return {Promise} - * @example api.chartFetcher.fetchCharts() - * @see https://kkbox.gelato.io/docs/versions/1.1/resources/charts/endpoints/get-charts - */ - fetchCharts() { - return this.http.get(ENDPOINT, { - territory: this.territory - }) - } -} \ No newline at end of file + /** + * Fetch chart playlists. + * + * @return {Promise} + * @example api.chartFetcher.fetchCharts(); + * @see https://docs-en.kkbox.codes/v1.1/reference#charts_1 + */ + fetchCharts() { + return this.http.get(ENDPOINT, { + territory: this.territory + }); + } + + /** + * Init the chart fetcher. + * + * @param {string} playlistID - The playlist ID. + * @return {ChartFetcher} + * @see https://docs-en.kkbox.codes/v1.1/reference#charts-playlist_id + */ + setPlaylistID(playlistID) { + this.playlistID = playlistID; + return this; + } + + /** + * Fetch playlist of the chart you set. + * + * @return {Promise} + * @example api.chartFetcher.setPlaylistID('4mJSYXvueA8t0odsny').fetchMetadata(); + * @see https://docs-en.kkbox.codes/v1.1/reference#charts-playlist_id + */ + fetchMetadata() { + return this.http.get(ENDPOINT + '/' + this.playlistID, { + territory: this.territory + }); + } + + /** + * Fetch tracks of the playlist with the chart fetcher you init. Result will be paged. + * + * @param {number} [limit] - The size of one page. + * @param {number} [offset] - The offset index for first element. + * @return {Promise} + * @example api.chartFetcher.setPlaylistID('4mJSYXvueA8t0odsny').fetchTracks(); + * @see https://docs-en.kkbox.codes/v1.1/reference#charts-playlist_id-tracks + */ + fetchTracks(limit = undefined, offset = undefined) { + return this.http.get(ENDPOINT + '/' + this.playlistID + '/tracks', { + territory: this.territory, + limit: limit, + offset: offset + }); + } +} diff --git a/src/api/FeaturedPlaylistCategoryFetcher.js b/src/api/FeaturedPlaylistCategoryFetcher.js index dc034e4..768defe 100644 --- a/src/api/FeaturedPlaylistCategoryFetcher.js +++ b/src/api/FeaturedPlaylistCategoryFetcher.js @@ -1,71 +1,75 @@ -import {FEATURED_PLAYLISTS_CATEGORIES as ENDPOINT} from '../Endpoint' -import Fetcher from './Fetcher' +import { FEATURED_PLAYLISTS_CATEGORIES as ENDPOINT } from '../Endpoint'; +import Fetcher from './Fetcher'; /** * List featured playlist categories. - * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories + * @see https://docs-en.kkbox.codes/v1.1/reference#featured-playlist-categories */ export default class FeaturedPlaylistCategoryFetcher extends Fetcher { + /** + * @ignore + */ + constructor(http, territory = 'TW') { + super(http, territory); + /** * @ignore */ - constructor(http, territory = 'TW') { - super(http, territory) + this.categoryID = undefined; + } - /** - * @ignore - */ - this.category_id = undefined - } + /** + * Fetch all featured playlist categories. + * + * @return {Promise} + * @example api.featuredPlaylistCategoryFetcher.fetchAllFeaturedPlaylistCategories(); + * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories + */ + fetchAllFeaturedPlaylistCategories() { + return this.http.get(ENDPOINT, { + territory: this.territory + }); + } - /** - * Fetch all featured playlist categories. - * - * @return {Promise} - * @example api.featuredPlaylistCategoryFetcher.fetchAllFeaturedPlaylistCategories() - * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories - */ - fetchAllFeaturedPlaylistCategories() { - return this.http.get(ENDPOINT, {territory: this.territory}) - } - - /** - * Init the featured playlist category fetcher. - * - * @param {string} category_id - The category ID. - * @return {FeaturedPlaylistCategoryFetcher} - * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories-category_id - */ - setCategoryID(category_id) { - this.category_id = category_id - return this - } + /** + * Init the featured playlist category fetcher. + * + * @param {string} categoryID - The category ID. + * @return {FeaturedPlaylistCategoryFetcher} + * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories-category_id + */ + setCategoryID(categoryID) { + this.categoryID = categoryID; + return this; + } - /** - * Fetch metadata of the category you init. - * - * @return {Promise} - * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchMetadata() - * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories-category_id - */ - fetchMetadata() { - return this.http.get(ENDPOINT + this.category_id, {territory: this.territory}) - } + /** + * Fetch metadata of the category you init. + * + * @return {Promise} + * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchMetadata(); + * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories-category_id + */ + fetchMetadata() { + return this.http.get(ENDPOINT + '/' + this.categoryID, { + territory: this.territory + }); + } - /** - * Fetch featured playlists of the category with the category fetcher you init. Result will be paged. - * - * @param {number} [limit] - The size of one page. - * @param {number} [offset] - The offset index for first element. - * @return {Promise} - * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchPlaylists() - * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlist-categories/endpoints/get-featured-playlist-categories-category_id-playlists - */ - fetchPlaylists(limit = undefined, offset = undefined) { - return this.http.get(ENDPOINT + this.category_id + '/playlists', { - territory: this.territory, - limit: limit, - offset: offset - }) - } -} \ No newline at end of file + /** + * Fetch featured playlists of the category with the category fetcher you init. Result will be paged. + * + * @param {number} [limit] - The size of one page. + * @param {number} [offset] - The offset index for first element. + * @return {Promise} + * @example api.featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb').fetchPlaylists(); + * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylistcategories-category_id-playlists + */ + fetchPlaylists(limit = undefined, offset = undefined) { + return this.http.get(ENDPOINT + '/' + this.categoryID + '/playlists', { + territory: this.territory, + limit: limit, + offset: offset + }); + } +} diff --git a/src/api/FeaturedPlaylistFetcher.js b/src/api/FeaturedPlaylistFetcher.js index 412ef35..2b8c31f 100644 --- a/src/api/FeaturedPlaylistFetcher.js +++ b/src/api/FeaturedPlaylistFetcher.js @@ -1,32 +1,32 @@ -import {FEATURED_PLAYLISTS as ENDPOINT} from '../Endpoint' -import Fetcher from './Fetcher' +import { FEATURED_PLAYLISTS as ENDPOINT } from '../Endpoint'; +import Fetcher from './Fetcher'; /** * List all featured playlists. - * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlists + * @see https://docs-en.kkbox.codes/v1.1/reference#featured-playlists */ export default class FeaturedPlaylistFetcher extends Fetcher { - /** - * @ignore - */ - constructor(http, territory = 'TW') { - super(http, territory) - } + /** + * @ignore + */ + constructor(http, territory = 'TW') { + super(http, territory); + } - /** - * Fetch all featured playlists. Result will be paged. - * - * @param {number} [limit] - The size for one page. - * @param {number} [offset] - The offset index for first element. - * @return {Promise} - * @example api.featuredPlaylistFetcher.fetchAllFeaturedPlaylists() - * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/featured-playlists/endpoints/get-featured-playlists - */ - fetchAllFeaturedPlaylists(limit = undefined, offset = undefined) { - return this.http.get(ENDPOINT, { - limit: limit, - offset: offset, - territory: this.territory - }) - } -} \ No newline at end of file + /** + * Fetch all featured playlists. Result will be paged. + * + * @param {number} [limit] - The size for one page. + * @param {number} [offset] - The offset index for first element. + * @return {Promise} + * @example api.featuredPlaylistFetcher.fetchAllFeaturedPlaylists(); + * @see https://docs-en.kkbox.codes/v1.1/reference#featuredplaylists + */ + fetchAllFeaturedPlaylists(limit = undefined, offset = undefined) { + return this.http.get(ENDPOINT, { + limit: limit, + offset: offset, + territory: this.territory + }); + } +} diff --git a/src/api/Fetcher.js b/src/api/Fetcher.js index 0c26b13..b558cf2 100644 --- a/src/api/Fetcher.js +++ b/src/api/Fetcher.js @@ -2,87 +2,97 @@ * Base api fetcher. */ export default class Fetcher { - /** - * @param {Http} http - * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher. - */ - constructor(http, territory = 'TW') { - /** - * @ignore - */ - this.http = http - - /** - * @ignore - */ - this.territory = territory - } - + /** + * @param {Http} http + * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher. + */ + constructor(http, territory = 'TW') { /** - * Gets an object's nested property by path. * @ignore */ - getPropertyByPath(object, path) { - path = path.replace(/\[(\w+)\]/g, '.$1'); // convert indexes to properties - path = path.replace(/^\./, ''); // strip a leading dot - var keys = path.split('.'); - for (var i = 0, n = keys.length; i < n; ++i) { - var key = keys[i]; - if (key in object) { - object = object[key]; - } else { - return; - } - } - return object; - } + this.http = http; /** - * Fetches next page of various paged APIs. - * - * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function - * @param {String} nextUriPath - The next uri's path. Defaults to 'data.paging.next', - * which means we will get the next uri path from 'fulfillment.data.paging.next'. - * The correct next uri path depends on respective api's response. - * @return {Promise} - * @example - * api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks().then(response => { - * api.albumFetcher.fetchNextPage(response)) - * }) + * @ignore */ - fetchNextPage(fulfillment, nextUriPath = 'data.paging.next') { - var nextUri = this.getPropertyByPath(fulfillment, nextUriPath) - if (nextUri != null && nextUri !== undefined) { - return this.http.get(nextUri) - } - else { - return new Promise((resolve, reject) => { - reject('Cannot fetch next page') - }) - } + this.territory = territory; + } + + /** + * Set the fetcher's territory. + * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher. + * @return {Fetcher} + */ + setTerritory(territory) { + this.territory = territory; + return this; + } + + /** + * Gets an object's nested property by path. + * @ignore + */ + getPropertyByPath(object, path) { + path = path.replace(/\[(\w+)\]/g, '.$1'); // convert indexes to properties + path = path.replace(/^\./, ''); // strip a leading dot + var keys = path.split('.'); + for (var i = 0, n = keys.length; i < n; ++i) { + var key = keys[i]; + if (key in object) { + object = object[key]; + } else { + return; + } } + return object; + } - /** - * Is next page available for various paged APIs. - * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function - * @param {String} nextUriPath - The next uri's path. Defaults to 'data.paging.next', - * which means we will get the next uri path from 'fulfillment.data.paging.next'. - * The correct next uri path depends on respective api's response. - * @return {Boolean} - * @example - * api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks().then(response => { - * if (api.albumFetcher.hasNextPage(response)) { - * // more data available - * } - * }) - */ - hasNextPage(fulfillment, nextUriPath = 'data.paging.next') { - var nextUri = this.getPropertyByPath(fulfillment, nextUriPath) - if (nextUri != null && nextUri !== undefined) { - return true - } - else { - return false - } + /** + * Fetches next page of various paged APIs. + * + * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function + * @param {String} nextUriPath - The next uri's path. Defaults to 'data.paging.next', + * which means we will get the next uri path from 'fulfillment.data.paging.next'. + * The correct next uri path depends on respective api's response. + * @return {Promise} + * @example + * api.albumFetcher + * .setAlbumID('KmRKnW5qmUrTnGRuxF') + * .fetchTracks() + * .then(response => { + * api.albumFetcher.fetchNextPage(response)); + * }); + */ + fetchNextPage(fulfillment, nextUriPath = 'data.paging.next') { + var nextUri = this.getPropertyByPath(fulfillment, nextUriPath); + if (nextUri != null && nextUri !== undefined) { + return this.http.get(nextUri); + } else { + return new Promise((resolve, reject) => { + reject(new Error('Cannot fetch next page')); + }); } -} \ No newline at end of file + } + + /** + * Is next page available for various paged APIs. + * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function + * @param {String} nextUriPath - The next uri's path. Defaults to 'data.paging.next', + * which means we will get the next uri path from 'fulfillment.data.paging.next'. + * The correct next uri path depends on respective api's response. + * @return {Boolean} + * @example + * api.albumFetcher + * .setAlbumID('KmRKnW5qmUrTnGRuxF') + * .fetchTracks() + * .then(response => { + * if (api.albumFetcher.hasNextPage(response)) { + * // more data available + * } + * }); + */ + hasNextPage(fulfillment, nextUriPath = 'data.paging.next') { + var nextUri = this.getPropertyByPath(fulfillment, nextUriPath); + return nextUri != null && nextUri !== undefined; + } +} diff --git a/src/api/GenreStationFetcher.js b/src/api/GenreStationFetcher.js index 0886c58..68f12ad 100644 --- a/src/api/GenreStationFetcher.js +++ b/src/api/GenreStationFetcher.js @@ -1,60 +1,62 @@ -import {GENRE_STATIONS as ENDPOINT} from '../Endpoint' -import Fetcher from './Fetcher' +import { GENRE_STATIONS as ENDPOINT } from '../Endpoint'; +import Fetcher from './Fetcher'; /** * Get genre stations. - * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations + * @see https://docs-en.kkbox.codes/v1.1/reference#genre-stations */ export default class GenreStationFetcher extends Fetcher { - /** - * @ignore - */ - constructor(http, territory = 'TW') { - super(http, territory) - - /** - * @ignore - */ - this.genre_station_id = undefined - } + /** + * @ignore + */ + constructor(http, territory = 'TW') { + super(http, territory); /** - * Fetch all genre stations. The result will be paged. - * - * @param {number} [limit] - The size for one page. - * @param {number} [offset] - The offset index for first element. - * @return {Promise} - * @example api.GenreStation.fetchAllGenreStations() - * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations/endpoints/get-genre-stations + * @ignore */ - fetchAllGenreStations(limit = undefined, offset = undefined) { - return this.http.get(ENDPOINT, { - territory: this.territory, - limit: limit, - offset: offset - }) - } + this.genreStationID = undefined; + } - /** - * Init the genre station fetcher. - * - * @param {string} genre_station_id - The ID of a genre station. - * @return {GenreStation} - * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations/endpoints/get-genre-stations-station_id - */ - setGenreStationID(genre_station_id) { - this.genre_station_id = genre_station_id - return this - } + /** + * Fetch all genre stations. The result will be paged. + * + * @param {number} [limit] - The size for one page. + * @param {number} [offset] - The offset index for first element. + * @return {Promise} + * @example api.genreStationFetcher.fetchAllGenreStations(); + * @see https://docs-en.kkbox.codes/v1.1/reference#genrestations + */ + fetchAllGenreStations(limit = undefined, offset = undefined) { + return this.http.get(ENDPOINT, { + territory: this.territory, + limit: limit, + offset: offset + }); + } - /** - * Fetch metadata of the genre station with the genre station fetcher. - * - * @return {Promise} - * @example api.GenreStation.setGenreStationID('TYq3EHFTl-1EOvJM5Y').fetchMetadata() - * @see https://kkbox.gelato.io/docs/versions/v1.1/resources/genre-stations/endpoints/get-genre-stations-station_id - */ - fetchMetadata() { - return this.http.get(ENDPOINT + this.genre_station_id, {territory: this.territory}) - } -} \ No newline at end of file + /** + * Init the genre station fetcher. + * + * @param {string} genreStationID - The ID of a genre station. + * @return {GenreStation} + * @see https://docs-en.kkbox.codes/v1.1/reference#genrestations-station_id + */ + setGenreStationID(genreStationID) { + this.genreStationID = genreStationID; + return this; + } + + /** + * Fetch metadata of the genre station with the genre station fetcher. + * + * @return {Promise} + * @example api.genreStationFetcher.setGenreStationID('TYq3EHFTl-1EOvJM5Y').fetchMetadata(); + * @see https://docs-en.kkbox.codes/v1.1/reference#genrestations-station_id + */ + fetchMetadata() { + return this.http.get(ENDPOINT + '/' + this.genreStationID, { + territory: this.territory + }); + } +} diff --git a/src/api/HttpClient.js b/src/api/HttpClient.js index c001bc0..e110c70 100644 --- a/src/api/HttpClient.js +++ b/src/api/HttpClient.js @@ -1,48 +1,53 @@ -import axios from 'axios' -import {apiError} from '../catchError' +import axios from 'axios'; +import { apiError } from '../catchError'; /** * Do request to open api server with authorization header and error catch. */ export default class HttpClient { + /** + * @param {string} token - Need access token to initialize. + */ + constructor(token) { /** - * @param {string} token - Need access token to initialize. + * @private + * @type {string} */ - constructor(token) { - /** - * @private - * @type {string} - */ - this.token = 'Bearer ' + token - } + this.token = 'Bearer ' + token; + } - /** - * Http get method. - * - * @param {string} endpoint - Uri endpoint. - * @param {object} params - Uri parameters. - * @return {Promise} - */ - get(endpoint, params = {}) { - return axios.get(endpoint, { - params: params, - headers: {Authorization: this.token, 'User-Agent': 'KKBOX JavaScript SDK'} - }).catch(apiError) - } + /** + * Http get method. + * + * @param {string} endpoint - Uri endpoint. + * @param {object} params - Uri parameters. + * @return {Promise} + */ + get(endpoint, params = {}) { + return axios + .get(endpoint, { + params: params, + headers: { + Authorization: this.token + } + }) + .catch(apiError); + } - /** - * Http post method. - * - * @param {string} endpoint - Uri endpoint. - * @param {object} data - Body json data. - * @return {Promise} - */ - post(endpoint, data = {}) { - return axios.post(endpoint, data, { - headers: { - Authorization: this.token, - 'User-Agent': 'KKBOX JavaScript SDK' - } - }).catch(apiError) - } -} \ No newline at end of file + /** + * Http post method. + * + * @param {string} endpoint - Uri endpoint. + * @param {object} data - Body json data. + * @return {Promise} + */ + post(endpoint, data = {}) { + return axios + .post(endpoint, data, { + headers: { + Authorization: this.token + } + }) + .catch(apiError); + } +} diff --git a/src/api/MoodStationFetcher.js b/src/api/MoodStationFetcher.js index 5dc9bb6..1dbe10d 100644 --- a/src/api/MoodStationFetcher.js +++ b/src/api/MoodStationFetcher.js @@ -1,55 +1,60 @@ -import {MOOD_STATIONS as ENDPOINT} from '../Endpoint' -import Fetcher from './Fetcher' +import { MOOD_STATIONS as ENDPOINT } from '../Endpoint'; +import Fetcher from './Fetcher'; /** * Get mood stations. - * @see https://kkbox.gelato.io/docs/versions/1.1/resources/mood-stations + * @see https://docs-en.kkbox.codes/v1.1/reference#mood-stations */ export default class MoodStationFetcher extends Fetcher { + /** + * @ignore + */ + constructor(http, territory = 'TW') { + super(http, territory); + /** * @ignore */ - constructor(http, territory = 'TW') { - super(http, territory) - - /** - * @ignore - */ - this.mood_station_id = undefined - } + this.moodStationID = undefined; + } - /** - * Fetch all mood stations. - * - * @return {Promise} - * @example api.moodStationFetcher.fetchAllMoodStations() - * @see https://kkbox.gelato.io/docs/versions/1.1/resources/mood-stations/endpoints/get-mood-stations - */ - fetchAllMoodStations() { - return this.http.get(ENDPOINT, {territory: this.territory}) - } + /** + * Fetch all mood stations. + * + * @return {Promise} + * @example api.moodStationFetcher.fetchAllMoodStations(); + * @see https://docs-en.kkbox.codes/v1.1/reference#moodstations + */ + fetchAllMoodStations() { + return this.http.get(ENDPOINT, { + territory: this.territory + }); + } - /** - * Init the mood station fetcher. - * - * @param {string} mood_station_id - The ID of a mood station. - * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory of a mood station. - * @return {MoodStation} - * @see https://kkbox.gelato.io/docs/versions/1.1/resources/mood-stations/endpoints/get-mood-stations-station_id - */ - setMoodStationID(mood_station_id, territory = 'TW') { - this.mood_station_id = mood_station_id - this.territory = territory - return this - } + /** + * Init the mood station fetcher. + * + * @param {string} moodStationID - The ID of a mood station. + * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory of a mood station. + * @return {MoodStation} + * @see https://docs-en.kkbox.codes/v1.1/reference#moodstations-station_id + */ + setMoodStationID(moodStationID, territory = 'TW') { + this.moodStationID = moodStationID; + this.territory = territory; + return this; + } - /** - * Fetch the mood station's metadata. - * - * @return {Promise} - * @example api.moodStationFetcher.setMoodStationID('StGZp2ToWq92diPHS7').fetchMetadata() - */ - fetchMetadata() { - return this.http.get(ENDPOINT + this.mood_station_id, {territory: this.territory}) - } -} \ No newline at end of file + /** + * Fetch the mood station's metadata. + * + * @return {Promise} + * @example api.moodStationFetcher.setMoodStationID('StGZp2ToWq92diPHS7').fetchMetadata(); + * @see https://docs-en.kkbox.codes/v1.1/reference#moodstations-station_id + */ + fetchMetadata() { + return this.http.get(ENDPOINT + '/' + this.moodStationID, { + territory: this.territory + }); + } +} diff --git a/src/api/NewHitsPlaylistFetcher.js b/src/api/NewHitsPlaylistFetcher.js index 3d1a655..1e45445 100644 --- a/src/api/NewHitsPlaylistFetcher.js +++ b/src/api/NewHitsPlaylistFetcher.js @@ -1,58 +1,77 @@ -import {NEW_HITS_PLAYLISTS as ENDPOINT} from '../Endpoint' -import Fetcher from './Fetcher' +import { NEW_HITS_PLAYLISTS as ENDPOINT } from '../Endpoint'; +import Fetcher from './Fetcher'; /** * List new hits playlists. - * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists + * @see https://docs-en.kkbox.codes/v1.1/reference#new-hits-playlists */ export default class NewHitsPlaylistFetcher extends Fetcher { + /** + * @ignore + */ + constructor(http, territory = 'TW') { + super(http, territory); + /** * @ignore */ - constructor(http, territory = 'TW') { - super(http, territory) + this.playlistID = undefined; + } - /** - * @ignore - */ - this.playlist_id = undefined - } + /** + * Fetch all new hits playlists. + * + * @param {number} [limit] - The size of one page. + * @param {number} [offset] - The offset index for first element. + * @return {Promise} + * @example api.newHitsPlaylistFetcher.fetchAllNewHitsPlaylists(); + * @see https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists + */ + fetchAllNewHitsPlaylists(limit = undefined, offset = undefined) { + return this.http.get(ENDPOINT, { + territory: this.territory + }); + } - /** - * Fetch all new hits playlists. - * - * @param {number} [limit] - The size of one page. - * @param {number} [offset] - The offset index for first element. - * @return {Promise} - * @example api.newHitsPlaylistFetcher.fetchAllNewHitsPlaylists() - * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists/endpoints/get-new-hits-playlists - */ - fetchAllNewHitsPlaylists(limit = undefined, offset = undefined) { - return this.http.get(ENDPOINT, { - territory: this.territory - }) - } + /** + * Init the new hits playlist fetcher. + * + * @param {string} playlistID - The playlist ID. + * @return {NewHitsPlaylistFetcher} + * @see https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists-playlist_id + */ + setPlaylistID(playlistID) { + this.playlistID = playlistID; + return this; + } - /** - * Init the new hits playlist fetcher. - * - * @param {string} playlist_id - The playlist ID. - * @return {NewHitsPlaylistFetcher} - * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists/endpoints/get-new-hits-playlists-playlist_id - */ - setPlaylistID(playlist_id) { - this.playlist_id = playlist_id - return this - } + /** + * Fetch metadata of the new hits playlist you set. + * + * @return {Promise} + * @example api.newHitsPlaylistFetcher.setPlaylistID('DZrC8m29ciOFY2JAm3').fetchMetadata(); + * @see https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists-playlist_id + */ + fetchMetadata() { + return this.http.get(ENDPOINT + '/' + this.playlistID, { + territory: this.territory + }); + } - /** - * Fetch metadata of the new release category you set. - * - * @return {Promise} - * @example api.newHitsPlaylistFetcher.setPlaylistID('DZrC8m29ciOFY2JAm3').fetchMetadata() - * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-hits-playlists/endpoints/get-new-hits-playlists-playlist_id - */ - fetchMetadata() { - return this.http.get(ENDPOINT + this.playlist_id, {territory: this.territory}) - } -} \ No newline at end of file + /** + * Fetch tracks of the new hits playlist you set. Result will be paged. + * + * @param {number} [limit] - The size of one page. + * @param {number} [offset] - The offset index for first element. + * @return {Promise} + * @example api.newHitsPlaylistFetcher.setPlaylistID('DZrC8m29ciOFY2JAm3').fetchTracks(); + * @see https://docs-en.kkbox.codes/v1.1/reference#newhitsplaylists-playlist_id-tracks + */ + fetchTracks(limit = undefined, offset = undefined) { + return this.http.get(ENDPOINT + '/' + this.playlistID + '/tracks', { + territory: this.territory, + limit: limit, + offset: offset + }); + } +} diff --git a/src/api/NewReleaseCategoryFetcher.js b/src/api/NewReleaseCategoryFetcher.js index e571508..a9ad567 100644 --- a/src/api/NewReleaseCategoryFetcher.js +++ b/src/api/NewReleaseCategoryFetcher.js @@ -1,77 +1,79 @@ -import {NEW_RELEASE_CATEGORIES as ENDPOINT} from '../Endpoint' -import Fetcher from './Fetcher' +import { NEW_RELEASE_CATEGORIES as ENDPOINT } from '../Endpoint'; +import Fetcher from './Fetcher'; /** * List categories of new release albums. - * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories + * @see https://docs-en.kkbox.codes/v1.1/reference#new-release-categories */ export default class NewReleaseCategoryFetcher extends Fetcher { + /** + * @ignore + */ + constructor(http, territory = 'TW') { + super(http, territory); + /** * @ignore */ - constructor(http, territory = 'TW') { - super(http, territory) + this.categoryID = undefined; + } - /** - * @ignore - */ - this.category_id = undefined - } + /** + * Fetch all new release categories. + * + * @param {number} [limit] - The size of one page. + * @param {number} [offset] - The offset index for first element. + * @return {Promise} + * @example api.newReleaseCategoryFetcher.fetchAllNewReleaseCategories(); + * @see https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories + */ + fetchAllNewReleaseCategories(limit = undefined, offset = undefined) { + return this.http.get(ENDPOINT, { + limit: limit, + offset: offset, + territory: this.territory + }); + } - /** - * Fetch all new release categories. - * - * @param {number} [limit] - The size of one page. - * @param {number} [offset] - The offset index for first element. - * @return {Promise} - * @example api.newReleaseCategoryFetcher.fetchAllNewReleaseCategories() - * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories - */ - fetchAllNewReleaseCategories(limit = undefined, offset = undefined) { - return this.http.get(ENDPOINT, { - limit: limit, - offset: offset, - territory: this.territory - }) - } - - /** - * Init the new release category fetcher. - * - * @param {string} category_id - The category ID. - * @return {NewReleaseCategoryFetcher} - * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories-category_id - */ - setCategoryID(category_id) { - this.category_id = category_id - return this - } + /** + * Init the new release category fetcher. + * + * @param {string} categoryID - The category ID. + * @return {NewReleaseCategoryFetcher} + * @see https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories-category_id + */ + setCategoryID(categoryID) { + this.categoryID = categoryID; + return this; + } - /** - * Fetch metadata of the new release category you set. - * - * @return {Promise} - * @example api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchMetadata() - * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories-category_id - */ - fetchMetadata() { - return this.http.get(ENDPOINT + this.category_id, {territory: this.territory}) - } + /** + * Fetch metadata of the new release category you set. + * + * @return {Promise} + * @example api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchMetadata(); + * @see https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories-category_id + */ + fetchMetadata() { + return this.http.get(ENDPOINT + '/' + this.categoryID, { + territory: this.territory + }); + } - /** - * Fetch albums of the new release category with the category fetcher you init. Result will be paged. - * - * @param {number} [limit] - The size of one page. - * @param {number} [offset] - The offset index for first element. - * @return {Promise} - * @example api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchAlbums() - * @see https://kkbox.gelato.io/docs/versions/1.1/resources/new-release-categories/endpoints/get-new-release-categories-category_id-albums - */ - fetchAlbums(limit = undefined, offset = undefined) { - return this.http.get(ENDPOINT + this.category_id + '/albums', { - territory: this.territory, - limit: limit, - offset: offset - }) - } -} \ No newline at end of file + /** + * Fetch albums of the new release category with the category fetcher you init. Result will be paged. + * + * @param {number} [limit] - The size of one page. + * @param {number} [offset] - The offset index for first element. + * @return {Promise} + * @example api.newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz').fetchAlbums(); + * @see https://docs-en.kkbox.codes/v1.1/reference#newreleasecategories-category_id-albums + */ + fetchAlbums(limit = undefined, offset = undefined) { + return this.http.get(ENDPOINT + '/' + this.categoryID + '/albums', { + territory: this.territory, + limit: limit, + offset: offset + }); + } +} diff --git a/src/api/SearchFetcher.js b/src/api/SearchFetcher.js index 44dbb49..bf1381d 100644 --- a/src/api/SearchFetcher.js +++ b/src/api/SearchFetcher.js @@ -1,166 +1,201 @@ -import {SEARCH as ENDPOINT} from '../Endpoint' -import Fetcher from './Fetcher' +import { SEARCH as ENDPOINT } from '../Endpoint'; +import Fetcher from './Fetcher'; /** * Search API. - * @see https://kkbox.gelato.io/docs/versions/1.1/resources/search + * @see https://docs-en.kkbox.codes/v1.1/reference#search */ export default class SearchFetcher extends Fetcher { + /** + * @ignore + */ + constructor(http, territory = 'TW') { + super(http, territory); + /** * @ignore */ - constructor(http, territory = 'TW') { - super(http, territory) - - /** - * @ignore - */ - this.filterConditions = undefined - - /** - * @ignore - */ - this.q = undefined - - /** - * @ignore - */ - this.type = undefined - } + this.filterConditions = undefined; /** - * Filter what you don't want when search. - * - * @param {Object} [conditions] - search conditions. - * @param {string} conditions.track - track's name. - * @param {string} conditions.album - album's name. - * @param {string} conditions.artist - artist's name. - * @param {string} conditions.playlist - playlist's title. - * @param {string} conditions.available_territory - tracks and albums available territory. - * @return {Search} - * @example api.searchFetcher.setSearchCriteria('五月天 好好').filter({artist: '五月天'}).fetchSearchResult() + * @ignore */ - filter(conditions = { - track = undefined, - album = undefined, - artist = undefined, - playlist = undefined, - available_territory = undefined - } = {}) { - this.filterConditions = conditions - return this - } + this.q = undefined; /** - * Init the search fetcher for the artist, album, track or playlist. - * - * @param {string} q - The keyword to be searched. - * @param {string} [type] - ['artist', 'album', 'track', 'playlist'] The type of search. Default to search all types. If you want to use multiple type at the same time, you may use ',' to separate them. - * @return {Search} - * @see https://kkbox.gelato.io/docs/versions/1.1/resources/search + * @ignore */ - setSearchCriteria(q, type = undefined) { - this.q = q - this.type = type - return this - } + this.type = undefined; + } - /** - * Fetch the search result. - * - * @param {number} [limit] - The size of one page. - * @param {number} [offset] - The offset index for first element. - * @return {Promise} - * @example api.searchFetcher.setSearchCriteria('五月天 好好').fetchSearchResult() - * @see https://kkbox.gelato.io/docs/versions/1.1/resources/search/endpoints/get-search - */ - fetchSearchResult(limit = undefined, offset = undefined) { - return this.http.get(ENDPOINT, { - q: this.q, - type: this.type, - territory: this.territory, - limit: limit, - offset: offset - }).then(doFilter.bind(this)) - } + /** + * Filter what you don't want when search. + * + * @param {Object} [conditions] - search conditions. + * @param {string} conditions.track - track's name. + * @param {string} conditions.album - album's name. + * @param {string} conditions.artist - artist's name. + * @param {string} conditions.playlist - playlist's title. + * @param {string} conditions.availableTerritory - tracks and albums available territory. + * @return {Search} + * @example + * api.searchFetcher + * .setSearchCriteria('五月天 好好') + * .filter({artist: '五月天'}) + * .fetchSearchResult(); + */ + filter(conditions = {}) { + this.filterConditions = conditions; + return this; + } + + /** + * Init the search fetcher for the artist, album, track or playlist. + * + * @param {string} q - The keyword to be searched. + * @param {string} [type] - ['artist', 'album', 'track', 'playlist'] The type of search. Default to search all types. If you want to use multiple type at the same time, you may use ',' to separate them. + * @return {Search} + * @see https://docs-en.kkbox.codes/v1.1/reference#search_1 + */ + setSearchCriteria(q, type = undefined) { + this.q = q; + this.type = type; + return this; + } + + /** + * Fetch the search result. + * + * @param {number} [limit] - The size of one page. + * @param {number} [offset] - The offset index for first element. + * @return {Promise} + * @example + * api.searchFetcher + * .setSearchCriteria('五月天 好好') + * .fetchSearchResult(); + * @see https://docs-en.kkbox.codes/v1.1/reference#search_1 + */ + fetchSearchResult(limit = undefined, offset = undefined) { + return this.http + .get(ENDPOINT, { + q: this.q, + type: this.type, + territory: this.territory, + limit: limit, + offset: offset + }) + .then(doFilter.bind(this)); + } } function doFilter(response) { - if (this.filterConditions !== undefined) { - const data = Object.keys(response.data).map(key => { - switch (key) { - case 'tracks': - return { - [key]: Object.assign(response.data[key], { - data: response.data[key].data - .filter(track => { - if (this.filterConditions.available_territory !== undefined && - !track.available_territories.includes(this.filterConditions.available_territory)) { - return false - } - if (this.filterConditions.track !== undefined && - !new RegExp('.*' + this.filterConditions.track + '.*').test(track.name)) { - return false - } - if (this.filterConditions.album !== undefined && - !new RegExp('.*' + this.filterConditions.album + '.*').test(track.album.name)) { - return false - } - return !(this.filterConditions.artist !== undefined && - !new RegExp('.*' + this.filterConditions.artist + '.*').test(track.album.artist.name)) - }) - }) - } - case 'albums': - return { - [key]: Object.assign(response.data[key], { - data: response.data[key].data - .filter(album => { - if (this.filterConditions.available_territory !== undefined && - !album.available_territories.includes(this.filterConditions.available_territory)) { - return false - } - if (this.filterConditions.album !== undefined && - !new RegExp('.*' + this.filterConditions.album + '.*').test(album.name)) { - return false - } - return !(this.filterConditions.artist !== undefined && - !new RegExp('.*' + this.filterConditions.artist + '.*').test(album.artist.name)) - }) - }) - } - case 'artists': - return { - [key]: Object.assign(response.data[key], { - data: response.data[key].data - .filter(artist => { - if (this.filterConditions.artist === undefined) { - return true - } else { - return new RegExp('.*' + this.filterConditions.artist + '.*').test(artist.name) - } - }) - }) - } - case 'playlists': - return { - [key]: Object.assign(response.data[key], { - data: response.data[key].data - .filter(playlist => { - if (this.filterConditions.playlist === undefined) { - return true - } else { - return new RegExp('.*' + this.filterConditions.playlist + '.*').test(playlist.title) - } - }) - }) - } - default: - return {[key]: response.data[key]} - } - }) - return Object.assign(response, {data: Object.assign(...data)}) - } else { - return response - } -} \ No newline at end of file + if (this.filterConditions !== undefined) { + const data = Object.keys(response.data).map(key => { + switch (key) { + case 'tracks': + return { + [key]: Object.assign(response.data[key], { + data: response.data[key].data.filter(track => { + if ( + this.filterConditions.availableTerritory !== undefined && + !track.available_territories.includes( + this.filterConditions.availableTerritory + ) + ) { + return false; + } + if ( + this.filterConditions.track !== undefined && + !new RegExp('.*' + this.filterConditions.track + '.*').test( + track.name + ) + ) { + return false; + } + if ( + this.filterConditions.album !== undefined && + !new RegExp('.*' + this.filterConditions.album + '.*').test( + track.album.name + ) + ) { + return false; + } + return !( + this.filterConditions.artist !== undefined && + !new RegExp('.*' + this.filterConditions.artist + '.*').test( + track.album.artist.name + ) + ); + }) + }) + }; + case 'albums': + return { + [key]: Object.assign(response.data[key], { + data: response.data[key].data.filter(album => { + if ( + this.filterConditions.availableTerritory !== undefined && + !album.available_territories.includes( + this.filterConditions.availableTerritory + ) + ) { + return false; + } + if ( + this.filterConditions.album !== undefined && + !new RegExp('.*' + this.filterConditions.album + '.*').test( + album.name + ) + ) { + return false; + } + return !( + this.filterConditions.artist !== undefined && + !new RegExp('.*' + this.filterConditions.artist + '.*').test( + album.artist.name + ) + ); + }) + }) + }; + case 'artists': + return { + [key]: Object.assign(response.data[key], { + data: response.data[key].data.filter(artist => { + if (this.filterConditions.artist === undefined) { + return true; + } else { + return new RegExp( + '.*' + this.filterConditions.artist + '.*' + ).test(artist.name); + } + }) + }) + }; + case 'playlists': + return { + [key]: Object.assign(response.data[key], { + data: response.data[key].data.filter(playlist => { + if (this.filterConditions.playlist === undefined) { + return true; + } else { + return new RegExp( + '.*' + this.filterConditions.playlist + '.*' + ).test(playlist.title); + } + }) + }) + }; + default: + return { + [key]: response.data[key] + }; + } + }); + return Object.assign(response, { + data: Object.assign(...data) + }); + } else { + return response; + } +} diff --git a/src/api/SharedPlaylistFetcher.js b/src/api/SharedPlaylistFetcher.js index 03b0403..b62a19e 100644 --- a/src/api/SharedPlaylistFetcher.js +++ b/src/api/SharedPlaylistFetcher.js @@ -1,69 +1,77 @@ -import {SHARED_PLAYLISTS as ENDPOINT} from '../Endpoint' -import Fetcher from './Fetcher' +import { SHARED_PLAYLISTS as ENDPOINT } from '../Endpoint'; +import Fetcher from './Fetcher'; /** * Get playlist metadata. - * @see https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists + * @see https://docs-en.kkbox.codes/v1.1/reference#shared-playlists */ export default class SharedPlaylistFetcher extends Fetcher { + /** + * @ignore + */ + constructor(http, territory = 'TW') { + super(http, territory); + /** * @ignore */ - constructor(http, territory = 'TW') { - super(http, territory) + this.playlistID = undefined; + } - /** - * @ignore - */ - this.playlist_id = undefined - } + /** + * Init the shared playlist fetcher. + * + * @param {string} playlistID - The ID of a playlist. + * @return {SharedPlaylistFetcher} + * @see https://docs-en.kkbox.codes/v1.1/reference#sharedplaylists-playlist_id + */ + setPlaylistID(playlistID) { + this.playlistID = playlistID; + return this; + } - /** - * Init the shared playlist fetcher. - * - * @param {string} playlist_id - The ID of a playlist. - * @return {SharedPlaylistFetcher} - * @see https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists/endpoints/get-shared-playlists-playlist_id - */ - setPlaylistID(playlist_id) { - this.playlist_id = playlist_id - return this - } - - /** - * Fetch metadata of the shared playlist with the shared playlist fetcher. - * - * @return {Promise} - * @example api.SharedPlaylistFetcher.setPlaylistID('4nUZM-TY2aVxZ2xaA-').fetchMetadata() - * @see https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists/endpoints/get-shared-playlists-playlist_id - */ - fetchMetadata() { - return this.http.get(ENDPOINT + this.playlist_id, {territory: this.territory}) - } + /** + * Fetch metadata of the shared playlist with the shared playlist fetcher. + * + * @return {Promise} + * @example + * api.sharedPlaylistFetcher + * .setPlaylistID('4nUZM-TY2aVxZ2xaA-') + * .fetchMetadata(); + * @see https://docs-en.kkbox.codes/v1.1/reference#sharedplaylists-playlist_id + */ + fetchMetadata() { + return this.http.get(ENDPOINT + '/' + this.playlistID, { + territory: this.territory + }); + } - /** - * Get KKBOX web widget uri of the playlist. - * @example https://widget.kkbox.com/v1/?id=KmjwNXizu5MxHFSloP&type=playlist - * @return {string} - */ - getWidgetUri(){ - return `https://widget.kkbox.com/v1/?id=${this.playlist_id}&type=playlist` - } + /** + * Get KKBOX web widget uri of the playlist. + * @example https://widget.kkbox.com/v1/?id=KmjwNXizu5MxHFSloP&type=playlist + * @return {string} + */ + getWidgetUri() { + return `https://widget.kkbox.com/v1/?id=${this.playlistID}&type=playlist`; + } - /** - * Fetch track list of a shared playlist. - * - * @param {number} [limit] - The size for one page. - * @param {number} [offset] - The offset index for first element. - * @return {Promise} - * @example api.SharedPlaylistFetcher.setPlaylistID('4nUZM-TY2aVxZ2xaA-').fetchTracks() - * @see https://kkbox.gelato.io/docs/versions/1.1/resources/shared-playlists/endpoints/get-shared-playlists-playlist_id-tracks - */ - fetchTracks(limit = undefined, offset = undefined) { - return this.http.get(ENDPOINT + this.playlist_id + '/tracks', { - territory: this.territory, - limit: limit, - offset: offset - }) - } -} \ No newline at end of file + /** + * Fetch track list of a shared playlist. + * + * @param {number} [limit] - The size for one page. + * @param {number} [offset] - The offset index for first element. + * @return {Promise} + * @example + * api.sharedPlaylistFetcher + * .setPlaylistID('4nUZM-TY2aVxZ2xaA-') + * .fetchTracks(); + * @see https://docs-en.kkbox.codes/v1.1/reference#sharedplaylists-playlist_id-tracks + */ + fetchTracks(limit = undefined, offset = undefined) { + return this.http.get(ENDPOINT + '/' + this.playlistID + '/tracks', { + territory: this.territory, + limit: limit, + offset: offset + }); + } +} diff --git a/src/api/TrackFetcher.js b/src/api/TrackFetcher.js index e6e65ed..e4aa5e1 100644 --- a/src/api/TrackFetcher.js +++ b/src/api/TrackFetcher.js @@ -1,52 +1,54 @@ -import {TRACKS as ENDPOINT} from '../Endpoint' -import Fetcher from './Fetcher' +import { TRACKS as ENDPOINT } from '../Endpoint'; +import Fetcher from './Fetcher'; /** * Get metadata of a track. - * @see https://kkbox.gelato.io/docs/versions/1.1/resources/tracks + * @see https://docs-en.kkbox.codes/v1.1/reference#tracks */ export default class TrackFetcher extends Fetcher { + /** + * @ignore + */ + constructor(http, territory = 'TW') { + super(http, territory); + /** * @ignore */ - constructor(http, territory = 'TW') { - super(http, territory) - - /** - * @ignore - */ - this.track_id = undefined - } + this.trackID = undefined; + } - /** - * Set the track fetcher's track ID. - * - * @param {string} track_id - The ID of a track. - * @return {Track} - * @see https://kkbox.gelato.io/docs/versions/1.1/resources/tracks/endpoints/get-tracks-track_id - */ - setTrackID(track_id) { - this.track_id = track_id - return this - } + /** + * Set the track fetcher's track ID. + * + * @param {string} trackID - The ID of a track. + * @return {Track} + * @see https://docs-en.kkbox.codes/v1.1/reference#tracks-track_id + */ + setTrackID(trackID) { + this.trackID = trackID; + return this; + } - /** - * Get metadata of the track with the track fetcher. - * - * @return {Promise} - * @example api.Track.setTrackID('KpnEGVHEsGgkoB0MBk').fetchMetadata() - * @see https://kkbox.gelato.io/docs/versions/1.1/resources/tracks/endpoints/get-tracks-track_id - */ - fetchMetadata() { - return this.http.get(ENDPOINT + this.track_id, {territory: this.territory}) - } + /** + * Get metadata of the track with the track fetcher. + * + * @return {Promise} + * @example api.trackFetcher.setTrackID('KpnEGVHEsGgkoB0MBk').fetchMetadata(); + * @see https://docs-en.kkbox.codes/v1.1/reference#tracks-track_id + */ + fetchMetadata() { + return this.http.get(ENDPOINT + '/' + this.trackID, { + territory: this.territory + }); + } - /** - * Get KKBOX web widget uri of the track. - * @example https://widget.kkbox.com/v1/?id=8sD5pE4dV0Zqmmler6&type=song - * @return {string} - */ - getWidgetUri(){ - return `https://widget.kkbox.com/v1/?id=${this.track_id}&type=song` - } -} \ No newline at end of file + /** + * Get KKBOX web widget uri of the track. + * @example https://widget.kkbox.com/v1/?id=8sD5pE4dV0Zqmmler6&type=song + * @return {string} + */ + getWidgetUri() { + return `https://widget.kkbox.com/v1/?id=${this.trackID}&type=song`; + } +} diff --git a/src/auth/Auth.js b/src/auth/Auth.js index fc39488..1da5c40 100644 --- a/src/auth/Auth.js +++ b/src/auth/Auth.js @@ -1,26 +1,26 @@ -import ClientCredentialsFlow from './ClientCredentialsFlow' -import TokenFetcher from './TokenFetcher' +import ClientCredentialsFlow from './ClientCredentialsFlow'; +import TokenFetcher from './TokenFetcher'; /** * Implements various KKBOX OAuth 2.0 authorization flows. */ export default class Auth { + /** + * Initialize the Auth object with client id and client secret. + * + * @param {string} clientID + * @param {string} clientSecret + * @example new Auth(clientID, clientSecret); + */ + constructor(clientID, clientSecret) { /** - * Initialize the Auth object with client id and client secret. - * - * @param {string} client_id - * @param {string} client_secret - * @example new Auth(client_id, client_secret) + * @type {TokenFetcher} */ - constructor(client_id, client_secret) { - /** - * @type {TokenFetcher} - */ - this.tokenFetcher = new TokenFetcher(client_id, client_secret) + this.tokenFetcher = new TokenFetcher(clientID, clientSecret); - /** - * @type {ClientCredentialsFlow} - */ - this.clientCredentialsFlow = new ClientCredentialsFlow(this.tokenFetcher) - } -} \ No newline at end of file + /** + * @type {ClientCredentialsFlow} + */ + this.clientCredentialsFlow = new ClientCredentialsFlow(this.tokenFetcher); + } +} diff --git a/src/auth/ClientCredentialsFlow.js b/src/auth/ClientCredentialsFlow.js index a07a80e..ffb301a 100644 --- a/src/auth/ClientCredentialsFlow.js +++ b/src/auth/ClientCredentialsFlow.js @@ -1,26 +1,28 @@ /** * Implements the client credentials flow. Used for accessing APIs that don't need any KKBOX * user's personal data. - * @see https://kkbox.gelato.io/docs/versions/1.1/authentication + * @see https://docs-en.kkbox.codes/docs/getting-started */ export default class ClientCredentialsFlow { + /** + * @ignore + */ + constructor(token) { /** * @ignore */ - constructor(token) { - /** - * @ignore - */ - this.token = token - } + this.token = token; + } - /** - * Fetch access token. - * - * @return {Promise} - * @example auth.clientCredentialsFlow.fetchAccessToken() - */ - fetchAccessToken() { - return this.token.fetchAccessToken({grant_type: 'client_credentials'}) - } -} \ No newline at end of file + /** + * Fetch access token. + * + * @return {Promise} + * @example auth.clientCredentialsFlow.fetchAccessToken(); + */ + fetchAccessToken() { + return this.token.fetchAccessToken({ + grant_type: 'client_credentials' + }); + } +} diff --git a/src/auth/TokenFetcher.js b/src/auth/TokenFetcher.js index a072ca7..a16a0d5 100644 --- a/src/auth/TokenFetcher.js +++ b/src/auth/TokenFetcher.js @@ -1,40 +1,42 @@ -import axios from 'axios' -import {authError} from '../catchError' -import querystring from 'querystring' -import {Token as ENDPOINT_TOKEN} from '../Endpoint' +import axios from 'axios'; +import { authError } from '../catchError'; +import querystring from 'querystring'; +import { Token as ENDPOINT_TOKEN } from '../Endpoint'; /** * Fetches access token. */ export default class TokenFetcher { + /** + * @ignore + */ + constructor(clientID, clientSecret) { /** * @ignore */ - constructor(client_id, client_secret) { - /** - * @ignore - */ - this.client_id = client_id - - /** - * @ignore - */ - this.client_secret = client_secret - } + this.clientID = clientID; /** - * Fetches access token. - * - * @param {object} params - Form data. - * @return {Promise} + * @ignore */ - fetchAccessToken(params) { - return axios.post(ENDPOINT_TOKEN, querystring.stringify(params), { - auth: { - username: this.client_id, - password: this.client_secret - }, - headers: {'User-Agent': 'KKBOX JavaScript SDK'} - }).catch(authError) - } -} \ No newline at end of file + this.clientSecret = clientSecret; + } + + /** + * Fetches access token. + * + * @param {object} params - Form data. + * @return {Promise} + */ + fetchAccessToken(params) { + return axios + .post(ENDPOINT_TOKEN, querystring.stringify(params), { + auth: { + username: this.clientID, + password: this.clientSecret + }, + headers: {} + }) + .catch(authError); + } +} diff --git a/src/catchError.js b/src/catchError.js index cf60353..70c4f24 100644 --- a/src/catchError.js +++ b/src/catchError.js @@ -1,17 +1,17 @@ /** * @ignore */ -export const apiError = (error) => { - if (error.response) { - throw new Error(error.response.data.error.message) - } else { - throw new Error(error.message) - } -} +export const apiError = error => { + if (error.response) { + throw new Error(error.response.data.error.message); + } else { + throw new Error(error.message); + } +}; /** * @ignore */ -export const authError = (error) => { - throw new Error(error.response.data.error) -} \ No newline at end of file +export const authError = error => { + throw new Error(error.response.data.error); +}; diff --git a/src/index.js b/src/index.js new file mode 100644 index 0000000..7127840 --- /dev/null +++ b/src/index.js @@ -0,0 +1,2 @@ +export { default as Auth } from './auth/Auth'; +export { default as Api } from './api/Api'; diff --git a/src/test/apitest.js b/src/test/apitest.js new file mode 100644 index 0000000..9666f78 --- /dev/null +++ b/src/test/apitest.js @@ -0,0 +1,655 @@ +import should from 'should'; +import HttpClient from '../api/HttpClient'; +import SearchFetcher from '../api/SearchFetcher'; +import AlbumFetcher from '../api/AlbumFetcher'; +import ArtistFetcher from '../api/ArtistFetcher'; +import FeaturedPlaylistFetcher from '../api/FeaturedPlaylistFetcher'; +import FeaturedPlaylistCategoryFetcher from '../api/FeaturedPlaylistCategoryFetcher'; +import NewReleaseCategoryFetcher from '../api/NewReleaseCategoryFetcher'; +import NewHitsPlaylistFetcher from '../api/NewHitsPlaylistFetcher'; +import SharedPlaylistFetcher from '../api/SharedPlaylistFetcher'; +import MoodStationFetcher from '../api/MoodStationFetcher'; +import GenreStationFetcher from '../api/GenreStationFetcher'; +import ChartFetcher from '../api/ChartFetcher'; +import TrackFetcher from '../api/TrackFetcher'; +import TokenFetcher from '../auth/TokenFetcher'; +import ClientCredentials from '../auth/ClientCredentialsFlow'; +import { kkbox_sdk } from '../../client_secrets.json'; +const CLIENT_ID = kkbox_sdk.client_id; +const CLIENT_SECRET = kkbox_sdk.client_secret; + +describe('Api Begin to Test', () => { + describe('ClientCredentials', () => { + describe('#fetch the access token()', () => { + it('should fetch access token', () => { + const tokenFetcher = new TokenFetcher(CLIENT_ID, CLIENT_SECRET); + const clientCredentials = new ClientCredentials(tokenFetcher); + return clientCredentials.fetchAccessToken().then( + response => { + const access_token = response.data.access_token; + access_token.should.be.ok; + + const httpClient = new HttpClient(access_token); + + describe('Search', () => { + const searchFetcher = new SearchFetcher( + httpClient + ).setSearchCriteria('Linkin Park'); + describe('#fetchSearchResult()', () => { + it('should response status 200', () => { + return searchFetcher.fetchSearchResult().then(response => { + response.status.should.be.exactly(200), + reject => should.not.exists(reject); + }); + }); + }); + + describe('#filter()', () => { + it('should get result', () => { + return searchFetcher + .filter({ + artist: 'Linkin Park', + album: 'One More Light', + available_territory: 'TW' + }) + .fetchSearchResult() + .then(response => { + response.data.tracks.data.length.should.be.greaterThan(0); + }); + }); + }); + }); + + describe('Track', () => { + const track_id = 'KpnEGVHEsGgkoB0MBk'; + const trackFetcher = new TrackFetcher(httpClient).setTrackID( + track_id + ); + it('should response status 200', () => { + return trackFetcher + .fetchMetadata() + .then( + response => response.status.should.be.exactly(200), + reject => should.not.exists(reject) + ); + }); + + describe('#getWidgetUri', () => { + it('should return right uri', function(doneCb) { + trackFetcher + .getWidgetUri() + .should.be.exactly( + `https://widget.kkbox.com/v1/?id=${track_id}&type=song` + ); + doneCb(); + }); + }); + }); + + describe('Album', () => { + const album_id = 'KmRKnW5qmUrTnGRuxF'; + const albumFetcher = new AlbumFetcher(httpClient).setAlbumID( + album_id + ); + describe('#fetchMetadata()', () => { + it('should response status 200', () => { + return albumFetcher.fetchMetadata().then( + response => { + response.status.should.be.exactly(200); + }, + reject => { + should.not.exist(reject); + } + ); + }); + }); + + describe('#fetchTracks()', () => { + var fulfillment = undefined; + it('should response status 200', () => { + return albumFetcher.fetchTracks().then( + response => { + response.status.should.be.exactly(200); + fulfillment = response; + }, + reject => { + should.not.exist(reject); + } + ); + }); + + it('fetch next page should fail', () => { + return albumFetcher.fetchNextPage(fulfillment).then( + response => { + throw new Error('Should not get response'); + }, + reject => { + should.exist(reject); + } + ); + }); + + it('should not have next page', done => { + albumFetcher.hasNextPage(fulfillment).should.be.false; + done(); + }); + }); + + describe('#getWidgetUri', () => { + it('should return right uri', done => { + albumFetcher + .getWidgetUri() + .should.be.exactly( + `https://widget.kkbox.com/v1/?id=${album_id}&type=album` + ); + done(); + }); + }); + }); + + describe('Album fetch next tracks', () => { + const album_id = 'Ks8MAYNedkIB_sGajW'; // Cosmic Explorer from Perfume + const albumFetcher = new AlbumFetcher(httpClient).setAlbumID( + album_id + ); + + describe('#fetchTracks(1)', () => { + it('should succeed and should fetch next page succeed', done => { + albumFetcher.fetchTracks(1).then( + response => { + response.status.should.be.exactly(200); + albumFetcher.fetchNextPage(response).then( + response => { + response.data.data.should.be.an.instanceOf(Array); + response.data.data.length.should.be.equal(1); + response.status.should.be.exactly(200); + done(); + }, + reject => { + done(reject); + } + ); + }, + reject => { + done(reject); + } + ); + }); + }); + }); + + describe('Album fetch next page', () => { + const album_id = 'Ks8MAYNedkIB_sGajW'; // Cosmic Explorer from Perfume + const albumFetcher = new AlbumFetcher(httpClient).setAlbumID( + album_id + ); + + it('fetch next page should response status 200', () => { + return albumFetcher.fetchTracks(1).then( + response => { + response.status.should.be.exactly(200); + albumFetcher.fetchNextPage(response).then( + response => { + response.status.should.be.exactly(200); + }, + reject => { + should.not.exists(reject); + } + ); + }, + reject => { + should.not.exists(reject); + } + ); + }); + }); + + describe('Shared Playlists', () => { + const playlist_id = '4nUZM-TY2aVxZ2xaA-'; + const sharedPlaylistFetcher = new SharedPlaylistFetcher( + httpClient + ).setPlaylistID(playlist_id); + describe('#find and get()', () => { + it('should response status 200', done => { + sharedPlaylistFetcher + .fetchMetadata() + .then(response => { + response.status.should.be.exactly(200); + done(); + }) + .catch(error => { + should.not.exists(error); + done(error); + }); + }); + }); + + describe('#tracks()', () => { + it('should response status 200', done => { + sharedPlaylistFetcher.fetchTracks().then( + response => { + response.status.should.be.exactly(200); + done(); + }, + reject => { + done(reject); + } + ); + }); + }); + + describe('#getWidgetUri', () => { + it('should return right uri', done => { + sharedPlaylistFetcher + .getWidgetUri() + .should.be.exactly( + `https://widget.kkbox.com/v1/?id=${playlist_id}&type=playlist` + ); + done(); + }); + }); + }); + + describe('Artist', () => { + const artistFetcher = new ArtistFetcher(httpClient).setArtistID( + 'Cnv_K6i5Ft4y41SxLy' + ); + describe('#fetchMetadata()', () => { + it('should response status 200', () => { + return artistFetcher + .fetchMetadata() + .then(response => { + response.status.should.be.exactly(200); + return response; + }) + .catch(error => should.not.exists(error)); + }); + }); + + describe('#fetchAlbums()', () => { + it('should succeed and fetch next page should fail', () => { + return artistFetcher + .fetchAlbums() + .then(response => { + response.status.should.be.exactly(200); + artistFetcher + .fetchNextPage(response) + .then(response => { + response.status.should.not.be.exactly(200); + return response; + }) + .catch(error => should.exists(error)); + return response; + }) + .catch(error => should.not.exists(error)); + }); + }); + + describe('#fetchTopTracks()', () => { + it('should response status 200', done => { + artistFetcher.fetchTopTracks().then( + response => { + response.status.should.be.exactly(200); + done(); + }, + reject => { + should.not.exists(reject); + done(); + } + ); + }); + }); + + describe('#fetchRelatedArtists()', () => { + it('should response status 200', done => { + artistFetcher.fetchRelatedArtists().then( + response => { + response.status.should.be.exactly(200); + done(); + }, + reject => { + should.not.exists(reject); + done(); + } + ); + }); + }); + }); + + describe('Artist fetch album tests', () => { + const artistFetcher = new ArtistFetcher(httpClient).setArtistID( + 'Cnv_K6i5Ft4y41SxLy' + ); + describe('#fetchAlbums(1)', () => { + it('should succeed and fetch next page shuold succeed', done => { + artistFetcher.fetchAlbums(1).then(response => { + response.status.should.be.exactly(200); + artistFetcher.fetchNextPage(response).then( + response => { + response.status.should.be.exactly(200); + done(); + }, + reject => { + done(reject); + } + ); + }); + }); + }); + + describe('#fetchTopTracks(1)', () => { + it('should succeed and fetch next page shuold succeed', done => { + artistFetcher.fetchTopTracks(1).then(response => { + response.status.should.be.exactly(200); + artistFetcher.fetchNextPage(response).then( + response => { + response.status.should.be.exactly(200); + done(); + }, + reject => { + done(reject); + } + ); + }); + }); + }); + }); + + describe('Featured Playlists', () => { + const featuredPlaylistFetcher = new FeaturedPlaylistFetcher( + httpClient + ); + describe('#fetchAllFeaturedPlaylists()', () => { + it('should response status 200', done => { + featuredPlaylistFetcher + .fetchAllFeaturedPlaylists(1) + .then(response => { + response.status.should.be.exactly(200); + featuredPlaylistFetcher.fetchNextPage(response).then( + response => { + response.status.should.be.exactly(200); + done(); + }, + reject => { + done(reject); + } + ); + }); + }); + }); + }); + + describe('Featured Playlist Category', () => { + const featuredPlaylistCategoryFetcher = new FeaturedPlaylistCategoryFetcher( + httpClient + ); + describe('#fetchAll()', () => { + it('should response status 200', () => { + return featuredPlaylistCategoryFetcher + .fetchAllFeaturedPlaylistCategories() + .then( + response => response.status.should.be.exactly(200), + reject => should.not.exists(reject) + ); + }); + }); + + const f = featuredPlaylistCategoryFetcher.setCategoryID( + 'LXUR688EBKRRZydAWb' + ); + describe('#fetchMetadata()', () => { + it('should response status 200', () => { + return f + .fetchMetadata() + .then( + response => response.status.should.be.exactly(200), + reject => should.not.exists(reject) + ); + }); + }); + + describe('#fetchPlaylists()', () => { + it('should response status 200 and fetch next page should succeed', done => { + f.fetchPlaylists().then(response => { + response.status.should.be.exactly(200); + f.fetchNextPage(response).then( + response => { + response.status.should.be.exactly(200); + done(); + }, + reject => { + done(reject); + } + ); + }); + }); + }); + }); + + describe('Mood Station', () => { + const moodStationFetcher = new MoodStationFetcher(httpClient); + describe('#fetchAll()', () => { + it('should succeed', () => { + return moodStationFetcher + .fetchAllMoodStations() + .then( + response => response.status.should.be.exactly(200), + reject => should.not.exists(reject) + ); + }); + }); + + describe('#fetchMetadata()', () => { + it('should succeed', () => { + return moodStationFetcher + .setMoodStationID('StGZp2ToWq92diPHS7') + .fetchMetadata() + .then( + response => response.status.should.be.exactly(200), + reject => should.not.exists(reject) + ); + }); + }); + }); + + describe('Genre Station', () => { + const genreStationFetcher = new GenreStationFetcher(httpClient); + describe('#fetchAllGenreStations()', () => { + it('should succeed and fetch next page should succeed', done => { + genreStationFetcher + .fetchAllGenreStations(1) + .then(response => { + response.status.should.be.exactly(200); + genreStationFetcher.fetchNextPage(response).then( + response => { + response.status.should.be.exactly(200); + done(); + }, + reject => { + done(reject); + } + ); + }); + }); + }); + + describe('#fetchMetadata()', () => { + it('should succeed', () => { + return genreStationFetcher + .setGenreStationID('TYq3EHFTl-1EOvJM5Y') + .fetchMetadata() + .then( + response => response.status.should.be.exactly(200), + reject => should.not.exists(reject) + ); + }); + }); + }); + + describe('Chart', () => { + const chartFetcher = new ChartFetcher(httpClient); + describe('#fetchCharts()', () => { + it('should succeed and fetch next page should fail', done => { + chartFetcher.fetchCharts().then(response => { + response.status.should.be.exactly(200); + chartFetcher.hasNextPage(response).should.be.false(); + chartFetcher.fetchNextPage(response).then( + response => { + response.should.not.exists(); + done(response); + }, + reject => { + done(); + } + ); + }); + }); + }); + + describe('#fetchMetadata()', () => { + it('should succeed', done => { + chartFetcher + .setPlaylistID('4mJSYXvueA8t0odsny') + .fetchMetadata() + .then( + response => { + response.status.should.be.exactly(200); + done(); + }, + reject => { + should.not.exists(reject); + done(); + } + ); + }); + }); + + describe('#fetchTracks()', () => { + it('should succeed', done => { + chartFetcher + .setPlaylistID('4mJSYXvueA8t0odsny') + .fetchTracks() + .then( + response => { + response.status.should.be.exactly(200); + done(); + }, + reject => { + should.not.exists(reject); + done(); + } + ); + }); + }); + }); + + describe('New Release Category', () => { + const newReleaseCategoryFetcher = new NewReleaseCategoryFetcher( + httpClient + ); + describe('#fetchAll()', () => { + it('should succeed and fetch next page should succeed', done => { + newReleaseCategoryFetcher + .fetchAllNewReleaseCategories(1) + .then( + response => { + response.status.should.be.exactly(200); + newReleaseCategoryFetcher + .hasNextPage(response) + .should.be.true(); + newReleaseCategoryFetcher.fetchNextPage(response).then( + response => { + response.status.should.be.ok(); + done(); + }, + reject => { + done(reject); + } + ); + }, + reject => should.not.exists(reject) + ); + }); + }); + + const f = newReleaseCategoryFetcher.setCategoryID( + 'Cng5IUIQhxb8w1cbsz' + ); + describe('#fetchMetadata()', () => { + it('should response status 200', () => { + return f + .fetchMetadata() + .then( + response => response.status.should.be.exactly(200), + reject => should.not.exists(reject) + ); + }); + }); + + describe('#fetchAlbums()', () => { + it('should response status 200 and fetch next page should succeed', done => { + f.fetchAlbums().then(response => { + response.status.should.be.exactly(200); + f.fetchNextPage(response).then( + response => { + response.status.should.be.exactly(200); + done(); + }, + reject => { + done(reject); + } + ); + }); + }); + }); + }); + + describe('New Hits Playlists', () => { + const newHitsPlaylistFetcher = new NewHitsPlaylistFetcher( + httpClient + ); + describe('#fetchAll()', () => { + it('should succeed', () => { + newHitsPlaylistFetcher + .fetchAllNewHitsPlaylists() + .then(response => { + response.status.should.be.exactly(200); + }) + .catch(error => should.not.exists(error)); + }); + }); + + const f = newHitsPlaylistFetcher.setPlaylistID( + 'DZni8m29ciOFbRxTJq' + ); + describe('#fetchMetadata()', () => { + it('should succeed', () => { + return f + .fetchMetadata() + .then( + response => response.status.should.be.exactly(200), + reject => should.not.exists(reject) + ) + .catch(error => should.not.exsits(error)); + }); + }); + + describe('#fetchTracks()', () => { + it('should succeed', () => { + return f + .fetchTracks() + .then( + response => response.status.should.be.exactly(200), + reject => should.not.exists(reject) + ) + .catch(error => should.not.exsits(error)); + }); + }); + }); + }, + reject => should.not.exists(reject) + ); + }); + }); + }); +}); diff --git a/src/test/authtest.js b/src/test/authtest.js new file mode 100644 index 0000000..50d12af --- /dev/null +++ b/src/test/authtest.js @@ -0,0 +1,22 @@ +import should from 'should'; +import TokenFetcher from '../auth/TokenFetcher'; +import ClientCredentialsFlow from '../auth/ClientCredentialsFlow'; +import { kkbox_sdk } from '../../client_secrets.json'; + +const CLIENT_ID = kkbox_sdk.client_id; +const CLIENT_SECRET = kkbox_sdk.client_secret; + +describe('Auth Begin to Test', () => { + const tokenFetcher = new TokenFetcher(CLIENT_ID, CLIENT_SECRET); + describe('clientCredentialsFlow', () => { + describe('#fetchAccessToken()', () => { + it('should get access token', () => { + const clientCredentialsFlow = new ClientCredentialsFlow(tokenFetcher); + return clientCredentialsFlow.fetchAccessToken().then(response => { + const access_token = response.data.access_token; + access_token.should.be.ok; + }); + }); + }); + }); +}); diff --git a/src/test/sdktest.js b/src/test/sdktest.js new file mode 100644 index 0000000..0167c7b --- /dev/null +++ b/src/test/sdktest.js @@ -0,0 +1,153 @@ +import should from 'should'; +import { Auth, Api } from '../'; +import { kkbox_sdk } from '../../client_secrets.json'; + +const CLIENT_ID = kkbox_sdk.client_id; +const CLIENT_SECRET = kkbox_sdk.client_secret; + +describe('SDK Begin to Test', () => { + describe('Auth', () => { + it('should get access token', () => { + const auth = new Auth(CLIENT_ID, CLIENT_SECRET); + return auth.clientCredentialsFlow.fetchAccessToken().then(response => { + describe('Api With Fake Token', () => { + const api = new Api('FAKE_TOKEN', 'HK'); + describe('Property checking', () => { + it('should have HK as territory', done => { + api.territory.should.be.exactly('HK'); + done(); + }); + }); + + describe('Search with fake token', () => { + it('should fail', () => { + return api.searchFetcher + .setSearchCriteria('flash') + .fetchSearchResult() + .then(response => { + should.not.exists(response); + }) + .catch(error => { + should.exists(error); + }); + }); + }); + }); + + const access_token = response.data.access_token; + access_token.should.be.ok; + + describe('Api', () => { + const api = new Api('FAKE_TOKEN', 'HK'); + api.setToken(access_token); + describe('Search', () => { + it('should response status 200', () => { + return api.searchFetcher + .setSearchCriteria('flash') + .fetchSearchResult() + .then(response => response.status.should.be.exactly(200)); + }); + }); + + describe('Track', () => { + it('should response status 200', () => { + return api.trackFetcher + .setTrackID('KpnEGVHEsGgkoB0MBk') + .fetchMetadata() + .then(response => response.status.should.be.exactly(200)); + }); + }); + + describe('Album', () => { + it('should response status 200', () => { + return api.albumFetcher + .setAlbumID('KmRKnW5qmUrTnGRuxF') + .fetchMetadata() + .then(response => response.status.should.be.exactly(200)); + }); + }); + + describe('Artist', () => { + it('should response status 200', () => { + return api.artistFetcher + .setArtistID('Cnv_K6i5Ft4y41SxLy') + .fetchMetadata() + .then(response => response.status.should.be.exactly(200)); + }); + }); + + describe('Featured Playlists', () => { + it('should response status 200', () => { + return api.featuredPlaylistFetcher + .fetchAllFeaturedPlaylists() + .then(response => response.status.should.be.exactly(200)); + }); + }); + + describe('Featured Playlist Category', () => { + it('should response status 200', () => { + return api.featuredPlaylistCategoryFetcher + .fetchAllFeaturedPlaylistCategories() + .then(response => response.status.should.be.exactly(200)); + }); + }); + + describe('Mood Station', () => { + it('should response status 200', () => { + return api.moodStationFetcher + .fetchAllMoodStations() + .then(response => response.status.should.be.exactly(200)); + }); + }); + + describe('Genre Station', () => { + it('should response status 200', () => { + return api.genreStationFetcher + .fetchAllGenreStations() + .then(response => response.status.should.be.exactly(200)); + }); + }); + + describe('Chart', () => { + it('should response status 200', () => { + return api.chartFetcher + .fetchCharts() + .then(response => response.status.should.be.exactly(200)); + }); + }); + + describe('New Release Category', () => { + it('should response status 200', () => { + return api.newReleaseCategoryFetcher + .fetchAllNewReleaseCategories() + .then(response => response.status.should.be.exactly(200)); + }); + }); + + describe('New Hits Playlists', () => { + it('should response status 200', () => { + return api.newHitsPlaylistFetcher + .fetchAllNewHitsPlaylists() + .then(response => response.status.should.be.exactly(200)); + }); + }); + + describe('Shared Playlist', () => { + it('should response status 200', () => { + return api.sharedPlaylistFetcher + .setPlaylistID('KsOjSf4whgbL45hRfl') + .fetchMetadata() + .then(response => response.status.should.be.exactly(200)); + }); + it('should response status 200', () => { + return api.sharedPlaylistFetcher + .setPlaylistID('KsOjSf4whgbL45hRfl') + .fetchTracks() + .then(response => response.status.should.be.exactly(200)); + }); + }); + }); + }); + }); + }); +}); diff --git a/test/apitest.js b/test/apitest.js deleted file mode 100644 index 6d99022..0000000 --- a/test/apitest.js +++ /dev/null @@ -1,421 +0,0 @@ -import should from 'should' -import HttpClient from '../src/api/HttpClient' -import SearchFetcher from '../src/api/SearchFetcher' -import AlbumFetcher from '../src/api/AlbumFetcher' -import ArtistFetcher from '../src/api/ArtistFetcher' -import FeaturedPlaylistFetcher from '../src/api/FeaturedPlaylistFetcher' -import FeaturedPlaylistCategoryFetcher from '../src/api/FeaturedPlaylistCategoryFetcher' -import NewReleaseCategoryFetcher from '../src/api/NewReleaseCategoryFetcher' -import NewHitsPlaylistFetcher from '../src/api/NewHitsPlaylistFetcher' -import SharedPlaylistFetcher from '../src/api/SharedPlaylistFetcher' -import MoodStationFetcher from '../src/api/MoodStationFetcher' -import GenreStationFetcher from '../src/api/GenreStationFetcher' -import ChartFetcher from '../src/api/ChartFetcher' -import TrackFetcher from '../src/api/TrackFetcher' -import TokenFetcher from '../src/auth/TokenFetcher' -import ClientCredentials from '../src/auth/ClientCredentialsFlow' -import {kkbox_sdk} from './client_secrets.json' -const CLIENT_ID = kkbox_sdk.client_id -const CLIENT_SECRET = kkbox_sdk.client_secret - -describe('Api Begin to Test', () => { - describe('ClientCredentials', () => { - describe('#fetch the access token()', () => { - it('should fetch access token', () => { - const tokenFetcher = new TokenFetcher(CLIENT_ID, CLIENT_SECRET) - const clientCredentials = new ClientCredentials(tokenFetcher) - return clientCredentials.fetchAccessToken().then(response => { - const access_token = response.data.access_token - access_token.should.be.ok - - const httpClient = new HttpClient(access_token) - - describe('Search', () => { - const searchFetcher = new SearchFetcher(httpClient).setSearchCriteria('Linkin Park') - describe('#fetchSearchResult()', () => { - it('should response status 200', () => { - return searchFetcher.fetchSearchResult().then(response => { - response.status.should.be.exactly(200), reject => should.not.exists(reject) - }) - }) - }) - - describe('#filter()', () => { - it('should get result', () => { - return searchFetcher.filter({ - artist: 'Linkin Park', - album: 'One More Light', - available_territory: 'TW' - }).fetchSearchResult().then(response => { - response.data.tracks.data.length.should.be.greaterThan(0) - }) - }) - }) - }) - - describe('Track', () => { - const track_id = 'KpnEGVHEsGgkoB0MBk' - const trackFetcher = new TrackFetcher(httpClient).setTrackID(track_id) - it('should response status 200', () => { - return trackFetcher.fetchMetadata().then(response => response.status.should.be.exactly(200), reject => should.not.exists(reject)) - }) - - describe('#getWidgetUri', () => { - it('should return right uri', function (doneCb) { - trackFetcher.getWidgetUri().should.be.exactly(`https://widget.kkbox.com/v1/?id=${track_id}&type=song`) - doneCb() - }) - }) - }) - - describe('Album', () => { - const album_id = 'KmRKnW5qmUrTnGRuxF' - const albumFetcher = new AlbumFetcher(httpClient).setAlbumID(album_id) - describe('#fetchMetadata()', () => { - it('should response status 200', (done) => { - return albumFetcher.fetchMetadata().then(response => { - response.status.should.be.exactly(200) - }, reject => { - should.not.exist(reject) - }) - }) - }) - - describe('#fetchTracks()', () => { - var fulfillment = undefined - it('should response status 200', () => { - return albumFetcher.fetchTracks().then(response => { - response.status.should.be.exactly(200) - fulfillment = response - }, reject => { - should.not.exist(reject) - }) - }) - - it('fetch next page should fail', () => { - return albumFetcher.fetchNextPage(fulfillment).then(response => { - throw new Error('Should not get response') - }, reject => { - should.exist(reject) - }) - }) - - it('should not have next page', (done) => { - albumFetcher.hasNextPage(fulfillment).should.be.false - done() - }) - }) - - describe('#getWidgetUri', () => { - it('should return right uri', (done) => { - albumFetcher.getWidgetUri().should.be.exactly(`https://widget.kkbox.com/v1/?id=${album_id}&type=album`) - done() - }) - }) - }) - - describe('Album fetch next tracks', () => { - const album_id = 'Ks8MAYNedkIB_sGajW' // Cosmic Explorer from Perfume - const albumFetcher = new AlbumFetcher(httpClient).setAlbumID(album_id) - - describe('#fetchTracks(1)', () => { - it('should succeed and should fetch next page succeed', (done) => { - albumFetcher.fetchTracks(1).then(response => { - response.status.should.be.exactly(200) - albumFetcher.fetchNextPage(response).then(response => { - response.data.data.should.be.an.instanceOf(Array) - response.data.data.length.should.be.equal(1) - response.status.should.be.exactly(200) - done() - }, reject => { - done(reject) - }) - }, reject => { - done(reject) - }) - }) - }) - }) - - describe('Album fetch next page', () => { - const album_id = 'Ks8MAYNedkIB_sGajW' // Cosmic Explorer from Perfume - const albumFetcher = new AlbumFetcher(httpClient).setAlbumID(album_id) - - it('fetch next page should response status 200', () => { - return albumFetcher.fetchTracks(1).then(response => { - response.status.should.be.exactly(200) - albumFetcher.fetchNextPage(response).then(response => { - response.status.should.be.exactly(200) - }, reject => { - should.not.exists(reject) - }) - }, reject => { - should.not.exists(reject) - }) - }) - }) - - describe('Shared Playlists', () => { - const playlist_id = '4nUZM-TY2aVxZ2xaA-' - const sharedPlaylistFetcher = new SharedPlaylistFetcher(httpClient).setPlaylistID(playlist_id) - describe('#find and get()', () => { - it('should response status 200', (done) => { - sharedPlaylistFetcher.fetchMetadata().then((response) => { - response.status.should.be.exactly(200) - done() - }).catch(error => { - should.not.exists(error) - done(error) - }) - }) - }) - - describe('#tracks()', () => { - it('should response status 200', (done) => { - sharedPlaylistFetcher.fetchTracks().then(response => { - response.status.should.be.exactly(200) - done() - }, reject => { - done(reject) - }) - }) - }) - - describe('#getWidgetUri', () => { - it('should return right uri', (done) => { - sharedPlaylistFetcher.getWidgetUri().should.be.exactly(`https://widget.kkbox.com/v1/?id=${playlist_id}&type=playlist`) - done() - }) - }) - }) - - describe('Artist', () => { - const artistFetcher = new ArtistFetcher(httpClient).setArtistID('Cnv_K6i5Ft4y41SxLy') - describe('#fetchMetadata()', () => { - it('should response status 200', () => { - return artistFetcher.fetchMetadata().then(response => { - response.status.should.be.exactly(200) - return response - }).catch((error) => should.not.exists(error)) - }) - }) - - describe('#fetchAlbums()', () => { - it('should succeed and fetch next page should fail', () => { - return artistFetcher.fetchAlbums().then(response => { - response.status.should.be.exactly(200) - artistFetcher.fetchNextPage(response).then(response => { - response.status.should.not.be.exactly(200) - return response - }).catch((error) => should.exists(error)) - return response - }).catch((error) => should.not.exists(error)) - }) - }) - - describe('#fetchTopTracks()', () => { - it('should response status 200', (done) => { - artistFetcher.fetchTopTracks().then(response => response.status.should.be.exactly(200), reject => should.not.exists(reject)) - }) - }) - }) - - describe('Artist fetch album tests', () => { - const artistFetcher = new ArtistFetcher(httpClient).setArtistID('Cnv_K6i5Ft4y41SxLy') - describe('#fetchAlbums(1)', () => { - it('should succeed and fetch next page shuold succeed', (done) => { - artistFetcher.fetchAlbums(1).then(response => { - response.status.should.be.exactly(200) - artistFetcher.fetchNextPage(response).then(response => { - response.status.should.be.exactly(200) - done() - }, reject => { - done(reject) - }) - }) - }) - }) - - describe('#fetchTopTracks(1)', () => { - it('should succeed and fetch next page shuold succeed', (done) => { - artistFetcher.fetchTopTracks(1).then(response => { - response.status.should.be.exactly(200) - artistFetcher.fetchNextPage(response).then(response => { - response.status.should.be.exactly(200) - done() - }, reject => { - done(reject) - }) - }) - }) - }) - }) - - describe('Featured Playlists', () => { - const featuredPlaylistFetcher = new FeaturedPlaylistFetcher(httpClient) - describe('#fetchAllFeaturedPlaylists()', () => { - it('should response status 200', (done) => { - featuredPlaylistFetcher.fetchAllFeaturedPlaylists(1).then(response => { - response.status.should.be.exactly(200) - featuredPlaylistFetcher.fetchNextPage(response).then(response => { - response.status.should.be.exactly(200) - done() - }, reject => { - done(reject) - }) - }) - }) - }) - }) - - describe('Featured Playlist Category', () => { - const featuredPlaylistCategoryFetcher = new FeaturedPlaylistCategoryFetcher(httpClient) - describe('#fetchAll()', () => { - it('should response status 200', () => { - return featuredPlaylistCategoryFetcher.fetchAllFeaturedPlaylistCategories().then(response => response.status.should.be.exactly(200), reject => should.not.exists(reject)) - }) - }) - - const f = featuredPlaylistCategoryFetcher.setCategoryID('LXUR688EBKRRZydAWb') - describe('#fetchMetadata()', () => { - it('should response status 200', () => { - return f.fetchMetadata().then(response => response.status.should.be.exactly(200), reject => should.not.exists(reject)) - }) - }) - - describe('#fetchPlaylists()', () => { - it('should response status 200 and fetch next page should succeed', (done) => { - f.fetchPlaylists().then(response => { - response.status.should.be.exactly(200) - f.fetchNextPage(response).then(response => { - response.status.should.be.exactly(200) - done() - }, reject => { - done(reject) - }) - }) - }) - }) - }) - - describe('Mood Station', () => { - const moodStationFetcher = new MoodStationFetcher(httpClient) - describe('#fetchAll()', () => { - it('should succeed', () => { - return moodStationFetcher.fetchAllMoodStations().then(response => response.status.should.be.exactly(200), reject => should.not.exists(reject)) - }) - }) - - describe('#fetchMetadata()', () => { - it('should succeed', () => { - return moodStationFetcher.setMoodStationID('StGZp2ToWq92diPHS7').fetchMetadata().then(response => response.status.should.be.exactly(200), reject => should.not.exists(reject)) - }) - }) - }) - - describe('Genre Station', () => { - const genreStationFetcher = new GenreStationFetcher(httpClient) - describe('#fetchAllGenreStations()', () => { - it('should succeed and fetch next page should succeed', (done) => { - genreStationFetcher.fetchAllGenreStations(1).then(response => { - response.status.should.be.exactly(200) - genreStationFetcher.fetchNextPage(response).then(response => { - response.status.should.be.exactly(200) - done() - }, reject => { - done(reject) - }) - }) - }) - }) - - describe('#fetchMetadata()', () => { - it('should succeed', () => { - return genreStationFetcher.setGenreStationID('TYq3EHFTl-1EOvJM5Y').fetchMetadata().then(response => response.status.should.be.exactly(200), reject => should.not.exists(reject)) - }) - }) - }) - - describe('Chart', () => { - const chartFetcher = new ChartFetcher(httpClient) - describe('#fetchCharts()', () => { - it('should succeed and fetch next page should fail', (done) => { - chartFetcher.fetchCharts().then(response => { - response.status.should.be.exactly(200) - chartFetcher.hasNextPage(response).should.be.false() - chartFetcher.fetchNextPage(response).then(response => { - response.should.not.exists() - done(response) - }, reject => { - done() - }) - }) - }) - }) - }) - - describe('New Release Category', () => { - const newReleaseCategoryFetcher = new NewReleaseCategoryFetcher(httpClient) - describe('#fetchAll()', () => { - it('should succeed and fetch next page should succeed', (done) => { - newReleaseCategoryFetcher.fetchAllNewReleaseCategories(1).then( - response => { - response.status.should.be.exactly(200) - newReleaseCategoryFetcher.hasNextPage(response).should.be.true() - newReleaseCategoryFetcher.fetchNextPage(response).then(response => { - response.status.should.be.ok() - done() - }, reject => { - done(reject) - }) - }, reject => should.not.exists(reject) - ) - }) - }) - - const f = newReleaseCategoryFetcher.setCategoryID('Cng5IUIQhxb8w1cbsz') - describe('#fetchMetadata()', () => { - it('should response status 200', () => { - return f.fetchMetadata().then(response => response.status.should.be.exactly(200), reject => should.not.exists(reject)) - }) - }) - - describe('#fetchAlbums()', () => { - it('should response status 200 and fetch next page should succeed', (done) => { - f.fetchAlbums().then(response => { - response.status.should.be.exactly(200) - f.fetchNextPage(response).then(response => { - response.status.should.be.exactly(200) - done() - }, reject => { - done(reject) - }) - }) - }) - }) - }) - - describe('New Hits Playlists', () => { - const newHitsPlaylistFetcher = new NewHitsPlaylistFetcher(httpClient) - describe('#fetchAll()', () => { - it('should succeed', () => { - newHitsPlaylistFetcher.fetchAllNewHitsPlaylists().then( - response => { - response.status.should.be.exactly(200) - } - ).catch(error => should.not.exists(error)) - }) - }) - - const f = newHitsPlaylistFetcher.setPlaylistID('DZni8m29ciOFbRxTJq') - describe('#fetchMetadata()', () => { - it('should succeed', () => { - return f.fetchMetadata().then(response => response.status.should.be.exactly(200), reject => should.not.exists(reject)).catch(error => should.not.exsits(error)) - }) - }) - }) - }, reject => should.not.exists(reject)) - }) - }) - }) -}) \ No newline at end of file diff --git a/test/authtest.js b/test/authtest.js deleted file mode 100644 index 0bcc94b..0000000 --- a/test/authtest.js +++ /dev/null @@ -1,21 +0,0 @@ -import should from 'should' -import TokenFetcher from '../src/auth/TokenFetcher' -import ClientCredentialsFlow from '../src/auth/ClientCredentialsFlow' -import {kkbox_sdk} from './client_secrets.json' -const CLIENT_ID = kkbox_sdk.client_id -const CLIENT_SECRET = kkbox_sdk.client_secret - -describe('Auth Begin to Test', () => { - const tokenFetcher = new TokenFetcher(CLIENT_ID, CLIENT_SECRET) - describe('clientCredentialsFlow', () => { - describe('#fetchAccessToken()', () => { - it('should get access token', () => { - const clientCredentialsFlow = new ClientCredentialsFlow(tokenFetcher) - return clientCredentialsFlow.fetchAccessToken().then(response => { - const access_token = response.data.access_token - access_token.should.be.ok - }) - }) - }) - }) -}) \ No newline at end of file diff --git a/test/sdktest.js b/test/sdktest.js deleted file mode 100644 index d6cad43..0000000 --- a/test/sdktest.js +++ /dev/null @@ -1,108 +0,0 @@ -import should from 'should' -import {Auth} from '../dist/kkbox-server-sdk' -import {Api} from '../dist/kkbox-server-sdk' -import {kkbox_sdk} from './client_secrets.json' -const CLIENT_ID = kkbox_sdk.client_id -const CLIENT_SECRET = kkbox_sdk.client_secret - -describe('SDK Begin to Test', () => { - describe('Auth', () => { - it('should get access token', () => { - const auth = new Auth(CLIENT_ID, CLIENT_SECRET) - return auth.clientCredentialsFlow.fetchAccessToken().then(response => { - describe('Api With Fake Token', () => { - const api = new Api('FAKE_TOKEN', 'HK') - describe('Property checking', () => { - it('should have HK as territory', (done) => { - api.territory.should.be.exactly('HK') - done() - }) - }) - - describe('Search with fake token', () => { - it('should fail', () => { - return api.searchFetcher.setSearchCriteria('flash').fetchSearchResult().then(response => { - should.not.exists(response) - }).catch(error => { - should.exists(error) - }) - }) - }) - }) - - const access_token = response.data.access_token - access_token.should.be.ok - - describe('Api', () => { - const api = new Api('FAKE_TOKEN', 'HK') - api.setToken(access_token) - describe('Search', () => { - it('should response status 200', () => { - return api.searchFetcher.setSearchCriteria('flash').fetchSearchResult().then(response => response.status.should.be.exactly(200)) - }) - }) - - describe('Track', () => { - it('should response status 200', () => { - return api.trackFetcher.setTrackID('KpnEGVHEsGgkoB0MBk').fetchMetadata().then(response => response.status.should.be.exactly(200)) - }) - }) - - describe('Album', () => { - it('should response status 200', () => { - return api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchMetadata().then(response => response.status.should.be.exactly(200)) - }) - }) - - describe('Artist', () => { - it('should response status 200', () => { - return api.artistFetcher.setArtistID('Cnv_K6i5Ft4y41SxLy').fetchMetadata().then(response => response.status.should.be.exactly(200)) - }) - }) - - describe('Featured Playlists', () => { - it('should response status 200', () => { - return api.featuredPlaylistFetcher.fetchAllFeaturedPlaylists().then(response => response.status.should.be.exactly(200)) - }) - }) - - describe('Featured Playlist Category', () => { - it('should response status 200', () => { - return api.featuredPlaylistCategoryFetcher.fetchAllFeaturedPlaylistCategories().then(response => response.status.should.be.exactly(200)) - }) - }) - - describe('Mood Station', () => { - it('should response status 200', () => { - return api.moodStationFetcher.fetchAllMoodStations().then(response => response.status.should.be.exactly(200)) - }) - }) - - describe('Genre Station', () => { - it('should response status 200', () => { - return api.genreStationFetcher.fetchAllGenreStations().then(response => response.status.should.be.exactly(200)) - }) - }) - - describe('Chart', () => { - it('should response status 200', () => { - return api.chartFetcher.fetchCharts().then(response => response.status.should.be.exactly(200)) - }) - }) - - describe('New Release Category', () => { - it('should response status 200', () => { - return api.newReleaseCategoryFetcher.fetchAllNewReleaseCategories().then(response => response.status.should.be.exactly(200)) - }) - }) - - describe('New Hits Playlists', () => { - it('should response status 200', () => { - return api.newHitsPlaylistFetcher.fetchAllNewHitsPlaylists().then(response => response.status.should.be.exactly(200)) - }) - }) - }) - }) - }) - }) -}) \ No newline at end of file diff --git a/webpack.config.js b/webpack.config.js index 22988d5..368ffe3 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,42 +1,32 @@ -const path = require('path') +const path = require('path'); const commonConfig = { - entry: ["babel-polyfill", './src/SDK.js'], - module: { - rules: [{ - test: /\.js$/, - exclude: /(node_modules)/, - use: [{ - loader: 'babel-loader', - options: { - presets: [['env', {modules: false}]], - plugins: [ - 'syntax-dynamic-import', - 'transform-async-to-generator', - 'transform-regenerator', - 'transform-runtime'] - } - }] - }] - } -} + entry: ['./src/index.js'], + module: { + rules: [ + { + test: /\.js$/, + exclude: /(node_modules)/, + use: [ + { + loader: 'babel-loader' + } + ] + } + ] + } +}; -const clientConfig = Object.assign({ +const clientConfig = Object.assign( + { target: 'web', output: { - filename: './dist/kkbox-client-sdk.js', - library: 'SDK', - libraryTarget: 'umd' - } -}, commonConfig) - -const serverConfig = Object.assign({ - target: 'async-node', - output: { - filename: './dist/kkbox-server-sdk.js', - library: 'SDK', - libraryTarget: 'umd' + filename: './dist/kkbox-client-sdk.js', + library: 'KKBOX', + libraryTarget: 'umd' } -}, commonConfig) + }, + commonConfig +); -module.exports = [clientConfig, serverConfig] \ No newline at end of file +module.exports = [clientConfig];