@cybrid/cybrid-api-organization-angular 0.123.45 → 0.123.47
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -2
- package/esm2020/api/organizations.service.mjs +2 -2
- package/esm2020/api/subscriptionDeliveries.service.mjs +2 -2
- package/esm2020/api/subscriptionEvents.service.mjs +2 -2
- package/esm2020/api/subscriptions.service.mjs +2 -2
- package/esm2020/model/errorResponse.mjs +2 -2
- package/esm2020/model/organization.mjs +2 -2
- package/esm2020/model/patchOrganization.mjs +2 -2
- package/esm2020/model/postSubscription.mjs +2 -2
- package/esm2020/model/postSubscriptionDelivery.mjs +2 -2
- package/esm2020/model/subscription.mjs +2 -2
- package/esm2020/model/subscriptionDelivery.mjs +2 -2
- package/esm2020/model/subscriptionDeliveryList.mjs +1 -1
- package/esm2020/model/subscriptionEnvironment.mjs +2 -2
- package/esm2020/model/subscriptionEvent.mjs +2 -2
- package/esm2020/model/subscriptionEventList.mjs +1 -1
- package/esm2020/model/subscriptionList.mjs +1 -1
- package/esm2020/model/subscriptionState.mjs +2 -2
- package/esm2020/model/subscriptionType.mjs +2 -2
- package/fesm2015/cybrid-cybrid-api-organization-angular.mjs +10 -10
- package/fesm2015/cybrid-cybrid-api-organization-angular.mjs.map +1 -1
- package/fesm2020/cybrid-cybrid-api-organization-angular.mjs +15 -15
- package/fesm2020/cybrid-cybrid-api-organization-angular.mjs.map +1 -1
- package/model/errorResponse.d.ts +1 -1
- package/model/organization.d.ts +1 -1
- package/model/patchOrganization.d.ts +1 -1
- package/model/postSubscription.d.ts +1 -1
- package/model/postSubscriptionDelivery.d.ts +1 -1
- package/model/subscription.d.ts +1 -1
- package/model/subscriptionDelivery.d.ts +1 -1
- package/model/subscriptionDeliveryList.d.ts +1 -1
- package/model/subscriptionEnvironment.d.ts +1 -1
- package/model/subscriptionEvent.d.ts +1 -1
- package/model/subscriptionEventList.d.ts +1 -1
- package/model/subscriptionList.d.ts +1 -1
- package/model/subscriptionState.d.ts +1 -1
- package/model/subscriptionType.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
@@ -146,7 +146,7 @@ An `Organization` can have multiple `banks`, in either `Sandbox` or `Production`
|
|
146
146
|
`Customers` must also have an `Account` to be able to transact, in the desired asset class. See the Accounts APIs for more details on setting up accounts for the customer.
|
147
147
|
|
148
148
|
|
149
|
-
## @cybrid/cybrid-api-organization-angular@0.123.
|
149
|
+
## @cybrid/cybrid-api-organization-angular@0.123.47
|
150
150
|
|
151
151
|
### Building
|
152
152
|
|
@@ -167,7 +167,7 @@ Navigate to the folder of your consuming project and run one of next commands.
|
|
167
167
|
_published:_
|
168
168
|
|
169
169
|
```
|
170
|
-
npm install @cybrid/cybrid-api-organization-angular@0.123.
|
170
|
+
npm install @cybrid/cybrid-api-organization-angular@0.123.47 --save
|
171
171
|
```
|
172
172
|
|
173
173
|
_without publishing (not recommended):_
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* Cybrid Organization API
|
3
3
|
* # Cybrid API documentation Welcome to Cybrid, an all-in-one crypto platform that enables you to easily **build** and **launch** white-label crypto products or services. In these documents, you\'ll find details on how our REST API operates and generally how our platform functions. If you\'re looking for our UI SDK Widgets for Web or Mobile (iOS/Android), generated API clients, or demo applications, head over to our [Github repo](https://github.com/Cybrid-app). 💡 We recommend bookmarking the [Cybrid LinkTree](https://linktr.ee/cybridtechnologies) which contains many helpful links to platform resources. ## Getting Started This is Cybrid\'s public interactive API documentation, which allows you to fully test our APIs. If you\'d like to use a different tool to exercise our APIs, you can download the [Open API 3.0 yaml](https://bank.production.cybrid.app/api/schema/v1/swagger.yaml) for import. If you\'re new to our APIs and the Cybrid Platform, follow the below guides to get set up and familiar with the platform: 1. [Introduction](https://docs.cybrid.xyz/docs/introduction) 2. [Platform Introduction](https://docs.cybrid.xyz/docs/how-is-cybrid-architected) 3. [Testing with Hosted Web Demo App](https://docs.cybrid.xyz/docs/testing-with-hosted-web-demo-app) In [Getting Started in the Cybrid Sandbox](https://docs.cybrid.xyz/docs/how-do-i-get-started-with-the-sandbox), we walk you through how to use the [Cybrid Sandbox](https://id.sandbox.cybrid.app/) to create a test bank and generate API keys. In [Getting Ready for Trading](https://kb.cybrid.xyz/getting-ready-for-trading), we walk through creating customers, customer identities, accounts, as well as executing quotes and trades. ## Working with the Cybrid Platform There are three primary ways you can interact with the Cybrid platform: 1. Directly via our RESTful API (this documentation) 2. Using our API clients available in a variety of languages ([Angular](https://github.com/Cybrid-app/cybrid-api-bank-angular), [Java](https://github.com/Cybrid-app/cybrid-api-bank-java), [Kotlin](https://github.com/Cybrid-app/cybrid-api-bank-kotlin), [Python](https://github.com/Cybrid-app/cybrid-api-bank-python), [Ruby](https://github.com/Cybrid-app/cybrid-api-bank-ruby), [Swift](https://github.com/Cybrid-app/cybrid-api-bank-swift) or [Typescript](https://github.com/Cybrid-app/cybrid-api-bank-typescript)) 3. Integrating a platform specific SDK ([Web](https://github.com/Cybrid-app/cybrid-sdk-web), [Android](https://github.com/Cybrid-app/cybrid-sdk-android), [iOS](https://github.com/Cybrid-app/cybrid-sdk-ios)) Our complete set of APIs allows you to manage resources across three distinct areas: your `Organization`, your `Banks` and your `Identities`. For most of your testing and interaction you\'ll be using the `Bank` API, which is where the majority of APIs reside. *The complete set of APIs can be found on the following pages:* | API | Description | |------------------------------------------------------------------|-------------------------------------------------------------| | [Organization API](https://organization.production.cybrid.app/api/schema/swagger-ui) | APIs to manage organizations | | [Bank API](https://bank.production.cybrid.app/api/schema/swagger-ui) | APIs to manage banks (and all downstream customer activity) | | [Identities API](https://id.production.cybrid.app/api/schema/swagger-ui) | APIs to manage organization and bank identities | For questions please contact [Support](mailto:support@cybrid.xyz) at any time for assistance, or contact the [Product Team](mailto:product@cybrid.xyz) for product suggestions. ## Authenticating with the API The Cybrid Platform uses OAuth 2.0 Bearer Tokens to authenticate requests to the platform. Credentials to create `Organization` and `Bank` tokens can be generated via the [Cybrid Sandbox](https://id.production.cybrid.app). Access tokens can be generated for a `Customer` as well via the [Cybrid IdP](https://id.production.cybrid.app) as well. An `Organization` access token applies broadly to the whole Organization and all of its `Banks`, whereas, a `Bank` access token is specific to an individual Bank. `Customer` tokens, similarly, are scoped to a specific customer in a bank. Both `Organization` and `Bank` tokens can be created using the OAuth Client Credential Grant flow. Each Organization and Bank has its own unique `Client ID` and `Secret` that allows for machine-to-machine authentication. A `Bank` can then generate `Customer` access tokens via API using our [Identities API](https://id.production.cybrid.app/api/schema/swagger-ui). <font color=\"orange\">**⚠️ Never share your Client ID or Secret publicly or in your source code repository.**</font> Your `Client ID` and `Secret` can be exchanged for a time-limited `Bearer Token` by interacting with the Cybrid Identity Provider or through interacting with the **Authorize** button in this document. The following curl command can be used to quickly generate a `Bearer Token` for use in testing the API or demo applications. ``` # Example request when using Bank credentials curl -X POST https://id.production.cybrid.app/oauth/token -d \'{ \"grant_type\": \"client_credentials\", \"client_id\": \"<Your Client ID>\", \"client_secret\": \"<Your Secret>\", \"scope\": \"banks:read banks:write bank_applications:execute accounts:read accounts:execute counterparties:read counterparties:write counterparties:execute customers:read customers:write customers:execute prices:read quotes:execute quotes:read trades:execute trades:read transfers:execute transfers:read external_bank_accounts:read external_bank_accounts:write external_bank_accounts:execute external_wallets:read external_wallets:execute workflows:read workflows:execute deposit_addresses:read deposit_addresses:execute deposit_bank_accounts:read deposit_bank_accounts:execute invoices:read invoices:write invoices:execute identity_verifications:read identity_verifications:write identity_verifications:execute\" }\' -H \"Content-Type: application/json\" # When using Organization credentials set `scope` to \'organizations:read organizations:write organization_applications:execute banks:read banks:write banks:execute bank_applications:execute users:read users:execute counterparties:read customers:read accounts:read prices:read quotes:execute quotes:read trades:execute trades:read transfers:read transfers:execute external_bank_accounts:read external_wallets:read workflows:read deposit_addresses:read deposit_bank_accounts:read invoices:read subscriptions:read subscriptions:write subscriptions:execute subscription_events:read subscription_events:execute identity_verifications:read\' ``` <font color=\"orange\">**⚠️ Note: The above curl will create a bearer token with full scope access. Delete scopes if you\'d like to restrict access.**</font> ## Authentication Scopes The Cybrid platform supports the use of scopes to control the level of access a token is limited to. Scopes do not grant access to resources; instead, they provide limits, in support of the least privilege principal. The following scopes are available on the platform and can be requested when generating either an Organization, Bank or Customer token. Generally speaking, the _Read_ scope is required to read and list resources, the _Write_ scope is required to update a resource and the _Execute_ scope is required to create a resource. | Resource | Read scope (Token Type) | Write scope (Token Type) | Execute scope (Token Type) | |-----------------------|------------------------------------------------------------|-----------------------------------------------|--------------------------------------------------| | Account | accounts:read (Organization, Bank, Customer) | | accounts:execute (Bank, Customer) | | Bank | banks:read (Organization, Bank) | banks:write (Organization, Bank) | banks:execute (Organization) | | Customer | customers:read (Organization, Bank, Customer) | customers:write (Bank, Customer) | customers:execute (Bank) | | Counterparty | counterparties:read (Organization, Bank, Customer) | counterparties:write (Bank, Customer) | counterparties:execute (Bank) | | Deposit Address | deposit_addresses:read (Organization, Bank, Customer) | deposit_addresses:write (Bank, Customer) | deposit_addresses:execute (Bank, Customer) | | External Bank Account | external_bank_accounts:read (Organization, Bank, Customer) | external_bank_accounts:write (Bank, Customer) | external_bank_accounts:execute (Bank, Customer) | | External Wallet | external_wallet:read (Organization, Bank, Customer) | | external_wallet:execute (Bank, Customer) | | Organization | organizations:read (Organization) | organizations:write (Organization) | | | User | users:read (Organization) | | users:execute (Organization) | | Price | prices:read (Bank, Customer) | | | | Quote | quotes:read (Organization, Bank, Customer) | | quotes:execute (Organization, Bank, Customer) | | Trade | trades:read (Organization, Bank, Customer) | | trades:execute (Organization, Bank, Customer) | | Transfer | transfers:read (Organization, Bank, Customer) | | transfers:execute (Organization, Bank, Customer) | | Workflow | workflows:read (Organization, Bank, Customer) | | workflows:execute (Bank, Customer) | | Invoice | invoices:read (Organization, Bank, Customer) | invoices:write (Bank, Customer) | invoices:execute (Bank, Customer) | ## Available Endpoints The available APIs for the [Identity](https://id.production.cybrid.app/api/schema/swagger-ui), [Organization](https://organization.production.cybrid.app/api/schema/swagger-ui) and [Bank](https://bank.production.cybrid.app/api/schema/swagger-ui) API services are listed below: | API Service | Model | API Endpoint Path | Description | |--------------|----------------------|--------------------------------|---------------------------------------------------------------------------------------------------| | Identity | Bank | /api/bank_applications | Create and list banks | | Identity | CustomerToken | /api/customer_tokens | Create customer JWT access tokens | | Identity | Organization | /api/organization_applications | Create and list organizations | | Identity | Organization | /api/users | Create and list organization users | | Organization | Organization | /api/organizations | APIs to retrieve and update organization name | | Bank | Account | /api/accounts | Create and list accounts, which hold a specific asset for a customers | | Bank | Asset | /api/assets | Get a list of assets supported by the platform (ex: BTC, ETH) | | Bank | Bank | /api/banks | Create, update and list banks, the parent to customers, accounts, etc | | Bank | Customer | /api/customers | Create and list customers | | Bank | Counterparty | /api/counterparties | Create and list counterparties | | Bank | DepositAddress | /api/deposit_addresses | Create, get and list deposit addresses | | Bank | ExternalBankAccount | /api/external_bank_accounts | Create, get and list external bank accounts, which connect customer bank accounts to the platform | | Bank | ExternalWallet | /api/external_wallets | Create, get, list and delete external wallets, which connect customer wallets to the platform | | Bank | IdentityVerification | /api/identity_verifications | Create and list identity verifications, which are performed on customers for KYC | | Bank | Invoice | /api/invoices | Create, get, cancel and list invoices | | Bank | PaymentInstruction | /api/payment_instructions | Create, get and list payment instructions for invoices | | Bank | Price | /api/prices | Get the current prices for assets on the platform | | Bank | Quote | /api/quotes | Create and list quotes, which are required to execute trades | | Bank | Symbol | /api/symbols | Get a list of symbols supported for trade (ex: BTC-USD) | | Bank | Trade | /api/trades | Create and list trades, which buy or sell cryptocurrency | | Bank | Transfer | /api/transfers | Create, get and list transfers (e.g., funding, book) | | Bank | Workflow | /api/workflows | Create, get and list workflows | ## Understanding Object Models & Endpoints **Organizations** An `Organization` is meant to represent the organization partnering with Cybrid to use our platform. An `Organization` typically does not directly interact with `customers`. Instead, an Organization has one or more `banks`, which encompass the financial service offerings of the platform. **Banks** A `Bank` is owned by an `Organization` and can be thought of as an environment or container for `customers` and product offerings. Banks are created in either `Sandbox` or `Production` mode, where `Sandbox` is the environment that you would test, prototype and build in prior to moving to `Production`. An `Organization` can have multiple `banks`, in either `Sandbox` or `Production` environments. A `Sandbox Bank` will be backed by stubbed data and process flows. For instance, funding source transfer processes as well as trades will be simulated rather than performed, however asset prices are representative of real-world values. You have an unlimited amount of simulated fiat currency for testing purposes. **Customers** `Customers` represent your banking users on the platform. At present, we offer support for `Individuals` as Customers. `Customers` must be verified (i.e., KYC\'d) in our system before they can play any part on the platform, which means they must have an associated and a passing `Identity Verification`. See the Identity Verifications section for more details on how a customer can be verified. `Customers` must also have an `Account` to be able to transact, in the desired asset class. See the Accounts APIs for more details on setting up accounts for the customer.
|
4
4
|
*
|
5
|
-
* The version of the OpenAPI document: v0.123.
|
5
|
+
* The version of the OpenAPI document: v0.123.47
|
6
6
|
* Contact: support@cybrid.app
|
7
7
|
*
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
@@ -204,4 +204,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
204
204
|
}] }, { type: i2.Configuration, decorators: [{
|
205
205
|
type: Optional
|
206
206
|
}] }]; } });
|
207
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JnYW5pemF0aW9ucy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vYXBpL29yZ2FuaXphdGlvbnMuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7OztHQVVHO0FBQ0gsdURBQXVEO0FBRXZELE9BQU8sRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLFFBQVEsRUFBRSxNQUEyQixlQUFlLENBQUM7QUFDbEYsT0FBTyxFQUFjLFdBQVcsRUFDc0IsV0FBVyxFQUN4RCxNQUFZLHNCQUFzQixDQUFDO0FBQzVDLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUErQixZQUFZLENBQUM7QUFVL0UsYUFBYTtBQUNiLE9BQU8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gICAgICAgICAgIHwgRXhlY3V0ZSBzY29wZSAoVG9rZW4gVHlwZSkgICAgICAgICAgICAgICAgICAgICAgIHwgfC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tfC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLXwtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLXwtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLXwgfCBBY2NvdW50ICAgICAgICAgICAgICAgfCBhY2NvdW50czpyZWFkIChPcmdhbml6YXRpb24sIEJhbmssIEN1c3RvbWVyKSAgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgYWNjb3VudHM6ZXhlY3V0ZSAoQmFuaywgQ3VzdG9tZXIpICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgICAgICAgICAgfCBiYW5rczpyZWFkIChPcmdhbml6YXRpb24sIEJhbmspICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgYmFua3M6d3JpdGUgKE9yZ2FuaXphdGlvbiwgQmFuaykgICAgICAgICAgICAgIHwgYmFua3M6ZXhlY3V0ZSAoT3JnYW5pemF0aW9uKSAgICAgICAgICAgICAgICAgICAgIHwgfCBDdXN0b21lciAgICAgICAgICAgICAgfCBjdXN0b21lcnM6cmVhZCAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgICAgICAgICAgICAgIHwgY3VzdG9tZXJzOndyaXRlIChCYW5rLCBDdXN0b21lcikgICAgICAgICAgICAgIHwgY3VzdG9tZXJzOmV4ZWN1dGUgKEJhbmspICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBDb3VudGVycGFydHkgICAgICAgICAgfCBjb3VudGVycGFydGllczpyZWFkIChPc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gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBVc2VyICAgICAgICAgICAgICAgICAgfCB1c2VyczpyZWFkIChPcmdhbml6YXRpb24pICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgdXNlcnM6ZXhlY3V0ZSAoT3JnYW5pemF0aW9uKSAgICAgICAgICAgICAgICAgICAgIHwgfCBQcmljZSAgICAgICAgICAgICAgICAgfCBwcmljZXM6cmVhZCAoQmFuaywgQ3VzdG9tZXIpICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBRdW90ZSAgICAgICAgICAgICAgICAgfCBxdW90ZXM6cmVhZCAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgICAgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgcXVvdGVzOmV4ZWN1dGUgKE9yZ2FuaXphdGlvbiwgQmFuaywgQ3VzdG9tZXIpICAgIHwgfCBUcmFkZSAgICAgICAgICAgICAgICAgfCB0cmFkZXM6cmVhZCAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgICAgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgdHJhZGVzOmV4ZWN1dGUgKE9yZ2FuaXphdGlvbiwgQmFuaywgQ3VzdG9tZXIpICAgIHwgfCBUcmFuc2ZlciAgICAgICAgICAgICAgfCB0cmFuc2ZlcnM6cmVhZCAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAg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HRpb24gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwtLS0tLS0tLS0tLS0tLXwtLS0tLS0tLS0tLS0tLS0tLS0tLS0tfC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tfC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLXwgfCBJZGVudGl0eSAgICAgfCBCYW5rICAgICAgICAgICAgICAgICB8IC9hcGkvYmFua19hcHBsaWNhdGlvbnMgICAgICAgICB8IENyZWF0ZSBhbmQgbGlzdCBiYW5rcyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IElkZW50aXR5ICAgICB8IEN1c3RvbWVyVG9rZW4gICAgICAgIHwgL2FwaS9jdXN0b21lcl90b2tlbnMgICAgICAgICAgIHwgQ3JlYXRlIGN1c3RvbWVyIEpXVCBhY2Nlc3MgdG9rZW5zICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgSWRlbnRpdHkgICAgIHwgT3JnYW5pemF0aW9uICAgICAgICAgfCAvYXBpL29yZ2FuaXphdGlvbl9hcHBsaWNhdGlvbnMgfCBDcmVhdGUgYW5kIGxpc3Qgb3JnYW5pemF0aW9ucyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBJZGVudGl0eSAgICAgfCBPcmdhbml6YXRpb24gICAgICAgICB8IC9hcGkvdXNlcnMgICAgICAgICAgICAgICAgICAgICB8IENyZWF0ZSBhbmQgbGlzdCBvcmdhbml6YXRpb24gdXNlcnMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IE9yZ2FuaXphdGlvbiB8IE9yZ2FuaXphdGlvbiAgICAgICAgIHwgL2FwaS9vcmdhbml6YXRpb25zICAgICAgICAgICAgIHwgQVBJcyB0byByZXRyaWV2ZSBhbmQgdXBkYXRlIG9yZ2FuaXphdGlvbiBuYW1lICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgQWNjb3VudCAgICAgICAgICAgICAgfCAvYXBpL2FjY291bnRzICAgICAgICAgICAgICAgICAgfCBDcmVhdGUgYW5kIGxpc3QgYWNjb3VudHMsIHdoaWNoIGhvbGQgYSBzcGVjaWZpYyBhc3NldCBmb3IgYSBjdXN0b21lcnMgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBBc3NldCAgICAgICAgICAgICAgICB8IC9hcGkvYXNzZXRzICAgICAgICAgICAgICAgICAgICB8IEdldCBhIGxpc3Qgb2YgYXNzZXRzIHN1cHBvcnRlZCBieSB0aGUgcGxhdGZvcm0gKGV4OiBCVEMsIEVUSCkgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICB8IEJhbmsgICAgICAgICAgICAgICAgIHwgL2FwaS9iYW5rcyAgICAgICAgICAgICAgICAgICAgIHwgQ3JlYXRlLCB1cGRhdGUgYW5kIGxpc3QgYmFua3MsIHRoZSBwYXJlbnQgdG8gY3VzdG9tZXJzLCBhY2NvdW50cywgZXRjICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgQ3VzdG9tZXIgICAgICAgICAgICAgfCAvYXBpL2N1c3RvbWVycyAgICAgICAgICAgICAgICAgfCBDcmVhdGUgYW5kIGxpc3QgY3VzdG9tZXJzICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBDb3VudGVycGFydHkgICAgICAgICB8IC9hcGkvY291bnRlcnBhcnRpZXMgICAgICAgICAgICB8IENyZWF0ZSBhbmQgbGlzdCBjb3VudGVycGFydGllcyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICB8IERlcG9zaXRBZGRyZXNzICAgICAgIHwgL2FwaS9kZXBvc2l0X2FkZHJlc3NlcyAgICAgICAgIHwgQ3JlYXRlLCBnZXQgYW5kIGxpc3QgZGVwb3NpdCBhZGRyZXNzZXMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgRXh0ZXJuYWxCYW5rQWNjb3VudCAgfCAvYXBpL2V4dGVybmFsX2JhbmtfYWNjb3VudHMgICAgfCBDcmVhdGUsIGdldCBhbmQgbGlzdCBleHRlcm5hbCBiYW5rIGFjY291bnRzLCB3aGljaCBjb25uZWN0IGN1c3RvbWVyIGJhbmsgYWNjb3VudHMgdG8gdGhlIHBsYXRmb3JtIHwgfCBCYW5rICAgICAgICAgfCBFeHRlcm5hbFdhbGxldCAgICAgICB8IC9hcGkvZXh0ZXJuYWxfd2FsbGV0cyAgICAgICAgICB8IENyZWF0ZSwgZ2V0LCBsaXN0IGFuZCBkZWxldGUgZXh0ZXJuYWwgd2FsbGV0cywgd2hpY2ggY29ubmVjdCBjdXN0b21lciB3YWxsZXRzIHRvIHRoZSBwbGF0Zm9ybSAgICAgfCB8IEJhbmsgICAgICAgICB8IElkZW50aXR5VmVyaWZpY2F0aW9uIHwgL2FwaS9pZGVudGl0eV92ZXJpZmljYXRpb25zICAgIHwgQ3JlYXRlIGFuZCBsaXN0IGlkZW50aXR5IHZlcmlmaWNhdGlvbnMsIHdoaWNoIGFyZSBwZXJmb3JtZWQgb24gY3VzdG9tZXJzIGZvciBLWUMgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgSW52b2ljZSAgICAgICAgICAgICAgfCAvYXBpL2ludm9pY2VzICAgICAgICAgICAgICAgICAgfCBDcmVhdGUsIGdldCwgY2FuY2VsIGFuZCBsaXN0IGludm9pY2VzICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBQYXltZW50SW5zdHJ1Y3Rpb24gICB8IC9hcGkvcGF5bWVudF9pbnN0cnVjdGlvbnMgICAgICB8IENyZWF0ZSwgZ2V0IGFuZCBsaXN0IHBheW1lbnQgaW5zdHJ1Y3Rpb25zIGZvciBpbnZvaWNlcyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICB8IFByaWNlICAgICAgICAgICAgICAgIHwgL2FwaS9wcmljZXMgICAgICAgICAgICAgICAgICAgIHwgR2V0IHRoZSBjdXJyZW50IHByaWNlcyBmb3IgYXNzZXRzIG9uIHRoZSBwbGF0Zm9ybSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgUXVvdGUgICAgICAgICAgICAgICAgfCAvYXBpL3F1b3RlcyAgICAgICAgICAgICAgICAgICAgfCBDcmVhdGUgYW5kIGxpc3QgcXVvdGVzLCB3aGljaCBhcmUgcmVxdWlyZWQgdG8gZXhlY3V0ZSB0cmFkZXMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBTeW1ib2wgICAgICAgICAgICAgICB8IC9hcGkvc3ltYm9scyAgICAgICAgICAgICAgICAgICB8IEdldCBhIGxpc3Qgb2Ygc3ltYm9scyBzdXBwb3J0ZWQgZm9yIHRyYWRlIChleDogQlRDLVVTRCkgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICB8IFRyYWRlICAgICAgICAgICAgICAgIHwgL2FwaS90cmFkZXMgICAgICAgICAgICAgICAgICAgIHwgQ3JlYXRlIGFuZCBsaXN0IHRyYWRlcywgd2hpY2ggYnV5IG9yIHNlbGwgY3J5cHRvY3VycmVuY3kgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgVHJhbnNmZXIgICAgICAgICAgICAgfCAvYXBpL3RyYW5zZmVycyAgICAgICAgICAgICAgICAgfCBDcmVhdGUsIGdldCBhbmQgbGlzdCB0cmFuc2ZlcnMgKGUuZy4sIGZ1bmRpbmcsIGJvb2spICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBXb3JrZmxvdyAgICAgICAgICAgICB8IC9hcGkvd29ya2Zsb3dzICAgICAgICAgICAgICAgICB8IENyZWF0ZSwgZ2V0IGFuZCBsaXN0IHdvcmtmbG93cyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCAgIyMgVW5kZXJzdGFuZGluZyBPYmplY3QgTW9kZWxzICYgRW5kcG9pbnRzICAqKk9yZ2FuaXphdGlvbnMqKiAgQW4gYE9yZ2FuaXphdGlvbmAgaXMgbWVhbnQgdG8gcmVwcmVzZW50IHRoZSBvcmdhbml6YXRpb24gcGFydG5lcmluZyB3aXRoIEN5YnJpZCB0byB1c2Ugb3VyIHBsYXRmb3JtLiAgQW4gYE9yZ2FuaXphdGlvbmAgdHlwaWNhbGx5IGRvZXMgbm90IGRpcmVjdGx5IGludGVyYWN0IHdpdGggYGN1c3RvbWVyc2AuIEluc3RlYWQsIGFuIE9yZ2FuaXphdGlvbiBoYXMgb25lIG9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TZWxlY3RlZCkpIHtcbiAgICAgICAgICAgICAgICByZXNwb25zZVR5cGVfID0gJ2pzb24nO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICByZXNwb25zZVR5cGVfID0gJ2Jsb2InO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIHRoaXMuaHR0cENsaWVudC5nZXQ8T3JnYW5pemF0aW9uT3JnYW5pemF0aW9uTW9kZWw+KGAke3RoaXMuY29uZmlndXJhdGlvbi5iYXNlUGF0aH0vYXBpL29yZ2FuaXphdGlvbnMvJHtlbmNvZGVVUklDb21wb25lbnQoU3RyaW5nKG9yZ2FuaXphdGlvbkd1aWQpKX1gLFxuICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgIGNvbnRleHQ6IGxvY2FsVmFySHR0cENvbnRleHQsXG4gICAgICAgICAgICAgICAgcmVzcG9uc2VUeXBlOiA8YW55PnJlc3BvbnNlVHlwZV8sXG4gICAgICAgICAgICAgICAgd2l0aENyZWRlbnRpYWxzOiB0aGlzLmNvbmZpZ3VyYXRpb24ud2l0aENyZWRlbnRpYWxzLFxuICAgICAgICAgICAgICAgIGhlYWRlcnM6IGxvY2FsVmFySGVhZGVycyxcbiAgICAgICAgICAgICAgICBvYnNlcnZlOiBvYnNlcnZlLFxuICAgICAgICAgICAgICAgIHJlcG9ydFByb2dyZXNzOiByZXBvcnRQcm9ncmVzc1xuICAgICAgICAgICAgfVxuICAgICAgICApO1xuICAgIH1cblxuICAgIC8qKlxuICAgICAqIFBhdGNoIG9yZ2FuaXphdGlvblxuICAgICAqIFVwZGF0ZSBhbiBvcmdhbml6YXRpb24uICBSZXF1aXJlZCBzY29wZTogKipvcmdhbml6YXRpb25zOndyaXRlKipcbiAgICAgKiBAcGFyYW0gb3JnYW5pemF0aW9uR3VpZCBJZGVudGlmaWVyIGZvciB0aGUgb3JnYW5pemF0aW9uLlxuICAgICAqIEBwYXJhbSBwYXRjaE9yZ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gICAgICAgICAgICByZXNwb25zZVR5cGVfID0gJ2pzb24nO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICByZXNwb25zZVR5cGVfID0gJ2Jsb2InO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIHRoaXMuaHR0cENsaWVudC5wYXRjaDxPcmdhbml6YXRpb25Pcmdhbml6YXRpb25Nb2RlbD4oYCR7dGhpcy5jb25maWd1cmF0aW9uLmJhc2VQYXRofS9hcGkvb3JnYW5pemF0aW9ucy8ke2VuY29kZVVSSUNvbXBvbmVudChTdHJpbmcob3JnYW5pemF0aW9uR3VpZCkpfWAsXG4gICAgICAgICAgICBwYXRjaE9yZ2FuaXphdGlvbk9yZ2FuaXphdGlvbk1vZGVsLFxuICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgIGNvbnRleHQ6IGxvY2FsVmFySHR0cENvbnRleHQsXG4gICAgICAgICAgICAgICAgcmVzcG9uc2VUeXBlOiA8YW55PnJlc3BvbnNlVHlwZV8sXG4gICAgICAgICAgICAgICAgd2l0aENyZWRlbnRpYWxzOiB0aGlzLmNvbmZpZ3VyYXRpb24ud2l0aENyZWRlbnRpYWxzLFxuICAgICAgICAgICAgICAgIGhlYWRlcnM6IGxvY2FsVmFySGVhZGVycyxcbiAgICAgICAgICAgICAgICBvYnNlcnZlOiBvYnNlcnZlLFxuICAgICAgICAgICAgICAgIHJlcG9ydFByb2dyZXNzOiByZXBvcnRQcm9ncmVzc1xuICAgICAgICAgICAgfVxuICAgICAgICApO1xuICAgIH1cblxufVxuIl19
|
207
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JnYW5pemF0aW9ucy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vYXBpL29yZ2FuaXphdGlvbnMuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBp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AgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgZXh0ZXJuYWxfd2FsbGV0OmV4ZWN1dGUgKEJhbmssIEN1c3RvbWVyKSAgICAgICAgIHwgfCBPcmdhbml6YXRpb24gICAgICAgICAgfCBvcmdhbml6YXRpb25zOnJlYWQgKE9yZ2FuaXphdGlvbikgICAgICAgICAgICAgICAgICAgICAgICAgIHwgb3JnYW5pemF0aW9uczp3cml0ZSAoT3JnYW5pemF0aW9uKSAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBVc2VyICAgICAgICAgICAgICAgICAgfCB1c2VyczpyZWFkIChPcmdhbml6YXRpb24pICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgdXNlcnM6ZXhlY3V0ZSAoT3JnYW5pemF0aW9uKSAgICAgICAgICAgICAgICAgICAgIHwgfCBQcmljZSAgICAgICAgICAgICAgICAgfCBwcmljZXM6cmVhZCAoQmFuaywgQ3VzdG9tZXIpICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBRdW90ZSAgICAgICAgICAgICAgICAgfCBxdW90ZXM6cmVhZCAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgICAgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgcXVvdGVzOmV4ZWN1dGUgKE9yZ2FuaXphdGlvbiwgQmFuaywgQ3VzdG9tZXIpICAgIHwgfCBUcmFkZSAgICAgICAgICAgICAgICAgfCB0cmFkZXM6cmVhZCAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgICAgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgdHJhZGVzOmV4ZWN1dGUgKE9yZ2FuaXphdGlvbiwgQmFuaywgQ3VzdG9tZXIpICAgIHwgfCBUcmFuc2ZlciAgICAgICAgICAgICAgfCB0cmFuc2ZlcnM6cmVhZCAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgdHJhbnNmZXJzOmV4ZWN1dGUgKE9yZ2FuaXphdGlvbiwgQmFuaywgQ3VzdG9tZXIpIHwgfCBXb3JrZmxvdyAgICAgICAgICAgICAgfCB3b3JrZmxvd3M6cmVhZCAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgd29ya2Zsb3dzOmV4ZWN1dGUgKEJhbmssIEN1c3RvbWVyKSAgICAgICAgICAgICAgIHwgfCBJbnZvaWNlICAgICAgICAgICAgICAgfCBpbnZvaWNlczpyZWFkIChPcmdhbml6YXRpb24sIEJhbmssIEN1c3RvbWVyKSAgICAgICAgICAgICAgIHwgaW52b2ljZXM6d3JpdGUgKEJhbmssIEN1c3RvbWVyKSAgICAgICAgICAgICAgIHwgaW52b2ljZXM6ZXhlY3V0ZSAoQmFuaywgQ3VzdG9tZXIpICAgICAgICAgICAgICAgIHwgICMjIEF2YWlsYWJsZSBFbmRwb2ludHMgIFRoZSBhdmFpbGFibGUgQVBJcyBmb3IgdGhlIFtJZGVudGl0eV0oaHR0cHM6Ly9pZC5wcm9kdWN0aW9uLmN5YnJpZC5hcHAvYXBpL3NjaGVtYS9zd2FnZ2VyLXVpKSwgW09yZ2FuaXphdGlvbl0oaHR0cHM6Ly9vcmdhbml6YXRpb24ucHJvZHVjdGlvbi5jeWJyaWQuYXBwL2FwaS9zY2hlbWEvc3dhZ2dlci11aSkgYW5kIFtCYW5rXShodHRwczovL2JhbmsucHJvZHVjdGlvbi5jeWJyaWQuYXBwL2FwaS9zY2hlbWEvc3dhZ2dlci11aSkgQVBJIHNlcnZpY2VzIGFyZSBsaXN0ZWQgYmVsb3c6ICB8IEFQSSBTZXJ2aWNlICB8IE1vZGVsICAgICAgICAgICAgICAgIHwgQVBJIEVuZHBvaW50IFBhdGggICAgICAgICAgICAgIHwgRGVzY3JpcHRpb24gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwtLS0tLS0tLS0tLS0tLXwtLS0tLS0tLS0tLS0tLS0tLS0tLS0tfC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tfC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLXwgfCBJZGVudGl0eSAgICAgfCBCYW5rICAgICAgICAgICAgICAgICB8IC9hcGkvYmFua19hcHBsaWNhdGlvbnMgICAgICAgICB8IENyZWF0ZSBhbmQgbGlzdCBiYW5rcyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IElkZW50aXR5ICAgICB8IEN1c3RvbWVyVG9rZW4gICAgICAgIHwgL2FwaS9jdXN0b21lcl90b2tlbnMgICAgICAgICAgIHwgQ3JlYXRlIGN1c3RvbWVyIEpXVCBhY2Nlc3MgdG9rZW5zICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgSWRlbnRpdHkgICAgIHwgT3JnYW5pemF0aW9uICAgICAgICAgfCAvYXBpL29yZ2FuaXphdGlvbl9hcHBsaWNhdGlvbnMgfCBDcmVhdGUgYW5kIGxpc3Qgb3JnYW5pemF0aW9ucyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBJZGVudGl0eSAgICAgfCBPcmdhbml6YXRpb24gICAgICAgICB8IC9hcGkvdXNlcnMgICAgICAgICAgICAgICAgICAgICB8IENyZWF0ZSBhbmQgbGlzdCBvcmdhbml6YXRpb24gdXNlcnMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IE9yZ2FuaXphdGlvbiB8IE9yZ2FuaXphdGlvbiAgICAgICAgIHwgL2FwaS9vcmdhbml6YXRpb25zICAgICAgICAgICAgIHwgQVBJcyB0byByZXRyaWV2ZSBhbmQgdXBkYXRlIG9yZ2FuaXphdGlvbiBuYW1lICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgQWNjb3VudCAgICAgICAgICAgICAgfCAvYXBpL2FjY291bnRzICAgICAgICAgICAgICAgICAgfCBDcmVhdGUgYW5kIGxpc3QgYWNjb3VudHMsIHdoaWNoIGhvbGQgYSBzcGVjaWZpYyBhc3NldCBmb3IgYSBjdXN0b21lcnMgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBBc3NldCAgICAgICAgICAgICAgICB8IC9hcGkvYXNzZXRzICAgICAgICAgICAgICAgICAgICB8IEdldCBhIGxpc3Qgb2YgYXNzZXRzIHN1cHBvcnRlZCBieSB0aGUgcGxhdGZvcm0gKGV4OiBCVEMsIEVUSCkgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICB8IEJhbmsgICAgICAgICAgICAgICAgIHwgL2FwaS9iYW5rcyAgICAgICAgICAgICAgICAgICAgIHwgQ3JlYXRlLCB1cGRhdGUgYW5kIGxpc3QgYmFua3MsIHRoZSBwYXJlbnQgdG8gY3VzdG9tZXJzLCBhY2NvdW50cywgZXRjICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgQ3VzdG9tZXIgICAgICAgICAgICAgfCAvYXBpL2N1c3RvbWVycyAgICAgICAgICAgICAgICAgfCBDcmVhdGUgYW5kIGxpc3QgY3VzdG9tZXJzICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBDb3VudGVycGFydHkgICAgICAgICB8IC9hcGkvY291bnRlcnBhcnRpZXMgICAgICAgICAgICB8IENyZWF0ZSBhbmQgbGlzdCBjb3VudGVycGFydGllcyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICB8IERlcG9zaXRBZGRyZXNzICAgICAgIHwgL2FwaS9kZXBvc2l0X2FkZHJlc3NlcyAgICAgICAgIHwgQ3JlYXRlLCBnZXQgYW5kIGxpc3QgZGVwb3NpdCBhZGRyZXNzZXMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgRXh0ZXJuYWxCYW5rQWNjb3VudCAgfCAvYXBpL2V4dGVybmFsX2JhbmtfYWNjb3VudHMgICAgfCBDcmVhdGUsIGdldCBhbmQgbGlzdCBleHRlcm5hbCBiYW5rIGFjY291bnRzLCB3aGljaCBjb25uZWN0IGN1c3RvbWVyIGJhbmsgYWNjb3VudHMgdG8gdGhlIHBsYXRmb3JtIHwgfCBCYW5rICAgICAgICAgfCBFeHRlcm5hbFdhbGxldCAgICAgICB8IC9hcGkvZXh0ZXJuYWxfd2FsbGV0cyAgICAgICAgICB8IENyZWF0ZSwgZ2V0LCBsaXN0IGFuZCBkZWxldGUgZXh0ZXJuYWwgd2FsbGV0cywgd2hpY2ggY29ubmVjdCBjdXN0b21lciB3YWxsZXRzIHRvIHRoZSBwbGF0Zm9ybSAgICAgfCB8IEJhbmsgICAgICAgICB8IElkZW50aXR5VmVyaWZpY2F0aW9uIHwgL2FwaS9pZGVudGl0eV92ZXJpZmljYXRpb25zICAgIHwgQ3JlYXRlIGFuZCBsaXN0IGlkZW50aXR5IHZlcmlmaWNhdGlvbnMsIHdoaWNoIGFyZSBwZXJmb3JtZWQgb24gY3VzdG9tZXJzIGZvciBLWUMgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgSW52b2ljZSAgICAgICAgICAgICAgfCAvYXBpL2ludm9pY2VzICAgICAgICAgICAgICAgICAgfCBDcmVhdGUsIGdldCwgY2FuY2VsIGFuZCBsaXN0IGludm9pY2VzICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBQYXltZW50SW5zdHJ1Y3Rpb24gICB8IC9hcGkvcGF5bWVudF9pbnN0cnVjdGlvbnMgICAgICB8IENyZWF0ZSwgZ2V0IGFuZCBsaXN0IHBheW1lbnQgaW5zdHJ1Y3Rpb25zIGZvciBpbnZvaWNlcyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICB8IFByaWNlICAgICAgICAgICAgICAgIHwgL2FwaS9wcmljZXMgICAgICAgICAgICAgICAgICAgIHwgR2V0IHRoZSBjdXJyZW50IHByaWNlcyBmb3IgYXNzZXRzIG9uIHRoZSBwbGF0Zm9ybSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgUXVvdGUgICAgICAgICAgICAgICAgfCAvYXBpL3F1b3RlcyAgICAgICAgICAgICAgICAgICAgfCBDcmVhdGUgYW5kIGxpc3QgcXVvdGVzLCB3aGljaCBhcmUgcmVxdWlyZWQgdG8gZXhlY3V0ZSB0cmFkZXMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBTeW1ib2wgICAgICAgICAgICAgICB8IC9hcGkvc3ltYm9scyAgICAgICAgICAgICAgICAgICB8IEdldCBhIGxpc3Qgb2Ygc3ltYm9scyBzdXBwb3J0ZWQgZm9yIHRyYWRlIChleDogQlRDLVVTRCkgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICB8IFRyYWRlICAgICAgICAgICAgICAgIHwgL2FwaS90cmFkZXMgICAgICAgICAgICAgICAgICAgIHwgQ3JlYXRlIGFuZCBsaXN0IHRyYWRlcywgd2hpY2ggYnV5IG9yIHNlbGwgY3J5cHRvY3VycmVuY3kgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgVHJhbnNmZXIgICAgICAgICAgICAgfCAvYXBpL3RyYW5zZmVycyAgICAgICAgICAgICAgICAgfCBDcmVhdGUsIGdldCBhbmQgbGlzdCB0cmFuc2ZlcnMgKGUuZy4sIGZ1bmRpbmcsIGJvb2spICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBXb3JrZmxvdyAgICAgICAgICAgICB8IC9hcGkvd29ya2Zsb3dzICAgICAgICAgICAgICAgICB8IENyZWF0ZSwgZ2V0IGFuZCBsaXN0IHdvcmtmbG93cyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCAgIyMgVW5kZXJzdGFuZGluZyBPYmplY3QgTW9kZWxzICYgRW5kcG9pbnRzICAqKk9yZ2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pZiAobG9jYWxWYXJIdHRwSGVhZGVyQWNjZXB0U2VsZWN0ZWQpIHtcbiAgICAgICAgICAgIGlmIChsb2NhbFZhckh0dHBIZWFkZXJBY2NlcHRTZWxlY3RlZC5zdGFydHNXaXRoKCd0ZXh0JykpIHtcbiAgICAgICAgICAgICAgICByZXNwb25zZVR5cGVfID0gJ3RleHQnO1xuICAgICAgICAgICAgfSBlbHNlIGlmICh0aGlzLmNvbmZpZ3VyYXRpb24uaXNKc29uTWltZShsb2NhbFZhckh0dHBIZWFkZXJBY2NlcHRTZWxlY3RlZCkpIHtcbiAgICAgICAgICAgICAgICByZXNwb25zZVR5cGVfID0gJ2pzb24nO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICByZXNwb25zZVR5cGVfID0gJ2Jsb2InO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIHRoaXMuaHR0cENsaWVudC5nZXQ8T3JnYW5pemF0aW9uT3JnYW5pemF0aW9uTW9kZWw+KGAke3RoaXMuY29uZmlndXJhdGlvbi5iYXNlUGF0aH0vYXBpL29yZ2FuaXphdGlvbnMvJHtlbmNvZGVVUklDb21wb25lbnQoU3RyaW5nKG9yZ2FuaXphdGlvbkd1aWQpKX1gLFxuICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgIGNvbnRleHQ6IGxvY2FsVmFySHR0cENvbnRleHQsXG4gICAgICAgICAgICAgICAgcmVzcG9uc2VUeXBlOiA8YW55PnJlc3BvbnNlVHlwZV8sXG4gICAgICAgICAgICAgICAgd2l0aENyZWRlbnRpYWxzOiB0aGlzLmNvbmZpZ3VyYXRpb24ud2l0aENyZWRlbnRpYWxzLFxuICAgICAgICAgICAgICAgIGhlYWRlcnM6IGxvY2FsVmFySGVhZGVycyxcbiAgICAgICAgICAgICAgICBvYnNlcnZlOiBvYnNlcnZlLFxuICAgICAgICAgICAgICAgIHJlcG9ydFByb2dyZXNzOiByZXBvcnRQcm9nc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hZGVyQWNjZXB0U2VsZWN0ZWQpIHtcbiAgICAgICAgICAgIGlmIChsb2NhbFZhckh0dHBIZWFkZXJBY2NlcHRTZWxlY3RlZC5zdGFydHNXaXRoKCd0ZXh0JykpIHtcbiAgICAgICAgICAgICAgICByZXNwb25zZVR5cGVfID0gJ3RleHQnO1xuICAgICAgICAgICAgfSBlbHNlIGlmICh0aGlzLmNvbmZpZ3VyYXRpb24uaXNKc29uTWltZShsb2NhbFZhckh0dHBIZWFkZXJBY2NlcHRTZWxlY3RlZCkpIHtcbiAgICAgICAgICAgICAgICByZXNwb25zZVR5cGVfID0gJ2pzb24nO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICByZXNwb25zZVR5cGVfID0gJ2Jsb2InO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIHRoaXMuaHR0cENsaWVudC5wYXRjaDxPcmdhbml6YXRpb25Pcmdhbml6YXRpb25Nb2RlbD4oYCR7dGhpcy5jb25maWd1cmF0aW9uLmJhc2VQYXRofS9hcGkvb3JnYW5pemF0aW9ucy8ke2VuY29kZVVSSUNvbXBvbmVudChTdHJpbmcob3JnYW5pemF0aW9uR3VpZCkpfWAsXG4gICAgICAgICAgICBwYXRjaE9yZ2FuaXphdGlvbk9yZ2FuaXphdGlvbk1vZGVsLFxuICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgIGNvbnRleHQ6IGxvY2FsVmFySHR0cENvbnRleHQsXG4gICAgICAgICAgICAgICAgcmVzcG9uc2VUeXBlOiA8YW55PnJlc3BvbnNlVHlwZV8sXG4gICAgICAgICAgICAgICAgd2l0aENyZWRlbnRpYWxzOiB0aGlzLmNvbmZpZ3VyYXRpb24ud2l0aENyZWRlbnRpYWxzLFxuICAgICAgICAgICAgICAgIGhlYWRlcnM6IGxvY2FsVmFySGVhZGVycyxcbiAgICAgICAgICAgICAgICBvYnNlcnZlOiBvYnNlcnZlLFxuICAgICAgICAgICAgICAgIHJlcG9ydFByb2dyZXNzOiByZXBvcnRQcm9ncmVzc1xuICAgICAgICAgICAgfVxuICAgICAgICApO1xuICAgIH1cblxufVxuIl19
|