From 17c46fc22e1d715cb6d8693b0d29ff51f354cad9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barbara=20Czy=C5=BC?= Date: Thu, 10 Aug 2023 18:08:04 +0200 Subject: [PATCH 01/49] fix: Add `integer` value to metadata template response (#344) * Add integer value and note to metadata templ * Fix lint * update metadata field attrib --- .../attributes/metadata_field--readable.yml | 75 +++++++++++++++++++ content/responses/metadata_template.yml | 2 +- 2 files changed, 76 insertions(+), 1 deletion(-) create mode 100644 content/attributes/metadata_field--readable.yml diff --git a/content/attributes/metadata_field--readable.yml b/content/attributes/metadata_field--readable.yml new file mode 100644 index 00000000..c374c261 --- /dev/null +++ b/content/attributes/metadata_field--readable.yml @@ -0,0 +1,75 @@ +--- +title: Metadata Field (Read) + +description: |- + A field within a metadata template. Fields can be a basic text, date, or + number field, or a list of options. + +required: + - type + - key + - displayName + +type: object + +properties: + type: + type: string + example: string + description: |- + The type of field. The basic fields are a `string` field for text, a + `float` field for numbers, and a `date` fields to present the user with a + date-time picker. + + Additionally, metadata templates support an `enum` field for a basic list + of items, and ` multiSelect` field for a similar list of items where the + user can select more than one value. + + **Note**: The `integer` value is deprecated. + It is still present in the response, + but cannot be used in the POST request. + enum: + - string + - float + - date + - enum + - multiSelect + - integer + + key: + type: string + example: category + description: |- + A unique identifier for the field. The identifier must + be unique within the template to which it belongs. + maxLength: 256 + + displayName: + type: string + example: Category + description: |- + The display name of the field as it is shown to the user in the web and + mobile apps. + maxLength: 4096 + + description: + type: string + example: The category + description: |- + A description of the field. This is not shown to the user. + maxLength: 4096 + + hidden: + type: boolean + example: true + description: |- + Whether this field is hidden in the UI for the user and can only be set + through the API instead. + + options: + description: |- + A list of options for this field. This is used in combination with the + `enum` and `multiSelect` field types. + type: array + items: + $ref: "../attributes/metadata_option--writable.yml" diff --git a/content/responses/metadata_template.yml b/content/responses/metadata_template.yml index 1e2ea779..3e977b27 100644 --- a/content/responses/metadata_template.yml +++ b/content/responses/metadata_template.yml @@ -76,7 +76,7 @@ properties: number field, or a list of options. allOf: - - $ref: '../attributes/metadata_field--writable.yml' + - $ref: '../attributes/metadata_field--readable.yml' - properties: id: type: string From 2eb4b35adb24461e6fba0779191d1090b29e5242 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barbara=20Czy=C5=BC?= Date: Fri, 11 Aug 2023 10:50:44 +0200 Subject: [PATCH 02/49] fix: DDOC-871: add info on params for mappings (#343) --- .spelling | 3 ++- .../integration_mapping_partner_item_slack.yml | 14 +++++++++++--- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.spelling b/.spelling index c84505b9..1e693202 100644 --- a/.spelling +++ b/.spelling @@ -58,4 +58,5 @@ period uri url dropdown -special \ No newline at end of file +special +org \ No newline at end of file diff --git a/content/schemas/integration_mapping_partner_item_slack.yml b/content/schemas/integration_mapping_partner_item_slack.yml index 09ffeee9..3ae20839 100644 --- a/content/schemas/integration_mapping_partner_item_slack.yml +++ b/content/schemas/integration_mapping_partner_item_slack.yml @@ -4,7 +4,11 @@ title: Integration mapping mapped item schema for type Slack type: object description: |- - The schema for an integration mapping mapped item object for type Slack + The schema for an integration mapping mapped item object for type Slack. + + Depending if Box for Slack is installed at the org or workspace level, + provide **either** `slack_org_id` **or** `slack_workspace_id`. + Do not use both parameters at the same time. properties: type: @@ -21,12 +25,16 @@ properties: slack_workspace_id: type: string example: 'T12352314' - description: ID of the Slack workspace with which the item is associated + description: ID of the Slack workspace with which the item is associated. + Use this parameter if Box for Slack is installed at a workspace level. + Do not use `slack_org_id` at the same time. nullable: true slack_org_id: type: string example: 'E1234567' - description: ID of the Slack organization with which the item is associated + description: ID of the Slack org with which the item is associated. + Use this parameter if Box for Slack is installed at the org level. + Do not use `slack_workspace_id` at the same time. nullable: true required: From 739416b65c311e43e96914a363127a4abbbfe471 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barbara=20Czy=C5=BC?= Date: Thu, 17 Aug 2023 10:30:29 +0200 Subject: [PATCH 03/49] feat: DDOC-855 add iframeable_embed_url param to box sign request (#340) * feat: DDOC-855 add iframeable_embed param * fix lint issues * Update signer mock id * review updates for parameters --- .../memberships__post_group_memberships.yml | 2 +- .../memberships__put_group_memberships_id.yml | 2 +- content/schemas/sign_request_signer.yml | 16 ++++++++++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/content/paths/memberships__post_group_memberships.yml b/content/paths/memberships__post_group_memberships.yml index fd143583..aa8a997e 100644 --- a/content/paths/memberships__post_group_memberships.yml +++ b/content/paths/memberships__post_group_memberships.yml @@ -70,7 +70,7 @@ requestBody: Setting these permissions overwrites the default access levels of an admin. - Specifying a value of "null" for this object will disable + Specifying a value of "null" for this object will deactivate all configurable permissions. Specifying permissions will set them accordingly, omitted permissions will be enabled by default. additionalProperties: diff --git a/content/paths/memberships__put_group_memberships_id.yml b/content/paths/memberships__put_group_memberships_id.yml index f7692080..382050a7 100644 --- a/content/paths/memberships__put_group_memberships_id.yml +++ b/content/paths/memberships__put_group_memberships_id.yml @@ -43,7 +43,7 @@ requestBody: Setting these permissions overwrites the default access levels of an admin. - Specifying a value of "null" for this object will disable + Specifying a value of "null" for this object will deactivate all configurable permissions. Specifying permissions will set them accordingly, omitted permissions will be enabled by default. additionalProperties: diff --git a/content/schemas/sign_request_signer.yml b/content/schemas/sign_request_signer.yml index 0c83984a..7e5d655c 100644 --- a/content/schemas/sign_request_signer.yml +++ b/content/schemas/sign_request_signer.yml @@ -44,3 +44,19 @@ allOf: readOnly: true example: https://example.com description: URL to direct a signer to for signing + + # yamllint disable rule:line-length + + iframeable_embed_url: + type: string + nullable: true + example: https://app.box.com/embed/sign/document/gfhr4222-a331-494b-808b-79bc7f3992a3/f14d7098-a331-494b-808b-79bc7f3992a4 + description: |- + This URL is specifically designed for + signing documents within an HTML `iframe` tag. + It will be returned in the response + only if the `embed_url_external_user_id` + parameter was passed in the + `create sign request` call. + + # yamllint enable rule:line-length From e2b4e455d35bb2794115db415b2cc0f0a34ccbbe Mon Sep 17 00:00:00 2001 From: Justyna Sztyper Date: Mon, 21 Aug 2023 14:46:41 +0200 Subject: [PATCH 04/49] docs: Storage policies: endpoints only accessible by admin (#330) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add information on access and auth * Correct wording --------- Co-authored-by: Barbara Czyż --- content/paths/storage_policies__get_storage_policies.yml | 2 ++ content/paths/storage_policies__get_storage_policies_id.yml | 2 ++ ...olicy_assignments__delete_storage_policy_assignments_id.yml | 3 +++ ...rage_policy_assignments__get_storage_policy_assignments.yml | 2 ++ ...e_policy_assignments__get_storage_policy_assignments_id.yml | 2 ++ ...age_policy_assignments__post_storage_policy_assignments.yml | 2 ++ ...e_policy_assignments__put_storage_policy_assignments_id.yml | 2 ++ 7 files changed, 15 insertions(+) diff --git a/content/paths/storage_policies__get_storage_policies.yml b/content/paths/storage_policies__get_storage_policies.yml index cf977a49..91aee0ae 100644 --- a/content/paths/storage_policies__get_storage_policies.yml +++ b/content/paths/storage_policies__get_storage_policies.yml @@ -10,6 +10,8 @@ x-box-tag: storage_policies description: |- Fetches all the storage policies in the enterprise. + Only a Primary Admin can access this endpoint. The user + needs to generate a token for an account to authenticate this request. parameters: - $ref: '../attributes/fields.yml' diff --git a/content/paths/storage_policies__get_storage_policies_id.yml b/content/paths/storage_policies__get_storage_policies_id.yml index 55091c0c..d511b1de 100644 --- a/content/paths/storage_policies__get_storage_policies_id.yml +++ b/content/paths/storage_policies__get_storage_policies_id.yml @@ -9,6 +9,8 @@ tags: x-box-tag: storage_policies description: Fetches a specific storage policy. + Only a Primary Admin can access this endpoint. The user + needs to generate a token for an account to authenticate this request. parameters: - $ref: '../attributes/storage_policy_id.yml' diff --git a/content/paths/storage_policy_assignments__delete_storage_policy_assignments_id.yml b/content/paths/storage_policy_assignments__delete_storage_policy_assignments_id.yml index 7d732bcf..58db6790 100644 --- a/content/paths/storage_policy_assignments__delete_storage_policy_assignments_id.yml +++ b/content/paths/storage_policy_assignments__delete_storage_policy_assignments_id.yml @@ -18,6 +18,9 @@ description: |- There is a rate limit for calling this endpoint of only twice per user in a 24 hour time frame. + Only a Primary Admin can access this endpoint. The user + needs to generate a token for an account to authenticate this request. + parameters: - $ref: '../attributes/storage_policy_assignment_id.yml' diff --git a/content/paths/storage_policy_assignments__get_storage_policy_assignments.yml b/content/paths/storage_policy_assignments__get_storage_policy_assignments.yml index 2c049172..fbd9b8cd 100644 --- a/content/paths/storage_policy_assignments__get_storage_policy_assignments.yml +++ b/content/paths/storage_policy_assignments__get_storage_policy_assignments.yml @@ -10,6 +10,8 @@ x-box-tag: storage_policy_assignments description: |- Fetches all the storage policy assignment for an enterprise or user. + Only a Primary Admin can access this endpoint. The user + needs to generate a token for an account to authenticate this request. parameters: - $ref: '../attributes/marker.yml' diff --git a/content/paths/storage_policy_assignments__get_storage_policy_assignments_id.yml b/content/paths/storage_policy_assignments__get_storage_policy_assignments_id.yml index 3da51f2d..8d02d2f3 100644 --- a/content/paths/storage_policy_assignments__get_storage_policy_assignments_id.yml +++ b/content/paths/storage_policy_assignments__get_storage_policy_assignments_id.yml @@ -9,6 +9,8 @@ tags: x-box-tag: storage_policy_assignments description: Fetches a specific storage policy assignment. + Only a Primary Admin can access this endpoint. The user + needs to generate a token for an account to authenticate this request. parameters: - $ref: '../attributes/storage_policy_assignment_id.yml' diff --git a/content/paths/storage_policy_assignments__post_storage_policy_assignments.yml b/content/paths/storage_policy_assignments__post_storage_policy_assignments.yml index 96cf1180..9bae96d4 100644 --- a/content/paths/storage_policy_assignments__post_storage_policy_assignments.yml +++ b/content/paths/storage_policy_assignments__post_storage_policy_assignments.yml @@ -10,6 +10,8 @@ x-box-tag: storage_policy_assignments description: |- Creates a storage policy assignment for an enterprise or user. + Only a Primary Admin can access this endpoint. The user + needs to generate a token for an account to authenticate this request. requestBody: content: diff --git a/content/paths/storage_policy_assignments__put_storage_policy_assignments_id.yml b/content/paths/storage_policy_assignments__put_storage_policy_assignments_id.yml index a8ba5563..770d09e4 100644 --- a/content/paths/storage_policy_assignments__put_storage_policy_assignments_id.yml +++ b/content/paths/storage_policy_assignments__put_storage_policy_assignments_id.yml @@ -9,6 +9,8 @@ tags: x-box-tag: storage_policy_assignments description: Updates a specific storage policy assignment. + Only a Primary Admin can access this endpoint. The user + needs to generate a token for an account to authenticate this request. parameters: - $ref: '../attributes/storage_policy_assignment_id.yml' From 370834b9e23ac344f6d06a0c9ea78d889c6859c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barbara=20Czy=C5=BC?= Date: Thu, 31 Aug 2023 17:39:11 +0200 Subject: [PATCH 05/49] feat: DDOC-880 Modify readme and add tags descriptions (#349) * docs: fix typo * fix: DDOC-880: changes in README and tags desc * Add readme * Fix linting issues * Update content/common/tags.yml Co-authored-by: Justyna Sztyper * Update content/common/tags.yml Co-authored-by: Justyna Sztyper * Review fixes --------- Co-authored-by: Justyna Sztyper --- .spelling | 3 +- README.md | 29 ++-- content/common/tags.yml | 287 +++++++++++++++++++++++++++++++++++++++- 3 files changed, 298 insertions(+), 21 deletions(-) diff --git a/.spelling b/.spelling index 1e693202..8a8058ed 100644 --- a/.spelling +++ b/.spelling @@ -59,4 +59,5 @@ uri url dropdown special -org \ No newline at end of file +org +GitHub diff --git a/README.md b/README.md index 23ec1d17..2f36ae92 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,12 @@ # Box OpenAPI 3.0 Specification + ![CI](https://github.com/box/box-openapi/workflows/CI/badge.svg) [![Project Status](https://opensource.box.com/badges/active.svg)](http://opensource.box.com/badges) -This repository contains the build system for the Box OpenAPI 3.0 Specification -(OAS3) of the -[Box Platform API](https://developers.box.com/). +This repository contains the build system for the Box OpenAPI 3.0 Specification (OAS3) of the [Box Platform API](https://developers.box.com/). + +> **Note**: Due to changes in API schema development process, this repository is currently frozen. This means we are not actively contributing to the repository, apart from necessary fixes and improvements that help us to put the new process in place even faster. +You can still use the raw sources for specification available in the **Download** section. ## Downloads @@ -13,30 +15,20 @@ specification. For a combined, resolved version please have a look at the following builds. [![OpenAPI (en)](https://img.shields.io/static/v1.svg?label=OpenAPI%203&message=Download&color=grey&labelColor=0361D4&style=for-the-badge&logoColor=white)](https://raw.githubusercontent.com/box/box-openapi/en/openapi.json) -[![OpenAPI (en)](https://img.shields.io/static/v1.svg?label=OpenAPI%203&message=ダウンロード&color=grey&labelColor=0361D4&style=for-the-badge&logoColor=white)](https://raw.githubusercontent.com/box/box-openapi/jp/openapi.json) +[![OpenAPI (jp)](https://img.shields.io/static/v1.svg?label=OpenAPI%203&message=ダウンロード&color=grey&labelColor=0361D4&style=for-the-badge&logoColor=white)](https://raw.githubusercontent.com/box/box-openapi/jp/openapi.json) [![Swagger (en)](https://img.shields.io/static/v1.svg?label=Swagger%202&message=Backported&color=grey&labelColor=0361D4&style=for-the-badge)](https://github.com/box/box-openapi/tree/swagger-2.0) -[![Swagger (en)](https://img.shields.io/static/v1.svg?label=Swagger%202&message=Legacy%20/%20Incomplete&color=grey&labelColor=lightgrey&style=for-the-badge)](https://github.com/box/box-openapi/tree/legacy-swagger-2.0/v2.0) +[![Swagger (jp)](https://img.shields.io/static/v1.svg?label=Swagger%202&message=Legacy%20/%20Incomplete&color=grey&labelColor=lightgrey&style=for-the-badge)](https://github.com/box/box-openapi/tree/legacy-swagger-2.0/v2.0) ## Swagger 2.0 The older and incomplete Swagger 2.0 specification is still available on the [Swagger 2.0](https://github.com/box/box-openapi/tree/swagger_2.0) branch. -## Development & Contribution - -Please follow the [contribution guidelines](./CONTRIBUTING.md) when contributing -to the source of this project. +## Contribution -1. [Installation & setup](./docs/index.md) -1. [Notes for Box employees](./docs/boxers.md) -1. [The OpenAPI structure and custom attributes](./docs/structure.md) -1. [Adding a new API resource](./docs/add-resource.md) -1. [Base, mini, standard, and full API resources](./docs/variants.md) -1. [Adding a new API endpoint](./docs/add-endpoint.md) -1. [Contributing a pull request](./docs/pull-request.md) -1. [Markdown styleguide](./docs/markdown.md) -1. [Updating dependencies](./docs/dependencies.md) +* If you notice that the content requires improvements or you feel that some information is missing add a new [GitHub issue](https://github.com/box/box-openapi/issues) and describe the issue. +* If you are a Boxer, create a Developer Documentation ticket or use the `#dev-docs-feedback` Slack channel for assistance. ## Usage & License @@ -50,3 +42,4 @@ Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + \ No newline at end of file diff --git a/content/common/tags.yml b/content/common/tags.yml index 8d81d6e4..c54e33ab 100644 --- a/content/common/tags.yml +++ b/content/common/tags.yml @@ -1,208 +1,491 @@ --- - name: Authorization + description: |- + A set of endpoints used to + manage user authorization process. x-box-tag: authorization x-box-priority: true - name: Sign requests + description: |- + Sign requests are used + to submit a file for + signature. x-box-tag: sign_requests - name: Classifications + description: |- + Classification labels are + used for content that is + sensitive or under security + restrictions. x-box-tag: classifications - name: Classifications on files + description: |- + Classification labels are + used for files that are + sensitive or under security + restrictions. x-box-tag: file_classifications - name: Classifications on folders + description: |- + Classification labels are + used for folders that are + sensitive or under security + restrictions. x-box-tag: folder_classifications - name: Collaborations + description: |- + Collaborations define access permissions + for users and groups to files and folders, + similar to access control lists. x-box-tag: user_collaborations - name: Collaborations (List) + description: |- + A set of endpoints used to + retrieve file, folder, + pending, and group collaborations. x-box-tag: list_collaborations - name: Collections + description: |- + Collections are a way to group files, + folders, and web links without putting them + all into a folder. x-box-tag: collections - name: Comments + description: |- + Comments are messages generated by users on files, + allowing users to collaborate on a file, + discussing any feedback they might + have on the content. x-box-tag: comments - name: Device pinners + description: |- + Device pinners allow enterprises to + control what devices can use + native Box applications. x-box-tag: device_pinners - name: Domain restrictions (User exemptions) + description: |- + A set of endpoints that allow exempting users + from restrictions imposed by the list of + allowed collaboration domains for a specific enterprise. x-box-tag: collaboration_allowlist_exempt_targets - name: Domain restrictions for collaborations + description: |- + A set of endpoints that manage domains for which users + can collaborate with files and folders in an enterprise. x-box-tag: collaboration_allowlist_entries - name: Downloads + description: |- + Downloads allow saving files to the application's server, + or directly by the end user in a browser. x-box-tag: downloads - name: Email aliases + description: |- + Email aliases provide a list of emails additional + to the user's primary login email. x-box-tag: email_aliases - name: Events + description: |- + Events provide a way for an + application to subscribe to + any actions performed by + any user, users, or service in an enterprise. x-box-tag: events - name: File requests + description: |- + File Requests provide a fast and + secure way to request files and associated metadata + from anyone. + Users can create new file requests + based on an existing file request, + update file request settings, activate, deactivate, and delete + file requests programmatically. x-box-tag: file_requests - name: File version legal holds + description: |- + A legal hold is a process that an enterprise + can use to preserve all forms of potentially relevant + information when + litigation is pending or reasonably anticipated. + A File Version Legal Hold represents all the policies that + are assigned to a specific file version. x-box-tag: file_version_legal_holds - name: File version retentions + description: |- + A retention policy blocks permanent + deletion of content for a specified amount of time. + A file version retention is a record for a retained file. x-box-tag: file_version_retentions - name: File versions + description: |- + A set of endpoints used to manage specific + versions of a file. x-box-tag: file_versions - name: Files + description: |- + Files, together with Folders, + are at the core of the Box API. + Files can be uploaded and downloaded, + as well as hold important metadata + information about the content. x-box-tag: files - name: Folder Locks + description: |- + Folder locks define access restrictions + placed by folder owners to prevent + specific folders from being moved or deleted. x-box-tag: folder_locks +# - name: Folder Operations +# x-box-tag: folder_operations + - name: Folders + description: |- + Folders, together with Files, + are at the core of the Box API. + Folders can be uploaded and downloaded, + as well as hold important metadata + information about the content. x-box-tag: folders - name: Integration mappings + description: |- + Integration Mappings allow the users + to manage where content from partner apps is stored in Box. x-box-tag: integration_mappings - name: Group memberships + description: |- + Group memberships signify that + a user is a part of the group. x-box-tag: memberships - name: Groups + description: |- + Groups created in an enterprise. x-box-tag: groups - name: Invites + description: |- + Invites are used to invite the user to + an enterprise. x-box-tag: invites - name: Legal hold policies + description: |- + A legal hold is a process that an enterprise + can use to preserve all forms of potentially + relevant information when litigation is pending or + reasonably anticipated. x-box-tag: legal_hold_policies - name: Legal hold policy assignments + description: |- + A Legal Hold Policy Assignment + is a relation between a policy and custodian. + In this case, a custodian can be a user, folder, + file, or file version. x-box-tag: legal_hold_policy_assignments - name: Metadata cascade policies + description: |- + A metadata cascade policy describes how metadata + instances applied to a folder should be applied + to any item within that folder. x-box-tag: metadata_cascade_policies - name: Metadata instances (Files) + description: |- + A metadata instance describes + the relation between a template and a file, + including the values that are assigned for every field. x-box-tag: file_metadata - name: Metadata instances (Folders) + description: |- + A metadata instance describes the relation between a template and a folder, + including the values that are assigned for every field. x-box-tag: folder_metadata - name: Metadata templates + description: |- + A metadata template describes a reusable set + of key/value pairs that can be assigned to a file. x-box-tag: metadata_templates - name: Recent items + description: |- + Recent items represent items such + as files or folders that + the user accessed recently. x-box-tag: recent_items - name: Retention policies + description: |- + A retention policy blocks permanent deletion of content + for a specified amount of time. Admins can create + retention policies and then assign them to + specific folders or their entire enterprise. x-box-tag: retention_policies - name: Retention policy assignments + description: |- + A Retention Policy Assignment is a relation + between a policy and folder or enterprise. + Creating an assignment puts a retention on + all the file versions that belong to that folder or enterprise. x-box-tag: retention_policy_assignments - name: Search + description: |- + The Box API provides a way to find content in Box + using full-text search queries. x-box-tag: search - name: Session termination + description: |- + Session termination API is used to + validate the roles and permissions of the group, + and creates asynchronous jobs to terminate the group's sessions. x-box-tag: session_termination - name: Shared links (Files) + description: |- + Files shared links are URLs that are generated for files stored in Box, + which provide direct, read-only access to the resource. x-box-tag: shared_links_files - name: Shared links (Folders) + description: |- + Folders shared links are URLs that are generated for folders stored in Box, + which provide direct, read-only access to the resource. x-box-tag: shared_links_folders - name: Shared links (Web Links) + description: |- + Web links for files are URLs that are generated + for web links in Box, + which provide direct, read-only access to the resource. x-box-tag: shared_links_web_links - name: Shield information barriers + description: |- + Shield information barrier in Box defines an ethical wall. + An ethical wall is a mechanism that prevents exchanges or communication that + could lead to conflicts of interest and therefore result in + business activities ethically or legally questionable. x-box-tag: shield_information_barriers - name: Shield information barrier segments + description: |- + Shield information barrier segment represents + a defined group of users. A user can be a member + of only one segment, which makes segments + different from groups. x-box-tag: shield_information_barrier_segments - name: Shield information barrier segment members + description: |- + Shield information barrier segment member + represents a user that is assigned to a + specific segment. x-box-tag: shield_information_barrier_segment_members - name: Shield information barrier reports + description: |- + Shield information barrier reports + contain information on what existing collaborations + will be removed permanently when the information barrier is enabled. x-box-tag: shield_information_barrier_reports - name: Shield information barrier segment restrictions + description: |- + Shield information barrier segment restriction is + an access restriction based on the content (file or folder) owner. x-box-tag: shield_information_barrier_segment_restrictions - name: Sign templates + description: |- + Sign templates allow you to use a predefined Box Sign + template when creating a sign request. + The template includes placeholders that + are automatically populated with data when creating the request. x-box-tag: sign_templates - name: Skills + description: |- + Box Skills are designed to allow custom processing + of files uploaded to Box, with the + intent of enhancing the underlying metadata of the file. x-box-tag: skills - name: Standard and Zones Storage Policies + description: |- + Storage policy assignment represents the + storage zone for items in a given enterprise. x-box-tag: storage_policies - name: Standard and Zones Storage Policy Assignments + description: |- + Storage policy assignment represents the + relation between storage zone and the + assigned item (for example a file stored + in a specific zone). x-box-tag: storage_policy_assignments - name: Task assignments + description: |- + A task assignment defines which + task is assigned to which user to complete. x-box-tag: task_assignments - name: Tasks + description: |- + Tasks allow users to request collaborators on a file + to review a file or complete a piece of work. + Tasks can be used by developers to create file-centric workflows. x-box-tag: tasks - name: Terms of service + description: |- + A set of endpoints used to + manage terms of service agreements. x-box-tag: terms_of_services - name: Terms of service user statuses + description: |- + A set of endpoints used to + manage the status of terms of service + for a particular user. x-box-tag: terms_of_service_user_statuses -- name: Termination message - x-box-tag: termination_message +# - name: Termination message +# x-box-tag: termination_message - name: Transfer folders + description: |- + API designed to move all of the items + (files, folders and workflows) + owned by a user into another user's account. x-box-tag: transfer - name: Trashed files + description: |- + Files that were deleted and + moved to trash. x-box-tag: trashed_files - name: Trashed folders + description: |- + Folders that were deleted and + moved to trash. x-box-tag: trashed_folders - name: Trashed items + description: |- + Items that were deleted and + moved to trash. x-box-tag: trashed_items - name: Trashed web links + description: |- + Web links that were deleted and + moved to trash. x-box-tag: trashed_web_links - name: Uploads + description: |- + The direct file upload API supports files + up to 50MB in size and sends all + the binary data to the Box API in 1 API request. x-box-tag: uploads - name: Uploads (Chunked) + description: |- + The chunked upload endpoints support files from + 20MB in size and allow an application + to upload the file in parts, + allowing for more control to catch any errors + and retry parts individually. x-box-tag: chunked_uploads - name: User avatars + description: |- + User avatars are JPG or PNG files + uploaded to Box to represent the + user image. They are then displayed + in the user account. x-box-tag: avatars - name: Users + description: |- + Box API supports a variety of users, + ranging from real employees + logging in with their Managed User account, + to applications using App Users to drive powerful + automation workflows. x-box-tag: users - name: Watermarks (Files) + description: |- + A watermark is a semi-transparent + overlay on an embedded file + preview that displays a viewer's email address + or user ID and the time of access over + the file. x-box-tag: file_watermarks - name: Watermarks (Folders) + description: |- + A watermark is a semi-transparent overlay on an embedded folder + preview that displays a viewer's email address or user ID + and the time of access over + the folder content. x-box-tag: folder_watermarks - name: Web links + description: |- + Web links are objects that point to URLs. + These objects are also known as bookmarks + within the Box web application. x-box-tag: web_links - name: Webhooks + description: |- + Webhooks allow you to monitor Box content for events, + and receive notifications to a URL of your choice when they occur. + For example, a workflow may include waiting + for a file to be downloaded to delete a shared link. x-box-tag: webhooks - name: Workflows + description: |- + Box Relay Workflows are objects that represent + a named collection of flows. x-box-tag: workflows - name: Zip Downloads + description: |- + Zip downloads represent a successful request + to create a ZIP archive with files and folders. x-box-tag: zip_downloads From d897215bf5a04cc092647e998e07bd18501a230a Mon Sep 17 00:00:00 2001 From: Wojciech Socha Date: Fri, 1 Sep 2023 17:37:19 +0200 Subject: [PATCH 06/49] feat: update webpack-dev-server and node scripts --- - | 0 .github/workflows/ci.yml | 61 +- docs/index.md | 5 +- package.json | 37 +- src/dev/index.build.js | 17982 +++++++++++++++++------------- src/dev/index.js | 2 +- src/scripts/swaggerConverter.js | 26 +- webpack.dev.js | 19 +- yarn.lock | 1145 +- 9 files changed, 10987 insertions(+), 8290 deletions(-) delete mode 100644 - diff --git a/- b/- deleted file mode 100644 index e69de29b..00000000 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c4084977..682a8ed2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,47 +16,6 @@ on: branches: [main, staging] jobs: - # The lint job checks that all content is sanitized, - # spell checked, and without any obvious dead links - lint: - # We run this on the latest ubuntu - runs-on: ubuntu-latest - timeout-minutes: 10 - - # We use node 14 and Python 3.8 - strategy: - matrix: - node-version: [14.x] - python-version: [3.8] - - # The following steps are performed for each lint job - steps: - - name: Check out the repository - uses: actions/checkout@v3 - - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - - - name: Install Python dependencies - run: | - python -m pip install --upgrade pip - pip install yamllint - - - name: Set up Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - - - name: Install Node dependencies - run: | - yarn install - - - name: Lint the content - run: | - yarn lint - # The deploy task actually deploys any changes to the en branch push-to-en: # We run this on the latest ubuntu @@ -69,11 +28,7 @@ jobs: matrix: node-version: [14.x] - # Requires the lint and test jobs to pass first - 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 +41,7 @@ jobs: - name: Compile the content run: | yarn install - yarn build + yarn build:content yarn build:swagger - name: Push compiled content @@ -164,11 +119,7 @@ jobs: matrix: node-version: [14.x] - # Requires the lint and test jobs to pass first - 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,7 +132,7 @@ 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 @@ -222,7 +173,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 +189,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 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..6f33ae9d 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'", + "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 ./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", + "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\")'", + "prebuild": "yarn run build:index", + "test": "yarn lint", + "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 ,