diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c4084977..755fd727 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,7 +73,7 @@ jobs: needs: - lint - # The following steps are performed for each lint job + # The following steps are performed for each job steps: - name: Check out the repo uses: actions/checkout@v3 @@ -86,7 +86,7 @@ jobs: - name: Compile the content run: | yarn install - yarn build + yarn build:content yarn build:swagger - name: Push compiled content @@ -94,7 +94,7 @@ jobs: env: REPO: self BRANCH: en - FOLDER: compiled/openapi + FOLDER: compiled/content GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Push GH pages for redundancy @@ -102,7 +102,7 @@ jobs: env: REPO: self BRANCH: gh-pages - FOLDER: compiled/openapi + FOLDER: compiled/content GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Push Swagger 2.0 backport @@ -168,7 +168,7 @@ jobs: needs: - lint - # The following steps are performed for each lint job + # The following steps are performed for each job steps: - name: Check out the repo uses: actions/checkout@v3 @@ -181,14 +181,14 @@ jobs: - name: Compile the content run: | yarn install - yarn build + yarn build:content - name: Push compiled content uses: s0/git-publish-subdir-action@v2.4.0 env: REPO: self BRANCH: en-staging - FOLDER: compiled/openapi + FOLDER: compiled/content GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: "Trigger Netlify deployment" @@ -222,7 +222,7 @@ jobs: # We run this on the latest ubuntu runs-on: ubuntu-latest - # The following steps are performed for each lint job + # The following steps are performed for each job steps: - name: Check out the repo uses: actions/checkout@v3 @@ -238,7 +238,7 @@ jobs: run: | cd $GITHUB_WORKSPACE/box-openapi yarn install - yarn build + yarn build:content - name: Check out the Codegen repo uses: actions/checkout@v3 @@ -254,5 +254,5 @@ jobs: npm install cd scripts npm install - cp $GITHUB_WORKSPACE/box-openapi/compiled/openapi/openapi.json . + cp $GITHUB_WORKSPACE/box-openapi/compiled/content/openapi.json . npm run validate ./openapi.json diff --git a/docs/index.md b/docs/index.md index 720ed420..8b614cd3 100644 --- a/docs/index.md +++ b/docs/index.md @@ -37,9 +37,8 @@ yarn install yarn start ``` -This final `yarn start` command starts up a local server and watches the files -for changes. It will open up a browser window with a preview of the compiled API -specification. +This final `yarn start` command starts up a local server. It will open up +a browser window with a preview of the API specification. ## Lint and validate the tests diff --git a/package.json b/package.json index 8e2c85b5..5686167d 100644 --- a/package.json +++ b/package.json @@ -3,28 +3,23 @@ "version": "3.0.2", "description": "Box Platform OpenAPI Specification", "scripts": { - "prelint": "concurrently 'yarn lint:yaml' 'yarn build:dev'", - "lint": "concurrently 'yarn:lint:spectral' 'yarn:lint:spelling' 'yarn lint:markdown:spelling' 'yarn:lint:sensitivity' 'yarn lint:markdown'", - "lint:spectral": "NODE_NO_WARNINGS=1 spectral lint ./src/dev/openapi.json -F error", - "lint:spelling": "json-schema-spell-checker -a -n -d src/dictionaries/en_US -f 'description,title,summary' ./src/dev/openapi.json", + "prelint": "concurrently 'yarn lint:yaml' 'yarn build:schema'", + "lint": "concurrently 'yarn lint:spectral' 'yarn lint:spelling' 'yarn lint:markdown:spelling' 'yarn lint:sensitivity' 'yarn lint:markdown'", + "lint:spectral": "NODE_NO_WARNINGS=1 spectral lint openapi.json -F error", + "lint:spelling": "json-schema-spell-checker -a -n -d src/dictionaries/en_US -f 'description,title,summary' openapi.json", "lint:markdown:spelling": "mdspell '*.md' './.github/**/*.md' 'docs/*.md' -a -n --en-us -d src/dictionaries/en_US -r", - "lint:sensitivity": "json-schema-sensitivity-checker -f 'description,title,summary' ./src/dev/openapi.json -c .alexrc.json", + "lint:sensitivity": "json-schema-sensitivity-checker -f 'description,title,summary' openapi.json -c .alexrc.json", "lint:yaml": "yamllint content/", "lint:markdown": "markdownlint -c markdownlintrc.json ./*.md ./docs/*.md ./.github/**/*.md", - "watch": "concurrently 'yarn:watch:*'", - "watch:tests": "watch 'yarn test' content src/scripts src/spectral docs", - "watch:build": "watch 'yarn run build:dev' content", - "clean": "rm -rf compiled && mkdir compiled", - "prebuild": "yarn run clean & yarn run build:index", - "build": "NODE_NO_WARNINGS=1 node -e 'require(\"./src/scripts/specLoader\").writeSpecification(\"./compiled/openapi\")'", - "build:dev": "NODE_NO_WARNINGS=1 node -e 'require(\"./src/scripts/specLoader\").writeSpecification(\"src/dev\")'", + "test": "yarn lint", + "prebuild": "yarn run build:index", + "build": "cp -rf openapi.json src/dev/openapi.json", "build:index": "webpack --config webpack.dev.js", - "build:copy": "cp -rf .github src/dev/index.build.js src/dev/index.html src/dev/auth.html compiled/openapi", - "build:swagger": "node -e 'require(\"./src/scripts/swaggerConverter\").writeSpecification(\"./compiled/swagger\")'", - "postbuild": "yarn run build:copy", - "dev-server": "webpack serve --config webpack.dev.js", - "start": "concurrently 'yarn:dev-server' 'yarn:watch'", - "test": "yarn lint" + "build:content": "rm -rf compiled/content && mkdir -p compiled/content && yarn build:index && cp -rf .github openapi.json src/dev/index.build.js src/dev/index.html src/dev/auth.html compiled/content", + "build:swagger": "rm -rf compiled/swagger && mkdir -p compiled/swagger && node -e 'require(\"./src/scripts/swaggerConverter\").writeSpecification(\"./compiled/swagger\")'", + "build:schema": "NODE_NO_WARNINGS=1 node -e 'require(\"./src/scripts/specLoader\").writeSpecification(\".\")'", + "prestart": "yarn build", + "start": "webpack serve --config webpack.dev.js" }, "repository": { "type": "git", @@ -58,11 +53,11 @@ "markdown-spellcheck": "^1.3.1", "markdownlint-cli": "^0.25.0", "style-loader": "^2.0.0", - "swagger-ui": "^4.18.1", + "swagger-ui": "^4.19.1", "watch": "^1.0.2", "webpack": "^5.7.0", - "webpack-cli": "^4.2.0", - "webpack-dev-server": "^4.11.1" + "webpack-cli": "^5.1.4", + "webpack-dev-server": "^4.15.1" }, "private": true -} +} \ No newline at end of file diff --git a/src/dev/index.build.js b/src/dev/index.build.js index 44c01c79..b08cec5c 100644 --- a/src/dev/index.build.js +++ b/src/dev/index.build.js @@ -9,12768 +9,15540 @@ /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ -/***/ "./node_modules/@babel/runtime-corejs3/core-js-stable/array/from.js": -/*!**************************************************************************!*\ - !*** ./node_modules/@babel/runtime-corejs3/core-js-stable/array/from.js ***! - \**************************************************************************/ +/***/ "./node_modules/@babel/runtime-corejs3/core-js/instance/filter.js": +/*!************************************************************************!*\ + !*** ./node_modules/@babel/runtime-corejs3/core-js/instance/filter.js ***! + \************************************************************************/ /*! dynamic exports */ -/*! export __esModule [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/core-js-pure/stable/array/from.js .__esModule */ -/*! other exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/stable/array/from.js */ +/*! exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/features/instance/filter.js */ /*! runtime requirements: module, __webpack_require__ */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -eval("module.exports = __webpack_require__(/*! core-js-pure/stable/array/from */ \"./node_modules/core-js-pure/stable/array/from.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js-stable/array/from.js?"); +eval("module.exports = __webpack_require__(/*! core-js-pure/features/instance/filter */ \"./node_modules/core-js-pure/features/instance/filter.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js/instance/filter.js?"); /***/ }), -/***/ "./node_modules/@babel/runtime-corejs3/core-js-stable/array/is-array.js": -/*!******************************************************************************!*\ - !*** ./node_modules/@babel/runtime-corejs3/core-js-stable/array/is-array.js ***! - \******************************************************************************/ +/***/ "./node_modules/@babel/runtime-corejs3/core-js/instance/for-each.js": +/*!**************************************************************************!*\ + !*** ./node_modules/@babel/runtime-corejs3/core-js/instance/for-each.js ***! + \**************************************************************************/ /*! dynamic exports */ -/*! export __esModule [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/core-js-pure/stable/array/is-array.js .__esModule */ -/*! other exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/stable/array/is-array.js */ +/*! exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/features/instance/for-each.js */ /*! runtime requirements: module, __webpack_require__ */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -eval("module.exports = __webpack_require__(/*! core-js-pure/stable/array/is-array */ \"./node_modules/core-js-pure/stable/array/is-array.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js-stable/array/is-array.js?"); +eval("module.exports = __webpack_require__(/*! core-js-pure/features/instance/for-each */ \"./node_modules/core-js-pure/features/instance/for-each.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js/instance/for-each.js?"); /***/ }), -/***/ "./node_modules/@babel/runtime-corejs3/core-js-stable/date/now.js": -/*!************************************************************************!*\ - !*** ./node_modules/@babel/runtime-corejs3/core-js-stable/date/now.js ***! - \************************************************************************/ +/***/ "./node_modules/@babel/runtime-corejs3/core-js/instance/index-of.js": +/*!**************************************************************************!*\ + !*** ./node_modules/@babel/runtime-corejs3/core-js/instance/index-of.js ***! + \**************************************************************************/ /*! dynamic exports */ -/*! export __esModule [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/core-js-pure/stable/date/now.js .__esModule */ -/*! other exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/stable/date/now.js */ +/*! exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/features/instance/index-of.js */ /*! runtime requirements: module, __webpack_require__ */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -eval("module.exports = __webpack_require__(/*! core-js-pure/stable/date/now */ \"./node_modules/core-js-pure/stable/date/now.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js-stable/date/now.js?"); +eval("module.exports = __webpack_require__(/*! core-js-pure/features/instance/index-of */ \"./node_modules/core-js-pure/features/instance/index-of.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js/instance/index-of.js?"); /***/ }), -/***/ "./node_modules/@babel/runtime-corejs3/core-js-stable/instance/bind.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/@babel/runtime-corejs3/core-js-stable/instance/bind.js ***! - \*****************************************************************************/ +/***/ "./node_modules/@babel/runtime-corejs3/core-js/object/define-properties.js": +/*!*********************************************************************************!*\ + !*** ./node_modules/@babel/runtime-corejs3/core-js/object/define-properties.js ***! + \*********************************************************************************/ /*! dynamic exports */ -/*! export __esModule [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/core-js-pure/stable/instance/bind.js .__esModule */ -/*! other exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/stable/instance/bind.js */ +/*! exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/features/object/define-properties.js */ /*! runtime requirements: module, __webpack_require__ */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/bind */ \"./node_modules/core-js-pure/stable/instance/bind.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/bind.js?"); +eval("module.exports = __webpack_require__(/*! core-js-pure/features/object/define-properties */ \"./node_modules/core-js-pure/features/object/define-properties.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js/object/define-properties.js?"); /***/ }), -/***/ "./node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js": +/***/ "./node_modules/@babel/runtime-corejs3/core-js/object/define-property.js": /*!*******************************************************************************!*\ - !*** ./node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js ***! + !*** ./node_modules/@babel/runtime-corejs3/core-js/object/define-property.js ***! \*******************************************************************************/ /*! dynamic exports */ -/*! export __esModule [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/core-js-pure/stable/instance/concat.js .__esModule */ -/*! other exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/stable/instance/concat.js */ +/*! exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/features/object/define-property.js */ /*! runtime requirements: module, __webpack_require__ */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/concat */ \"./node_modules/core-js-pure/stable/instance/concat.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js?"); +eval("module.exports = __webpack_require__(/*! core-js-pure/features/object/define-property */ \"./node_modules/core-js-pure/features/object/define-property.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js/object/define-property.js?"); /***/ }), -/***/ "./node_modules/@babel/runtime-corejs3/core-js-stable/instance/entries.js": -/*!********************************************************************************!*\ - !*** ./node_modules/@babel/runtime-corejs3/core-js-stable/instance/entries.js ***! - \********************************************************************************/ +/***/ "./node_modules/@babel/runtime-corejs3/core-js/object/get-own-property-descriptor.js": +/*!*******************************************************************************************!*\ + !*** ./node_modules/@babel/runtime-corejs3/core-js/object/get-own-property-descriptor.js ***! + \*******************************************************************************************/ /*! dynamic exports */ -/*! export __esModule [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/core-js-pure/stable/instance/entries.js .__esModule */ -/*! other exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/stable/instance/entries.js */ +/*! exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/features/object/get-own-property-descriptor.js */ /*! runtime requirements: module, __webpack_require__ */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/entries */ \"./node_modules/core-js-pure/stable/instance/entries.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/entries.js?"); +eval("module.exports = __webpack_require__(/*! core-js-pure/features/object/get-own-property-descriptor */ \"./node_modules/core-js-pure/features/object/get-own-property-descriptor.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js/object/get-own-property-descriptor.js?"); /***/ }), -/***/ "./node_modules/@babel/runtime-corejs3/core-js-stable/instance/every.js": -/*!******************************************************************************!*\ - !*** ./node_modules/@babel/runtime-corejs3/core-js-stable/instance/every.js ***! - \******************************************************************************/ +/***/ "./node_modules/@babel/runtime-corejs3/core-js/object/get-own-property-descriptors.js": +/*!********************************************************************************************!*\ + !*** ./node_modules/@babel/runtime-corejs3/core-js/object/get-own-property-descriptors.js ***! + \********************************************************************************************/ /*! dynamic exports */ -/*! export __esModule [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/core-js-pure/stable/instance/every.js .__esModule */ -/*! other exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/stable/instance/every.js */ +/*! exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/features/object/get-own-property-descriptors.js */ /*! runtime requirements: module, __webpack_require__ */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/every */ \"./node_modules/core-js-pure/stable/instance/every.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/every.js?"); +eval("module.exports = __webpack_require__(/*! core-js-pure/features/object/get-own-property-descriptors */ \"./node_modules/core-js-pure/features/object/get-own-property-descriptors.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js/object/get-own-property-descriptors.js?"); /***/ }), -/***/ "./node_modules/@babel/runtime-corejs3/core-js-stable/instance/fill.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/@babel/runtime-corejs3/core-js-stable/instance/fill.js ***! - \*****************************************************************************/ +/***/ "./node_modules/@babel/runtime-corejs3/core-js/object/get-own-property-symbols.js": +/*!****************************************************************************************!*\ + !*** ./node_modules/@babel/runtime-corejs3/core-js/object/get-own-property-symbols.js ***! + \****************************************************************************************/ /*! dynamic exports */ -/*! export __esModule [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/core-js-pure/stable/instance/fill.js .__esModule */ -/*! other exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/stable/instance/fill.js */ +/*! exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/features/object/get-own-property-symbols.js */ /*! runtime requirements: module, __webpack_require__ */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/fill */ \"./node_modules/core-js-pure/stable/instance/fill.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/fill.js?"); +eval("module.exports = __webpack_require__(/*! core-js-pure/features/object/get-own-property-symbols */ \"./node_modules/core-js-pure/features/object/get-own-property-symbols.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js/object/get-own-property-symbols.js?"); /***/ }), -/***/ "./node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js ***! - \*******************************************************************************/ +/***/ "./node_modules/@babel/runtime-corejs3/core-js/object/keys.js": +/*!********************************************************************!*\ + !*** ./node_modules/@babel/runtime-corejs3/core-js/object/keys.js ***! + \********************************************************************/ /*! dynamic exports */ -/*! export __esModule [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/core-js-pure/stable/instance/filter.js .__esModule */ -/*! other exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/stable/instance/filter.js */ +/*! exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/features/object/keys.js */ /*! runtime requirements: module, __webpack_require__ */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/filter */ \"./node_modules/core-js-pure/stable/instance/filter.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js?"); +eval("module.exports = __webpack_require__(/*! core-js-pure/features/object/keys */ \"./node_modules/core-js-pure/features/object/keys.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js/object/keys.js?"); /***/ }), -/***/ "./node_modules/@babel/runtime-corejs3/core-js-stable/instance/find-index.js": -/*!***********************************************************************************!*\ - !*** ./node_modules/@babel/runtime-corejs3/core-js-stable/instance/find-index.js ***! - \***********************************************************************************/ +/***/ "./node_modules/@babel/runtime-corejs3/core-js/symbol.js": +/*!***************************************************************!*\ + !*** ./node_modules/@babel/runtime-corejs3/core-js/symbol.js ***! + \***************************************************************/ /*! dynamic exports */ -/*! export __esModule [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/core-js-pure/stable/instance/find-index.js .__esModule */ -/*! other exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/stable/instance/find-index.js */ +/*! exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/features/symbol/index.js */ /*! runtime requirements: module, __webpack_require__ */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/find-index */ \"./node_modules/core-js-pure/stable/instance/find-index.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/find-index.js?"); +eval("module.exports = __webpack_require__(/*! core-js-pure/features/symbol */ \"./node_modules/core-js-pure/features/symbol/index.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js/symbol.js?"); /***/ }), -/***/ "./node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js ***! - \*****************************************************************************/ +/***/ "./node_modules/@babel/runtime-corejs3/core-js/symbol/iterator.js": +/*!************************************************************************!*\ + !*** ./node_modules/@babel/runtime-corejs3/core-js/symbol/iterator.js ***! + \************************************************************************/ /*! dynamic exports */ -/*! export __esModule [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/core-js-pure/stable/instance/find.js .__esModule */ -/*! other exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/stable/instance/find.js */ +/*! exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/features/symbol/iterator.js */ /*! runtime requirements: module, __webpack_require__ */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/find */ \"./node_modules/core-js-pure/stable/instance/find.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js?"); +eval("module.exports = __webpack_require__(/*! core-js-pure/features/symbol/iterator */ \"./node_modules/core-js-pure/features/symbol/iterator.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js/symbol/iterator.js?"); /***/ }), -/***/ "./node_modules/@babel/runtime-corejs3/core-js-stable/instance/for-each.js": -/*!*********************************************************************************!*\ - !*** ./node_modules/@babel/runtime-corejs3/core-js-stable/instance/for-each.js ***! - \*********************************************************************************/ +/***/ "./node_modules/@babel/runtime-corejs3/core-js/symbol/to-primitive.js": +/*!****************************************************************************!*\ + !*** ./node_modules/@babel/runtime-corejs3/core-js/symbol/to-primitive.js ***! + \****************************************************************************/ /*! dynamic exports */ -/*! export __esModule [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/core-js-pure/stable/instance/for-each.js .__esModule */ -/*! other exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/stable/instance/for-each.js */ +/*! exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/features/symbol/to-primitive.js */ /*! runtime requirements: module, __webpack_require__ */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/for-each */ \"./node_modules/core-js-pure/stable/instance/for-each.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/for-each.js?"); +eval("module.exports = __webpack_require__(/*! core-js-pure/features/symbol/to-primitive */ \"./node_modules/core-js-pure/features/symbol/to-primitive.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js/symbol/to-primitive.js?"); /***/ }), -/***/ "./node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js": -/*!*********************************************************************************!*\ - !*** ./node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js ***! - \*********************************************************************************/ -/*! dynamic exports */ -/*! export __esModule [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/core-js-pure/stable/instance/includes.js .__esModule */ -/*! other exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/stable/instance/includes.js */ -/*! runtime requirements: module, __webpack_require__ */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ "./node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js": +/*!***************************************************************************!*\ + !*** ./node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js ***! + \***************************************************************************/ +/*! namespace exports */ +/*! export default [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_require__, __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__.* */ +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { -eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/includes */ \"./node_modules/core-js-pure/stable/instance/includes.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js?"); +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => /* binding */ _defineProperty\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_object_define_property__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/object/define-property */ \"./node_modules/@babel/runtime-corejs3/core-js/object/define-property.js\");\n/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPropertyKey.js */ \"./node_modules/@babel/runtime-corejs3/helpers/esm/toPropertyKey.js\");\n\n\nfunction _defineProperty(obj, key, value) {\n key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_1__.default)(key);\n if (key in obj) {\n _babel_runtime_corejs3_core_js_object_define_property__WEBPACK_IMPORTED_MODULE_0__(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js?"); /***/ }), -/***/ "./node_modules/@babel/runtime-corejs3/core-js-stable/instance/index-of.js": -/*!*********************************************************************************!*\ - !*** ./node_modules/@babel/runtime-corejs3/core-js-stable/instance/index-of.js ***! - \*********************************************************************************/ -/*! dynamic exports */ -/*! export __esModule [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/core-js-pure/stable/instance/index-of.js .__esModule */ -/*! other exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/stable/instance/index-of.js */ -/*! runtime requirements: module, __webpack_require__ */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ "./node_modules/@babel/runtime-corejs3/helpers/esm/objectSpread2.js": +/*!**************************************************************************!*\ + !*** ./node_modules/@babel/runtime-corejs3/helpers/esm/objectSpread2.js ***! + \**************************************************************************/ +/*! namespace exports */ +/*! export default [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_require__, __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__.* */ +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { -eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/index-of */ \"./node_modules/core-js-pure/stable/instance/index-of.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/index-of.js?"); +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => /* binding */ _objectSpread2\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_object_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/object/keys */ \"./node_modules/@babel/runtime-corejs3/core-js/object/keys.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/object/get-own-property-symbols */ \"./node_modules/@babel/runtime-corejs3/core-js/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_instance_filter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/instance/filter */ \"./node_modules/@babel/runtime-corejs3/core-js/instance/filter.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/object/get-own-property-descriptor */ \"./node_modules/@babel/runtime-corejs3/core-js/object/get-own-property-descriptor.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_instance_for_each__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/instance/for-each */ \"./node_modules/@babel/runtime-corejs3/core-js/instance/for-each.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/object/get-own-property-descriptors */ \"./node_modules/@babel/runtime-corejs3/core-js/object/get-own-property-descriptors.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_object_define_properties__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/object/define-properties */ \"./node_modules/@babel/runtime-corejs3/core-js/object/define-properties.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_object_define_property__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/object/define-property */ \"./node_modules/@babel/runtime-corejs3/core-js/object/define-property.js\");\n/* harmony import */ var _defineProperty_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./defineProperty.js */ \"./node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n\n\n\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = _babel_runtime_corejs3_core_js_object_keys__WEBPACK_IMPORTED_MODULE_0__(object);\n if (_babel_runtime_corejs3_core_js_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__) {\n var symbols = _babel_runtime_corejs3_core_js_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__(object);\n enumerableOnly && (symbols = _babel_runtime_corejs3_core_js_instance_filter__WEBPACK_IMPORTED_MODULE_2__(symbols).call(symbols, function (sym) {\n return _babel_runtime_corejs3_core_js_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3__(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var _context, _context2;\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? _babel_runtime_corejs3_core_js_instance_for_each__WEBPACK_IMPORTED_MODULE_4__(_context = ownKeys(Object(source), !0)).call(_context, function (key) {\n (0,_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__.default)(target, key, source[key]);\n }) : _babel_runtime_corejs3_core_js_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5__ ? _babel_runtime_corejs3_core_js_object_define_properties__WEBPACK_IMPORTED_MODULE_6__(target, _babel_runtime_corejs3_core_js_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5__(source)) : _babel_runtime_corejs3_core_js_instance_for_each__WEBPACK_IMPORTED_MODULE_4__(_context2 = ownKeys(Object(source))).call(_context2, function (key) {\n _babel_runtime_corejs3_core_js_object_define_property__WEBPACK_IMPORTED_MODULE_7__(target, key, _babel_runtime_corejs3_core_js_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3__(source, key));\n });\n }\n return target;\n}\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/helpers/esm/objectSpread2.js?"); /***/ }), -/***/ "./node_modules/@babel/runtime-corejs3/core-js-stable/instance/keys.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/@babel/runtime-corejs3/core-js-stable/instance/keys.js ***! - \*****************************************************************************/ -/*! dynamic exports */ -/*! export __esModule [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/core-js-pure/stable/instance/keys.js .__esModule */ -/*! other exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/stable/instance/keys.js */ -/*! runtime requirements: module, __webpack_require__ */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ "./node_modules/@babel/runtime-corejs3/helpers/esm/objectWithoutProperties.js": +/*!************************************************************************************!*\ + !*** ./node_modules/@babel/runtime-corejs3/helpers/esm/objectWithoutProperties.js ***! + \************************************************************************************/ +/*! namespace exports */ +/*! export default [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_require__, __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__.* */ +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { -eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/keys */ \"./node_modules/core-js-pure/stable/instance/keys.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/keys.js?"); +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => /* binding */ _objectWithoutProperties\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/object/get-own-property-symbols */ \"./node_modules/@babel/runtime-corejs3/core-js/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_instance_index_of__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/instance/index-of */ \"./node_modules/@babel/runtime-corejs3/core-js/instance/index-of.js\");\n/* harmony import */ var _objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./objectWithoutPropertiesLoose.js */ \"./node_modules/@babel/runtime-corejs3/helpers/esm/objectWithoutPropertiesLoose.js\");\n\n\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = (0,_objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_2__.default)(source, excluded);\n var key, i;\n if (_babel_runtime_corejs3_core_js_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0__) {\n var sourceSymbolKeys = _babel_runtime_corejs3_core_js_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0__(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (_babel_runtime_corejs3_core_js_instance_index_of__WEBPACK_IMPORTED_MODULE_1__(excluded).call(excluded, key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/helpers/esm/objectWithoutProperties.js?"); /***/ }), -/***/ "./node_modules/@babel/runtime-corejs3/core-js-stable/instance/last-index-of.js": -/*!**************************************************************************************!*\ - !*** ./node_modules/@babel/runtime-corejs3/core-js-stable/instance/last-index-of.js ***! - \**************************************************************************************/ -/*! dynamic exports */ -/*! export __esModule [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/core-js-pure/stable/instance/last-index-of.js .__esModule */ -/*! other exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/stable/instance/last-index-of.js */ -/*! runtime requirements: module, __webpack_require__ */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ "./node_modules/@babel/runtime-corejs3/helpers/esm/objectWithoutPropertiesLoose.js": +/*!*****************************************************************************************!*\ + !*** ./node_modules/@babel/runtime-corejs3/helpers/esm/objectWithoutPropertiesLoose.js ***! + \*****************************************************************************************/ +/*! namespace exports */ +/*! export default [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_require__, __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__.* */ +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { -eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/last-index-of */ \"./node_modules/core-js-pure/stable/instance/last-index-of.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/last-index-of.js?"); +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => /* binding */ _objectWithoutPropertiesLoose\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_object_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/object/keys */ \"./node_modules/@babel/runtime-corejs3/core-js/object/keys.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_instance_index_of__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/instance/index-of */ \"./node_modules/@babel/runtime-corejs3/core-js/instance/index-of.js\");\n\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = _babel_runtime_corejs3_core_js_object_keys__WEBPACK_IMPORTED_MODULE_0__(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (_babel_runtime_corejs3_core_js_instance_index_of__WEBPACK_IMPORTED_MODULE_1__(excluded).call(excluded, key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/helpers/esm/objectWithoutPropertiesLoose.js?"); /***/ }), -/***/ "./node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js": -/*!****************************************************************************!*\ - !*** ./node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js ***! - \****************************************************************************/ -/*! dynamic exports */ -/*! export __esModule [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/core-js-pure/stable/instance/map.js .__esModule */ -/*! other exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/stable/instance/map.js */ -/*! runtime requirements: module, __webpack_require__ */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ "./node_modules/@babel/runtime-corejs3/helpers/esm/toPrimitive.js": +/*!************************************************************************!*\ + !*** ./node_modules/@babel/runtime-corejs3/helpers/esm/toPrimitive.js ***! + \************************************************************************/ +/*! namespace exports */ +/*! export default [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_require__, __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__.* */ +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { -eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/map */ \"./node_modules/core-js-pure/stable/instance/map.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js?"); +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => /* binding */ _toPrimitive\n/* harmony export */ });\n/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ \"./node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_symbol_to_primitive__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/symbol/to-primitive */ \"./node_modules/@babel/runtime-corejs3/core-js/symbol/to-primitive.js\");\n\n\nfunction _toPrimitive(input, hint) {\n if ((0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__.default)(input) !== \"object\" || input === null) return input;\n var prim = input[_babel_runtime_corejs3_core_js_symbol_to_primitive__WEBPACK_IMPORTED_MODULE_1__];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if ((0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__.default)(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/helpers/esm/toPrimitive.js?"); /***/ }), -/***/ "./node_modules/@babel/runtime-corejs3/core-js-stable/instance/reduce.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/@babel/runtime-corejs3/core-js-stable/instance/reduce.js ***! - \*******************************************************************************/ -/*! dynamic exports */ -/*! export __esModule [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/core-js-pure/stable/instance/reduce.js .__esModule */ -/*! other exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/stable/instance/reduce.js */ -/*! runtime requirements: module, __webpack_require__ */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ "./node_modules/@babel/runtime-corejs3/helpers/esm/toPropertyKey.js": +/*!**************************************************************************!*\ + !*** ./node_modules/@babel/runtime-corejs3/helpers/esm/toPropertyKey.js ***! + \**************************************************************************/ +/*! namespace exports */ +/*! export default [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_require__, __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__.* */ +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { -eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/reduce */ \"./node_modules/core-js-pure/stable/instance/reduce.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/reduce.js?"); +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => /* binding */ _toPropertyKey\n/* harmony export */ });\n/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ \"./node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js\");\n/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ \"./node_modules/@babel/runtime-corejs3/helpers/esm/toPrimitive.js\");\n\n\nfunction _toPropertyKey(arg) {\n var key = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__.default)(arg, \"string\");\n return (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__.default)(key) === \"symbol\" ? key : String(key);\n}\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/helpers/esm/toPropertyKey.js?"); /***/ }), -/***/ "./node_modules/@babel/runtime-corejs3/core-js-stable/instance/repeat.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/@babel/runtime-corejs3/core-js-stable/instance/repeat.js ***! - \*******************************************************************************/ -/*! dynamic exports */ -/*! export __esModule [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/core-js-pure/stable/instance/repeat.js .__esModule */ -/*! other exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/stable/instance/repeat.js */ -/*! runtime requirements: module, __webpack_require__ */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ "./node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js": +/*!*******************************************************************!*\ + !*** ./node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js ***! + \*******************************************************************/ +/*! namespace exports */ +/*! export default [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_require__, __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__.* */ +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { -eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/repeat */ \"./node_modules/core-js-pure/stable/instance/repeat.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/repeat.js?"); +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => /* binding */ _typeof\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_symbol__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/symbol */ \"./node_modules/@babel/runtime-corejs3/core-js/symbol.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_symbol_iterator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/symbol/iterator */ \"./node_modules/@babel/runtime-corejs3/core-js/symbol/iterator.js\");\n\n\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof _babel_runtime_corejs3_core_js_symbol__WEBPACK_IMPORTED_MODULE_0__ && \"symbol\" == typeof _babel_runtime_corejs3_core_js_symbol_iterator__WEBPACK_IMPORTED_MODULE_1__ ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof _babel_runtime_corejs3_core_js_symbol__WEBPACK_IMPORTED_MODULE_0__ && obj.constructor === _babel_runtime_corejs3_core_js_symbol__WEBPACK_IMPORTED_MODULE_0__ && obj !== _babel_runtime_corejs3_core_js_symbol__WEBPACK_IMPORTED_MODULE_0__.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js?"); /***/ }), -/***/ "./node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js": -/*!******************************************************************************!*\ - !*** ./node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js ***! - \******************************************************************************/ -/*! dynamic exports */ -/*! export __esModule [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/core-js-pure/stable/instance/slice.js .__esModule */ -/*! other exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/stable/instance/slice.js */ -/*! runtime requirements: module, __webpack_require__ */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ "./node_modules/@babel/runtime/helpers/esm/extends.js": +/*!************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/esm/extends.js ***! + \************************************************************/ +/*! namespace exports */ +/*! export default [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__.* */ +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { -eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/slice */ \"./node_modules/core-js-pure/stable/instance/slice.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js?"); +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => /* binding */ _extends\n/* harmony export */ });\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime/helpers/esm/extends.js?"); /***/ }), -/***/ "./node_modules/@babel/runtime-corejs3/core-js-stable/instance/some.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/@babel/runtime-corejs3/core-js-stable/instance/some.js ***! - \*****************************************************************************/ -/*! dynamic exports */ -/*! export __esModule [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/core-js-pure/stable/instance/some.js .__esModule */ -/*! other exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/stable/instance/some.js */ -/*! runtime requirements: module, __webpack_require__ */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ "./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js": +/*!*********************************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js ***! + \*********************************************************************************/ +/*! namespace exports */ +/*! export default [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__.* */ +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { -eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/some */ \"./node_modules/core-js-pure/stable/instance/some.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/some.js?"); +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => /* binding */ _objectWithoutPropertiesLoose\n/* harmony export */ });\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js?"); /***/ }), -/***/ "./node_modules/@babel/runtime-corejs3/core-js-stable/instance/sort.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/@babel/runtime-corejs3/core-js-stable/instance/sort.js ***! - \*****************************************************************************/ -/*! dynamic exports */ -/*! export __esModule [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/core-js-pure/stable/instance/sort.js .__esModule */ -/*! other exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/stable/instance/sort.js */ -/*! runtime requirements: module, __webpack_require__ */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ "./node_modules/@braintree/sanitize-url/dist/index.js": +/*!************************************************************!*\ + !*** ./node_modules/@braintree/sanitize-url/dist/index.js ***! + \************************************************************/ +/*! flagged exports */ +/*! export __esModule [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export sanitizeUrl [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_exports__ */ +/***/ ((__unused_webpack_module, exports) => { -eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/sort */ \"./node_modules/core-js-pure/stable/instance/sort.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/sort.js?"); +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.sanitizeUrl = void 0;\nvar invalidProtocolRegex = /^([^\\w]*)(javascript|data|vbscript)/im;\nvar htmlEntitiesRegex = /&#(\\w+)(^\\w|;)?/g;\nvar htmlCtrlEntityRegex = /&(newline|tab);/gi;\nvar ctrlCharactersRegex = /[\\u0000-\\u001F\\u007F-\\u009F\\u2000-\\u200D\\uFEFF]/gim;\nvar urlSchemeRegex = /^.+(:|:)/gim;\nvar relativeFirstCharacters = [\".\", \"/\"];\nfunction isRelativeUrlWithoutProtocol(url) {\n return relativeFirstCharacters.indexOf(url[0]) > -1;\n}\n// adapted from https://stackoverflow.com/a/29824550/2601552\nfunction decodeHtmlCharacters(str) {\n return str.replace(htmlEntitiesRegex, function (match, dec) {\n return String.fromCharCode(dec);\n });\n}\nfunction sanitizeUrl(url) {\n var sanitizedUrl = decodeHtmlCharacters(url || \"\")\n .replace(htmlCtrlEntityRegex, \"\")\n .replace(ctrlCharactersRegex, \"\")\n .trim();\n if (!sanitizedUrl) {\n return \"about:blank\";\n }\n if (isRelativeUrlWithoutProtocol(sanitizedUrl)) {\n return sanitizedUrl;\n }\n var urlSchemeParseResults = sanitizedUrl.match(urlSchemeRegex);\n if (!urlSchemeParseResults) {\n return sanitizedUrl;\n }\n var urlScheme = urlSchemeParseResults[0];\n if (invalidProtocolRegex.test(urlScheme)) {\n return \"about:blank\";\n }\n return sanitizedUrl;\n}\nexports.sanitizeUrl = sanitizeUrl;\n\n\n//# sourceURL=webpack://box-openapi/./node_modules/@braintree/sanitize-url/dist/index.js?"); /***/ }), -/***/ "./node_modules/@babel/runtime-corejs3/core-js-stable/instance/splice.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/@babel/runtime-corejs3/core-js-stable/instance/splice.js ***! - \*******************************************************************************/ -/*! dynamic exports */ -/*! export __esModule [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/core-js-pure/stable/instance/splice.js .__esModule */ -/*! other exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/stable/instance/splice.js */ -/*! runtime requirements: module, __webpack_require__ */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ "./node_modules/autolinker/dist/es2015/anchor-tag-builder.js": +/*!*******************************************************************!*\ + !*** ./node_modules/autolinker/dist/es2015/anchor-tag-builder.js ***! + \*******************************************************************/ +/*! namespace exports */ +/*! export AnchorTagBuilder [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_require__, __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__.* */ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { -eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/splice */ \"./node_modules/core-js-pure/stable/instance/splice.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/splice.js?"); +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"AnchorTagBuilder\": () => /* binding */ AnchorTagBuilder\n/* harmony export */ });\n/* harmony import */ var _html_tag__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./html-tag */ \"./node_modules/autolinker/dist/es2015/html-tag.js\");\n/* harmony import */ var _truncate_truncate_smart__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./truncate/truncate-smart */ \"./node_modules/autolinker/dist/es2015/truncate/truncate-smart.js\");\n/* harmony import */ var _truncate_truncate_middle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./truncate/truncate-middle */ \"./node_modules/autolinker/dist/es2015/truncate/truncate-middle.js\");\n/* harmony import */ var _truncate_truncate_end__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./truncate/truncate-end */ \"./node_modules/autolinker/dist/es2015/truncate/truncate-end.js\");\n\n\n\n\n/**\n * @protected\n * @class Autolinker.AnchorTagBuilder\n * @extends Object\n *\n * Builds anchor (<a>) tags for the Autolinker utility when a match is\n * found.\n *\n * Normally this class is instantiated, configured, and used internally by an\n * {@link Autolinker} instance, but may actually be used indirectly in a\n * {@link Autolinker#replaceFn replaceFn} to create {@link Autolinker.HtmlTag HtmlTag}\n * instances which may be modified before returning from the\n * {@link Autolinker#replaceFn replaceFn}. For example:\n *\n * var html = Autolinker.link( \"Test google.com\", {\n * replaceFn : function( match ) {\n * var tag = match.buildTag(); // returns an {@link Autolinker.HtmlTag} instance\n * tag.setAttr( 'rel', 'nofollow' );\n *\n * return tag;\n * }\n * } );\n *\n * // generated html:\n * // Test google.com\n */\nvar AnchorTagBuilder = /** @class */ (function () {\n /**\n * @method constructor\n * @param {Object} [cfg] The configuration options for the AnchorTagBuilder instance, specified in an Object (map).\n */\n function AnchorTagBuilder(cfg) {\n if (cfg === void 0) { cfg = {}; }\n /**\n * @cfg {Boolean} newWindow\n * @inheritdoc Autolinker#newWindow\n */\n this.newWindow = false; // default value just to get the above doc comment in the ES5 output and documentation generator\n /**\n * @cfg {Object} truncate\n * @inheritdoc Autolinker#truncate\n */\n this.truncate = {}; // default value just to get the above doc comment in the ES5 output and documentation generator\n /**\n * @cfg {String} className\n * @inheritdoc Autolinker#className\n */\n this.className = ''; // default value just to get the above doc comment in the ES5 output and documentation generator\n this.newWindow = cfg.newWindow || false;\n this.truncate = cfg.truncate || {};\n this.className = cfg.className || '';\n }\n /**\n * Generates the actual anchor (<a>) tag to use in place of the\n * matched text, via its `match` object.\n *\n * @param {Autolinker.match.Match} match The Match instance to generate an\n * anchor tag from.\n * @return {Autolinker.HtmlTag} The HtmlTag instance for the anchor tag.\n */\n AnchorTagBuilder.prototype.build = function (match) {\n return new _html_tag__WEBPACK_IMPORTED_MODULE_0__.HtmlTag({\n tagName: 'a',\n attrs: this.createAttrs(match),\n innerHtml: this.processAnchorText(match.getAnchorText())\n });\n };\n /**\n * Creates the Object (map) of the HTML attributes for the anchor (<a>)\n * tag being generated.\n *\n * @protected\n * @param {Autolinker.match.Match} match The Match instance to generate an\n * anchor tag from.\n * @return {Object} A key/value Object (map) of the anchor tag's attributes.\n */\n AnchorTagBuilder.prototype.createAttrs = function (match) {\n var attrs = {\n 'href': match.getAnchorHref() // we'll always have the `href` attribute\n };\n var cssClass = this.createCssClass(match);\n if (cssClass) {\n attrs['class'] = cssClass;\n }\n if (this.newWindow) {\n attrs['target'] = \"_blank\";\n attrs['rel'] = \"noopener noreferrer\"; // Issue #149. See https://mathiasbynens.github.io/rel-noopener/\n }\n if (this.truncate) {\n if (this.truncate.length && this.truncate.length < match.getAnchorText().length) {\n attrs['title'] = match.getAnchorHref();\n }\n }\n return attrs;\n };\n /**\n * Creates the CSS class that will be used for a given anchor tag, based on\n * the `matchType` and the {@link #className} config.\n *\n * Example returns:\n *\n * - \"\" // no {@link #className}\n * - \"myLink myLink-url\" // url match\n * - \"myLink myLink-email\" // email match\n * - \"myLink myLink-phone\" // phone match\n * - \"myLink myLink-hashtag\" // hashtag match\n * - \"myLink myLink-mention myLink-twitter\" // mention match with Twitter service\n *\n * @protected\n * @param {Autolinker.match.Match} match The Match instance to generate an\n * anchor tag from.\n * @return {String} The CSS class string for the link. Example return:\n * \"myLink myLink-url\". If no {@link #className} was configured, returns\n * an empty string.\n */\n AnchorTagBuilder.prototype.createCssClass = function (match) {\n var className = this.className;\n if (!className) {\n return \"\";\n }\n else {\n var returnClasses = [className], cssClassSuffixes = match.getCssClassSuffixes();\n for (var i = 0, len = cssClassSuffixes.length; i < len; i++) {\n returnClasses.push(className + '-' + cssClassSuffixes[i]);\n }\n return returnClasses.join(' ');\n }\n };\n /**\n * Processes the `anchorText` by truncating the text according to the\n * {@link #truncate} config.\n *\n * @private\n * @param {String} anchorText The anchor tag's text (i.e. what will be\n * displayed).\n * @return {String} The processed `anchorText`.\n */\n AnchorTagBuilder.prototype.processAnchorText = function (anchorText) {\n anchorText = this.doTruncate(anchorText);\n return anchorText;\n };\n /**\n * Performs the truncation of the `anchorText` based on the {@link #truncate}\n * option. If the `anchorText` is longer than the length specified by the\n * {@link #truncate} option, the truncation is performed based on the\n * `location` property. See {@link #truncate} for details.\n *\n * @private\n * @param {String} anchorText The anchor tag's text (i.e. what will be\n * displayed).\n * @return {String} The truncated anchor text.\n */\n AnchorTagBuilder.prototype.doTruncate = function (anchorText) {\n var truncate = this.truncate;\n if (!truncate || !truncate.length)\n return anchorText;\n var truncateLength = truncate.length, truncateLocation = truncate.location;\n if (truncateLocation === 'smart') {\n return (0,_truncate_truncate_smart__WEBPACK_IMPORTED_MODULE_1__.truncateSmart)(anchorText, truncateLength);\n }\n else if (truncateLocation === 'middle') {\n return (0,_truncate_truncate_middle__WEBPACK_IMPORTED_MODULE_2__.truncateMiddle)(anchorText, truncateLength);\n }\n else {\n return (0,_truncate_truncate_end__WEBPACK_IMPORTED_MODULE_3__.truncateEnd)(anchorText, truncateLength);\n }\n };\n return AnchorTagBuilder;\n}());\n\n\n//# sourceMappingURL=anchor-tag-builder.js.map\n\n\n//# sourceURL=webpack://box-openapi/./node_modules/autolinker/dist/es2015/anchor-tag-builder.js?"); /***/ }), -/***/ "./node_modules/@babel/runtime-corejs3/core-js-stable/instance/starts-with.js": -/*!************************************************************************************!*\ - !*** ./node_modules/@babel/runtime-corejs3/core-js-stable/instance/starts-with.js ***! - \************************************************************************************/ -/*! dynamic exports */ -/*! export __esModule [maybe provided (runtime-defined)] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/core-js-pure/stable/instance/starts-with.js .__esModule */ -/*! other exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js-pure/stable/instance/starts-with.js */ -/*! runtime requirements: module, __webpack_require__ */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ "./node_modules/autolinker/dist/es2015/autolinker.js": +/*!***********************************************************!*\ + !*** ./node_modules/autolinker/dist/es2015/autolinker.js ***! + \***********************************************************/ +/*! namespace exports */ +/*! export default [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_require__, __webpack_exports__, __webpack_require__.r, __webpack_require__.d, __webpack_require__.* */ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { -eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/starts-with */ \"./node_modules/core-js-pure/stable/instance/starts-with.js\");\n\n//# sourceURL=webpack://box-openapi/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/starts-with.js?"); +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => __WEBPACK_DEFAULT_EXPORT__\n/* harmony export */ });\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils */ \"./node_modules/autolinker/dist/es2015/utils.js\");\n/* harmony import */ var _anchor_tag_builder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./anchor-tag-builder */ \"./node_modules/autolinker/dist/es2015/anchor-tag-builder.js\");\n/* harmony import */ var _match_match__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./match/match */ \"./node_modules/autolinker/dist/es2015/match/match.js\");\n/* harmony import */ var _match_email_match__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./match/email-match */ \"./node_modules/autolinker/dist/es2015/match/email-match.js\");\n/* harmony import */ var _match_hashtag_match__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./match/hashtag-match */ \"./node_modules/autolinker/dist/es2015/match/hashtag-match.js\");\n/* harmony import */ var _match_mention_match__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./match/mention-match */ \"./node_modules/autolinker/dist/es2015/match/mention-match.js\");\n/* harmony import */ var _match_phone_match__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./match/phone-match */ \"./node_modules/autolinker/dist/es2015/match/phone-match.js\");\n/* harmony import */ var _match_url_match__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./match/url-match */ \"./node_modules/autolinker/dist/es2015/match/url-match.js\");\n/* harmony import */ var _matcher_matcher__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./matcher/matcher */ \"./node_modules/autolinker/dist/es2015/matcher/matcher.js\");\n/* harmony import */ var _html_tag__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./html-tag */ \"./node_modules/autolinker/dist/es2015/html-tag.js\");\n/* harmony import */ var _matcher_email_matcher__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./matcher/email-matcher */ \"./node_modules/autolinker/dist/es2015/matcher/email-matcher.js\");\n/* harmony import */ var _matcher_url_matcher__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./matcher/url-matcher */ \"./node_modules/autolinker/dist/es2015/matcher/url-matcher.js\");\n/* harmony import */ var _matcher_hashtag_matcher__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./matcher/hashtag-matcher */ \"./node_modules/autolinker/dist/es2015/matcher/hashtag-matcher.js\");\n/* harmony import */ var _matcher_phone_matcher__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./matcher/phone-matcher */ \"./node_modules/autolinker/dist/es2015/matcher/phone-matcher.js\");\n/* harmony import */ var _matcher_mention_matcher__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./matcher/mention-matcher */ \"./node_modules/autolinker/dist/es2015/matcher/mention-matcher.js\");\n/* harmony import */ var _htmlParser_parse_html__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./htmlParser/parse-html */ \"./node_modules/autolinker/dist/es2015/htmlParser/parse-html.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/**\n * @class Autolinker\n * @extends Object\n *\n * Utility class used to process a given string of text, and wrap the matches in\n * the appropriate anchor (<a>) tags to turn them into links.\n *\n * Any of the configuration options may be provided in an Object provided\n * to the Autolinker constructor, which will configure how the {@link #link link()}\n * method will process the links.\n *\n * For example:\n *\n * var autolinker = new Autolinker( {\n * newWindow : false,\n * truncate : 30\n * } );\n *\n * var html = autolinker.link( \"Joe went to www.yahoo.com\" );\n * // produces: 'Joe went to yahoo.com'\n *\n *\n * The {@link #static-link static link()} method may also be used to inline\n * options into a single call, which may be more convenient for one-off uses.\n * For example:\n *\n * var html = Autolinker.link( \"Joe went to www.yahoo.com\", {\n * newWindow : false,\n * truncate : 30\n * } );\n * // produces: 'Joe went to yahoo.com'\n *\n *\n * ## Custom Replacements of Links\n *\n * If the configuration options do not provide enough flexibility, a {@link #replaceFn}\n * may be provided to fully customize the output of Autolinker. This function is\n * called once for each URL/Email/Phone#/Hashtag/Mention (Twitter, Instagram, Soundcloud)\n * match that is encountered.\n *\n * For example:\n *\n * var input = \"...\"; // string with URLs, Email Addresses, Phone #s, Hashtags, and Mentions (Twitter, Instagram, Soundcloud)\n *\n * var linkedText = Autolinker.link( input, {\n * replaceFn : function( match ) {\n * console.log( \"href = \", match.getAnchorHref() );\n * console.log( \"text = \", match.getAnchorText() );\n *\n * switch( match.getType() ) {\n * case 'url' :\n * console.log( \"url: \", match.getUrl() );\n *\n * if( match.getUrl().indexOf( 'mysite.com' ) === -1 ) {\n * var tag = match.buildTag(); // returns an `Autolinker.HtmlTag` instance, which provides mutator methods for easy changes\n * tag.setAttr( 'rel', 'nofollow' );\n * tag.addClass( 'external-link' );\n *\n * return tag;\n *\n * } else {\n * return true; // let Autolinker perform its normal anchor tag replacement\n * }\n *\n * case 'email' :\n * var email = match.getEmail();\n * console.log( \"email: \", email );\n *\n * if( email === \"my@own.address\" ) {\n * return false; // don't auto-link this particular email address; leave as-is\n * } else {\n * return; // no return value will have Autolinker perform its normal anchor tag replacement (same as returning `true`)\n * }\n *\n * case 'phone' :\n * var phoneNumber = match.getPhoneNumber();\n * console.log( phoneNumber );\n *\n * return '' + phoneNumber + '';\n *\n * case 'hashtag' :\n * var hashtag = match.getHashtag();\n * console.log( hashtag );\n *\n * return '' + hashtag + '';\n *\n * case 'mention' :\n * var mention = match.getMention();\n * console.log( mention );\n *\n * return '' + mention + '';\n * }\n * }\n * } );\n *\n *\n * The function may return the following values:\n *\n * - `true` (Boolean): Allow Autolinker to replace the match as it normally\n * would.\n * - `false` (Boolean): Do not replace the current match at all - leave as-is.\n * - Any String: If a string is returned from the function, the string will be\n * used directly as the replacement HTML for the match.\n * - An {@link Autolinker.HtmlTag} instance, which can be used to build/modify\n * an HTML tag before writing out its HTML text.\n */\nvar Autolinker = /** @class */ (function () {\n /**\n * @method constructor\n * @param {Object} [cfg] The configuration options for the Autolinker instance,\n * specified in an Object (map).\n */\n function Autolinker(cfg) {\n if (cfg === void 0) { cfg = {}; }\n /**\n * The Autolinker version number exposed on the instance itself.\n *\n * Ex: 0.25.1\n */\n this.version = Autolinker.version;\n /**\n * @cfg {Boolean/Object} [urls]\n *\n * `true` if URLs should be automatically linked, `false` if they should not\n * be. Defaults to `true`.\n *\n * Examples:\n *\n * urls: true\n *\n * // or\n *\n * urls: {\n * schemeMatches : true,\n * wwwMatches : true,\n * tldMatches : true\n * }\n *\n * As shown above, this option also accepts an Object form with 3 properties\n * to allow for more customization of what exactly gets linked. All default\n * to `true`:\n *\n * @cfg {Boolean} [urls.schemeMatches] `true` to match URLs found prefixed\n * with a scheme, i.e. `http://google.com`, or `other+scheme://google.com`,\n * `false` to prevent these types of matches.\n * @cfg {Boolean} [urls.wwwMatches] `true` to match urls found prefixed with\n * `'www.'`, i.e. `www.google.com`. `false` to prevent these types of\n * matches. Note that if the URL had a prefixed scheme, and\n * `schemeMatches` is true, it will still be linked.\n * @cfg {Boolean} [urls.tldMatches] `true` to match URLs with known top\n * level domains (.com, .net, etc.) that are not prefixed with a scheme or\n * `'www.'`. This option attempts to match anything that looks like a URL\n * in the given text. Ex: `google.com`, `asdf.org/?page=1`, etc. `false`\n * to prevent these types of matches.\n */\n this.urls = {}; // default value just to get the above doc comment in the ES5 output and documentation generator\n /**\n * @cfg {Boolean} [email=true]\n *\n * `true` if email addresses should be automatically linked, `false` if they\n * should not be.\n */\n this.email = true; // default value just to get the above doc comment in the ES5 output and documentation generator\n /**\n * @cfg {Boolean} [phone=true]\n *\n * `true` if Phone numbers (\"(555)555-5555\") should be automatically linked,\n * `false` if they should not be.\n */\n this.phone = true; // default value just to get the above doc comment in the ES5 output and documentation generator\n /**\n * @cfg {Boolean/String} [hashtag=false]\n *\n * A string for the service name to have hashtags (ex: \"#myHashtag\")\n * auto-linked to. The currently-supported values are:\n *\n * - 'twitter'\n * - 'facebook'\n * - 'instagram'\n *\n * Pass `false` to skip auto-linking of hashtags.\n */\n this.hashtag = false; // default value just to get the above doc comment in the ES5 output and documentation generator\n /**\n * @cfg {String/Boolean} [mention=false]\n *\n * A string for the service name to have mentions (ex: \"@myuser\")\n * auto-linked to. The currently supported values are:\n *\n * - 'twitter'\n * - 'instagram'\n * - 'soundcloud'\n *\n * Defaults to `false` to skip auto-linking of mentions.\n */\n this.mention = false; // default value just to get the above doc comment in the ES5 output and documentation generator\n /**\n * @cfg {Boolean} [newWindow=true]\n *\n * `true` if the links should open in a new window, `false` otherwise.\n */\n this.newWindow = true; // default value just to get the above doc comment in the ES5 output and documentation generator\n /**\n * @cfg {Boolean/Object} [stripPrefix=true]\n *\n * `true` if 'http://' (or 'https://') and/or the 'www.' should be stripped\n * from the beginning of URL links' text, `false` otherwise. Defaults to\n * `true`.\n *\n * Examples:\n *\n * stripPrefix: true\n *\n * // or\n *\n * stripPrefix: {\n * scheme : true,\n * www : true\n * }\n *\n * As shown above, this option also accepts an Object form with 2 properties\n * to allow for more customization of what exactly is prevented from being\n * displayed. Both default to `true`:\n *\n * @cfg {Boolean} [stripPrefix.scheme] `true` to prevent the scheme part of\n * a URL match from being displayed to the user. Example:\n * `'http://google.com'` will be displayed as `'google.com'`. `false` to\n * not strip the scheme. NOTE: Only an `'http://'` or `'https://'` scheme\n * will be removed, so as not to remove a potentially dangerous scheme\n * (such as `'file://'` or `'javascript:'`)\n * @cfg {Boolean} [stripPrefix.www] www (Boolean): `true` to prevent the\n * `'www.'` part of a URL match from being displayed to the user. Ex:\n * `'www.google.com'` will be displayed as `'google.com'`. `false` to not\n * strip the `'www'`.\n */\n this.stripPrefix = { scheme: true, www: true }; // default value just to get the above doc comment in the ES5 output and documentation generator\n /**\n * @cfg {Boolean} [stripTrailingSlash=true]\n *\n * `true` to remove the trailing slash from URL matches, `false` to keep\n * the trailing slash.\n *\n * Example when `true`: `http://google.com/` will be displayed as\n * `http://google.com`.\n */\n this.stripTrailingSlash = true; // default value just to get the above doc comment in the ES5 output and documentation generator\n /**\n * @cfg {Boolean} [decodePercentEncoding=true]\n *\n * `true` to decode percent-encoded characters in URL matches, `false` to keep\n * the percent-encoded characters.\n *\n * Example when `true`: `https://en.wikipedia.org/wiki/San_Jos%C3%A9` will\n * be displayed as `https://en.wikipedia.org/wiki/San_José`.\n */\n this.decodePercentEncoding = true; // default value just to get the above doc comment in the ES5 output and documentation generator\n /**\n * @cfg {Number/Object} [truncate=0]\n *\n * ## Number Form\n *\n * A number for how many characters matched text should be truncated to\n * inside the text of a link. If the matched text is over this number of\n * characters, it will be truncated to this length by adding a two period\n * ellipsis ('..') to the end of the string.\n *\n * For example: A url like 'http://www.yahoo.com/some/long/path/to/a/file'\n * truncated to 25 characters might look something like this:\n * 'yahoo.com/some/long/pat..'\n *\n * Example Usage:\n *\n * truncate: 25\n *\n *\n * Defaults to `0` for \"no truncation.\"\n *\n *\n * ## Object Form\n *\n * An Object may also be provided with two properties: `length` (Number) and\n * `location` (String). `location` may be one of the following: 'end'\n * (default), 'middle', or 'smart'.\n *\n * Example Usage:\n *\n * truncate: { length: 25, location: 'middle' }\n *\n * @cfg {Number} [truncate.length=0] How many characters to allow before\n * truncation will occur. Defaults to `0` for \"no truncation.\"\n * @cfg {\"end\"/\"middle\"/\"smart\"} [truncate.location=\"end\"]\n *\n * - 'end' (default): will truncate up to the number of characters, and then\n * add an ellipsis at the end. Ex: 'yahoo.com/some/long/pat..'\n * - 'middle': will truncate and add the ellipsis in the middle. Ex:\n * 'yahoo.com/s..th/to/a/file'\n * - 'smart': for URLs where the algorithm attempts to strip out unnecessary\n * parts first (such as the 'www.', then URL scheme, hash, etc.),\n * attempting to make the URL human-readable before looking for a good\n * point to insert the ellipsis if it is still too long. Ex:\n * 'yahoo.com/some..to/a/file'. For more details, see\n * {@link Autolinker.truncate.TruncateSmart}.\n */\n this.truncate = { length: 0, location: 'end' }; // default value just to get the above doc comment in the ES5 output and documentation generator\n /**\n * @cfg {String} className\n *\n * A CSS class name to add to the generated links. This class will be added\n * to all links, as well as this class plus match suffixes for styling\n * url/email/phone/hashtag/mention links differently.\n *\n * For example, if this config is provided as \"myLink\", then:\n *\n * - URL links will have the CSS classes: \"myLink myLink-url\"\n * - Email links will have the CSS classes: \"myLink myLink-email\", and\n * - Phone links will have the CSS classes: \"myLink myLink-phone\"\n * - Hashtag links will have the CSS classes: \"myLink myLink-hashtag\"\n * - Mention links will have the CSS classes: \"myLink myLink-mention myLink-[type]\"\n * where [type] is either \"instagram\", \"twitter\" or \"soundcloud\"\n */\n this.className = ''; // default value just to get the above doc comment in the ES5 output and documentation generator\n /**\n * @cfg {Function} replaceFn\n *\n * A function to individually process each match found in the input string.\n *\n * See the class's description for usage.\n *\n * The `replaceFn` can be called with a different context object (`this`\n * reference) using the {@link #context} cfg.\n *\n * This function is called with the following parameter:\n *\n * @cfg {Autolinker.match.Match} replaceFn.match The Match instance which\n * can be used to retrieve information about the match that the `replaceFn`\n * is currently processing. See {@link Autolinker.match.Match} subclasses\n * for details.\n */\n this.replaceFn = null; // default value just to get the above doc comment in the ES5 output and documentation generator\n /**\n * @cfg {Object} context\n *\n * The context object (`this` reference) to call the `replaceFn` with.\n *\n * Defaults to this Autolinker instance.\n */\n this.context = undefined; // default value just to get the above doc comment in the ES5 output and documentation generator\n /**\n * @cfg {Boolean} [sanitizeHtml=false]\n *\n * `true` to HTML-encode the start and end brackets of existing HTML tags found\n * in the input string. This will escape `<` and `>` characters to `<` and\n * `>`, respectively.\n *\n * Setting this to `true` will prevent XSS (Cross-site Scripting) attacks,\n * but will remove the significance of existing HTML tags in the input string. If\n * you would like to maintain the significance of existing HTML tags while also\n * making the output HTML string safe, leave this option as `false` and use a\n * tool like https://github.com/cure53/DOMPurify (or others) on the input string\n * before running Autolinker.\n */\n this.sanitizeHtml = false; // default value just to get the above doc comment in the ES5 output and documentation generator\n /**\n * @private\n * @property {Autolinker.matcher.Matcher[]} matchers\n *\n * The {@link Autolinker.matcher.Matcher} instances for this Autolinker\n * instance.\n *\n * This is lazily created in {@link #getMatchers}.\n */\n this.matchers = null;\n /**\n * @private\n * @property {Autolinker.AnchorTagBuilder} tagBuilder\n *\n * The AnchorTagBuilder instance used to build match replacement anchor tags.\n * Note: this is lazily instantiated in the {@link #getTagBuilder} method.\n */\n this.tagBuilder = null;\n // Note: when `this.something` is used in the rhs of these assignments,\n // it refers to the default values set above the constructor\n this.urls = this.normalizeUrlsCfg(cfg.urls);\n this.email = typeof cfg.email === 'boolean' ? cfg.email : this.email;\n this.phone = typeof cfg.phone === 'boolean' ? cfg.phone : this.phone;\n this.hashtag = cfg.hashtag || this.hashtag;\n this.mention = cfg.mention || this.mention;\n this.newWindow = typeof cfg.newWindow === 'boolean' ? cfg.newWindow : this.newWindow;\n this.stripPrefix = this.normalizeStripPrefixCfg(cfg.stripPrefix);\n this.stripTrailingSlash = typeof cfg.stripTrailingSlash === 'boolean' ? cfg.stripTrailingSlash : this.stripTrailingSlash;\n this.decodePercentEncoding = typeof cfg.decodePercentEncoding === 'boolean' ? cfg.decodePercentEncoding : this.decodePercentEncoding;\n this.sanitizeHtml = cfg.sanitizeHtml || false;\n // Validate the value of the `mention` cfg\n var mention = this.mention;\n if (mention !== false && mention !== 'twitter' && mention !== 'instagram' && mention !== 'soundcloud') {\n throw new Error(\"invalid `mention` cfg - see docs\");\n }\n // Validate the value of the `hashtag` cfg\n var hashtag = this.hashtag;\n if (hashtag !== false && hashtag !== 'twitter' && hashtag !== 'facebook' && hashtag !== 'instagram') {\n throw new Error(\"invalid `hashtag` cfg - see docs\");\n }\n this.truncate = this.normalizeTruncateCfg(cfg.truncate);\n this.className = cfg.className || this.className;\n this.replaceFn = cfg.replaceFn || this.replaceFn;\n this.context = cfg.context || this;\n }\n /**\n * Automatically links URLs, Email addresses, Phone Numbers, Twitter handles,\n * Hashtags, and Mentions found in the given chunk of HTML. Does not link URLs\n * found within HTML tags.\n *\n * For instance, if given the text: `You should go to http://www.yahoo.com`,\n * then the result will be `You should go to <a href=\"http://www.yahoo.com\">http://www.yahoo.com</a>`\n *\n * Example:\n *\n * var linkedText = Autolinker.link( \"Go to google.com\", { newWindow: false } );\n * // Produces: \"Go to google.com\"\n *\n * @static\n * @param {String} textOrHtml The HTML or text to find matches within (depending\n * on if the {@link #urls}, {@link #email}, {@link #phone}, {@link #mention},\n * {@link #hashtag}, and {@link #mention} options are enabled).\n * @param {Object} [options] Any of the configuration options for the Autolinker\n * class, specified in an Object (map). See the class description for an\n * example call.\n * @return {String} The HTML text, with matches automatically linked.\n */\n Autolinker.link = function (textOrHtml, options) {\n var autolinker = new Autolinker(options);\n return autolinker.link(textOrHtml);\n };\n /**\n * Parses the input `textOrHtml` looking for URLs, email addresses, phone\n * numbers, username handles, and hashtags (depending on the configuration\n * of the Autolinker instance), and returns an array of {@link Autolinker.match.Match}\n * objects describing those matches (without making any replacements).\n *\n * Note that if parsing multiple pieces of text, it is slightly more efficient\n * to create an Autolinker instance, and use the instance-level {@link #parse}\n * method.\n *\n * Example:\n *\n * var matches = Autolinker.parse( \"Hello google.com, I am asdf@asdf.com\", {\n * urls: true,\n * email: true\n * } );\n *\n * console.log( matches.length ); // 2\n * console.log( matches[ 0 ].getType() ); // 'url'\n * console.log( matches[ 0 ].getUrl() ); // 'google.com'\n * console.log( matches[ 1 ].getType() ); // 'email'\n * console.log( matches[ 1 ].getEmail() ); // 'asdf@asdf.com'\n *\n * @static\n * @param {String} textOrHtml The HTML or text to find matches within\n * (depending on if the {@link #urls}, {@link #email}, {@link #phone},\n * {@link #hashtag}, and {@link #mention} options are enabled).\n * @param {Object} [options] Any of the configuration options for the Autolinker\n * class, specified in an Object (map). See the class description for an\n * example call.\n * @return {Autolinker.match.Match[]} The array of Matches found in the\n * given input `textOrHtml`.\n */\n Autolinker.parse = function (textOrHtml, options) {\n var autolinker = new Autolinker(options);\n return autolinker.parse(textOrHtml);\n };\n /**\n * Normalizes the {@link #urls} config into an Object with 3 properties:\n * `schemeMatches`, `wwwMatches`, and `tldMatches`, all Booleans.\n *\n * See {@link #urls} config for details.\n *\n * @private\n * @param {Boolean/Object} urls\n * @return {Object}\n */\n Autolinker.prototype.normalizeUrlsCfg = function (urls) {\n if (urls == null)\n urls = true; // default to `true`\n if (typeof urls === 'boolean') {\n return { schemeMatches: urls, wwwMatches: urls, tldMatches: urls };\n }\n else { // object form\n return {\n schemeMatches: typeof urls.schemeMatches === 'boolean' ? urls.schemeMatches : true,\n wwwMatches: typeof urls.wwwMatches === 'boolean' ? urls.wwwMatches : true,\n tldMatches: typeof urls.tldMatches === 'boolean' ? urls.tldMatches : true\n };\n }\n };\n /**\n * Normalizes the {@link #stripPrefix} config into an Object with 2\n * properties: `scheme`, and `www` - both Booleans.\n *\n * See {@link #stripPrefix} config for details.\n *\n * @private\n * @param {Boolean/Object} stripPrefix\n * @return {Object}\n */\n Autolinker.prototype.normalizeStripPrefixCfg = function (stripPrefix) {\n if (stripPrefix == null)\n stripPrefix = true; // default to `true`\n if (typeof stripPrefix === 'boolean') {\n return { scheme: stripPrefix, www: stripPrefix };\n }\n else { // object form\n return {\n scheme: typeof stripPrefix.scheme === 'boolean' ? stripPrefix.scheme : true,\n www: typeof stripPrefix.www === 'boolean' ? stripPrefix.www : true\n };\n }\n };\n /**\n * Normalizes the {@link #truncate} config into an Object with 2 properties:\n * `length` (Number), and `location` (String).\n *\n * See {@link #truncate} config for details.\n *\n * @private\n * @param {Number/Object} truncate\n * @return {Object}\n */\n Autolinker.prototype.normalizeTruncateCfg = function (truncate) {\n if (typeof truncate === 'number') {\n return { length: truncate, location: 'end' };\n }\n else { // object, or undefined/null\n return (0,_utils__WEBPACK_IMPORTED_MODULE_0__.defaults)(truncate || {}, {\n length: Number.POSITIVE_INFINITY,\n location: 'end'\n });\n }\n };\n /**\n * Parses the input `textOrHtml` looking for URLs, email addresses, phone\n * numbers, username handles, and hashtags (depending on the configuration\n * of the Autolinker instance), and returns an array of {@link Autolinker.match.Match}\n * objects describing those matches (without making any replacements).\n *\n * This method is used by the {@link #link} method, but can also be used to\n * simply do parsing of the input in order to discover what kinds of links\n * there are and how many.\n *\n * Example usage:\n *\n * var autolinker = new Autolinker( {\n * urls: true,\n * email: true\n * } );\n *\n * var matches = autolinker.parse( \"Hello google.com, I am asdf@asdf.com\" );\n *\n * console.log( matches.length ); // 2\n * console.log( matches[ 0 ].getType() ); // 'url'\n * console.log( matches[ 0 ].getUrl() ); // 'google.com'\n * console.log( matches[ 1 ].getType() ); // 'email'\n * console.log( matches[ 1 ].getEmail() ); // 'asdf@asdf.com'\n *\n * @param {String} textOrHtml The HTML or text to find matches within\n * (depending on if the {@link #urls}, {@link #email}, {@link #phone},\n * {@link #hashtag}, and {@link #mention} options are enabled).\n * @return {Autolinker.match.Match[]} The array of Matches found in the\n * given input `textOrHtml`.\n */\n Autolinker.prototype.parse = function (textOrHtml) {\n var _this = this;\n var skipTagNames = ['a', 'style', 'script'], skipTagsStackCount = 0, // used to only Autolink text outside of anchor/script/style tags. We don't want to autolink something that is already linked inside of an tag, for instance\n matches = [];\n // Find all matches within the `textOrHtml` (but not matches that are\n // already nested within ,